tabexseriescomponents 0.0.665 → 0.0.666

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.
Files changed (356) hide show
  1. package/dist/index.cjs.js +556 -802
  2. package/dist/index.esm.js +555 -801
  3. package/dist/index.umd.js +559 -804
  4. package/package.json +1 -1
  5. package/{srcoriginal → srcoman}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +2 -2
  6. package/srcoman/TabexComponents/Footer/Footer1/Footer1.jsx +714 -0
  7. package/{srcoriginal → srcoman}/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +1 -1
  8. package/{srcoriginal → srcoman}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +18 -246
  9. package/{srcoriginal → srcoman}/TabexComponents/Headers/Modernheader/Modernheader.jsx +4 -19
  10. package/{srcoriginal → srcoman}/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +3 -28
  11. package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +83 -80
  12. package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +2 -1
  13. package/{srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx → srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx} +13 -1
  14. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +437 -0
  15. package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +1 -1
  16. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1766 -0
  17. package/srcoman/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +790 -0
  18. package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +9 -2
  19. package/srcoriginal/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
  20. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -1935
  21. package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -760
  22. package/srcoriginal/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -1679
  23. package/srcoriginal/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -512
  24. /package/{srcoriginal → srcoman}/Contexts/LanguageContext.jsx +0 -0
  25. /package/{srcoriginal → srcoman}/Contexts/ProductsCardsSectionContext.jsx +0 -0
  26. /package/{srcoriginal → srcoman}/Imagekitconfig.jsx +0 -0
  27. /package/{srcoriginal → srcoman}/StylesJS/Customstyles.js +0 -0
  28. /package/{srcoriginal → srcoman}/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -0
  29. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Card20/Card20.jsx +0 -0
  30. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Card21/Card21.jsx +0 -0
  31. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Card22/Card22.jsx +0 -0
  32. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -0
  33. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Card23/Card23.jsx +0 -0
  34. /package/{srcoriginal → srcoman}/TabexComponents/Cards/CardAll/CardAll.jsx +0 -0
  35. /package/{srcoriginal → srcoman}/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -0
  36. /package/{srcoriginal → srcoman}/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -0
  37. /package/{srcoriginal → srcoman}/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -0
  38. /package/{srcoriginal → srcoman}/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -0
  39. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -0
  40. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -0
  41. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -0
  42. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -0
  43. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -0
  44. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -0
  45. /package/{srcoriginal → srcoman}/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -0
  46. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -0
  47. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -0
  48. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -0
  49. /package/{srcoriginal → srcoman}/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -0
  50. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -0
  51. /package/{srcoriginal → srcoman}/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -0
  52. /package/{srcoriginal → srcoman}/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -0
  53. /package/{srcoriginal → srcoman}/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -0
  54. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -0
  55. /package/{srcoriginal → srcoman}/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -0
  56. /package/{srcoriginal → srcoman}/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -0
  57. /package/{srcoriginal → srcoman}/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -0
  58. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -0
  59. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -0
  60. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -0
  61. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -0
  62. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -0
  63. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -0
  64. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -0
  65. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -0
  66. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -0
  67. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -0
  68. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -0
  69. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -0
  70. /package/{srcoriginal → srcoman}/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -0
  71. /package/{srcoriginal → srcoman}/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -0
  72. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -0
  73. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -0
  74. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -0
  75. /package/{srcoriginal → srcoman}/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -0
  76. /package/{srcoriginal → srcoman}/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -0
  77. /package/{srcoriginal → srcoman}/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -0
  78. /package/{srcoriginal → srcoman}/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -0
  79. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -0
  80. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Footer2/Footer2.jsx +0 -0
  81. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Footer3/Footer3.jsx +0 -0
  82. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Footer4/Footer4.jsx +0 -0
  83. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Footer5/Footer5.jsx +0 -0
  84. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Footer6/Footer6.jsx +0 -0
  85. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Footer7/Footer7.jsx +0 -0
  86. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Footer8/Footer8.jsx +0 -0
  87. /package/{srcoriginal → srcoman}/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -0
  88. /package/{srcoriginal → srcoman}/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -0
  89. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -0
  90. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -0
  91. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -0
  92. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  93. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/noimage.png +0 -0
  94. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  95. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  96. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  97. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  98. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  99. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  100. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  101. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  102. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  103. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/usflag.png +0 -0
  104. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  105. /package/{srcoriginal → srcoman}/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -0
  106. /package/{srcoriginal → srcoman}/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -0
  107. /package/{srcoriginal → srcoman}/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -0
  108. /package/{srcoriginal → srcoman}/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -0
  109. /package/{srcoriginal → srcoman}/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -0
  110. /package/{srcoriginal → srcoman}/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -0
  111. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -0
  112. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Header4/Header4.jsx +0 -0
  113. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -0
  114. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Header8/Header8.jsx +0 -0
  115. /package/{srcoriginal → srcoman}/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -0
  116. /package/{srcoriginal → srcoman}/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -0
  117. /package/{srcoriginal → srcoman}/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -0
  118. /package/{srcoriginal → srcoman}/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -0
  119. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -0
  120. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -0
  121. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -0
  122. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -0
  123. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -0
  124. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -0
  125. /package/{srcoriginal → srcoman}/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -0
  126. /package/{srcoriginal → srcoman}/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -0
  127. /package/{srcoriginal → srcoman}/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -0
  128. /package/{srcoriginal → srcoman}/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -0
  129. /package/{srcoriginal → srcoman}/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -0
  130. /package/{srcoriginal → srcoman}/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -0
  131. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Subheader/Subheader.jsx +0 -0
  132. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -0
  133. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -0
  134. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -0
  135. /package/{srcoriginal → srcoman}/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -0
  136. /package/{srcoriginal → srcoman}/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -0
  137. /package/{srcoriginal → srcoman}/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -0
  138. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -0
  139. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -0
  140. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -0
  141. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -0
  142. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -0
  143. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -0
  144. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -0
  145. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -0
  146. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -0
  147. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -0
  148. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -0
  149. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -0
  150. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -0
  151. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -0
  152. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -0
  153. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -0
  154. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -0
  155. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -0
  156. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -0
  157. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -0
  158. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -0
  159. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -0
  160. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -0
  161. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -0
  162. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -0
  163. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -0
  164. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -0
  165. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -0
  166. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -0
  167. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -0
  168. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -0
  169. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -0
  170. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -0
  171. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -0
  172. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -0
  173. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -0
  174. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -0
  175. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -0
  176. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -0
  177. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -0
  178. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -0
  179. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -0
  180. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -0
  181. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -0
  182. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -0
  183. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -0
  184. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -0
  185. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -0
  186. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -0
  187. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -0
  188. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -0
  189. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -0
  190. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -0
  191. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -0
  192. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -0
  193. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -0
  194. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -0
  195. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -0
  196. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -0
  197. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -0
  198. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -0
  199. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -0
  200. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -0
  201. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -0
  202. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -0
  203. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -0
  204. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -0
  205. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -0
  206. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -0
  207. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -0
  208. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -0
  209. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -0
  210. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -0
  211. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/Filter.jsx +0 -0
  212. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -0
  213. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -0
  214. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -0
  215. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -0
  216. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/VariantFilter.jsx +0 -0
  217. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -0
  218. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -0
  219. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -0
  220. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Login/Login copy.jsx +0 -0
  221. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Login/Login.jsx +0 -0
  222. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -0
  223. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -0
  224. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Policies/Policies.jsx +0 -0
  225. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -0
  226. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -0
  227. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -0
  228. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -0
  229. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -0
  230. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -0
  231. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -0
  232. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -0
  233. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -0
  234. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -0
  235. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -0
  236. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -0
  237. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -0
  238. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -0
  239. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -0
  240. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -0
  241. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -0
  242. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -0
  243. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -0
  244. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -0
  245. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -0
  246. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -0
  247. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -0
  248. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -0
  249. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -0
  250. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -0
  251. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -0
  252. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -0
  253. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -0
  254. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -0
  255. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -0
  256. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -0
  257. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -0
  258. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -0
  259. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -0
  260. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -0
  261. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -0
  262. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -0
  263. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -0
  264. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -0
  265. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -0
  266. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -0
  267. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Signup/Signup.jsx +0 -0
  268. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -0
  269. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -0
  270. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -0
  271. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -0
  272. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -0
  273. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -0
  274. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -0
  275. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -0
  276. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -0
  277. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -0
  278. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -0
  279. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -0
  280. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -0
  281. /package/{srcoriginal → srcoman}/button.jsx +0 -0
  282. /package/{srcoriginal → srcoman}/index.jsx +0 -0
  283. /package/{srcoriginal → srcoman}/styles/Home.module.css +0 -0
  284. /package/{srcoriginal → srcoman}/styles/cards/Categorcycard_fullimage.module.css +0 -0
  285. /package/{srcoriginal → srcoman}/styles/cards/Categorycard_slidebgscaled.module.css +0 -0
  286. /package/{srcoriginal → srcoman}/styles/cards/Categorycard_withshapes.module.css +0 -0
  287. /package/{srcoriginal → srcoman}/styles/cards/ModernCardWithQuantityButton.module.css +0 -0
  288. /package/{srcoriginal → srcoman}/styles/cards/Productcard6.module.css +0 -0
  289. /package/{srcoriginal → srcoman}/styles/cards/Productccard_with_zoominonhover.module.css +0 -0
  290. /package/{srcoriginal → srcoman}/styles/cards/Prouductcard_with_zoomhover.module.css +0 -0
  291. /package/{srcoriginal → srcoman}/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -0
  292. /package/{srcoriginal → srcoman}/styles/cards/card23.module.css +0 -0
  293. /package/{srcoriginal → srcoman}/styles/cards/categorycard.module.css +0 -0
  294. /package/{srcoriginal → srcoman}/styles/cards/categorycard3.module.css +0 -0
  295. /package/{srcoriginal → srcoman}/styles/cards/categorycardwithtext.module.css +0 -0
  296. /package/{srcoriginal → srcoman}/styles/cards/generalCardsStyles.module.css +0 -0
  297. /package/{srcoriginal → srcoman}/styles/cards/productcard_animatedbuttons.module.css +0 -0
  298. /package/{srcoriginal → srcoman}/styles/cards/productcard_with_textonhover.module.css +0 -0
  299. /package/{srcoriginal → srcoman}/styles/cards/productcard_withtextonimage.module.css +0 -0
  300. /package/{srcoriginal → srcoman}/styles/cards/productccard_with_imageontopleft.module.css +0 -0
  301. /package/{srcoriginal → srcoman}/styles/general/bootstrap.css +0 -0
  302. /package/{srcoriginal → srcoman}/styles/general/dropdown.css +0 -0
  303. /package/{srcoriginal → srcoman}/styles/general/editorbardropdown.module.css +0 -0
  304. /package/{srcoriginal → srcoman}/styles/general/filter.module.css +0 -0
  305. /package/{srcoriginal → srcoman}/styles/general/form.module.css +0 -0
  306. /package/{srcoriginal → srcoman}/styles/general/general.module.css +0 -0
  307. /package/{srcoriginal → srcoman}/styles/general/image-gallery.css +0 -0
  308. /package/{srcoriginal → srcoman}/styles/general/react-accessible-accordion.module.css +0 -0
  309. /package/{srcoriginal → srcoman}/styles/general/react-phone-input-2.module.css +0 -0
  310. /package/{srcoriginal → srcoman}/styles/general/scrollbtn.module.css +0 -0
  311. /package/{srcoriginal → srcoman}/styles/general/slick.module.css +0 -0
  312. /package/{srcoriginal → srcoman}/styles/general/tabs.module.css +0 -0
  313. /package/{srcoriginal → srcoman}/styles/general/workplaceeditor.module.css +0 -0
  314. /package/{srcoriginal → srcoman}/styles/globals.css +0 -0
  315. /package/{srcoriginal → srcoman}/styles/headers/CTAHeader.module.css +0 -0
  316. /package/{srcoriginal → srcoman}/styles/headers/CategoryFeaturingHeader.module.css +0 -0
  317. /package/{srcoriginal → srcoman}/styles/headers/Gotoheader.module.css +0 -0
  318. /package/{srcoriginal → srcoman}/styles/headers/Header7.module.css +0 -0
  319. /package/{srcoriginal → srcoman}/styles/headers/HeaderWithAdSlider.module.css +0 -0
  320. /package/{srcoriginal → srcoman}/styles/headers/HeaderWithSearchOnCenter.module.css +0 -0
  321. /package/{srcoriginal → srcoman}/styles/headers/HeaderWithUtilityBar.module.css +0 -0
  322. /package/{srcoriginal → srcoman}/styles/headers/Header_threesectionslogocentered.module.css +0 -0
  323. /package/{srcoriginal → srcoman}/styles/headers/NewHeader.module.css +0 -0
  324. /package/{srcoriginal → srcoman}/styles/headers/SearchFocusedHeader.module.css +0 -0
  325. /package/{srcoriginal → srcoman}/styles/headers/Sideheader.module.css +0 -0
  326. /package/{srcoriginal → srcoman}/styles/headers/Simpleheader.module.css +0 -0
  327. /package/{srcoriginal → srcoman}/styles/headers/classicheader.module.css +0 -0
  328. /package/{srcoriginal → srcoman}/styles/headers/classicheaderstyles.module.css +0 -0
  329. /package/{srcoriginal → srcoman}/styles/headers/dropdown.css +0 -0
  330. /package/{srcoriginal → srcoman}/styles/headers/header4.module.css +0 -0
  331. /package/{srcoriginal → srcoman}/styles/headers/header5.module.css +0 -0
  332. /package/{srcoriginal → srcoman}/styles/headers/header_contactinfo.module.css +0 -0
  333. /package/{srcoriginal → srcoman}/styles/headers/headerresturant.module.css +0 -0
  334. /package/{srcoriginal → srcoman}/styles/headers/modernheader.module.css +0 -0
  335. /package/{srcoriginal → srcoman}/styles/headers/stylishheader.module.css +0 -0
  336. /package/{srcoriginal → srcoman}/styles/headers/subheader.module.css +0 -0
  337. /package/{srcoriginal → srcoman}/styles/headers/threetieredheader.module.css +0 -0
  338. /package/{srcoriginal → srcoman}/styles/sections/BackgroundImageWithTopContent.css +0 -0
  339. /package/{srcoriginal → srcoman}/styles/sections/Backgroundimage1.module.css +0 -0
  340. /package/{srcoriginal → srcoman}/styles/sections/Backgroundimage_with_topcircle.module.css +0 -0
  341. /package/{srcoriginal → srcoman}/styles/sections/Freetext.module.css +0 -0
  342. /package/{srcoriginal → srcoman}/styles/sections/Section_with_rightbgcont.module.css +0 -0
  343. /package/{srcoriginal → srcoman}/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -0
  344. /package/{srcoriginal → srcoman}/styles/sections/Slideshow_with_squarebg.module.css +0 -0
  345. /package/{srcoriginal → srcoman}/styles/staticpages/accordion.module.css +0 -0
  346. /package/{srcoriginal → srcoman}/styles/staticpages/cart.module.css +0 -0
  347. /package/{srcoriginal → srcoman}/styles/staticpages/dropdown.css +0 -0
  348. /package/{srcoriginal → srcoman}/styles/staticpages/filter.module.css +0 -0
  349. /package/{srcoriginal → srcoman}/styles/staticpages/image-gallery.css +0 -0
  350. /package/{srcoriginal → srcoman}/styles/staticpages/login.module.css +0 -0
  351. /package/{srcoriginal → srcoman}/styles/staticpages/productinfo.module.css +0 -0
  352. /package/{srcoriginal → srcoman}/styles/staticpages/shop.module.css +0 -0
  353. /package/{srcoriginal → srcoman}/styles/staticpages/signup.module.css +0 -0
  354. /package/{srcoriginal → srcoman}/styles/staticpages/staticroutersidenav.module.css +0 -0
  355. /package/{srcoriginal → srcoman}/styles/staticpages/viewcart.module.css +0 -0
  356. /package/{srcoriginal → srcoman}/styles/staticpages/wishlist.module.css +0 -0
