tabexseriescomponents 0.0.215 → 0.0.217

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
@@ -1828,7 +1828,7 @@ var Product_itemtype = function Product_itemtype(props) {
1828
1828
  TabIndicatorProps: {
1829
1829
  style: {
1830
1830
  background: sectionproperties.activetabbordercolor,
1831
- width: '50%',
1831
+ // width: '50%',
1832
1832
  right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
1833
1833
  margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : ''
1834
1834
  }
@@ -22606,7 +22606,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
22606
22606
  maxHeight: '100%'
22607
22607
  }
22608
22608
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
22609
- "class": ' col-lg-6 p-0 d-flex flex-row align-items-center justify-content-start '
22609
+ "class": ' col-lg-7 p-0 d-flex flex-row align-items-center justify-content-start '
22610
22610
  }, /*#__PURE__*/React__default["default"].createElement("div", {
22611
22611
  "class": " ".concat(headerstyles$2.nav__item) + 'scrollhorizontal w-100 align-items-center justify-content-start',
22612
22612
  style: {
@@ -22634,7 +22634,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
22634
22634
  subheadercontentpositionprops: 'start'
22635
22635
  }
22636
22636
  })), /*#__PURE__*/React__default["default"].createElement("div", {
22637
- "class": "col-lg-4 p-0 d-flex align-items-center justify-content-end"
22637
+ "class": "col-lg-3 p-0 d-flex align-items-center justify-content-end"
22638
22638
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
22639
22639
  "class": " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
22640
22640
  style: {
@@ -22663,7 +22663,10 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
22663
22663
  }, /*#__PURE__*/React__default["default"].createElement("p", {
22664
22664
  "class": header_cssstyles.greetingstyles + ' m-0 p-0 mb-1 '
22665
22665
  }, lang.hello, langdetect == 'en' ? ',' : '،'), /*#__PURE__*/React__default["default"].createElement("p", {
22666
- "class": header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 '
22666
+ "class": header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 ',
22667
+ style: {
22668
+ maxWidth: '100px'
22669
+ }
22667
22670
  }, authdetailsContext.customerinfo.name)))), !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
22668
22671
  "class": "".concat(header_cssstyles.dropdownitem),
