tabexseriescomponents 0.2.1053 → 0.2.1055
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 +351 -29
- package/dist/index.esm.js +351 -29
- package/dist/index.umd.js +351 -29
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4608,7 +4608,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4608
4608
|
};
|
|
4609
4609
|
|
|
4610
4610
|
var Service_itemtype = function Service_itemtype(props) {
|
|
4611
|
-
var _css, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$
|
|
4611
|
+
var _css, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i5, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _authdetailsContext$i6, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _authdetailsContext$i7, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _authdetailsContext$i8, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _sizeguideimage$;
|
|
4612
4612
|
var lang = props.actions.lang;
|
|
4613
4613
|
var langdetect = props.actions.langdetect;
|
|
4614
4614
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -4648,6 +4648,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4648
4648
|
opensizeguidemodal = _useState8[0],
|
|
4649
4649
|
setopensizeguidemodal = _useState8[1];
|
|
4650
4650
|
var sizeguideimage = props.actions.sizeguideimage;
|
|
4651
|
+
props.actions.selectproductoptionvalue;
|
|
4652
|
+
props.actions.clearchoosenvaluesbutkeepcurrentvalue;
|
|
4651
4653
|
React.useEffect(function () {
|
|
4652
4654
|
var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
|
|
4653
4655
|
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
|
|
@@ -4727,7 +4729,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4727
4729
|
};
|
|
4728
4730
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4729
4731
|
"class": ' col-lg-12 p-0 '
|
|
4730
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid) != '
|
|
4732
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid) != '690a1090c2e9c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) != '68b59be871aaf' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) != '68d9461ed6822' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instid) != '68c160414c162' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4731
4733
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
4732
4734
|
style: {
|
|
4733
4735
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -5446,7 +5448,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5446
5448
|
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
5447
5449
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
5448
5450
|
}
|
|
5449
|
-
}, StoreInfoprops()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5451
|
+
}, StoreInfoprops()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) == '68d9461ed6822' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5450
5452
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
5451
5453
|
style: {
|
|
5452
5454
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -5588,7 +5590,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5588
5590
|
addtofavoritescontext: addtofavoritescontext,
|
|
5589
5591
|
srcfrom: 'col-3'
|
|
5590
5592
|
}
|
|
5591
|
-
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5593
|
+
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '68b59be871aaf' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5592
5594
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
5593
5595
|
style: {
|
|
5594
5596
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -5683,7 +5685,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5683
5685
|
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
5684
5686
|
addtofavoritescontext: addtofavoritescontext
|
|
5685
5687
|
}
|
|
5686
|
-
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5688
|
+
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) == '68c160414c162' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5687
5689
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
5688
5690
|
style: {
|
|
5689
5691
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -5820,6 +5822,143 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5820
5822
|
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
5821
5823
|
addtofavoritescontext: addtofavoritescontext
|
|
5822
5824
|
}
|
|
5825
|
+
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '690a1090c2e9c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5826
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
5827
|
+
style: {
|
|
5828
|
+
minHeight: sectionproperties.height + 'vh',
|
|
5829
|
+
paddingLeft: '60px',
|
|
5830
|
+
paddingRight: '60px',
|
|
5831
|
+
paddingTop: '60px'
|
|
5832
|
+
}
|
|
5833
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5834
|
+
"class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5'
|
|
5835
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5836
|
+
"class": 'row m-0 w-100'
|
|
5837
|
+
}, (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 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productimages) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.length) != 0 && (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.productimages.map(function (item, index) {
|
|
5838
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5839
|
+
"class": "col-lg-3 col-md-4 col-md-6 mb-md-2"
|
|
5840
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5841
|
+
"class": ' w-100 h-100',
|
|
5842
|
+
style: {}
|
|
5843
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
5844
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
5845
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
5846
|
+
path: '/tr:w-500,h-500/' + item.path,
|
|
5847
|
+
style: {
|
|
5848
|
+
width: '100%',
|
|
5849
|
+
height: '100%',
|
|
5850
|
+
objectFit: 'contain',
|
|
5851
|
+
borderRadius: 20
|
|
5852
|
+
},
|
|
5853
|
+
loading: "lazy"
|
|
5854
|
+
})));
|
|
5855
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5856
|
+
"class": "col-lg-8"
|
|
5857
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5858
|
+
"class": "row m-0 w-100",
|
|
5859
|
+
style: {
|
|
5860
|
+
paddingRight: langdetect == 'en' ? 70 : 0,
|
|
5861
|
+
paddingLeft: langdetect == 'ar' ? 70 : 0
|
|
5862
|
+
}
|
|
5863
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5864
|
+
"class": "col-lg-12 p-0 text-start mb-2"
|
|
5865
|
+
}, ProductName()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5866
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
5867
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5868
|
+
className: 'm-0 p-0 wordbreak',
|
|
5869
|
+
style: {
|
|
5870
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
5871
|
+
color: sectionproperties.prodCatColor
|
|
5872
|
+
},
|
|
5873
|
+
dangerouslySetInnerHTML: {
|
|
5874
|
+
__html: langdetect == 'en' ? 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.short_description_en : 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.short_description_ar
|
|
5875
|
+
}
|
|
5876
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5877
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
5878
|
+
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
5879
|
+
actions: props.actions,
|
|
5880
|
+
srcfromprops: 'servicestyle2'
|
|
5881
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5882
|
+
"class": "col-lg-12 text-start p-md-0"
|
|
5883
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5884
|
+
className: "row m-0 w-100"
|
|
5885
|
+
}, 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 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productfeatures) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.map(function (fitem, findex) {
|
|
5886
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5887
|
+
"class": "col-lg-12 col-md-12 p-0 mb-3 mt-2"
|
|
5888
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5889
|
+
"class": "row m-0 w-100 text-start"
|
|
5890
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5891
|
+
"class": "col-lg-12 text-start mb-3 text-uppercase p-0"
|
|
5892
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5893
|
+
style: {
|
|
5894
|
+
width: '30px'
|
|
5895
|
+
},
|
|
5896
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
5897
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
5898
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
5899
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
5900
|
+
path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
|
|
5901
|
+
loading: "lazy",
|
|
5902
|
+
style: {
|
|
5903
|
+
maxWidth: '100%',
|
|
5904
|
+
maxHeight: '100%'
|
|
5905
|
+
}
|
|
5906
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5907
|
+
"class": "m-0 p-0",
|
|
5908
|
+
style: {
|
|
5909
|
+
color: sectionproperties.featurecolor,
|
|
5910
|
+
fontWeight: sectionproperties.featurefontweight,
|
|
5911
|
+
fontSize: sectionproperties.featurefontsize
|
|
5912
|
+
}
|
|
5913
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5914
|
+
"class": "col-lg-12 text-start text-capitalize"
|
|
5915
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5916
|
+
"class": "m-0 p-0",
|
|
5917
|
+
style: {
|
|
5918
|
+
color: sectionproperties.featurevaluecolor,
|
|
5919
|
+
fontWeight: sectionproperties.featurevaluefontweight,
|
|
5920
|
+
fontSize: sectionproperties.featurevaluefontsize
|
|
5921
|
+
}
|
|
5922
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
5923
|
+
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5924
|
+
"class": "col-lg-4"
|
|
5925
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5926
|
+
"class": "row m-0 w-100 p-3",
|
|
5927
|
+
style: {
|
|
5928
|
+
background: 'white',
|
|
5929
|
+
borderRadius: 10,
|
|
5930
|
+
boxShadow: '0 0 10px #ccc'
|
|
5931
|
+
}
|
|
5932
|
+
}, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
5933
|
+
actions: props.actions,
|
|
5934
|
+
srcfromprops: 'servicestyle2'
|
|
5935
|
+
}), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5936
|
+
"class": "col-12 p-0"
|
|
5937
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
|
|
5938
|
+
actions: props.actions
|
|
5939
|
+
}), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
|
|
5940
|
+
actions: props.actions,
|
|
5941
|
+
srcfromprops: 'servicestyle2',
|
|
5942
|
+
addtocartfunc: addtocartfunc
|
|
5943
|
+
}), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
|
|
5944
|
+
actions: {
|
|
5945
|
+
fetchProductInfoQueryContext: fetchProductInfoQueryContext,
|
|
5946
|
+
sectionproperties: sectionproperties,
|
|
5947
|
+
lang: lang,
|
|
5948
|
+
langdetect: langdetect,
|
|
5949
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
5950
|
+
AddtoCartMutationContext: AddtoCartMutationContext,
|
|
5951
|
+
GeneralAPIMutationContext: GeneralAPIMutationContext,
|
|
5952
|
+
addtocardpayloadobj: addtocardpayloadobj,
|
|
5953
|
+
setaddtocardpayloadobj: setaddtocardpayloadobj,
|
|
5954
|
+
NotificationManager: NotificationManager,
|
|
5955
|
+
addtocartfunc: addtocartfunc,
|
|
5956
|
+
getprice_discountpriceprops: getprice_discountpriceprops,
|
|
5957
|
+
authdetailsContext: authdetailsContext,
|
|
5958
|
+
routingcountext: routingcountext,
|
|
5959
|
+
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
5960
|
+
addtofavoritescontext: addtofavoritescontext
|
|
5961
|
+
}
|
|
5823
5962
|
})))), sizeguideimage.length != 0 && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
5824
5963
|
show: opensizeguidemodal,
|
|
5825
5964
|
onHide: function onHide() {
|
|
@@ -16198,7 +16337,8 @@ var CartSlider = function CartSlider(props) {
|
|
|
16198
16337
|
style: {
|
|
16199
16338
|
fontWeight: sectionproperties.noprod_fontWeight,
|
|
16200
16339
|
color: sectionproperties.noprod_color,
|
|
16201
|
-
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
16340
|
+
fontSize: sectionproperties.noprod_fontSize + 'px',
|
|
16341
|
+
textAlign: 'center'
|
|
16202
16342
|
}
|
|
16203
16343
|
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
16204
16344
|
className: "".concat(cart_cssstyles.shopbuttonstyles) + ' mt-4 d-flex align-items-center justify-content-center ',
|
|
@@ -32429,7 +32569,7 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
32429
32569
|
function ownKeys$1_(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
32430
32570
|
function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32431
32571
|
var Simpleheader = function Simpleheader(props) {
|
|
32432
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _header_cssstyles, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$
|
|
32572
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _header_cssstyles, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i14, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$c, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
32433
32573
|
var actions = props.actions;
|
|
32434
32574
|
var _useState = React.useState(''),
|
|
32435
32575
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -32903,8 +33043,187 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
32903
33043
|
// activepagecolor
|
|
32904
33044
|
// actibepagebgcolor
|
|
32905
33045
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
32906
|
-
var _authdetailsContext$i6, _authdetailsContext$i7;
|
|
32907
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '
|
|
33046
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
|
|
33047
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '6901f2154edb4') {
|
|
33048
|
+
if (item.pagename != 'Boutique Banquet' && item.pagename != 'Restaurant' && item.pagename != 'Events') {
|
|
33049
|
+
if (window.location.pathname == '/' + item.navigationroute) {
|
|
33050
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33051
|
+
"class": 'cursor-pointer',
|
|
33052
|
+
onClick: function onClick() {
|
|
33053
|
+
routingcountext(item.navigationroute, false, '');
|
|
33054
|
+
}
|
|
33055
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33056
|
+
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 ',
|
|
33057
|
+
style: {
|
|
33058
|
+
color: sectionproperties.activepagecolor
|
|
33059
|
+
}
|
|
33060
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
33061
|
+
} else {
|
|
33062
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33063
|
+
"class": 'cursor-pointer',
|
|
33064
|
+
onClick: function onClick() {
|
|
33065
|
+
routingcountext(item.navigationroute, false, '');
|
|
33066
|
+
}
|
|
33067
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33068
|
+
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
|
|
33069
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
33070
|
+
}
|
|
33071
|
+
} else if (item.pagename == 'Boutique Banquet') {
|
|
33072
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33073
|
+
"class": 'cursor-pointer dropdownoutersecuritykey',
|
|
33074
|
+
onMouseEnter: function onMouseEnter() {
|
|
33075
|
+
setisolationmenu(true);
|
|
33076
|
+
}
|
|
33077
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33078
|
+
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
|
|
33079
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar), isolationmenu == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33080
|
+
"class": "w-100"
|
|
33081
|
+
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33082
|
+
"class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100',
|
|
33083
|
+
style: {
|
|
33084
|
+
left: langdetect == 'en' ? '10%' : '',
|
|
33085
|
+
right: langdetect == 'ar' ? '10%' : ''
|
|
33086
|
+
}
|
|
33087
|
+
}, /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
33088
|
+
"class": "mt-2",
|
|
33089
|
+
sytle: {
|
|
33090
|
+
width: '200px'
|
|
33091
|
+
}
|
|
33092
|
+
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33093
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
33094
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33095
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
33096
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33097
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
33098
|
+
onClick: function onClick() {
|
|
33099
|
+
routingcountext('thegrandhall', false, '');
|
|
33100
|
+
}
|
|
33101
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33102
|
+
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
33103
|
+
}, langdetect == 'en' ? 'The Grand Hall' : 'القاعة الكبرى')))), /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33104
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
33105
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33106
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
33107
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33108
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
33109
|
+
onClick: function onClick() {
|
|
33110
|
+
routingcountext('thelounge', false, '');
|
|
33111
|
+
}
|
|
33112
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33113
|
+
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
33114
|
+
}, langdetect == 'en' ? 'The Lounge' : 'الصالة')))), /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33115
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
33116
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33117
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
33118
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33119
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
33120
|
+
onClick: function onClick() {
|
|
33121
|
+
routingcountext('thepatio', false, '');
|
|
33122
|
+
}
|
|
33123
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33124
|
+
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
33125
|
+
}, langdetect == 'en' ? 'The Patio' : 'الفناء'))))))));
|
|
33126
|
+
} else if (item.pagename == 'Restaurant') {
|
|
33127
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33128
|
+
"class": 'cursor-pointer dropdownoutersecuritykey',
|
|
33129
|
+
onMouseEnter: function onMouseEnter() {
|
|
33130
|
+
setinqmenushowabout33(true);
|
|
33131
|
+
}
|
|
33132
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33133
|
+
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
|
|
33134
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar), inqmenushowabout33 == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33135
|
+
"class": "w-100"
|
|
33136
|
+
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33137
|
+
"class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100',
|
|
33138
|
+
style: {
|
|
33139
|
+
left: langdetect == 'en' ? '10%' : '',
|
|
33140
|
+
right: langdetect == 'ar' ? '10%' : ''
|
|
33141
|
+
}
|
|
33142
|
+
}, /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
33143
|
+
"class": "mt-2",
|
|
33144
|
+
sytle: {
|
|
33145
|
+
width: '200px'
|
|
33146
|
+
}
|
|
33147
|
+
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33148
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
33149
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33150
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
33151
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33152
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
33153
|
+
onClick: function onClick() {
|
|
33154
|
+
routingcountext('lounge-patio', false, '');
|
|
33155
|
+
}
|
|
33156
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33157
|
+
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
33158
|
+
}, langdetect == 'en' ? 'Lounge & Patio' : 'الصالة والفناء')))), /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33159
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
33160
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33161
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
33162
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33163
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
33164
|
+
onClick: function onClick() {
|
|
33165
|
+
routingcountext('menu', false, '');
|
|
33166
|
+
}
|
|
33167
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33168
|
+
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
33169
|
+
}, langdetect == 'en' ? 'Menu' : 'قائمة طعام'))))))));
|
|
33170
|
+
} else if (item.pagename == 'Events') {
|
|
33171
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33172
|
+
"class": 'cursor-pointer dropdownoutersecuritykey',
|
|
33173
|
+
onMouseEnter: function onMouseEnter() {
|
|
33174
|
+
setinqmenushowabout34(true);
|
|
33175
|
+
}
|
|
33176
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33177
|
+
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
|
|
33178
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar), inqmenushowabout34 == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33179
|
+
"class": "w-100"
|
|
33180
|
+
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33181
|
+
"class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100',
|
|
33182
|
+
style: {
|
|
33183
|
+
left: langdetect == 'en' ? '10%' : '',
|
|
33184
|
+
right: langdetect == 'ar' ? '10%' : ''
|
|
33185
|
+
}
|
|
33186
|
+
}, /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
33187
|
+
"class": "mt-2",
|
|
33188
|
+
sytle: {
|
|
33189
|
+
width: '200px'
|
|
33190
|
+
}
|
|
33191
|
+
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33192
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
33193
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33194
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
33195
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33196
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
33197
|
+
onClick: function onClick() {
|
|
33198
|
+
routingcountext('weddings', false, '');
|
|
33199
|
+
}
|
|
33200
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33201
|
+
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
33202
|
+
}, langdetect == 'en' ? 'Weddings' : 'حفلات الزفاف')))), /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33203
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
33204
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33205
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
33206
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33207
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
33208
|
+
onClick: function onClick() {
|
|
33209
|
+
routingcountext('bespokemeetings', false, '');
|
|
33210
|
+
}
|
|
33211
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33212
|
+
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
33213
|
+
}, langdetect == 'en' ? 'Bespoke Meetings' : 'اجتماعات مخصصة')))), /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33214
|
+
"class": "dropdown d-flex align-items-center w-100"
|
|
33215
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33216
|
+
"class": ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '
|
|
33217
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33218
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 ',
|
|
33219
|
+
onClick: function onClick() {
|
|
33220
|
+
routingcountext('specialoccasions', false, '');
|
|
33221
|
+
}
|
|
33222
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33223
|
+
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
33224
|
+
}, langdetect == 'en' ? 'Special Occasions' : 'المناسبات الخاصة'))))))));
|
|
33225
|
+
}
|
|
33226
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) == '68cad8f75489b') {
|
|
32908
33227
|
if (item.pagename != 'Our Services' && item.pagename != 'Detectors' && item.pagename != 'Leak Detection Test') {
|
|
32909
33228
|
if (window.location.pathname == '/' + item.navigationroute) {
|
|
32910
33229
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -33400,7 +33719,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
33400
33719
|
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
33401
33720
|
}, "Vacuum Decay Test Or Pressure Rise Test"))))))));
|
|
33402
33721
|
}
|
|
33403
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33722
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '68c69dcc53e94') {
|
|
33404
33723
|
if (item.pagename != 'Services') {
|
|
33405
33724
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33406
33725
|
"class": 'cursor-pointer',
|
|
@@ -33665,21 +33984,21 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
33665
33984
|
}, "\u0639\u0632\u0644 ANTNTI"))))))));
|
|
33666
33985
|
}
|
|
33667
33986
|
} else {
|
|
33668
|
-
var _authdetailsContext$
|
|
33669
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33987
|
+
var _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
33988
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '684aa79857878') {
|
|
33670
33989
|
if (item.pagename != 'About' && item.pagename != 'Admission Policy' && item.pagename != 'Community ') {
|
|
33671
|
-
var _authdetailsContext$
|
|
33990
|
+
var _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11;
|
|
33672
33991
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33673
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33992
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) == '67b1bb900a541' ? 'cursor-pointer p-2' : 'cursor-pointer',
|
|
33674
33993
|
onClick: function onClick() {
|
|
33675
33994
|
routingcountext(item.navigationroute, false, '');
|
|
33676
33995
|
},
|
|
33677
33996
|
style: {
|
|
33678
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
33997
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '67b1bb900a541' ? window.location.pathname == '/' + item.navigationroute ? '#36322c' : 'transparent' : 'transprent',
|
|
33679
33998
|
borderRadius: 100
|
|
33680
33999
|
}
|
|
33681
34000
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33682
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
34001
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instid) == '67b1bb900a541' && window.location.pathname == '/' + item.navigationroute ? "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text, " ").concat(header_cssstyles.navbar_item_textactive) + ' p-0 mb-0 ' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '67d6bda67adf6' && window.location.pathname == '/' + item.navigationroute ? "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text, " ").concat(header_cssstyles.navbar_item_textactive) + ' p-0 mb-0 ' : "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
|
|
33683
34002
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
33684
34003
|
} else if (item.pagename == 'About') {
|
|
33685
34004
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -33880,7 +34199,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
33880
34199
|
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
33881
34200
|
}, langdetect == 'en' ? 'Google Class Room' : 'غرفة جوجل كلاس'))))))));
|
|
33882
34201
|
}
|
|
33883
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
34202
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) == '67d6bda67adf6') {
|
|
33884
34203
|
if (window.location.pathname == '/' + item.navigationroute) {
|
|
33885
34204
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33886
34205
|
"class": 'cursor-pointer p-2',
|
|
@@ -33938,7 +34257,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
33938
34257
|
"class": "".concat(headerstyles$9.link, " ").concat(header_cssstyles.navbar_item_text) + ' p-0 mb-0 '
|
|
33939
34258
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
33940
34259
|
}
|
|
33941
|
-
} else if (item.pagename == 'Our Solutions' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
34260
|
+
} else if (item.pagename == 'Our Solutions' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) == '683c55d780e0c') {
|
|
33942
34261
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33943
34262
|
"class": 'cursor-pointer dropdownoutersecuritykey',
|
|
33944
34263
|
onMouseEnter: function onMouseEnter() {
|
|
@@ -34017,7 +34336,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
34017
34336
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
34018
34337
|
}
|
|
34019
34338
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34020
|
-
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
34339
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 || (_authdetailsContext$i14 = _authdetailsContext$i14.instcurrencies) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.length) > 1 ? 'col-lg-4 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end'
|
|
34021
34340
|
}, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
34022
34341
|
"class": sectionproperties.searchbaricon_fontsize == 0 ? header_cssstyles.searchicon + ' m-0 p-0 mx-2 ' : header_cssstyles.searchicon + ' m-0 p-0 mx-1 ',
|
|
34023
34342
|
style: {
|
|
@@ -34149,7 +34468,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
34149
34468
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
34150
34469
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
34151
34470
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
34152
|
-
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
34471
|
+
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
34153
34472
|
onClick: function onClick() {
|
|
34154
34473
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
34155
34474
|
}
|
|
@@ -34205,7 +34524,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
34205
34524
|
"class": ' h-100 d-flex align-items-center '
|
|
34206
34525
|
}, /*#__PURE__*/React__default["default"].createElement(HiUserCircle.HiUserCircle, {
|
|
34207
34526
|
size: sectionproperties.userBtnTextfontsize
|
|
34208
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
34527
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instid) == '67b1bb900a541' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
34209
34528
|
className: "mx-2",
|
|
34210
34529
|
style: {
|
|
34211
34530
|
fontSize: 18
|
|
@@ -34287,7 +34606,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
34287
34606
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
34288
34607
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
34289
34608
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
34290
|
-
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
34609
|
+
}), langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) == '68248846ec6bc' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
34291
34610
|
onClick: function onClick() {
|
|
34292
34611
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
34293
34612
|
}
|
|
@@ -34427,7 +34746,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
34427
34746
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
34428
34747
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
34429
34748
|
"class": "ml-2 mr-2"
|
|
34430
|
-
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
34749
|
+
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 || (_authdetailsContext$i19 = _authdetailsContext$i19.instcurrencies) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.length) > 1 && sectionproperties.showcurrency == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34431
34750
|
"class": ' d-flex align-items-center justify-content-end '
|
|
34432
34751
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
34433
34752
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -34439,8 +34758,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
34439
34758
|
"class": header_cssstyles.currencycont + ' row m-0 w-100 d-flex align-items-center '
|
|
34440
34759
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
34441
34760
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
34442
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
34443
|
-
var _authdetailsContext$
|
|
34761
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.instcurrencies) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.map(function (item, index) {
|
|
34762
|
+
var _authdetailsContext$i21;
|
|
34444
34763
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
34445
34764
|
onClick: function onClick() {
|
|
34446
34765
|
setcurrencyfunccontext(item);
|
|
@@ -34456,7 +34775,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
34456
34775
|
style: {}
|
|
34457
34776
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
34458
34777
|
"class": 'ml-2 mr-2'
|
|
34459
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
34778
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.instcurrencies) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34460
34779
|
"class": "col-lg-12 p-0"
|
|
34461
34780
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
34462
34781
|
"class": "m-0"
|
|
@@ -71487,7 +71806,8 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
71487
71806
|
if (cardinfoitem.btntype == 'Web Product Link') {
|
|
71488
71807
|
routingcountext(cardinfoitem.btnlink, false, '');
|
|
71489
71808
|
} else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'Same Tab' && cardinfoitem.btntype != 'Web Product Link') {
|
|
71490
|
-
|
|
71809
|
+
routingcountext(cardinfoitem.btnlink, false, '');
|
|
71810
|
+
// window.open(cardinfoitem.btnlink, '_target');
|
|
71491
71811
|
} else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab' && cardinfoitem.btntype != 'Web Product Link') {
|
|
71492
71812
|
window.open(cardinfoitem.btnlink, '_blank');
|
|
71493
71813
|
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
@@ -71705,7 +72025,8 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
71705
72025
|
if (cardinfoitem.btntype == 'Web Product Link') {
|
|
71706
72026
|
routingcountext(cardinfoitem.btnlink, false, '');
|
|
71707
72027
|
} else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'Same Tab' && cardinfoitem.btntype != 'Web Product Link') {
|
|
71708
|
-
|
|
72028
|
+
routingcountext(cardinfoitem.btnlink, false, '');
|
|
72029
|
+
// window.open(cardinfoitem.btnlink, '_target');
|
|
71709
72030
|
} else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab' && cardinfoitem.btntype != 'Web Product Link') {
|
|
71710
72031
|
window.open(cardinfoitem.btnlink, '_blank');
|
|
71711
72032
|
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
@@ -71910,7 +72231,8 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
71910
72231
|
if (cardinfoitem.btntype == 'Web Product Link') {
|
|
71911
72232
|
routingcountext(cardinfoitem.btnlink, false, '');
|
|
71912
72233
|
} else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'Same Tab' && cardinfoitem.btntype != 'Web Product Link') {
|
|
71913
|
-
|
|
72234
|
+
routingcountext(cardinfoitem.btnlink, false, '');
|
|
72235
|
+
// window.open(cardinfoitem.btnlink, '_target');
|
|
71914
72236
|
} else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab' && cardinfoitem.btntype != 'Web Product Link') {
|
|
71915
72237
|
window.open(cardinfoitem.btnlink, '_blank');
|
|
71916
72238
|
} else if (sectionproperties.btntype == 'App/Web Page') {
|