@@ -0,0 +1,790 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import { css } from 'glamor';
3
+ import { Imagekitimagecomp } from '../../../../Imagekitconfig.jsx';
4
+ import generalstyles from '../../../../styles/general/general.module.css';
5
+ import ReactStars from 'react-rating-stars-component';
6
+ import { GoStar } from '@react-icons/all-files/go/GoStar';
7
+ import { IoIosStar } from '@react-icons/all-files/io/IoIosStar';
8
+ import { fontSize, width } from '@mui/system';
9
+ import { CountdownCircleTimer } from 'react-countdown-circle-timer';
10
+ const minuteSeconds = 60;
11
+ const hourSeconds = 3600;
12
+ const daySeconds = 86400;
13
+
14
+ const timerProps = {
15
+ isPlaying: true,
16
+ size: 120,
17
+ strokeWidth: 6,
18
+ };
19
+
20
+ const renderTime = (dimension, time) => {
21
+ return (
22
+ <div className="time-wrapper">
23
+ <div className="time">{time}</div>
24
+ <div>{dimension}</div>
25
+ </div>
26
+ );
27
+ };
28
+
29
+ const getTimeSeconds = (time) => (minuteSeconds - time) | 0;
30
+ const getTimeMinutes = (time) => ((time % hourSeconds) / minuteSeconds) | 0;
31
+ const getTimeHours = (time) => ((time % daySeconds) / hourSeconds) | 0;
32
+ const getTimeDays = (time) => (time / daySeconds) | 0;
33
+
34
+ const ServicesectionCenteredcards = (props) => {
35
+ const [sectionproperties, setsectionproperties] = useState('');
36
+ const [cardsarray, setcardsarray] = useState([]);
37
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
38
+ const lang = props.actions.lang;
39
+ const langdetect = props.actions.langdetect;
40
+ const ikimagecredcontext = props.actions.ikimagecredcontext;
41
+ const routingcountext = props.actions.routingcountext;
42
+ const authdetailsContext = props.actions.authdetailsContext;
43
+ const stratTime = Date.now() / 1000; // use UNIX timestamp in seconds
44
+ const endTime = stratTime + 243248; // use UNIX timestamp in seconds
45
+
46
+ const remainingTime = endTime - stratTime;
47
+ const days = Math.ceil(remainingTime / daySeconds);
48
+ const daysDuration = days * daySeconds;
49
+ useEffect(() => {
50
+ var secpropobj = {};
51
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
52
+ if (sectionitem.sectionid == props.sectionidprops) {
53
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
54
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
55
+ });
56
+ }
57
+ });
58
+ setsectionproperties({ ...secpropobj });
59
+ }, [StatePagePropertiesContext]);
60
+ useEffect(() => {
61
+ if (sectionproperties.length != 0) {
62
+ if (sectionproperties.card_arrayofobjects != null) {
63
+ var bgsection_imagearrayofobjsparsed = JSON.parse(sectionproperties.card_arrayofobjects);
64
+ if (Array.isArray(bgsection_imagearrayofobjsparsed)) {
65
+ setcardsarray([...bgsection_imagearrayofobjsparsed]);
66
+ }
67
+ }
68
+ }
69
+ }, [sectionproperties]);
70
+ const [maincontainerarrayofobjs, setmaincontainerarrayofobjs] = useState([]);
71
+ useEffect(() => {
72
+ if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
73
+ var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
74
+ if (Array.isArray(maincontainerarrayofobjsparsed)) {
75
+ setmaincontainerarrayofobjs([...maincontainerarrayofobjsparsed]);
76
+ }
77
+ }
78
+ }, [sectionproperties]);
79
+ const sectionStyles = {
80
+ containerrrr: css({
81
+ marginTop: sectionproperties.marginTop + 'px',
82
+ marginBottom: sectionproperties.marginBottom + 'px',
83
+ paddingLeft: sectionproperties.paddingLeft + 'px',
84
+ paddingRight: sectionproperties.paddingRight + 'px',
85
+ paddingTop: sectionproperties.paddingTop + 'px',
86
+ paddingBottom: sectionproperties.paddingBottom + 'px',
87
+ background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
88
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
89
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
90
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
91
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
92
+ border: sectionproperties.borderType == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
93
+ borderTop: sectionproperties.borderType == 'Vertical' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
94
+ borderBottom: sectionproperties.borderType == 'Vertical' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
95
+ borderLeftWidth: 0,
96
+ borderRightWidth: 0,
97
+ '@media (max-width: 800px)': {
98
+ marginTop: sectionproperties.marginTopResp + 'px',
99
+ },
100
+ }),
101
+ imgcontainer: css({
102
+ ':before': {
103
+ width: '100%',
104
+ height: '100%',
105
+ background: 'rgba(0,0,0,' + sectionproperties.cardbg_opacity + ')',
106
+
107
+ zIndex: 1,
108
+ position: 'absolute',
109
+ content: 's',
110
+ fontSize: 0,
111
+ left: 0,
112
+ right: 0,
113
+ top: 0,
114
+ bottom: 0,
115
+ },
116
+ }),
117
+ sectiontitlespan: css({
118
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
119
+ color: sectionproperties.sectionTitleColor,
120
+ fontWeight: sectionproperties.sectionTitleFontWeight,
121
+ paddingLeft: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
122
+ paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
123
+ textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
124
+ ':after': {
125
+ height: '5px',
126
+ width: sectionproperties.sectitle_lineafterwidth + '%',
127
+ backgroundColor: sectionproperties.linebgcolor,
128
+ },
129
+ '@media (max-width: 800px)': {
130
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
131
+ },
132
+ }),
133
+ line_left: css({
134
+ height: '1px',
135
+ position: 'relative',
136
+ flex: '1 1 auto',
137
+ minWidth: '10%',
138
+ background: sectionproperties.linebgcolor,
139
+ }),
140
+ line_right: css({
141
+ height: '1px',
142
+ position: 'relative',
143
+ flex: '1 1 auto',
144
+ minWidth: '10%',
145
+ background: sectionproperties.linebgcolor,
146
+ }),
147
+ text1Styles: css({
148
+ color: sectionproperties.slideshowText1ContentColor,
149
+ fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
150
+ fontWeight: sectionproperties.slideshowText1ContentFontWeight,
151
+ textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
152
+ ':hover': {
153
+ transition: '.3s',
154
+ color: sectionproperties.text1secondarycolor,
155
+ },
156
+ }),
157
+ imageContainer: css({
158
+ width: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.image_width + '%' : sectionproperties.image_width + 'px',
159
+ height: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.image_height + '%' : sectionproperties.image_height + 'px',
160
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
161
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
162
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
163
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
164
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
165
+ justifyContent: sectionproperties.iconcontainerheight == '0' ? 'start' : 'center',
166
+ ':hover': {
167
+ transition: '.3s',
168
+ backgroundColor: sectionproperties.activedotcolor,
169
+ },
170
+ '@media (max-width: 800px)': {
171
+ width: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.innerwidthheightresp + '%' : sectionproperties.innerwidthheightresp + 'px',
172
+ height: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.innerwidthheightresp + '%' : sectionproperties.innerwidthheightresp + 'px',
173
+ },
174
+ }),
175
+ cardContainer: css({
176
+ background: sectionproperties.reservation_bgcolor,
177
+
178
+ ':hover .imageContainer': {
179
+ transition: '.3s',
180
+ backgroundColor: sectionproperties.activedotcolor,
181
+ },
182
+ ':hover .text1Styles': {
183
+ transition: '.3s',
184
+ color: sectionproperties.text1secondarycolor,
185
+ },
186
+ ':hover': {
187
+ background: sectionproperties.innersectionbgcolorhover,
188
+ },
189
+ }),
190
+ btnstyles: css({
191
+ width: sectionproperties.generalbtn_width + 'px',
192
+ height: sectionproperties.generalbtn_height + 'px',
193
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
194
+ color: sectionproperties.generalbtn_textColor,
195
+ fontWeight: sectionproperties.generalbtn_fontweight,
196
+ // textDecoration: sectionproperties.textdecoration == 'None' ? 'none' : 'underline',
197
+ backgroundColor: sectionproperties.generalbtn_bgColor,
198
+ borderRadius: sectionproperties.generalbtnborderradius,
199
+ ':hover': {
200
+ color: sectionproperties.generalbtn_textColoronhover,
201
+ backgroundColor: sectionproperties.generalbtn_bgColoronhover,
202
+ transition: '.3s',
203
+ },
204
+ }),
205
+ outercontainer: css({
206
+ position: 'relative',
207
+ width: sectionproperties.width + '%',
208
+ background: sectionproperties.outerbgcolor,
209
+ '@media (max-width: 800px)': {
210
+ width: sectionproperties.widthresponsive + '%',
211
+ },
212
+ }),
213
+ descriptioncont: css({
214
+ color: sectionproperties.prodCatColor,
215
+ fontWeight: sectionproperties.prodCatFontWeight,
216
+ textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
217
+ fontSize: sectionproperties.prodCatFontSize + 'px',
218
+ '@media (max-width: 800px)': {
219
+ fontSize: sectionproperties.prodCatFontSizeResp + 'px',
220
+ },
221
+ }),
222
+ };
223
+
224
+ return (
225
+ <div
226
+ class={' row ml-0 mr-0 w-md-100 d-flex align-items-center w-100 '}
227
+ style={{
228
+ background: sectionproperties.outerbgcolor,
229
+ zIndex: 20,
230
+ justifyContent: sectionproperties.innersectionposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
231
+ }}
232
+ >
233
+ <div class={sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center '} style={{}}>
234
+ {sectionproperties.maincontainerarrayofobjs != undefined && sectionproperties.maincontainerarrayofobjs.length != 0 && (
235
+ <div class={sectionStyles.imgcontainer}>
236
+ <Imagekitimagecomp
237
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
238
+ publicKey={ikimagecredcontext?.ikimagepublickey}
239
+ path={maincontainerarrayofobjs[0]?.back_bgimage}
240
+ style={{
241
+ height: '100%',
242
+ width: '100%',
243
+ objectFit: 'cover',
244
+ margin: 0,
245
+ padding: 0,
246
+ position: 'absolute',
247
+ top: 0,
248
+ bottom: 0,
249
+ right: 0,
250
+ left: 0,
251
+ }}
252
+ />
253
+ </div>
254
+ )}
255
+ <div class={sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 '} style={{}}>
256
+ {sectionproperties.sectiontitleshow == 'Show' && (
257
+ <div class="col-lg-12 allcentered p-0" style={{ zIndex: 1 }}>
258
+ <div
259
+ class={`${generalstyles.sectiontitlecont}` + ' col-lg-12 allcentered plr-1025-0 pl-md-3 pr-md-3 '}
260
+ style={{
261
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
262
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
263
+ paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
264
+ paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
265
+ }}
266
+ >
267
+ <div
268
+ class="d-flex align-items-center flex-column allcentered"
269
+ style={{
270
+ position: 'relative',
271
+ width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
272
+ }}
273
+ >
274
+ {/* {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={sectionStyles.line_left}></span>} */}
275
+ <p
276
+ class={
277
+ sectionproperties.sectiontitlefontfamily == 'Pacifico'
278
+ ? `${sectionStyles.sectiontitlespan}` + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
279
+ : sectionproperties.sectiontitlefontfamily == 'Playfair'
280
+ ? `${sectionStyles.sectiontitlespan}` + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
281
+ : sectionproperties.sectiontitlefontfamily == 'Great Vibes'
282
+ ? `${sectionStyles.sectiontitlespan}` + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
283
+ : sectionproperties.sectiontitlefontfamily == 'Quicksand'
284
+ ? `${sectionStyles.sectiontitlespan}` + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
285
+ : sectionproperties.sectiontitlefontfamily == 'Satisfy'
286
+ ? `${sectionStyles.sectiontitlespan}` + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
287
+ : `${sectionStyles.sectiontitlespan}` + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
288
+ }
289
+ style={{}}
290
+ >
291
+ {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
292
+ </p>
293
+ {/* {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={sectionStyles.line_right}></span>} */}
294
+ {sectionproperties.sectiontitlestyle == 'Line Under Text' && (
295
+ <span
296
+ style={{
297
+ width: '50%',
298
+ background: sectionproperties.linebgcolor,
299
+ height: 3,
300
+ borderRadius: 10,
301
+ marginTop: 15,
302
+ }}
303
+ ></span>
304
+ )}
305
+ </div>
306
+ </div>
307
+ </div>
308
+ )}
309
+ {sectionproperties.prodCatShow == 'Show' && (
310
+ <div
311
+ class={' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center px-sm-3'}
312
+ style={{
313
+ justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
314
+ marginBottom: sectionproperties.descriptionMarginBottom + 'px',
315
+ paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
316
+ paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
317
+ }}
318
+ >
319
+ <p
320
+ class={
321
+ sectionproperties.descFontFamily == 'Pacifico'
322
+ ? sectionStyles.descriptioncont + ' PacificoFont m-0 p-0 wordbreak '
323
+ : sectionproperties.descFontFamily == 'Playfair'
324
+ ? sectionStyles.descriptioncont + ' PlayfairFont m-0 p-0 wordbreak '
325
+ : sectionproperties.descFontFamily == 'Great Vibes'
326
+ ? sectionStyles.descriptioncont + ' GreatvibesFont m-0 p-0 wordbreak '
327
+ : sectionproperties.descFontFamily == 'Quicksand'
328
+ ? sectionStyles.descriptioncont + ' QuicksandFont m-0 p-0 wordbreak'
329
+ : sectionStyles.descriptioncont + ' m-0 p-0 wordbreak'
330
+ }
331
+ style={{}}
332
+ >
333
+ {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
334
+ </p>
335
+ </div>
336
+ )}
337
+ {/* showimagewhenflip show */}
338
+ {/* innersectionbgcolorhover */}
339
+ {sectionproperties.showcountdown == 'Yes' && (
340
+ <div class="row m-0 w-100 allcentered">
341
+ <div className="col-3 col-sm-6 allcentered mb-md-2">
342
+ <CountdownCircleTimer {...timerProps} colors="#013c48" duration={daysDuration} initialRemainingTime={remainingTime}>
343
+ {({ elapsedTime, color }) => (
344
+ <span style={{ color: '#bea04b', fontSize: 23, fontWeight: 600 }} class="allcentered">
345
+ {renderTime('يوم', getTimeDays(daysDuration - elapsedTime))}
346
+ </span>
347
+ )}
348
+ </CountdownCircleTimer>
349
+ </div>
350
+ <div className="col-3 col-sm-6 allcentered mb-md-2">
351
+ <CountdownCircleTimer
352
+ {...timerProps}
353
+ colors="#013c48"
354
+ duration={daySeconds}
355
+ initialRemainingTime={remainingTime % daySeconds}
356
+ onComplete={(totalElapsedTime) => ({
357
+ shouldRepeat: remainingTime - totalElapsedTime > hourSeconds,
358
+ })}
359
+ >
360
+ {({ elapsedTime, color }) => (
361
+ <span style={{ color: '#bea04b', fontSize: 23, fontWeight: 600 }} class="allcentered">
362
+ {renderTime('ساعة', getTimeHours(daySeconds - elapsedTime))}
363
+ </span>
364
+ )}
365
+ </CountdownCircleTimer>
366
+ </div>
367
+
368
+ <div className="col-3 col-sm-6 allcentered mb-md-2">
369
+ <CountdownCircleTimer
370
+ {...timerProps}
371
+ colors="#013c48"
372
+ duration={hourSeconds}
373
+ initialRemainingTime={remainingTime % hourSeconds}
374
+ onComplete={(totalElapsedTime) => ({
375
+ shouldRepeat: remainingTime - totalElapsedTime > minuteSeconds,
376
+ })}
377
+ >
378
+ {({ elapsedTime, color }) => (
379
+ <span style={{ color: '#bea04b', fontSize: 23, fontWeight: 600 }} class="allcentered">
380
+ {renderTime('دقيقة', getTimeMinutes(hourSeconds - elapsedTime))}
381
+ </span>
382
+ )}
383
+ </CountdownCircleTimer>
384
+ </div>
385
+
386
+ <div className="col-3 col-sm-6 allcentered mb-md-2">
387
+ <CountdownCircleTimer
388
+ {...timerProps}
389
+ colors="#013c48"
390
+ duration={minuteSeconds}
391
+ initialRemainingTime={remainingTime % minuteSeconds}
392
+ onComplete={(totalElapsedTime) => ({
393
+ shouldRepeat: remainingTime - totalElapsedTime > 0,
394
+ })}
395
+ >
396
+ {({ elapsedTime, color }) => (
397
+ <span style={{ color: '#bea04b', fontSize: 23, fontWeight: 600 }} class="allcentered">
398
+ {renderTime('ثانية', getTimeSeconds(elapsedTime))}
399
+ </span>
400
+ )}
401
+ </CountdownCircleTimer>
402
+ </div>
403
+ </div>
404
+ )}
405
+ {sectionproperties.flippingcards == 'Yes' && sectionproperties.showcountdown != 'Yes' && (
406
+ <div class="row m-0 w-100 d-flex justify-content-center">
407
+ {cardsarray.map((cardinfoitem, cardinfoindex) => {
408
+ return (
409
+ <div
410
+ class={'flip-card d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 '}
411
+ style={{
412
+ zIndex: 2,
413
+
414
+ paddingLeft: sectionproperties.marginhorizontal + 'px',
415
+ paddingRight: sectionproperties.marginhorizontal + 'px',
416
+ }}
417
+ >
418
+ <div
419
+ class="flip-card-inner"
420
+ style={{
421
+ background: sectionproperties.reservation_bgcolor,
422
+ borderRadius: sectionproperties.reservation_borderradius + 'px',
423
+ border:
424
+ sectionproperties.innersectionbordertype == 'All'
425
+ ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
426
+ : cardinfoindex != cardsarray.length - 1
427
+ ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
428
+ : '',
429
+ }}
430
+ >
431
+ <div class="flip-card-front">
432
+ <div class="row m-0 w-100">
433
+ <div
434
+ class="col-lg-12 d-flex align-items-center p-0"
435
+ style={{
436
+ marginBottom: sectionproperties.image_mb + 'px',
437
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
438
+ }}
439
+ >
440
+ <div
441
+ class={sectionStyles.imageContainer + ' d-flex align-items-center imageContainer '}
442
+ style={{
443
+ background: 'transparent',
444
+ }}
445
+ >
446
+ <Imagekitimagecomp
447
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
448
+ publicKey={ikimagecredcontext?.ikimagepublickey}
449
+ path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
450
+ style={{
451
+ maxHeight: sectionproperties.iconcontainerwidth + '%',
452
+ maxWidth: sectionproperties.iconcontainerwidth + '%',
453
+ objectFit: 'contain',
454
+ }}
455
+ />
456
+ </div>
457
+ </div>
458
+ <div
459
+ class="col-lg-12 d-flex p-0"
460
+ style={{
461
+ marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
462
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
463
+ }}
464
+ >
465
+ <p
466
+ class={sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles '}
467
+ style={{
468
+ cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
469
+ }}
470
+ >
471
+ {langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear}
472
+ </p>
473
+ </div>
474
+
475
+ {/*
476
+ {sectionproperties.generalbtn_show == 'Show' && cardinfoitem.iscardclickable == 'Yes' && (
477
+ <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'col-lg-12 mt-2 allcentered' : 'col-lg-12 mt-2 text-start p-0'}>
478
+ <button class={`${sectionStyles.btnstyles}`}>
479
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
480
+ </button>
481
+ </div>
482
+ )}
483
+ */}
484
+ </div>
485
+ </div>
486
+ <div class="flip-card-back allcentered">
487
+ <div class="row m-0 w-100 allcentered">
488
+ {sectionproperties.showimagewhenflip == 'Show' && (
489
+ <div
490
+ class="col-lg-12 d-flex align-items-center p-0"
491
+ style={{
492
+ marginBottom: sectionproperties.image_mb + 'px',
493
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
494
+ }}
495
+ >
496
+ <div
497
+ class={' d-flex align-items-center '}
498
+ style={{
499
+ width: '30%',
500
+ height: '30%',
501
+ justifyContent: sectionproperties.iconcontainerheight == '0' ? 'start' : 'center',
502
+ }}
503
+ >
504
+ <Imagekitimagecomp
505
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
506
+ publicKey={ikimagecredcontext?.ikimagepublickey}
507
+ path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
508
+ style={{
509
+ maxHeight: '100%',
510
+ maxWidth: '100%',
511
+ objectFit: 'contain',
512
+ }}
513
+ />
514
+ </div>
515
+ </div>
516
+ )}
517
+ <div
518
+ class="col-lg-12 d-flex p-0"
519
+ style={{
520
+ marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
521
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
522
+ }}
523
+ >
524
+ <p
525
+ class={sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles '}
526
+ style={{
527
+ cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
528
+ color: ' #FFECB5',
529
+ fontSize: 14,
530
+ }}
531
+ >
532
+ {langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear}
533
+ </p>
534
+ </div>
535
+ <div
536
+ class="col-lg-12 d-flex p-0"
537
+ style={{
538
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
539
+ }}
540
+ >
541
+ {sectionproperties.slideshowtext2_show && (
542
+ <p
543
+ class="m-0 wordbreak"
544
+ style={{
545
+ color: sectionproperties.slideshowText2ContentColor,
546
+ fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
547
+ fontWeight: sectionproperties.slideshowText2ContentFontWeight,
548
+ textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
549
+ }}
550
+ >
551
+ {langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar}
552
+ </p>
553
+ )}
554
+ </div>
555
+ </div>
556
+ </div>
557
+ </div>
558
+ </div>
559
+ );
560
+ })}
561
+ </div>
562
+ )}
563
+ {sectionproperties.flippingcards == 'No' && sectionproperties.showcountdown != 'Yes' && (
564
+ <div class="row m-0 w-100">
565
+ {cardsarray.map((cardinfoitem, cardinfoindex) => {
566
+ return (
567
+ <div
568
+ class={
569
+ 'col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 omancard col-sm-' +
570
+ sectionproperties.numberOfColsverticalresp
571
+ }
572
+ style={{
573
+ zIndex: 2,
574
+ paddingLeft: sectionproperties.marginhorizontal + 'px',
575
+ paddingRight: sectionproperties.marginhorizontal + 'px',
576
+ }}
577
+ >
578
+ <div
579
+ class={
580
+ sectionproperties.innersectionbordertype != 'All'
581
+ ? sectionStyles.cardContainer + ' row m-0 w-100 mb-auto border-md-none '
582
+ : sectionStyles.cardContainer + ' row m-0 w-100 mb-auto '
583
+ }
584
+ style={{
585
+ cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
586
+ paddingTop: sectionproperties.reservation_padding_top + 'px',
587
+ paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
588
+ paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
589
+ paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
590
+ borderRadius: sectionproperties.reservation_borderradius + 'px',
591
+ border:
592
+ sectionproperties.innersectionbordertype == 'All'
593
+ ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
594
+ : '',
595
+ // sectionproperties.innersectionbordertype == 'All'
596
+ // ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
597
+ // : cardinfoindex != cardsarray.length - 1
598
+ // ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
599
+ // : '',
600
+ // cardinfoindex != cardsarray.length - 1
601
+ // ? sectionproperties.innersectionbordertype == 'All'
602
+ // ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
603
+ // : ''
604
+ // : '',
605
+ // borderRight:
606
+ // cardinfoindex != cardsarray.length - 1
607
+ // ? sectionproperties.innersectionbordertype == 'Right'
608
+ // ? langdetect == 'en'
609
+ // ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
610
+ // : ''
611
+ // : ''
612
+ // : '',
613
+ // borderLeft:
614
+ // sectionproperties.innersectionbordertype == 'Right'
615
+ // ? langdetect == 'ar'
616
+ // ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
617
+ // : ''
618
+ // : '',
619
+ borderRight:
620
+ sectionproperties.innersectionbordertype != 'All' && cardinfoindex != cardsarray.length - 1
621
+ ? langdetect == 'en'
622
+ ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
623
+ : ''
624
+ : '',
625
+ boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
626
+ height: authdetailsContext?.instinfo?.contactinfo.instid == '66b4a0338cb14' ? '100%' : '',
627
+ }}
628
+ onClick={() => {
629
+ // if (cardinfoitem.iscardclickable == 'Yes') {
630
+ // window.open(cardinfoitem.btnlink, '_blank');
631
+ // }
632
+ if (cardinfoitem.btntype == 'Web Product Link' || cardinfoitem.btntype == 'App/Web Page') {
633
+ routingcountext(cardinfoitem.btnlink, false, '');
634
+ } else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'Same Tab' && cardinfoitem.btntype != 'Web Product Link') {
635
+ // window.open(cardinfoitem.btnlink, '_target');
636
+ routingcountext(cardinfoitem.btnlink, false, '');
637
+ } else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab' && cardinfoitem.btntype != 'Web Product Link') {
638
+ window.open(cardinfoitem.btnlink, '_blank');
639
+ }
640
+ }}
641
+ >
642
+ {sectionproperties.imageposition == 'Top' && (
643
+ <div
644
+ class="col-lg-12 d-flex align-items-center p-0"
645
+ style={{
646
+ marginBottom: sectionproperties.image_mb + 'px',
647
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
648
+ }}
649
+ >
650
+ <div class={sectionStyles.imageContainer + ' d-flex align-items-center imageContainer '} style={{}}>
651
+ <Imagekitimagecomp
652
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
653
+ publicKey={ikimagecredcontext?.ikimagepublickey}
654
+ path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
655
+ style={{
656
+ maxHeight: sectionproperties.iconcontainerwidth + '%',
657
+ maxWidth: sectionproperties.iconcontainerwidth + '%',
658
+ objectFit: 'contain',
659
+ }}
660
+ />
661
+ </div>
662
+ </div>
663
+ )}
664
+ {sectionproperties.showrating == 'Show' && cardinfoitem.ratingnumber != null && (
665
+ <div class="col-lg-12 allcentered p-0 mb-1">
666
+ <ReactStars
667
+ count={5}
668
+ value={parseFloat(cardinfoitem.ratingnumber)}
669
+ edit={false}
670
+ size={18}
671
+ emptyIcon={
672
+ <i class="h-100 allcentered">
673
+ <GoStar style={{ color: '#ccc' }} />
674
+ </i>
675
+ }
676
+ halfIcon={
677
+ <i class="h-100 allcentered">
678
+ <IoIosStar style={{ color: sectionproperties.generalbtn_textColor }} />
679
+ </i>
680
+ }
681
+ filledIcon={
682
+ <i class="h-100 allcentered">
683
+ <IoIosStar style={{ color: sectionproperties.generalbtn_textColor }} />
684
+ </i>
685
+ }
686
+ activeColor={sectionproperties.generalbtn_textColor}
687
+ />
688
+ </div>
689
+ )}
690
+ <div
691
+ class="col-lg-12 d-flex p-0"
692
+ style={{
693
+ marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
694
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
695
+ }}
696
+ >
697
+ <p
698
+ class={sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles '}
699
+ style={{
700
+ cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
701
+ }}
702
+ >
703
+ {langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear}
704
+ </p>
705
+ </div>
706
+ <div
707
+ class="col-lg-12 d-flex p-0"
708
+ style={{
709
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
710
+ }}
711
+ >
712
+ {sectionproperties.slideshowtext2_show && (
713
+ <p
714
+ class="m-0 wordbreak"
715
+ style={{
716
+ color: sectionproperties.slideshowText2ContentColor,
717
+ fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
718
+ fontWeight: sectionproperties.slideshowText2ContentFontWeight,
719
+ textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
720
+ }}
721
+ >
722
+ {langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar}
723
+ </p>
724
+ )}
725
+ </div>
726
+ {sectionproperties.imageposition == 'Bottom' && (
727
+ <div
728
+ class="col-lg-12 d-flex align-items-center p-0"
729
+ style={{
730
+ marginTop: sectionproperties.image_mb + 'px',
731
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
732
+ }}
733
+ >
734
+ <div class={sectionStyles.imageContainer + ' d-flex align-items-center imageContainer '} style={{}}>
735
+ <Imagekitimagecomp
736
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
737
+ publicKey={ikimagecredcontext?.ikimagepublickey}
738
+ path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
739
+ style={{
740
+ maxHeight: sectionproperties.iconcontainerwidth + '%',
741
+ maxWidth: sectionproperties.iconcontainerwidth + '%',
742
+ objectFit: 'contain',
743
+ }}
744
+ />
745
+ </div>
746
+ </div>
747
+ )}
748
+ {
749
+ (sectionproperties.generalbtn_show = 'Show' && cardinfoitem.iscardclickable == 'Yes' && (
750
+ <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'col-lg-12 mt-2 allcentered' : 'col-lg-12 mt-2 text-start p-0'}>
751
+ <button
752
+ class={`${sectionStyles.btnstyles}`}
753
+ onClick={() => {
754
+ if (cardinfoitem.btntype == 'Web Product Link') {
755
+ routingcountext(cardinfoitem.btnlink, false, '');
756
+ } else if (
757
+ cardinfoitem.iscardclickable == 'Yes' &&
758
+ cardinfoitem.clickabletabtype == 'Same Tab' &&
759
+ cardinfoitem.btntype != 'Web Product Link'
760
+ ) {
761
+ window.open(cardinfoitem.btnlink, '_target');
762
+ } else if (
763
+ cardinfoitem.iscardclickable == 'Yes' &&
764
+ cardinfoitem.clickabletabtype == 'New Tab' &&
765
+ cardinfoitem.btntype != 'Web Product Link'
766
+ ) {
767
+ window.open(cardinfoitem.btnlink, '_blank');
768
+ } else if (sectionproperties.btntype == 'App/Web Page') {
769
+ // window.open(sectionproperties.btnlink, '_target');
770
+ routingcountext(cardinfoitem.btnlink, false, '');
771
+ }
772
+ }}
773
+ >
774
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
775
+ </button>
776
+ </div>
777
+ ))
778
+ }
779
+ </div>
780
+ </div>
781
+ );
782
+ })}
783
+ </div>
784
+ )}
785
+ </div>
786
+ </div>
787
+ </div>
788
+ );
789
+ };
790
+ export default ServicesectionCenteredcards;