22669
22672
  onClick: function onClick() {
@@ -27070,7 +27073,6 @@ var Footer5 = function Footer5(props) {
27070
27073
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
27071
27074
  logoarrayofobjects = _useState6[0],
27072
27075
  setlogoarrayofobjects = _useState6[1];
27073
- props.actions.history;
27074
27076
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
27075
27077
  var lang = props.actions.lang;
27076
27078
  var langdetect = props.actions.langdetect;
@@ -30308,6 +30310,18 @@ var ModernCardsSection = function ModernCardsSection(props) {
30308
30310
  cardobj.productimages = arrayItem.productinfo.productimages;
30309
30311
  cardobj.quantity = itemquantity;
30310
30312
  cardobj.timestamp = arrayItem.productinfo.timestamp;
30313
+ if (langdetect == 'en') {
30314
+ cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_en;
30315
+ } else {
30316
+ cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_ar;
30317
+ }
30318
+ if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
30319
+ favoriteprojectscountContext.forEach(function (favitem, favindex) {
30320
+ if (arrayItem.productinfo.productid == favitem) {
30321
+ cardobj.IsFavExists = true;
30322
+ }
30323
+ });
30324
+ }
30311
30325
  if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
30312
30326
  favoriteprojectscountContext.forEach(function (favitem, favindex) {
30313
30327
  if (arrayItem.productinfo.productid == favitem) {
@@ -30464,13 +30478,13 @@ var ModernCardsSection = function ModernCardsSection(props) {
30464
30478
  color: sectionproperties.noprod_iconcolor
30465
30479
  }
30466
30480
  }), /*#__PURE__*/React__default["default"].createElement("p", {
30481
+ "class": "m-0 p-0 mt-2",
30467
30482
  style: {
30468
- fontSize: sectionproperties.noprod_fontSize + 'px',
30469
30483
  fontWeight: sectionproperties.noprod_fontWeight,
30470
- textTransform: sectionproperties.noprod_textTransform,
30471
- color: sectionproperties.noprod_color
30484
+ color: sectionproperties.noprod_color,
30485
+ fontSize: sectionproperties.noprod_fontSize + 'px'
30472
30486
  }
30473
- }, langdetect == 'en' ? 'No Products Found' : 'لا توجد منتجات'))), cardsarray.length != 0 && StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map(function (item, index) {
30487
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))), cardsarray.length != 0 && StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map(function (item, index) {
30474
30488
  if (item.tabexsectioninfo != null) {
30475
30489
  if (item.sectionstructype == 'child' && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined) {
30476
30490
  var Sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
@@ -30481,7 +30495,7 @@ var ModernCardsSection = function ModernCardsSection(props) {
30481
30495
  }, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
30482
30496
  transitionBehavior: 'auto',
30483
30497
  wrapperClassName: '',
30484
- itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard' ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : 'scrollmenuclassnameitem',
30498
+ itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard' ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard' ? 'scrollmenuclassnameitemUpSlideEffectCard' : 'scrollmenuclassnameitem',
30485
30499
  scrollContainerClassName: 'scrollmenuclasssubscrollbar'
30486
30500
  }, cardsarray.map(function (cardinfoitem, cardinfoindex) {
30487
30501
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -36188,7 +36202,12 @@ var Freetextsection = function Freetextsection(props) {
36188
36202
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr));
36189
36203
  };
36190
36204
  return /*#__PURE__*/React__default["default"].createElement("div", {
36191
- "class": ' row ml-0 mr-0 d-flex justify-content-between w-100 align-items-center ',
36205
+ "class": "w-100 allcentered",
36206
+ style: {
36207
+ background: sectionproperties.backgroundColor
36208
+ }
36209
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
36210
+ "class": ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ',
36192
36211
  style: {
36193
36212
  marginTop: sectionproperties.marginTop + 'px',
36194
36213
  marginBottom: sectionproperties.marginBottom + 'px',
@@ -36197,7 +36216,9 @@ var Freetextsection = function Freetextsection(props) {
36197
36216
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
36198
36217
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
36199
36218
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
36200
- position: 'relative'
36219
+ position: 'relative',
36220
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
36221
+ width: sectionproperties.width + 'vw'
36201
36222
  }
36202
36223
  }, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
36203
36224
  "class": section_styles.imgcontainer
@@ -36264,7 +36285,7 @@ var Freetextsection = function Freetextsection(props) {
36264
36285
  "class": "col-lg-12 p-0"
36265
36286
  }, /*#__PURE__*/React__default["default"].createElement("button", {
36266
36287
  "class": "".concat(section_styles.btn)
36267
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))));
36288
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))));
36268
36289
  };
36269
36290
 
36270
36291
  function ownKeys$Q(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -36403,15 +36424,22 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36403
36424
  };
36404
36425
  var Content = function Content() {
36405
36426
  return /*#__PURE__*/React__default["default"].createElement("div", {
36406
- "class": "col-lg-6 col-md-12 d-flex justify-content-start h-100 justify-content-md-center p-0"
36427
+ "class": "col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0",
36428
+ style: {
36429
+ background: sectionproperties.reservation_bgcolor,
36430
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
36431
+ paddingTop: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
36432
+ paddingBottom: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0
36433
+ }
36407
36434
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36408
- "class": "row m-0 w-100 mb-auto"
36435
+ "class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
36409
36436
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36410
- "class": "col-lg-12 p-0 d-flex justify-content-md-center",
36437
+ "class": "col-lg-12 pl-0 pr-0 d-flex justify-content-md-center",
36411
36438
  style: {
36412
36439
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
36413
36440
  marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
36414
- marginTop: sectionproperties.sectionTitleMarginTop + 'px'
36441
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
36442
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
36415
36443
  }
36416
36444
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36417
36445
  "class": "d-flex align-items-center flex-row d-sm-none mt-sm-2",
@@ -36491,7 +36519,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36491
36519
  return /*#__PURE__*/React__default["default"].createElement("div", {
36492
36520
  "class": sectionproperties.image_height == 0 ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center h-auto p-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0',
36493
36521
  style: {
36494
- cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
36522
+ cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default',
36523
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor
36495
36524
  },
36496
36525
  onClick: function onClick() {
36497
36526
  var _imagesarray$2;
@@ -36506,10 +36535,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36506
36535
  }
36507
36536
  }
36508
36537
  }
36509
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
36538
+ }, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
36510
36539
  urlEndpoint: IKurlEndpoint,
36511
36540
  publicKey: IKpublicKey,
36512
- path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar) : '',
36541
+ path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar),
36513
36542
  style: {
36514
36543
  width: '100%',
36515
36544
  height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
@@ -36524,7 +36553,17 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36524
36553
  }));
