tabexseriescomponents 0.2.816 → 0.2.817

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 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
- var currentshowingimageindex_pro = props.actions.currentshowingimageindex;
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 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productfeatures) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
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 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productfeatures) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.map(function (fitem, findex) {
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 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.description_en : 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 ? void 0 : _fetchProductInfoQuer5.description_ar
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 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productimages) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.length) != 0 && (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.productimages.map(function (item, index) {
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
- if (item.isnavigation == 1 && item.isactive == 1) {
26192
- return /*#__PURE__*/React__default["default"].createElement("div", {
26193
- className: "row m-0 w-100 anim"
26194
- }, /*#__PURE__*/React__default["default"].createElement("div", {
26195
- className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
26196
- }, /*#__PURE__*/React__default["default"].createElement("div", {
26197
- onClick: function onClick() {
26198
- setopenmenuCanvas(false);
26199
- routingcountext(item.navigationroute, false, '');
26200
- setmenuactive(false);
26201
- }
26202
- }, /*#__PURE__*/React__default["default"].createElement("p", {
26203
- className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
26204
- }, langdetect == 'en' ? item.pagename : item.pagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
26205
- className: "col-lg-12 p-0"
26206
- }, /*#__PURE__*/React__default["default"].createElement("hr", {
26207
- className: "mt-3 mb-3",
26208
- style: {
26209
- borderColor: sectionproperties.resp_header_separatorbg
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$i3, _authdetailsContext$i4;
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-9 p-0 d-flex align-items-center justify-content-start"
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
- if (item.isnavigation == 1 && item.isactive == 1 && item.pageorderindex > 0) {
46685
- return /*#__PURE__*/React__default["default"].createElement("div", {
46686
- "class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer ',
46687
- onClick: function onClick() {
46688
- routingcountext(item.navigationroute);
46689
- setopenSideNav(false);
46690
- },
46691
- style: {
46692
- marginTop: sectionproperties.navitemmarginvertical + 'px',
46693
- marginBottom: sectionproperties.navitemmarginvertical + 'px'
46694
- }
46695
- }, /*#__PURE__*/React__default["default"].createElement("div", {
46696
- "class": "row m-0 w-100"
46697
- }, /*#__PURE__*/React__default["default"].createElement("div", {
46698
- "class": "col-lg-9 p-0 d-flex align-items-center justify-content-start"
46699
- }, /*#__PURE__*/React__default["default"].createElement("p", {
46700
- "class": "m-0 p-0"
46701
- }, " ", langdetect == 'en' ? item.pagename : item.pagename_ar))));
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
+ }
46786
+ }
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
+ }
46702
46884
  }
46703
- }), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
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$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.map(function (item, index) {
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 justify-content-center align-items-center' : 'row m-0 w-100 allcentered',
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',
@@ -71158,6 +71342,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
71158
71342
  _useState8 = _slicedToArray__default["default"](_useState7, 2),
71159
71343
  showpopup = _useState8[0],
71160
71344
  setshowpopup = _useState8[1];
71345
+ var authdetailsContext = props.actions.authdetailsContext;
71161
71346
  React.useEffect(function () {
71162
71347
  if (props.srcfrom == 'addsectionform') {
71163
71348
  var secpropobj = {};
@@ -71231,17 +71416,47 @@ var Slideshowzoom = function Slideshowzoom(props) {
71231
71416
  color: sectionproperties.generalbtn_textColoronhover
71232
71417
  }
71233
71418
  }),
71419
+ slideshow_btnyrh: glamor.css({
71420
+ height: sectionproperties.generalbtn_height + 'px',
71421
+ width: sectionproperties.generalbtn_width + 'px',
71422
+ background: sectionproperties.generalbtn_bgColor,
71423
+ color: sectionproperties.generalbtn_textColor,
71424
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
71425
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
71426
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
71427
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
71428
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
71429
+ lineHeight: sectionproperties.generalbtn_fontsize + 'px',
71430
+ textTransform: sectionproperties.generalbtn_texttransform,
71431
+ fontWeight: sectionproperties.generalbtn_fontweight,
71432
+ transition: '.3s',
71433
+ ':hover': {
71434
+ background: sectionproperties.generalbtn_bgColoronhover,
71435
+ color: sectionproperties.generalbtn_textColoronhover
71436
+ },
71437
+ '@media (max-width: 800px)': {
71438
+ width: 150,
71439
+ height: 40,
71440
+ fontSize: 12
71441
+ }
71442
+ }),
71234
71443
  textcont: glamor.css({
71235
71444
  bottom: sectionproperties.generalbtn_marginBottom + 'px',
71236
71445
  position: 'absolute',
71237
71446
  // bottom: 40,
71238
71447
  zIndex: 2,
71239
- width: '50%',
71240
- left: langdetect == 'en' ? 20 : '',
71241
- right: langdetect == 'ar' ? 20 : ''
71448
+ width: sectionproperties.generalbtn_position == 'Centered' ? '100%' : '50%',
71449
+ left: sectionproperties.generalbtn_position == 'Centered' ? '' : langdetect == 'en' ? 20 : '',
71450
+ right: sectionproperties.generalbtn_position == 'Centered' ? '' : langdetect == 'ar' ? 20 : '',
71451
+ '@media (max-width: 800px)': {
71452
+ bottom: '20px'
71453
+ }
71454
+
71455
+ // authdetailsContext?.instinfo?.contactinfo.instid != '6790ae890234e'
71242
71456
  })
71243
71457
  };
71244
71458
  var SlideShowTextContainer = function SlideShowTextContainer(item) {
71459
+ var _authdetailsContext$i, _authdetailsContext$i2;
71245
71460
  return /*#__PURE__*/React__default["default"].createElement("div", {
71246
71461
  "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
71462
  // style={{ position: 'absolute', top: cardarrayofobjs.length != 0 ? '40%' : '50%', zIndex: 2 }}
@@ -71267,8 +71482,8 @@ var Slideshowzoom = function Slideshowzoom(props) {
71267
71482
  fontWeight: sectionproperties.slideshowText2ContentFontWeight,
71268
71483
  textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
71269
71484
  }
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'
71485
+ }, langdetect == 'en' ? item.descriptionen : item.descriptionar)), sectionproperties.generalbtn_show == 'Show' && (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", {
71486
+ "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
71487
  }, /*#__PURE__*/React__default["default"].createElement("button", {
71273
71488
  "class": langdetect == 'en' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered mr-auto ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ml-auto ',
71274
71489
  onClick: function onClick() {
@@ -71281,6 +71496,21 @@ var Slideshowzoom = function Slideshowzoom(props) {
71281
71496
  style: {
71282
71497
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
71283
71498
  }
71499
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')), sectionproperties.generalbtn_show == 'Show' && (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", {
71500
+ "class": 'col-lg-12 allcentered',
71501
+ "data-aos": 'fade-up'
71502
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
71503
+ "class": "".concat(slideshow_styles.slideshow_btnyrh) + ' allcentered ',
71504
+ onClick: function onClick() {
71505
+ if (sectionproperties.showplayer == 'Show') {
71506
+ setshowpopup(true);
71507
+ } else {
71508
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
71509
+ }
71510
+ },
71511
+ style: {
71512
+ direction: langdetect == 'en' ? 'ltr' : 'rtl'
71513
+ }
71284
71514
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
71285
71515
  };
71286
71516
  return /*#__PURE__*/React__default["default"].createElement("div", {