tabexseriescomponents 0.2.816 → 0.2.818
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 +388 -142
- package/dist/index.esm.js +388 -142
- package/dist/index.umd.js +388 -142
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -6473,77 +6473,20 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
6473
6473
|
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
6474
6474
|
};
|
|
6475
6475
|
|
|
6476
|
+
//productidprops
|
|
6476
6477
|
var Article_itemtype = function Article_itemtype(props) {
|
|
6477
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7;
|
|
6478
|
+
var _authdetailsContext$i, _fetchProductInfoQuer, _authdetailsContext$i2, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _authdetailsContext$i3, _fetchProductInfoQuer8, _fetchProductInfoQuer9;
|
|
6478
6479
|
props.actions.lang;
|
|
6479
6480
|
var langdetect = props.actions.langdetect;
|
|
6480
6481
|
var srcfromprops = props.actions.srcfromprops;
|
|
6481
|
-
props.actions.returnpolicyobj;
|
|
6482
6482
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
6483
|
-
props.actions.addtocartfunc;
|
|
6484
|
-
props.actions.selectproductoptionvalue;
|
|
6485
|
-
props.actions.clearchoosenvaluesbutkeepcurrentvalue;
|
|
6486
|
-
props.actions.productimagesarray;
|
|
6487
6483
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
6488
6484
|
var sectionproperties = props.actions.sectionproperties;
|
|
6489
|
-
props.actions.addtocardpayloadobj;
|
|
6490
|
-
props.actions.setaddtocardpayloadobj;
|
|
6491
6485
|
var routingcountext = props.actions.routingcountext;
|
|
6492
|
-
props.actions.AddtoCartMutationContext;
|
|
6493
6486
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
6494
|
-
props.actions.variantsku;
|
|
6495
|
-
props.actions.addtofavoritescontext;
|
|
6496
|
-
props.actions.variantindexcompleted;
|
|
6497
|
-
props.actions.ProductInfoObj;
|
|
6498
|
-
props.actions.NotificationManager;
|
|
6499
6487
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
6500
|
-
props.actions.getprice_discountpriceprops;
|
|
6501
6488
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
6502
|
-
|
|
6503
|
-
props.actions.StoreInfoprops;
|
|
6504
|
-
var _useState = React.useState(currentshowingimageindex_pro),
|
|
6505
|
-
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
6506
|
-
_useState2[0];
|
|
6507
|
-
_useState2[1];
|
|
6508
|
-
// const DescriptionContent = props.actions.DescriptionContent;
|
|
6509
|
-
var _useState3 = React.useState(''),
|
|
6510
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2);
|
|
6511
|
-
_useState4[0];
|
|
6512
|
-
var setshareUrl = _useState4[1];
|
|
6513
|
-
var _useState5 = React.useState(''),
|
|
6514
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
6515
|
-
_useState6[0];
|
|
6516
|
-
var settitle = _useState6[1];
|
|
6517
|
-
var _useState7 = React.useState(fetchProductInfoQueryContext.data.data.productinfo),
|
|
6518
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
6519
|
-
_useState8[0];
|
|
6520
|
-
var setitem = _useState8[1];
|
|
6521
|
-
React.useEffect(function () {
|
|
6522
|
-
var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
|
|
6523
|
-
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
|
|
6524
|
-
itemobj.titlelang = 'en';
|
|
6525
|
-
} else {
|
|
6526
|
-
itemobj.titlelang = 'ar';
|
|
6527
|
-
}
|
|
6528
|
-
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.description_en)) {
|
|
6529
|
-
itemobj.decriptionlang = 'en';
|
|
6530
|
-
} else {
|
|
6531
|
-
itemobj.decriptionlang = 'ar';
|
|
6532
|
-
}
|
|
6533
|
-
setitem(itemobj);
|
|
6534
|
-
settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);
|
|
6535
|
-
setshareUrl('https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
6536
|
-
}, [props.itemprops]);
|
|
6537
|
-
function stringIsEnglish(str) {
|
|
6538
|
-
var titlelang = 'English';
|
|
6539
|
-
var arabic = /[\u0600-\u06FF]/;
|
|
6540
|
-
if (!arabic.test(str)) {
|
|
6541
|
-
titlelang = true;
|
|
6542
|
-
} else {
|
|
6543
|
-
titlelang = false;
|
|
6544
|
-
}
|
|
6545
|
-
return titlelang;
|
|
6546
|
-
}
|
|
6489
|
+
props.actions.currentshowingimageindex;
|
|
6547
6490
|
var MeasurementUnitSection = function MeasurementUnitSection() {
|
|
6548
6491
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6549
6492
|
className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'
|
|
@@ -6577,13 +6520,13 @@ var Article_itemtype = function Article_itemtype(props) {
|
|
|
6577
6520
|
paddingRight: srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0
|
|
6578
6521
|
}
|
|
6579
6522
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6580
|
-
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 ',
|
|
6523
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 px-md-2 ',
|
|
6581
6524
|
style: {
|
|
6582
6525
|
minHeight: sectionproperties.height + 'vh',
|
|
6583
6526
|
paddingLeft: sectionproperties.productInformationType == 'Portfolio' ? 0 : '',
|
|
6584
6527
|
paddingRight: sectionproperties.productInformationType == 'Portfolio' ? 0 : ''
|
|
6585
6528
|
}
|
|
6586
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6529
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '6790ae890234e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6587
6530
|
"class": "col-lg-12 allcentered p-0 mb-2"
|
|
6588
6531
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6589
6532
|
className: "h-100",
|
|
@@ -6600,6 +6543,28 @@ var Article_itemtype = function Article_itemtype(props) {
|
|
|
6600
6543
|
objectFit: 'contain'
|
|
6601
6544
|
},
|
|
6602
6545
|
loading: "lazy"
|
|
6546
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6790ae890234e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6547
|
+
"class": "w-100 scrollhorizontalwithscrollbar "
|
|
6548
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productimages) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.productimages.map(function (item, index) {
|
|
6549
|
+
if (item.is_size_guide != 1) {
|
|
6550
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6551
|
+
"class": ' scrollhorizontalcard mx-2 ',
|
|
6552
|
+
style: {
|
|
6553
|
+
height: sectionproperties.image_height + 'px',
|
|
6554
|
+
width: sectionproperties.image_width + 'px'
|
|
6555
|
+
}
|
|
6556
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
6557
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
6558
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
6559
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.path,
|
|
6560
|
+
style: {
|
|
6561
|
+
width: '100%',
|
|
6562
|
+
height: '100%',
|
|
6563
|
+
objectFit: 'contain'
|
|
6564
|
+
},
|
|
6565
|
+
loading: "lazy"
|
|
6566
|
+
}));
|
|
6567
|
+
}
|
|
6603
6568
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6604
6569
|
"class": "px-md-3 px-1025-1",
|
|
6605
6570
|
style: {
|
|
@@ -6611,11 +6576,11 @@ var Article_itemtype = function Article_itemtype(props) {
|
|
|
6611
6576
|
style: {
|
|
6612
6577
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
6613
6578
|
}
|
|
6614
|
-
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6579
|
+
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productfeatures) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6615
6580
|
"class": "col-lg-12 text-start p-md-0"
|
|
6616
6581
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6617
6582
|
className: "row m-0 w-100"
|
|
6618
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6583
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productfeatures) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.map(function (fitem, findex) {
|
|
6619
6584
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6620
6585
|
"class": ' col-md-6 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
6621
6586
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -6663,13 +6628,13 @@ var Article_itemtype = function Article_itemtype(props) {
|
|
|
6663
6628
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
6664
6629
|
},
|
|
6665
6630
|
dangerouslySetInnerHTML: {
|
|
6666
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6631
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.description_ar
|
|
6667
6632
|
}
|
|
6668
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6633
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) != '6790ae890234e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6669
6634
|
"class": "col-lg-12 p-0 my-4"
|
|
6670
6635
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6671
6636
|
"class": "row m-0 w-100"
|
|
6672
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6637
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productimages) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.productimages.map(function (item, index) {
|
|
6673
6638
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6674
6639
|
"class": sectionproperties.galleryNoOfCols == '12' ? ' col-sm-12 mb-md-2 p-md-0 mb-3 col-lg-' + sectionproperties.galleryNoOfCols : ' col-sm-12 mb-md-2 p-md-0 col-lg-' + sectionproperties.galleryNoOfCols
|
|
6675
6640
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -26188,27 +26153,142 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
26188
26153
|
size: 20,
|
|
26189
26154
|
color: sectionproperties.cart_BtnTextcolor_resp
|
|
26190
26155
|
}))), templatepropcontext.pagesnprop.map(function (item, index) {
|
|
26191
|
-
|
|
26192
|
-
|
|
26193
|
-
|
|
26194
|
-
|
|
26195
|
-
|
|
26196
|
-
|
|
26197
|
-
|
|
26198
|
-
|
|
26199
|
-
|
|
26200
|
-
|
|
26201
|
-
|
|
26202
|
-
|
|
26203
|
-
|
|
26204
|
-
|
|
26205
|
-
|
|
26206
|
-
|
|
26207
|
-
|
|
26208
|
-
|
|
26209
|
-
|
|
26210
|
-
|
|
26211
|
-
|
|
26156
|
+
var _authdetailsContext$i6;
|
|
26157
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) != '6790ae890234e') {
|
|
26158
|
+
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
26159
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26160
|
+
className: "row m-0 w-100 anim"
|
|
26161
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26162
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
26163
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26164
|
+
onClick: function onClick() {
|
|
26165
|
+
setopenmenuCanvas(false);
|
|
26166
|
+
routingcountext(item.navigationroute, false, '');
|
|
26167
|
+
setmenuactive(false);
|
|
26168
|
+
}
|
|
26169
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
26170
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
26171
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26172
|
+
className: "col-lg-12 p-0"
|
|
26173
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
26174
|
+
className: "mt-3 mb-3",
|
|
26175
|
+
style: {
|
|
26176
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
26177
|
+
}
|
|
26178
|
+
})));
|
|
26179
|
+
}
|
|
26180
|
+
} else {
|
|
26181
|
+
// any pages other than shop pages
|
|
26182
|
+
if (item.pagename != 'Shop' && item.pagename != 'Shop Cushions' && item.pagename != 'Shop Tables' && item.isnavigation == 1 && item.isactive == 1) {
|
|
26183
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26184
|
+
className: "row m-0 w-100 anim"
|
|
26185
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26186
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
26187
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26188
|
+
onClick: function onClick() {
|
|
26189
|
+
setopenmenuCanvas(false);
|
|
26190
|
+
routingcountext(item.navigationroute, false, '');
|
|
26191
|
+
setmenuactive(false);
|
|
26192
|
+
}
|
|
26193
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
26194
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
26195
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26196
|
+
className: "col-lg-12 p-0"
|
|
26197
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
26198
|
+
className: "mt-3 mb-3",
|
|
26199
|
+
style: {
|
|
26200
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
26201
|
+
}
|
|
26202
|
+
})));
|
|
26203
|
+
} else if (item.pagename == 'Shop' && item.isnavigation == 1 && item.isactive == 1) {
|
|
26204
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26205
|
+
className: "row m-0 w-100 anim"
|
|
26206
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26207
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
26208
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
26209
|
+
allowMultipleExpanded: false,
|
|
26210
|
+
allowZeroExpanded: true
|
|
26211
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
26212
|
+
uuid: index
|
|
26213
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, {
|
|
26214
|
+
onClick: function onClick() {
|
|
26215
|
+
setChoosenindex(index);
|
|
26216
|
+
}
|
|
26217
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26218
|
+
className: ' row m-0 p-0 w-100 '
|
|
26219
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26220
|
+
"class": header_cssstyles.navbar_item_text_responsive + ' col-10 p-0 d-flex align-items-center justify-content-start cursor-pointer ',
|
|
26221
|
+
style: {
|
|
26222
|
+
marginTop: sectionproperties.navitemmarginvertical + 'px',
|
|
26223
|
+
marginBottom: sectionproperties.navitemmarginvertical + 'px'
|
|
26224
|
+
}
|
|
26225
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
26226
|
+
className: "".concat(header_cssstyles.navbarItem) + ' mb-0 p-0 '
|
|
26227
|
+
}, langdetect == 'en' ? 'Shop' : 'Shop')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26228
|
+
className: "col-2 col-md-2 col-sm-2 p-0 text-end"
|
|
26229
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
26230
|
+
if (state.expanded == true) {
|
|
26231
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
26232
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
26233
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, {
|
|
26234
|
+
style: {
|
|
26235
|
+
fontSize: 15
|
|
26236
|
+
}
|
|
26237
|
+
}));
|
|
26238
|
+
} else {
|
|
26239
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
26240
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
26241
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, {
|
|
26242
|
+
style: {
|
|
26243
|
+
fontSize: 15
|
|
26244
|
+
}
|
|
26245
|
+
}));
|
|
26246
|
+
}
|
|
26247
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
26248
|
+
className: "p-0"
|
|
26249
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26250
|
+
className: "row mt-3 mb-2 ml-0 mr-0 d-lg-flex"
|
|
26251
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26252
|
+
"class": "col-lg-12 p-0"
|
|
26253
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26254
|
+
className: ' row m-0 p-0 mb-2 '
|
|
26255
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26256
|
+
className: ' row m-0 w-100 px-3 '
|
|
26257
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26258
|
+
className: "col-10 p-0 text-start",
|
|
26259
|
+
onClick: function onClick() {
|
|
26260
|
+
routingcountext('shopcushions', false, '');
|
|
26261
|
+
setopenmenuCanvas(false);
|
|
26262
|
+
setmenuactive(false);
|
|
26263
|
+
}
|
|
26264
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
26265
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 ',
|
|
26266
|
+
style: {}
|
|
26267
|
+
}, 'SHOP CUSHIONS'))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26268
|
+
"class": "col-lg-12 p-0"
|
|
26269
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26270
|
+
className: ' row m-0 p-0 mb-2 '
|
|
26271
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26272
|
+
className: ' row m-0 w-100 px-3 '
|
|
26273
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26274
|
+
className: "col-10 p-0 text-start",
|
|
26275
|
+
onClick: function onClick() {
|
|
26276
|
+
routingcountext('shoptables', false, '');
|
|
26277
|
+
setopenmenuCanvas(false);
|
|
26278
|
+
setmenuactive(false);
|
|
26279
|
+
}
|
|
26280
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
26281
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 ',
|
|
26282
|
+
style: {}
|
|
26283
|
+
}, 'SHOP TABLES')))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26284
|
+
className: "col-lg-12 p-0"
|
|
26285
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
26286
|
+
className: "mt-3 mb-3",
|
|
26287
|
+
style: {
|
|
26288
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
26289
|
+
}
|
|
26290
|
+
})));
|
|
26291
|
+
}
|
|
26212
26292
|
}
|
|
26213
26293
|
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26214
26294
|
className: "row m-0 w-100 anim"
|
|
@@ -45863,7 +45943,7 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
45863
45943
|
function ownKeys$1J(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
45864
45944
|
function _objectSpread$1J(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1J(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1J(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
45865
45945
|
var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
|
|
45866
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$
|
|
45946
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
45867
45947
|
var _useState = React.useState(''),
|
|
45868
45948
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
45869
45949
|
sectionproperties = _useState2[0],
|
|
@@ -46604,7 +46684,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
46604
46684
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46605
46685
|
"class": "row m-0 w-100"
|
|
46606
46686
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46607
|
-
"class": "col-lg-
|
|
46687
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
46608
46688
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
46609
46689
|
"class": "m-0 p-0"
|
|
46610
46690
|
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar))));
|
|
@@ -46681,26 +46761,128 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
46681
46761
|
})))));
|
|
46682
46762
|
}
|
|
46683
46763
|
})), templatepropcontext.pagesnprop.map(function (item, index) {
|
|
46684
|
-
|
|
46685
|
-
|
|
46686
|
-
|
|
46687
|
-
|
|
46688
|
-
|
|
46689
|
-
|
|
46690
|
-
|
|
46691
|
-
|
|
46692
|
-
|
|
46693
|
-
|
|
46694
|
-
|
|
46695
|
-
|
|
46696
|
-
|
|
46697
|
-
|
|
46698
|
-
"
|
|
46699
|
-
|
|
46700
|
-
"
|
|
46701
|
-
|
|
46764
|
+
var _authdetailsContext$i3;
|
|
46765
|
+
// not your dream home
|
|
46766
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) != '6790ae890234e') {
|
|
46767
|
+
if (item.isnavigation == 1 && item.isactive == 1 && item.pageorderindex > 0) {
|
|
46768
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46769
|
+
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer ',
|
|
46770
|
+
onClick: function onClick() {
|
|
46771
|
+
routingcountext(item.navigationroute);
|
|
46772
|
+
setopenSideNav(false);
|
|
46773
|
+
},
|
|
46774
|
+
style: {
|
|
46775
|
+
marginTop: sectionproperties.navitemmarginvertical + 'px',
|
|
46776
|
+
marginBottom: sectionproperties.navitemmarginvertical + 'px'
|
|
46777
|
+
}
|
|
46778
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46779
|
+
"class": "row m-0 w-100"
|
|
46780
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46781
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
46782
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
46783
|
+
"class": "m-0 p-0"
|
|
46784
|
+
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar))));
|
|
46785
|
+
}
|
|
46702
46786
|
}
|
|
46703
|
-
|
|
46787
|
+
// your dream home version
|
|
46788
|
+
else {
|
|
46789
|
+
// any pages other than shop pages
|
|
46790
|
+
if (item.pagename != 'Shop' && item.pagename != 'Shop Cushions' && item.pagename != 'Shop Tables' && item.isnavigation == 1 && item.isactive == 1 && item.pageorderindex > 0) {
|
|
46791
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46792
|
+
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer ',
|
|
46793
|
+
onClick: function onClick() {
|
|
46794
|
+
routingcountext(item.navigationroute);
|
|
46795
|
+
setopenSideNav(false);
|
|
46796
|
+
},
|
|
46797
|
+
style: {
|
|
46798
|
+
marginTop: sectionproperties.navitemmarginvertical + 'px',
|
|
46799
|
+
marginBottom: sectionproperties.navitemmarginvertical + 'px'
|
|
46800
|
+
}
|
|
46801
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46802
|
+
"class": "row m-0 w-100"
|
|
46803
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46804
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
46805
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
46806
|
+
"class": "m-0 p-0"
|
|
46807
|
+
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar))));
|
|
46808
|
+
} else if (item.pagename == 'Shop' && item.isnavigation == 1 && item.isactive == 1 && item.pageorderindex > 0) {
|
|
46809
|
+
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
46810
|
+
allowMultipleExpanded: false,
|
|
46811
|
+
allowZeroExpanded: true
|
|
46812
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
46813
|
+
uuid: index
|
|
46814
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, {
|
|
46815
|
+
onClick: function onClick() {
|
|
46816
|
+
setChoosenindex(index);
|
|
46817
|
+
}
|
|
46818
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46819
|
+
className: ' row m-0 p-0 '
|
|
46820
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46821
|
+
"class": header_cssstyles.navbarItem + ' col-lg-10 p-0 d-flex align-items-center justify-content-start cursor-pointer ',
|
|
46822
|
+
style: {
|
|
46823
|
+
marginTop: sectionproperties.navitemmarginvertical + 'px',
|
|
46824
|
+
marginBottom: sectionproperties.navitemmarginvertical + 'px'
|
|
46825
|
+
}
|
|
46826
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
46827
|
+
className: "".concat(header_cssstyles.navbarItem) + ' mb-0 p-0 '
|
|
46828
|
+
}, langdetect == 'en' ? 'Shop' : 'Shop')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46829
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0 text-end"
|
|
46830
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
46831
|
+
if (state.expanded == true) {
|
|
46832
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
46833
|
+
className: "".concat(header_cssstyles.navbarItem) + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
46834
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, {
|
|
46835
|
+
style: {
|
|
46836
|
+
fontSize: 15
|
|
46837
|
+
}
|
|
46838
|
+
}));
|
|
46839
|
+
} else {
|
|
46840
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
46841
|
+
className: "".concat(header_cssstyles.navbarItem) + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
46842
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, {
|
|
46843
|
+
style: {
|
|
46844
|
+
fontSize: 15
|
|
46845
|
+
}
|
|
46846
|
+
}));
|
|
46847
|
+
}
|
|
46848
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
46849
|
+
className: "p-0"
|
|
46850
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46851
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex"
|
|
46852
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46853
|
+
"class": "col-lg-12 p-0"
|
|
46854
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46855
|
+
className: ' row m-0 p-0 mb-2 '
|
|
46856
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46857
|
+
className: ' row m-0 w-100 px-3 '
|
|
46858
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46859
|
+
className: "col-10 p-0 text-start",
|
|
46860
|
+
onClick: function onClick() {
|
|
46861
|
+
routingcountext('shopcushions');
|
|
46862
|
+
setopenSideNav(false);
|
|
46863
|
+
}
|
|
46864
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
46865
|
+
className: "".concat(header_cssstyles.navbarItem) + ' mb-0 p-0 ',
|
|
46866
|
+
style: {}
|
|
46867
|
+
}, 'SHOP CUSHIONS'))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46868
|
+
"class": "col-lg-12 p-0"
|
|
46869
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46870
|
+
className: ' row m-0 p-0 mb-2 '
|
|
46871
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46872
|
+
className: ' row m-0 w-100 px-3 '
|
|
46873
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46874
|
+
className: "col-10 p-0 text-start",
|
|
46875
|
+
onClick: function onClick() {
|
|
46876
|
+
routingcountext('shoptables');
|
|
46877
|
+
setopenSideNav(false);
|
|
46878
|
+
}
|
|
46879
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
46880
|
+
className: "".concat(header_cssstyles.navbarItem) + ' mb-0 p-0 ',
|
|
46881
|
+
style: {}
|
|
46882
|
+
}, 'SHOP TABLES')))))))));
|
|
46883
|
+
}
|
|
46884
|
+
}
|
|
46885
|
+
}), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46704
46886
|
"class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
|
|
46705
46887
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46706
46888
|
"class": "row m-0 w-100"
|
|
@@ -46724,7 +46906,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
46724
46906
|
background: '#f4f4f4',
|
|
46725
46907
|
borderRadius: 5
|
|
46726
46908
|
}
|
|
46727
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
46909
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.instcurrencies) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.map(function (item, index) {
|
|
46728
46910
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46729
46911
|
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
|
|
46730
46912
|
onClick: function onClick() {
|
|
@@ -63012,8 +63194,10 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
63012
63194
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63013
63195
|
className: sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 p-md-0' : 'col-lg-12 p-0'
|
|
63014
63196
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63015
|
-
className: sectionproperties.showrespas == 'Horizontal' ? 'row m-0 w-100 d-flex d-md-none
|
|
63016
|
-
style: {
|
|
63197
|
+
className: sectionproperties.showrespas == 'Horizontal' ? 'row m-0 w-100 d-flex d-md-none align-items-center' : 'row m-0 w-100 d-flex align-items-center',
|
|
63198
|
+
style: {
|
|
63199
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
63200
|
+
}
|
|
63017
63201
|
}, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
63018
63202
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63019
63203
|
className: bgimagearrayofobjs[index].bg1_numberofcols != 12 ? sectionproperties.imagepadding != 0 ? ' d-flex align-items-stretch col-md-4 col-sm-12 pr-sm-2 pl-sm-2 mb-md-3 mt-md-3 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols : ' d-flex align-items-stretch col-md-4 col-sm-12 p-sm-0 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols : ' d-flex align-items-stretch col-md-12 col-sm-12 pr-md-0 pl-md-0 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols,
|
|
@@ -66491,7 +66675,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
66491
66675
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66492
66676
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? section_styles.rightinnercont + ' row m-0 w-100 h-100 ' : section_styles.rightinnercont + ' row m-0 w-100 mb-auto h-100 ',
|
|
66493
66677
|
style: {}
|
|
66494
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66678
|
+
}, sectionproperties.sectionTitleFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66495
66679
|
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex ',
|
|
66496
66680
|
style: {
|
|
66497
66681
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -66716,7 +66900,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
66716
66900
|
}
|
|
66717
66901
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66718
66902
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
66719
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66903
|
+
}, sectionproperties.sectionTitleFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66720
66904
|
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
66721
66905
|
style: {
|
|
66722
66906
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -66873,7 +67057,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
66873
67057
|
}
|
|
66874
67058
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66875
67059
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
66876
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67060
|
+
}, sectionproperties.sectionTitleFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66877
67061
|
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
66878
67062
|
style: {
|
|
66879
67063
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -67030,7 +67214,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
67030
67214
|
}
|
|
67031
67215
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67032
67216
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
67033
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67217
|
+
}, sectionproperties.sectionTitleFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67034
67218
|
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
67035
67219
|
style: {
|
|
67036
67220
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -67187,7 +67371,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
67187
67371
|
}
|
|
67188
67372
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67189
67373
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
67190
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67374
|
+
}, sectionproperties.sectionTitleFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67191
67375
|
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
67192
67376
|
style: {
|
|
67193
67377
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -67437,7 +67621,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
67437
67621
|
}
|
|
67438
67622
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67439
67623
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
67440
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67624
|
+
}, sectionproperties.sectionTitleFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67441
67625
|
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
67442
67626
|
style: {
|
|
67443
67627
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -67634,7 +67818,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
67634
67818
|
}
|
|
67635
67819
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67636
67820
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
67637
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67821
|
+
}, sectionproperties.sectionTitleFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67638
67822
|
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
67639
67823
|
style: {
|
|
67640
67824
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -67831,7 +68015,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
67831
68015
|
}
|
|
67832
68016
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67833
68017
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
67834
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68018
|
+
}, sectionproperties.sectionTitleFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67835
68019
|
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
67836
68020
|
style: {
|
|
67837
68021
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -67988,7 +68172,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
67988
68172
|
}
|
|
67989
68173
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67990
68174
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
67991
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68175
|
+
}, sectionproperties.sectionTitleFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
67992
68176
|
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
67993
68177
|
style: {
|
|
67994
68178
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -68616,7 +68800,7 @@ var Servicesection = function Servicesection(props) {
|
|
|
68616
68800
|
function ownKeys$V(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; }
|
|
68617
68801
|
function _objectSpread$V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$V(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
68618
68802
|
var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
68619
|
-
var _maincontainerarrayof, _maincontainerarrayof2;
|
|
68803
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _maincontainerarrayof, _maincontainerarrayof2;
|
|
68620
68804
|
var _useState = React.useState(''),
|
|
68621
68805
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
68622
68806
|
sectionproperties = _useState2[0],
|
|
@@ -68816,6 +69000,14 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
68816
69000
|
'@media (max-width: 800px)': {
|
|
68817
69001
|
fontSize: sectionproperties.prodCatFontSizeResp + 'px'
|
|
68818
69002
|
}
|
|
69003
|
+
}),
|
|
69004
|
+
icontxtcont: glamor.css({
|
|
69005
|
+
position: sectionproperties.textonimage == 'Yes' ? 'absolute' : 'relative',
|
|
69006
|
+
bottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '6790ae890234e' ? '' : sectionproperties.textonimage == 'Yes' ? 60 : 0,
|
|
69007
|
+
top: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6790ae890234e' ? '60%' : '',
|
|
69008
|
+
'@media (max-width: 1025px)': {
|
|
69009
|
+
top: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '6790ae890234e' ? '40%' : ''
|
|
69010
|
+
}
|
|
68819
69011
|
})
|
|
68820
69012
|
};
|
|
68821
69013
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -68890,7 +69082,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
68890
69082
|
"class": sectionproperties.descFontFamily == 'Pacifico' ? sectionStyles.descriptioncont + ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? sectionStyles.descriptioncont + ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? sectionStyles.descriptioncont + ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? sectionStyles.descriptioncont + ' QuicksandFont m-0 p-0 wordbreak' : sectionStyles.descriptioncont + ' m-0 p-0 wordbreak',
|
|
68891
69083
|
style: {}
|
|
68892
69084
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
68893
|
-
var _authdetailsContext$
|
|
69085
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
68894
69086
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68895
69087
|
// class={
|
|
68896
69088
|
// sectionproperties.numofcols == '2'
|
|
@@ -68934,7 +69126,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
68934
69126
|
borderRight: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
|
|
68935
69127
|
borderLeft: sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
|
|
68936
69128
|
boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
|
|
68937
|
-
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
69129
|
+
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66b4a0338cb14' ? '100%' : '',
|
|
68938
69130
|
position: 'relative'
|
|
68939
69131
|
},
|
|
68940
69132
|
onClick: function onClick() {
|
|
@@ -68973,11 +69165,8 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
68973
69165
|
objectFit: 'contain'
|
|
68974
69166
|
}
|
|
68975
69167
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68976
|
-
"class":
|
|
68977
|
-
style: {
|
|
68978
|
-
position: sectionproperties.textonimage == 'Yes' ? 'absolute' : 'relative',
|
|
68979
|
-
bottom: sectionproperties.textonimage == 'Yes' ? 60 : 0
|
|
68980
|
-
}
|
|
69168
|
+
"class": sectionStyles.icontxtcont + ' row m-0 w-100 allcentered px-5 ',
|
|
69169
|
+
style: {}
|
|
68981
69170
|
}, sectionproperties.showrating == 'Show' && cardinfoitem.ratingnumber != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68982
69171
|
"class": "col-lg-12 allcentered p-0 mb-1"
|
|
68983
69172
|
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
@@ -69036,7 +69225,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
69036
69225
|
color: cardinfoitem.text2colorfromarray
|
|
69037
69226
|
}
|
|
69038
69227
|
}, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar)), sectionproperties.generalbtn_show == 'Show' && cardinfoitem.iscardclickable == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69039
|
-
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'col-lg-12 mt-2 allcentered' : 'col-lg-12 mt-2 text-start p-0'
|
|
69228
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '6790ae890234e' && cardinfoindex == 0 ? 'col-lg-12 mt-5 allcentered' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '6790ae890234e' && cardinfoindex == 1 ? 'col-lg-12 mt-4 allcentered' : sectionproperties.justifyContentCenter == 'Centered' ? 'col-lg-12 mt-2 allcentered' : 'col-lg-12 mt-2 text-start p-0'
|
|
69040
69229
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
69041
69230
|
"class": "".concat(sectionStyles.btnstyles),
|
|
69042
69231
|
onClick: function onClick() {
|
|
@@ -69137,7 +69326,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
69137
69326
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), sectionproperties.view_as_slider_vertical != 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69138
69327
|
"class": ' scrollhorizontal w-100 align-items-center justify-content- '
|
|
69139
69328
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
69140
|
-
var _authdetailsContext$
|
|
69329
|
+
var _authdetailsContext$i7;
|
|
69141
69330
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69142
69331
|
"class": 'w-sm-85 scrollhorizontalcard d-flex align-items-center justify-content-center justify-content-md-start ',
|
|
69143
69332
|
style: {
|
|
@@ -69167,7 +69356,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
69167
69356
|
borderRight: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
|
|
69168
69357
|
borderLeft: sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
|
|
69169
69358
|
boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
|
|
69170
|
-
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
69359
|
+
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
|
|
69171
69360
|
},
|
|
69172
69361
|
onClick: function onClick() {
|
|
69173
69362
|
// if (cardinfoitem.iscardclickable == 'Yes') {
|
|
@@ -69301,7 +69490,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
69301
69490
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
69302
69491
|
}
|
|
69303
69492
|
}, sectionproperties.flippingcards == 'No' && cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
69304
|
-
var _authdetailsContext$
|
|
69493
|
+
var _authdetailsContext$i8, _authdetailsContext$i9;
|
|
69305
69494
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69306
69495
|
// class={
|
|
69307
69496
|
// sectionproperties.numofcols == '2'
|
|
@@ -69315,7 +69504,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
69315
69504
|
// }
|
|
69316
69505
|
"class":
|
|
69317
69506
|
// sectionproperties.evencards
|
|
69318
|
-
(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
69507
|
+
(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '6762e6ec9e9f8' ? sectionproperties.numofcols == '2' ? ' h-100 h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-100 h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '6' ? ' h-100 h-md-auto col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-100 h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '2' ? ' h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? ' h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '6' ? ' h-md-auto col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp : ' h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp,
|
|
69319
69508
|
style: {
|
|
69320
69509
|
zIndex: 2,
|
|
69321
69510
|
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
@@ -69347,7 +69536,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
69347
69536
|
borderRight: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
|
|
69348
69537
|
borderLeft: sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
|
|
69349
69538
|
boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
|
|
69350
|
-
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
69539
|
+
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
|
|
69351
69540
|
},
|
|
69352
69541
|
onClick: function onClick() {
|
|
69353
69542
|
// if (cardinfoitem.iscardclickable == 'Yes') {
|
|
@@ -71158,6 +71347,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
71158
71347
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
71159
71348
|
showpopup = _useState8[0],
|
|
71160
71349
|
setshowpopup = _useState8[1];
|
|
71350
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
71161
71351
|
React.useEffect(function () {
|
|
71162
71352
|
if (props.srcfrom == 'addsectionform') {
|
|
71163
71353
|
var secpropobj = {};
|
|
@@ -71231,23 +71421,53 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
71231
71421
|
color: sectionproperties.generalbtn_textColoronhover
|
|
71232
71422
|
}
|
|
71233
71423
|
}),
|
|
71424
|
+
slideshow_btnyrh: glamor.css({
|
|
71425
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
71426
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
71427
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
71428
|
+
color: sectionproperties.generalbtn_textColor,
|
|
71429
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
71430
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
71431
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
71432
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
71433
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
71434
|
+
lineHeight: sectionproperties.generalbtn_fontsize + 'px',
|
|
71435
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
71436
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
71437
|
+
transition: '.3s',
|
|
71438
|
+
':hover': {
|
|
71439
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
71440
|
+
color: sectionproperties.generalbtn_textColoronhover
|
|
71441
|
+
},
|
|
71442
|
+
'@media (max-width: 800px)': {
|
|
71443
|
+
width: 150,
|
|
71444
|
+
height: 40,
|
|
71445
|
+
fontSize: 12
|
|
71446
|
+
}
|
|
71447
|
+
}),
|
|
71234
71448
|
textcont: glamor.css({
|
|
71235
71449
|
bottom: sectionproperties.generalbtn_marginBottom + 'px',
|
|
71236
71450
|
position: 'absolute',
|
|
71237
71451
|
// bottom: 40,
|
|
71238
71452
|
zIndex: 2,
|
|
71239
|
-
width: '50%',
|
|
71240
|
-
left: langdetect == 'en' ? 20 : '',
|
|
71241
|
-
right: langdetect == 'ar' ? 20 : ''
|
|
71453
|
+
width: sectionproperties.generalbtn_position == 'Centered' ? '100%' : '50%',
|
|
71454
|
+
left: sectionproperties.generalbtn_position == 'Centered' ? '' : langdetect == 'en' ? 20 : '',
|
|
71455
|
+
right: sectionproperties.generalbtn_position == 'Centered' ? '' : langdetect == 'ar' ? 20 : '',
|
|
71456
|
+
'@media (max-width: 800px)': {
|
|
71457
|
+
bottom: '20px'
|
|
71458
|
+
}
|
|
71459
|
+
|
|
71460
|
+
// authdetailsContext?.instinfo?.contactinfo.instid != '6790ae890234e'
|
|
71242
71461
|
})
|
|
71243
71462
|
};
|
|
71244
71463
|
var SlideShowTextContainer = function SlideShowTextContainer(item) {
|
|
71464
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
71245
71465
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71246
71466
|
"class": cardarrayofobjs.length != 0 ? slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center p-0 mt-sm-n6 px-2 ' : slideshow_styles.textcont + ' row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center p-0 px-2 '
|
|
71247
71467
|
// style={{ position: 'absolute', top: cardarrayofobjs.length != 0 ? '40%' : '50%', zIndex: 2 }}
|
|
71248
71468
|
,
|
|
71249
71469
|
style: {}
|
|
71250
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71470
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '6790ae890234e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71251
71471
|
"class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered mb-1' : 'col-lg-12 mb-1 text-start'
|
|
71252
71472
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
71253
71473
|
className: "m-0 p-0 wordbreak font-sm-20",
|
|
@@ -71257,7 +71477,18 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
71257
71477
|
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
71258
71478
|
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
71259
71479
|
}
|
|
71260
|
-
}, langdetect == 'en' ? item.titleen : item.titlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71480
|
+
}, langdetect == 'en' ? item.titleen : item.titlear)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6790ae890234e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71481
|
+
"class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered mb-1' : 'col-lg-12 mb-1 text-start',
|
|
71482
|
+
"data-aos": 'fade-up'
|
|
71483
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
71484
|
+
className: "m-0 p-0 wordbreak font-sm-20",
|
|
71485
|
+
style: {
|
|
71486
|
+
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
71487
|
+
color: sectionproperties.slideshowText1ContentColor,
|
|
71488
|
+
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
71489
|
+
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
71490
|
+
}
|
|
71491
|
+
}, langdetect == 'en' ? item.titleen : item.titlear)), sectionproperties.slideshowText2ContentFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71261
71492
|
"class": sectionproperties.text2centered == 'Centered' ? 'col-lg-12 allcentered mb-3' : 'col-lg-12 mb-3 text-start '
|
|
71262
71493
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
71263
71494
|
className: "m-0 p-0 wordbreak font-sm-18",
|
|
@@ -71267,8 +71498,8 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
71267
71498
|
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
71268
71499
|
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
71269
71500
|
}
|
|
71270
|
-
}, langdetect == 'en' ? item.descriptionen : item.descriptionar)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71271
|
-
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? 'col-lg-12 allcentered-md' : 'col-lg-12 text-start'
|
|
71501
|
+
}, langdetect == 'en' ? item.descriptionen : item.descriptionar)), sectionproperties.generalbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) != '6790ae890234e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71502
|
+
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 allcentered-md' : 'col-lg-12 text-start'
|
|
71272
71503
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
71273
71504
|
"class": langdetect == 'en' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered mr-auto ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ml-auto ',
|
|
71274
71505
|
onClick: function onClick() {
|
|
@@ -71281,6 +71512,21 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
71281
71512
|
style: {
|
|
71282
71513
|
direction: langdetect == 'en' ? 'ltr' : 'rtl'
|
|
71283
71514
|
}
|
|
71515
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')), sectionproperties.generalbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6790ae890234e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71516
|
+
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 allcentered-md' : 'col-lg-12 text-start',
|
|
71517
|
+
"data-aos": 'fade-up'
|
|
71518
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
71519
|
+
"class": "".concat(slideshow_styles.slideshow_btnyrh) + ' allcentered ',
|
|
71520
|
+
onClick: function onClick() {
|
|
71521
|
+
if (sectionproperties.showplayer == 'Show') {
|
|
71522
|
+
setshowpopup(true);
|
|
71523
|
+
} else {
|
|
71524
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
71525
|
+
}
|
|
71526
|
+
},
|
|
71527
|
+
style: {
|
|
71528
|
+
direction: langdetect == 'en' ? 'ltr' : 'rtl'
|
|
71529
|
+
}
|
|
71284
71530
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
|
|
71285
71531
|
};
|
|
71286
71532
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|