36525
36554
  };
36526
36555
  return /*#__PURE__*/React__default["default"].createElement("div", {
36527
- "class": ' row ml-0 mr-0 d-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3',
36556
+ "class": ' row ml-0 mr-0 d-flex justify-content-between align-items-center '
36557
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
36558
+ "class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? 'col-lg-12 d-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100' : 'col-lg-12 d-flex justify-content-between align-items-center w-md-100',
36559
+ style: {
36560
+ paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
36561
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
36562
+ width: sectionproperties.width + 'vw',
36563
+ background: sectionproperties.backgroundColor
36564
+ }
36565
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
36566
+ "class": sectionproperties.paddingLeft != 0 ? 'row m-0 w-100 d-flex justify-content-between px-1025-1 pl-md-3 pr-md-3' : 'row m-0 w-100 d-flex justify-content-between',
36528
36567
  style: {
36529
36568
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
36530
36569
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
@@ -36532,22 +36571,28 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36532
36571
  paddingBottom: sectionproperties.paddingBottom + 'px',
36533
36572
  marginTop: sectionproperties.marginTop + 'px',
36534
36573
  marginBottom: sectionproperties.marginBottom + 'px',
36535
- background: sectionproperties.backgroundColor,
36536
36574
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
36537
36575
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
36538
36576
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
36539
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
36540
- width: sectionproperties.width + 'vw'
36577
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px'
36541
36578
  }
36542
36579
  }, sectionproperties.sectionstyle == 'Image on right' && /*#__PURE__*/React__default["default"].createElement("div", {
36543
- "class": "col-lg-12 p-0"
36580
+ "class": "col-lg-12 p-0 d-flex justify-content-between"
36544
36581
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36545
- "class": "row m-0 w-100"
36582
+ "class": "row m-0 w-100 d-flex justify-content-between",
36583
+ style: {
36584
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
36585
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
36586
+ }
36546
36587
  }, Content(), Image())), sectionproperties.sectionstyle != 'Image on right' && /*#__PURE__*/React__default["default"].createElement("div", {
36547
36588
  "class": "col-lg-12 p-0"
36548
36589
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36549
- "class": "row m-0 w-100"
36550
- }, Image(), Content())));
36590
+ "class": "row m-0 w-100",
36591
+ style: {
36592
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
36593
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
36594
+ }
36595
+ }, Image(), Content())))));
36551
36596
  };
36552
36597
 
36553
36598
  function ownKeys$P(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -37939,10 +37984,11 @@ var Slideshowslide = function Slideshowslide(props) {
37939
37984
  pcollarray = _useState12[0],
37940
37985
  setpcollarray = _useState12[1];
37941
37986
  React.useEffect(function () {
37942
- var _authdetailsContext$i;
37987
+ var _authdetailsContext$i, _authdetailsContext$i2;
37943
37988
  var temppcollarray = _toConsumableArray__default["default"](pcollarray);
37944
- authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instcategories.forEach(function (arrayItem) {
37945
- arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.parentcolletions.forEach(function (item) {
37989
+ authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : (_authdetailsContext$i2 = _authdetailsContext$i.instcategories) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.forEach(function (arrayItem) {
37990
+ var _arrayItem$parentcoll;
37991
+ arrayItem === null || arrayItem === void 0 ? void 0 : (_arrayItem$parentcoll = arrayItem.parentcolletions) === null || _arrayItem$parentcoll === void 0 ? void 0 : _arrayItem$parentcoll.forEach(function (item) {
37946
37992
  temppcollarray.push(item);
37947
37993
  });
37948
37994
  });
@@ -38102,7 +38148,7 @@ var Slideshowslide = function Slideshowslide(props) {
38102
38148
  }))));
38103
38149
  };
38104
38150
  var SlideshowContent = function SlideshowContent() {
38105
- var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15;
38151
+ var _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
38106
38152
  return /*#__PURE__*/React__default["default"].createElement("div", {
38107
38153
  "class": "col-lg-12 p-0"
38108
38154
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -38129,8 +38175,8 @@ var Slideshowslide = function Slideshowslide(props) {
38129
38175
  height: sectionproperties.height + 'vh',
38130
38176
  overflowY: 'scroll'
38131
38177
  }
38132
- }, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : (_authdetailsContext$i3 = _authdetailsContext$i2.instcategories) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
38133
- var _authdetailsContext$i4;
38178
+ }, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : (_authdetailsContext$i4 = _authdetailsContext$i3.instcategories) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.map(function (item, index) {
38179
+ var _authdetailsContext$i5;
38134
38180
  return /*#__PURE__*/React__default["default"].createElement("div", {
38135
38181
  "class": slideshow_styles.categoryname + ' row ml-0 mr-0 w-100 cursor-pointer ',
38136
38182
  onMouseEnter: function onMouseEnter() {
@@ -38152,7 +38198,7 @@ var Slideshowslide = function Slideshowslide(props) {
38152
38198
  size: sectionproperties.collectionsectioniconfontsize
38153
38199
  }) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
38154
38200
  size: sectionproperties.collectionsectioniconfontsize
38155
- }))), index != (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instcategories) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
38201
+ }))), index != (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instcategories) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
38156
38202
  className: "col-lg-12 p-0 mt-3 mb-3"
