tabexseriescomponents 0.2.1363 → 0.2.1365
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 +498 -52
- package/dist/index.esm.js +498 -52
- package/dist/index.umd.js +500 -56
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -94,6 +94,8 @@ import { IoBagRemoveOutline } from '@react-icons/all-files/io5/IoBagRemoveOutlin
|
|
|
94
94
|
import { useInView } from 'react-intersection-observer';
|
|
95
95
|
import { FiFilter } from '@react-icons/all-files/fi/FiFilter';
|
|
96
96
|
import { FiSliders } from '@react-icons/all-files/fi/FiSliders';
|
|
97
|
+
import { BsGridFill } from '@react-icons/all-files/bs/BsGridFill';
|
|
98
|
+
import { FaBars } from '@react-icons/all-files/fa/FaBars';
|
|
97
99
|
import { FiChevronLeft } from '@react-icons/all-files/fi/FiChevronLeft';
|
|
98
100
|
import { FiChevronRight } from '@react-icons/all-files/fi/FiChevronRight';
|
|
99
101
|
import { HiOutlineArrowRight } from '@react-icons/all-files/hi/HiOutlineArrowRight';
|
|
@@ -16359,34 +16361,9 @@ var Checkout = function Checkout(props) {
|
|
|
16359
16361
|
var is_order_extrafileds_required_fulfiled = function is_order_extrafileds_required_fulfiled() {
|
|
16360
16362
|
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
16361
16363
|
var is_fulfilled = true;
|
|
16362
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d99c87c0a20') {
|
|
16363
|
-
var _OrderExtraFieldsToBe;
|
|
16364
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d99c87c0a20' || (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '6908bb20bbca3' || (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68f5fec923609' || (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '66d6de1a1e04a') {
|
|
16364
16365
|
var OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
16365
|
-
|
|
16366
|
-
if (item.isrequired == 1 && (item.value == undefined || item.value == null || item.value.length == 0)) {
|
|
16367
|
-
is_fulfilled = false;
|
|
16368
|
-
}
|
|
16369
|
-
});
|
|
16370
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '6908bb20bbca3') {
|
|
16371
|
-
var _OrderExtraFieldsToBe2;
|
|
16372
|
-
var OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
16373
|
-
(_OrderExtraFieldsToBe2 = OrderExtraFieldsToBeSentArr) === null || _OrderExtraFieldsToBe2 === void 0 || _OrderExtraFieldsToBe2.forEach(function (item, index) {
|
|
16374
|
-
if (item.isrequired == 1 && (item.value == undefined || item.value == null || item.value.length == 0)) {
|
|
16375
|
-
is_fulfilled = false;
|
|
16376
|
-
}
|
|
16377
|
-
});
|
|
16378
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68f5fec923609') {
|
|
16379
|
-
var _OrderExtraFieldsToBe3;
|
|
16380
|
-
var OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
16381
|
-
(_OrderExtraFieldsToBe3 = OrderExtraFieldsToBeSentArr) === null || _OrderExtraFieldsToBe3 === void 0 || _OrderExtraFieldsToBe3.forEach(function (item, index) {
|
|
16382
|
-
if (item.isrequired == 1 && (item.value == undefined || item.value == null || item.value.length == 0)) {
|
|
16383
|
-
is_fulfilled = false;
|
|
16384
|
-
}
|
|
16385
|
-
});
|
|
16386
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '66d6de1a1e04a') {
|
|
16387
|
-
var _OrderExtraFieldsToBe4;
|
|
16388
|
-
var OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
16389
|
-
(_OrderExtraFieldsToBe4 = OrderExtraFieldsToBeSentArr) === null || _OrderExtraFieldsToBe4 === void 0 || _OrderExtraFieldsToBe4.forEach(function (item, index) {
|
|
16366
|
+
OrderExtraFieldsToBeSentArr === null || OrderExtraFieldsToBeSentArr === void 0 || OrderExtraFieldsToBeSentArr.forEach(function (item, index) {
|
|
16390
16367
|
if (item.isrequired == 1 && (item.value == undefined || item.value == null || item.value.length == 0)) {
|
|
16391
16368
|
is_fulfilled = false;
|
|
16392
16369
|
}
|
|
@@ -26154,22 +26131,26 @@ var CardsSection = function CardsSection(props) {
|
|
|
26154
26131
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
26155
26132
|
sectionitem = _useState8[0],
|
|
26156
26133
|
setsectionitem = _useState8[1];
|
|
26157
|
-
var _useState9 = useState(
|
|
26134
|
+
var _useState9 = useState('multi'),
|
|
26135
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
26136
|
+
cardsinglerow = _useState0[0],
|
|
26137
|
+
setcardsinglerow = _useState0[1];
|
|
26138
|
+
var _useState1 = useState({
|
|
26158
26139
|
productfetchingtype: 'Random',
|
|
26159
26140
|
collectionid: '',
|
|
26160
26141
|
grouptype: ''
|
|
26161
26142
|
}),
|
|
26162
|
-
_useState0 = _slicedToArray(_useState9, 2),
|
|
26163
|
-
ProductsFetchingTypeSectionObj = _useState0[0],
|
|
26164
|
-
setProductsFetchingTypeSectionObj = _useState0[1];
|
|
26165
|
-
var _useState1 = useState([]),
|
|
26166
26143
|
_useState10 = _slicedToArray(_useState1, 2),
|
|
26167
|
-
|
|
26168
|
-
|
|
26169
|
-
var _useState11 = useState(
|
|
26144
|
+
ProductsFetchingTypeSectionObj = _useState10[0],
|
|
26145
|
+
setProductsFetchingTypeSectionObj = _useState10[1];
|
|
26146
|
+
var _useState11 = useState([]),
|
|
26170
26147
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
26171
|
-
|
|
26172
|
-
|
|
26148
|
+
maincontainerarrayofobjs = _useState12[0],
|
|
26149
|
+
setmaincontainerarrayofobjs = _useState12[1];
|
|
26150
|
+
var _useState13 = useState(12),
|
|
26151
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
26152
|
+
perpageItems = _useState14[0],
|
|
26153
|
+
setperpageItems = _useState14[1];
|
|
26173
26154
|
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
26174
26155
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
26175
26156
|
props.actions.FetchVendors_byproductsQuery;
|
|
@@ -27335,7 +27316,32 @@ var CardsSection = function CardsSection(props) {
|
|
|
27335
27316
|
marginTop: sectionproperties.showbadge == 'Show' ? sectionproperties.sectionTitleMarginTop + 'px' : 0,
|
|
27336
27317
|
marginBottom: sectionproperties.sectiontitledirection == 'Vertical' ? sectionproperties.sectionTitleMarginBottom + 'px' : 0
|
|
27337
27318
|
}
|
|
27338
|
-
},
|
|
27319
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
27320
|
+
"class": "row m-0 w-100"
|
|
27321
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
27322
|
+
"class": authdetailsContext.instinfo.instid == '6a0e0bcb82d2d' && sectionproperties.sectionTitleContent == 'ALL PRODUCTS' ? 'col-9 p-0 text-start' : 'col-12 p-0 text-start'
|
|
27323
|
+
}, SectionTitle()), authdetailsContext.instinfo.instid == '6a0e0bcb82d2d' && sectionproperties.sectionTitleContent == 'ALL PRODUCTS' && /*#__PURE__*/React.createElement("div", {
|
|
27324
|
+
"class": "col-3 p-0 text-end"
|
|
27325
|
+
}, /*#__PURE__*/React.createElement(BsGridFill, {
|
|
27326
|
+
color: sectionproperties.sectionTitleColor,
|
|
27327
|
+
"class": "mx-2 cursor-pointer",
|
|
27328
|
+
onClick: function onClick() {
|
|
27329
|
+
setcardsinglerow('multi');
|
|
27330
|
+
// alert(cardsinglerow);
|
|
27331
|
+
},
|
|
27332
|
+
style: {
|
|
27333
|
+
opacity: cardsinglerow == 'multi' ? 1 : 0.3
|
|
27334
|
+
}
|
|
27335
|
+
}), /*#__PURE__*/React.createElement(FaBars, {
|
|
27336
|
+
color: sectionproperties.sectionTitleColor,
|
|
27337
|
+
"class": "mx-2 cursor-pointer",
|
|
27338
|
+
onClick: function onClick() {
|
|
27339
|
+
setcardsinglerow('single');
|
|
27340
|
+
},
|
|
27341
|
+
style: {
|
|
27342
|
+
opacity: cardsinglerow == 'single' ? 1 : 0.3
|
|
27343
|
+
}
|
|
27344
|
+
})))), sectionproperties.sectiontitleshow == 'Show' && sectionproperties.filterType != 'Title & Sort By Only' && /*#__PURE__*/React.createElement("div", {
|
|
27339
27345
|
"class": "".concat(generalstyles.sectiontitlecont) + ' col-lg-12 p-0 d-none d-md-flex align-items-center ',
|
|
27340
27346
|
style: {
|
|
27341
27347
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -27413,8 +27419,51 @@ var CardsSection = function CardsSection(props) {
|
|
|
27413
27419
|
marginTop: sectionproperties.sectiontitleposition == 'Centered' ? sectionproperties.viewmoremt + 'px' : 0
|
|
27414
27420
|
}
|
|
27415
27421
|
}, /*#__PURE__*/React.createElement("div", {
|
|
27416
|
-
"class": sectionproperties.sectiontitleposition == 'Centered' ? ' row m-0 w-100 d-flex align-item-center justify-content-center mt-auto mb-auto ' : ' row m-0 w-100 d-flex align-item-center justify-content-end mt-auto mb-auto '
|
|
27417
|
-
},
|
|
27422
|
+
"class": sectionproperties.sectiontitleposition == 'Centered' ? ' row m-0 w-100 d-flex align-item-center justify-content-center mt-auto mb-auto flex-row ' : ' row m-0 w-100 d-flex align-item-center justify-content-end mt-auto mb-auto flex-row '
|
|
27423
|
+
}, authdetailsContext.instinfo.instid == '6a0e0bcb82d2d' && sectionproperties.sectionTitleContent == 'ALL PRODUCTS' && /*#__PURE__*/React.createElement("div", {
|
|
27424
|
+
"class": "p-0 text-end"
|
|
27425
|
+
}, /*#__PURE__*/React.createElement(BsGridFill, {
|
|
27426
|
+
color: sectionproperties.sectionTitleColor,
|
|
27427
|
+
"class": "mx-2 cursor-pointer",
|
|
27428
|
+
size: 18,
|
|
27429
|
+
onClick: function onClick() {
|
|
27430
|
+
setcardsinglerow('multi');
|
|
27431
|
+
// alert(cardsinglerow);
|
|
27432
|
+
},
|
|
27433
|
+
style: {
|
|
27434
|
+
opacity: cardsinglerow == 'multi' ? 1 : 0.3
|
|
27435
|
+
}
|
|
27436
|
+
}), /*#__PURE__*/React.createElement(FaBars, {
|
|
27437
|
+
color: sectionproperties.sectionTitleColor,
|
|
27438
|
+
"class": "mx-2 cursor-pointer",
|
|
27439
|
+
size: 18,
|
|
27440
|
+
onClick: function onClick() {
|
|
27441
|
+
setcardsinglerow('single');
|
|
27442
|
+
},
|
|
27443
|
+
style: {
|
|
27444
|
+
opacity: cardsinglerow == 'single' ? 1 : 0.3
|
|
27445
|
+
}
|
|
27446
|
+
}), sectionproperties.showFilter == 'show' && sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection != 'Collections Horizontal' && sectionproperties.filterbtnstyle == 'Style 1' && authdetailsContext.instinfo.instid != '6790ae890234e' && window.location.pathname != '/Portfolio' && /*#__PURE__*/React.createElement("button", {
|
|
27447
|
+
"class": ' d-none d-md-flex justify-content-end ',
|
|
27448
|
+
onClick: function onClick() {
|
|
27449
|
+
setopenFilterSlider(true);
|
|
27450
|
+
// var element = document.getElementById('filterslider');
|
|
27451
|
+
// element.classList.add(filterstyles.filterslider_container_opened);
|
|
27452
|
+
}
|
|
27453
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
27454
|
+
"class": "".concat(section_cssstyles.filterbtn) + ' allcentered '
|
|
27455
|
+
}, sectionproperties.filterbtnfontsize != 0 && /*#__PURE__*/React.createElement("span", {
|
|
27456
|
+
"class": "allcentered",
|
|
27457
|
+
style: {
|
|
27458
|
+
fontSize: sectionproperties.filterbtnfontsize + 'px'
|
|
27459
|
+
}
|
|
27460
|
+
}, langdetect == 'en' ? sectionproperties.filterbtntexten : sectionproperties.filterbtntextar), sectionproperties.filterbtniconfontsize != 0 && /*#__PURE__*/React.createElement("i", {
|
|
27461
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
27462
|
+
}, /*#__PURE__*/React.createElement(FiFilter, {
|
|
27463
|
+
style: {
|
|
27464
|
+
fontSize: sectionproperties.filterbtniconfontsize
|
|
27465
|
+
}
|
|
27466
|
+
}))))), sectionproperties.viewmorebtnshow == 'Show' && sectionproperties.sectiontitledirection == 'Horizontal' && sectionproperties.viewmorebtnposition != 'Under Section' && /*#__PURE__*/React.createElement("button", {
|
|
27418
27467
|
"class": sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto mb-sm-3 ' : "".concat(section_cssstyles.viewmorebtn) + ' w-sm-auto btn-circle-resp m-sm-0 mt-auto mb-auto ' : sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto ' : "".concat(section_cssstyles.viewmorebtn) + ' w-sm-auto btn-circle-resp m-sm-0 mt-auto mb-auto ',
|
|
27419
27468
|
onClick: function onClick() {
|
|
27420
27469
|
if (fetchingtype == 'products') {
|
|
@@ -27456,7 +27505,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
27456
27505
|
}) : /*#__PURE__*/React.createElement(HiOutlineArrowLeft, {
|
|
27457
27506
|
size: sectionproperties.viewmoreiconfontsizeresp,
|
|
27458
27507
|
color: sectionproperties.viewmorebtn_Textcolor
|
|
27459
|
-
})))), sectionproperties.showFilter == 'show' && sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection != 'Collections Horizontal' && sectionproperties.filterbtnstyle == 'Style 1' && authdetailsContext.instinfo.instid != '6790ae890234e' && window.location.pathname != '/Portfolio' && /*#__PURE__*/React.createElement("button", {
|
|
27508
|
+
})))), authdetailsContext.instinfo.instid != '6a0e0bcb82d2d' && sectionproperties.showFilter == 'show' && sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection != 'Collections Horizontal' && sectionproperties.filterbtnstyle == 'Style 1' && authdetailsContext.instinfo.instid != '6790ae890234e' && window.location.pathname != '/Portfolio' && /*#__PURE__*/React.createElement("button", {
|
|
27460
27509
|
"class": sectionproperties.filterdirection == 'Horizontal' || sectionproperties.filterdirection == 'Collections Vertical' ? ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ' : ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ',
|
|
27461
27510
|
onClick: function onClick() {
|
|
27462
27511
|
setopenFilterSlider(true);
|
|
@@ -27841,7 +27890,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
27841
27890
|
} else {
|
|
27842
27891
|
if (sectionproperties.overallnumberofcards == 0) {
|
|
27843
27892
|
return /*#__PURE__*/React.createElement("div", {
|
|
27844
|
-
"class": bootstapclass
|
|
27893
|
+
"class": cardsinglerow == 'single' ? 'col-12 p-0 d-flex justify-content-center p-0 ' : bootstapclass
|
|
27845
27894
|
}, /*#__PURE__*/React.createElement(Sectioncomp, {
|
|
27846
27895
|
sectiontypeprops: 'horizontal',
|
|
27847
27896
|
sectiontypeprops2: 'vertical',
|
|
@@ -27853,7 +27902,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
27853
27902
|
actions: actions,
|
|
27854
27903
|
fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : '',
|
|
27855
27904
|
numberOfColsvertical: sectionproperties.numberOfColsvertical,
|
|
27856
|
-
AddtoCartMutationContext: AddtoCartMutationContext
|
|
27905
|
+
AddtoCartMutationContext: AddtoCartMutationContext,
|
|
27906
|
+
cardsinglerow: cardsinglerow
|
|
27857
27907
|
}));
|
|
27858
27908
|
} else if (sectionproperties.overallnumberofcards != 0) {
|
|
27859
27909
|
if (cardinfoindex < sectionproperties.overallnumberofcards) {
|
|
@@ -32267,9 +32317,9 @@ className:sectionproperties.responsiveheaderstyle=='Style 2 With Subheader Only'
|
|
|
32267
32317
|
background:sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'?sectionproperties.responsiveheadertabbgactive:activeTab=='categories'?sectionproperties.responsiveheadertabbgactive:sectionproperties.responsiveheaderbgtab// background: sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' ? '' : activeTab == 'categories' ? 'white' : '#eee',
|
|
32268
32318
|
}},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{textTransform:'uppercase',fontWeight:500,fontSize:'15px',transition:'.3s',// color: sectionproperties.header_fontColorresponsive,
|
|
32269
32319
|
color:sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'?sectionproperties.responsiveheadertabactivecolor:activeTab=='categories'?sectionproperties.responsiveheadertabactivecolor:sectionproperties.responsiveheadertabcolor}},langdetect=='en'?sectionproperties.titlerespen:sectionproperties.titlerespar))))),/*#__PURE__*/React.createElement(Offcanvas.Body,null,/*#__PURE__*/React.createElement("div",{style:{minHeight:'80vh'}},activeTab=='menu'&&/*#__PURE__*/// {activeTab == 'menu' && authdetailsContext?.instinfo?.contactinfo.instid != '6783c92e08789' && (
|
|
32270
|
-
React.createElement("div",{className:' row m-0 w-100 anim '},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("ul",{className:' d-flex justify-content-center flex-column p-0 '},templatepropcontext.pagesnprop.map(function(item,index){if(item.isnavigation==1&&item.isactive==1){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 "},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}}),sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Wishlist);}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i45=authdetailsContext.instinfo)===null||_authdetailsContext$i45===void 0?void 0:_authdetailsContext$i45.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?lang.wishlist:'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i46=authdetailsContext.instinfo)===null||_authdetailsContext$i46===void 0?void 0:_authdetailsContext$i46.contactinfo.instid)=='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?'Wish List':'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i47=authdetailsContext.instinfo)===null||_authdetailsContext$i47===void 0?void 0:_authdetailsContext$i47.contactinfo.instid)!='6808c6295b598'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i48=authdetailsContext.instinfo)===null||_authdetailsContext$i48===void 0?void 0:_authdetailsContext$i48.contactinfo.instid)!='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.wishlist)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 "},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='No'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Policies);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.policies)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.PrivacyPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj9=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj9===void 0?void 0:_returnpolicyobj9.policypagename_en:(_returnpolicyobj0=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj0===void 0?void 0:_returnpolicyobj0.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.ShippingPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj1=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj1===void 0?void 0:_returnpolicyobj1.policypagename_en:(_returnpolicyobj10=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj10===void 0?void 0:_returnpolicyobj10.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.RefundPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj11=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj11===void 0?void 0:_returnpolicyobj11.policypagename_en:(_returnpolicyobj12=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj12===void 0?void 0:_returnpolicyobj12.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.TermsConditions);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj13=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj13===void 0?void 0:_returnpolicyobj13.policypagename_en:(_returnpolicyobj14=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj14===void 0?void 0:_returnpolicyobj14.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&§ionproperties.showprevorder=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i49=authdetailsContext.instinfo)===null||_authdetailsContext$i49===void 0?void 0:_authdetailsContext$i49.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i50=authdetailsContext.instinfo)===null||_authdetailsContext$i50===void 0?void 0:_authdetailsContext$i50.contactinfo.instid)=='6804c4480fde5'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),sectionproperties.showlanuagecontainer=='Show'&§ionproperties.langresponsiveposition=='In Menu'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbarItem+' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',style:{}},/*#__PURE__*/React.createElement("p",{"class":"".concat(header_cssstyles.navbar_item_text_responsive)+' m-0 p-0 ',style:{cursor:'default'}},langdetect=='en'?'Language':'اللغة')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex align-items-center justify-content-start my-1"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{background:sectionproperties.langcontainerbgresp,borderRadius:5}},/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbarItem+' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',onClick:function onClick(){setlang('en');setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 w-100 allcentered py-3",style:{background:langdetect=='en'?sectionproperties.langcontainerbgresp_active:'transparent',borderRadius:5,fontSize:15,color:sectionproperties.language_container_color_resp}},"English")),/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbarItem+' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',onClick:function onClick(){setlang('ar');setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 w-100 allcentered py-3",style:{borderRadius:5,background:langdetect=='ar'?sectionproperties.langcontainerbgresp_active:'transparent',fontSize:15,color:sectionproperties.language_container_color_resp}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i51=authdetailsContext.instinfo)===null||_authdetailsContext$i51===void 0?void 0:_authdetailsContext$i51.contactinfo.instid)=='6808c6295b598'?'عربي':(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i52=authdetailsContext.instinfo)===null||_authdetailsContext$i52===void 0?void 0:_authdetailsContext$i52.contactinfo.instid)=='68a1927aa368f'?'لغة عربية':'اللغة العربية'))))),sectionproperties.ShowUserBtn=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3 mt-5"},!authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("button",{"class":"".concat(header_cssstyles.userbtn_respContainer)+' anim d-flex align-items-center justify-content-start p-0 m-0 ',onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Login);setmenuactive(false);}},/*#__PURE__*/React.createElement("i",{"class":"".concat(header_cssstyles.userbtnLoggedin_icon)+' h-100 allcentered userbtn_resp m-0 p-0 p-0 '},/*#__PURE__*/React.createElement(BiUser,null)),/*#__PURE__*/React.createElement("span",{"class":"userbtn_resp mx-2"},langdetect=='en'?'Login/Register':'تسجيل دخول/إنشاء حساب')),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("button",{"class":"".concat(header_cssstyles.userbtn_respContainer)+' anim d-flex align-items-center justify-content-start p-0 m-0 ',onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.accountinfo);setmenuactive(false);}},/*#__PURE__*/React.createElement("i",{"class":"".concat(header_cssstyles.userbtnLoggedin_icon)+' h-100 allcentered userbtn_resp m-0 p-0 p-0 '},/*#__PURE__*/React.createElement(BiUser,null)),/*#__PURE__*/React.createElement("span",{"class":header_cssstyles.loggedintext+' text-start text-overflow d-block loggedintext mx-2 '},authdetailsContext.customerinfo.name)),sectionproperties.ShowUserBtn=='Show'&&authdetailsContext.loggedin&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$c5=authdetailsContext.customerinfo)===null||_authdetailsContext$c5===void 0?void 0:_authdetailsContext$c5.cancustomerviewwallet)==1&&templateproperties_context.showwallet=='Show'&&/*#__PURE__*/React.createElement("div",{"class":'col-12 p-0 m-0 p-0 d-flex justify-content-start flex-row ',style:{}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.userBtnTextresp_color,fontSize:templateproperties_context.walletfontize+'px',fontWeight:500}},langdetect=='en'?templateproperties_context.walletcontent_en:templateproperties_context.walletcontent_ar),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 mx-1",style:{color:sectionproperties.userBtnTextresp_color,fontSize:'15px',fontWeight:600}},authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$c6=authdetailsContext.customerinfo)===null||_authdetailsContext$c6===void 0?void 0:_authdetailsContext$c6.walletpoints,' '))),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("button",{"class":' d-flex align-items-center justify-content-center p-0 m-0 ',onClick:function onClick(){LogoutMutationContext.mutate();setmenuactive(false);},style:{width:'90%',height:40,background:'white',color:'#000',fontSize:16}},lang.logout))))),activeTab=='categories'&§ionproperties.responsiveheaderstyle!='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 accordionContainer anim'},sectionproperties.subheaderParentType=='Categories'&&CategoriesAccordion(),sectionproperties.subheaderParentType=='Parent Collections'&&ParentCollectionsAccordion(),sectionproperties.subheaderParentType=='Collections'&&CollectionsAccordion(),sectionproperties.responsiveheaderstyle=='Style 2 With Subheader Only'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},sectionproperties.showlanuagecontainer=='Show'&§ionproperties.langresponsiveposition=='In Menu'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3"},LanguageContainer()),sectionproperties.ShowUserBtn=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3 mt-5"},UserButton()),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("button",{"class":' d-flex align-items-center justify-content-center p-0 m-0 ',onClick:function onClick(){LogoutMutationContext.mutate();setmenuactive(false);},style:{width:'90%',height:40,background:'white',color:'#000',fontSize:16}},lang.logout))))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i53=authdetailsContext.instinfo)===null||_authdetailsContext$i53===void 0?void 0:_authdetailsContext$i53.instid)=='69c55e0a54075'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-8 mx-auto d-flex flex-row allcentered mt-4 mb-3"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{background:'#fff',border:'1px solid #ccc'}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i54=authdetailsContext.instinfo)===null||_authdetailsContext$i54===void 0?void 0:_authdetailsContext$i54.facebooklink)!=null&&/*#__PURE__*/React.createElement("div",{"class":' d-flex align-items-center justify-content-center py-3 ',onClick:function onClick(){var _authdetailsContext$i55;if((authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i55=authdetailsContext.instinfo)===null||_authdetailsContext$i55===void 0?void 0:_authdetailsContext$i55.facebooklink)!=null){var _authdetailsContext$i56;window.open(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i56=authdetailsContext.instinfo)===null||_authdetailsContext$i56===void 0?void 0:_authdetailsContext$i56.facebooklink,'_blank');}},style:{flex:1,borderRight:langdetect=='en'?'1px solid #ccc':0,borderLeft:langdetect=='ar'?'1px solid #ccc':0}},/*#__PURE__*/React.createElement(FaFacebookF,{size:'20',color:'#000000'})),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i57=authdetailsContext.instinfo)===null||_authdetailsContext$i57===void 0?void 0:_authdetailsContext$i57.instagramlink)!=null&&/*#__PURE__*/React.createElement("div",{"class":' d-flex align-items-center justify-content-center py-3 ',onClick:function onClick(){var _authdetailsContext$i58;if((authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i58=authdetailsContext.instinfo)===null||_authdetailsContext$i58===void 0?void 0:_authdetailsContext$i58.instagramlink)!=null){var _authdetailsContext$i59;window.open(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i59=authdetailsContext.instinfo)===null||_authdetailsContext$i59===void 0?void 0:_authdetailsContext$i59.instagramlink,'_blank');}},style:{flex:1,borderRight:langdetect=='en'?'1px solid #ccc':0,borderLeft:langdetect=='ar'?'1px solid #ccc':0}},/*#__PURE__*/React.createElement(AiFillInstagram,{size:'22',color:'#000000'})),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i60=authdetailsContext.instinfo)===null||_authdetailsContext$i60===void 0?void 0:_authdetailsContext$i60.tiktoklink)!=null&&/*#__PURE__*/React.createElement("div",{"class":' d-flex align-items-center justify-content-center py-3 ',onClick:function onClick(){var _authdetailsContext$i61;if((authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i61=authdetailsContext.instinfo)===null||_authdetailsContext$i61===void 0?void 0:_authdetailsContext$i61.instagramlink)!=null){var _authdetailsContext$i62;window.open(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i62=authdetailsContext.instinfo)===null||_authdetailsContext$i62===void 0?void 0:_authdetailsContext$i62.tiktoklink,'_blank');}},style:{flex:1}},/*#__PURE__*/React.createElement(IoLogoTiktok,{size:'20',color:'#000000'})))))),sectionproperties.length!=0&§ionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement(Offcanvas,{show:openmenuCanvas,onHide:function onHide(){setopenmenuCanvas(false);},placement:langdetect=='en'?'start':'end',scroll:true,style:{width:'90%',// backgroundColor: 'white',
|
|
32320
|
+
React.createElement("div",{className:' row m-0 w-100 anim '},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("ul",{className:' d-flex justify-content-center flex-column p-0 '},templatepropcontext.pagesnprop.map(function(item,index){if(item.isnavigation==1&&item.isactive==1){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 "},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}}),sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Wishlist);}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i45=authdetailsContext.instinfo)===null||_authdetailsContext$i45===void 0?void 0:_authdetailsContext$i45.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?lang.wishlist:'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i46=authdetailsContext.instinfo)===null||_authdetailsContext$i46===void 0?void 0:_authdetailsContext$i46.contactinfo.instid)=='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?'Wish List':'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i47=authdetailsContext.instinfo)===null||_authdetailsContext$i47===void 0?void 0:_authdetailsContext$i47.contactinfo.instid)!='6808c6295b598'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i48=authdetailsContext.instinfo)===null||_authdetailsContext$i48===void 0?void 0:_authdetailsContext$i48.contactinfo.instid)!='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.wishlist)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 "},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='No'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Policies);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.policies)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.PrivacyPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj9=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj9===void 0?void 0:_returnpolicyobj9.policypagename_en:(_returnpolicyobj0=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj0===void 0?void 0:_returnpolicyobj0.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.ShippingPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj1=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj1===void 0?void 0:_returnpolicyobj1.policypagename_en:(_returnpolicyobj10=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj10===void 0?void 0:_returnpolicyobj10.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.RefundPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj11=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj11===void 0?void 0:_returnpolicyobj11.policypagename_en:(_returnpolicyobj12=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj12===void 0?void 0:_returnpolicyobj12.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.TermsConditions);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj13=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj13===void 0?void 0:_returnpolicyobj13.policypagename_en:(_returnpolicyobj14=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj14===void 0?void 0:_returnpolicyobj14.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&§ionproperties.showprevorder=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i49=authdetailsContext.instinfo)===null||_authdetailsContext$i49===void 0?void 0:_authdetailsContext$i49.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i50=authdetailsContext.instinfo)===null||_authdetailsContext$i50===void 0?void 0:_authdetailsContext$i50.contactinfo.instid)=='6804c4480fde5'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),sectionproperties.showlanuagecontainer=='Show'&§ionproperties.langresponsiveposition=='In Menu'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbarItem+' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',style:{}},/*#__PURE__*/React.createElement("p",{"class":"".concat(header_cssstyles.navbar_item_text_responsive)+' m-0 p-0 ',style:{cursor:'default'}},langdetect=='en'?'Language':'اللغة')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex align-items-center justify-content-start my-1"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{background:sectionproperties.langcontainerbgresp,borderRadius:5}},/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbarItem+' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',onClick:function onClick(){setlang('en');setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 w-100 allcentered py-3",style:{background:langdetect=='en'?sectionproperties.langcontainerbgresp_active:'transparent',borderRadius:5,fontSize:15,color:sectionproperties.language_container_color_resp}},"English")),/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbarItem+' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',onClick:function onClick(){setlang('ar');setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 w-100 allcentered py-3",style:{borderRadius:5,background:langdetect=='ar'?sectionproperties.langcontainerbgresp_active:'transparent',fontSize:15,color:sectionproperties.language_container_color_resp}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i51=authdetailsContext.instinfo)===null||_authdetailsContext$i51===void 0?void 0:_authdetailsContext$i51.contactinfo.instid)=='6808c6295b598'?'عربي':(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i52=authdetailsContext.instinfo)===null||_authdetailsContext$i52===void 0?void 0:_authdetailsContext$i52.contactinfo.instid)=='68a1927aa368f'?'لغة عربية':'اللغة العربية'))))),sectionproperties.ShowUserBtn=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3 mt-5"},!authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("button",{"class":"".concat(header_cssstyles.userbtn_respContainer)+' anim d-flex align-items-center justify-content-start p-0 m-0 ',onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Login);setmenuactive(false);}},/*#__PURE__*/React.createElement("i",{"class":"".concat(header_cssstyles.userbtnLoggedin_icon)+' h-100 allcentered userbtn_resp m-0 p-0 p-0 '},/*#__PURE__*/React.createElement(BiUser,null)),/*#__PURE__*/React.createElement("span",{"class":"userbtn_resp mx-2"},langdetect=='en'?'Login/Register':'تسجيل دخول/إنشاء حساب')),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("button",{"class":"".concat(header_cssstyles.userbtn_respContainer)+' anim d-flex align-items-center justify-content-start p-0 m-0 ',onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.accountinfo);setmenuactive(false);}},/*#__PURE__*/React.createElement("i",{"class":"".concat(header_cssstyles.userbtnLoggedin_icon)+' h-100 allcentered userbtn_resp m-0 p-0 p-0 '},/*#__PURE__*/React.createElement(BiUser,null)),/*#__PURE__*/React.createElement("span",{"class":header_cssstyles.loggedintext+' text-start text-overflow d-block loggedintext mx-2 '},authdetailsContext.customerinfo.name)),sectionproperties.ShowUserBtn=='Show'&&authdetailsContext.loggedin&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$c5=authdetailsContext.customerinfo)===null||_authdetailsContext$c5===void 0?void 0:_authdetailsContext$c5.cancustomerviewwallet)==1&&templateproperties_context.showwallet=='Show'&&/*#__PURE__*/React.createElement("div",{"class":'col-12 p-0 m-0 p-0 d-flex justify-content-start flex-row ',style:{}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.userBtnTextresp_color,fontSize:templateproperties_context.walletfontize+'px',fontWeight:500}},langdetect=='en'?templateproperties_context.walletcontent_en:templateproperties_context.walletcontent_ar),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 mx-1",style:{color:sectionproperties.userBtnTextresp_color,fontSize:'15px',fontWeight:600}},authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$c6=authdetailsContext.customerinfo)===null||_authdetailsContext$c6===void 0?void 0:_authdetailsContext$c6.walletpoints,' '))),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 allcentered mt-5"},/*#__PURE__*/React.createElement("button",{"class":' d-flex align-items-center justify-content-center p-0 m-0 ',onClick:function onClick(){LogoutMutationContext.mutate();setmenuactive(false);},style:{width:'90%',height:40,background:'white',color:'#000',fontSize:16}},lang.logout))))),activeTab=='categories'&§ionproperties.responsiveheaderstyle!='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 accordionContainer anim'},sectionproperties.subheaderParentType=='Categories'&&CategoriesAccordion(),sectionproperties.subheaderParentType=='Parent Collections'&&ParentCollectionsAccordion(),sectionproperties.subheaderParentType=='Collections'&&CollectionsAccordion(),sectionproperties.responsiveheaderstyle=='Style 2 With Subheader Only'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},sectionproperties.showlanuagecontainer=='Show'&§ionproperties.langresponsiveposition=='In Menu'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3"},LanguageContainer()),sectionproperties.ShowUserBtn=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3 mt-5"},UserButton()),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 allcentered mt-5"},/*#__PURE__*/React.createElement("button",{"class":' d-flex align-items-center justify-content-center p-0 m-0 ',onClick:function onClick(){LogoutMutationContext.mutate();setmenuactive(false);},style:{width:'90%',height:40,background:'white',color:'#000',fontSize:16}},lang.logout))))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i53=authdetailsContext.instinfo)===null||_authdetailsContext$i53===void 0?void 0:_authdetailsContext$i53.instid)=='69c55e0a54075'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-8 mx-auto d-flex flex-row allcentered mt-4 mb-3"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{background:'#fff',border:'1px solid #ccc'}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i54=authdetailsContext.instinfo)===null||_authdetailsContext$i54===void 0?void 0:_authdetailsContext$i54.facebooklink)!=null&&/*#__PURE__*/React.createElement("div",{"class":' d-flex align-items-center justify-content-center py-3 ',onClick:function onClick(){var _authdetailsContext$i55;if((authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i55=authdetailsContext.instinfo)===null||_authdetailsContext$i55===void 0?void 0:_authdetailsContext$i55.facebooklink)!=null){var _authdetailsContext$i56;window.open(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i56=authdetailsContext.instinfo)===null||_authdetailsContext$i56===void 0?void 0:_authdetailsContext$i56.facebooklink,'_blank');}},style:{flex:1,borderRight:langdetect=='en'?'1px solid #ccc':0,borderLeft:langdetect=='ar'?'1px solid #ccc':0}},/*#__PURE__*/React.createElement(FaFacebookF,{size:'20',color:'#000000'})),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i57=authdetailsContext.instinfo)===null||_authdetailsContext$i57===void 0?void 0:_authdetailsContext$i57.instagramlink)!=null&&/*#__PURE__*/React.createElement("div",{"class":' d-flex align-items-center justify-content-center py-3 ',onClick:function onClick(){var _authdetailsContext$i58;if((authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i58=authdetailsContext.instinfo)===null||_authdetailsContext$i58===void 0?void 0:_authdetailsContext$i58.instagramlink)!=null){var _authdetailsContext$i59;window.open(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i59=authdetailsContext.instinfo)===null||_authdetailsContext$i59===void 0?void 0:_authdetailsContext$i59.instagramlink,'_blank');}},style:{flex:1,borderRight:langdetect=='en'?'1px solid #ccc':0,borderLeft:langdetect=='ar'?'1px solid #ccc':0}},/*#__PURE__*/React.createElement(AiFillInstagram,{size:'22',color:'#000000'})),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i60=authdetailsContext.instinfo)===null||_authdetailsContext$i60===void 0?void 0:_authdetailsContext$i60.tiktoklink)!=null&&/*#__PURE__*/React.createElement("div",{"class":' d-flex align-items-center justify-content-center py-3 ',onClick:function onClick(){var _authdetailsContext$i61;if((authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i61=authdetailsContext.instinfo)===null||_authdetailsContext$i61===void 0?void 0:_authdetailsContext$i61.instagramlink)!=null){var _authdetailsContext$i62;window.open(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i62=authdetailsContext.instinfo)===null||_authdetailsContext$i62===void 0?void 0:_authdetailsContext$i62.tiktoklink,'_blank');}},style:{flex:1}},/*#__PURE__*/React.createElement(IoLogoTiktok,{size:'20',color:'#000000'})))))),sectionproperties.length!=0&§ionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement(Offcanvas,{show:openmenuCanvas,onHide:function onHide(){setopenmenuCanvas(false);},placement:langdetect=='en'?'start':'end',scroll:true,style:{width:'90%',// backgroundColor: 'white',
|
|
32271
32321
|
background:sectionproperties.responsivesliderbgcolor==null?'white':sectionproperties.responsivesliderbgcolor// background: sectionproperties.resposive_bgcolor,
|
|
32272
|
-
},backdrop:true},/*#__PURE__*/React.createElement(Offcanvas.Header,null,/*#__PURE__*/React.createElement(Offcanvas.Title,null,langdetect=='en'&&/*#__PURE__*/React.createElement("div",{"class":"allcentered",style:{position:'absolute',right:-34,top:5,width:30,height:30,background:'#000'},onClick:function onClick(){setopenmenuCanvas(false);}},/*#__PURE__*/React.createElement(IoMdClose,{color:'#fff',size:16})),langdetect=='ar'&&/*#__PURE__*/React.createElement("div",{"class":"allcentered",style:{position:'absolute',left:-34,top:5,width:30,height:30,background:'#000'},onClick:function onClick(){setopenmenuCanvas(false);}},/*#__PURE__*/React.createElement(IoMdClose,{color:'#fff',size:16})),/*#__PURE__*/React.createElement("div",{className:langdetect=='en'?templateproperties_context.templatefontfamily=='OPTIRadiantBold-Condensed'?'row m-0 w-100 mb-4 fontfamilybold':templateproperties_context.templatefontfamily=='ASUL'?'row m-0 w-100 mb-4 ASUL':templateproperties_context.templatefontfamily=='Alata'?'row m-0 w-100 mb-4 alata':templateproperties_context.templatefontfamily=='Montserrat'?'row m-0 w-100 mb-4 montserrat':templateproperties_context.templatefontfamily=='Poiret One'?'row m-0 w-100 mb-4 PoiretOne':templateproperties_context.templatefontfamily=='Bebas Neue'?'row m-0 w-100 mb-4 bebas-neue-regular':templateproperties_context.templatefontfamily=='Lora'?'row m-0 w-100 mb-4 lora':templateproperties_context.templatefontfamily=='Playwrite Deutschland Grundschrift'?'row m-0 w-100 mb-4 playwrite-de-grund':templateproperties_context.templatefontfamily=='Manrope'?'row m-0 w-100 mb-4 Manrope':templateproperties_context.templatefontfamily=='Fira Sans'?'row m-0 w-100 mb-4 fira-sans-thin':templateproperties_context.templatefontfamily=='Ubuntu'?'row m-0 w-100 mb-4 ubuntu':templateproperties_context.templatefontfamily=='Liter'?'row m-0 w-100 mb-4 liter':templateproperties_context.templatefontfamily=='DM Serif Text'?'row m-0 w-100 mb-4 dm-serif-text-regular':templateproperties_context.templatefontfamily=='Righteous'?'row m-0 w-100 mb-4 righteous':templateproperties_context.templatefontfamily=='Cairo'?'row m-0 w-100 mb-4 cairo':templateproperties_context.templatefontfamily=='Playwrite Danmark Loopet'?'row m-0 w-100 mb-4 playwrite-dk-loopet':templateproperties_context.templatefontfamily=='Rubik'?'row m-0 w-100 mb-4 rubik':templateproperties_context.templatefontfamily=='Edu NSW ACT Cursive'?'row m-0 w-100 mb-4 edu-nsw-act-cursive':templateproperties_context.templatefontfamily=='Mozilla Headline'?'row m-0 w-100 mb-4 Mozilla-Headline':templateproperties_context.templatefontfamily=='Bree Serif'?'row m-0 w-100 mb-4 bree-serif':'row m-0 w-100 mb-4 ':templateproperties_context.templatefontfamilyarabic=='Roboto'?'row m-0 w-100 mb-4 roboto':templateproperties_context.templatefontfamilyarabic=='ZaridSlab'?'row m-0 w-100 mb-4 zaridslab':templateproperties_context.templatefontfamilyarabic=='Changa'?'row m-0 w-100 mb-4 Changa':templateproperties_context.templatefontfamilyarabic=='Almarai'?'row m-0 w-100 mb-4 almarai-regular':templateproperties_context.templatefontfamilyarabic=='Lateef'?'row m-0 w-100 mb-4 lateef':templateproperties_context.templatefontfamilyarabic=='Baloo Bhaijaan 2'?'row m-0 w-100 mb-4 BalooBhaijaan2':templateproperties_context.templatefontfamilyarabic=='Cairo'?'row m-0 w-100 mb-4 cairo':templateproperties_context.templatefontfamilyarabic=='Alexandria'?'row m-0 w-100 mb-4 alexandria':templateproperties_context.templatefontfamilyarabic=='Fustat'?'row m-0 w-100 mb-4 fustat':templateproperties_context.templatefontfamilyarabic==' Noto Naskh Arabic'?'row m-0 w-100 mb-4 noto-naskh-arabic':templateproperties_context.templatefontfamilyarabic=='Tajawal'?'row m-0 w-100 mb-4 tajawal':'row m-0 w-100 mb-4',style:{borderBottom:'1px solid #eee'}},/*#__PURE__*/React.createElement("div",{className:sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'?'col-12 allcentered py-3':'col-6 allcentered py-3',onClick:function onClick(){setactiveTab('menu');},style:{background:sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'?'':activeTab=='menu'?'white':'#eee'}},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{textTransform:'uppercase',fontWeight:500,fontSize:'15px',transition:'.3s',color:sectionproperties.header_fontColorresponsive}},langdetect=='en'?'MENU':'القائمة')),sectionproperties.responsiveheaderstyle!='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement("div",{className:'col-6 allcentered py-3',onClick:function onClick(){setactiveTab('categories');},style:{background:activeTab=='categories'?'white':'#eee'}},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{textTransform:'uppercase',fontWeight:500,fontSize:'15px',transition:'.3s',color:sectionproperties.header_fontColorresponsive}},langdetect=='en'?sectionproperties.titlerespen:sectionproperties.titlerespar))))),/*#__PURE__*/React.createElement(Offcanvas.Body,null,/*#__PURE__*/React.createElement("div",{style:{minHeight:'80vh',backgroundImage:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i63=authdetailsContext.instinfo)===null||_authdetailsContext$i63===void 0?void 0:_authdetailsContext$i63.instid)=='69e11d9c75989'?'url(https://ik.imagekit.io/42fa3n8bbf/products/69e11d9c75989/69f71a442e6d0generalimage.png)':'',backgroundSize:'cover'},"class":langdetect=='en'?templateproperties_context.templatefontfamily=='OPTIRadiantBold-Condensed'?' fontfamilybold':templateproperties_context.templatefontfamily=='ASUL'?' ASUL':templateproperties_context.templatefontfamily=='Alata'?' alata':templateproperties_context.templatefontfamily=='Montserrat'?' montserrat':templateproperties_context.templatefontfamily=='Poiret One'?' PoiretOne':templateproperties_context.templatefontfamily=='Bebas Neue'?' bebas-neue-regular':templateproperties_context.templatefontfamily=='Lora'?' lora':templateproperties_context.templatefontfamily=='Playwrite Deutschland Grundschrift'?' playwrite-de-grund':templateproperties_context.templatefontfamily=='Manrope'?' Manrope':templateproperties_context.templatefontfamily=='Fira Sans'?' fira-sans-thin':templateproperties_context.templatefontfamily=='Ubuntu'?' ubuntu':templateproperties_context.templatefontfamily=='Liter'?' liter':templateproperties_context.templatefontfamily=='DM Serif Text'?' dm-serif-text-regular':templateproperties_context.templatefontfamily=='Righteous'?' righteous':templateproperties_context.templatefontfamily=='Cairo'?' cairo':templateproperties_context.templatefontfamily=='Playwrite Danmark Loopet'?' playwrite-dk-loopet':templateproperties_context.templatefontfamily=='Rubik'?' rubik':templateproperties_context.templatefontfamily=='Edu NSW ACT Cursive'?' edu-nsw-act-cursive':templateproperties_context.templatefontfamily=='Mozilla Headline'?' Mozilla-Headline':templateproperties_context.templatefontfamily=='Bree Serif'?' bree-serif':' ':templateproperties_context.templatefontfamilyarabic=='Roboto'?' roboto':templateproperties_context.templatefontfamilyarabic=='ZaridSlab'?' zaridslab':templateproperties_context.templatefontfamilyarabic=='Changa'?' Changa':templateproperties_context.templatefontfamilyarabic=='Almarai'?' almarai-regular':templateproperties_context.templatefontfamilyarabic=='Lateef'?' lateef':templateproperties_context.templatefontfamilyarabic=='Baloo Bhaijaan 2'?' BalooBhaijaan2':templateproperties_context.templatefontfamilyarabic=='Cairo'?' cairo':templateproperties_context.templatefontfamilyarabic=='Alexandria'?' alexandria':templateproperties_context.templatefontfamilyarabic=='Fustat'?' fustat':templateproperties_context.templatefontfamilyarabic==' Noto Naskh Arabic'?' noto-naskh-arabic':templateproperties_context.templatefontfamilyarabic=='Tajawal'?' tajawal':''},activeTab=='menu'&&/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 anim '},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("ul",{className:' d-flex justify-content-center flex-column p-0 '},templatepropcontext.pagesnprop.map(function(item,index){if(item.isnavigation==1&&item.isactive==1&&item.pageorderindex==0){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}}),sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 '},sectionproperties.subheaderParentType=='Categories'&&CategoriesAccordion(),sectionproperties.subheaderParentType=='Parent Collections'&&ParentCollectionsAccordion(),sectionproperties.subheaderParentType=='Collections'&&CollectionsAccordion()),templatepropcontext.pagesnprop.map(function(item,index){if(item.isnavigation==1&&item.isactive==1&&item.pageorderindex>0){var _authdetailsContext$i64,_authdetailsContext$i65,_authdetailsContext$i66,_authdetailsContext$i67,_authdetailsContext$i68;if((authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i64=authdetailsContext.instinfo)===null||_authdetailsContext$i64===void 0?void 0:_authdetailsContext$i64.instid)!='68c6bc629acb2'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i65=authdetailsContext.instinfo)===null||_authdetailsContext$i65===void 0?void 0:_authdetailsContext$i65.instid)!='69358e8e586a8'){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}else if((authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i66=authdetailsContext.instinfo)===null||_authdetailsContext$i66===void 0?void 0:_authdetailsContext$i66.instid)=='68c6bc629acb2'&&item.pagename!='About Us'){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}else if((authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i67=authdetailsContext.instinfo)===null||_authdetailsContext$i67===void 0?void 0:_authdetailsContext$i67.instid)=='68c6bc629acb2'&&item.pagename=='About Us'){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 anim px-3"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:false,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,{uuid:index},/*#__PURE__*/React.createElement(AccordionItemHeading,{onClick:function onClick(){setChoosenindex(index);}},/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{className:' row m-0 p-0 w-100 '},/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbar_item_text_responsive+' col-10 p-0 d-flex align-items-center justify-content-start cursor-pointer ',style:{marginTop:sectionproperties.navitemmarginvertical+'px',marginBottom:sectionproperties.navitemmarginvertical+'px'}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbarItem)+' mb-0 p-0 '},langdetect=='en'?'About Us':'معلومات عنا')),/*#__PURE__*/React.createElement("div",{className:"col-2 col-md-2 col-sm-2 p-0 text-end"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' collapsetitle h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FiChevronUp,{style:{fontSize:15}}));}else {return/*#__PURE__*/React.createElement("i",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' collapsetitle h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FiChevronDown,{style:{fontSize:15}}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{className:"row mt-3 mb-2 ml-0 mr-0 d-lg-flex"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{className:' row m-0 p-0 mb-2 '},/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 px-3 '},/*#__PURE__*/React.createElement("div",{className:"col-10 p-0 text-start",onClick:function onClick(){routingcountext('overview',false,'');setopenmenuCanvas(false);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 ',style:{}},langdetect=='en'?'Overview':'ملخص'))))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{className:' row m-0 p-0 mb-2 '},/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 px-3 '},/*#__PURE__*/React.createElement("div",{className:"col-10 p-0 text-start",onClick:function onClick(){routingcountext('equipment',false,'');setopenmenuCanvas(false);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 ',style:{}},langdetect=='en'?'Equipment':'المعدات')))))))))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}else if((authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i68=authdetailsContext.instinfo)===null||_authdetailsContext$i68===void 0?void 0:_authdetailsContext$i68.instid)=='69358e8e586a8'){if(item.pagename!='Services'){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}else {return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:false,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,{uuid:index},/*#__PURE__*/React.createElement(AccordionItemHeading,{onClick:function onClick(){setChoosenindex(index);}},/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{className:' row m-0 p-0 w-100 pl-3 pr-3'},/*#__PURE__*/React.createElement("div",{className:"col-10 p-0 d-flex justify-content-start ",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar)),/*#__PURE__*/React.createElement("div",{className:"col-2 col-md-2 col-sm-2 p-0 text-end"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' collapsetitle h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FiChevronUp,{style:{fontSize:15}}));}else {return/*#__PURE__*/React.createElement("i",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' collapsetitle h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FiChevronDown,{style:{fontSize:15}}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{className:"row mt-3 mb-2 ml-0 mr-0 d-lg-flex px-4"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3",onClick:function onClick(){routingcountext('design-build',false,'');setopenmenuCanvas(false);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 ',style:{}},langdetect=='en'?'Design & Build':'التصميم والبناء')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3",onClick:function onClick(){routingcountext('villa-construction',false,'');setopenmenuCanvas(false);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 ',style:{}},langdetect=='en'?'Villa Construction':'بناء فيلا')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3",onClick:function onClick(){routingcountext('fitout',false,'');setopenmenuCanvas(false);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 ',style:{}},langdetect=='en'?'Fitout':'تجهيز')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0",onClick:function onClick(){routingcountext('joinery-manufacturing',false,'');setopenmenuCanvas(false);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 ',style:{}},langdetect=='en'?'Joinery & Manufacturing':'النجارة والتصنيع')))))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}}}}),authdetailsContext.loggedin==true&§ionproperties.ShowUserBtn=='Show'&§ionproperties.showprevorder=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i69=authdetailsContext.instinfo)===null||_authdetailsContext$i69===void 0?void 0:_authdetailsContext$i69.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i70=authdetailsContext.instinfo)===null||_authdetailsContext$i70===void 0?void 0:_authdetailsContext$i70.contactinfo.instid)=='6804c4480fde5'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Wishlist);}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i71=authdetailsContext.instinfo)===null||_authdetailsContext$i71===void 0?void 0:_authdetailsContext$i71.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?lang.wishlist:'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i72=authdetailsContext.instinfo)===null||_authdetailsContext$i72===void 0?void 0:_authdetailsContext$i72.contactinfo.instid)=='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?'Wish List':'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i73=authdetailsContext.instinfo)===null||_authdetailsContext$i73===void 0?void 0:_authdetailsContext$i73.contactinfo.instid)!='6808c6295b598'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i74=authdetailsContext.instinfo)===null||_authdetailsContext$i74===void 0?void 0:_authdetailsContext$i74.contactinfo.instid)!='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.wishlist)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='No'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Policies);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.policies)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.PrivacyPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj15=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj15===void 0?void 0:_returnpolicyobj15.policypagename_en:(_returnpolicyobj16=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj16===void 0?void 0:_returnpolicyobj16.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.ShippingPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj17=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj17===void 0?void 0:_returnpolicyobj17.policypagename_en:(_returnpolicyobj18=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj18===void 0?void 0:_returnpolicyobj18.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.RefundPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj19=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj19===void 0?void 0:_returnpolicyobj19.policypagename_en:(_returnpolicyobj20=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj20===void 0?void 0:_returnpolicyobj20.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.TermsConditions);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj21=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj21===void 0?void 0:_returnpolicyobj21.policypagename_en:(_returnpolicyobj22=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj22===void 0?void 0:_returnpolicyobj22.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext!=undefined&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i75=authdetailsContext.instinfo)===null||_authdetailsContext$i75===void 0||(_authdetailsContext$i75=_authdetailsContext$i75.instcurrencies)===null||_authdetailsContext$i75===void 0?void 0:_authdetailsContext$i75.length)>1&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i76=authdetailsContext.instinfo)===null||_authdetailsContext$i76===void 0?void 0:_authdetailsContext$i76.contactinfo.instid)=='67f69c023cbd4'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbar_item_text_responsive+' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.navbar_item_text_responsive,cursor:'default'}},langdetect=='en'?'Currency':'العملة')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{background:'#f4f4f4',borderRadius:5}},authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i77=authdetailsContext.instinfo)===null||_authdetailsContext$i77===void 0||(_authdetailsContext$i77=_authdetailsContext$i77.instcurrencies)===null||_authdetailsContext$i77===void 0?void 0:_authdetailsContext$i77.map(function(item,index){return/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbar_item_text_responsive+' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',onClick:function onClick(){setcurrencyfunccontext(item);}},/*#__PURE__*/React.createElement("label",{"class":langdetect=='en'?"".concat(formstyles.radiobtn_label)+' p-0 ':"".concat(formstyles.radiobtn_label," ").concat(formstyles.radiobtn_label_translated)+' p-0 '},/*#__PURE__*/React.createElement("input",{type:"radio",name:"radio",value:item.currencyname_en,checked:item.currencyname_en==(authdetailsContext===null||authdetailsContext===void 0?void 0:authdetailsContext.currencyname_en)?true:false}),/*#__PURE__*/React.createElement("span",null," ",langdetect=='en'?item.currencyname_en:item.currencyname_ar)));}))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),sectionproperties.showlanuagecontainer=='Show'&§ionproperties.langresponsiveposition=='In Menu'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3"},LanguageContainer()),sectionproperties.ShowUserBtn=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3 mt-5"},UserButton()),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("button",{"class":' d-flex align-items-center justify-content-center p-0 m-0 ',onClick:function onClick(){LogoutMutationContext.mutate();setmenuactive(false);},style:{width:'90%',height:40,background:'white',color:'#000',fontSize:16}},lang.logout))))))))),sectionproperties.length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i78=authdetailsContext.instinfo)===null||_authdetailsContext$i78===void 0?void 0:_authdetailsContext$i78.contactinfo.instid)=='68b2f02e430ba'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 allcentered",style:{borderBottom:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i79=authdetailsContext.instinfo)===null||_authdetailsContext$i79===void 0?void 0:_authdetailsContext$i79.contactinfo.instid)=='684fdf3f9e856'?'1px solid #ccc':sectionproperties.headerrespborderbottomwidth+' solid '+sectionproperties.headerrespborderbottomcolor}},openSearch==false&&/*#__PURE__*/React.createElement("div",{className:sectionproperties.headerresponsivewidth==100?' row m-0 d-none d-md-flex align-items-center ':' row m-0 d-none d-md-flex align-items-center ',style:{width:sectionproperties.headerresponsivewidth==null?'100vw':sectionproperties.headerresponsivewidth+'vw',background:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i80=authdetailsContext.instinfo)===null||_authdetailsContext$i80===void 0?void 0:_authdetailsContext$i80.instid)=='68319d088f13e'?sectionproperties.resposive_bgcolor:sectionproperties.responsiveheadertransparentbg=='Transparent'&&window.location.pathname=='/home'?scrollYposittionprops>300?sectionproperties.resposive_bgcolor:'transparent':sectionproperties.resposive_bgcolor,borderTopLeftRadius:sectionproperties.headerresponsivebordertopleftradius+'px',borderTopRightRadius:sectionproperties.headerresponsivebordertoprightradius+'px',borderBottomLeftRadius:sectionproperties.headerresponsiveborderbottomleftradius+'px',borderBottomRightRadius:sectionproperties.headerresponsiveborderbottomrightradius+'px'}},/*#__PURE__*/React.createElement("div",{className:"col-md-2 col-sm-2 d-flex filter align-items-center text-start"},InstLogoContainer()),/*#__PURE__*/React.createElement("div",{"class":"col-8 px-1"},/*#__PURE__*/React.createElement("div",{className:' m-auto ',style:{width:'100%',height:40,border:'1px solid #ccc',borderRadius:10// position: 're',
|
|
32322
|
+
},backdrop:true},/*#__PURE__*/React.createElement(Offcanvas.Header,null,/*#__PURE__*/React.createElement(Offcanvas.Title,null,langdetect=='en'&&/*#__PURE__*/React.createElement("div",{"class":"allcentered",style:{position:'absolute',right:-34,top:5,width:30,height:30,background:'#000'},onClick:function onClick(){setopenmenuCanvas(false);}},/*#__PURE__*/React.createElement(IoMdClose,{color:'#fff',size:16})),langdetect=='ar'&&/*#__PURE__*/React.createElement("div",{"class":"allcentered",style:{position:'absolute',left:-34,top:5,width:30,height:30,background:'#000'},onClick:function onClick(){setopenmenuCanvas(false);}},/*#__PURE__*/React.createElement(IoMdClose,{color:'#fff',size:16})),/*#__PURE__*/React.createElement("div",{className:langdetect=='en'?templateproperties_context.templatefontfamily=='OPTIRadiantBold-Condensed'?'row m-0 w-100 mb-4 fontfamilybold':templateproperties_context.templatefontfamily=='ASUL'?'row m-0 w-100 mb-4 ASUL':templateproperties_context.templatefontfamily=='Alata'?'row m-0 w-100 mb-4 alata':templateproperties_context.templatefontfamily=='Montserrat'?'row m-0 w-100 mb-4 montserrat':templateproperties_context.templatefontfamily=='Poiret One'?'row m-0 w-100 mb-4 PoiretOne':templateproperties_context.templatefontfamily=='Bebas Neue'?'row m-0 w-100 mb-4 bebas-neue-regular':templateproperties_context.templatefontfamily=='Lora'?'row m-0 w-100 mb-4 lora':templateproperties_context.templatefontfamily=='Playwrite Deutschland Grundschrift'?'row m-0 w-100 mb-4 playwrite-de-grund':templateproperties_context.templatefontfamily=='Manrope'?'row m-0 w-100 mb-4 Manrope':templateproperties_context.templatefontfamily=='Fira Sans'?'row m-0 w-100 mb-4 fira-sans-thin':templateproperties_context.templatefontfamily=='Ubuntu'?'row m-0 w-100 mb-4 ubuntu':templateproperties_context.templatefontfamily=='Liter'?'row m-0 w-100 mb-4 liter':templateproperties_context.templatefontfamily=='DM Serif Text'?'row m-0 w-100 mb-4 dm-serif-text-regular':templateproperties_context.templatefontfamily=='Righteous'?'row m-0 w-100 mb-4 righteous':templateproperties_context.templatefontfamily=='Cairo'?'row m-0 w-100 mb-4 cairo':templateproperties_context.templatefontfamily=='Playwrite Danmark Loopet'?'row m-0 w-100 mb-4 playwrite-dk-loopet':templateproperties_context.templatefontfamily=='Rubik'?'row m-0 w-100 mb-4 rubik':templateproperties_context.templatefontfamily=='Edu NSW ACT Cursive'?'row m-0 w-100 mb-4 edu-nsw-act-cursive':templateproperties_context.templatefontfamily=='Mozilla Headline'?'row m-0 w-100 mb-4 Mozilla-Headline':templateproperties_context.templatefontfamily=='Bree Serif'?'row m-0 w-100 mb-4 bree-serif':'row m-0 w-100 mb-4 ':templateproperties_context.templatefontfamilyarabic=='Roboto'?'row m-0 w-100 mb-4 roboto':templateproperties_context.templatefontfamilyarabic=='ZaridSlab'?'row m-0 w-100 mb-4 zaridslab':templateproperties_context.templatefontfamilyarabic=='Changa'?'row m-0 w-100 mb-4 Changa':templateproperties_context.templatefontfamilyarabic=='Almarai'?'row m-0 w-100 mb-4 almarai-regular':templateproperties_context.templatefontfamilyarabic=='Lateef'?'row m-0 w-100 mb-4 lateef':templateproperties_context.templatefontfamilyarabic=='Baloo Bhaijaan 2'?'row m-0 w-100 mb-4 BalooBhaijaan2':templateproperties_context.templatefontfamilyarabic=='Cairo'?'row m-0 w-100 mb-4 cairo':templateproperties_context.templatefontfamilyarabic=='Alexandria'?'row m-0 w-100 mb-4 alexandria':templateproperties_context.templatefontfamilyarabic=='Fustat'?'row m-0 w-100 mb-4 fustat':templateproperties_context.templatefontfamilyarabic==' Noto Naskh Arabic'?'row m-0 w-100 mb-4 noto-naskh-arabic':templateproperties_context.templatefontfamilyarabic=='Tajawal'?'row m-0 w-100 mb-4 tajawal':'row m-0 w-100 mb-4',style:{borderBottom:'1px solid #eee'}},/*#__PURE__*/React.createElement("div",{className:sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'?'col-12 allcentered py-3':'col-6 allcentered py-3',onClick:function onClick(){setactiveTab('menu');},style:{background:sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'?'':activeTab=='menu'?'white':'#eee'}},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{textTransform:'uppercase',fontWeight:500,fontSize:'15px',transition:'.3s',color:sectionproperties.header_fontColorresponsive}},langdetect=='en'?'MENU':'القائمة')),sectionproperties.responsiveheaderstyle!='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement("div",{className:'col-6 allcentered py-3',onClick:function onClick(){setactiveTab('categories');},style:{background:activeTab=='categories'?'white':'#eee'}},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{textTransform:'uppercase',fontWeight:500,fontSize:'15px',transition:'.3s',color:sectionproperties.header_fontColorresponsive}},langdetect=='en'?sectionproperties.titlerespen:sectionproperties.titlerespar))))),/*#__PURE__*/React.createElement(Offcanvas.Body,null,/*#__PURE__*/React.createElement("div",{style:{minHeight:'80vh',backgroundImage:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i63=authdetailsContext.instinfo)===null||_authdetailsContext$i63===void 0?void 0:_authdetailsContext$i63.instid)=='69e11d9c75989'?'url(https://ik.imagekit.io/42fa3n8bbf/products/69e11d9c75989/69f71a442e6d0generalimage.png)':'',backgroundSize:'cover'},"class":langdetect=='en'?templateproperties_context.templatefontfamily=='OPTIRadiantBold-Condensed'?' fontfamilybold':templateproperties_context.templatefontfamily=='ASUL'?' ASUL':templateproperties_context.templatefontfamily=='Alata'?' alata':templateproperties_context.templatefontfamily=='Montserrat'?' montserrat':templateproperties_context.templatefontfamily=='Poiret One'?' PoiretOne':templateproperties_context.templatefontfamily=='Bebas Neue'?' bebas-neue-regular':templateproperties_context.templatefontfamily=='Lora'?' lora':templateproperties_context.templatefontfamily=='Playwrite Deutschland Grundschrift'?' playwrite-de-grund':templateproperties_context.templatefontfamily=='Manrope'?' Manrope':templateproperties_context.templatefontfamily=='Fira Sans'?' fira-sans-thin':templateproperties_context.templatefontfamily=='Ubuntu'?' ubuntu':templateproperties_context.templatefontfamily=='Liter'?' liter':templateproperties_context.templatefontfamily=='DM Serif Text'?' dm-serif-text-regular':templateproperties_context.templatefontfamily=='Righteous'?' righteous':templateproperties_context.templatefontfamily=='Cairo'?' cairo':templateproperties_context.templatefontfamily=='Playwrite Danmark Loopet'?' playwrite-dk-loopet':templateproperties_context.templatefontfamily=='Rubik'?' rubik':templateproperties_context.templatefontfamily=='Edu NSW ACT Cursive'?' edu-nsw-act-cursive':templateproperties_context.templatefontfamily=='Mozilla Headline'?' Mozilla-Headline':templateproperties_context.templatefontfamily=='Bree Serif'?' bree-serif':' ':templateproperties_context.templatefontfamilyarabic=='Roboto'?' roboto':templateproperties_context.templatefontfamilyarabic=='ZaridSlab'?' zaridslab':templateproperties_context.templatefontfamilyarabic=='Changa'?' Changa':templateproperties_context.templatefontfamilyarabic=='Almarai'?' almarai-regular':templateproperties_context.templatefontfamilyarabic=='Lateef'?' lateef':templateproperties_context.templatefontfamilyarabic=='Baloo Bhaijaan 2'?' BalooBhaijaan2':templateproperties_context.templatefontfamilyarabic=='Cairo'?' cairo':templateproperties_context.templatefontfamilyarabic=='Alexandria'?' alexandria':templateproperties_context.templatefontfamilyarabic=='Fustat'?' fustat':templateproperties_context.templatefontfamilyarabic==' Noto Naskh Arabic'?' noto-naskh-arabic':templateproperties_context.templatefontfamilyarabic=='Tajawal'?' tajawal':''},activeTab=='menu'&&/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 anim '},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("ul",{className:' d-flex justify-content-center flex-column p-0 '},templatepropcontext.pagesnprop.map(function(item,index){if(item.isnavigation==1&&item.isactive==1&&item.pageorderindex==0){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}}),sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 '},sectionproperties.subheaderParentType=='Categories'&&CategoriesAccordion(),sectionproperties.subheaderParentType=='Parent Collections'&&ParentCollectionsAccordion(),sectionproperties.subheaderParentType=='Collections'&&CollectionsAccordion()),templatepropcontext.pagesnprop.map(function(item,index){if(item.isnavigation==1&&item.isactive==1&&item.pageorderindex>0){var _authdetailsContext$i64,_authdetailsContext$i65,_authdetailsContext$i66,_authdetailsContext$i67,_authdetailsContext$i68;if((authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i64=authdetailsContext.instinfo)===null||_authdetailsContext$i64===void 0?void 0:_authdetailsContext$i64.instid)!='68c6bc629acb2'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i65=authdetailsContext.instinfo)===null||_authdetailsContext$i65===void 0?void 0:_authdetailsContext$i65.instid)!='69358e8e586a8'){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}else if((authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i66=authdetailsContext.instinfo)===null||_authdetailsContext$i66===void 0?void 0:_authdetailsContext$i66.instid)=='68c6bc629acb2'&&item.pagename!='About Us'){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}else if((authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i67=authdetailsContext.instinfo)===null||_authdetailsContext$i67===void 0?void 0:_authdetailsContext$i67.instid)=='68c6bc629acb2'&&item.pagename=='About Us'){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 anim px-3"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:false,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,{uuid:index},/*#__PURE__*/React.createElement(AccordionItemHeading,{onClick:function onClick(){setChoosenindex(index);}},/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{className:' row m-0 p-0 w-100 '},/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbar_item_text_responsive+' col-10 p-0 d-flex align-items-center justify-content-start cursor-pointer ',style:{marginTop:sectionproperties.navitemmarginvertical+'px',marginBottom:sectionproperties.navitemmarginvertical+'px'}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbarItem)+' mb-0 p-0 '},langdetect=='en'?'About Us':'معلومات عنا')),/*#__PURE__*/React.createElement("div",{className:"col-2 col-md-2 col-sm-2 p-0 text-end"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' collapsetitle h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FiChevronUp,{style:{fontSize:15}}));}else {return/*#__PURE__*/React.createElement("i",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' collapsetitle h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FiChevronDown,{style:{fontSize:15}}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{className:"row mt-3 mb-2 ml-0 mr-0 d-lg-flex"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{className:' row m-0 p-0 mb-2 '},/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 px-3 '},/*#__PURE__*/React.createElement("div",{className:"col-10 p-0 text-start",onClick:function onClick(){routingcountext('overview',false,'');setopenmenuCanvas(false);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 ',style:{}},langdetect=='en'?'Overview':'ملخص'))))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{className:' row m-0 p-0 mb-2 '},/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 px-3 '},/*#__PURE__*/React.createElement("div",{className:"col-10 p-0 text-start",onClick:function onClick(){routingcountext('equipment',false,'');setopenmenuCanvas(false);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 ',style:{}},langdetect=='en'?'Equipment':'المعدات')))))))))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}else if((authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i68=authdetailsContext.instinfo)===null||_authdetailsContext$i68===void 0?void 0:_authdetailsContext$i68.instid)=='69358e8e586a8'){if(item.pagename!='Services'){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}else {return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:false,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,{uuid:index},/*#__PURE__*/React.createElement(AccordionItemHeading,{onClick:function onClick(){setChoosenindex(index);}},/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{className:' row m-0 p-0 w-100 pl-3 pr-3'},/*#__PURE__*/React.createElement("div",{className:"col-10 p-0 d-flex justify-content-start ",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar)),/*#__PURE__*/React.createElement("div",{className:"col-2 col-md-2 col-sm-2 p-0 text-end"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' collapsetitle h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FiChevronUp,{style:{fontSize:15}}));}else {return/*#__PURE__*/React.createElement("i",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' collapsetitle h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FiChevronDown,{style:{fontSize:15}}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{className:"row mt-3 mb-2 ml-0 mr-0 d-lg-flex px-4"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3",onClick:function onClick(){routingcountext('design-build',false,'');setopenmenuCanvas(false);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 ',style:{}},langdetect=='en'?'Design & Build':'التصميم والبناء')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3",onClick:function onClick(){routingcountext('villa-construction',false,'');setopenmenuCanvas(false);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 ',style:{}},langdetect=='en'?'Villa Construction':'بناء فيلا')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3",onClick:function onClick(){routingcountext('fitout',false,'');setopenmenuCanvas(false);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 ',style:{}},langdetect=='en'?'Fitout':'تجهيز')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0",onClick:function onClick(){routingcountext('joinery-manufacturing',false,'');setopenmenuCanvas(false);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 ',style:{}},langdetect=='en'?'Joinery & Manufacturing':'النجارة والتصنيع')))))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}}}}),authdetailsContext.loggedin==true&§ionproperties.ShowUserBtn=='Show'&§ionproperties.showprevorder=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i69=authdetailsContext.instinfo)===null||_authdetailsContext$i69===void 0?void 0:_authdetailsContext$i69.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i70=authdetailsContext.instinfo)===null||_authdetailsContext$i70===void 0?void 0:_authdetailsContext$i70.contactinfo.instid)=='6804c4480fde5'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Wishlist);}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i71=authdetailsContext.instinfo)===null||_authdetailsContext$i71===void 0?void 0:_authdetailsContext$i71.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?lang.wishlist:'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i72=authdetailsContext.instinfo)===null||_authdetailsContext$i72===void 0?void 0:_authdetailsContext$i72.contactinfo.instid)=='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?'Wish List':'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i73=authdetailsContext.instinfo)===null||_authdetailsContext$i73===void 0?void 0:_authdetailsContext$i73.contactinfo.instid)!='6808c6295b598'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i74=authdetailsContext.instinfo)===null||_authdetailsContext$i74===void 0?void 0:_authdetailsContext$i74.contactinfo.instid)!='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.wishlist)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='No'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Policies);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.policies)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.PrivacyPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj15=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj15===void 0?void 0:_returnpolicyobj15.policypagename_en:(_returnpolicyobj16=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj16===void 0?void 0:_returnpolicyobj16.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.ShippingPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj17=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj17===void 0?void 0:_returnpolicyobj17.policypagename_en:(_returnpolicyobj18=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj18===void 0?void 0:_returnpolicyobj18.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.RefundPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj19=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj19===void 0?void 0:_returnpolicyobj19.policypagename_en:(_returnpolicyobj20=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj20===void 0?void 0:_returnpolicyobj20.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.TermsConditions);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj21=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj21===void 0?void 0:_returnpolicyobj21.policypagename_en:(_returnpolicyobj22=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj22===void 0?void 0:_returnpolicyobj22.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext!=undefined&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i75=authdetailsContext.instinfo)===null||_authdetailsContext$i75===void 0||(_authdetailsContext$i75=_authdetailsContext$i75.instcurrencies)===null||_authdetailsContext$i75===void 0?void 0:_authdetailsContext$i75.length)>1&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i76=authdetailsContext.instinfo)===null||_authdetailsContext$i76===void 0?void 0:_authdetailsContext$i76.contactinfo.instid)=='67f69c023cbd4'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbar_item_text_responsive+' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.navbar_item_text_responsive,cursor:'default'}},langdetect=='en'?'Currency':'العملة')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{background:'#f4f4f4',borderRadius:5}},authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i77=authdetailsContext.instinfo)===null||_authdetailsContext$i77===void 0||(_authdetailsContext$i77=_authdetailsContext$i77.instcurrencies)===null||_authdetailsContext$i77===void 0?void 0:_authdetailsContext$i77.map(function(item,index){return/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbar_item_text_responsive+' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',onClick:function onClick(){setcurrencyfunccontext(item);}},/*#__PURE__*/React.createElement("label",{"class":langdetect=='en'?"".concat(formstyles.radiobtn_label)+' p-0 ':"".concat(formstyles.radiobtn_label," ").concat(formstyles.radiobtn_label_translated)+' p-0 '},/*#__PURE__*/React.createElement("input",{type:"radio",name:"radio",value:item.currencyname_en,checked:item.currencyname_en==(authdetailsContext===null||authdetailsContext===void 0?void 0:authdetailsContext.currencyname_en)?true:false}),/*#__PURE__*/React.createElement("span",null," ",langdetect=='en'?item.currencyname_en:item.currencyname_ar)));}))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),sectionproperties.showlanuagecontainer=='Show'&§ionproperties.langresponsiveposition=='In Menu'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3"},LanguageContainer()),sectionproperties.ShowUserBtn=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3 mt-5"},UserButton()),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 allcentered mt-5"},/*#__PURE__*/React.createElement("button",{"class":' d-flex align-items-center justify-content-center p-0 m-0 ',onClick:function onClick(){LogoutMutationContext.mutate();setmenuactive(false);},style:{width:'90%',height:40,background:'white',color:'#000',fontSize:16}},lang.logout))))))))),sectionproperties.length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i78=authdetailsContext.instinfo)===null||_authdetailsContext$i78===void 0?void 0:_authdetailsContext$i78.contactinfo.instid)=='68b2f02e430ba'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 allcentered",style:{borderBottom:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i79=authdetailsContext.instinfo)===null||_authdetailsContext$i79===void 0?void 0:_authdetailsContext$i79.contactinfo.instid)=='684fdf3f9e856'?'1px solid #ccc':sectionproperties.headerrespborderbottomwidth+' solid '+sectionproperties.headerrespborderbottomcolor}},openSearch==false&&/*#__PURE__*/React.createElement("div",{className:sectionproperties.headerresponsivewidth==100?' row m-0 d-none d-md-flex align-items-center ':' row m-0 d-none d-md-flex align-items-center ',style:{width:sectionproperties.headerresponsivewidth==null?'100vw':sectionproperties.headerresponsivewidth+'vw',background:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i80=authdetailsContext.instinfo)===null||_authdetailsContext$i80===void 0?void 0:_authdetailsContext$i80.instid)=='68319d088f13e'?sectionproperties.resposive_bgcolor:sectionproperties.responsiveheadertransparentbg=='Transparent'&&window.location.pathname=='/home'?scrollYposittionprops>300?sectionproperties.resposive_bgcolor:'transparent':sectionproperties.resposive_bgcolor,borderTopLeftRadius:sectionproperties.headerresponsivebordertopleftradius+'px',borderTopRightRadius:sectionproperties.headerresponsivebordertoprightradius+'px',borderBottomLeftRadius:sectionproperties.headerresponsiveborderbottomleftradius+'px',borderBottomRightRadius:sectionproperties.headerresponsiveborderbottomrightradius+'px'}},/*#__PURE__*/React.createElement("div",{className:"col-md-2 col-sm-2 d-flex filter align-items-center text-start"},InstLogoContainer()),/*#__PURE__*/React.createElement("div",{"class":"col-8 px-1"},/*#__PURE__*/React.createElement("div",{className:' m-auto ',style:{width:'100%',height:40,border:'1px solid #ccc',borderRadius:10// position: 're',
|
|
32273
32323
|
}},/*#__PURE__*/React.createElement("div",{"class":"w-100 d-flex flex-row"},/*#__PURE__*/React.createElement("input",{type:"text",placeholder:langdetect=='en'?sectionproperties.search_placeholder_en:sectionproperties.search_placeholder_ar,className:"".concat(header_cssstyles.searchbarcont_input)+' mt-0 px-2 ',onChange:function onChange(event){setSearchHeaderInputContext(event.target.value);},style:{border:'none',fontSize:13,flex:1}}),/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center m-0 pr-0 cursor-pointer ',style:{width:30,height:40,background:'#0a6d73',// right: langdetect == 'en' ? 5 : '',
|
|
32274
32324
|
// left: langdetect == 'en' ? 5 : '',
|
|
32275
32325
|
display:'flex',justifyContent:'center',alignItems:'center',textAlign:'center',color:'white',transition:'0.3s ease',borderTopRightRadius:langdetect=='en'?10:0,borderTopLeftRadius:langdetect=='ar'?10:0,borderBottomRightRadius:langdetect=='en'?10:0,borderBottomLeftRadius:langdetect=='ar'?10:0// position: 'absolute',
|
|
@@ -32297,9 +32347,9 @@ className:sectionproperties.responsiveheaderstyle=='Style 2 With Subheader Only'
|
|
|
32297
32347
|
background:sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'?sectionproperties.responsiveheadertabbgactive:activeTab=='categories'?sectionproperties.responsiveheadertabbgactive:sectionproperties.responsiveheaderbgtab// background: sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' ? '' : activeTab == 'categories' ? 'white' : '#eee',
|
|
32298
32348
|
}},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{textTransform:'uppercase',fontWeight:500,fontSize:'15px',transition:'.3s',// color: sectionproperties.header_fontColorresponsive,
|
|
32299
32349
|
color:sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'?sectionproperties.responsiveheadertabactivecolor:activeTab=='categories'?sectionproperties.responsiveheadertabactivecolor:sectionproperties.responsiveheadertabcolor}},langdetect=='en'?sectionproperties.titlerespen:sectionproperties.titlerespar))))),/*#__PURE__*/React.createElement(Offcanvas.Body,null,/*#__PURE__*/React.createElement("div",{style:{minHeight:'80vh'}},activeTab=='menu'&&/*#__PURE__*/// {activeTab == 'menu' && authdetailsContext?.instinfo?.contactinfo.instid != '6783c92e08789' && (
|
|
32300
|
-
React.createElement("div",{className:' row m-0 w-100 anim '},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("ul",{className:' d-flex justify-content-center flex-column p-0 '},templatepropcontext.pagesnprop.map(function(item,index){if(item.isnavigation==1&&item.isactive==1){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}}),sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Wishlist);}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i103=authdetailsContext.instinfo)===null||_authdetailsContext$i103===void 0?void 0:_authdetailsContext$i103.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?lang.wishlist:'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i104=authdetailsContext.instinfo)===null||_authdetailsContext$i104===void 0?void 0:_authdetailsContext$i104.contactinfo.instid)=='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?'Wish List':'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i105=authdetailsContext.instinfo)===null||_authdetailsContext$i105===void 0?void 0:_authdetailsContext$i105.contactinfo.instid)!='6808c6295b598'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i106=authdetailsContext.instinfo)===null||_authdetailsContext$i106===void 0?void 0:_authdetailsContext$i106.contactinfo.instid)!='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.wishlist)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='No'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Policies);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.policies)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.PrivacyPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj31=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj31===void 0?void 0:_returnpolicyobj31.policypagename_en:(_returnpolicyobj32=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj32===void 0?void 0:_returnpolicyobj32.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.ShippingPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj33=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj33===void 0?void 0:_returnpolicyobj33.policypagename_en:(_returnpolicyobj34=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj34===void 0?void 0:_returnpolicyobj34.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.RefundPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj35=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj35===void 0?void 0:_returnpolicyobj35.policypagename_en:(_returnpolicyobj36=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj36===void 0?void 0:_returnpolicyobj36.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.TermsConditions);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj37=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj37===void 0?void 0:_returnpolicyobj37.policypagename_en:(_returnpolicyobj38=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj38===void 0?void 0:_returnpolicyobj38.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&§ionproperties.showprevorder=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i107=authdetailsContext.instinfo)===null||_authdetailsContext$i107===void 0?void 0:_authdetailsContext$i107.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i108=authdetailsContext.instinfo)===null||_authdetailsContext$i108===void 0?void 0:_authdetailsContext$i108.contactinfo.instid)=='6804c4480fde5'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),sectionproperties.showlanuagecontainer=='Show'&§ionproperties.langresponsiveposition=='In Menu'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbarItem+' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',style:{}},/*#__PURE__*/React.createElement("p",{"class":"".concat(header_cssstyles.navbar_item_text_responsive)+' m-0 p-0 ',style:{cursor:'default'}},langdetect=='en'?'Language':'اللغة')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex align-items-center justify-content-start my-1"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{background:sectionproperties.langcontainerbgresp,borderRadius:5}},/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbarItem+' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',onClick:function onClick(){setlang('en');setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 w-100 allcentered py-3",style:{background:langdetect=='en'?sectionproperties.langcontainerbgresp_active:'transparent',borderRadius:5,fontSize:15,color:sectionproperties.language_container_color_resp}},"English")),/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbarItem+' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',onClick:function onClick(){setlang('ar');setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 w-100 allcentered py-3",style:{borderRadius:5,background:langdetect=='ar'?sectionproperties.langcontainerbgresp_active:'transparent',fontSize:15,color:sectionproperties.language_container_color_resp}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i109=authdetailsContext.instinfo)===null||_authdetailsContext$i109===void 0?void 0:_authdetailsContext$i109.contactinfo.instid)=='6808c6295b598'?'عربي':(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i110=authdetailsContext.instinfo)===null||_authdetailsContext$i110===void 0?void 0:_authdetailsContext$i110.contactinfo.instid)=='68a1927aa368f'?'لغة عربية':'اللغة العربية'))))),sectionproperties.ShowUserBtn=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3 mt-5"},!authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("button",{"class":"".concat(header_cssstyles.userbtn_respContainer)+' anim d-flex align-items-center justify-content-start p-0 m-0 ',onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Login);setmenuactive(false);}},/*#__PURE__*/React.createElement("i",{"class":"".concat(header_cssstyles.userbtnLoggedin_icon)+' h-100 allcentered userbtn_resp m-0 p-0 p-0 '},/*#__PURE__*/React.createElement(BiUser,null)),/*#__PURE__*/React.createElement("span",{"class":"userbtn_resp mx-2"},langdetect=='en'?'Login/Register':'تسجيل دخول/إنشاء حساب')),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("button",{"class":"".concat(header_cssstyles.userbtn_respContainer)+' anim d-flex align-items-center justify-content-start p-0 m-0 ',onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.accountinfo);setmenuactive(false);}},/*#__PURE__*/React.createElement("i",{"class":"".concat(header_cssstyles.userbtnLoggedin_icon)+' h-100 allcentered userbtn_resp m-0 p-0 p-0 '},/*#__PURE__*/React.createElement(BiUser,null)),/*#__PURE__*/React.createElement("span",{"class":header_cssstyles.loggedintext+' text-start text-overflow d-block loggedintext mx-2 '},authdetailsContext.customerinfo.name)),sectionproperties.ShowUserBtn=='Show'&&authdetailsContext.loggedin&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$c9=authdetailsContext.customerinfo)===null||_authdetailsContext$c9===void 0?void 0:_authdetailsContext$c9.cancustomerviewwallet)==1&&templateproperties_context.showwallet=='Show'&&/*#__PURE__*/React.createElement("div",{"class":'col-12 p-0 m-0 p-0 d-flex justify-content-start flex-row ',style:{}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.userBtnTextresp_color,fontSize:templateproperties_context.walletfontize+'px',fontWeight:500}},langdetect=='en'?templateproperties_context.walletcontent_en:templateproperties_context.walletcontent_ar),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 mx-1",style:{color:sectionproperties.userBtnTextresp_color,fontSize:'15px',fontWeight:600}},authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$c0=authdetailsContext.customerinfo)===null||_authdetailsContext$c0===void 0?void 0:_authdetailsContext$c0.walletpoints,' '))),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("button",{"class":' d-flex align-items-center justify-content-center p-0 m-0 ',onClick:function onClick(){LogoutMutationContext.mutate();setmenuactive(false);},style:{width:'90%',height:40,background:'white',color:'#000',fontSize:16}},lang.logout))))),activeTab=='categories'&§ionproperties.responsiveheaderstyle!='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 accordionContainer anim'},sectionproperties.subheaderParentType=='Categories'&&CategoriesAccordion(),sectionproperties.subheaderParentType=='Parent Collections'&&ParentCollectionsAccordion(),sectionproperties.subheaderParentType=='Collections'&&CollectionsAccordion(),sectionproperties.responsiveheaderstyle=='Style 2 With Subheader Only'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},sectionproperties.showlanuagecontainer=='Show'&§ionproperties.langresponsiveposition=='In Menu'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3"},LanguageContainer()),sectionproperties.ShowUserBtn=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3 mt-5"},UserButton()),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("button",{"class":' d-flex align-items-center justify-content-center p-0 m-0 ',onClick:function onClick(){LogoutMutationContext.mutate();setmenuactive(false);},style:{width:'90%',height:40,background:'white',color:'#000',fontSize:16}},lang.logout))))))),sectionproperties.length!=0&§ionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement(Offcanvas,{show:openmenuCanvas,onHide:function onHide(){setopenmenuCanvas(false);},placement:langdetect=='en'?'start':'end',scroll:true,style:{width:'90%',// backgroundColor: 'white',
|
|
32350
|
+
React.createElement("div",{className:' row m-0 w-100 anim '},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("ul",{className:' d-flex justify-content-center flex-column p-0 '},templatepropcontext.pagesnprop.map(function(item,index){if(item.isnavigation==1&&item.isactive==1){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}}),sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Wishlist);}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i103=authdetailsContext.instinfo)===null||_authdetailsContext$i103===void 0?void 0:_authdetailsContext$i103.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?lang.wishlist:'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i104=authdetailsContext.instinfo)===null||_authdetailsContext$i104===void 0?void 0:_authdetailsContext$i104.contactinfo.instid)=='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?'Wish List':'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i105=authdetailsContext.instinfo)===null||_authdetailsContext$i105===void 0?void 0:_authdetailsContext$i105.contactinfo.instid)!='6808c6295b598'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i106=authdetailsContext.instinfo)===null||_authdetailsContext$i106===void 0?void 0:_authdetailsContext$i106.contactinfo.instid)!='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.wishlist)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='No'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Policies);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.policies)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.PrivacyPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj31=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj31===void 0?void 0:_returnpolicyobj31.policypagename_en:(_returnpolicyobj32=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj32===void 0?void 0:_returnpolicyobj32.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.ShippingPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj33=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj33===void 0?void 0:_returnpolicyobj33.policypagename_en:(_returnpolicyobj34=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj34===void 0?void 0:_returnpolicyobj34.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.RefundPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj35=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj35===void 0?void 0:_returnpolicyobj35.policypagename_en:(_returnpolicyobj36=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj36===void 0?void 0:_returnpolicyobj36.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.TermsConditions);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj37=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj37===void 0?void 0:_returnpolicyobj37.policypagename_en:(_returnpolicyobj38=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj38===void 0?void 0:_returnpolicyobj38.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&§ionproperties.showprevorder=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i107=authdetailsContext.instinfo)===null||_authdetailsContext$i107===void 0?void 0:_authdetailsContext$i107.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i108=authdetailsContext.instinfo)===null||_authdetailsContext$i108===void 0?void 0:_authdetailsContext$i108.contactinfo.instid)=='6804c4480fde5'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),sectionproperties.showlanuagecontainer=='Show'&§ionproperties.langresponsiveposition=='In Menu'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbarItem+' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',style:{}},/*#__PURE__*/React.createElement("p",{"class":"".concat(header_cssstyles.navbar_item_text_responsive)+' m-0 p-0 ',style:{cursor:'default'}},langdetect=='en'?'Language':'اللغة')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex align-items-center justify-content-start my-1"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{background:sectionproperties.langcontainerbgresp,borderRadius:5}},/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbarItem+' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',onClick:function onClick(){setlang('en');setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 w-100 allcentered py-3",style:{background:langdetect=='en'?sectionproperties.langcontainerbgresp_active:'transparent',borderRadius:5,fontSize:15,color:sectionproperties.language_container_color_resp}},"English")),/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbarItem+' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',onClick:function onClick(){setlang('ar');setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 w-100 allcentered py-3",style:{borderRadius:5,background:langdetect=='ar'?sectionproperties.langcontainerbgresp_active:'transparent',fontSize:15,color:sectionproperties.language_container_color_resp}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i109=authdetailsContext.instinfo)===null||_authdetailsContext$i109===void 0?void 0:_authdetailsContext$i109.contactinfo.instid)=='6808c6295b598'?'عربي':(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i110=authdetailsContext.instinfo)===null||_authdetailsContext$i110===void 0?void 0:_authdetailsContext$i110.contactinfo.instid)=='68a1927aa368f'?'لغة عربية':'اللغة العربية'))))),sectionproperties.ShowUserBtn=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3 mt-5"},!authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("button",{"class":"".concat(header_cssstyles.userbtn_respContainer)+' anim d-flex align-items-center justify-content-start p-0 m-0 ',onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Login);setmenuactive(false);}},/*#__PURE__*/React.createElement("i",{"class":"".concat(header_cssstyles.userbtnLoggedin_icon)+' h-100 allcentered userbtn_resp m-0 p-0 p-0 '},/*#__PURE__*/React.createElement(BiUser,null)),/*#__PURE__*/React.createElement("span",{"class":"userbtn_resp mx-2"},langdetect=='en'?'Login/Register':'تسجيل دخول/إنشاء حساب')),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("button",{"class":"".concat(header_cssstyles.userbtn_respContainer)+' anim d-flex align-items-center justify-content-start p-0 m-0 ',onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.accountinfo);setmenuactive(false);}},/*#__PURE__*/React.createElement("i",{"class":"".concat(header_cssstyles.userbtnLoggedin_icon)+' h-100 allcentered userbtn_resp m-0 p-0 p-0 '},/*#__PURE__*/React.createElement(BiUser,null)),/*#__PURE__*/React.createElement("span",{"class":header_cssstyles.loggedintext+' text-start text-overflow d-block loggedintext mx-2 '},authdetailsContext.customerinfo.name)),sectionproperties.ShowUserBtn=='Show'&&authdetailsContext.loggedin&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$c9=authdetailsContext.customerinfo)===null||_authdetailsContext$c9===void 0?void 0:_authdetailsContext$c9.cancustomerviewwallet)==1&&templateproperties_context.showwallet=='Show'&&/*#__PURE__*/React.createElement("div",{"class":'col-12 p-0 m-0 p-0 d-flex justify-content-start flex-row ',style:{}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.userBtnTextresp_color,fontSize:templateproperties_context.walletfontize+'px',fontWeight:500}},langdetect=='en'?templateproperties_context.walletcontent_en:templateproperties_context.walletcontent_ar),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 mx-1",style:{color:sectionproperties.userBtnTextresp_color,fontSize:'15px',fontWeight:600}},authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$c0=authdetailsContext.customerinfo)===null||_authdetailsContext$c0===void 0?void 0:_authdetailsContext$c0.walletpoints,' '))),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 allcentered mt-5"},/*#__PURE__*/React.createElement("button",{"class":' d-flex align-items-center justify-content-center p-0 m-0 ',onClick:function onClick(){LogoutMutationContext.mutate();setmenuactive(false);},style:{width:'90%',height:40,background:'white',color:'#000',fontSize:16}},lang.logout))))),activeTab=='categories'&§ionproperties.responsiveheaderstyle!='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 accordionContainer anim'},sectionproperties.subheaderParentType=='Categories'&&CategoriesAccordion(),sectionproperties.subheaderParentType=='Parent Collections'&&ParentCollectionsAccordion(),sectionproperties.subheaderParentType=='Collections'&&CollectionsAccordion(),sectionproperties.responsiveheaderstyle=='Style 2 With Subheader Only'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},sectionproperties.showlanuagecontainer=='Show'&§ionproperties.langresponsiveposition=='In Menu'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3"},LanguageContainer()),sectionproperties.ShowUserBtn=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3 mt-5"},UserButton()),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 allcentered mt-5"},/*#__PURE__*/React.createElement("button",{"class":' d-flex align-items-center justify-content-center p-0 m-0 ',onClick:function onClick(){LogoutMutationContext.mutate();setmenuactive(false);},style:{width:'90%',height:40,background:'white',color:'#000',fontSize:16}},lang.logout))))))),sectionproperties.length!=0&§ionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement(Offcanvas,{show:openmenuCanvas,onHide:function onHide(){setopenmenuCanvas(false);},placement:langdetect=='en'?'start':'end',scroll:true,style:{width:'90%',// backgroundColor: 'white',
|
|
32301
32351
|
background:sectionproperties.responsivesliderbgcolor==null?'white':sectionproperties.responsivesliderbgcolor// background: sectionproperties.resposive_bgcolor,
|
|
32302
|
-
},backdrop:true},/*#__PURE__*/React.createElement(Offcanvas.Header,null,/*#__PURE__*/React.createElement(Offcanvas.Title,null,langdetect=='en'&&/*#__PURE__*/React.createElement("div",{"class":"allcentered",style:{position:'absolute',right:-34,top:5,width:30,height:30,background:'#000'},onClick:function onClick(){setopenmenuCanvas(false);}},/*#__PURE__*/React.createElement(IoMdClose,{color:'#fff',size:16})),langdetect=='ar'&&/*#__PURE__*/React.createElement("div",{"class":"allcentered",style:{position:'absolute',left:-34,top:5,width:30,height:30,background:'#000'},onClick:function onClick(){setopenmenuCanvas(false);}},/*#__PURE__*/React.createElement(IoMdClose,{color:'#fff',size:16})),/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 mb-4",style:{borderBottom:'1px solid #eee'}},/*#__PURE__*/React.createElement("div",{className:sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'?'col-12 allcentered py-3':'col-6 allcentered py-3',onClick:function onClick(){setactiveTab('menu');},style:{background:sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'?'':activeTab=='menu'?'white':'#eee'}},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{textTransform:'uppercase',fontWeight:500,fontSize:'15px',transition:'.3s',color:sectionproperties.header_fontColorresponsive}},langdetect=='en'?'MENU':'القائمة')),sectionproperties.responsiveheaderstyle!='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement("div",{className:'col-6 allcentered py-3',onClick:function onClick(){setactiveTab('categories');},style:{background:activeTab=='categories'?'white':'#eee'}},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{textTransform:'uppercase',fontWeight:500,fontSize:'15px',transition:'.3s',color:sectionproperties.header_fontColorresponsive}},langdetect=='en'?sectionproperties.titlerespen:sectionproperties.titlerespar))))),/*#__PURE__*/React.createElement(Offcanvas.Body,null,/*#__PURE__*/React.createElement("div",{style:{minHeight:'80vh'}},activeTab=='menu'&&/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 anim '},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("ul",{className:' d-flex justify-content-center flex-column p-0 '},templatepropcontext.pagesnprop.map(function(item,index){if(item.isnavigation==1&&item.isactive==1&&item.pageorderindex==0){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}}),sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 '},sectionproperties.subheaderParentType=='Categories'&&CategoriesAccordion(),sectionproperties.subheaderParentType=='Parent Collections'&&ParentCollectionsAccordion(),sectionproperties.subheaderParentType=='Collections'&&CollectionsAccordion()),templatepropcontext.pagesnprop.map(function(item,index){if(item.isnavigation==1&&item.isactive==1&&item.pageorderindex>0){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}}),authdetailsContext.loggedin==true&§ionproperties.ShowUserBtn=='Show'&§ionproperties.showprevorder=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i111=authdetailsContext.instinfo)===null||_authdetailsContext$i111===void 0?void 0:_authdetailsContext$i111.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i112=authdetailsContext.instinfo)===null||_authdetailsContext$i112===void 0?void 0:_authdetailsContext$i112.contactinfo.instid)=='6804c4480fde5'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Wishlist);}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i113=authdetailsContext.instinfo)===null||_authdetailsContext$i113===void 0?void 0:_authdetailsContext$i113.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?lang.wishlist:'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i114=authdetailsContext.instinfo)===null||_authdetailsContext$i114===void 0?void 0:_authdetailsContext$i114.contactinfo.instid)=='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?'Wish List':'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i115=authdetailsContext.instinfo)===null||_authdetailsContext$i115===void 0?void 0:_authdetailsContext$i115.contactinfo.instid)!='6808c6295b598'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i116=authdetailsContext.instinfo)===null||_authdetailsContext$i116===void 0?void 0:_authdetailsContext$i116.contactinfo.instid)!='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.wishlist)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='No'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Policies);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.policies)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.PrivacyPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj39=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj39===void 0?void 0:_returnpolicyobj39.policypagename_en:(_returnpolicyobj40=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj40===void 0?void 0:_returnpolicyobj40.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.ShippingPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj41=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj41===void 0?void 0:_returnpolicyobj41.policypagename_en:(_returnpolicyobj42=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj42===void 0?void 0:_returnpolicyobj42.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.RefundPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj43=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj43===void 0?void 0:_returnpolicyobj43.policypagename_en:(_returnpolicyobj44=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj44===void 0?void 0:_returnpolicyobj44.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.TermsConditions);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj45=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj45===void 0?void 0:_returnpolicyobj45.policypagename_en:(_returnpolicyobj46=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj46===void 0?void 0:_returnpolicyobj46.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext!=undefined&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i117=authdetailsContext.instinfo)===null||_authdetailsContext$i117===void 0||(_authdetailsContext$i117=_authdetailsContext$i117.instcurrencies)===null||_authdetailsContext$i117===void 0?void 0:_authdetailsContext$i117.length)>1&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i118=authdetailsContext.instinfo)===null||_authdetailsContext$i118===void 0?void 0:_authdetailsContext$i118.contactinfo.instid)=='67f69c023cbd4'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbar_item_text_responsive+' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.navbar_item_text_responsive,cursor:'default'}},langdetect=='en'?'Currency':'العملة')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{background:'#f4f4f4',borderRadius:5}},authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i119=authdetailsContext.instinfo)===null||_authdetailsContext$i119===void 0||(_authdetailsContext$i119=_authdetailsContext$i119.instcurrencies)===null||_authdetailsContext$i119===void 0?void 0:_authdetailsContext$i119.map(function(item,index){return/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbar_item_text_responsive+' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',onClick:function onClick(){setcurrencyfunccontext(item);}},/*#__PURE__*/React.createElement("label",{"class":langdetect=='en'?"".concat(formstyles.radiobtn_label)+' p-0 ':"".concat(formstyles.radiobtn_label," ").concat(formstyles.radiobtn_label_translated)+' p-0 '},/*#__PURE__*/React.createElement("input",{type:"radio",name:"radio",value:item.currencyname_en,checked:item.currencyname_en==(authdetailsContext===null||authdetailsContext===void 0?void 0:authdetailsContext.currencyname_en)?true:false}),/*#__PURE__*/React.createElement("span",null," ",langdetect=='en'?item.currencyname_en:item.currencyname_ar)));}))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),sectionproperties.showlanuagecontainer=='Show'&§ionproperties.langresponsiveposition=='In Menu'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3"},LanguageContainer()),sectionproperties.ShowUserBtn=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3 mt-5"},UserButton()),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("button",{"class":' d-flex align-items-center justify-content-center p-0 m-0 ',onClick:function onClick(){LogoutMutationContext.mutate();setmenuactive(false);},style:{width:'90%',height:40,background:'white',color:'#000',fontSize:16}},lang.logout))))))))));};
|
|
32352
|
+
},backdrop:true},/*#__PURE__*/React.createElement(Offcanvas.Header,null,/*#__PURE__*/React.createElement(Offcanvas.Title,null,langdetect=='en'&&/*#__PURE__*/React.createElement("div",{"class":"allcentered",style:{position:'absolute',right:-34,top:5,width:30,height:30,background:'#000'},onClick:function onClick(){setopenmenuCanvas(false);}},/*#__PURE__*/React.createElement(IoMdClose,{color:'#fff',size:16})),langdetect=='ar'&&/*#__PURE__*/React.createElement("div",{"class":"allcentered",style:{position:'absolute',left:-34,top:5,width:30,height:30,background:'#000'},onClick:function onClick(){setopenmenuCanvas(false);}},/*#__PURE__*/React.createElement(IoMdClose,{color:'#fff',size:16})),/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 mb-4",style:{borderBottom:'1px solid #eee'}},/*#__PURE__*/React.createElement("div",{className:sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'?'col-12 allcentered py-3':'col-6 allcentered py-3',onClick:function onClick(){setactiveTab('menu');},style:{background:sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'?'':activeTab=='menu'?'white':'#eee'}},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{textTransform:'uppercase',fontWeight:500,fontSize:'15px',transition:'.3s',color:sectionproperties.header_fontColorresponsive}},langdetect=='en'?'MENU':'القائمة')),sectionproperties.responsiveheaderstyle!='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement("div",{className:'col-6 allcentered py-3',onClick:function onClick(){setactiveTab('categories');},style:{background:activeTab=='categories'?'white':'#eee'}},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{textTransform:'uppercase',fontWeight:500,fontSize:'15px',transition:'.3s',color:sectionproperties.header_fontColorresponsive}},langdetect=='en'?sectionproperties.titlerespen:sectionproperties.titlerespar))))),/*#__PURE__*/React.createElement(Offcanvas.Body,null,/*#__PURE__*/React.createElement("div",{style:{minHeight:'80vh'}},activeTab=='menu'&&/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 anim '},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("ul",{className:' d-flex justify-content-center flex-column p-0 '},templatepropcontext.pagesnprop.map(function(item,index){if(item.isnavigation==1&&item.isactive==1&&item.pageorderindex==0){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}}),sectionproperties.responsiveheaderstyle=='Style 2 With Merged Subheader'&&/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 '},sectionproperties.subheaderParentType=='Categories'&&CategoriesAccordion(),sectionproperties.subheaderParentType=='Parent Collections'&&ParentCollectionsAccordion(),sectionproperties.subheaderParentType=='Collections'&&CollectionsAccordion()),templatepropcontext.pagesnprop.map(function(item,index){if(item.isnavigation==1&&item.isactive==1&&item.pageorderindex>0){return/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",style:{paddingTop:index==0?5:0}},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(item.navigationroute,false,'');}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?item.pagename:item.pagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}})));}}),authdetailsContext.loggedin==true&§ionproperties.ShowUserBtn=='Show'&§ionproperties.showprevorder=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i111=authdetailsContext.instinfo)===null||_authdetailsContext$i111===void 0?void 0:_authdetailsContext$i111.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext.loggedin==true&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i112=authdetailsContext.instinfo)===null||_authdetailsContext$i112===void 0?void 0:_authdetailsContext$i112.contactinfo.instid)=='6804c4480fde5'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Ordershistory);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?sectionproperties.previousorders_titleen:sectionproperties.previousorders_titlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Wishlist);}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i113=authdetailsContext.instinfo)===null||_authdetailsContext$i113===void 0?void 0:_authdetailsContext$i113.contactinfo.instid)=='6808c6295b598'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},langdetect=='en'?lang.wishlist:'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i114=authdetailsContext.instinfo)===null||_authdetailsContext$i114===void 0?void 0:_authdetailsContext$i114.contactinfo.instid)=='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?'Wish List':'المفضلة'),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i115=authdetailsContext.instinfo)===null||_authdetailsContext$i115===void 0?void 0:_authdetailsContext$i115.contactinfo.instid)!='6808c6295b598'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i116=authdetailsContext.instinfo)===null||_authdetailsContext$i116===void 0?void 0:_authdetailsContext$i116.contactinfo.instid)!='68ada4fa70981'&&/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.wishlist)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='No'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 d-flex justify-content-start pl-3 pr-3",onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.Policies);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 d-flex justify-content-start '},lang.policies)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.PrivacyPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj39=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj39===void 0?void 0:_returnpolicyobj39.policypagename_en:(_returnpolicyobj40=returnpolicyobj('Privacy Policy'))===null||_returnpolicyobj40===void 0?void 0:_returnpolicyobj40.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.ShippingPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj41=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj41===void 0?void 0:_returnpolicyobj41.policypagename_en:(_returnpolicyobj42=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj42===void 0?void 0:_returnpolicyobj42.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.RefundPolicy);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj43=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj43===void 0?void 0:_returnpolicyobj43.policypagename_en:(_returnpolicyobj44=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj44===void 0?void 0:_returnpolicyobj44.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),templateproperties_context.separatepolicies=='Yes'&&templateproperties_context.showpolicies=='Yes'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{onClick:function onClick(){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.TermsConditions);setmenuactive(false);}},/*#__PURE__*/React.createElement("p",{className:"".concat(header_cssstyles.navbar_item_text_responsive)+' mb-0 p-0 '},langdetect=='en'?(_returnpolicyobj45=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj45===void 0?void 0:_returnpolicyobj45.policypagename_en:(_returnpolicyobj46=returnpolicyobj('Terms & Conditions'))===null||_returnpolicyobj46===void 0?void 0:_returnpolicyobj46.policypagename_ar))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),authdetailsContext!=undefined&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i117=authdetailsContext.instinfo)===null||_authdetailsContext$i117===void 0||(_authdetailsContext$i117=_authdetailsContext$i117.instcurrencies)===null||_authdetailsContext$i117===void 0?void 0:_authdetailsContext$i117.length)>1&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i118=authdetailsContext.instinfo)===null||_authdetailsContext$i118===void 0?void 0:_authdetailsContext$i118.contactinfo.instid)=='67f69c023cbd4'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 pl-3 pr-3"},/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbar_item_text_responsive+' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.navbar_item_text_responsive,cursor:'default'}},langdetect=='en'?'Currency':'العملة')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{background:'#f4f4f4',borderRadius:5}},authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i119=authdetailsContext.instinfo)===null||_authdetailsContext$i119===void 0||(_authdetailsContext$i119=_authdetailsContext$i119.instcurrencies)===null||_authdetailsContext$i119===void 0?void 0:_authdetailsContext$i119.map(function(item,index){return/*#__PURE__*/React.createElement("div",{"class":header_cssstyles.navbar_item_text_responsive+' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',onClick:function onClick(){setcurrencyfunccontext(item);}},/*#__PURE__*/React.createElement("label",{"class":langdetect=='en'?"".concat(formstyles.radiobtn_label)+' p-0 ':"".concat(formstyles.radiobtn_label," ").concat(formstyles.radiobtn_label_translated)+' p-0 '},/*#__PURE__*/React.createElement("input",{type:"radio",name:"radio",value:item.currencyname_en,checked:item.currencyname_en==(authdetailsContext===null||authdetailsContext===void 0?void 0:authdetailsContext.currencyname_en)?true:false}),/*#__PURE__*/React.createElement("span",null," ",langdetect=='en'?item.currencyname_en:item.currencyname_ar)));}))),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{className:"mt-3 mb-3",style:{borderColor:sectionproperties.resp_header_separatorbg}}))),sectionproperties.showlanuagecontainer=='Show'&§ionproperties.langresponsiveposition=='In Menu'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3"},LanguageContainer()),sectionproperties.ShowUserBtn=='Show'&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 pl-3 pr-3 mt-5"},UserButton()),authdetailsContext.loggedin&&/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 allcentered mt-5"},/*#__PURE__*/React.createElement("button",{"class":' d-flex align-items-center justify-content-center p-0 m-0 ',onClick:function onClick(){LogoutMutationContext.mutate();setmenuactive(false);},style:{width:'90%',height:40,background:'white',color:'#000',fontSize:16}},lang.logout))))))))));};
|
|
32303
32353
|
|
|
32304
32354
|
function ownKeys$27(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
32305
32355
|
function _objectSpread$27(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$27(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$27(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -37908,7 +37958,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
37908
37958
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
37909
37959
|
}, /*#__PURE__*/React.createElement("span", {
|
|
37910
37960
|
"class": "ml-2 mr-2"
|
|
37911
|
-
}, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
37961
|
+
}, lang.orderhistory)))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
37912
37962
|
onClick: function onClick() {
|
|
37913
37963
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
37914
37964
|
}
|
|
@@ -81057,7 +81107,7 @@ var Slideshowfade = function Slideshowfade(props) {
|
|
|
81057
81107
|
}, sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
81058
81108
|
"class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 d-flex justify-content-start'
|
|
81059
81109
|
}, /*#__PURE__*/React.createElement("p", {
|
|
81060
|
-
className: slideshow_styles.text1styles + ' m-0 p-0 wordbreak
|
|
81110
|
+
className: slideshow_styles.text1styles + ' m-0 p-0 wordbreak ',
|
|
81061
81111
|
style: {
|
|
81062
81112
|
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
81063
81113
|
}
|
|
@@ -97349,7 +97399,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
|
97349
97399
|
function ownKeys$6(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; }
|
|
97350
97400
|
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
97351
97401
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
97352
|
-
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _item$producttags2, _authdetailsContext$i1, _item$producttags$2, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12;
|
|
97402
|
+
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _item$producttags2, _authdetailsContext$i1, _item$producttags$2, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _item$producttags3, _authdetailsContext$i14, _item$producttags$3, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
97353
97403
|
var _useState = useState(''),
|
|
97354
97404
|
_useState2 = _slicedToArray(_useState, 2),
|
|
97355
97405
|
sectionproperties = _useState2[0],
|
|
@@ -97398,6 +97448,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
97398
97448
|
_useState16 = _slicedToArray(_useState15, 2);
|
|
97399
97449
|
_useState16[0];
|
|
97400
97450
|
_useState16[1];
|
|
97451
|
+
var cardsinglerow = props.cardsinglerow;
|
|
97401
97452
|
var plainString = function plainString(html) {
|
|
97402
97453
|
var divContainer = document.createElement('div');
|
|
97403
97454
|
divContainer.innerHTML = html;
|
|
@@ -97966,7 +98017,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
97966
98017
|
handleClick();
|
|
97967
98018
|
}
|
|
97968
98019
|
}
|
|
97969
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
98020
|
+
}, cardsinglerow != 'single' && /*#__PURE__*/React.createElement("div", {
|
|
97970
98021
|
"class": authdetailsContext.instinfo.instid == '6978ef34b2564' && sectionproperties.shownameonhover == 'Yes' ? card_cssstyles.cardconttt + ' cursor-pointer w-100 h-100 ' : card_cssstyles.cardconttt + ' cursor-pointer w-100 ',
|
|
97971
98022
|
style: {}
|
|
97972
98023
|
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -98563,7 +98614,402 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
98563
98614
|
}
|
|
98564
98615
|
}),
|
|
98565
98616
|
activeColor: "#ffd700"
|
|
98566
|
-
})))))
|
|
98617
|
+
}))))), cardsinglerow == 'single' && /*#__PURE__*/React.createElement("div", {
|
|
98618
|
+
"class": card_cssstyles.cardconttt + ' cursor-pointer w-100 p-2',
|
|
98619
|
+
style: {}
|
|
98620
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
98621
|
+
"class": "row m-0 w-100"
|
|
98622
|
+
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
|
|
98623
|
+
"class": "col-lg-3 col-md-4 p-0"
|
|
98624
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
98625
|
+
"class": card_cssstyles.icontainer + ' w-100 ',
|
|
98626
|
+
style: {
|
|
98627
|
+
position: 'relative'
|
|
98628
|
+
}
|
|
98629
|
+
}, (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
98630
|
+
"class": "allcentered",
|
|
98631
|
+
style: {
|
|
98632
|
+
zIndex: 2,
|
|
98633
|
+
position: 'absolute',
|
|
98634
|
+
top: sectionproperties.badgeposition == 'Top' ? sectionproperties.badge_top + 'px' : '',
|
|
98635
|
+
bottom: sectionproperties.badgeposition == 'Bottom' ? sectionproperties.badge_top + 'px' : '',
|
|
98636
|
+
left: sectionproperties.badge_right + 'px',
|
|
98637
|
+
// right: langdetect == 'en' ? '' : sectionproperties.badge_right + 'px',
|
|
98638
|
+
width: sectionproperties.badge_width == 0 ? '90%' : sectionproperties.badge_width + 'px',
|
|
98639
|
+
height: sectionproperties.badge_height + 'px',
|
|
98640
|
+
background: sectionproperties.badge_bgcolor,
|
|
98641
|
+
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
98642
|
+
}
|
|
98643
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
98644
|
+
"class": "m-0 p-0",
|
|
98645
|
+
style: {
|
|
98646
|
+
color: sectionproperties.badge_color,
|
|
98647
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
98648
|
+
}
|
|
98649
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Top' && /*#__PURE__*/React.createElement("div", {
|
|
98650
|
+
style: {
|
|
98651
|
+
position: 'absolute',
|
|
98652
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
98653
|
+
left: sectionproperties.pillpositionfromright + 'px',
|
|
98654
|
+
// right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px',
|
|
98655
|
+
zIndex: 3
|
|
98656
|
+
}
|
|
98657
|
+
}, PillContainer()), /*#__PURE__*/React.createElement("div", {
|
|
98658
|
+
"class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$8.imagecontainer) + ' d-flex ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex ',
|
|
98659
|
+
onClick: function onClick(e) {
|
|
98660
|
+
var _sectionproperties$se2;
|
|
98661
|
+
if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
|
|
98662
|
+
e.stopPropagation();
|
|
98663
|
+
var productidtobesend = null;
|
|
98664
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
98665
|
+
productidtobesend = item.productendpointurl;
|
|
98666
|
+
} else {
|
|
98667
|
+
productidtobesend = item.productid;
|
|
98668
|
+
}
|
|
98669
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
98670
|
+
}
|
|
98671
|
+
},
|
|
98672
|
+
style: {
|
|
98673
|
+
borderRadius: sectionproperties.image_bordertopleftradius + 'px'
|
|
98674
|
+
}
|
|
98675
|
+
}, Image('normal')))), /*#__PURE__*/React.createElement("div", {
|
|
98676
|
+
"class": "col-lg-9 col-md-8"
|
|
98677
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
98678
|
+
"class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 ',
|
|
98679
|
+
style: {}
|
|
98680
|
+
}, sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
98681
|
+
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
|
|
98682
|
+
style: {
|
|
98683
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
98684
|
+
fontSize: sectionproperties.measurementunitfontsize + 'px',
|
|
98685
|
+
color: sectionproperties.measurementunitcolor
|
|
98686
|
+
}
|
|
98687
|
+
}, item.measurmentunit), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
98688
|
+
"class": "col-lg-12 pl-0 pr-0",
|
|
98689
|
+
style: {
|
|
98690
|
+
minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh',
|
|
98691
|
+
background: sectionproperties.prodNameBackgroundColor,
|
|
98692
|
+
borderRadius: '15px',
|
|
98693
|
+
paddingTop: sectionproperties.productnamepaddingvertical + 'px',
|
|
98694
|
+
paddingBottom: sectionproperties.productnamepaddingvertical + 'px'
|
|
98695
|
+
}
|
|
98696
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
98697
|
+
onClick: function onClick() {
|
|
98698
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
98699
|
+
var productidtobesend = null;
|
|
98700
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
98701
|
+
productidtobesend = item.productendpointurl;
|
|
98702
|
+
} else {
|
|
98703
|
+
productidtobesend = item.productid;
|
|
98704
|
+
}
|
|
98705
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
98706
|
+
}
|
|
98707
|
+
},
|
|
98708
|
+
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 pname ',
|
|
98709
|
+
style: {
|
|
98710
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
98711
|
+
}
|
|
98712
|
+
}, item.name)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags3 = item.producttags) === null || _item$producttags3 === void 0 ? void 0 : _item$producttags3.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React.createElement("div", {
|
|
98713
|
+
"class": "allcentered",
|
|
98714
|
+
style: {
|
|
98715
|
+
width: '100%',
|
|
98716
|
+
left: 0,
|
|
98717
|
+
right: 0,
|
|
98718
|
+
zIndex: 100
|
|
98719
|
+
}
|
|
98720
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
98721
|
+
"class": "px-3 py-1",
|
|
98722
|
+
style: {
|
|
98723
|
+
width: 'fit-content',
|
|
98724
|
+
background: sectionproperties.tagbackgroundcolor,
|
|
98725
|
+
borderRadius: sectionproperties.tagborderradius + 'px',
|
|
98726
|
+
color: sectionproperties.tagcolor,
|
|
98727
|
+
fontSize: 12
|
|
98728
|
+
}
|
|
98729
|
+
}, item === null || item === void 0 || (_item$producttags$3 = item.producttags[0]) === null || _item$producttags$3 === void 0 || (_item$producttags$3 = _item$producttags$3.taginfo) === null || _item$producttags$3 === void 0 ? void 0 : _item$producttags$3.tagname)), sectionproperties.showSKU == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
98730
|
+
"class": "col-lg-12 pl-0 pr-0",
|
|
98731
|
+
style: {}
|
|
98732
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
98733
|
+
"class": "".concat(card_cssstyles.sku) + ' wordbreak wordbreak1 font-md-13 m-0 ',
|
|
98734
|
+
style: {
|
|
98735
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
98736
|
+
}
|
|
98737
|
+
}, langdetect == 'en' ? 'SKU: ' : 'كود: ', item.sku)), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'No' && /*#__PURE__*/React.createElement("p", {
|
|
98738
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 mt-1 ',
|
|
98739
|
+
style: {
|
|
98740
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
98741
|
+
},
|
|
98742
|
+
dangerouslySetInnerHTML: {
|
|
98743
|
+
__html: item.shortdescription
|
|
98744
|
+
}
|
|
98745
|
+
}), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'Yes' && /*#__PURE__*/React.createElement("p", {
|
|
98746
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak p-0 mt-1 ',
|
|
98747
|
+
style: {
|
|
98748
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
98749
|
+
}
|
|
98750
|
+
}, plainString(item.shortdescription)), /*#__PURE__*/React.createElement("div", {
|
|
98751
|
+
style: {
|
|
98752
|
+
flexDirection: 'column',
|
|
98753
|
+
display: sectionproperties.prodPriceShow == 'Hide' && sectionproperties.showprofitcontainer == 'Hide' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.prodsalePriceshow == 'Hide' ? 'none' : 'flex'
|
|
98754
|
+
},
|
|
98755
|
+
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 mt-1 "
|
|
98756
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
98757
|
+
"class": "row m-0 w-100 "
|
|
98758
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
98759
|
+
"class": " d-flex flex-row col-lg-12 mx-0 p-0 align-items-center ",
|
|
98760
|
+
style: {
|
|
98761
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
98762
|
+
marginTop: sectionproperties.productpricemarginTop + 'px',
|
|
98763
|
+
marginBottom: sectionproperties.productpricemarginBottom + 'px'
|
|
98764
|
+
}
|
|
98765
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
98766
|
+
"class": sectionproperties.priceDirection == 'Horizontal Direction' ? ' d-flex align-items-center p-0 mb-0 flex-row ' : ' d-flex align-items-center p-0 mb-0 flex-column ',
|
|
98767
|
+
style: {
|
|
98768
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
98769
|
+
minHeight: sectionproperties.priceDirection == 'Horizontal Direction' ? '' : '6.5vh'
|
|
98770
|
+
}
|
|
98771
|
+
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
98772
|
+
"class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 '
|
|
98773
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", has_sale == 1 ? sale_price : price, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && has_sale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
98774
|
+
"class": sectionproperties.priceDirection == 'Horizontal' ? ' d-flex align-items-center p-0 mb-0 ' : ' d-flex align-items-center p-0 mb-0'
|
|
98775
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
98776
|
+
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
98777
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React.createElement("div", {
|
|
98778
|
+
style: {}
|
|
98779
|
+
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
98780
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
98781
|
+
style: {
|
|
98782
|
+
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
98783
|
+
}
|
|
98784
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
98785
|
+
"class": "m-0 p-0",
|
|
98786
|
+
style: {
|
|
98787
|
+
width: 8,
|
|
98788
|
+
height: 8,
|
|
98789
|
+
borderRadius: 100,
|
|
98790
|
+
background: 'green'
|
|
98791
|
+
}
|
|
98792
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
98793
|
+
"class": 'm-0 mx-2 p-0',
|
|
98794
|
+
style: {
|
|
98795
|
+
color: 'green',
|
|
98796
|
+
fontSize: 13,
|
|
98797
|
+
fontWeight: 400
|
|
98798
|
+
}
|
|
98799
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.showvariantscont == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
98800
|
+
"class": "col-12 p-0"
|
|
98801
|
+
}, /*#__PURE__*/React.createElement(Variants_J_Cards, {
|
|
98802
|
+
actions: {
|
|
98803
|
+
sectionproperties: sectionproperties,
|
|
98804
|
+
item: item,
|
|
98805
|
+
cardonclickfunctionContext: cardonclickfunctionContext,
|
|
98806
|
+
fetchingtypeprops: props.fetchingtypeprops
|
|
98807
|
+
},
|
|
98808
|
+
foundMatchedVariantFunc: function foundMatchedVariantFunc(variantCompletedObj) {
|
|
98809
|
+
// alert(JSON.stringify(variantCompletedObj));
|
|
98810
|
+
// console.log(variantCompletedObj);
|
|
98811
|
+
setvariantObj(variantCompletedObj);
|
|
98812
|
+
var variant_price = 0;
|
|
98813
|
+
var variant_saleprice = 0;
|
|
98814
|
+
var variant_hassale = 0;
|
|
98815
|
+
var is_found = false;
|
|
98816
|
+
if (variantCompletedObj != null && variantCompletedObj != undefined) {
|
|
98817
|
+
var _variantCompletedObj$1;
|
|
98818
|
+
if (variantCompletedObj.variant_prices != undefined && variantCompletedObj != null && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$1 = variantCompletedObj.variant_prices) === null || _variantCompletedObj$1 === void 0 ? void 0 : _variantCompletedObj$1.length) != 0) {
|
|
98819
|
+
var _variantCompletedObj$10, _variantCompletedObj$11, _variantCompletedObj$13, _variantCompletedObj$14, _variantCompletedObj$16, _variantCompletedObj$17;
|
|
98820
|
+
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$10 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$10 === void 0 ? void 0 : _variantCompletedObj$10.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$11 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$11 === void 0 ? void 0 : _variantCompletedObj$11.price) != null) {
|
|
98821
|
+
var _variantCompletedObj$12;
|
|
98822
|
+
variant_price = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$12 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$12 === void 0 ? void 0 : _variantCompletedObj$12.price;
|
|
98823
|
+
is_found = true;
|
|
98824
|
+
}
|
|
98825
|
+
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$13 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$13 === void 0 ? void 0 : _variantCompletedObj$13.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$14 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$14 === void 0 ? void 0 : _variantCompletedObj$14.price) != null) {
|
|
98826
|
+
var _variantCompletedObj$15;
|
|
98827
|
+
variant_saleprice = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$15 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$15 === void 0 ? void 0 : _variantCompletedObj$15.saleprice;
|
|
98828
|
+
}
|
|
98829
|
+
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$16 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$16 === void 0 ? void 0 : _variantCompletedObj$16.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$17 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$17 === void 0 ? void 0 : _variantCompletedObj$17.price) != null) {
|
|
98830
|
+
var _variantCompletedObj$18;
|
|
98831
|
+
variant_hassale = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$18 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$18 === void 0 ? void 0 : _variantCompletedObj$18.hassale;
|
|
98832
|
+
}
|
|
98833
|
+
}
|
|
98834
|
+
}
|
|
98835
|
+
if (is_found) {
|
|
98836
|
+
setprice(variant_price);
|
|
98837
|
+
setsale_price(variant_saleprice);
|
|
98838
|
+
sethas_sale(variant_hassale);
|
|
98839
|
+
}
|
|
98840
|
+
},
|
|
98841
|
+
foundImageColorMatchingFunc: function foundImageColorMatchingFunc(variantIMAGECompletedObj) {
|
|
98842
|
+
setVariant_Color_ImageObj(variantIMAGECompletedObj);
|
|
98843
|
+
}
|
|
98844
|
+
})), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
98845
|
+
"class": "col-lg-12 p-0",
|
|
98846
|
+
style: {
|
|
98847
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
98848
|
+
}
|
|
98849
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
98850
|
+
"class": card_cssstyles.profitcontainer + ' d-flex align-items-center flex-sm-column px-2',
|
|
98851
|
+
style: {
|
|
98852
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
98853
|
+
}
|
|
98854
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
98855
|
+
"class": ' m-0 p-0 d-flex align-items-center ',
|
|
98856
|
+
style: {
|
|
98857
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
98858
|
+
}
|
|
98859
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
98860
|
+
style: {
|
|
98861
|
+
fontWeight: sectionproperties.profitcontainerfontweight
|
|
98862
|
+
}
|
|
98863
|
+
}, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React.createElement("span", {
|
|
98864
|
+
"class": "mx-1",
|
|
98865
|
+
style: {
|
|
98866
|
+
fontWeight: sectionproperties.profitcontainersecondaryfontweight
|
|
98867
|
+
}
|
|
98868
|
+
}, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(has_sale == 1 ? sale_price : price) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.quantityshow == 'Show' && item.currentquantity > 0 && /*#__PURE__*/React.createElement("div", {
|
|
98869
|
+
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
98870
|
+
style: {
|
|
98871
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
98872
|
+
}
|
|
98873
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
98874
|
+
"class": "m-0 p-0",
|
|
98875
|
+
style: {
|
|
98876
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
98877
|
+
color: sectionproperties.quantitycolor,
|
|
98878
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
98879
|
+
}
|
|
98880
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
98881
|
+
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
98882
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
98883
|
+
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
98884
|
+
style: {
|
|
98885
|
+
direction: 'ltr'
|
|
98886
|
+
}
|
|
98887
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
98888
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
98889
|
+
onClick: function onClick() {
|
|
98890
|
+
var tempitem = _objectSpread$6({}, item);
|
|
98891
|
+
tempitem.quantity = parseInt(tempitem.quantity);
|
|
98892
|
+
tempitem.quantity = tempitem.quantity - 1;
|
|
98893
|
+
if (tempitem.quantity <= 0) {
|
|
98894
|
+
tempitem.quantity = 0;
|
|
98895
|
+
}
|
|
98896
|
+
setitem(_objectSpread$6({}, tempitem));
|
|
98897
|
+
// addtocartfuncquantity('add', tempitem.quantity);
|
|
98898
|
+
},
|
|
98899
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
98900
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
98901
|
+
"class": "h-100 allcentered minusbtn"
|
|
98902
|
+
}, /*#__PURE__*/React.createElement(FiMinus, null))), /*#__PURE__*/React.createElement("span", {
|
|
98903
|
+
"class": ' d-flex align-items-center justify-content-center ',
|
|
98904
|
+
style: {
|
|
98905
|
+
fontSize: 14,
|
|
98906
|
+
fontWeight: 500,
|
|
98907
|
+
color: sectionproperties.cartBtnbgColor,
|
|
98908
|
+
flex: 1
|
|
98909
|
+
}
|
|
98910
|
+
}, addtocartbuttonrenderquantity()), /*#__PURE__*/React.createElement("button", {
|
|
98911
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
98912
|
+
onClick: function onClick() {
|
|
98913
|
+
var tempitem = _objectSpread$6({}, item);
|
|
98914
|
+
tempitem.quantity = parseInt(tempitem.quantity);
|
|
98915
|
+
tempitem.quantity = tempitem.quantity + 1;
|
|
98916
|
+
if (tempitem.quantity <= 0) {
|
|
98917
|
+
tempitem.quantity = 0;
|
|
98918
|
+
}
|
|
98919
|
+
setitem(_objectSpread$6({}, tempitem));
|
|
98920
|
+
// addtocartfuncquantity('add', tempitem.quantity);
|
|
98921
|
+
},
|
|
98922
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
98923
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
98924
|
+
"class": "h-100 allcentered addbtn"
|
|
98925
|
+
}, /*#__PURE__*/React.createElement(FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React.createElement("div", {
|
|
98926
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
98927
|
+
style: {
|
|
98928
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
98929
|
+
visibility: item.quantavailtype == 'nolimit' ? 'visible' : item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
98930
|
+
}
|
|
98931
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
98932
|
+
"class": "m-0 p-0",
|
|
98933
|
+
style: {
|
|
98934
|
+
width: 8,
|
|
98935
|
+
height: 8,
|
|
98936
|
+
borderRadius: 100,
|
|
98937
|
+
background: 'green'
|
|
98938
|
+
}
|
|
98939
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
98940
|
+
"class": 'm-0 mx-2 p-0',
|
|
98941
|
+
style: {
|
|
98942
|
+
color: 'green',
|
|
98943
|
+
fontSize: 13,
|
|
98944
|
+
fontWeight: 400
|
|
98945
|
+
}
|
|
98946
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
98947
|
+
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
98948
|
+
style: {
|
|
98949
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
98950
|
+
}
|
|
98951
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
98952
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
98953
|
+
onClick: function onClick() {
|
|
98954
|
+
var _authdetailsContext$i18;
|
|
98955
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '68527dfef348b') {
|
|
98956
|
+
// alert(item.path);
|
|
98957
|
+
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
98958
|
+
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
98959
|
+
addtocartfunc();
|
|
98960
|
+
} else {
|
|
98961
|
+
var productidtobesend = null;
|
|
98962
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
98963
|
+
productidtobesend = item.productendpointurl;
|
|
98964
|
+
} else {
|
|
98965
|
+
productidtobesend = item.productid;
|
|
98966
|
+
}
|
|
98967
|
+
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
98968
|
+
if (item.extrafieldsarray.length == 0) {
|
|
98969
|
+
addtocartfunc();
|
|
98970
|
+
} else {
|
|
98971
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
98972
|
+
}
|
|
98973
|
+
} else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
|
|
98974
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
98975
|
+
} else {
|
|
98976
|
+
var productidtobesend = null;
|
|
98977
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
98978
|
+
productidtobesend = item.productendpointurl;
|
|
98979
|
+
} else {
|
|
98980
|
+
productidtobesend = item.productid;
|
|
98981
|
+
}
|
|
98982
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
98983
|
+
}
|
|
98984
|
+
}
|
|
98985
|
+
}
|
|
98986
|
+
}, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React.createElement("div", {
|
|
98987
|
+
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
98988
|
+
style: {
|
|
98989
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
98990
|
+
}
|
|
98991
|
+
}, /*#__PURE__*/React.createElement(ReactStars, {
|
|
98992
|
+
count: 5,
|
|
98993
|
+
value: item.productoverallrate,
|
|
98994
|
+
edit: false,
|
|
98995
|
+
size: 16,
|
|
98996
|
+
emptyIcon: /*#__PURE__*/React.createElement("i", {
|
|
98997
|
+
className: "far fa-star",
|
|
98998
|
+
style: {
|
|
98999
|
+
color: '#cccccc'
|
|
99000
|
+
}
|
|
99001
|
+
}),
|
|
99002
|
+
halfIcon: /*#__PURE__*/React.createElement("i", {
|
|
99003
|
+
className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
|
|
99004
|
+
}),
|
|
99005
|
+
filledIcon: /*#__PURE__*/React.createElement("i", {
|
|
99006
|
+
className: "fa fa-star",
|
|
99007
|
+
style: {
|
|
99008
|
+
color: '#FAB400'
|
|
99009
|
+
}
|
|
99010
|
+
}),
|
|
99011
|
+
activeColor: "#ffd700"
|
|
99012
|
+
})))))));
|
|
98567
99013
|
};
|
|
98568
99014
|
|
|
98569
99015
|
function ownKeys$5(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; }
|