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.esm.js
CHANGED
|
@@ -7970,7 +7970,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7970
7970
|
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; }
|
|
7971
7971
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7972
7972
|
var Productinfo = function Productinfo(props) {
|
|
7973
|
-
var _css,
|
|
7973
|
+
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;
|
|
7974
7974
|
var _useState = useState({}),
|
|
7975
7975
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7976
7976
|
ProductInfoObj = _useState2[0],
|
|
@@ -8194,14 +8194,19 @@ var Productinfo = function Productinfo(props) {
|
|
|
8194
8194
|
};
|
|
8195
8195
|
useEffect(function () {
|
|
8196
8196
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
8197
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
8197
|
+
var _fetchProductInfoQuer3, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
8198
8198
|
var secpropobj = {};
|
|
8199
8199
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
8200
8200
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8201
8201
|
});
|
|
8202
8202
|
setsectionproperties(_objectSpread$2C({}, secpropobj));
|
|
8203
|
-
|
|
8204
|
-
|
|
8203
|
+
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) {
|
|
8204
|
+
settabname('videostab');
|
|
8205
|
+
setTabIndex(3);
|
|
8206
|
+
} else {
|
|
8207
|
+
setTabIndex(0);
|
|
8208
|
+
settabname('descriptiontab');
|
|
8209
|
+
}
|
|
8205
8210
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68e4efe8cb18e') {
|
|
8206
8211
|
settabname('descriptiontab');
|
|
8207
8212
|
// alert('sd');
|
|
@@ -8217,10 +8222,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
8217
8222
|
settabname('descriptiontab');
|
|
8218
8223
|
// alert('sd');
|
|
8219
8224
|
} else {
|
|
8220
|
-
var
|
|
8221
|
-
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8225
|
+
var _fetchProductInfoQuer4, _fetchProductInfoQuer5;
|
|
8226
|
+
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) {
|
|
8222
8227
|
settabname('shippingpolicytab');
|
|
8223
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8228
|
+
} 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') {
|
|
8224
8229
|
// settabname('videostab');
|
|
8225
8230
|
settabname('reviewstab');
|
|
8226
8231
|
}
|
|
@@ -8236,12 +8241,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
8236
8241
|
}
|
|
8237
8242
|
}, [StatePagePropertiesContext]);
|
|
8238
8243
|
useEffect(function () {
|
|
8239
|
-
var
|
|
8240
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8241
|
-
var
|
|
8242
|
-
if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8243
|
-
var
|
|
8244
|
-
var temparr = _toConsumableArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8244
|
+
var _fetchProductInfoQuer6;
|
|
8245
|
+
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) {
|
|
8246
|
+
var _fetchProductInfoQuer7;
|
|
8247
|
+
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)) {
|
|
8248
|
+
var _fetchProductInfoQuer8;
|
|
8249
|
+
var temparr = _toConsumableArray(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);
|
|
8245
8250
|
temparr.forEach(function (item) {
|
|
8246
8251
|
item.linkclicked = false;
|
|
8247
8252
|
});
|
|
@@ -8283,33 +8288,33 @@ var Productinfo = function Productinfo(props) {
|
|
|
8283
8288
|
// }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data, props, props.actions]);
|
|
8284
8289
|
useEffect(function () {
|
|
8285
8290
|
if (Object.keys(ProductInfoObj).length != 0 && !isloaded) {
|
|
8286
|
-
var
|
|
8291
|
+
var _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21;
|
|
8287
8292
|
variantchecker();
|
|
8288
8293
|
Pixel_EventsContext('productview', {
|
|
8289
|
-
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8290
|
-
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8291
|
-
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8292
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8293
|
-
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8294
|
+
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,
|
|
8295
|
+
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,
|
|
8296
|
+
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,
|
|
8297
|
+
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,
|
|
8298
|
+
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,
|
|
8294
8299
|
currency: 'EGP'
|
|
8295
8300
|
});
|
|
8296
8301
|
Pixel_EventsContext('ViewContent', {
|
|
8297
|
-
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8298
|
-
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8299
|
-
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8300
|
-
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8302
|
+
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,
|
|
8303
|
+
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,
|
|
8304
|
+
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,
|
|
8305
|
+
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,
|
|
8301
8306
|
currency: 'EGP'
|
|
8302
8307
|
});
|
|
8303
8308
|
Pixel_EventsContext('view_item', {
|
|
8304
8309
|
ecommerce: {
|
|
8305
8310
|
currency: 'EGP',
|
|
8306
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8311
|
+
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,
|
|
8307
8312
|
items: [{
|
|
8308
|
-
item_id: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8309
|
-
item_name: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8310
|
-
item_name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8311
|
-
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8312
|
-
price: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8313
|
+
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,
|
|
8314
|
+
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,
|
|
8315
|
+
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,
|
|
8316
|
+
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,
|
|
8317
|
+
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
|
|
8313
8318
|
}]
|
|
8314
8319
|
}
|
|
8315
8320
|
});
|
|
@@ -8358,18 +8363,18 @@ var Productinfo = function Productinfo(props) {
|
|
|
8358
8363
|
return fullPath;
|
|
8359
8364
|
};
|
|
8360
8365
|
useEffect(function () {
|
|
8361
|
-
var
|
|
8366
|
+
var _fetchProductInfoQuer22, _fetchProductInfoQuer23;
|
|
8362
8367
|
// if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
8363
|
-
if (isProductPageLoading == false && Object.keys(fetchProductInfoQueryContext) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8364
|
-
var
|
|
8365
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8366
|
-
var
|
|
8368
|
+
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) {
|
|
8369
|
+
var _fetchProductInfoQuer24;
|
|
8370
|
+
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) {
|
|
8371
|
+
var _fetchProductInfoQuer25, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36;
|
|
8367
8372
|
var tempproductimagesarray = [];
|
|
8368
8373
|
var sizeguideimagetemp = [];
|
|
8369
8374
|
var tempproductpdfsarray = [];
|
|
8370
|
-
if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8371
|
-
var
|
|
8372
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8375
|
+
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)) {
|
|
8376
|
+
var _fetchProductInfoQuer26;
|
|
8377
|
+
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) {
|
|
8373
8378
|
var imagepath = arrayItem.path;
|
|
8374
8379
|
|
|
8375
8380
|
// var sizeguideimagearrayobj = {
|
|
@@ -8423,14 +8428,14 @@ var Productinfo = function Productinfo(props) {
|
|
|
8423
8428
|
variantchecker();
|
|
8424
8429
|
var quantitystepincrearse = 1;
|
|
8425
8430
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
8426
|
-
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8431
|
+
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;
|
|
8427
8432
|
// setaddtocardpayloadobj({ ...tempaddtocardpayloadobj });
|
|
8428
|
-
setRelatedProductsTagid(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8429
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8430
|
-
var
|
|
8433
|
+
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);
|
|
8434
|
+
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) {
|
|
8435
|
+
var _fetchProductInfoQuer31;
|
|
8431
8436
|
GeneralAPIMutationContext.mutate({
|
|
8432
8437
|
endpointurl: '/FetchRelatedProducts',
|
|
8433
|
-
tagid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8438
|
+
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,
|
|
8434
8439
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
8435
8440
|
if (data.data.status) {
|
|
8436
8441
|
setRelatedproducts(data.data.productsrelated);
|
|
@@ -8438,19 +8443,19 @@ var Productinfo = function Productinfo(props) {
|
|
|
8438
8443
|
}
|
|
8439
8444
|
});
|
|
8440
8445
|
}
|
|
8441
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8446
|
+
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') {
|
|
8442
8447
|
tempaddtocardpayloadobj.item_type = 'package list';
|
|
8443
8448
|
} else {
|
|
8444
8449
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
8445
8450
|
}
|
|
8446
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8451
|
+
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) != '') {
|
|
8447
8452
|
var _authdetailsContext$i6;
|
|
8448
8453
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '66d6de1a1e04a') {
|
|
8449
|
-
var _fetchProductInfoQuer36;
|
|
8450
|
-
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);
|
|
8451
|
-
} else {
|
|
8452
8454
|
var _fetchProductInfoQuer37;
|
|
8453
|
-
quantitystepincrearse =
|
|
8455
|
+
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);
|
|
8456
|
+
} else {
|
|
8457
|
+
var _fetchProductInfoQuer38;
|
|
8458
|
+
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);
|
|
8454
8459
|
}
|
|
8455
8460
|
// quantitystepincrearse = parseFloat(fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse);
|
|
8456
8461
|
}
|
|
@@ -10124,8 +10129,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10124
10129
|
});
|
|
10125
10130
|
}
|
|
10126
10131
|
if (variantnotmatch.length == 0 && isvariant == true) {
|
|
10127
|
-
var
|
|
10128
|
-
var variantobj = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10132
|
+
var _fetchProductInfoQuer39;
|
|
10133
|
+
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];
|
|
10129
10134
|
var variantid = '';
|
|
10130
10135
|
if (variantobj == undefined) {
|
|
10131
10136
|
setisoutofstock(false);
|
|
@@ -10170,8 +10175,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10170
10175
|
var forcetocheckoutvalue = forcetocheckout;
|
|
10171
10176
|
// alert(addtocardpayloadobj.quantity + 'sad');
|
|
10172
10177
|
if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
|
|
10173
|
-
var
|
|
10174
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10178
|
+
var _fetchProductInfoQuer40;
|
|
10179
|
+
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) {
|
|
10175
10180
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10176
10181
|
runfunc = true;
|
|
10177
10182
|
} else {
|
|
@@ -10187,28 +10192,28 @@ var Productinfo = function Productinfo(props) {
|
|
|
10187
10192
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
10188
10193
|
}
|
|
10189
10194
|
if (runfunc == true) {
|
|
10190
|
-
var
|
|
10195
|
+
var _fetchProductInfoQuer41, _fetchProductInfoQuer42;
|
|
10191
10196
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
10192
|
-
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10193
|
-
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10197
|
+
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;
|
|
10198
|
+
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;
|
|
10194
10199
|
if (forcetocheckoutvalue != undefined) {
|
|
10195
10200
|
tempaddtocardpayloadobj.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
10196
10201
|
}
|
|
10197
10202
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
10198
10203
|
if (Extrafieldvalidationresponse.status) {
|
|
10199
|
-
var
|
|
10204
|
+
var _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48;
|
|
10200
10205
|
var finalprice = 0;
|
|
10201
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10206
|
+
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) {
|
|
10202
10207
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
10203
10208
|
} else {
|
|
10204
10209
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
10205
10210
|
}
|
|
10206
10211
|
Pixel_EventsContext('AddToCart', {
|
|
10207
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10208
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10209
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10212
|
+
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],
|
|
10213
|
+
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),
|
|
10214
|
+
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,
|
|
10210
10215
|
content_type: 'product',
|
|
10211
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10216
|
+
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,
|
|
10212
10217
|
value: finalprice,
|
|
10213
10218
|
quantity: addtocardpayloadobj.quantity
|
|
10214
10219
|
});
|
|
@@ -10217,12 +10222,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
10217
10222
|
}
|
|
10218
10223
|
};
|
|
10219
10224
|
var validateextrafields = function validateextrafields() {
|
|
10220
|
-
var
|
|
10225
|
+
var _fetchProductInfoQuer49;
|
|
10221
10226
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
10222
10227
|
var status = false;
|
|
10223
10228
|
var reason = '';
|
|
10224
10229
|
var missingitemsfound = [];
|
|
10225
|
-
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10230
|
+
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;
|
|
10226
10231
|
if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
|
|
10227
10232
|
status = true;
|
|
10228
10233
|
} else {
|
|
@@ -10344,9 +10349,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10344
10349
|
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10345
10350
|
}, Relatedproducts.map(function (item, index) {
|
|
10346
10351
|
if (item.productinfo != null) {
|
|
10347
|
-
var
|
|
10348
|
-
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10349
|
-
var
|
|
10352
|
+
var _fetchProductInfoQuer50;
|
|
10353
|
+
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)) {
|
|
10354
|
+
var _fetchProductInfoQuer51, _fetchProductInfoQuer52;
|
|
10350
10355
|
return /*#__PURE__*/React.createElement("div", {
|
|
10351
10356
|
className: "col-lg-12 mb-3 px-1",
|
|
10352
10357
|
onClick: function onClick() {
|
|
@@ -10396,7 +10401,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10396
10401
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
10397
10402
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10398
10403
|
"class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
|
|
10399
|
-
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10404
|
+
}, 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, ' '))))));
|
|
10400
10405
|
}
|
|
10401
10406
|
}
|
|
10402
10407
|
}))), sectionproperties.relatedproductsectionstyle == 'Vertical' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -10405,9 +10410,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10405
10410
|
className: "row m-0 w-100"
|
|
10406
10411
|
}, Relatedproducts.map(function (item, index) {
|
|
10407
10412
|
if (item.productinfo != null) {
|
|
10408
|
-
var
|
|
10409
|
-
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10410
|
-
var
|
|
10413
|
+
var _fetchProductInfoQuer53;
|
|
10414
|
+
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)) {
|
|
10415
|
+
var _fetchProductInfoQuer54, _fetchProductInfoQuer55;
|
|
10411
10416
|
return /*#__PURE__*/React.createElement("div", {
|
|
10412
10417
|
className: "col-lg-3 col-sm-6 mb-3 ",
|
|
10413
10418
|
onClick: function onClick() {
|
|
@@ -10448,7 +10453,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10448
10453
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
10449
10454
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10450
10455
|
"class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
|
|
10451
|
-
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10456
|
+
}, 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, ' '))))));
|
|
10452
10457
|
}
|
|
10453
10458
|
}
|
|
10454
10459
|
}))))));
|
|
@@ -10475,28 +10480,28 @@ var Productinfo = function Productinfo(props) {
|
|
|
10475
10480
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
10476
10481
|
}
|
|
10477
10482
|
if (runfunc == true) {
|
|
10478
|
-
var
|
|
10483
|
+
var _fetchProductInfoQuer56, _fetchProductInfoQuer57;
|
|
10479
10484
|
// var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
|
|
10480
|
-
addtocartobjparam.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10481
|
-
addtocartobjparam.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10485
|
+
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;
|
|
10486
|
+
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;
|
|
10482
10487
|
if (forcetocheckoutvalue != undefined) {
|
|
10483
10488
|
addtocartobjparam.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
10484
10489
|
}
|
|
10485
10490
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
10486
10491
|
if (Extrafieldvalidationresponse.status) {
|
|
10487
|
-
var
|
|
10492
|
+
var _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63;
|
|
10488
10493
|
var finalprice = 0;
|
|
10489
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10494
|
+
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) {
|
|
10490
10495
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
10491
10496
|
} else {
|
|
10492
10497
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
10493
10498
|
}
|
|
10494
10499
|
Pixel_EventsContext('AddToCart', {
|
|
10495
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10496
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10497
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10500
|
+
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],
|
|
10501
|
+
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),
|
|
10502
|
+
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,
|
|
10498
10503
|
content_type: 'product',
|
|
10499
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10504
|
+
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,
|
|
10500
10505
|
value: finalprice,
|
|
10501
10506
|
quantity: addtocardpayloadobj.quantity
|
|
10502
10507
|
});
|
|
@@ -11146,16 +11151,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
11146
11151
|
// }
|
|
11147
11152
|
// };
|
|
11148
11153
|
var get_product_extras_price = function get_product_extras_price() {
|
|
11149
|
-
var
|
|
11154
|
+
var _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
11150
11155
|
var totalprice_extras_price = 0;
|
|
11151
|
-
if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11156
|
+
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) {
|
|
11152
11157
|
var _fetchcustomercartQue4;
|
|
11153
11158
|
var extras_for_product = [];
|
|
11154
11159
|
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;
|
|
11155
11160
|
product_prod_extras_array === null || product_prod_extras_array === void 0 || product_prod_extras_array.forEach(function (cartitem_in, cartindex_in) {
|
|
11156
11161
|
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
11157
|
-
var
|
|
11158
|
-
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11162
|
+
var _fetchProductInfoQuer66;
|
|
11163
|
+
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)) {
|
|
11159
11164
|
extras_for_product.push(cartitem_in);
|
|
11160
11165
|
}
|
|
11161
11166
|
}
|
|
@@ -11168,37 +11173,37 @@ var Productinfo = function Productinfo(props) {
|
|
|
11168
11173
|
return parseFloat(totalprice_extras_price);
|
|
11169
11174
|
};
|
|
11170
11175
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
11171
|
-
var
|
|
11176
|
+
var _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70;
|
|
11172
11177
|
var price = 0;
|
|
11173
11178
|
var quantity = 0;
|
|
11174
11179
|
if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
|
|
11175
11180
|
quantity = parseFloat(addtocardpayloadobj.quantity);
|
|
11176
11181
|
}
|
|
11177
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11178
|
-
var
|
|
11179
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11182
|
+
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) {
|
|
11183
|
+
var _fetchProductInfoQuer71;
|
|
11184
|
+
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;
|
|
11180
11185
|
}
|
|
11181
11186
|
if (type == 'defaultprice') {
|
|
11182
|
-
var
|
|
11183
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11184
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11187
|
+
var _fetchProductInfoQuer72, _fetchProductInfoQuer73;
|
|
11188
|
+
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;
|
|
11189
|
+
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) {
|
|
11185
11190
|
if (variantindexcompleted != undefined) {
|
|
11186
|
-
var
|
|
11187
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11188
|
-
var
|
|
11189
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11191
|
+
var _fetchProductInfoQuer74;
|
|
11192
|
+
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) {
|
|
11193
|
+
var _fetchProductInfoQuer75;
|
|
11194
|
+
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;
|
|
11190
11195
|
}
|
|
11191
11196
|
}
|
|
11192
11197
|
}
|
|
11193
11198
|
} else if (type == 'defaultsaleprice') {
|
|
11194
|
-
var
|
|
11195
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11196
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11199
|
+
var _fetchProductInfoQuer76, _fetchProductInfoQuer77;
|
|
11200
|
+
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;
|
|
11201
|
+
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) {
|
|
11197
11202
|
if (variantindexcompleted != undefined) {
|
|
11198
|
-
var
|
|
11199
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11200
|
-
var
|
|
11201
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11203
|
+
var _fetchProductInfoQuer78;
|
|
11204
|
+
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) {
|
|
11205
|
+
var _fetchProductInfoQuer79;
|
|
11206
|
+
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;
|
|
11202
11207
|
}
|
|
11203
11208
|
}
|
|
11204
11209
|
}
|
|
@@ -11297,7 +11302,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11297
11302
|
// }
|
|
11298
11303
|
// };
|
|
11299
11304
|
var getQuantityCondition = function getQuantityCondition() {
|
|
11300
|
-
var
|
|
11305
|
+
var _fetchProductInfoQuer80;
|
|
11301
11306
|
return /*#__PURE__*/React.createElement("div", {
|
|
11302
11307
|
"class": "col-lg-12 p-0",
|
|
11303
11308
|
style: {
|
|
@@ -11327,12 +11332,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11327
11332
|
height: 1,
|
|
11328
11333
|
background: sectionproperties.pricelisttitlecolor
|
|
11329
11334
|
}
|
|
11330
|
-
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11331
|
-
var
|
|
11335
|
+
})), 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) {
|
|
11336
|
+
var _fetchProductInfoQuer81;
|
|
11332
11337
|
return /*#__PURE__*/React.createElement("div", {
|
|
11333
11338
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center",
|
|
11334
11339
|
style: {
|
|
11335
|
-
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11340
|
+
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
|
|
11336
11341
|
}
|
|
11337
11342
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11338
11343
|
"class": "d-flex align-items-center",
|
|
@@ -11366,7 +11371,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11366
11371
|
})));
|
|
11367
11372
|
};
|
|
11368
11373
|
var StoreInfo = function StoreInfo(position) {
|
|
11369
|
-
var
|
|
11374
|
+
var _fetchProductInfoQuer82, _authdetailsContext$i34, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i35, _authdetailsContext$i37;
|
|
11370
11375
|
return /*#__PURE__*/React.createElement("div", {
|
|
11371
11376
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
11372
11377
|
style: {
|
|
@@ -11417,7 +11422,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11417
11422
|
style: {
|
|
11418
11423
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11419
11424
|
}
|
|
11420
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11425
|
+
}, 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.createElement("div", {
|
|
11421
11426
|
"class": "col-lg-12 p-0 mb-4"
|
|
11422
11427
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
11423
11428
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
@@ -11618,7 +11623,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11618
11623
|
lang: langdetect,
|
|
11619
11624
|
amount: getprice_discountpriceprops('defaultprice', 0, variantindexcompleted),
|
|
11620
11625
|
divid: 'prodinfo'
|
|
11621
|
-
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11626
|
+
})), (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.createElement(Product_itemtype, {
|
|
11622
11627
|
actions: (_ref = {
|
|
11623
11628
|
product_prod_extras_array: product_prod_extras_array,
|
|
11624
11629
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
@@ -11632,7 +11637,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11632
11637
|
lang: lang,
|
|
11633
11638
|
srcfromprops: props.srcfromprops
|
|
11634
11639
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
11635
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11640
|
+
}), (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.createElement(Article_itemtype, {
|
|
11636
11641
|
actions: (_ref2 = {
|
|
11637
11642
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
11638
11643
|
setisoutofstock: setisoutofstock,
|
|
@@ -11642,7 +11647,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11642
11647
|
lang: lang,
|
|
11643
11648
|
srcfromprops: props.srcfromprops
|
|
11644
11649
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty(_defineProperty(_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
11645
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11650
|
+
}), (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.createElement(Product_itemtype_Article, {
|
|
11646
11651
|
actions: (_ref3 = {
|
|
11647
11652
|
isOptionInStock: isOptionInStock,
|
|
11648
11653
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -11654,7 +11659,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11654
11659
|
lang: lang,
|
|
11655
11660
|
srcfromprops: props.srcfromprops
|
|
11656
11661
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
11657
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11662
|
+
}), (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.createElement(Service_itemtype, {
|
|
11658
11663
|
actions: (_ref4 = {
|
|
11659
11664
|
product_prod_extras_array: product_prod_extras_array,
|
|
11660
11665
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
@@ -11673,7 +11678,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11673
11678
|
style: {
|
|
11674
11679
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
11675
11680
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
11676
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11681
|
+
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'
|
|
11677
11682
|
}
|
|
11678
11683
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11679
11684
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -11735,12 +11740,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11735
11740
|
onClick: function onClick() {
|
|
11736
11741
|
settabname('refundpolicytab');
|
|
11737
11742
|
}
|
|
11738
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11743
|
+
}), (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.createElement(Tab, {
|
|
11739
11744
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
11740
11745
|
onClick: function onClick() {
|
|
11741
11746
|
settabname('videostab');
|
|
11742
11747
|
}
|
|
11743
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11748
|
+
}), (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.createElement(Tab, {
|
|
11744
11749
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11745
11750
|
onClick: function onClick() {
|
|
11746
11751
|
settabname('reviewstab');
|
|
@@ -11794,12 +11799,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11794
11799
|
onClick: function onClick() {
|
|
11795
11800
|
settabname('refundpolicytab');
|
|
11796
11801
|
}
|
|
11797
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11802
|
+
}), (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.createElement(Tab, {
|
|
11798
11803
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
11799
11804
|
onClick: function onClick() {
|
|
11800
11805
|
settabname('videostab');
|
|
11801
11806
|
}
|
|
11802
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11807
|
+
}), (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.createElement(Tab, {
|
|
11803
11808
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11804
11809
|
onClick: function onClick() {
|
|
11805
11810
|
settabname('reviewstab');
|
|
@@ -11933,12 +11938,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11933
11938
|
onClick: function onClick() {
|
|
11934
11939
|
settabname('refundpolicytab');
|
|
11935
11940
|
}
|
|
11936
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11941
|
+
}), (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.createElement(Tab, {
|
|
11937
11942
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
11938
11943
|
onClick: function onClick() {
|
|
11939
11944
|
settabname('videostab');
|
|
11940
11945
|
}
|
|
11941
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11946
|
+
}), (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.createElement(Tab, {
|
|
11942
11947
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11943
11948
|
onClick: function onClick() {
|
|
11944
11949
|
settabname('reviewstab');
|
|
@@ -11959,7 +11964,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11959
11964
|
color: sectionproperties.prodCatColor
|
|
11960
11965
|
},
|
|
11961
11966
|
dangerouslySetInnerHTML: {
|
|
11962
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11967
|
+
__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
|
|
11963
11968
|
}
|
|
11964
11969
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
11965
11970
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -12101,7 +12106,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
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 || (_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
|
|
12105
12110
|
}
|
|
12106
12111
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
12107
12112
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -12233,7 +12238,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12233
12238
|
color: '#000000'
|
|
12234
12239
|
},
|
|
12235
12240
|
dangerouslySetInnerHTML: {
|
|
12236
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12241
|
+
__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
|
|
12237
12242
|
}
|
|
12238
12243
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React.createElement("div", {
|
|
12239
12244
|
"class": "col-lg-12 p-0"
|
|
@@ -12244,7 +12249,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12244
12249
|
color: sectionproperties.prodCatColor
|
|
12245
12250
|
},
|
|
12246
12251
|
dangerouslySetInnerHTML: {
|
|
12247
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12252
|
+
__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
|
|
12248
12253
|
}
|
|
12249
12254
|
}))
|
|
12250
12255
|
// <DescriptionContent
|
|
@@ -15538,7 +15543,7 @@ styleInject(css_248z$G);
|
|
|
15538
15543
|
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; }
|
|
15539
15544
|
function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15540
15545
|
var Checkout = function Checkout(props) {
|
|
15541
|
-
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$
|
|
15546
|
+
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;
|
|
15542
15547
|
var _useState = useState(null),
|
|
15543
15548
|
_useState2 = _slicedToArray(_useState, 2);
|
|
15544
15549
|
_useState2[0];
|
|
@@ -15832,7 +15837,7 @@ var Checkout = function Checkout(props) {
|
|
|
15832
15837
|
});
|
|
15833
15838
|
};
|
|
15834
15839
|
var is_order_extrafileds_required_fulfiled = function is_order_extrafileds_required_fulfiled() {
|
|
15835
|
-
var _authdetailsContext$i4, _authdetailsContext$i5;
|
|
15840
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
15836
15841
|
var is_fulfilled = true;
|
|
15837
15842
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d99c87c0a20') {
|
|
15838
15843
|
var _OrderExtraFieldsToBe;
|
|
@@ -15850,6 +15855,14 @@ var Checkout = function Checkout(props) {
|
|
|
15850
15855
|
is_fulfilled = false;
|
|
15851
15856
|
}
|
|
15852
15857
|
});
|
|
15858
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68f5fec923609') {
|
|
15859
|
+
var _OrderExtraFieldsToBe3;
|
|
15860
|
+
var OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
15861
|
+
(_OrderExtraFieldsToBe3 = OrderExtraFieldsToBeSentArr) === null || _OrderExtraFieldsToBe3 === void 0 || _OrderExtraFieldsToBe3.forEach(function (item, index) {
|
|
15862
|
+
if (item.isrequired == 1 && (item.value == undefined || item.value == null || item.value.length == 0)) {
|
|
15863
|
+
is_fulfilled = false;
|
|
15864
|
+
}
|
|
15865
|
+
});
|
|
15853
15866
|
}
|
|
15854
15867
|
if (is_fulfilled === false) {
|
|
15855
15868
|
alert('Please Fill The Missing fields');
|
|
@@ -16150,7 +16163,7 @@ var Checkout = function Checkout(props) {
|
|
|
16150
16163
|
return isloading;
|
|
16151
16164
|
};
|
|
16152
16165
|
var Mycart = function Mycart() {
|
|
16153
|
-
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$
|
|
16166
|
+
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;
|
|
16154
16167
|
return /*#__PURE__*/React.createElement("div", {
|
|
16155
16168
|
className: "row m-0 w-100 mb-md-3"
|
|
16156
16169
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -16415,7 +16428,7 @@ var Checkout = function Checkout(props) {
|
|
|
16415
16428
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
16416
16429
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16417
16430
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center wordbreak '
|
|
16418
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16431
|
+
}, (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.createElement("div", {
|
|
16419
16432
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
16420
16433
|
}, /*#__PURE__*/React.createElement("p", {
|
|
16421
16434
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
@@ -16504,7 +16517,7 @@ var Checkout = function Checkout(props) {
|
|
|
16504
16517
|
textTransform: sectionproperties.total_texttransform,
|
|
16505
16518
|
color: sectionproperties.total_color
|
|
16506
16519
|
}
|
|
16507
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16520
|
+
}, (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.createElement("div", {
|
|
16508
16521
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
16509
16522
|
}, /*#__PURE__*/React.createElement("div", {
|
|
16510
16523
|
className: "row m-0 w-100"
|
|
@@ -16524,7 +16537,7 @@ var Checkout = function Checkout(props) {
|
|
|
16524
16537
|
background: '#eee',
|
|
16525
16538
|
borderRadius: 10
|
|
16526
16539
|
}
|
|
16527
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16540
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '66b4a0338cb14' && /*#__PURE__*/React.createElement("input", {
|
|
16528
16541
|
type: "checkbox",
|
|
16529
16542
|
className: "mx-2 mt-2 mb-auto",
|
|
16530
16543
|
checked: checkboxisChecked,
|
|
@@ -16546,11 +16559,11 @@ var Checkout = function Checkout(props) {
|
|
|
16546
16559
|
style: {
|
|
16547
16560
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
16548
16561
|
}
|
|
16549
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16562
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) != '67e448d2ef6e0' && /*#__PURE__*/React.createElement("button", {
|
|
16550
16563
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
16551
16564
|
onClick: function onClick() {
|
|
16552
|
-
var _authdetailsContext$
|
|
16553
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16565
|
+
var _authdetailsContext$i1;
|
|
16566
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '66b4a0338cb14') {
|
|
16554
16567
|
if (!checkboxisChecked) return;
|
|
16555
16568
|
}
|
|
16556
16569
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -16558,14 +16571,14 @@ var Checkout = function Checkout(props) {
|
|
|
16558
16571
|
}
|
|
16559
16572
|
addorderfuncrunner();
|
|
16560
16573
|
},
|
|
16561
|
-
disabled: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16574
|
+
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
|
|
16562
16575
|
// disabled={}
|
|
16563
16576
|
}, ischeckoutbuttonloading() && /*#__PURE__*/React.createElement(CircularProgress, {
|
|
16564
16577
|
color: "#fff",
|
|
16565
16578
|
width: "20px",
|
|
16566
16579
|
height: "20px",
|
|
16567
16580
|
duration: "1s"
|
|
16568
|
-
}), !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$
|
|
16581
|
+
}), !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.createElement("button", {
|
|
16569
16582
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
16570
16583
|
onClick: function onClick() {
|
|
16571
16584
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -16682,7 +16695,7 @@ var Checkout = function Checkout(props) {
|
|
|
16682
16695
|
}
|
|
16683
16696
|
}, /*#__PURE__*/React.createElement(BiPhone, null)), /*#__PURE__*/React.createElement("p", {
|
|
16684
16697
|
className: "m-0 p-0 wordbreak"
|
|
16685
|
-
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16698
|
+
}, 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.createElement("div", {
|
|
16686
16699
|
className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
|
|
16687
16700
|
}, /*#__PURE__*/React.createElement("div", {
|
|
16688
16701
|
className: "m-0 p-0 d-flex align-items-center"
|
|
@@ -16746,7 +16759,7 @@ var Checkout = function Checkout(props) {
|
|
|
16746
16759
|
})), /*#__PURE__*/React.createElement("div", {
|
|
16747
16760
|
className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
|
|
16748
16761
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
16749
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16762
|
+
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'
|
|
16750
16763
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16751
16764
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16752
16765
|
}, lang.name, /*#__PURE__*/React.createElement("sup", {
|
|
@@ -16766,7 +16779,7 @@ var Checkout = function Checkout(props) {
|
|
|
16766
16779
|
boxShadow: 'none'
|
|
16767
16780
|
}
|
|
16768
16781
|
})), /*#__PURE__*/React.createElement("div", {
|
|
16769
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16782
|
+
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'
|
|
16770
16783
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16771
16784
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16772
16785
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف', ' ', /*#__PURE__*/React.createElement("sup", {
|
|
@@ -16790,16 +16803,16 @@ var Checkout = function Checkout(props) {
|
|
|
16790
16803
|
})), /*#__PURE__*/React.createElement("div", {
|
|
16791
16804
|
className: "col-lg-4 col-md-12 mb-3 flex-column",
|
|
16792
16805
|
style: {
|
|
16793
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16806
|
+
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'
|
|
16794
16807
|
}
|
|
16795
16808
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16796
16809
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16797
|
-
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16810
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.customerEmailrequiered) == 1 && /*#__PURE__*/React.createElement("sup", {
|
|
16798
16811
|
"class": "mx-2",
|
|
16799
16812
|
style: {
|
|
16800
16813
|
color: 'var(--danger)'
|
|
16801
16814
|
}
|
|
16802
|
-
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16815
|
+
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React.createElement("span", {
|
|
16803
16816
|
"class": "mx-2",
|
|
16804
16817
|
style: {
|
|
16805
16818
|
fontSize: 13
|
|
@@ -16877,7 +16890,7 @@ var Checkout = function Checkout(props) {
|
|
|
16877
16890
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
16878
16891
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16879
16892
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
16880
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16893
|
+
}, (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.createElement("sup", {
|
|
16881
16894
|
"class": "mx-2",
|
|
16882
16895
|
style: {
|
|
16883
16896
|
color: 'var(--danger)'
|
|
@@ -16937,7 +16950,7 @@ var Checkout = function Checkout(props) {
|
|
|
16937
16950
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
16938
16951
|
}, /*#__PURE__*/React.createElement("label", {
|
|
16939
16952
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
16940
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16953
|
+
}, (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.createElement("sup", {
|
|
16941
16954
|
"class": "mx-2",
|
|
16942
16955
|
style: {
|
|
16943
16956
|
color: 'var(--danger)'
|
|
@@ -17085,7 +17098,7 @@ var Checkout = function Checkout(props) {
|
|
|
17085
17098
|
// events mart
|
|
17086
17099
|
|
|
17087
17100
|
if (item.title_en == 'Event Date') {
|
|
17088
|
-
var _authdetailsContext$
|
|
17101
|
+
var _authdetailsContext$i26, _authdetailsContext$i27;
|
|
17089
17102
|
return /*#__PURE__*/React.createElement("div", {
|
|
17090
17103
|
className: "col-lg-6 col-md-12 mb-3"
|
|
17091
17104
|
}, /*#__PURE__*/React.createElement("label", {
|
|
@@ -17114,12 +17127,12 @@ var Checkout = function Checkout(props) {
|
|
|
17114
17127
|
// }}
|
|
17115
17128
|
,
|
|
17116
17129
|
onChange: function onChange(event) {
|
|
17117
|
-
var _authdetailsContext$
|
|
17118
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17130
|
+
var _authdetailsContext$i24;
|
|
17131
|
+
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') {
|
|
17119
17132
|
var selectedDate = event.target.value;
|
|
17120
17133
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
17121
|
-
var _authdetailsContext$
|
|
17122
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17134
|
+
var _authdetailsContext$i25;
|
|
17135
|
+
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;
|
|
17123
17136
|
if (minDate && selectedDate < minDate) {
|
|
17124
17137
|
// alert(`Please select a date on or after ${minDate}`);
|
|
17125
17138
|
return;
|
|
@@ -17137,11 +17150,11 @@ var Checkout = function Checkout(props) {
|
|
|
17137
17150
|
style: {
|
|
17138
17151
|
boxShadow: 'none'
|
|
17139
17152
|
},
|
|
17140
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17141
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17153
|
+
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
|
|
17154
|
+
.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
|
|
17142
17155
|
}));
|
|
17143
17156
|
} else {
|
|
17144
|
-
var _authdetailsContext$
|
|
17157
|
+
var _authdetailsContext$i30, _authdetailsContext$i31;
|
|
17145
17158
|
return /*#__PURE__*/React.createElement("div", {
|
|
17146
17159
|
className: "col-lg-6 col-md-12 mb-3"
|
|
17147
17160
|
}, /*#__PURE__*/React.createElement("label", {
|
|
@@ -17162,12 +17175,12 @@ var Checkout = function Checkout(props) {
|
|
|
17162
17175
|
// }}
|
|
17163
17176
|
,
|
|
17164
17177
|
onChange: function onChange(event) {
|
|
17165
|
-
var _authdetailsContext$
|
|
17166
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17178
|
+
var _authdetailsContext$i28;
|
|
17179
|
+
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') {
|
|
17167
17180
|
var selectedDate = event.target.value;
|
|
17168
17181
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
17169
|
-
var _authdetailsContext$
|
|
17170
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17182
|
+
var _authdetailsContext$i29;
|
|
17183
|
+
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;
|
|
17171
17184
|
if (minDate && selectedDate < minDate) {
|
|
17172
17185
|
// alert(`Please select a date on or after ${minDate}`);
|
|
17173
17186
|
return;
|
|
@@ -17185,8 +17198,8 @@ var Checkout = function Checkout(props) {
|
|
|
17185
17198
|
style: {
|
|
17186
17199
|
boxShadow: 'none'
|
|
17187
17200
|
},
|
|
17188
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17189
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17201
|
+
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
|
|
17202
|
+
.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
|
|
17190
17203
|
}));
|
|
17191
17204
|
}
|
|
17192
17205
|
}
|
|
@@ -17340,15 +17353,15 @@ var Checkout = function Checkout(props) {
|
|
|
17340
17353
|
})), /*#__PURE__*/React.createElement("div", {
|
|
17341
17354
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
17342
17355
|
}, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React.createElement("div", {
|
|
17343
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17356
|
+
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',
|
|
17344
17357
|
style: {
|
|
17345
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17358
|
+
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,
|
|
17346
17359
|
borderRadius: 15
|
|
17347
17360
|
}
|
|
17348
17361
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17349
17362
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17350
17363
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17351
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17364
|
+
"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'
|
|
17352
17365
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17353
17366
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
17354
17367
|
"for": "codcheckbox"
|
|
@@ -17375,26 +17388,26 @@ var Checkout = function Checkout(props) {
|
|
|
17375
17388
|
style: {
|
|
17376
17389
|
color: sectionproperties.checkbox_color
|
|
17377
17390
|
}
|
|
17378
|
-
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17391
|
+
}, 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.createElement("div", {
|
|
17379
17392
|
"class": "col-3 text-end p-0"
|
|
17380
17393
|
}, /*#__PURE__*/React.createElement("img", {
|
|
17381
17394
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
17382
17395
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
17383
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17396
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '68a6e2f865af8' && /*#__PURE__*/React.createElement("div", {
|
|
17384
17397
|
"class": "col-3 text-end p-0"
|
|
17385
17398
|
}, /*#__PURE__*/React.createElement("img", {
|
|
17386
17399
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
17387
17400
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
17388
17401
|
})))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React.createElement("div", {
|
|
17389
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17402
|
+
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',
|
|
17390
17403
|
style: {
|
|
17391
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17404
|
+
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,
|
|
17392
17405
|
borderRadius: 15
|
|
17393
17406
|
}
|
|
17394
17407
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17395
17408
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17396
17409
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17397
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17410
|
+
"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'
|
|
17398
17411
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17399
17412
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
17400
17413
|
"for": "codcheckbox"
|
|
@@ -17421,7 +17434,7 @@ var Checkout = function Checkout(props) {
|
|
|
17421
17434
|
style: {
|
|
17422
17435
|
color: sectionproperties.checkbox_color
|
|
17423
17436
|
}
|
|
17424
|
-
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17437
|
+
}, 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.createElement("div", {
|
|
17425
17438
|
"class": "col-3 text-end p-0"
|
|
17426
17439
|
}, /*#__PURE__*/React.createElement("img", {
|
|
17427
17440
|
src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
|
|
@@ -17453,15 +17466,15 @@ var Checkout = function Checkout(props) {
|
|
|
17453
17466
|
/*#__PURE__*/
|
|
17454
17467
|
// <div className=""
|
|
17455
17468
|
React.createElement("div", {
|
|
17456
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17469
|
+
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',
|
|
17457
17470
|
style: {
|
|
17458
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17471
|
+
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,
|
|
17459
17472
|
borderRadius: 15
|
|
17460
17473
|
}
|
|
17461
17474
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17462
17475
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17463
17476
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17464
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17477
|
+
"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'
|
|
17465
17478
|
}, /*#__PURE__*/React.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 '
|
|
17467
17480
|
}, /*#__PURE__*/React.createElement("input", {
|
|
@@ -17483,12 +17496,12 @@ var Checkout = function Checkout(props) {
|
|
|
17483
17496
|
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"
|
|
17484
17497
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17485
17498
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17486
|
-
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17499
|
+
}, 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.createElement("div", {
|
|
17487
17500
|
"class": "col-3 text-end p-0"
|
|
17488
17501
|
}, /*#__PURE__*/React.createElement("img", {
|
|
17489
17502
|
src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
|
|
17490
17503
|
"class": checkoutstyles.vismasterimage + ' mx-2 '
|
|
17491
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17504
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '68a6e2f865af8' && /*#__PURE__*/React.createElement("div", {
|
|
17492
17505
|
"class": "col-3 text-end p-0"
|
|
17493
17506
|
}, /*#__PURE__*/React.createElement("img", {
|
|
17494
17507
|
src: 'https://tabex-co.com/storage/StaticImages/fawry.png',
|
|
@@ -17537,7 +17550,7 @@ var Checkout = function Checkout(props) {
|
|
|
17537
17550
|
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"
|
|
17538
17551
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17539
17552
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17540
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17553
|
+
}, 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.createElement("div", {
|
|
17541
17554
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17542
17555
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17543
17556
|
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 '
|
|
@@ -17559,7 +17572,7 @@ var Checkout = function Checkout(props) {
|
|
|
17559
17572
|
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"
|
|
17560
17573
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17561
17574
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17562
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17575
|
+
}, 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.createElement("div", {
|
|
17563
17576
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17564
17577
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17565
17578
|
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 '
|
|
@@ -17581,7 +17594,7 @@ var Checkout = function Checkout(props) {
|
|
|
17581
17594
|
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"
|
|
17582
17595
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17583
17596
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17584
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17597
|
+
}, 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.createElement("div", {
|
|
17585
17598
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17586
17599
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17587
17600
|
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 '
|
|
@@ -17603,7 +17616,7 @@ var Checkout = function Checkout(props) {
|
|
|
17603
17616
|
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"
|
|
17604
17617
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17605
17618
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
17606
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17619
|
+
}, 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.createElement("div", {
|
|
17607
17620
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17608
17621
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17609
17622
|
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 '
|
|
@@ -17625,7 +17638,7 @@ var Checkout = function Checkout(props) {
|
|
|
17625
17638
|
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"
|
|
17626
17639
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17627
17640
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17628
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17641
|
+
}, 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.createElement("div", {
|
|
17629
17642
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17630
17643
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17631
17644
|
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 '
|
|
@@ -17647,7 +17660,7 @@ var Checkout = function Checkout(props) {
|
|
|
17647
17660
|
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"
|
|
17648
17661
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17649
17662
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17650
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17663
|
+
}, 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.createElement("div", {
|
|
17651
17664
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17652
17665
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17653
17666
|
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 '
|
|
@@ -17669,7 +17682,7 @@ var Checkout = function Checkout(props) {
|
|
|
17669
17682
|
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"
|
|
17670
17683
|
})), /*#__PURE__*/React.createElement("p", {
|
|
17671
17684
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17672
|
-
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17685
|
+
}, 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.createElement("div", {
|
|
17673
17686
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17674
17687
|
}, /*#__PURE__*/React.createElement("label", {
|
|
17675
17688
|
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 '
|
|
@@ -17701,7 +17714,7 @@ var Checkout = function Checkout(props) {
|
|
|
17701
17714
|
dangerouslySetInnerHTML: {
|
|
17702
17715
|
__html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
17703
17716
|
}
|
|
17704
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17717
|
+
})), (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.createElement("div", {
|
|
17705
17718
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
17706
17719
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17707
17720
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -17709,7 +17722,7 @@ var Checkout = function Checkout(props) {
|
|
|
17709
17722
|
color: '#000'
|
|
17710
17723
|
}
|
|
17711
17724
|
// dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar }}
|
|
17712
|
-
}, 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$
|
|
17725
|
+
}, 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.createElement("div", {
|
|
17713
17726
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
17714
17727
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17715
17728
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -57728,7 +57741,7 @@ var Footer7 = function Footer7(props) {
|
|
|
57728
57741
|
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; }
|
|
57729
57742
|
function _objectSpread$1D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1D(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
57730
57743
|
var Footer8 = function Footer8(props) {
|
|
57731
|
-
var _css, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects
|
|
57744
|
+
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;
|
|
57732
57745
|
var _useState = useState(''),
|
|
57733
57746
|
_useState2 = _slicedToArray(_useState, 2),
|
|
57734
57747
|
sectionproperties = _useState2[0],
|
|
@@ -58007,12 +58020,32 @@ var Footer8 = function Footer8(props) {
|
|
|
58007
58020
|
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
58008
58021
|
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
|
|
58009
58022
|
}
|
|
58023
|
+
}, sectionproperties.showlogo == 'Show' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React.createElement("div", {
|
|
58024
|
+
"class": "col-lg-12 d-flex p-md-0 justify-content-start align-items-center justify-content-md-center mb-auto"
|
|
58010
58025
|
}, /*#__PURE__*/React.createElement("div", {
|
|
58011
|
-
"class":
|
|
58026
|
+
"class": "".concat(footerStyles.logoStyles) + ' d-flex justify-content-start align-items-center cursor-pointer ',
|
|
58027
|
+
onClick: function onClick() {
|
|
58028
|
+
routingcountext('home');
|
|
58029
|
+
}
|
|
58030
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
58031
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
58032
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
58033
|
+
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,
|
|
58034
|
+
style: {
|
|
58035
|
+
width: '100%',
|
|
58036
|
+
height: '100%',
|
|
58037
|
+
objectFit: 'contain'
|
|
58038
|
+
},
|
|
58039
|
+
loading: "lazy"
|
|
58040
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
58041
|
+
"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'
|
|
58012
58042
|
}, /*#__PURE__*/React.createElement("div", {
|
|
58013
58043
|
"class": "row m-0 w-100"
|
|
58014
58044
|
}, 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.createElement("div", {
|
|
58015
|
-
"class": "col-lg-12 p-md-0
|
|
58045
|
+
"class": "col-lg-12 p-md-0 justify-content-start align-items-center justify-content-md-center mb-auto",
|
|
58046
|
+
style: {
|
|
58047
|
+
display: sectionproperties.prodCatShow == 'Show' ? sectionproperties.descriptionposition == 'Bottom' ? 'none' : 'flex' : 'none'
|
|
58048
|
+
}
|
|
58016
58049
|
}, /*#__PURE__*/React.createElement("div", {
|
|
58017
58050
|
"class": "".concat(footerStyles.logoStyles) + ' d-flex justify-content-start align-items-center cursor-pointer ',
|
|
58018
58051
|
onClick: function onClick() {
|
|
@@ -58021,7 +58054,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58021
58054
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
58022
58055
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
58023
58056
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
58024
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects
|
|
58057
|
+
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,
|
|
58025
58058
|
style: {
|
|
58026
58059
|
width: '100%',
|
|
58027
58060
|
height: '100%',
|
|
@@ -58060,9 +58093,9 @@ var Footer8 = function Footer8(props) {
|
|
|
58060
58093
|
},
|
|
58061
58094
|
src: 'https://image.tabexseries.com/products/6972421b79d52/69930b8d86c2ageneralimage.png'
|
|
58062
58095
|
}))), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React.createElement("div", {
|
|
58063
|
-
"class":
|
|
58096
|
+
"class": 'col-lg-12 p-md-0 d-flex justify-content-start mt-2'
|
|
58064
58097
|
}, /*#__PURE__*/React.createElement("p", {
|
|
58065
|
-
"class": langdetect == 'en' ? ' wordbreak
|
|
58098
|
+
"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 ',
|
|
58066
58099
|
style: {
|
|
58067
58100
|
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
58068
58101
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
@@ -58113,7 +58146,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58113
58146
|
background: sectionproperties.input_bgcolor
|
|
58114
58147
|
}
|
|
58115
58148
|
})))))), /*#__PURE__*/React.createElement("div", {
|
|
58116
|
-
"class": sectionproperties.prodCatShow == 'Show' ? 'col-lg-
|
|
58149
|
+
"class": sectionproperties.prodCatShow == 'Show' ? 'col-lg-7 p-0' : 'col-lg-8 p-0'
|
|
58117
58150
|
}, /*#__PURE__*/React.createElement("div", {
|
|
58118
58151
|
"class": "row m-0 w-100"
|
|
58119
58152
|
}, sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -58128,17 +58161,41 @@ var Footer8 = function Footer8(props) {
|
|
|
58128
58161
|
}
|
|
58129
58162
|
}, 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.createElement("div", {
|
|
58130
58163
|
"class": 'col-lg-6 col-md-12 col-sm-12 align-items-center mb-md-3 p-sm-0'
|
|
58131
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '69de6dceab218' && /*#__PURE__*/React.createElement("
|
|
58164
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '69de6dceab218' && /*#__PURE__*/React.createElement("div", {
|
|
58165
|
+
"class": "row m-0 w-100"
|
|
58166
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
58167
|
+
"class": "col-12 p-0 text-start"
|
|
58168
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
58132
58169
|
"class": "".concat(footerStyles.textStyles) + ' m-0 p-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer ',
|
|
58133
58170
|
style: {
|
|
58134
58171
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58135
58172
|
}
|
|
58136
|
-
}, langdetect == 'en' ? 'Working Hours' : 'ساعات العمل'),
|
|
58137
|
-
"class": "
|
|
58173
|
+
}, langdetect == 'en' ? 'Working Hours' : 'ساعات العمل')), /*#__PURE__*/React.createElement("div", {
|
|
58174
|
+
"class": "col-12 p-0 text-start"
|
|
58175
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
58176
|
+
"class": "row m-0 w-100"
|
|
58177
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
58178
|
+
"class": "col-6 p-0 text-start"
|
|
58179
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
58180
|
+
"class": "".concat(footerStyles.iconTextStyle) + ' m-0 pb-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer p-0 ',
|
|
58181
|
+
style: {
|
|
58182
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58183
|
+
}
|
|
58184
|
+
}, langdetect == 'en' ? 'Saturday - Thursday' : 'السبت - الخميس')), /*#__PURE__*/React.createElement("div", {
|
|
58185
|
+
"class": "col-6 p-0 text-end"
|
|
58186
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
58187
|
+
"class": "".concat(footerStyles.iconTextStyle) + ' m-0 pb-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer p-0 ',
|
|
58188
|
+
style: {
|
|
58189
|
+
textAlign: langdetect == 'en' ? 'right' : 'left'
|
|
58190
|
+
}
|
|
58191
|
+
}, "9:00am - 9:00pm")), /*#__PURE__*/React.createElement("div", {
|
|
58192
|
+
"class": "col-12 p-0 text-start"
|
|
58193
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
58194
|
+
"class": "".concat(footerStyles.iconTextStyle) + ' m-0 pb-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer p-0 ',
|
|
58138
58195
|
style: {
|
|
58139
58196
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58140
58197
|
}
|
|
58141
|
-
}, langdetect == 'en' ? '
|
|
58198
|
+
}, 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.createElement("p", {
|
|
58142
58199
|
"class": "".concat(footerStyles.textStyles) + ' m-0 p-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer ',
|
|
58143
58200
|
style: {
|
|
58144
58201
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
@@ -58162,7 +58219,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58162
58219
|
onClick: function onClick() {
|
|
58163
58220
|
window.open(sectionproperties.storeinfolocationlink, '_blank');
|
|
58164
58221
|
}
|
|
58165
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58222
|
+
}, 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.createElement("div", {
|
|
58166
58223
|
"class": "col-lg-12 justify-content-start align-items-center mb-md-4 p-0"
|
|
58167
58224
|
}, /*#__PURE__*/React.createElement("div", {
|
|
58168
58225
|
"class": "row m-0 w-100 align-items-center flex-row justify-content-start justify-content-start justify-content-sm-center"
|
|
@@ -58179,8 +58236,8 @@ var Footer8 = function Footer8(props) {
|
|
|
58179
58236
|
"class": "".concat(footerStyles.appstore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
58180
58237
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
58181
58238
|
onClick: function onClick() {
|
|
58182
|
-
var _authdetailsContext$
|
|
58183
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58239
|
+
var _authdetailsContext$i14;
|
|
58240
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.mobileapplink_appstore, '_blank');
|
|
58184
58241
|
}
|
|
58185
58242
|
})), /*#__PURE__*/React.createElement("div", {
|
|
58186
58243
|
"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'
|
|
@@ -58188,8 +58245,8 @@ var Footer8 = function Footer8(props) {
|
|
|
58188
58245
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
58189
58246
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
58190
58247
|
onClick: function onClick() {
|
|
58191
|
-
var _authdetailsContext$
|
|
58192
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58248
|
+
var _authdetailsContext$i15;
|
|
58249
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.mobileapplink_playstore, '_blank');
|
|
58193
58250
|
}
|
|
58194
58251
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
58195
58252
|
"class": 'col-lg-6 col-md-12 col-sm-12 mb-md-3 p-sm-0'
|
|
@@ -58207,8 +58264,8 @@ var Footer8 = function Footer8(props) {
|
|
|
58207
58264
|
}, sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
58208
58265
|
"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 ',
|
|
58209
58266
|
onClick: function onClick() {
|
|
58210
|
-
var _authdetailsContext$
|
|
58211
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58267
|
+
var _authdetailsContext$i16;
|
|
58268
|
+
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');
|
|
58212
58269
|
}
|
|
58213
58270
|
}, /*#__PURE__*/React.createElement("p", {
|
|
58214
58271
|
"class": "".concat(footerStyles.iconTextStyle) + ' p-0 m-0 wordbreak text-transform-none footerinfo pb-1 ',
|
|
@@ -58217,7 +58274,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58217
58274
|
borderBottomStyle: 'solid',
|
|
58218
58275
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58219
58276
|
}
|
|
58220
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58277
|
+
}, 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.createElement("div", {
|
|
58221
58278
|
"class": "col-lg-12 p-0 mt-2 mt-md-1 d-flex align-items-center justify-content-start"
|
|
58222
58279
|
}, sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
58223
58280
|
"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 ',
|
|
@@ -58231,66 +58288,66 @@ var Footer8 = function Footer8(props) {
|
|
|
58231
58288
|
}
|
|
58232
58289
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), /*#__PURE__*/React.createElement("div", {
|
|
58233
58290
|
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-start mt-3'
|
|
58234
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58291
|
+
}, 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.createElement("div", {
|
|
58235
58292
|
"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 ',
|
|
58236
58293
|
onClick: function onClick() {
|
|
58237
|
-
var _authdetailsContext$
|
|
58238
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58239
|
-
var _authdetailsContext$
|
|
58240
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58294
|
+
var _authdetailsContext$i19;
|
|
58295
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.facebooklink) != null) {
|
|
58296
|
+
var _authdetailsContext$i20;
|
|
58297
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.facebooklink, '_blank');
|
|
58241
58298
|
}
|
|
58242
58299
|
}
|
|
58243
58300
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
58244
58301
|
size: sectionproperties.facebkbtnniconfontsize
|
|
58245
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58302
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instid) == '69f78b2c4fb01' && /*#__PURE__*/React.createElement("div", {
|
|
58246
58303
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mx-2 ',
|
|
58247
58304
|
onClick: function onClick() {
|
|
58248
58305
|
window.open('https://www.facebook.com/share/18tggHCByS', '_blank');
|
|
58249
58306
|
}
|
|
58250
58307
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
58251
58308
|
size: sectionproperties.facebkbtnniconfontsize
|
|
58252
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58309
|
+
})), 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.createElement("div", {
|
|
58253
58310
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58254
58311
|
onClick: function onClick() {
|
|
58255
|
-
var _authdetailsContext$
|
|
58256
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58257
|
-
var _authdetailsContext$
|
|
58258
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58312
|
+
var _authdetailsContext$i23;
|
|
58313
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.instagramlink) != null) {
|
|
58314
|
+
var _authdetailsContext$i24;
|
|
58315
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.instagramlink, '_blank');
|
|
58259
58316
|
}
|
|
58260
58317
|
}
|
|
58261
58318
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
58262
58319
|
size: sectionproperties.instgrambtniconfontsize
|
|
58263
|
-
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58320
|
+
})), 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.createElement("div", {
|
|
58264
58321
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58265
58322
|
onClick: function onClick() {
|
|
58266
|
-
var _authdetailsContext$
|
|
58267
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58268
|
-
var _authdetailsContext$
|
|
58269
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58323
|
+
var _authdetailsContext$i26;
|
|
58324
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.whatsappnumber) != null) {
|
|
58325
|
+
var _authdetailsContext$i27;
|
|
58326
|
+
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');
|
|
58270
58327
|
}
|
|
58271
58328
|
}
|
|
58272
58329
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
58273
58330
|
size: sectionproperties.youtubebtniconfontsize
|
|
58274
|
-
})), sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58331
|
+
})), 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.createElement("div", {
|
|
58275
58332
|
"class": "".concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center mx-2'
|
|
58276
58333
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
58277
58334
|
,
|
|
58278
58335
|
onClick: function onClick() {
|
|
58279
|
-
var _authdetailsContext$
|
|
58280
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58281
|
-
var _authdetailsContext$
|
|
58282
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58336
|
+
var _authdetailsContext$i29;
|
|
58337
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.tiktoklink) != null) {
|
|
58338
|
+
var _authdetailsContext$i30;
|
|
58339
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.tiktoklink, '_blank');
|
|
58283
58340
|
}
|
|
58284
58341
|
}
|
|
58285
58342
|
}, /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
58286
58343
|
size: sectionproperties.tiktokbtniconfontsize
|
|
58287
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58344
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.youtubelink) != null && /*#__PURE__*/React.createElement("div", {
|
|
58288
58345
|
"class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58289
58346
|
onClick: function onClick() {
|
|
58290
|
-
var _authdetailsContext$
|
|
58291
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58292
|
-
var _authdetailsContext$
|
|
58293
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58347
|
+
var _authdetailsContext$i32;
|
|
58348
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.youtubelink) != null) {
|
|
58349
|
+
var _authdetailsContext$i33;
|
|
58350
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.youtubelink, '_blank');
|
|
58294
58351
|
}
|
|
58295
58352
|
}
|
|
58296
58353
|
}, /*#__PURE__*/React.createElement(AiFillYoutube$1, {
|
|
@@ -58316,13 +58373,13 @@ var Footer8 = function Footer8(props) {
|
|
|
58316
58373
|
}
|
|
58317
58374
|
}, langdetect == 'en' ? 'Follow Us' : 'تابعنا')), /*#__PURE__*/React.createElement("div", {
|
|
58318
58375
|
"class": "col-lg-12 text-start px-5 flex-column"
|
|
58319
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58376
|
+
}, 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.createElement("div", {
|
|
58320
58377
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
58321
58378
|
onClick: function onClick() {
|
|
58322
|
-
var _authdetailsContext$
|
|
58323
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58324
|
-
var _authdetailsContext$
|
|
58325
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58379
|
+
var _authdetailsContext$i35;
|
|
58380
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.facebooklink) != null) {
|
|
58381
|
+
var _authdetailsContext$i36;
|
|
58382
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.facebooklink, '_blank');
|
|
58326
58383
|
}
|
|
58327
58384
|
},
|
|
58328
58385
|
style: {
|
|
@@ -58333,13 +58390,13 @@ var Footer8 = function Footer8(props) {
|
|
|
58333
58390
|
fontWeight: 500,
|
|
58334
58391
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58335
58392
|
}
|
|
58336
|
-
}, "Facebook"), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58393
|
+
}, "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.createElement("div", {
|
|
58337
58394
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
58338
58395
|
onClick: function onClick() {
|
|
58339
|
-
var _authdetailsContext$
|
|
58340
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58341
|
-
var _authdetailsContext$
|
|
58342
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58396
|
+
var _authdetailsContext$i38;
|
|
58397
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.instagramlink) != null) {
|
|
58398
|
+
var _authdetailsContext$i39;
|
|
58399
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.instagramlink, '_blank');
|
|
58343
58400
|
}
|
|
58344
58401
|
},
|
|
58345
58402
|
style: {
|
|
@@ -58350,13 +58407,13 @@ var Footer8 = function Footer8(props) {
|
|
|
58350
58407
|
fontWeight: 500,
|
|
58351
58408
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58352
58409
|
}
|
|
58353
|
-
}, "Instagram"), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58410
|
+
}, "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.createElement("div", {
|
|
58354
58411
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
58355
58412
|
onClick: function onClick() {
|
|
58356
|
-
var _authdetailsContext$
|
|
58357
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58358
|
-
var _authdetailsContext$
|
|
58359
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58413
|
+
var _authdetailsContext$i41;
|
|
58414
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.whatsappnumber) != null) {
|
|
58415
|
+
var _authdetailsContext$i42;
|
|
58416
|
+
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');
|
|
58360
58417
|
}
|
|
58361
58418
|
},
|
|
58362
58419
|
style: {
|
|
@@ -58367,15 +58424,15 @@ var Footer8 = function Footer8(props) {
|
|
|
58367
58424
|
fontWeight: 500,
|
|
58368
58425
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58369
58426
|
}
|
|
58370
|
-
}, "WhatsApp"), sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58427
|
+
}, "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.createElement("div", {
|
|
58371
58428
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start '
|
|
58372
58429
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
58373
58430
|
,
|
|
58374
58431
|
onClick: function onClick() {
|
|
58375
|
-
var _authdetailsContext$
|
|
58376
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58377
|
-
var _authdetailsContext$
|
|
58378
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58432
|
+
var _authdetailsContext$i44;
|
|
58433
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.tiktoklink) != null) {
|
|
58434
|
+
var _authdetailsContext$i45;
|
|
58435
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.tiktoklink, '_blank');
|
|
58379
58436
|
}
|
|
58380
58437
|
},
|
|
58381
58438
|
style: {
|
|
@@ -58386,7 +58443,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58386
58443
|
fontWeight: 500,
|
|
58387
58444
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58388
58445
|
}
|
|
58389
|
-
}, "Tiktok"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58446
|
+
}, "Tiktok"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.linkedinlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
58390
58447
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
58391
58448
|
style: {
|
|
58392
58449
|
width: 'auto',
|
|
@@ -58399,10 +58456,10 @@ var Footer8 = function Footer8(props) {
|
|
|
58399
58456
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
58400
58457
|
,
|
|
58401
58458
|
onClick: function onClick() {
|
|
58402
|
-
var _authdetailsContext$
|
|
58403
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58404
|
-
var _authdetailsContext$
|
|
58405
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58459
|
+
var _authdetailsContext$i47;
|
|
58460
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.tiktoklink) != null) {
|
|
58461
|
+
var _authdetailsContext$i48;
|
|
58462
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.linkedinlink, '_blank');
|
|
58406
58463
|
}
|
|
58407
58464
|
}
|
|
58408
58465
|
}, "LinkedIn")))), /*#__PURE__*/React.createElement("div", {
|
|
@@ -58419,7 +58476,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58419
58476
|
color: sectionproperties.prodCatColor,
|
|
58420
58477
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58421
58478
|
}
|
|
58422
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58479
|
+
}, 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.createElement("div", {
|
|
58423
58480
|
"class": 'col-lg-6 col-md-12 col-sm-12 mb-md-3 p-sm-0'
|
|
58424
58481
|
}, /*#__PURE__*/React.createElement("div", {
|
|
58425
58482
|
"class": "row m-0 w-100"
|
|
@@ -58431,8 +58488,8 @@ var Footer8 = function Footer8(props) {
|
|
|
58431
58488
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58432
58489
|
},
|
|
58433
58490
|
onClick: function onClick() {
|
|
58434
|
-
var _authdetailsContext$
|
|
58435
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58491
|
+
var _authdetailsContext$i51;
|
|
58492
|
+
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');
|
|
58436
58493
|
}
|
|
58437
58494
|
}, langdetect == 'en' ? 'T: ' : 'الهاتف: ', " ", authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), /*#__PURE__*/React.createElement("div", {
|
|
58438
58495
|
"class": "col-lg-12 p-0"
|
|
@@ -58444,7 +58501,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58444
58501
|
onClick: function onClick() {
|
|
58445
58502
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
58446
58503
|
}
|
|
58447
|
-
}, langdetect == 'en' ? 'E: ' : 'الايميل: ', " ", authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58504
|
+
}, 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.createElement("div", {
|
|
58448
58505
|
"class": "row m-0 allcentered"
|
|
58449
58506
|
}, /*#__PURE__*/React.createElement("div", {
|
|
58450
58507
|
"class": "".concat(footerStyles.divider) + ' '
|
|
@@ -58634,7 +58691,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58634
58691
|
"class": "allcentered"
|
|
58635
58692
|
}, /*#__PURE__*/React.createElement(FiUser, {
|
|
58636
58693
|
size: 18
|
|
58637
|
-
})), langdetect == 'en' ? 'Account' : 'حسابي'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58694
|
+
})), 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.createElement("div", {
|
|
58638
58695
|
"class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 '
|
|
58639
58696
|
}, /*#__PURE__*/React.createElement("div", {
|
|
58640
58697
|
"class": "row m-0 w-100 px-1025-1 pb-3 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3",
|
|
@@ -58652,7 +58709,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58652
58709
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
58653
58710
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
58654
58711
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
58655
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$
|
|
58712
|
+
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,
|
|
58656
58713
|
style: {
|
|
58657
58714
|
width: '100%',
|
|
58658
58715
|
height: '100%',
|
|
@@ -58694,7 +58751,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58694
58751
|
marginBottom: 0,
|
|
58695
58752
|
fontWeight: 500
|
|
58696
58753
|
}
|
|
58697
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58754
|
+
}, 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.createElement("div", {
|
|
58698
58755
|
"class": "col-lg-12 p-0 text-start"
|
|
58699
58756
|
}, /*#__PURE__*/React.createElement("p", {
|
|
58700
58757
|
"class": "".concat(footerStyles.iconTextStyle),
|
|
@@ -58842,8 +58899,8 @@ var Footer8 = function Footer8(props) {
|
|
|
58842
58899
|
}, /*#__PURE__*/React.createElement("p", {
|
|
58843
58900
|
"class": "".concat(footerStyles.iconTextStyle) + ' cursor-pointer ',
|
|
58844
58901
|
onClick: function onClick() {
|
|
58845
|
-
var _authdetailsContext$
|
|
58846
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58902
|
+
var _authdetailsContext$i56;
|
|
58903
|
+
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');
|
|
58847
58904
|
}
|
|
58848
58905
|
}, "contact@advisor-firm.com")), /*#__PURE__*/React.createElement("div", {
|
|
58849
58906
|
"class": "col-lg-12 p-0 allcentered",
|
|
@@ -58879,61 +58936,61 @@ var Footer8 = function Footer8(props) {
|
|
|
58879
58936
|
"class": "row m-0 w-100"
|
|
58880
58937
|
}, /*#__PURE__*/React.createElement("div", {
|
|
58881
58938
|
className: "col-lg-12 p-0 d-flex flex-row"
|
|
58882
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58939
|
+
}, 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.createElement("div", {
|
|
58883
58940
|
"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 ',
|
|
58884
58941
|
onClick: function onClick() {
|
|
58885
|
-
var _authdetailsContext$
|
|
58886
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58887
|
-
var _authdetailsContext$
|
|
58888
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58942
|
+
var _authdetailsContext$i58;
|
|
58943
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.facebooklink) != null) {
|
|
58944
|
+
var _authdetailsContext$i59;
|
|
58945
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.facebooklink, '_blank');
|
|
58889
58946
|
}
|
|
58890
58947
|
}
|
|
58891
58948
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
58892
58949
|
size: sectionproperties.facebkbtnniconfontsize
|
|
58893
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58950
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.linkedinlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
58894
58951
|
"class": "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.linkedinbtn) + ' d-flex align-items-center justify-content-center ml-2 mr-2',
|
|
58895
58952
|
onClick: function onClick() {
|
|
58896
|
-
var _authdetailsContext$
|
|
58897
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58898
|
-
var _authdetailsContext$
|
|
58899
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58953
|
+
var _authdetailsContext$i61;
|
|
58954
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.linkedinlink) != null) {
|
|
58955
|
+
var _authdetailsContext$i62;
|
|
58956
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.linkedinlink, '_blank');
|
|
58900
58957
|
}
|
|
58901
58958
|
}
|
|
58902
58959
|
}, /*#__PURE__*/React.createElement(FaLinkedinIn, {
|
|
58903
58960
|
size: sectionproperties.linkedinbtniconfontsize
|
|
58904
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58961
|
+
})), 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.createElement("div", {
|
|
58905
58962
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58906
58963
|
onClick: function onClick() {
|
|
58907
|
-
var _authdetailsContext$
|
|
58908
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58909
|
-
var _authdetailsContext$
|
|
58910
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58964
|
+
var _authdetailsContext$i64;
|
|
58965
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.instagramlink) != null) {
|
|
58966
|
+
var _authdetailsContext$i65;
|
|
58967
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.instagramlink, '_blank');
|
|
58911
58968
|
}
|
|
58912
58969
|
}
|
|
58913
58970
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
58914
58971
|
size: sectionproperties.instgrambtniconfontsize
|
|
58915
58972
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
58916
58973
|
className: "col-lg-12 p-0 d-flex flex-row mt-3"
|
|
58917
|
-
}, sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58974
|
+
}, 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.createElement("div", {
|
|
58918
58975
|
"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'
|
|
58919
58976
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
58920
58977
|
,
|
|
58921
58978
|
onClick: function onClick() {
|
|
58922
|
-
var _authdetailsContext$
|
|
58923
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58924
|
-
var _authdetailsContext$
|
|
58925
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58979
|
+
var _authdetailsContext$i67;
|
|
58980
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.tiktoklink) != null) {
|
|
58981
|
+
var _authdetailsContext$i68;
|
|
58982
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i68 = authdetailsContext.instinfo) === null || _authdetailsContext$i68 === void 0 ? void 0 : _authdetailsContext$i68.tiktoklink, '_blank');
|
|
58926
58983
|
}
|
|
58927
58984
|
}
|
|
58928
58985
|
}, /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
58929
58986
|
size: sectionproperties.tiktokbtniconfontsize
|
|
58930
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58987
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i69 = authdetailsContext.instinfo) === null || _authdetailsContext$i69 === void 0 ? void 0 : _authdetailsContext$i69.youtubelink) != null && /*#__PURE__*/React.createElement("div", {
|
|
58931
58988
|
"class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58932
58989
|
onClick: function onClick() {
|
|
58933
|
-
var _authdetailsContext$
|
|
58934
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58935
|
-
var _authdetailsContext$
|
|
58936
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58990
|
+
var _authdetailsContext$i70;
|
|
58991
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.youtubelink) != null) {
|
|
58992
|
+
var _authdetailsContext$i71;
|
|
58993
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.youtubelink, '_blank');
|
|
58937
58994
|
}
|
|
58938
58995
|
}
|
|
58939
58996
|
}, /*#__PURE__*/React.createElement(AiFillYoutube$1, {
|
|
@@ -58996,7 +59053,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58996
59053
|
style: {
|
|
58997
59054
|
color: '#818181'
|
|
58998
59055
|
}
|
|
58999
|
-
}, "\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$
|
|
59056
|
+
}, "\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.createElement("div", {
|
|
59000
59057
|
"class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 '
|
|
59001
59058
|
}, /*#__PURE__*/React.createElement("div", {
|
|
59002
59059
|
"class": "row m-0 w-100 px-1025-1 pb-3 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3",
|
|
@@ -59018,7 +59075,7 @@ var Footer8 = function Footer8(props) {
|
|
|
59018
59075
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
59019
59076
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
59020
59077
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
59021
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$
|
|
59078
|
+
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,
|
|
59022
59079
|
style: {
|
|
59023
59080
|
width: '100%',
|
|
59024
59081
|
height: '100%',
|
|
@@ -59216,8 +59273,8 @@ var Footer8 = function Footer8(props) {
|
|
|
59216
59273
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), /*#__PURE__*/React.createElement("div", {
|
|
59217
59274
|
"class": "".concat(footerStyles.iconTextStylepagename) + ' col-lg-12 p-0 d-flex flex-row mt-3 align-items-center ',
|
|
59218
59275
|
onClick: function onClick() {
|
|
59219
|
-
var _authdetailsContext$
|
|
59220
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59276
|
+
var _authdetailsContext$i73;
|
|
59277
|
+
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');
|
|
59221
59278
|
}
|
|
59222
59279
|
}, /*#__PURE__*/React.createElement("i", {
|
|
59223
59280
|
"class": ' fa fa-at mr-2 ml-2 '
|
|
@@ -59226,7 +59283,7 @@ var Footer8 = function Footer8(props) {
|
|
|
59226
59283
|
style: {
|
|
59227
59284
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59228
59285
|
}
|
|
59229
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59286
|
+
}, 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.createElement("div", {
|
|
59230
59287
|
"class": "col-lg-12 p-0 text-start mb-2 mt-1"
|
|
59231
59288
|
}, /*#__PURE__*/React.createElement("p", {
|
|
59232
59289
|
"class": "".concat(footerStyles.textStyles)
|
|
@@ -59236,69 +59293,69 @@ var Footer8 = function Footer8(props) {
|
|
|
59236
59293
|
"class": "row m-0 w-100"
|
|
59237
59294
|
}, /*#__PURE__*/React.createElement("div", {
|
|
59238
59295
|
className: "col-lg-12 p-0 d-flex flex-row"
|
|
59239
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59296
|
+
}, 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.createElement("div", {
|
|
59240
59297
|
"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 ',
|
|
59241
59298
|
onClick: function onClick() {
|
|
59242
|
-
var _authdetailsContext$
|
|
59243
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59244
|
-
var _authdetailsContext$
|
|
59245
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59299
|
+
var _authdetailsContext$i76;
|
|
59300
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i76 = authdetailsContext.instinfo) === null || _authdetailsContext$i76 === void 0 ? void 0 : _authdetailsContext$i76.facebooklink) != null) {
|
|
59301
|
+
var _authdetailsContext$i77;
|
|
59302
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i77 = authdetailsContext.instinfo) === null || _authdetailsContext$i77 === void 0 ? void 0 : _authdetailsContext$i77.facebooklink, '_blank');
|
|
59246
59303
|
}
|
|
59247
59304
|
}
|
|
59248
59305
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
59249
59306
|
size: sectionproperties.facebkbtnniconfontsize
|
|
59250
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59307
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i78 = authdetailsContext.instinfo) === null || _authdetailsContext$i78 === void 0 ? void 0 : _authdetailsContext$i78.linkedinlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
59251
59308
|
"class": "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.linkedinbtn) + ' d-flex align-items-center justify-content-center ml-2 mr-2'
|
|
59252
59309
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
59253
59310
|
,
|
|
59254
59311
|
onClick: function onClick() {
|
|
59255
|
-
var _authdetailsContext$
|
|
59256
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59257
|
-
var _authdetailsContext$
|
|
59258
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59312
|
+
var _authdetailsContext$i79;
|
|
59313
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i79 = authdetailsContext.instinfo) === null || _authdetailsContext$i79 === void 0 ? void 0 : _authdetailsContext$i79.linkedinlink) != null) {
|
|
59314
|
+
var _authdetailsContext$i80;
|
|
59315
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i80 = authdetailsContext.instinfo) === null || _authdetailsContext$i80 === void 0 ? void 0 : _authdetailsContext$i80.linkedinlink, '_blank');
|
|
59259
59316
|
}
|
|
59260
59317
|
}
|
|
59261
59318
|
}, /*#__PURE__*/React.createElement(FaLinkedinIn, {
|
|
59262
59319
|
size: sectionproperties.instgrambtniconfontsize
|
|
59263
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59320
|
+
})), 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.createElement("div", {
|
|
59264
59321
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
59265
59322
|
onClick: function onClick() {
|
|
59266
|
-
var _authdetailsContext$
|
|
59267
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59268
|
-
var _authdetailsContext$
|
|
59269
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59323
|
+
var _authdetailsContext$i82;
|
|
59324
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i82 = authdetailsContext.instinfo) === null || _authdetailsContext$i82 === void 0 ? void 0 : _authdetailsContext$i82.instagramlink) != null) {
|
|
59325
|
+
var _authdetailsContext$i83;
|
|
59326
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i83 = authdetailsContext.instinfo) === null || _authdetailsContext$i83 === void 0 ? void 0 : _authdetailsContext$i83.instagramlink, '_blank');
|
|
59270
59327
|
}
|
|
59271
59328
|
}
|
|
59272
59329
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
59273
59330
|
size: sectionproperties.instgrambtniconfontsize
|
|
59274
59331
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
59275
59332
|
className: "col-lg-12 p-0 d-flex flex-row mt-3"
|
|
59276
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59333
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i84 = authdetailsContext.instinfo) === null || _authdetailsContext$i84 === void 0 ? void 0 : _authdetailsContext$i84.youtubelink) != null && /*#__PURE__*/React.createElement("div", {
|
|
59277
59334
|
"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',
|
|
59278
59335
|
onClick: function onClick() {
|
|
59279
|
-
var _authdetailsContext$
|
|
59280
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59281
|
-
var _authdetailsContext$
|
|
59282
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59336
|
+
var _authdetailsContext$i85;
|
|
59337
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i85 = authdetailsContext.instinfo) === null || _authdetailsContext$i85 === void 0 ? void 0 : _authdetailsContext$i85.youtubelink) != null) {
|
|
59338
|
+
var _authdetailsContext$i86;
|
|
59339
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i86 = authdetailsContext.instinfo) === null || _authdetailsContext$i86 === void 0 ? void 0 : _authdetailsContext$i86.youtubelink, '_blank');
|
|
59283
59340
|
}
|
|
59284
59341
|
}
|
|
59285
59342
|
}, /*#__PURE__*/React.createElement(AiFillYoutube$1, {
|
|
59286
59343
|
size: sectionproperties.youtubebtniconfontsize
|
|
59287
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59344
|
+
})), (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.createElement("div", {
|
|
59288
59345
|
"class": "".concat(footerStyles.mailbtn) + ' d-flex align-items-center justify-content-center mr-2 ml-2',
|
|
59289
59346
|
onClick: function onClick() {
|
|
59290
|
-
var _authdetailsContext$
|
|
59291
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59347
|
+
var _authdetailsContext$i88;
|
|
59348
|
+
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');
|
|
59292
59349
|
}
|
|
59293
59350
|
}, /*#__PURE__*/React.createElement(AiOutlineMail, {
|
|
59294
59351
|
size: sectionproperties.youtubebtniconfontsize
|
|
59295
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59352
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i89 = authdetailsContext.instinfo) === null || _authdetailsContext$i89 === void 0 ? void 0 : _authdetailsContext$i89.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
59296
59353
|
"class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
59297
59354
|
onClick: function onClick() {
|
|
59298
|
-
var _authdetailsContext$
|
|
59299
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59300
|
-
var _authdetailsContext$
|
|
59301
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59355
|
+
var _authdetailsContext$i90;
|
|
59356
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i90 = authdetailsContext.instinfo) === null || _authdetailsContext$i90 === void 0 ? void 0 : _authdetailsContext$i90.whatsappnumber) != null) {
|
|
59357
|
+
var _authdetailsContext$i91;
|
|
59358
|
+
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');
|
|
59302
59359
|
}
|
|
59303
59360
|
}
|
|
59304
59361
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|