38157
38203
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
38158
38204
  "class": "m-0"
@@ -38186,7 +38232,7 @@ var Slideshowslide = function Slideshowslide(props) {
38186
38232
  "class": "m-0"
38187
38233
  })));
38188
38234
  }
38189
- })), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instcollections.map(function (item, index) {
38235
+ })), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instcollections.map(function (item, index) {
38190
38236
  if (item.isshowntocustomers == 1) {
38191
38237
  return /*#__PURE__*/React__default["default"].createElement("div", {
38192
38238
  "class": slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer ',
@@ -38207,7 +38253,7 @@ var Slideshowslide = function Slideshowslide(props) {
38207
38253
  "class": "m-0"
38208
38254
  })));
38209
38255
  }
38210
- }))), sectionproperties.fetchparenttype == 'Categories' && Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : (_authdetailsContext$i7 = _authdetailsContext$i6.instcategories[Choosenindex]) === null || _authdetailsContext$i7 === void 0 ? void 0 : (_authdetailsContext$i8 = _authdetailsContext$i7.parentcolletions) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
38256
+ }))), sectionproperties.fetchparenttype == 'Categories' && Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : (_authdetailsContext$i8 = _authdetailsContext$i7.instcategories[Choosenindex]) === null || _authdetailsContext$i8 === void 0 ? void 0 : (_authdetailsContext$i9 = _authdetailsContext$i8.parentcolletions) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
38211
38257
  "class": langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar',
38212
38258
  style: {
38213
38259
  minHeight: sectionproperties.height + 'vh'
@@ -38217,7 +38263,7 @@ var Slideshowslide = function Slideshowslide(props) {
38217
38263
  }
38218
38264
  }, /*#__PURE__*/React__default["default"].createElement("div", {
38219
38265
  "class": "row m-0 w-100"
38220
- }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : (_authdetailsContext$i10 = _authdetailsContext$i9.instcategories[Choosenindex]) === null || _authdetailsContext$i10 === void 0 ? void 0 : (_authdetailsContext$i11 = _authdetailsContext$i10.parentcolletions) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.map(function (item, index) {
38266
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : (_authdetailsContext$i11 = _authdetailsContext$i10.instcategories[Choosenindex]) === null || _authdetailsContext$i11 === void 0 ? void 0 : (_authdetailsContext$i12 = _authdetailsContext$i11.parentcolletions) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.map(function (item, index) {
38221
38267
  var _item$collections;
38222
38268
  return /*#__PURE__*/React__default["default"].createElement("div", {
38223
38269
  "class": "col-lg-4 p-0"
@@ -38252,7 +38298,7 @@ var Slideshowslide = function Slideshowslide(props) {
38252
38298
  }
38253
38299
  }, /*#__PURE__*/React__default["default"].createElement("div", {
38254
38300
  "class": "row m-0 w-100"
38255
- }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : (_authdetailsContext$i13 = _authdetailsContext$i12.instcategories[0]) === null || _authdetailsContext$i13 === void 0 ? void 0 : (_authdetailsContext$i14 = _authdetailsContext$i13.parentcolletions[Choosenindex]) === null || _authdetailsContext$i14 === void 0 ? void 0 : (_authdetailsContext$i15 = _authdetailsContext$i14.collections) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.map(function (item, index) {
38301
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : (_authdetailsContext$i14 = _authdetailsContext$i13.instcategories[0]) === null || _authdetailsContext$i14 === void 0 ? void 0 : (_authdetailsContext$i15 = _authdetailsContext$i14.parentcolletions[Choosenindex]) === null || _authdetailsContext$i15 === void 0 ? void 0 : (_authdetailsContext$i16 = _authdetailsContext$i15.collections) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.map(function (item, index) {
38256
38302
  return /*#__PURE__*/React__default["default"].createElement("div", {
38257
38303
  "class": "col-lg-4 p-0",
38258
38304
  onClick: function onClick() {
@@ -40138,7 +40184,7 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
40138
40184
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
40139
40185
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
40140
40186
  }
40141
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
40187
+ }, item.image != '' && /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
40142
40188
  urlEndpoint: IKurlEndpoint,
40143
40189
  publicKey: IKpublicKey,
40144
40190
  path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
@@ -40153,7 +40199,21 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
40153
40199
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
40154
40200
  },
40155
40201
  loading: "lazy"
40156
- }), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
40202
+ }), item.image == '' && /*#__PURE__*/React__default["default"].createElement("div", {
40203
+ style: {
40204
+ width: '100%',
40205
+ height: '100%',
40206
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
40207
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
40208
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
40209
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
40210
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
40211
+ }
40212
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
40213
+ "class": "h-100 allcentered text-light"
40214
+ }, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
40215
+ size: 26
40216
+ }))), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
40157
40217
  "class": "".concat(card_cssstyles.badgeStyles) + ' allcentered '
40158
40218
  }, /*#__PURE__*/React__default["default"].createElement("p", {
40159
40219
  "class": "m-0 p-0",
@@ -40277,14 +40337,14 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
40277
40337
  style: {
40278
40338
  textAlign: langdetect == 'en' ? 'left' : 'right'
40279
40339
  }
40280
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م', ' '), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
40340
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname, ' '), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
40281
40341
  "class": "".concat(card_cssstyles.productSalePricestyles)
40282
40342
  }, " / "), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
40283
- "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto ml-sm-3 mr-sm-3 ',
40343
+ "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto ',
40284
40344
  style: {
40285
40345
  textAlign: langdetect == 'en' ? 'left' : 'right'
40286
40346
  }
40287
- }, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م')))));
40347
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)))));
40288
40348
  };
40289
40349
 
40290
40350
  function ownKeys$A(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -40798,10 +40858,19 @@ var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
40798
40858
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
40799
40859
  transform: 'scale(0.9)',
40800
40860
  cursor: 'pointer',
40801
- ":hover": {
40861
+ ':hover': {
40802
40862
  transition: '.3s',
40803
40863
  transform: 'scale(1)',
40804
40864
  boxShadow: '0px 0px 5px #ECECEC'
40865
+ },
40866
+ ':hover .categoryname': {
40867
+ transition: 'all .4s ease',
40868
+ color: sectionproperties.text_secondarycolor
40869
+ },
40870
+ ':hover .button_styles': {
40871
+ backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
40872
+ borderColor: sectionproperties.generalbtn_textColoronhover,
40873
+ transition: 'all .4s ease'
40805
40874
  }
40806
40875
  }),
40807
40876
  inner_content: glamor.css({
@@ -40829,14 +40898,63 @@ var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
40829
40898
  ':hover': {
40830
40899
  backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
40831
40900
  borderColor: sectionproperties.generalbtn_textColoronhover,
40832
- transition: '.3'
40901
+ transition: 'all .4s ease'
40833
40902
  }
40834
40903
  })
40835
40904
  };
40905
+ var CardContent = function CardContent() {
40906
+ return /*#__PURE__*/React__default["default"].createElement("div", {
40907
+ "class": "w-100 h-100",
40908
+ style: {
40909
+ overflow: 'hidden'
40910
+ }
40911
+ }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
40912
+ urlEndpoint: IKurlEndpoint,
40913
+ publicKey: IKpublicKey,
40914
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
40915
+ style: {
40916
+ height: '100%',
40917
+ width: '100%',
40918
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
40919
+ },
40920
+ loading: "lazy"
40921
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
40922
+ "class": "".concat(card_cssstyles.inner_content) + ' row m-0 w-100 align-items-center justify-content-start pl-sm-2 pr-sm-2 '
40923
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
40924
+ "class": "col-lg-9 col-md-9 col-sm-9 p-0 h-100 d-flex align-items-center"
40925
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
40926
+ "class": "".concat(card_cssstyles.categoryname) + ' categoryname wordbreak wordbreak1 m-0 ',
40927
+ style: {
40928
+ textAlign: langdetect == 'en' ? 'left' : 'right'
40929
+ }
40930
+ }, item.name)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
40931
+ "class": "col-lg-3 col-md-3 col-sm-3 100 d-flex align-items-center justify-content-end p-0"
40932
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
40933
+ "class": "".concat(card_cssstyles.button_styles) + ' button_styles '
40934
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
40935
+ "class": "h-100 d-flex align-items-center justify-content-center"
40936
+ }, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(BsArrowRight.BsArrowRight, {
40937
+ size: sectionproperties.generalbtn_fontsize,
40938
+ style: {
40939
+ color: sectionproperties.generalbtn_textColor,
40940
+ ':hover': {
40941
+ color: sectionproperties.generalbtn_textColoronhover
40942
+ }
40943
+ }
40944
+ }) : /*#__PURE__*/React__default["default"].createElement(BsArrowLeft.BsArrowLeft, {
40945
+ size: sectionproperties.generalbtn_fontsize,
40946
+ style: {
40947
+ color: sectionproperties.generalbtn_textColor,
40948
+ ':hover': {
40949
+ color: sectionproperties.generalbtn_textColoronhover
40950
+ }
40951
+ }
40952
+ }))))));
40953
+ };
40836
40954
  return /*#__PURE__*/React__default["default"].createElement("div", {
40837
40955
  "class": card_cssstyles.categorycard + ' col-lg-12 p-0 '
40838
40956
  }, /*#__PURE__*/React__default["default"].createElement("div", {
40839
- "class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center",
40957
+ "class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center d-flex d-md-none",
40840
40958
  onClick: function onClick() {
40841
40959
  if (props.fetchingtypeprops == 'collections') {
40842
40960
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
@@ -40854,43 +40972,26 @@ var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
40854
40972
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
40855
40973
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
40856
40974
  }
40857
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
40858
- urlEndpoint: IKurlEndpoint,
40859
- publicKey: IKpublicKey,
40860
- path: item.image,
40861
- style: {
40862
- height: '100%',
40863
- width: '100%',
40864
- objectFit: 'cover'
40865
- },
40866
- loading: "lazy"
40867
- }), /*#__PURE__*/React__default["default"].createElement("div", {
40868
- "class": "".concat(card_cssstyles.inner_content) + " row m-0 w-100 align-items-center justify-content-start "
40869
- }, /*#__PURE__*/React__default["default"].createElement("div", {
40870
- "class": "col-lg-10 p-0 h-100"
40871
- }, /*#__PURE__*/React__default["default"].createElement("p", {
40872
- "class": "".concat(card_cssstyles.categoryname) + ' wordbreak wordbreak1 m-0 '
40873
- }, item.name)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
40874
- "class": langdetect == 'en' ? "".concat(card_cssstyles.button_styles) + ' ml-auto ' : "".concat(card_cssstyles.button_styles) + ' mr-auto '
40875
- }, /*#__PURE__*/React__default["default"].createElement("i", {
40876
- "class": "h-100 d-flex align-items-center justify-content-center"
40877
- }, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(BsArrowRight.BsArrowRight, {
40878
- size: sectionproperties.generalbtn_fontsize,
40879
- style: {
40880
- color: sectionproperties.generalbtn_textColor,
40881
- ':hover': {
40882
- color: sectionproperties.generalbtn_textColoronhover
40975
+ }, CardContent()), /*#__PURE__*/React__default["default"].createElement("div", {
40976
+ "class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center d-none d-md-flex",
40977
+ onClick: function onClick() {
40978
+ if (props.fetchingtypeprops == 'collections') {
40979
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
40980
+ } else {
40981
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
40883
40982
  }
40884
- }
40885
- }) : /*#__PURE__*/React__default["default"].createElement(BsArrowLeft.BsArrowLeft, {
40886
- size: sectionproperties.generalbtn_fontsize,
40983
+ },
40887
40984
  style: {
40888
- color: sectionproperties.generalbtn_textColor,
40889
- ':hover': {
40890
- color: sectionproperties.generalbtn_textColoronhover
40891
- }
40985
+ position: 'relative',
40986
+ height: sectionproperties.height_responsive + 'px',
40987
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
40988
+ backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
40989
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
40990
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
40991
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
40992
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
40892
40993
  }
40893
- }))))));
40994
+ }, CardContent()));
40894
40995
  };
40895
40996
 
40896
40997
  function ownKeys$y(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }