tabexseriescomponents 0.0.705 → 0.0.707
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 +1070 -1797
- package/dist/index.esm.js +1070 -1797
- package/dist/index.umd.js +1070 -1798
- package/package.json +1 -1
- package/srcoriginal/Contexts/LanguageContext.jsx +408 -0
- package/srcoriginal/Contexts/ProductsCardsSectionContext.jsx +36 -0
- package/srcoriginal/Imagekitconfig.jsx +46 -0
- package/srcoriginal/StylesJS/Customstyles.js +345 -0
- package/srcoriginal/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +376 -0
- package/srcoriginal/TabexComponents/Cards/Card20/Card20.jsx +298 -0
- package/srcoriginal/TabexComponents/Cards/Card21/Card21.jsx +388 -0
- package/srcoriginal/TabexComponents/Cards/Card22/Card22.jsx +288 -0
- package/srcoriginal/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
- package/srcoriginal/TabexComponents/Cards/Card23/Card23.jsx +733 -0
- package/srcoriginal/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
- package/srcoriginal/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
- package/srcoriginal/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
- package/srcoriginal/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
- package/srcoriginal/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +255 -0
- package/srcoriginal/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
- package/srcoriginal/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
- package/srcoriginal/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
- package/srcoriginal/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
- package/srcoriginal/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
- package/srcoriginal/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
- package/srcoriginal/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
- package/srcoriginal/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
- package/srcoriginal/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +147 -0
- package/srcoriginal/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
- package/srcoriginal/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
- package/srcoriginal/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +409 -0
- package/srcoriginal/TabexComponents/Cards/MenuCard/MenuCard.jsx +744 -0
- package/srcoriginal/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
- package/srcoriginal/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
- package/srcoriginal/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
- package/srcoriginal/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
- package/srcoriginal/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
- package/srcoriginal/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
- package/srcoriginal/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
- package/srcoriginal/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
- package/srcoriginal/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
- package/srcoriginal/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
- package/srcoriginal/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
- package/srcoriginal/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
- package/srcoriginal/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
- package/srcoriginal/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
- package/srcoriginal/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +600 -0
- package/srcoriginal/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
- package/srcoriginal/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
- package/srcoriginal/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +137 -0
- package/srcoriginal/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +611 -0
- package/srcoriginal/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +413 -0
- package/srcoriginal/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
- package/srcoriginal/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
- package/srcoriginal/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +455 -0
- package/srcoriginal/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +905 -0
- package/srcoriginal/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
- package/srcoriginal/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
- package/srcoriginal/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
- package/srcoriginal/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
- package/srcoriginal/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +528 -0
- package/srcoriginal/TabexComponents/Footer/Footer1/Footer1.jsx +551 -0
- package/srcoriginal/TabexComponents/Footer/Footer2/Footer2.jsx +527 -0
- package/srcoriginal/TabexComponents/Footer/Footer3/Footer3.jsx +411 -0
- package/srcoriginal/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
- package/srcoriginal/TabexComponents/Footer/Footer5/Footer5.jsx +751 -0
- package/srcoriginal/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
- package/srcoriginal/TabexComponents/Footer/Footer7/Footer7.jsx +428 -0
- package/srcoriginal/TabexComponents/Footer/Footer8/Footer8.jsx +533 -0
- package/srcoriginal/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
- package/srcoriginal/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +581 -0
- package/srcoriginal/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +884 -0
- package/srcoriginal/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +647 -0
- package/srcoriginal/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
- package/srcoriginal/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +316 -0
- package/srcoriginal/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/srcoriginal/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/srcoriginal/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/srcoriginal/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/srcoriginal/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/srcoriginal/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/srcoriginal/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/srcoriginal/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/srcoriginal/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/srcoriginal/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/srcoriginal/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/srcoriginal/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/srcoriginal/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/srcoriginal/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1259 -0
- package/srcoriginal/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1049 -0
- package/srcoriginal/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1040 -0
- package/srcoriginal/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1268 -0
- package/srcoriginal/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
- package/srcoriginal/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +894 -0
- package/srcoriginal/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +831 -0
- package/srcoriginal/TabexComponents/Headers/Header4/Header4.jsx +622 -0
- package/srcoriginal/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
- package/srcoriginal/TabexComponents/Headers/Header8/Header8.jsx +2016 -0
- package/srcoriginal/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +776 -0
- package/srcoriginal/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +927 -0
- package/srcoriginal/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +704 -0
- package/srcoriginal/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
- package/srcoriginal/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +1228 -0
- package/srcoriginal/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1562 -0
- package/srcoriginal/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
- package/srcoriginal/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
- package/srcoriginal/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
- package/srcoriginal/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +1846 -0
- package/srcoriginal/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
- package/srcoriginal/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +934 -0
- package/srcoriginal/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +78 -0
- package/srcoriginal/TabexComponents/Headers/Modernheader/Modernheader.jsx +977 -0
- package/srcoriginal/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +778 -0
- package/srcoriginal/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1159 -0
- package/srcoriginal/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +1110 -0
- package/srcoriginal/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +151 -0
- package/srcoriginal/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +854 -0
- package/srcoriginal/TabexComponents/Headers/Subheader/Subheader.jsx +863 -0
- package/srcoriginal/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
- package/srcoriginal/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
- package/srcoriginal/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
- package/srcoriginal/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1042 -0
- package/srcoriginal/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1093 -0
- package/srcoriginal/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +938 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +870 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +393 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +677 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +288 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +117 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +462 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +616 -0
- package/srcoriginal/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +408 -0
- package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
- package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
- package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
- package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1938 -0
- package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
- package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
- package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx +1891 -0
- package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
- package/srcoriginal/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
- package/srcoriginal/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
- package/srcoriginal/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
- package/srcoriginal/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +929 -0
- package/srcoriginal/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
- package/srcoriginal/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +1238 -0
- package/srcoriginal/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +582 -0
- package/srcoriginal/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +257 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +760 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1679 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +385 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +512 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +520 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +643 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +619 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +614 -0
- package/srcoriginal/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
- package/srcoriginal/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +199 -0
- package/srcoriginal/TabexComponents/StaticPages/AddReview/AddReview.jsx +304 -0
- package/srcoriginal/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +321 -0
- package/srcoriginal/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +797 -0
- package/srcoriginal/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
- package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
- package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout.jsx +1911 -0
- package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
- package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
- package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
- package/srcoriginal/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
- package/srcoriginal/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
- package/srcoriginal/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
- package/srcoriginal/TabexComponents/StaticPages/Filter/Filter.jsx +2979 -0
- package/srcoriginal/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
- package/srcoriginal/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
- package/srcoriginal/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
- package/srcoriginal/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
- package/srcoriginal/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
- package/srcoriginal/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
- package/srcoriginal/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
- package/srcoriginal/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
- package/srcoriginal/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
- package/srcoriginal/TabexComponents/StaticPages/Login/Login.jsx +610 -0
- package/srcoriginal/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +172 -0
- package/srcoriginal/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1584 -0
- package/srcoriginal/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
- package/srcoriginal/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +255 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +176 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +92 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +312 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +235 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +2118 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1947 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +1037 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +966 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +632 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +919 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
- package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
- package/srcoriginal/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
- package/srcoriginal/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +338 -0
- package/srcoriginal/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +359 -0
- package/srcoriginal/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +113 -0
- package/srcoriginal/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
- package/srcoriginal/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
- package/srcoriginal/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1364 -0
- package/srcoriginal/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
- package/srcoriginal/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
- package/srcoriginal/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +113 -0
- package/srcoriginal/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
- package/srcoriginal/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
- package/srcoriginal/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
- package/srcoriginal/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
- package/srcoriginal/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
- package/srcoriginal/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
- package/srcoriginal/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
- package/srcoriginal/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
- package/srcoriginal/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
- package/srcoriginal/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
- package/srcoriginal/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
- package/srcoriginal/button.jsx +40 -0
- package/srcoriginal/index.jsx +334 -0
- package/srcoriginal/styles/Home.module.css +129 -0
- package/srcoriginal/styles/cards/Categorcycard_fullimage.module.css +14 -0
- package/srcoriginal/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
- package/srcoriginal/styles/cards/Categorycard_withshapes.module.css +189 -0
- package/srcoriginal/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
- package/srcoriginal/styles/cards/Productcard6.module.css +9 -0
- package/srcoriginal/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
- package/srcoriginal/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
- package/srcoriginal/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
- package/srcoriginal/styles/cards/card23.module.css +60 -0
- package/srcoriginal/styles/cards/categorycard.module.css +84 -0
- package/srcoriginal/styles/cards/categorycard3.module.css +50 -0
- package/srcoriginal/styles/cards/categorycardwithtext.module.css +40 -0
- package/srcoriginal/styles/cards/generalCardsStyles.module.css +79 -0
- package/srcoriginal/styles/cards/productcard_animatedbuttons.module.css +139 -0
- package/srcoriginal/styles/cards/productcard_with_textonhover.module.css +18 -0
- package/srcoriginal/styles/cards/productcard_withtextonimage.module.css +0 -0
- package/srcoriginal/styles/cards/productccard_with_imageontopleft.module.css +85 -0
- package/srcoriginal/styles/general/bootstrap.css +4763 -0
- package/srcoriginal/styles/general/dropdown.css +206 -0
- package/srcoriginal/styles/general/editorbardropdown.module.css +94 -0
- package/srcoriginal/styles/general/filter.module.css +108 -0
- package/srcoriginal/styles/general/form.module.css +255 -0
- package/srcoriginal/styles/general/general.module.css +872 -0
- package/srcoriginal/styles/general/image-gallery.css +531 -0
- package/srcoriginal/styles/general/react-accessible-accordion.module.css +52 -0
- package/srcoriginal/styles/general/react-phone-input-2.module.css +927 -0
- package/srcoriginal/styles/general/scrollbtn.module.css +22 -0
- package/srcoriginal/styles/general/slick.module.css +166 -0
- package/srcoriginal/styles/general/tabs.module.css +119 -0
- package/srcoriginal/styles/general/workplaceeditor.module.css +328 -0
- package/srcoriginal/styles/globals.css +26 -0
- package/srcoriginal/styles/headers/CTAHeader.module.css +40 -0
- package/srcoriginal/styles/headers/CategoryFeaturingHeader.module.css +61 -0
- package/srcoriginal/styles/headers/Gotoheader.module.css +87 -0
- package/srcoriginal/styles/headers/Header7.module.css +50 -0
- package/srcoriginal/styles/headers/HeaderWithAdSlider.module.css +86 -0
- package/srcoriginal/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
- package/srcoriginal/styles/headers/HeaderWithUtilityBar.module.css +46 -0
- package/srcoriginal/styles/headers/Header_threesectionslogocentered.module.css +84 -0
- package/srcoriginal/styles/headers/NewHeader.module.css +101 -0
- package/srcoriginal/styles/headers/SearchFocusedHeader.module.css +62 -0
- package/srcoriginal/styles/headers/Sideheader.module.css +108 -0
- package/srcoriginal/styles/headers/Simpleheader.module.css +102 -0
- package/srcoriginal/styles/headers/classicheader.module.css +16 -0
- package/srcoriginal/styles/headers/classicheaderstyles.module.css +9 -0
- package/srcoriginal/styles/headers/dropdown.css +0 -0
- package/srcoriginal/styles/headers/header4.module.css +175 -0
- package/srcoriginal/styles/headers/header5.module.css +30 -0
- package/srcoriginal/styles/headers/header_contactinfo.module.css +53 -0
- package/srcoriginal/styles/headers/headerresturant.module.css +89 -0
- package/srcoriginal/styles/headers/modernheader.module.css +45 -0
- package/srcoriginal/styles/headers/stylishheader.module.css +24 -0
- package/srcoriginal/styles/headers/subheader.module.css +114 -0
- package/srcoriginal/styles/headers/threetieredheader.module.css +91 -0
- package/srcoriginal/styles/sections/BackgroundImageWithTopContent.css +4 -0
- package/srcoriginal/styles/sections/Backgroundimage1.module.css +17 -0
- package/srcoriginal/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
- package/srcoriginal/styles/sections/Freetext.module.css +18 -0
- package/srcoriginal/styles/sections/Section_with_rightbgcont.module.css +49 -0
- package/srcoriginal/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
- package/srcoriginal/styles/sections/Slideshow_with_squarebg.module.css +39 -0
- package/srcoriginal/styles/staticpages/accordion.module.css +9 -0
- package/srcoriginal/styles/staticpages/cart.module.css +108 -0
- package/srcoriginal/styles/staticpages/dropdown.css +196 -0
- package/srcoriginal/styles/staticpages/filter.module.css +139 -0
- package/srcoriginal/styles/staticpages/image-gallery.css +481 -0
- package/srcoriginal/styles/staticpages/login.module.css +155 -0
- package/srcoriginal/styles/staticpages/productinfo.module.css +54 -0
- package/srcoriginal/styles/staticpages/shop.module.css +191 -0
- package/srcoriginal/styles/staticpages/signup.module.css +250 -0
- package/srcoriginal/styles/staticpages/staticroutersidenav.module.css +129 -0
- package/srcoriginal/styles/staticpages/viewcart.module.css +129 -0
- package/srcoriginal/styles/staticpages/wishlist.module.css +29 -0
package/dist/index.esm.js
CHANGED
|
@@ -114,9 +114,7 @@ import { VscHeart } from '@react-icons/all-files/vsc/VscHeart';
|
|
|
114
114
|
import { IoSearchOutline } from '@react-icons/all-files/io5/IoSearchOutline';
|
|
115
115
|
import { AiFillYoutube } from '@react-icons/all-files/ai/AiFillYoutube';
|
|
116
116
|
import { IoLogoTiktok } from '@react-icons/all-files/io5/IoLogoTiktok';
|
|
117
|
-
import { FaLinkedinIn } from '@react-icons/all-files/fa/FaLinkedinIn';
|
|
118
117
|
import { FiMenu } from '@react-icons/all-files/fi/FiMenu';
|
|
119
|
-
import { BsChevronDown } from '@react-icons/all-files/bs/BsChevronDown';
|
|
120
118
|
import { IoClose } from '@react-icons/all-files/io5/IoClose';
|
|
121
119
|
import { BiSearch } from '@react-icons/all-files/bi/BiSearch';
|
|
122
120
|
import { FiUser } from '@react-icons/all-files/fi/FiUser';
|
|
@@ -128,9 +126,10 @@ import { BsSearch } from '@react-icons/all-files/bs/BsSearch';
|
|
|
128
126
|
import { AiOutlinePhone } from '@react-icons/all-files/ai/AiOutlinePhone';
|
|
129
127
|
import { GoSearch } from '@react-icons/all-files/go/GoSearch';
|
|
130
128
|
import { AiOutlineInstagram } from '@react-icons/all-files/ai/AiOutlineInstagram';
|
|
131
|
-
import {
|
|
129
|
+
import { BsChevronDown } from '@react-icons/all-files/bs/BsChevronDown';
|
|
132
130
|
import { RiUserSettingsLine } from '@react-icons/all-files/ri/RiUserSettingsLine';
|
|
133
131
|
import { HiUserCircle } from '@react-icons/all-files/hi/HiUserCircle';
|
|
132
|
+
import { MdKeyboardArrowUp } from '@react-icons/all-files/md/MdKeyboardArrowUp';
|
|
134
133
|
import { BsInfoCircle } from '@react-icons/all-files/bs/BsInfoCircle';
|
|
135
134
|
import { AiFillPhone } from '@react-icons/all-files/ai/AiFillPhone';
|
|
136
135
|
import { FaTelegramPlane } from '@react-icons/all-files/fa/FaTelegramPlane';
|
|
@@ -139,6 +138,7 @@ import { FaPhone } from '@react-icons/all-files/fa/FaPhone';
|
|
|
139
138
|
import { FiGlobe } from '@react-icons/all-files/fi/FiGlobe';
|
|
140
139
|
import { BiUserCircle } from '@react-icons/all-files/bi/BiUserCircle';
|
|
141
140
|
import { GoLocation } from '@react-icons/all-files/go/GoLocation';
|
|
141
|
+
import { FaLinkedinIn } from '@react-icons/all-files/fa/FaLinkedinIn';
|
|
142
142
|
import { RiRoadMapLine } from '@react-icons/all-files/ri/RiRoadMapLine';
|
|
143
143
|
import { HiOutlineClock } from '@react-icons/all-files/hi/HiOutlineClock';
|
|
144
144
|
import { AiOutlineLinkedin } from '@react-icons/all-files/ai/AiOutlineLinkedin';
|
|
@@ -147,6 +147,7 @@ import { FaArrowAltCircleLeft } from '@react-icons/all-files/fa/FaArrowAltCircle
|
|
|
147
147
|
import Select$5 from 'react-select';
|
|
148
148
|
import { GoStar } from '@react-icons/all-files/go/GoStar';
|
|
149
149
|
import { IoIosStar } from '@react-icons/all-files/io/IoIosStar';
|
|
150
|
+
import { CountdownCircleTimer } from 'react-countdown-circle-timer';
|
|
150
151
|
import BackgroundSlideshow from 'react-background-slideshow';
|
|
151
152
|
import _extends from '@babel/runtime/helpers/extends';
|
|
152
153
|
import { Fade, Slide, Zoom } from 'react-slideshow-image';
|
|
@@ -2360,7 +2361,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2360
2361
|
function ownKeys$2u(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2361
2362
|
function _objectSpread$2u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2u(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2362
2363
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2363
|
-
var
|
|
2364
|
+
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58;
|
|
2364
2365
|
var lang = props.actions.lang;
|
|
2365
2366
|
var langdetect = props.actions.langdetect;
|
|
2366
2367
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2551,7 +2552,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2551
2552
|
}
|
|
2552
2553
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2553
2554
|
"class": ' col-lg-12 p-0 '
|
|
2554
|
-
},
|
|
2555
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2555
2556
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
2556
2557
|
style: {
|
|
2557
2558
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -2686,7 +2687,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2686
2687
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2687
2688
|
fontWeight: 400,
|
|
2688
2689
|
color: sectionproperties.measurementunitcolor,
|
|
2689
|
-
fontSize: sectionproperties.
|
|
2690
|
+
fontSize: sectionproperties.measurementunitfontsize + 'px'
|
|
2690
2691
|
}
|
|
2691
2692
|
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2692
2693
|
"class": "col-lg-12 p-0 text-start"
|
|
@@ -2804,9 +2805,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2804
2805
|
return /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("th", {
|
|
2805
2806
|
style: {
|
|
2806
2807
|
textTransform: 'capitalize',
|
|
2807
|
-
color: '#000'
|
|
2808
|
+
color: '#000',
|
|
2809
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2808
2810
|
}
|
|
2809
|
-
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar), /*#__PURE__*/React.createElement("td",
|
|
2811
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar), /*#__PURE__*/React.createElement("td", {
|
|
2812
|
+
style: {
|
|
2813
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2814
|
+
}
|
|
2815
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar));
|
|
2810
2816
|
}))))), sectionproperties.defaultpricingposition == 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.isproducttobesold) == 1 && /*#__PURE__*/React.createElement(ProductHeaderPricing, {
|
|
2811
2817
|
actions: props.actions
|
|
2812
2818
|
}), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.short_description_en) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -3693,109 +3699,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3693
3699
|
"class": "my-3"
|
|
3694
3700
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
3695
3701
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
3696
|
-
}, ShareButtonsContainer()))))))
|
|
3697
|
-
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
3698
|
-
style: {
|
|
3699
|
-
minHeight: sectionproperties.height + 'vh'
|
|
3700
|
-
// paddingLeft: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
3701
|
-
// paddingRight: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
3702
|
-
}
|
|
3703
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
3704
|
-
"class": "col-lg-12 allcentered p-0 mb-2"
|
|
3705
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
3706
|
-
className: "w-100 h-100",
|
|
3707
|
-
style: {}
|
|
3708
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
3709
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
3710
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
3711
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.productmainimage),
|
|
3712
|
-
style: {
|
|
3713
|
-
width: '100%',
|
|
3714
|
-
height: '100%',
|
|
3715
|
-
objectFit: 'contain'
|
|
3716
|
-
},
|
|
3717
|
-
loading: "lazy"
|
|
3718
|
-
}))), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
3719
|
-
className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-2 mt-3'
|
|
3720
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
3721
|
-
className: ' m-0 p-0 wordbreak d-flex justify-content-start ',
|
|
3722
|
-
style: {
|
|
3723
|
-
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3724
|
-
fontWeight: 400,
|
|
3725
|
-
color: sectionproperties.measurementunitcolor,
|
|
3726
|
-
fontSize: sectionproperties.measurementunitfontsize + 'px'
|
|
3727
|
-
}
|
|
3728
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), /*#__PURE__*/React.createElement("div", {
|
|
3729
|
-
className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
3730
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
3731
|
-
className: props.srcfromprops != 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
|
|
3732
|
-
onClick: function onClick() {
|
|
3733
|
-
if (props.srcfromprops != 'templatedraftrouter') {
|
|
3734
|
-
routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
3735
|
-
}
|
|
3736
|
-
},
|
|
3737
|
-
style: {
|
|
3738
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3739
|
-
}
|
|
3740
|
-
}, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar)), /*#__PURE__*/React.createElement("div", {
|
|
3741
|
-
"class": "col-lg-12 col-md-12 p-0"
|
|
3742
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
3743
|
-
"class": "row m-0 w-100"
|
|
3744
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
3745
|
-
className: "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
3746
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
3747
|
-
"class": "m-0 p-0",
|
|
3748
|
-
style: {
|
|
3749
|
-
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3750
|
-
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3751
|
-
color: sectionproperties.prodCatColor,
|
|
3752
|
-
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
3753
|
-
}
|
|
3754
|
-
}, langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar)), /*#__PURE__*/React.createElement("div", {
|
|
3755
|
-
"class": "col-lg-12 mt-3"
|
|
3756
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
3757
|
-
className: 'm-0 p-0 wordbreak',
|
|
3758
|
-
style: {
|
|
3759
|
-
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3760
|
-
color: sectionproperties.prodCatColor
|
|
3761
|
-
},
|
|
3762
|
-
dangerouslySetInnerHTML: {
|
|
3763
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.short_description_ar
|
|
3764
|
-
}
|
|
3765
|
-
})))), /*#__PURE__*/React.createElement("div", {
|
|
3766
|
-
"class": "col-lg-12 p-0 my-4"
|
|
3767
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
3768
|
-
"class": "row m-0 w-100"
|
|
3769
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productimages) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.productimages.map(function (item, index) {
|
|
3770
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
3771
|
-
"class": "col-lg-4 col-sm-12"
|
|
3772
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
3773
|
-
"class": ' mx-2 w-100 h-100',
|
|
3774
|
-
style: {}
|
|
3775
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
3776
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
3777
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
3778
|
-
path: '/tr:w-500,h-500/' + item.path,
|
|
3779
|
-
style: {
|
|
3780
|
-
width: '100%',
|
|
3781
|
-
height: '100%',
|
|
3782
|
-
objectFit: 'contain'
|
|
3783
|
-
},
|
|
3784
|
-
loading: "lazy"
|
|
3785
|
-
})));
|
|
3786
|
-
})))), /*#__PURE__*/React.createElement("div", {
|
|
3787
|
-
"class": "col-lg-12 p-0 my-3"
|
|
3788
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
3789
|
-
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
3790
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
3791
|
-
className: 'text-black m-0 p-0 wordbreak',
|
|
3792
|
-
style: {
|
|
3793
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3794
|
-
},
|
|
3795
|
-
dangerouslySetInnerHTML: {
|
|
3796
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.description_ar
|
|
3797
|
-
}
|
|
3798
|
-
}))))));
|
|
3702
|
+
}, ShareButtonsContainer()))))))));
|
|
3799
3703
|
};
|
|
3800
3704
|
|
|
3801
3705
|
function ownKeys$2t(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -6659,8 +6563,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6659
6563
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
6660
6564
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
6661
6565
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
6662
|
-
|
|
6663
|
-
borderBottom: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
6566
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
6664
6567
|
marginBottom: sectionproperties.relatedProductsMb + 'px'
|
|
6665
6568
|
}
|
|
6666
6569
|
}, Relatedproducts.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
@@ -11235,7 +11138,7 @@ var Checkout = function Checkout(props) {
|
|
|
11235
11138
|
}, /*#__PURE__*/React.createElement("label", {
|
|
11236
11139
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
11237
11140
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React.createElement("input", {
|
|
11238
|
-
type: '
|
|
11141
|
+
type: 'text',
|
|
11239
11142
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
11240
11143
|
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue62 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue62 === void 0 || (_fetchcustomercartQue62 = _fetchcustomercartQue62.data) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.customercart.mobile,
|
|
11241
11144
|
onChange: function onChange(event) {
|
|
@@ -15280,7 +15183,6 @@ var Select$1 = /*#__PURE__*/React.lazy(function () {
|
|
|
15280
15183
|
});
|
|
15281
15184
|
var Filter$1 = function Filter(props) {
|
|
15282
15185
|
var _css;
|
|
15283
|
-
var FetchAllVendorsQuery = props.actions.FetchAllVendorsQuery;
|
|
15284
15186
|
var lang = props.actions.lang;
|
|
15285
15187
|
var langdetect = props.actions.langdetect;
|
|
15286
15188
|
props.actions.productfiltercontext;
|
|
@@ -15301,21 +15203,10 @@ var Filter$1 = function Filter(props) {
|
|
|
15301
15203
|
_useState2 = _slicedToArray(_useState, 2);
|
|
15302
15204
|
_useState2[0];
|
|
15303
15205
|
_useState2[1];
|
|
15304
|
-
var _useState3 = useState(
|
|
15305
|
-
min: '',
|
|
15306
|
-
max: ''
|
|
15307
|
-
}),
|
|
15206
|
+
var _useState3 = useState([]),
|
|
15308
15207
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
15309
|
-
|
|
15310
|
-
|
|
15311
|
-
var _useState5 = useState([]),
|
|
15312
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
15313
|
-
productfeatuesarr = _useState6[0],
|
|
15314
|
-
setproductfeatuesarr = _useState6[1];
|
|
15315
|
-
var _useState7 = useState([]),
|
|
15316
|
-
_useState8 = _slicedToArray(_useState7, 2),
|
|
15317
|
-
vendorarr = _useState8[0],
|
|
15318
|
-
setvendorsarr = _useState8[1];
|
|
15208
|
+
productfeatuesarr = _useState4[0],
|
|
15209
|
+
setproductfeatuesarr = _useState4[1];
|
|
15319
15210
|
var fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
|
|
15320
15211
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
15321
15212
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
@@ -15324,50 +15215,41 @@ var Filter$1 = function Filter(props) {
|
|
|
15324
15215
|
var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
|
|
15325
15216
|
var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
|
|
15326
15217
|
var fetchProductFeaturesQueryContext = props.actions.fetchProductFeaturesQueryContext;
|
|
15327
|
-
var
|
|
15328
|
-
|
|
15329
|
-
sectionproperties =
|
|
15330
|
-
setsectionproperties =
|
|
15218
|
+
var _useState5 = useState(''),
|
|
15219
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
15220
|
+
sectionproperties = _useState6[0],
|
|
15221
|
+
setsectionproperties = _useState6[1];
|
|
15331
15222
|
// const [instfilters, setinstfilters] = useState([...authdetailsContext.instinfo.instfilters]);
|
|
15223
|
+
var _useState7 = useState([]),
|
|
15224
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
15225
|
+
instfilters = _useState8[0],
|
|
15226
|
+
setinstfilters = _useState8[1];
|
|
15227
|
+
var _useState9 = useState([]),
|
|
15228
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
15229
|
+
collectionstobevisible = _useState10[0],
|
|
15230
|
+
setcollectionstobevisible = _useState10[1];
|
|
15332
15231
|
var _useState11 = useState([]),
|
|
15333
15232
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
15334
|
-
|
|
15335
|
-
|
|
15233
|
+
instcollections = _useState12[0],
|
|
15234
|
+
setinstcollections = _useState12[1];
|
|
15336
15235
|
var _useState13 = useState([]),
|
|
15337
15236
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
15338
|
-
|
|
15339
|
-
|
|
15340
|
-
var _useState15 = useState([]),
|
|
15341
|
-
_useState16 = _slicedToArray(_useState15, 2),
|
|
15342
|
-
instcollections = _useState16[0],
|
|
15343
|
-
setinstcollections = _useState16[1];
|
|
15344
|
-
var _useState17 = useState([]),
|
|
15345
|
-
_useState18 = _slicedToArray(_useState17, 2),
|
|
15346
|
-
instcategories = _useState18[0],
|
|
15347
|
-
setinstcategories = _useState18[1];
|
|
15237
|
+
instcategories = _useState14[0],
|
|
15238
|
+
setinstcategories = _useState14[1];
|
|
15348
15239
|
// const [sortby, setSortby] = useState('Sort by');
|
|
15349
|
-
var
|
|
15240
|
+
var _useState15 = useState({
|
|
15350
15241
|
min: 0,
|
|
15351
15242
|
max: 5
|
|
15352
15243
|
}),
|
|
15353
|
-
|
|
15354
|
-
raterangevalue =
|
|
15355
|
-
setraterangevalue =
|
|
15244
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
15245
|
+
raterangevalue = _useState16[0],
|
|
15246
|
+
setraterangevalue = _useState16[1];
|
|
15356
15247
|
var timeoutRef = React.useRef(null);
|
|
15357
|
-
var
|
|
15358
|
-
|
|
15359
|
-
|
|
15360
|
-
var setsortbycontext =
|
|
15361
|
-
var
|
|
15362
|
-
_useState24 = _slicedToArray(_useState23, 2),
|
|
15363
|
-
pricefrom = _useState24[0];
|
|
15364
|
-
_useState24[1];
|
|
15365
|
-
var _useState25 = useState(''),
|
|
15366
|
-
_useState26 = _slicedToArray(_useState25, 2),
|
|
15367
|
-
priceto = _useState26[0];
|
|
15368
|
-
_useState26[1];
|
|
15369
|
-
props.actions.setfetchingtype;
|
|
15370
|
-
var _useState27 = useState([{
|
|
15248
|
+
var _useState17 = useState(''),
|
|
15249
|
+
_useState18 = _slicedToArray(_useState17, 2);
|
|
15250
|
+
_useState18[0];
|
|
15251
|
+
var setsortbycontext = _useState18[1];
|
|
15252
|
+
var _useState19 = useState([{
|
|
15371
15253
|
payloadvalue: 'sortprice',
|
|
15372
15254
|
name: lang.price,
|
|
15373
15255
|
filterarray: [{
|
|
@@ -15392,24 +15274,12 @@ var Filter$1 = function Filter(props) {
|
|
|
15392
15274
|
isfilterselected: false
|
|
15393
15275
|
}]
|
|
15394
15276
|
}]),
|
|
15395
|
-
|
|
15396
|
-
otherfilters =
|
|
15397
|
-
|
|
15277
|
+
_useState20 = _slicedToArray(_useState19, 2),
|
|
15278
|
+
otherfilters = _useState20[0];
|
|
15279
|
+
_useState20[1];
|
|
15398
15280
|
useEffect(function () {
|
|
15399
15281
|
filterupdater();
|
|
15400
15282
|
}, []);
|
|
15401
|
-
useEffect(function () {
|
|
15402
|
-
var _FetchAllVendorsQuery, _FetchAllVendorsQuery2;
|
|
15403
|
-
if (FetchAllVendorsQuery !== null && FetchAllVendorsQuery !== void 0 && FetchAllVendorsQuery.isSuccess && (FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery = _FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery === void 0 ? void 0 : _FetchAllVendorsQuery.vendors) != undefined && (FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery2 = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery2 === void 0 || (_FetchAllVendorsQuery2 = _FetchAllVendorsQuery2.data) === null || _FetchAllVendorsQuery2 === void 0 || (_FetchAllVendorsQuery2 = _FetchAllVendorsQuery2.vendors) === null || _FetchAllVendorsQuery2 === void 0 ? void 0 : _FetchAllVendorsQuery2.length) != 0) {
|
|
15404
|
-
var _FetchAllVendorsQuery3, _temp;
|
|
15405
|
-
var temp = _toConsumableArray(vendorarr);
|
|
15406
|
-
temp = _toConsumableArray(FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery3 = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery3 === void 0 || (_FetchAllVendorsQuery3 = _FetchAllVendorsQuery3.data) === null || _FetchAllVendorsQuery3 === void 0 ? void 0 : _FetchAllVendorsQuery3.vendors);
|
|
15407
|
-
(_temp = temp) === null || _temp === void 0 || _temp.forEach(function (instfilteritem, instfilterindex) {
|
|
15408
|
-
instfilteritem.isfilterselected = false;
|
|
15409
|
-
});
|
|
15410
|
-
setvendorsarr(_toConsumableArray(temp));
|
|
15411
|
-
}
|
|
15412
|
-
}, [FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 ? void 0 : FetchAllVendorsQuery.isSuccess]);
|
|
15413
15283
|
useEffect(function () {
|
|
15414
15284
|
if (fetchproductoptionsQueryContext.isSuccess) {
|
|
15415
15285
|
var _fetchproductoptionsQ;
|
|
@@ -15425,17 +15295,7 @@ var Filter$1 = function Filter(props) {
|
|
|
15425
15295
|
useEffect(function () {
|
|
15426
15296
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
15427
15297
|
var _fetchcollectionsQuer;
|
|
15428
|
-
|
|
15429
|
-
var tempcollinfilter = [];
|
|
15430
|
-
{
|
|
15431
|
-
tempcoll === null || tempcoll === void 0 || tempcoll.map(function (collectionitem, collectionindex) {
|
|
15432
|
-
if (collectionitem.isshowntocustomers == 1 && collectionitem.isinftiler == 1) {
|
|
15433
|
-
tempcollinfilter.push(collectionitem);
|
|
15434
|
-
}
|
|
15435
|
-
});
|
|
15436
|
-
}
|
|
15437
|
-
setinstcollections([].concat(tempcollinfilter));
|
|
15438
|
-
// setinstcollections([...fetchcollectionsQueryContext?.data?.data?.collections]);
|
|
15298
|
+
setinstcollections(_toConsumableArray(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer === void 0 || (_fetchcollectionsQuer = _fetchcollectionsQuer.data) === null || _fetchcollectionsQuer === void 0 ? void 0 : _fetchcollectionsQuer.collections));
|
|
15439
15299
|
}
|
|
15440
15300
|
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
15441
15301
|
// useEffect(() => {
|
|
@@ -16170,7 +16030,7 @@ var Filter$1 = function Filter(props) {
|
|
|
16170
16030
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
16171
16031
|
color: sectionproperties.filtertitle_color
|
|
16172
16032
|
}, "color", sectionproperties.filtertitle_color), "fontSize", sectionproperties.filtertitle_fontsize + 'px'), "fontWeight", sectionproperties.filtertitle_fontweight), "color", sectionproperties.filtertitle_color), "textTransform", 'capitalize')
|
|
16173
|
-
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React.createElement("div", {
|
|
16033
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar, item.type), /*#__PURE__*/React.createElement("div", {
|
|
16174
16034
|
"class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
|
|
16175
16035
|
style: {
|
|
16176
16036
|
direction: 'ltr'
|
|
@@ -16593,10 +16453,10 @@ var Filter$1 = function Filter(props) {
|
|
|
16593
16453
|
isSearchable: true
|
|
16594
16454
|
})))));
|
|
16595
16455
|
};
|
|
16596
|
-
var
|
|
16597
|
-
|
|
16598
|
-
checked =
|
|
16599
|
-
setChecked =
|
|
16456
|
+
var _useState21 = useState(false),
|
|
16457
|
+
_useState22 = _slicedToArray(_useState21, 2),
|
|
16458
|
+
checked = _useState22[0],
|
|
16459
|
+
setChecked = _useState22[1];
|
|
16600
16460
|
// const queryParameters = new URLSearchParams(window.location.search);
|
|
16601
16461
|
// useEffect(() => {
|
|
16602
16462
|
// // setsortbycontext('Sort By');
|
|
@@ -16953,48 +16813,7 @@ var Filter$1 = function Filter(props) {
|
|
|
16953
16813
|
"class": "row m-0 w-100"
|
|
16954
16814
|
}, CollectionsFilter()), sectionproperties.showdynamicfilter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
16955
16815
|
"class": "row m-0 w-100"
|
|
16956
|
-
}, DynamicFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters(),
|
|
16957
|
-
"class": "row m-0 w-100"
|
|
16958
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
16959
|
-
className: "col-lg-12 p-0"
|
|
16960
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
16961
|
-
className: "row m-0 w-100"
|
|
16962
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
16963
|
-
"class": "col-lg-12 p-0 text-start mb-2"
|
|
16964
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
16965
|
-
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
|
|
16966
|
-
}, langdetect == 'en' ? 'Brands' : 'الماركات')), vendorarr.map(function (item, index) {
|
|
16967
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
16968
|
-
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(item.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n ") + ' d-flex align-items-center pb-3 col-12 ',
|
|
16969
|
-
onClick: function onClick() {
|
|
16970
|
-
var _tempfetchproductsfil3;
|
|
16971
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$2b({}, ProductFilterObjContext);
|
|
16972
|
-
// alert(JSON.stringify(tempfetchproductsfilerobjcontext));
|
|
16973
|
-
tempfetchproductsfilerobjcontext.vendorsarr = [];
|
|
16974
|
-
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil3 = tempfetchproductsfilerobjcontext.vendorsarr) === null || _tempfetchproductsfil3 === void 0 || _tempfetchproductsfil3.push(item.vendorid);
|
|
16975
|
-
setProductFilterObjContext(_objectSpread$2b({}, tempfetchproductsfilerobjcontext));
|
|
16976
|
-
var temp = _toConsumableArray(vendorarr);
|
|
16977
|
-
temp === null || temp === void 0 || temp.forEach(function (instfilteritem, instfilterindex) {
|
|
16978
|
-
instfilteritem.isfilterselected = false;
|
|
16979
|
-
});
|
|
16980
|
-
item.isfilterselected = true;
|
|
16981
|
-
setvendorsarr(_toConsumableArray(temp));
|
|
16982
|
-
}
|
|
16983
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
16984
|
-
"class": "mr-2"
|
|
16985
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
16986
|
-
className: " ".concat(item.isfilterselected ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' d-flex align-items-center '
|
|
16987
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
16988
|
-
className: "h-100 d-flex align-items-center"
|
|
16989
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
16990
|
-
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
16991
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
16992
|
-
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
16993
|
-
style: {
|
|
16994
|
-
color: item.isfilterselected ? sectionproperties.activecat_color : ''
|
|
16995
|
-
}
|
|
16996
|
-
}, langdetect == 'en' ? item.vendorname : item.vendorname)));
|
|
16997
|
-
}))))))), /*#__PURE__*/React.createElement("div", {
|
|
16816
|
+
}, DynamicFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters()))), /*#__PURE__*/React.createElement("div", {
|
|
16998
16817
|
className: "col-lg-12"
|
|
16999
16818
|
}, /*#__PURE__*/React.createElement(Offcanvas, {
|
|
17000
16819
|
show: props === null || props === void 0 ? void 0 : props.openFilterSlider,
|
|
@@ -17169,175 +16988,7 @@ var Filter$1 = function Filter(props) {
|
|
|
17169
16988
|
}
|
|
17170
16989
|
})))), /*#__PURE__*/React.createElement("div", {
|
|
17171
16990
|
className: filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 pl-4 pr-4 '
|
|
17172
|
-
}, sectionproperties.
|
|
17173
|
-
"class": "row m-0 w-100"
|
|
17174
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
17175
|
-
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
17176
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
17177
|
-
className: "m-0 p-0 font-16 font-weight-600",
|
|
17178
|
-
style: {
|
|
17179
|
-
color: sectionproperties.filter_titlecolor,
|
|
17180
|
-
fontSize: sectionproperties.filter_titlefontsize + 'px',
|
|
17181
|
-
fontWeight: sectionproperties.filter_titlefontweight,
|
|
17182
|
-
textTransform: sectionproperties.filter_titletextransform
|
|
17183
|
-
}
|
|
17184
|
-
}, langdetect == 'en' ? 'Sort By' : 'ترتيب حسب')), /*#__PURE__*/React.createElement("div", {
|
|
17185
|
-
className: "col-lg-12"
|
|
17186
|
-
}, /*#__PURE__*/React.createElement("hr", {
|
|
17187
|
-
className: "mt-2 mb-3"
|
|
17188
|
-
})), otherfilters.map(function (item, index) {
|
|
17189
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
17190
|
-
className: "col-lg-12 p-0"
|
|
17191
|
-
}, /*#__PURE__*/React.createElement(Accordion, {
|
|
17192
|
-
allowMultipleExpanded: true,
|
|
17193
|
-
allowZeroExpanded: true,
|
|
17194
|
-
preExpanded: [0, 1, 2, 3],
|
|
17195
|
-
style: {
|
|
17196
|
-
width: '100%'
|
|
17197
|
-
}
|
|
17198
|
-
}, /*#__PURE__*/React.createElement(AccordionItem, {
|
|
17199
|
-
uuid: index
|
|
17200
|
-
}, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
|
|
17201
|
-
className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '
|
|
17202
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
17203
|
-
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
17204
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
17205
|
-
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 collapsetitle ' : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
|
|
17206
|
-
}, item.name)), /*#__PURE__*/React.createElement("div", {
|
|
17207
|
-
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
17208
|
-
}, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
|
|
17209
|
-
if (state.expanded == true) {
|
|
17210
|
-
return /*#__PURE__*/React.createElement("i", {
|
|
17211
|
-
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
17212
|
-
}, /*#__PURE__*/React.createElement(FiChevronUp, null));
|
|
17213
|
-
} else {
|
|
17214
|
-
return /*#__PURE__*/React.createElement("i", {
|
|
17215
|
-
className: filter_cssstyles.collapsetitle + ' h-100 d-flex align-items-center justify-content-end '
|
|
17216
|
-
}, /*#__PURE__*/React.createElement(FiChevronDown, null));
|
|
17217
|
-
}
|
|
17218
|
-
}))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
|
|
17219
|
-
className: "p-0"
|
|
17220
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
17221
|
-
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex"
|
|
17222
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
17223
|
-
className: 'col-lg-12'
|
|
17224
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
17225
|
-
className: langdetect == 'en' ? "".concat(filterstyles.timeline) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
|
|
17226
|
-
}, item.filterarray.map(function (valueitem, valueindex) {
|
|
17227
|
-
var ischecked = false;
|
|
17228
|
-
if (item.payloadvalue == 'sortprice') {
|
|
17229
|
-
if (valueitem.value == ProductFilterObjContext.sortprice) {
|
|
17230
|
-
ischecked = true;
|
|
17231
|
-
}
|
|
17232
|
-
} else if (item.payloadvalue == 'sortdates') {
|
|
17233
|
-
if (valueitem.value == ProductFilterObjContext.sortdates) {
|
|
17234
|
-
ischecked = true;
|
|
17235
|
-
}
|
|
17236
|
-
}
|
|
17237
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
17238
|
-
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-center pb-3 ',
|
|
17239
|
-
onClick: function onClick() {
|
|
17240
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$2b({}, ProductFilterObjContext);
|
|
17241
|
-
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
17242
|
-
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
17243
|
-
} else {
|
|
17244
|
-
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
17245
|
-
}
|
|
17246
|
-
tempfetchproductsfilerobjcontext.page = 0;
|
|
17247
|
-
setProductFilterObjContext(_objectSpread$2b({}, tempfetchproductsfilerobjcontext));
|
|
17248
|
-
filterrouting(tempfetchproductsfilerobjcontext);
|
|
17249
|
-
}
|
|
17250
|
-
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
17251
|
-
className: " ".concat(ischecked ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' d-flex align-items-center '
|
|
17252
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
17253
|
-
className: "h-100 d-flex align-items-center"
|
|
17254
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
17255
|
-
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
17256
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
17257
|
-
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
17258
|
-
style: {
|
|
17259
|
-
color: ischecked ? sectionproperties.activecat_color : ''
|
|
17260
|
-
}
|
|
17261
|
-
}, valueitem.name)));
|
|
17262
|
-
}))))))));
|
|
17263
|
-
}), sectionproperties.showfilterbyrating == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
17264
|
-
className: "col-lg-12 pl-4 pr-4"
|
|
17265
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
17266
|
-
className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '
|
|
17267
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
17268
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 mb-3"
|
|
17269
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
17270
|
-
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 collapsetitle ' : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
|
|
17271
|
-
}, langdetect == 'en' ? 'Ratings' : 'التقييمات')), /*#__PURE__*/React.createElement("div", {
|
|
17272
|
-
className: "col-lg-12 col-md-12 col-sm-12 mb-4"
|
|
17273
|
-
}, /*#__PURE__*/React.createElement(InputRange, {
|
|
17274
|
-
draggableTrack: true,
|
|
17275
|
-
formatLabel: function formatLabel(value) {
|
|
17276
|
-
return "".concat(value);
|
|
17277
|
-
},
|
|
17278
|
-
maxValue: 5,
|
|
17279
|
-
minValue: 0,
|
|
17280
|
-
value: raterangevalue,
|
|
17281
|
-
onChange: function onChange(value) {
|
|
17282
|
-
setraterangevalue(_objectSpread$2b({}, value));
|
|
17283
|
-
}
|
|
17284
|
-
}))))), authdetailsContext.instinfo.instid == '673f49cede6cb' && /*#__PURE__*/React.createElement("div", {
|
|
17285
|
-
"class": "row m-0 w-100 mb-3 mt-2"
|
|
17286
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
17287
|
-
"class": "col-lg-12 p-0 text-start mb-2"
|
|
17288
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
17289
|
-
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
|
|
17290
|
-
}, langdetect == 'en' ? 'Price' : 'السعر')), /*#__PURE__*/React.createElement("div", {
|
|
17291
|
-
className: langdetect == 'en' ? 'col-6 pl-0 pr-1' : 'col-6 pr-0 pl-1'
|
|
17292
|
-
}, /*#__PURE__*/React.createElement("label", {
|
|
17293
|
-
className: "".concat(filter_cssstyles.collapsetitle) + ' d-flex justify-content-start '
|
|
17294
|
-
}, langdetect == 'en' ? 'From' : 'من'), /*#__PURE__*/React.createElement("input", {
|
|
17295
|
-
type: "text",
|
|
17296
|
-
value: pricevalue2.min,
|
|
17297
|
-
onChange: function onChange(event) {
|
|
17298
|
-
var temppricevalue = _objectSpread$2b({}, pricevalue2);
|
|
17299
|
-
temppricevalue.min = event.target.value;
|
|
17300
|
-
setpricevalue2(_objectSpread$2b({}, temppricevalue));
|
|
17301
|
-
// var temppayloadobj = { ...pricefrom };
|
|
17302
|
-
// temppayloadobj = event.target.value;
|
|
17303
|
-
// setpricefrom({ ...temppayloadobj });
|
|
17304
|
-
},
|
|
17305
|
-
style: {
|
|
17306
|
-
background: '#fff',
|
|
17307
|
-
border: '1px solid #ccc',
|
|
17308
|
-
borderRadius: 5,
|
|
17309
|
-
color: '#000',
|
|
17310
|
-
height: 35,
|
|
17311
|
-
width: '100%',
|
|
17312
|
-
paddingLeft: 10,
|
|
17313
|
-
paddingRight: 10
|
|
17314
|
-
}
|
|
17315
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
17316
|
-
className: langdetect == 'en' ? 'col-6 pr-0 pl-1' : 'col-6 pl-0 pr-1'
|
|
17317
|
-
}, /*#__PURE__*/React.createElement("label", {
|
|
17318
|
-
className: "".concat(filter_cssstyles.collapsetitle) + ' d-flex justify-content-start '
|
|
17319
|
-
}, langdetect == 'en' ? 'To' : 'إلى'), /*#__PURE__*/React.createElement("input", {
|
|
17320
|
-
type: "text",
|
|
17321
|
-
value: pricevalue2.max,
|
|
17322
|
-
onChange: function onChange(event) {
|
|
17323
|
-
// var temppayloadobj = { ...priceto };
|
|
17324
|
-
// temppayloadobj = event.target.value;
|
|
17325
|
-
// setpriceto({ ...temppayloadobj });
|
|
17326
|
-
var temppricevalue = _objectSpread$2b({}, pricevalue2);
|
|
17327
|
-
temppricevalue.max = event.target.value;
|
|
17328
|
-
setpricevalue2(_objectSpread$2b({}, temppricevalue));
|
|
17329
|
-
},
|
|
17330
|
-
style: {
|
|
17331
|
-
width: '100%',
|
|
17332
|
-
background: '#fff',
|
|
17333
|
-
border: '1px solid #ccc',
|
|
17334
|
-
borderRadius: 5,
|
|
17335
|
-
color: '#000',
|
|
17336
|
-
height: 35,
|
|
17337
|
-
paddingRight: 10,
|
|
17338
|
-
paddingLeft: 10
|
|
17339
|
-
}
|
|
17340
|
-
}))), sectionproperties.showcountriesfilter == 'Show' && Countriesfilter(), sectionproperties.showvariantsfilter == 'Show' && InstFilters(), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
16991
|
+
}, sectionproperties.showcountriesfilter == 'Show' && Countriesfilter(), sectionproperties.showvariantsfilter == 'Show' && InstFilters(), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
17341
16992
|
"class": "row m-0 w-100 mb-3"
|
|
17342
16993
|
}, CategoriesFilter()), sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
17343
16994
|
"class": "row m-0 w-100 mb-3"
|
|
@@ -17414,7 +17065,7 @@ var Filter$1 = function Filter(props) {
|
|
|
17414
17065
|
}
|
|
17415
17066
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17416
17067
|
className: filter_cssstyles.filteraccordion + ' row m-0 w-100 pt-2 pb-3 filter-accordion '
|
|
17417
|
-
},
|
|
17068
|
+
}, /*#__PURE__*/React.createElement(Accordion, {
|
|
17418
17069
|
allowMultipleExpanded: true,
|
|
17419
17070
|
allowZeroExpanded: true,
|
|
17420
17071
|
preExpanded: [0, 1, 2, 3],
|
|
@@ -17490,57 +17141,7 @@ var Filter$1 = function Filter(props) {
|
|
|
17490
17141
|
}
|
|
17491
17142
|
}, valueitem.name)));
|
|
17492
17143
|
}));
|
|
17493
|
-
}))))))),
|
|
17494
|
-
"class": "row m-0 w-100 mb-3 mt-2 px-3"
|
|
17495
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
17496
|
-
"class": "col-lg-12 p-0 text-start mb-2"
|
|
17497
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
17498
|
-
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
|
|
17499
|
-
}, langdetect == 'en' ? 'Price' : 'السعر')), /*#__PURE__*/React.createElement("div", {
|
|
17500
|
-
className: langdetect == 'en' ? 'col-6 pl-0 pr-1' : 'col-6 pr-0 pl-1'
|
|
17501
|
-
}, /*#__PURE__*/React.createElement("label", {
|
|
17502
|
-
className: "".concat(filter_cssstyles.collapsetitle) + ' d-flex justify-content-start '
|
|
17503
|
-
}, langdetect == 'en' ? 'From' : 'من'), /*#__PURE__*/React.createElement("input", {
|
|
17504
|
-
type: "text",
|
|
17505
|
-
value: pricefrom,
|
|
17506
|
-
onChange: function onChange(event) {
|
|
17507
|
-
var temppricevalue = _objectSpread$2b({}, pricevalue2);
|
|
17508
|
-
temppricevalue.min = event.target.value;
|
|
17509
|
-
setpricevalue2(_objectSpread$2b({}, temppricevalue));
|
|
17510
|
-
},
|
|
17511
|
-
style: {
|
|
17512
|
-
background: '#fff',
|
|
17513
|
-
border: '1px solid #ccc',
|
|
17514
|
-
borderRadius: 5,
|
|
17515
|
-
color: '#000',
|
|
17516
|
-
height: 35,
|
|
17517
|
-
width: '100%',
|
|
17518
|
-
paddingLeft: 15,
|
|
17519
|
-
paddingRight: 15
|
|
17520
|
-
}
|
|
17521
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
17522
|
-
className: langdetect == 'en' ? 'col-6 pr-0 pl-1' : 'col-6 pl-0 pr-1'
|
|
17523
|
-
}, /*#__PURE__*/React.createElement("label", {
|
|
17524
|
-
className: "".concat(filter_cssstyles.collapsetitle) + ' d-flex justify-content-start '
|
|
17525
|
-
}, langdetect == 'en' ? 'To' : 'إلى'), /*#__PURE__*/React.createElement("input", {
|
|
17526
|
-
type: "text",
|
|
17527
|
-
value: priceto,
|
|
17528
|
-
onChange: function onChange(event) {
|
|
17529
|
-
var temppricevalue = _objectSpread$2b({}, pricevalue2);
|
|
17530
|
-
temppricevalue.max = event.target.value;
|
|
17531
|
-
setpricevalue2(_objectSpread$2b({}, temppricevalue));
|
|
17532
|
-
},
|
|
17533
|
-
style: {
|
|
17534
|
-
width: '100%',
|
|
17535
|
-
background: '#fff',
|
|
17536
|
-
border: '1px solid #ccc',
|
|
17537
|
-
borderRadius: 5,
|
|
17538
|
-
color: '#000',
|
|
17539
|
-
height: 35,
|
|
17540
|
-
paddingLeft: 15,
|
|
17541
|
-
paddingRight: 15
|
|
17542
|
-
}
|
|
17543
|
-
}))), sectionproperties.otherfilters == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
17144
|
+
}))))))), sectionproperties.otherfilters == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
17544
17145
|
className: "col-lg-12 p-0"
|
|
17545
17146
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
17546
17147
|
className: "mt-2 mb-3"
|
|
@@ -17873,7 +17474,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
17873
17474
|
perpageItems = _useState14[0],
|
|
17874
17475
|
setperpageItems = _useState14[1];
|
|
17875
17476
|
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
17876
|
-
props.actions.authdetailsContext;
|
|
17877
17477
|
useEffect(function () {
|
|
17878
17478
|
var productfilerobjtemp = ProductFilterObjContext;
|
|
17879
17479
|
if (props.filterparamsprops != undefined) {
|
|
@@ -18147,7 +17747,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
18147
17747
|
};
|
|
18148
17748
|
if (fetchingtype == 'products') {
|
|
18149
17749
|
var _arrayItem$features3;
|
|
18150
|
-
var itemquantity =
|
|
17750
|
+
var itemquantity = 0;
|
|
18151
17751
|
if (langdetect == 'en') {
|
|
18152
17752
|
cardobj.name = arrayItem.productinfo.name_en;
|
|
18153
17753
|
} else {
|
|
@@ -18158,11 +17758,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
18158
17758
|
} else {
|
|
18159
17759
|
cardobj.description = arrayItem.productinfo.description_ar;
|
|
18160
17760
|
}
|
|
18161
|
-
if (langdetect == 'en') {
|
|
18162
|
-
cardobj.shortdescription = arrayItem.short_description_ar;
|
|
18163
|
-
} else {
|
|
18164
|
-
cardobj.shortdescription = arrayItem.productinfo.description_ar;
|
|
18165
|
-
}
|
|
18166
17761
|
if (langdetect == 'en') {
|
|
18167
17762
|
cardobj.shortdescription = arrayItem.short_description_en;
|
|
18168
17763
|
} else {
|
|
@@ -18188,7 +17783,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
18188
17783
|
cardobj.productendpointurl = arrayItem.productinfo.productendpointurl;
|
|
18189
17784
|
cardobj.hassale = arrayItem.productinfo.hassale;
|
|
18190
17785
|
cardobj.productid = arrayItem.productinfo.productid;
|
|
18191
|
-
cardobj.vendorid = arrayItem.productinfo.vendorproviderid;
|
|
18192
17786
|
cardobj.hasvariants = arrayItem.productinfo.hasvariants;
|
|
18193
17787
|
cardobj.description_en = arrayItem.productinfo.description_en;
|
|
18194
17788
|
cardobj.description_ar = arrayItem.productinfo.description_ar;
|
|
@@ -18326,28 +17920,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
18326
17920
|
}
|
|
18327
17921
|
}
|
|
18328
17922
|
var section_cssstyles = {
|
|
18329
|
-
btnnn: css({
|
|
18330
|
-
width: '20%',
|
|
18331
|
-
height: 40,
|
|
18332
|
-
background: '#5c5c5c',
|
|
18333
|
-
fontSize: 14,
|
|
18334
|
-
fontWeight: 400,
|
|
18335
|
-
color: 'white',
|
|
18336
|
-
borderRadius: 10,
|
|
18337
|
-
':hover': {
|
|
18338
|
-
color: 'white',
|
|
18339
|
-
background: '#000',
|
|
18340
|
-
transition: '.3s'
|
|
18341
|
-
}
|
|
18342
|
-
}),
|
|
18343
|
-
titleee: css({
|
|
18344
|
-
fontSize: 25,
|
|
18345
|
-
color: '#000',
|
|
18346
|
-
fontWeight: 600,
|
|
18347
|
-
'@media (max-width: 800px)': {
|
|
18348
|
-
fontSize: 20
|
|
18349
|
-
}
|
|
18350
|
-
}),
|
|
18351
17923
|
sectioncontainerr: css({
|
|
18352
17924
|
width: sectionproperties.width + 'vw',
|
|
18353
17925
|
marginTop: sectionproperties.marginTop + 'px',
|
|
@@ -18552,11 +18124,12 @@ var CardsSection = function CardsSection(props) {
|
|
|
18552
18124
|
};
|
|
18553
18125
|
var SectionTitle = function SectionTitle() {
|
|
18554
18126
|
return /*#__PURE__*/React.createElement("div", {
|
|
18555
|
-
"class": "d-flex align-items-center
|
|
18127
|
+
"class": "d-flex align-items-center",
|
|
18556
18128
|
style: {
|
|
18557
18129
|
position: 'relative',
|
|
18558
18130
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
18559
|
-
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : ''
|
|
18131
|
+
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
18132
|
+
flexDirection: sectionproperties.sectiontitlestyle == 'Line Under Text' ? 'column' : 'row'
|
|
18560
18133
|
}
|
|
18561
18134
|
}, sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React.createElement("span", {
|
|
18562
18135
|
"class": section_cssstyles.line_left
|
|
@@ -18571,6 +18144,14 @@ var CardsSection = function CardsSection(props) {
|
|
|
18571
18144
|
}
|
|
18572
18145
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React.createElement("span", {
|
|
18573
18146
|
"class": section_cssstyles.line_right
|
|
18147
|
+
}), sectionproperties.sectiontitlestyle == 'Line Under Text' && /*#__PURE__*/React.createElement("span", {
|
|
18148
|
+
style: {
|
|
18149
|
+
width: '50%',
|
|
18150
|
+
background: sectionproperties.linebgcolor,
|
|
18151
|
+
height: 3,
|
|
18152
|
+
borderRadius: 10,
|
|
18153
|
+
marginTop: 5
|
|
18154
|
+
}
|
|
18574
18155
|
}));
|
|
18575
18156
|
};
|
|
18576
18157
|
var isCardsectionloading = function isCardsectionloading() {
|
|
@@ -19291,23 +18872,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
19291
18872
|
setopenFilterSlider: setopenFilterSlider,
|
|
19292
18873
|
show_product_group_titles: show_product_group_titles,
|
|
19293
18874
|
typeprops: 'vertical'
|
|
19294
|
-
})), fetchingtype == 'custom' && /*#__PURE__*/React.createElement(React.Fragment, null, cardsrender()), fetchingtype != 'custom' && cardsrender()
|
|
19295
|
-
"class": "col-lg-12 allcentered my-5"
|
|
19296
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
19297
|
-
"class": "row m-0 w-100"
|
|
19298
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
19299
|
-
"class": "col-lg-12 allcentered mb-3"
|
|
19300
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
19301
|
-
"class": section_cssstyles.titleee + ' m-0 p-0 ',
|
|
19302
|
-
style: {}
|
|
19303
|
-
}, langdetect == 'en' ? "Didn't find what you're looking for?" : 'مش لاقي اللي بتدور عليه؟')), /*#__PURE__*/React.createElement("div", {
|
|
19304
|
-
"class": "col-lg-12 allcentered"
|
|
19305
|
-
}, /*#__PURE__*/React.createElement("button", {
|
|
19306
|
-
"class": section_cssstyles.btnnn + ' w-md-100 ',
|
|
19307
|
-
onClick: function onClick() {
|
|
19308
|
-
routingcountext('inquiryform', false, '');
|
|
19309
|
-
}
|
|
19310
|
-
}, langdetect == 'en' ? 'Contact Us' : 'إتصل بنا'))))));
|
|
18875
|
+
})), fetchingtype == 'custom' && /*#__PURE__*/React.createElement(React.Fragment, null, cardsrender()), fetchingtype != 'custom' && cardsrender()));
|
|
19311
18876
|
};
|
|
19312
18877
|
|
|
19313
18878
|
function ownKeys$28(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -22505,7 +22070,7 @@ var DownloadApp = function DownloadApp(props) {
|
|
|
22505
22070
|
function ownKeys$1_(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22506
22071
|
function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22507
22072
|
var SocialMediaSection = function SocialMediaSection(props) {
|
|
22508
|
-
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13
|
|
22073
|
+
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13;
|
|
22509
22074
|
props.actions;
|
|
22510
22075
|
props.actions.StatePagePropertiesContext;
|
|
22511
22076
|
var _useState = useState({}),
|
|
@@ -22586,39 +22151,26 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
22586
22151
|
style: {
|
|
22587
22152
|
fontSize: parseFloat(templateproperties_context.socialmediasectioniconfontsize) + 2 + 'px'
|
|
22588
22153
|
}
|
|
22589
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.
|
|
22154
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.tiktoklink) != null && /*#__PURE__*/React.createElement("div", {
|
|
22590
22155
|
"class": "".concat(header_cssstyles.socialmediaicon) + ' allcentered mx-2 cursor-pointer ',
|
|
22591
22156
|
onClick: function onClick() {
|
|
22592
22157
|
var _authdetailsContext$i11;
|
|
22593
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.
|
|
22158
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.tiktoklink) != null) {
|
|
22594
22159
|
var _authdetailsContext$i12;
|
|
22595
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.
|
|
22160
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.tiktoklink, '_blank');
|
|
22596
22161
|
}
|
|
22597
22162
|
}
|
|
22598
|
-
}, /*#__PURE__*/React.createElement(
|
|
22163
|
+
}, /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
22599
22164
|
style: {
|
|
22600
22165
|
fontSize: parseFloat(templateproperties_context.socialmediasectioniconfontsize) + 2 + 'px'
|
|
22601
22166
|
}
|
|
22602
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.
|
|
22167
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
22603
22168
|
"class": "".concat(header_cssstyles.socialmediaicon) + ' allcentered mx-2 cursor-pointer ',
|
|
22604
22169
|
onClick: function onClick() {
|
|
22605
22170
|
var _authdetailsContext$i14;
|
|
22606
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.
|
|
22171
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.whatsappnumber) != null) {
|
|
22607
22172
|
var _authdetailsContext$i15;
|
|
22608
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.
|
|
22609
|
-
}
|
|
22610
|
-
}
|
|
22611
|
-
}, /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
22612
|
-
style: {
|
|
22613
|
-
fontSize: parseFloat(templateproperties_context.socialmediasectioniconfontsize) + 2 + 'px'
|
|
22614
|
-
}
|
|
22615
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
22616
|
-
"class": "".concat(header_cssstyles.socialmediaicon) + ' allcentered mx-2 cursor-pointer ',
|
|
22617
|
-
onClick: function onClick() {
|
|
22618
|
-
var _authdetailsContext$i17;
|
|
22619
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.whatsappnumber) != null) {
|
|
22620
|
-
var _authdetailsContext$i18;
|
|
22621
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.whatsappnumber), '_blank');
|
|
22173
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.whatsappnumber), '_blank');
|
|
22622
22174
|
}
|
|
22623
22175
|
}
|
|
22624
22176
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
@@ -22631,10 +22183,10 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
22631
22183
|
function ownKeys$1Z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22632
22184
|
function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22633
22185
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
22634
|
-
var
|
|
22186
|
+
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _fetchCategoriesQuery2, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12;
|
|
22635
22187
|
var actions = props.actions;
|
|
22636
22188
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
22637
|
-
|
|
22189
|
+
props.actions.setsidecartnavshowcontext;
|
|
22638
22190
|
var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
|
|
22639
22191
|
props.actions.StatePagePropertiesContext;
|
|
22640
22192
|
var lang = props.actions.lang;
|
|
@@ -22642,12 +22194,12 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
22642
22194
|
var setlang = props.actions.setlang;
|
|
22643
22195
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
22644
22196
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
22645
|
-
|
|
22197
|
+
props.actions.fetchcustomercartQueryContext;
|
|
22646
22198
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
22647
22199
|
props.actions.favoriteprojectscountContext;
|
|
22648
22200
|
var routingcountext = props.actions.routingcountext;
|
|
22649
22201
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
22650
|
-
|
|
22202
|
+
props.actions.setcurrencyfunccontext;
|
|
22651
22203
|
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
22652
22204
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
22653
22205
|
var _useState = useState(''),
|
|
@@ -22867,47 +22419,6 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
22867
22419
|
});
|
|
22868
22420
|
return policyobj;
|
|
22869
22421
|
};
|
|
22870
|
-
var CartButton = function CartButton() {
|
|
22871
|
-
var _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
22872
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
22873
|
-
"class": "d-flex align-items-center",
|
|
22874
|
-
style: {
|
|
22875
|
-
position: 'relative'
|
|
22876
|
-
}
|
|
22877
|
-
}, /*#__PURE__*/React.createElement("button", {
|
|
22878
|
-
className: "".concat(header_cssstyles.addtocartbtn_resp) + ' d-flex align-items-center justify-content-center p-0 ',
|
|
22879
|
-
onClick: function onClick() {
|
|
22880
|
-
var _fetchcustomercartQue;
|
|
22881
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.cartitems) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.length) > 7) {
|
|
22882
|
-
routingcountext(StaticPagesLinksContext.viewcart);
|
|
22883
|
-
} else {
|
|
22884
|
-
setsidecartnavshowcontext(true);
|
|
22885
|
-
}
|
|
22886
|
-
}
|
|
22887
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
22888
|
-
className: ' h-100 d-flex align-items-center justify-content-center '
|
|
22889
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
22890
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22891
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
22892
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22893
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
22894
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22895
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
|
|
22896
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22897
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
22898
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22899
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
22900
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22901
|
-
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
22902
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22903
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
22904
|
-
className: "".concat(header_cssstyles.badge_counter_header_notifications),
|
|
22905
|
-
style: {
|
|
22906
|
-
top: sectionproperties.cartbadgefromtop + 'px',
|
|
22907
|
-
right: sectionproperties.cartbadgefromright + 'px'
|
|
22908
|
-
}
|
|
22909
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0));
|
|
22910
|
-
};
|
|
22911
22422
|
var _useState15 = useState(false),
|
|
22912
22423
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
22913
22424
|
openmenuCanvas = _useState16[0],
|
|
@@ -22982,8 +22493,10 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
22982
22493
|
style: {
|
|
22983
22494
|
position: 'relative'
|
|
22984
22495
|
}
|
|
22985
|
-
},
|
|
22986
|
-
className: "col-md-
|
|
22496
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
22497
|
+
className: "col-md-6 col-sm-8 d-flex filter align-items-center p-0"
|
|
22498
|
+
}, InstLogoContainer()), /*#__PURE__*/React.createElement("div", {
|
|
22499
|
+
className: "col-md-6 col-sm-4 text-end p-0"
|
|
22987
22500
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22988
22501
|
style: {}
|
|
22989
22502
|
}, /*#__PURE__*/React.createElement("i", {
|
|
@@ -23009,158 +22522,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
23009
22522
|
}), menuactive == true && /*#__PURE__*/React.createElement(AiOutlineClose, {
|
|
23010
22523
|
size: sectionproperties.resp_sidenav_size,
|
|
23011
22524
|
color: sectionproperties.resp_sidenav_color
|
|
23012
|
-
}))),
|
|
23013
|
-
style: {
|
|
23014
|
-
width: '30px',
|
|
23015
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
23016
|
-
}
|
|
23017
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
23018
|
-
"class": "h-100 allcentered",
|
|
23019
|
-
onClick: function onClick() {
|
|
23020
|
-
setopenSearch(true);
|
|
23021
|
-
}
|
|
23022
|
-
}, /*#__PURE__*/React.createElement(IoSearchOutline, {
|
|
23023
|
-
size: 22,
|
|
23024
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
23025
|
-
})))), sectionproperties.logocentered == 'Not Centered' && /*#__PURE__*/React.createElement("div", {
|
|
23026
|
-
className: "col-md-6 col-sm-6 d-flex filter align-items-center p-0"
|
|
23027
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
23028
|
-
style: {
|
|
23029
|
-
width: sectionproperties.cart_BtnWidth_resp + 'px',
|
|
23030
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
23031
|
-
},
|
|
23032
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
23033
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
23034
|
-
"class": ' h-100 allcentered ',
|
|
23035
|
-
style: {
|
|
23036
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
23037
|
-
},
|
|
23038
|
-
onClick: function onClick() {
|
|
23039
|
-
if (sectionproperties.responsiveheaderstyle == 'Style 2') {
|
|
23040
|
-
if (menuactive == true) {
|
|
23041
|
-
setmenuactive(false);
|
|
23042
|
-
} else {
|
|
23043
|
-
setmenuactive(true);
|
|
23044
|
-
}
|
|
23045
|
-
} else {
|
|
23046
|
-
setopenmenuCanvas(true);
|
|
23047
|
-
setactiveTab('menu');
|
|
23048
|
-
}
|
|
23049
|
-
}
|
|
23050
|
-
}, menuactive == false && /*#__PURE__*/React.createElement(FiMenu, {
|
|
23051
|
-
size: 20,
|
|
23052
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
23053
|
-
}), menuactive == true && /*#__PURE__*/React.createElement(AiOutlineClose, {
|
|
23054
|
-
size: 20,
|
|
23055
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
23056
|
-
}))), InstLogoContainer()), sectionproperties.logocentered == 'Centered' && /*#__PURE__*/React.createElement("div", {
|
|
23057
|
-
className: "col-md-4 col-sm-6 allcentered p-0"
|
|
23058
|
-
}, InstLogoContainer()), /*#__PURE__*/React.createElement("div", {
|
|
23059
|
-
className: sectionproperties.logocentered != 'Centered' ? 'col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0' : 'col-md-4 col-sm-3 d-flex align-items-center justify-content-end p-0'
|
|
23060
|
-
}, sectionproperties.searchbar_show == 'Show' && sectionproperties.logocentered == 'Not Centered' && /*#__PURE__*/React.createElement("div", {
|
|
23061
|
-
style: {
|
|
23062
|
-
width: '30px',
|
|
23063
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
23064
|
-
}
|
|
23065
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
23066
|
-
"class": "h-100 allcentered",
|
|
23067
|
-
onClick: function onClick() {
|
|
23068
|
-
setopenSearch(true);
|
|
23069
|
-
}
|
|
23070
|
-
}, /*#__PURE__*/React.createElement(IoSearchOutline, {
|
|
23071
|
-
size: 22,
|
|
23072
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
23073
|
-
}))), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
23074
|
-
style: {
|
|
23075
|
-
width: '30px',
|
|
23076
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
23077
|
-
}
|
|
23078
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
23079
|
-
"class": "h-100 allcentered",
|
|
23080
|
-
onClick: function onClick() {
|
|
23081
|
-
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
23082
|
-
}
|
|
23083
|
-
}, /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
23084
|
-
size: 22,
|
|
23085
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
23086
|
-
}))), sectionproperties.cartBtnShow == 'Show' && CartButton(), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 && /*#__PURE__*/React.createElement("div", {
|
|
23087
|
-
"class": 'd-flex align-items-center pl-1 pr-1 pt-1',
|
|
23088
|
-
style: {}
|
|
23089
|
-
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
23090
|
-
"class": ' d-flex align-items-center justify-content-center '
|
|
23091
|
-
}, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
23092
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
23093
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
23094
|
-
"class": "m-0 p-0 mr-1 ml-1"
|
|
23095
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
23096
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
23097
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
23098
|
-
"class": "m-0 p-0 ml-1 mr-1"
|
|
23099
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
|
|
23100
|
-
var _authdetailsContext$i4;
|
|
23101
|
-
return /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
23102
|
-
"class": "m-0 p-0",
|
|
23103
|
-
onClick: function onClick() {
|
|
23104
|
-
setcurrencyfunccontext(item);
|
|
23105
|
-
}
|
|
23106
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
23107
|
-
"class": "row m-0 w-100"
|
|
23108
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
23109
|
-
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
23110
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
23111
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer)
|
|
23112
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
23113
|
-
"class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
|
|
23114
|
-
style: {
|
|
23115
|
-
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
23116
|
-
fontWeight: sectionproperties.dropdown_fontweight,
|
|
23117
|
-
textTransform: sectionproperties.dropdown_texttransform,
|
|
23118
|
-
color: sectionproperties.language_container_color_resp
|
|
23119
|
-
}
|
|
23120
|
-
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("span", {
|
|
23121
|
-
"class": 'ml-2 mr-2'
|
|
23122
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) - 1 && /*#__PURE__*/React.createElement("div", {
|
|
23123
|
-
"class": "col-lg-12 p-0"
|
|
23124
|
-
}, /*#__PURE__*/React.createElement("hr", {
|
|
23125
|
-
"class": "m-0"
|
|
23126
|
-
}))));
|
|
23127
|
-
})))), sectionproperties.searchbar_show == 'Hide' && sectionproperties.logocentered == 'Centered' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.favBtnShow == 'Hide' && /*#__PURE__*/React.createElement("div", {
|
|
23128
|
-
className: 'allcentered resposiveheader_languagedropdown',
|
|
23129
|
-
style: {
|
|
23130
|
-
marginLeft: langdetect == 'en' ? '0.25rem' : 0,
|
|
23131
|
-
marginRight: langdetect == 'ar' ? '0.25rem' : 0
|
|
23132
|
-
}
|
|
23133
|
-
}, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
23134
|
-
className: ' row m-0 w-100 allcentered ',
|
|
23135
|
-
style: {
|
|
23136
|
-
direction: 'rtl',
|
|
23137
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
23138
|
-
},
|
|
23139
|
-
onClick: function onClick() {
|
|
23140
|
-
setlang('ar');
|
|
23141
|
-
}
|
|
23142
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
23143
|
-
"class": "m-0 p-0 font-weight-500"
|
|
23144
|
-
}, "\u0639"), /*#__PURE__*/React.createElement("i", {
|
|
23145
|
-
className: langdetect == 'en' ? 'h-100 allcentered mr-1' : 'h-100 allcentered ml-1'
|
|
23146
|
-
}, /*#__PURE__*/React.createElement(BiChevronDown, {
|
|
23147
|
-
size: 20
|
|
23148
|
-
}))), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
23149
|
-
className: ' row m-0 w-100 allcentered ',
|
|
23150
|
-
style: {
|
|
23151
|
-
direction: 'ltr',
|
|
23152
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
23153
|
-
},
|
|
23154
|
-
onClick: function onClick() {
|
|
23155
|
-
setlang('en');
|
|
23156
|
-
}
|
|
23157
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
23158
|
-
"class": "m-0 p-0 font-weight-500 mr-1"
|
|
23159
|
-
}, "En"), /*#__PURE__*/React.createElement("i", {
|
|
23160
|
-
className: "h-100 allcentered"
|
|
23161
|
-
}, /*#__PURE__*/React.createElement(BiChevronDown, {
|
|
23162
|
-
size: 20
|
|
23163
|
-
}))))), menuactive == true && /*#__PURE__*/React.createElement("div", {
|
|
22525
|
+
})))), menuactive == true && /*#__PURE__*/React.createElement("div", {
|
|
23164
22526
|
"class": "px-4 py-4 scrollvertical",
|
|
23165
22527
|
style: {
|
|
23166
22528
|
position: 'fixed',
|
|
@@ -23803,7 +23165,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
23803
23165
|
}, lang.logout))))), activeTab == 'categories' && /*#__PURE__*/React.createElement("div", {
|
|
23804
23166
|
className: ' row m-0 w-100 accordionContainer anim'
|
|
23805
23167
|
}, sectionproperties.subheaderParentType == 'Categories' && /*#__PURE__*/React.createElement(Accordion, {
|
|
23806
|
-
allowMultipleExpanded:
|
|
23168
|
+
allowMultipleExpanded: true,
|
|
23807
23169
|
allowZeroExpanded: true
|
|
23808
23170
|
}, fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery2 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery2 === void 0 || (_fetchCategoriesQuery2 = _fetchCategoriesQuery2.data) === null || _fetchCategoriesQuery2 === void 0 ? void 0 : _fetchCategoriesQuery2.categories.map(function (item, index) {
|
|
23809
23171
|
if (item.isshowntocustomers == 1) {
|
|
@@ -23859,7 +23221,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
23859
23221
|
}, /*#__PURE__*/React.createElement("div", {
|
|
23860
23222
|
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex"
|
|
23861
23223
|
}, /*#__PURE__*/React.createElement(Accordion, {
|
|
23862
|
-
allowMultipleExpanded:
|
|
23224
|
+
allowMultipleExpanded: true,
|
|
23863
23225
|
allowZeroExpanded: true
|
|
23864
23226
|
}, Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery3 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery3 === void 0 || (_fetchCategoriesQuery3 = _fetchCategoriesQuery3.data) === null || _fetchCategoriesQuery3 === void 0 || (_fetchCategoriesQuery3 = _fetchCategoriesQuery3.categories[Choosenindex]) === null || _fetchCategoriesQuery3 === void 0 || (_fetchCategoriesQuery3 = _fetchCategoriesQuery3.parentcolletions) === null || _fetchCategoriesQuery3 === void 0 ? void 0 : _fetchCategoriesQuery3.length) != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery4 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery4 === void 0 || (_fetchCategoriesQuery4 = _fetchCategoriesQuery4.data) === null || _fetchCategoriesQuery4 === void 0 || (_fetchCategoriesQuery4 = _fetchCategoriesQuery4.categories[Choosenindex]) === null || _fetchCategoriesQuery4 === void 0 ? void 0 : _fetchCategoriesQuery4.parentcolletions.map(function (pitem, pindex) {
|
|
23865
23227
|
if (pitem.isshowntocustomers == 1) {
|
|
@@ -23935,7 +23297,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
23935
23297
|
}))))));
|
|
23936
23298
|
}
|
|
23937
23299
|
})), sectionproperties.subheaderParentType == 'Parent Collections' && /*#__PURE__*/React.createElement(Accordion, {
|
|
23938
|
-
allowMultipleExpanded:
|
|
23300
|
+
allowMultipleExpanded: true,
|
|
23939
23301
|
allowZeroExpanded: true
|
|
23940
23302
|
}, pcollarray.map(function (item, index) {
|
|
23941
23303
|
if (item.isshowntocustomers == 1) {
|
|
@@ -24049,7 +23411,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24049
23411
|
}
|
|
24050
23412
|
})))));
|
|
24051
23413
|
}
|
|
24052
|
-
})), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23414
|
+
})), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcollections) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (collitem, collindex) {
|
|
24053
23415
|
if (collitem.isshowntocustomers == 1) {
|
|
24054
23416
|
return /*#__PURE__*/React.createElement("div", {
|
|
24055
23417
|
className: ' row m-0 p-0 mb-2 w-100 '
|
|
@@ -24075,49 +23437,49 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24075
23437
|
style: {
|
|
24076
23438
|
background: '#eee'
|
|
24077
23439
|
}
|
|
24078
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23440
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null && /*#__PURE__*/React.createElement("div", {
|
|
24079
23441
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
24080
23442
|
onClick: function onClick() {
|
|
24081
|
-
var _authdetailsContext$
|
|
24082
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
24083
|
-
var _authdetailsContext$
|
|
24084
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23443
|
+
var _authdetailsContext$i4;
|
|
23444
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink) != null) {
|
|
23445
|
+
var _authdetailsContext$i5;
|
|
23446
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.facebooklink, '_blank');
|
|
24085
23447
|
}
|
|
24086
23448
|
}
|
|
24087
23449
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
24088
23450
|
size: '20',
|
|
24089
23451
|
color: '#62564b'
|
|
24090
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23452
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
24091
23453
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
24092
23454
|
onClick: function onClick() {
|
|
24093
|
-
var _authdetailsContext$
|
|
24094
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
24095
|
-
var _authdetailsContext$
|
|
24096
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23455
|
+
var _authdetailsContext$i7;
|
|
23456
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
|
|
23457
|
+
var _authdetailsContext$i8;
|
|
23458
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink, '_blank');
|
|
24097
23459
|
}
|
|
24098
23460
|
}
|
|
24099
23461
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
24100
23462
|
size: '22',
|
|
24101
23463
|
color: '#62564b'
|
|
24102
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23464
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.tiktoklink) != null && /*#__PURE__*/React.createElement("div", {
|
|
24103
23465
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
24104
23466
|
onClick: function onClick() {
|
|
24105
|
-
var _authdetailsContext$
|
|
24106
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
24107
|
-
var _authdetailsContext$
|
|
24108
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23467
|
+
var _authdetailsContext$i10;
|
|
23468
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instagramlink) != null) {
|
|
23469
|
+
var _authdetailsContext$i11;
|
|
23470
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.tiktoklink, '_blank');
|
|
24109
23471
|
}
|
|
24110
23472
|
}
|
|
24111
23473
|
}, /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
24112
23474
|
size: '20',
|
|
24113
23475
|
color: '#62564b'
|
|
24114
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23476
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.youtubelink) != null && /*#__PURE__*/React.createElement("div", {
|
|
24115
23477
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
24116
23478
|
onClick: function onClick() {
|
|
24117
|
-
var _authdetailsContext$
|
|
24118
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
24119
|
-
var _authdetailsContext$
|
|
24120
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23479
|
+
var _authdetailsContext$i13;
|
|
23480
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink) != null) {
|
|
23481
|
+
var _authdetailsContext$i14;
|
|
23482
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.youtubelink, '_blank');
|
|
24121
23483
|
}
|
|
24122
23484
|
}
|
|
24123
23485
|
}, /*#__PURE__*/React.createElement(AiFillYoutube, {
|
|
@@ -26633,7 +25995,7 @@ styleInject(css_248z$y);
|
|
|
26633
25995
|
function ownKeys$1V(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
26634
25996
|
function _objectSpread$1V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1V(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26635
25997
|
var ClassicHeader = function ClassicHeader(props) {
|
|
26636
|
-
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue, _fetchcustomercartQue2,
|
|
25998
|
+
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue, _fetchcustomercartQue2, _templatepropcontext$;
|
|
26637
25999
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
26638
26000
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
26639
26001
|
var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
|
|
@@ -27281,14 +26643,13 @@ var ClassicHeader = function ClassicHeader(props) {
|
|
|
27281
26643
|
top: sectionproperties.cartbadgetop + 'px',
|
|
27282
26644
|
right: sectionproperties.cartbadgeright + 'px'
|
|
27283
26645
|
}
|
|
27284
|
-
}, fetchcustomercartQueryContext
|
|
27285
|
-
"class": ' mb-0 p-0
|
|
26646
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length : 0)), /*#__PURE__*/React.createElement("p", {
|
|
26647
|
+
"class": header_cssstyles.cartbtntext + ' mb-0 p-0 cartbtnicon ',
|
|
27286
26648
|
style: {
|
|
27287
26649
|
marginLeft: langdetect == 'en' ? '9px' : 0,
|
|
27288
|
-
marginRight: langdetect == 'ar' ? '9px' : 0
|
|
27289
|
-
color: sectionproperties.cartBtnTextcolor
|
|
26650
|
+
marginRight: langdetect == 'ar' ? '9px' : 0
|
|
27290
26651
|
}
|
|
27291
|
-
}, langdetect == 'en' ?
|
|
26652
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), /*#__PURE__*/React.createElement("div", {
|
|
27292
26653
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
27293
26654
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
27294
26655
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -28940,7 +28301,7 @@ styleInject(css_248z$w);
|
|
|
28940
28301
|
function ownKeys$1T(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
28941
28302
|
function _objectSpread$1T(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1T(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1T(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
28942
28303
|
var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
|
|
28943
|
-
var _authdetailsContext$
|
|
28304
|
+
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
28944
28305
|
var _useState = useState(''),
|
|
28945
28306
|
_useState2 = _slicedToArray(_useState, 2),
|
|
28946
28307
|
sectionproperties = _useState2[0],
|
|
@@ -28962,10 +28323,6 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
28962
28323
|
var actions = props.actions;
|
|
28963
28324
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
28964
28325
|
var scrollYposittionprops = props.actions.scrollYposittionprops;
|
|
28965
|
-
var _useState3 = useState(false),
|
|
28966
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
28967
|
-
dropdownselect = _useState4[0],
|
|
28968
|
-
setdropdownselect = _useState4[1];
|
|
28969
28326
|
useEffect(function () {
|
|
28970
28327
|
var secpropobj = {};
|
|
28971
28328
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -28982,18 +28339,10 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
28982
28339
|
}
|
|
28983
28340
|
setsectionproperties(_objectSpread$1T({}, secpropobj));
|
|
28984
28341
|
}, [StatePagePropertiesContext]);
|
|
28985
|
-
var
|
|
28986
|
-
|
|
28987
|
-
logoarrayofobjects =
|
|
28988
|
-
setlogoarrayofobjects =
|
|
28989
|
-
var _useState7 = useState([]),
|
|
28990
|
-
_useState8 = _slicedToArray(_useState7, 2),
|
|
28991
|
-
pcollarray = _useState8[0],
|
|
28992
|
-
setpcollarray = _useState8[1];
|
|
28993
|
-
var _useState9 = useState(''),
|
|
28994
|
-
_useState10 = _slicedToArray(_useState9, 2),
|
|
28995
|
-
Choosenindex = _useState10[0],
|
|
28996
|
-
setChoosenindex = _useState10[1];
|
|
28342
|
+
var _useState3 = useState([]),
|
|
28343
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
28344
|
+
logoarrayofobjects = _useState4[0],
|
|
28345
|
+
setlogoarrayofobjects = _useState4[1];
|
|
28997
28346
|
useEffect(function () {
|
|
28998
28347
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
28999
28348
|
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
@@ -29002,28 +28351,6 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
29002
28351
|
}
|
|
29003
28352
|
}
|
|
29004
28353
|
}, [templateproperties_context]);
|
|
29005
|
-
useEffect(function () {
|
|
29006
|
-
var _authdetailsContext$i;
|
|
29007
|
-
var temppcollarray = _toConsumableArray(pcollarray);
|
|
29008
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instcategories) === null || _authdetailsContext$i === void 0 || _authdetailsContext$i.forEach(function (arrayItem) {
|
|
29009
|
-
var _arrayItem$parentcoll;
|
|
29010
|
-
arrayItem === null || arrayItem === void 0 || (_arrayItem$parentcoll = arrayItem.parentcolletions) === null || _arrayItem$parentcoll === void 0 || _arrayItem$parentcoll.forEach(function (item) {
|
|
29011
|
-
temppcollarray.push(item);
|
|
29012
|
-
});
|
|
29013
|
-
});
|
|
29014
|
-
setpcollarray(_toConsumableArray(temppcollarray));
|
|
29015
|
-
}, [authdetailsContext]);
|
|
29016
|
-
useEffect(function () {
|
|
29017
|
-
var _authdetailsContext$i2;
|
|
29018
|
-
var temppcollarray = _toConsumableArray(pcollarray);
|
|
29019
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcategories) === null || _authdetailsContext$i2 === void 0 || _authdetailsContext$i2.forEach(function (arrayItem) {
|
|
29020
|
-
var _arrayItem$parentcoll2;
|
|
29021
|
-
arrayItem === null || arrayItem === void 0 || (_arrayItem$parentcoll2 = arrayItem.parentcolletions) === null || _arrayItem$parentcoll2 === void 0 || _arrayItem$parentcoll2.forEach(function (item) {
|
|
29022
|
-
temppcollarray.push(item);
|
|
29023
|
-
});
|
|
29024
|
-
});
|
|
29025
|
-
setpcollarray(_toConsumableArray(temppcollarray));
|
|
29026
|
-
}, [authdetailsContext]);
|
|
29027
28354
|
var header_cssstyles = {
|
|
29028
28355
|
header_outercontainer: css({
|
|
29029
28356
|
position: sectionproperties.headerstyles_position,
|
|
@@ -29254,151 +28581,8 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
29254
28581
|
':hover': {
|
|
29255
28582
|
color: sectionproperties.upperheadercoloronhover
|
|
29256
28583
|
}
|
|
29257
|
-
}),
|
|
29258
|
-
categorybtn: css({
|
|
29259
|
-
background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
|
|
29260
|
-
width: sectionproperties.generalbtn_width + 'px',
|
|
29261
|
-
maxWidth: '100%',
|
|
29262
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
29263
|
-
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
29264
|
-
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
29265
|
-
color: sectionproperties.generalbtn_textColor,
|
|
29266
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
29267
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
29268
|
-
// background: '#003b42',
|
|
29269
|
-
// width: '100%',
|
|
29270
|
-
// height: 40,
|
|
29271
|
-
// borderRadius: 10,
|
|
29272
|
-
// color: 'white',
|
|
29273
|
-
// fontSize: 14,
|
|
29274
|
-
transition: '.3s',
|
|
29275
|
-
':hover': {
|
|
29276
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
29277
|
-
backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover
|
|
29278
|
-
// color: '#fff',
|
|
29279
|
-
// backgroundColor: '#de5511',
|
|
29280
|
-
}
|
|
29281
|
-
}),
|
|
29282
|
-
categoryname: css(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
29283
|
-
color: sectionproperties.subheader_categorytitle_fontColor,
|
|
29284
|
-
fontSize: sectionproperties.subheader_categorytitle_fontSize + 'px',
|
|
29285
|
-
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
29286
|
-
fontWeight: sectionproperties.subheader_categorytitle_textfontweight
|
|
29287
|
-
}, "color", '#003B42'), "fontSize", 14), "fontWeight", 500), "transition", '.3s'), ':hover', _defineProperty({
|
|
29288
|
-
color: sectionproperties.subheader_categorytitle_coloronhover
|
|
29289
|
-
}, "color", '#de5511'))),
|
|
29290
|
-
parentcollection: css(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
29291
|
-
color: sectionproperties.subheader_collectiontitle_fontColor,
|
|
29292
|
-
fontSize: sectionproperties.subheader_collectiontitle_fontSize + 'px',
|
|
29293
|
-
textTransform: sectionproperties.subheader_collectiontitle_textTransform,
|
|
29294
|
-
fontWeight: sectionproperties.subheader_collectiontitle_textfontweight,
|
|
29295
|
-
transition: '.3s'
|
|
29296
|
-
}, "color", '#003B42'), "fontSize", 14), "fontWeight", 500), ':hover', _defineProperty({
|
|
29297
|
-
color: sectionproperties.subheader_collectiontitle_coloronhover
|
|
29298
|
-
}, "color", '#de5511'))),
|
|
29299
|
-
collectionName: css({
|
|
29300
|
-
color: sectionproperties.collectionsectiontextcolor,
|
|
29301
|
-
fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
|
|
29302
|
-
textTransform: sectionproperties.collectionsectiontexttransform,
|
|
29303
|
-
fontWeight: sectionproperties.collectionsectiontextfontweight,
|
|
29304
|
-
transition: '.3s',
|
|
29305
|
-
// color: '#003B42',
|
|
29306
|
-
// fontSize: 14,
|
|
29307
|
-
// fontWeight: 400,
|
|
29308
|
-
':hover': {
|
|
29309
|
-
color: sectionproperties.collectionsectiontextcoloronhover
|
|
29310
|
-
// color: '#de5511',
|
|
29311
|
-
}
|
|
29312
28584
|
})
|
|
29313
28585
|
};
|
|
29314
|
-
var ButtonDropdown = function ButtonDropdown(item, index, fetchedarray) {
|
|
29315
|
-
var _fetchedarray$Choosen, _fetchedarray$Choosen2, _pcollarray$Choosenin, _pcollarray$Choosenin2;
|
|
29316
|
-
var parentclassname = '';
|
|
29317
|
-
if (sectionproperties.fetchparenttype == 'Categories') {
|
|
29318
|
-
parentclassname = header_cssstyles.categoryname;
|
|
29319
|
-
} else if (sectionproperties.fetchparenttype == 'Parent Collections') {
|
|
29320
|
-
parentclassname = header_cssstyles.parentcollection;
|
|
29321
|
-
} else {
|
|
29322
|
-
parentclassname = header_cssstyles.collectionName;
|
|
29323
|
-
}
|
|
29324
|
-
return /*#__PURE__*/React.createElement("li", {
|
|
29325
|
-
"class": "dropdown d-flex align-items-center w-100"
|
|
29326
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
29327
|
-
"class": parentclassname + ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer ',
|
|
29328
|
-
onMouseEnter: function onMouseEnter() {
|
|
29329
|
-
setChoosenindex(index);
|
|
29330
|
-
}
|
|
29331
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
29332
|
-
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '
|
|
29333
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
29334
|
-
"class": ' m-0 p-0 wordbreak wordbreak1 ',
|
|
29335
|
-
onClick: function onClick() {
|
|
29336
|
-
if (sectionproperties.fetchparenttype == 'Categories') {
|
|
29337
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
29338
|
-
} else if (sectionproperties.fetchparenttype == 'Parent Collections') {
|
|
29339
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
|
|
29340
|
-
} else {
|
|
29341
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
29342
|
-
}
|
|
29343
|
-
}
|
|
29344
|
-
}, langdetect == 'en' ? item.title_en : item.title_ar)), sectionproperties.fetchparenttype != 'Collections' && /*#__PURE__*/React.createElement("div", {
|
|
29345
|
-
className: 'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '
|
|
29346
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
29347
|
-
className: ' p-0 h-100 allcentered '
|
|
29348
|
-
}, langdetect == 'en' ? /*#__PURE__*/React.createElement(BsChevronRight, {
|
|
29349
|
-
size: sectionproperties.collectionsectioniconfontsize
|
|
29350
|
-
}) : /*#__PURE__*/React.createElement(BsChevronLeft, {
|
|
29351
|
-
size: sectionproperties.collectionsectioniconfontsize
|
|
29352
|
-
})))), sectionproperties.fetchparenttype == 'Categories' && ((_fetchedarray$Choosen = fetchedarray[Choosenindex]) === null || _fetchedarray$Choosen === void 0 || (_fetchedarray$Choosen = _fetchedarray$Choosen.parentcolletions) === null || _fetchedarray$Choosen === void 0 ? void 0 : _fetchedarray$Choosen.length) != 0 && /*#__PURE__*/React.createElement("ul", null, (_fetchedarray$Choosen2 = fetchedarray[Choosenindex]) === null || _fetchedarray$Choosen2 === void 0 || (_fetchedarray$Choosen2 = _fetchedarray$Choosen2.parentcolletions) === null || _fetchedarray$Choosen2 === void 0 ? void 0 : _fetchedarray$Choosen2.map(function (item, index) {
|
|
29353
|
-
var _item$collections;
|
|
29354
|
-
return /*#__PURE__*/React.createElement("li", {
|
|
29355
|
-
"class": "dropdown d-flex align-items-center w-100"
|
|
29356
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
29357
|
-
"class": header_cssstyles.parentcollection + ' w-100 dropdownInnerContainer cursor-pointer ',
|
|
29358
|
-
onClick: function onClick() {
|
|
29359
|
-
if (sectionproperties.fetchparenttype == 'Categories') {
|
|
29360
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
|
|
29361
|
-
} else {
|
|
29362
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
29363
|
-
}
|
|
29364
|
-
}
|
|
29365
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
29366
|
-
"class": "row m-0 w-100"
|
|
29367
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
29368
|
-
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '
|
|
29369
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
29370
|
-
"class": ' m-0 p-0 wordbreak wordbreak1 '
|
|
29371
|
-
}, langdetect == 'en' ? item.title_en : item.title_ar)), (item === null || item === void 0 ? void 0 : item.collections.length) != 0 && /*#__PURE__*/React.createElement("div", {
|
|
29372
|
-
className: 'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '
|
|
29373
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
29374
|
-
className: ' p-0 h-100 allcentered '
|
|
29375
|
-
}, langdetect == 'en' ? /*#__PURE__*/React.createElement(BsChevronRight, {
|
|
29376
|
-
size: sectionproperties.collectionsectioniconfontsize
|
|
29377
|
-
}) : /*#__PURE__*/React.createElement(BsChevronLeft, {
|
|
29378
|
-
size: sectionproperties.collectionsectioniconfontsize
|
|
29379
|
-
}))))), (item === null || item === void 0 ? void 0 : item.collections.length) != 0 && /*#__PURE__*/React.createElement("ul", null, item === null || item === void 0 || (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (item, index) {
|
|
29380
|
-
return /*#__PURE__*/React.createElement("li", {
|
|
29381
|
-
"class": header_cssstyles.collectionName + ' w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer ',
|
|
29382
|
-
onClick: function onClick() {
|
|
29383
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
29384
|
-
}
|
|
29385
|
-
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
29386
|
-
})));
|
|
29387
|
-
})), sectionproperties.fetchparenttype == 'Parent Collections' && ((_pcollarray$Choosenin = pcollarray[Choosenindex]) === null || _pcollarray$Choosenin === void 0 ? void 0 : _pcollarray$Choosenin.collections.length) != 0 && /*#__PURE__*/React.createElement("ul", null, (_pcollarray$Choosenin2 = pcollarray[Choosenindex]) === null || _pcollarray$Choosenin2 === void 0 || (_pcollarray$Choosenin2 = _pcollarray$Choosenin2.collections) === null || _pcollarray$Choosenin2 === void 0 ? void 0 : _pcollarray$Choosenin2.map(function (item, index) {
|
|
29388
|
-
return /*#__PURE__*/React.createElement("li", {
|
|
29389
|
-
"class": "dropdown d-flex align-items-center w-100"
|
|
29390
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
29391
|
-
"class": header_cssstyles.collectionName + ' w-100 dropdownInnerContainer cursor-pointer ',
|
|
29392
|
-
onClick: function onClick() {
|
|
29393
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
29394
|
-
}
|
|
29395
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
29396
|
-
className: ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '
|
|
29397
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
29398
|
-
"class": ' m-0 p-0 wordbreak wordbreak1 '
|
|
29399
|
-
}, langdetect == 'en' ? item.title_en : item.title_ar))));
|
|
29400
|
-
})));
|
|
29401
|
-
};
|
|
29402
28586
|
return /*#__PURE__*/React.createElement("div", {
|
|
29403
28587
|
"class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
|
|
29404
28588
|
style: {
|
|
@@ -29424,7 +28608,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
29424
28608
|
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
29425
28609
|
}
|
|
29426
28610
|
}))), /*#__PURE__*/React.createElement("a", {
|
|
29427
|
-
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28611
|
+
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
|
|
29428
28612
|
target: '_blank',
|
|
29429
28613
|
style: {
|
|
29430
28614
|
position: 'fixed',
|
|
@@ -29472,30 +28656,30 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
29472
28656
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
29473
28657
|
"class": header_cssstyles.fbbtn + ' cursor-pointer ml-3 mr-3 ',
|
|
29474
28658
|
onClick: function onClick() {
|
|
29475
|
-
var _authdetailsContext$
|
|
29476
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29477
|
-
var _authdetailsContext$
|
|
29478
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28659
|
+
var _authdetailsContext$i2;
|
|
28660
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null) {
|
|
28661
|
+
var _authdetailsContext$i3;
|
|
28662
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink, '_blank');
|
|
29479
28663
|
}
|
|
29480
28664
|
},
|
|
29481
28665
|
size: sectionproperties.facebkbtnniconfontsize
|
|
29482
28666
|
}), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement(AiOutlineInstagram, {
|
|
29483
28667
|
"class": header_cssstyles.instagrambtn + ' cursor-pointer ml-3 mr-3 ',
|
|
29484
28668
|
onClick: function onClick() {
|
|
29485
|
-
var _authdetailsContext$
|
|
29486
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29487
|
-
var _authdetailsContext$
|
|
29488
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28669
|
+
var _authdetailsContext$i4;
|
|
28670
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink) != null) {
|
|
28671
|
+
var _authdetailsContext$i5;
|
|
28672
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink, '_blank');
|
|
29489
28673
|
}
|
|
29490
28674
|
},
|
|
29491
28675
|
size: sectionproperties.instgrambtniconfontsize
|
|
29492
28676
|
}), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
29493
28677
|
"class": header_cssstyles.whatsapp_btn + ' cursor-pointer ml-3 mr-3 ',
|
|
29494
28678
|
onClick: function onClick() {
|
|
29495
|
-
var _authdetailsContext$
|
|
29496
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29497
|
-
var _authdetailsContext$
|
|
29498
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28679
|
+
var _authdetailsContext$i6;
|
|
28680
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null) {
|
|
28681
|
+
var _authdetailsContext$i7;
|
|
28682
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber), '_blank');
|
|
29499
28683
|
}
|
|
29500
28684
|
},
|
|
29501
28685
|
size: sectionproperties.youtubebtniconfontsize
|
|
@@ -29566,68 +28750,12 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
29566
28750
|
}), /*#__PURE__*/React.createElement("span", {
|
|
29567
28751
|
"class": 'ml-2 mr-2'
|
|
29568
28752
|
}, lang.english)))))))))), /*#__PURE__*/React.createElement("div", {
|
|
29569
|
-
"class": "".concat(headerstyles$a.header_innercontainer, " ").concat(header_cssstyles.header_innercontainer) + ' row m-0 w-100 d-flex align-items-center
|
|
28753
|
+
"class": "".concat(headerstyles$a.header_innercontainer, " ").concat(header_cssstyles.header_innercontainer) + ' row m-0 w-100 d-flex align-items-center ',
|
|
29570
28754
|
style: {
|
|
29571
28755
|
zIndex: 2
|
|
29572
28756
|
}
|
|
29573
28757
|
}, /*#__PURE__*/React.createElement("div", {
|
|
29574
28758
|
"class": "col-lg-5 p-0 d-flex align-items-center justify-content-start h-100"
|
|
29575
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
29576
|
-
"class": "row m-0 w-100"
|
|
29577
|
-
}, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
29578
|
-
"class": 'col-lg-3 col-xl-4 d-flex align-items-center justify-content-start ',
|
|
29579
|
-
onClick: function onClick() {
|
|
29580
|
-
setdropdownselect(!dropdownselect);
|
|
29581
|
-
}
|
|
29582
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
29583
|
-
"class": "".concat(header_cssstyles.categorybtn) + ' categoriesdropdown d-flex w-100 align-items-center pl-2 pr-2 ',
|
|
29584
|
-
style: {
|
|
29585
|
-
zIndex: 100000
|
|
29586
|
-
}
|
|
29587
|
-
}, /*#__PURE__*/React.createElement("li", {
|
|
29588
|
-
"class": langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'
|
|
29589
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
29590
|
-
"class": ' m-0 allcentered cursor-pointer px-2 p-lg-0 '
|
|
29591
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
29592
|
-
"class": 'col-lg-10 d-flex justify-content-start m-0 p-0'
|
|
29593
|
-
}, langdetect == 'en' ? 'Products' : 'المنتجات'), /*#__PURE__*/React.createElement("div", {
|
|
29594
|
-
"class": "col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end d-xl-flex d-lg-none"
|
|
29595
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
29596
|
-
"class": "h-100 d-flex align-items-center justify-content-end"
|
|
29597
|
-
}, dropdownselect ? /*#__PURE__*/React.createElement(MdKeyboardArrowUp, {
|
|
29598
|
-
size: 25
|
|
29599
|
-
}) : /*#__PURE__*/React.createElement(MdKeyboardArrowDown, {
|
|
29600
|
-
size: 25
|
|
29601
|
-
})))), /*#__PURE__*/React.createElement("ul", {
|
|
29602
|
-
"class": "mt-2",
|
|
29603
|
-
sytle: {
|
|
29604
|
-
width: '200px'
|
|
29605
|
-
}
|
|
29606
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.instcategories) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.map(function (item, index) {
|
|
29607
|
-
var _authdetailsContext$i11;
|
|
29608
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instcategories;
|
|
29609
|
-
if (item.isshowntocustomers == 1) {
|
|
29610
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
29611
|
-
"class": "w-100"
|
|
29612
|
-
}, ButtonDropdown(item, index, fetchedarray));
|
|
29613
|
-
}
|
|
29614
|
-
})), sectionproperties.fetchparenttype == 'Parent Collections' && (pcollarray === null || pcollarray === void 0 ? void 0 : pcollarray.map(function (item, index) {
|
|
29615
|
-
var fetchedarray = pcollarray;
|
|
29616
|
-
if (item.isshowntocustomers == 1) {
|
|
29617
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
29618
|
-
"class": "w-100"
|
|
29619
|
-
}, ButtonDropdown(item, index, fetchedarray));
|
|
29620
|
-
}
|
|
29621
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 || (_authdetailsContext$i12 = _authdetailsContext$i12.instcollections) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.map(function (item, index) {
|
|
29622
|
-
var _authdetailsContext$i13;
|
|
29623
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instcollections;
|
|
29624
|
-
if (item.isshowntocustomers == 1) {
|
|
29625
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
29626
|
-
"class": "w-100"
|
|
29627
|
-
}, ButtonDropdown(item, index, fetchedarray));
|
|
29628
|
-
}
|
|
29629
|
-
})))))), /*#__PURE__*/React.createElement("div", {
|
|
29630
|
-
"class": sectionproperties.generalbtn_show == 'Show' ? 'col-xl-8 col-lg-9' : 'col-12'
|
|
29631
28759
|
}, /*#__PURE__*/React.createElement("div", {
|
|
29632
28760
|
"class": ' scrollhorizontal w-100 align-items-center h-100 ',
|
|
29633
28761
|
style: {
|
|
@@ -29655,7 +28783,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
29655
28783
|
"class": "".concat(headerstyles$a.navbar_item_text, " ").concat(header_cssstyles.navbar_item_text)
|
|
29656
28784
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar)));
|
|
29657
28785
|
}
|
|
29658
|
-
}))
|
|
28786
|
+
})), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React.createElement("div", {
|
|
29659
28787
|
"class": "row m-0 w-100 p-0"
|
|
29660
28788
|
}, /*#__PURE__*/React.createElement(Subheader, {
|
|
29661
28789
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -29934,7 +29062,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
29934
29062
|
}
|
|
29935
29063
|
}), /*#__PURE__*/React.createElement("span", {
|
|
29936
29064
|
"class": 'ml-2 mr-2'
|
|
29937
|
-
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29065
|
+
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.instcurrencies) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.length) > 1 && /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
29938
29066
|
"class": ' d-flex align-items-center justify-content-center '
|
|
29939
29067
|
}, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
29940
29068
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
@@ -29944,8 +29072,8 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
29944
29072
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
29945
29073
|
}, /*#__PURE__*/React.createElement("p", {
|
|
29946
29074
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
29947
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29948
|
-
var _authdetailsContext$
|
|
29075
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instcurrencies) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (item, index) {
|
|
29076
|
+
var _authdetailsContext$i10;
|
|
29949
29077
|
return /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
29950
29078
|
onClick: function onClick() {
|
|
29951
29079
|
setcurrencyfunccontext(item);
|
|
@@ -29963,7 +29091,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
29963
29091
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
29964
29092
|
textTransform: sectionproperties.dropdown_texttransform
|
|
29965
29093
|
}
|
|
29966
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29094
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.instcurrencies) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.length) - 1 && /*#__PURE__*/React.createElement("div", {
|
|
29967
29095
|
"class": "col-lg-12 p-0"
|
|
29968
29096
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
29969
29097
|
"class": "m-0"
|
|
@@ -30304,31 +29432,6 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
30304
29432
|
templateproperties_contextprops: templateproperties_context,
|
|
30305
29433
|
actions: actions
|
|
30306
29434
|
}), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
30307
|
-
style: {
|
|
30308
|
-
position: 'fixed',
|
|
30309
|
-
bottom: 15,
|
|
30310
|
-
right: 15,
|
|
30311
|
-
zIndex: 2000,
|
|
30312
|
-
transition: 'all 0.3s ease-out',
|
|
30313
|
-
width: '100%',
|
|
30314
|
-
display: sectionproperties.showfloatingbtn == 'Show when logged in' ? 'none' : 'flex'
|
|
30315
|
-
},
|
|
30316
|
-
"class": "text-end"
|
|
30317
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
30318
|
-
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
30319
|
-
style: {},
|
|
30320
|
-
onClick: function onClick() {
|
|
30321
|
-
if (sectionproperties.btnlinktype == 'Website Link') {
|
|
30322
|
-
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
30323
|
-
} else {
|
|
30324
|
-
window.open(sectionproperties.floatingbtnlink, '_blank');
|
|
30325
|
-
|
|
30326
|
-
// routingcountext(sectionproperties.floatingbtnlink, true, '');
|
|
30327
|
-
}
|
|
30328
|
-
}
|
|
30329
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
30330
|
-
"class": "m-0 p-0"
|
|
30331
|
-
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfloatingbtn == 'Show when logged in' && authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
30332
29435
|
style: {
|
|
30333
29436
|
position: 'fixed',
|
|
30334
29437
|
bottom: 15,
|
|
@@ -30342,13 +29445,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
30342
29445
|
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
30343
29446
|
style: {},
|
|
30344
29447
|
onClick: function onClick() {
|
|
30345
|
-
|
|
30346
|
-
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
30347
|
-
} else {
|
|
30348
|
-
window.open(sectionproperties.floatingbtnlink, '_blank');
|
|
30349
|
-
|
|
30350
|
-
// routingcountext(sectionproperties.floatingbtnlink, true, '');
|
|
30351
|
-
}
|
|
29448
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
30352
29449
|
}
|
|
30353
29450
|
}, /*#__PURE__*/React.createElement("p", {
|
|
30354
29451
|
"class": "m-0 p-0"
|
|
@@ -30517,7 +29614,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
30517
29614
|
size: sectionproperties.cartBtn_iconFontSize
|
|
30518
29615
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
30519
29616
|
size: sectionproperties.cartBtn_iconFontSize
|
|
30520
|
-
}))), sectionproperties.userbtnstyle == 'Style 2' && !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
29617
|
+
}))), sectionproperties.userbtnstyle == 'Style 2' && !authdetailsContext.loggedin && sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
30521
29618
|
"class": "".concat(header_cssstyles.user_btn) + ' allcentered ',
|
|
30522
29619
|
onClick: function onClick() {
|
|
30523
29620
|
routingcountext(StaticPagesLinksContext.Login);
|
|
@@ -30529,7 +29626,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
30529
29626
|
fontWeight: sectionproperties.userBtnTextfontweight,
|
|
30530
29627
|
fontSize: sectionproperties.userbtn_logintextFontSize + 'px'
|
|
30531
29628
|
}
|
|
30532
|
-
}, langdetect == 'en' ? 'Login' : 'تسجيل الدخول')), sectionproperties.userbtnstyle == 'Style 2' && authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("div", {
|
|
29629
|
+
}, langdetect == 'en' ? 'Login' : 'تسجيل الدخول')), sectionproperties.userbtnstyle == 'Style 2' && authdetailsContext.loggedin && sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("div", {
|
|
30533
29630
|
className: header_cssstyles.userBtnLoggedinContainer + ' allcentered ',
|
|
30534
29631
|
sytle: {
|
|
30535
29632
|
position: 'relative'
|
|
@@ -30608,7 +29705,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
30608
29705
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
30609
29706
|
}, /*#__PURE__*/React.createElement(BiLogOutCircle, {
|
|
30610
29707
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
30611
|
-
}), lang.logout))))), sectionproperties.userbtnstyle == 'Style 1' && /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
29708
|
+
}), lang.logout))))), sectionproperties.userbtnstyle == 'Style 1' && sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
30612
29709
|
"class": langdetect == 'en' ? " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ml-2 ' : " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center mr-2 ',
|
|
30613
29710
|
sytle: {
|
|
30614
29711
|
position: 'relative'
|
|
@@ -31376,23 +30473,6 @@ var Header8 = function Header8(props) {
|
|
|
31376
30473
|
':hover': {
|
|
31377
30474
|
color: sectionproperties.collectionsectiontextcoloronhover
|
|
31378
30475
|
}
|
|
31379
|
-
}),
|
|
31380
|
-
floatingbtn: css({
|
|
31381
|
-
width: sectionproperties.floatingbtnwidth + '%',
|
|
31382
|
-
height: sectionproperties.floatingbtnheight + 'px',
|
|
31383
|
-
background: sectionproperties.floatingbtnbg,
|
|
31384
|
-
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
31385
|
-
color: sectionproperties.floatingbtncolor,
|
|
31386
|
-
borderRadius: 10,
|
|
31387
|
-
':hover': {
|
|
31388
|
-
color: sectionproperties.floatingbtncolorhover,
|
|
31389
|
-
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
31390
|
-
transitions: '.3s',
|
|
31391
|
-
cursor: 'pointer'
|
|
31392
|
-
},
|
|
31393
|
-
'@media (max-width: 800px)': {
|
|
31394
|
-
width: '50%'
|
|
31395
|
-
}
|
|
31396
30476
|
})
|
|
31397
30477
|
};
|
|
31398
30478
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -31407,26 +30487,7 @@ var Header8 = function Header8(props) {
|
|
|
31407
30487
|
sectionpropertiesprops: sectionproperties,
|
|
31408
30488
|
templateproperties_contextprops: templateproperties_context,
|
|
31409
30489
|
actions: actions
|
|
31410
|
-
})), sectionproperties.
|
|
31411
|
-
style: {
|
|
31412
|
-
position: 'fixed',
|
|
31413
|
-
bottom: 15,
|
|
31414
|
-
right: 15,
|
|
31415
|
-
zIndex: 2000,
|
|
31416
|
-
transition: 'all 0.3s ease-out',
|
|
31417
|
-
width: '100%',
|
|
31418
|
-
display: sectionproperties.showfloatingbtn == 'Show when logged in' ? 'none' : 'flex'
|
|
31419
|
-
},
|
|
31420
|
-
"class": "text-end"
|
|
31421
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
31422
|
-
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
31423
|
-
style: {},
|
|
31424
|
-
onClick: function onClick() {
|
|
31425
|
-
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
31426
|
-
}
|
|
31427
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
31428
|
-
"class": "m-0 p-0"
|
|
31429
|
-
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfloatingcallbtn == 'Show' && /*#__PURE__*/React.createElement("a", {
|
|
30490
|
+
})), sectionproperties.showfloatingcallbtn == 'Show' && /*#__PURE__*/React.createElement("a", {
|
|
31430
30491
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
31431
30492
|
target: '_self',
|
|
31432
30493
|
style: {
|
|
@@ -34609,11 +33670,11 @@ var Modernheader = function Modernheader(props) {
|
|
|
34609
33670
|
}, /*#__PURE__*/React.createElement("div", {
|
|
34610
33671
|
"class": "row m-0 w-100"
|
|
34611
33672
|
}, /*#__PURE__*/React.createElement("div", {
|
|
34612
|
-
"class": "".concat(header_cssstyles.top_bar) + ' row m-0 w-100 d-flex align-items-center px-1025-1 '
|
|
33673
|
+
"class": "".concat(header_cssstyles.top_bar) + ' row m-0 w-100 d-flex align-items-center justify-content-center px-1025-1 '
|
|
34613
33674
|
}, /*#__PURE__*/React.createElement("div", {
|
|
34614
|
-
"class": "col-lg-4 col-md-6 col-sm-12 d-
|
|
33675
|
+
"class": "col-lg-4 col-md-6 col-sm-12 d-none align-items-center justify-content-start p-0",
|
|
34615
33676
|
style: {}
|
|
34616
|
-
}, sectionproperties.searchbartype == 'Full Width' && /*#__PURE__*/React.createElement("div", {
|
|
33677
|
+
}, sectionproperties.searchbartype == 'Full Width' && sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
34617
33678
|
"class": header_cssstyles.searchbarcont
|
|
34618
33679
|
}, /*#__PURE__*/React.createElement("input", {
|
|
34619
33680
|
type: "text",
|
|
@@ -34632,7 +33693,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
34632
33693
|
sectionpropertiesprops: sectionproperties,
|
|
34633
33694
|
srcfromprops: 'fullheader',
|
|
34634
33695
|
actions: actions
|
|
34635
|
-
})), sectionproperties.searchbartype == 'Icon' && /*#__PURE__*/React.createElement("div", {
|
|
33696
|
+
})), sectionproperties.searchbartype == 'Icon' && sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
34636
33697
|
"class": header_cssstyles.searchbarcont + ' allcentered ',
|
|
34637
33698
|
style: {
|
|
34638
33699
|
width: sectionproperties.searchbaricon_width + 'px',
|
|
@@ -34654,22 +33715,12 @@ var Modernheader = function Modernheader(props) {
|
|
|
34654
33715
|
}, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
34655
33716
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
34656
33717
|
}, /*#__PURE__*/React.createElement("p", {
|
|
34657
|
-
"class": "m-0 p-0 mr-2 ml-2"
|
|
34658
|
-
|
|
34659
|
-
color: sectionproperties.searchbaricon_color
|
|
34660
|
-
}
|
|
34661
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, {
|
|
34662
|
-
color: sectionproperties.searchbaricon_color
|
|
34663
|
-
})), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
33718
|
+
"class": "m-0 p-0 mr-2 ml-2"
|
|
33719
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
34664
33720
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
34665
33721
|
}, /*#__PURE__*/React.createElement("p", {
|
|
34666
|
-
"class": "m-0 p-0 ml-2 mr-2"
|
|
34667
|
-
|
|
34668
|
-
color: sectionproperties.searchbaricon_color
|
|
34669
|
-
}
|
|
34670
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, {
|
|
34671
|
-
color: sectionproperties.searchbaricon_color
|
|
34672
|
-
})))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
|
|
33722
|
+
"class": "m-0 p-0 ml-2 mr-2"
|
|
33723
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
|
|
34673
33724
|
var _authdetailsContext$i4;
|
|
34674
33725
|
return /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
34675
33726
|
onClick: function onClick() {
|
|
@@ -34686,8 +33737,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
34686
33737
|
style: {
|
|
34687
33738
|
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
34688
33739
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
34689
|
-
textTransform: sectionproperties.dropdown_texttransform
|
|
34690
|
-
color: sectionproperties.searchbaricon_color
|
|
33740
|
+
textTransform: sectionproperties.dropdown_texttransform
|
|
34691
33741
|
}
|
|
34692
33742
|
}, /*#__PURE__*/React.createElement("span", {
|
|
34693
33743
|
"class": 'ml-2 mr-2'
|
|
@@ -34697,7 +33747,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
34697
33747
|
"class": "m-0"
|
|
34698
33748
|
}))));
|
|
34699
33749
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
34700
|
-
"class": "col-lg-
|
|
33750
|
+
"class": "col-lg-6 col-md-6 col-sm-12 allcentered p-0"
|
|
34701
33751
|
}, /*#__PURE__*/React.createElement("div", {
|
|
34702
33752
|
"class": "".concat(header_cssstyles.header_logo) + ' allcentered ',
|
|
34703
33753
|
style: {
|
|
@@ -34716,8 +33766,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
34716
33766
|
objectFit: 'contain'
|
|
34717
33767
|
}
|
|
34718
33768
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
34719
|
-
"class": "col-lg-4 col-md-6 col-sm-12 p-0 d-
|
|
34720
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
33769
|
+
"class": "col-lg-4 col-md-6 col-sm-12 p-0 d-none align-items-center justify-content-end"
|
|
33770
|
+
}, sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
34721
33771
|
style: {
|
|
34722
33772
|
marginRight: langdetect == 'en' ? '30px' : 0,
|
|
34723
33773
|
marginLeft: langdetect == 'en' ? 0 : '30px'
|
|
@@ -34859,7 +33909,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
34859
33909
|
top: sectionproperties.wishlistbadgetop + 'px',
|
|
34860
33910
|
right: sectionproperties.wishlistbadgeright + 'px'
|
|
34861
33911
|
}
|
|
34862
|
-
}, /*#__PURE__*/React.createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), /*#__PURE__*/React.createElement("div", {
|
|
33912
|
+
}, /*#__PURE__*/React.createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
34863
33913
|
"class": "".concat(headerstyles$g.header_menu, " ").concat(header_cssstyles.cart_btn) + ' cursor-pointer allcentered ',
|
|
34864
33914
|
onClick: function onClick() {
|
|
34865
33915
|
setsidecartnavshowcontext(true);
|
|
@@ -34900,7 +33950,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
34900
33950
|
top: sectionproperties.cartbadgetop + 'px',
|
|
34901
33951
|
right: sectionproperties.cartbadgeright + 'px'
|
|
34902
33952
|
}
|
|
34903
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), /*#__PURE__*/React.createElement("div", {
|
|
33953
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
34904
33954
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
34905
33955
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
34906
33956
|
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
@@ -41585,16 +40635,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
41585
40635
|
}
|
|
41586
40636
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
41587
40637
|
"class": "col-lg-12 p-0"
|
|
41588
|
-
},
|
|
41589
|
-
sectionpropertiesprops: sectionproperties,
|
|
41590
|
-
actions: actions
|
|
41591
|
-
}), sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && /*#__PURE__*/React.createElement(Headerresponsive, {
|
|
41592
|
-
sectionpropertiesprops: sectionproperties,
|
|
41593
|
-
actions: actions
|
|
41594
|
-
}), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React.createElement(HeaderresponsiveStyle2, {
|
|
41595
|
-
sectionpropertiesprops: sectionproperties,
|
|
41596
|
-
actions: actions
|
|
41597
|
-
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React.createElement(HeaderresponsiveStyle2, {
|
|
40638
|
+
}, /*#__PURE__*/React.createElement(Headerresponsive, {
|
|
41598
40639
|
sectionpropertiesprops: sectionproperties,
|
|
41599
40640
|
actions: actions
|
|
41600
40641
|
})));
|
|
@@ -42416,19 +41457,10 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
42416
41457
|
subheadercontentpositionprops: 'center',
|
|
42417
41458
|
numofcols: '6'
|
|
42418
41459
|
}
|
|
42419
|
-
})))),
|
|
42420
|
-
sectionpropertiesprops: sectionproperties,
|
|
42421
|
-
actions: actions
|
|
42422
|
-
}), sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && /*#__PURE__*/React.createElement(Headerresponsive, {
|
|
42423
|
-
sectionpropertiesprops: sectionproperties,
|
|
42424
|
-
actions: actions
|
|
42425
|
-
}), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React.createElement(HeaderresponsiveStyle2, {
|
|
42426
|
-
sectionpropertiesprops: sectionproperties,
|
|
42427
|
-
actions: actions
|
|
42428
|
-
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React.createElement(HeaderresponsiveStyle2, {
|
|
41460
|
+
})))), /*#__PURE__*/React.createElement(Headerresponsive, {
|
|
42429
41461
|
sectionpropertiesprops: sectionproperties,
|
|
42430
41462
|
actions: actions
|
|
42431
|
-
})
|
|
41463
|
+
}));
|
|
42432
41464
|
};
|
|
42433
41465
|
|
|
42434
41466
|
function ownKeys$1E(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -43789,7 +42821,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
43789
42821
|
function ownKeys$1C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
43790
42822
|
function _objectSpread$1C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43791
42823
|
var Footer1 = function Footer1(props) {
|
|
43792
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2,
|
|
42824
|
+
var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _bgimagearrayofobjs$3, _bgimagearrayofobjs$4, _logoarrayofobjects$3, _logoarrayofobjects$4, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i8, _authdetailsContext$i14, _authdetailsContext$i15, _bgimagearrayofobjs$5, _bgimagearrayofobjs$6, _logoarrayofobjects$5, _logoarrayofobjects$6, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i24;
|
|
43793
42825
|
var _useState = useState(''),
|
|
43794
42826
|
_useState2 = _slicedToArray(_useState, 2),
|
|
43795
42827
|
sectionproperties = _useState2[0],
|
|
@@ -43808,6 +42840,14 @@ var Footer1 = function Footer1(props) {
|
|
|
43808
42840
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
43809
42841
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
43810
42842
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
42843
|
+
// const [newsletter, setnewsletter] = useState('');
|
|
42844
|
+
var _useState5 = useState({
|
|
42845
|
+
min: '',
|
|
42846
|
+
max: ''
|
|
42847
|
+
}),
|
|
42848
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
42849
|
+
pricevalue2 = _useState6[0],
|
|
42850
|
+
setpricevalue2 = _useState6[1];
|
|
43811
42851
|
useEffect(function () {
|
|
43812
42852
|
if (props.srcfrom == 'addsectionform') {
|
|
43813
42853
|
var secpropobj = {};
|
|
@@ -43835,6 +42875,18 @@ var Footer1 = function Footer1(props) {
|
|
|
43835
42875
|
}
|
|
43836
42876
|
}
|
|
43837
42877
|
}, [templateproperties_context]);
|
|
42878
|
+
var _useState7 = useState([]),
|
|
42879
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
42880
|
+
bgimagearrayofobjs = _useState8[0],
|
|
42881
|
+
setbgimagearrayofobjs = _useState8[1];
|
|
42882
|
+
useEffect(function () {
|
|
42883
|
+
if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
|
|
42884
|
+
var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
|
|
42885
|
+
if (Array.isArray(bg1_arrayofobjsparsed)) {
|
|
42886
|
+
setbgimagearrayofobjs(_toConsumableArray(bg1_arrayofobjsparsed));
|
|
42887
|
+
}
|
|
42888
|
+
}
|
|
42889
|
+
}, [sectionproperties]);
|
|
43838
42890
|
var footerStyles = {
|
|
43839
42891
|
footerContainer: css({
|
|
43840
42892
|
width: '100vw',
|
|
@@ -43965,6 +43017,17 @@ var Footer1 = function Footer1(props) {
|
|
|
43965
43017
|
maxWidth: '35%',
|
|
43966
43018
|
height: 'auto'
|
|
43967
43019
|
}
|
|
43020
|
+
}),
|
|
43021
|
+
btnn: css({
|
|
43022
|
+
width: '150px',
|
|
43023
|
+
height: 40,
|
|
43024
|
+
borderRadius: 10,
|
|
43025
|
+
background: '#C2A24D',
|
|
43026
|
+
color: 'white',
|
|
43027
|
+
':hover': {
|
|
43028
|
+
transition: '.3s',
|
|
43029
|
+
background: '#186a81'
|
|
43030
|
+
}
|
|
43968
43031
|
})
|
|
43969
43032
|
};
|
|
43970
43033
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
@@ -43979,8 +43042,8 @@ var Footer1 = function Footer1(props) {
|
|
|
43979
43042
|
};
|
|
43980
43043
|
return /*#__PURE__*/React.createElement("div", {
|
|
43981
43044
|
"class": "row m-0 w-100 d-flex justify-content-center"
|
|
43982
|
-
}, /*#__PURE__*/React.createElement("footer", {
|
|
43983
|
-
"class": "".concat(footerStyles.footerContainer) + '
|
|
43045
|
+
}, sectionproperties.opencollapsible == 'Expanded' && /*#__PURE__*/React.createElement("footer", {
|
|
43046
|
+
"class": "".concat(footerStyles.footerContainer) + ' px-sm-2 py-md-4 p-md-4 '
|
|
43984
43047
|
}, /*#__PURE__*/React.createElement("div", {
|
|
43985
43048
|
"class": "row w-100 m-0 d-flex justify-content-center"
|
|
43986
43049
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -43990,7 +43053,7 @@ var Footer1 = function Footer1(props) {
|
|
|
43990
43053
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
43991
43054
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
43992
43055
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
43993
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
43056
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$ = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$ === void 0 ? void 0 : _bgimagearrayofobjs$.englishlogo : (_bgimagearrayofobjs$2 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$2 === void 0 ? void 0 : _bgimagearrayofobjs$2.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
43994
43057
|
style: {
|
|
43995
43058
|
width: '100%',
|
|
43996
43059
|
height: '100%',
|
|
@@ -44004,7 +43067,7 @@ var Footer1 = function Footer1(props) {
|
|
|
44004
43067
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
44005
43068
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
44006
43069
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
44007
|
-
path:
|
|
43070
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$3 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$3 === void 0 ? void 0 : _bgimagearrayofobjs$3.englishlogo : (_bgimagearrayofobjs$4 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$4 === void 0 ? void 0 : _bgimagearrayofobjs$4.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
|
|
44008
43071
|
style: {
|
|
44009
43072
|
width: '100%',
|
|
44010
43073
|
height: '100%',
|
|
@@ -44140,10 +43203,10 @@ var Footer1 = function Footer1(props) {
|
|
|
44140
43203
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
44141
43204
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
44142
43205
|
onClick: function onClick() {
|
|
44143
|
-
var _authdetailsContext$
|
|
44144
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44145
|
-
var _authdetailsContext$
|
|
44146
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43206
|
+
var _authdetailsContext$i2;
|
|
43207
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null) {
|
|
43208
|
+
var _authdetailsContext$i3;
|
|
43209
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink, '_blank');
|
|
44147
43210
|
}
|
|
44148
43211
|
}
|
|
44149
43212
|
}, /*#__PURE__*/React.createElement(FaFacebook, {
|
|
@@ -44151,10 +43214,10 @@ var Footer1 = function Footer1(props) {
|
|
|
44151
43214
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
44152
43215
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
44153
43216
|
onClick: function onClick() {
|
|
44154
|
-
var _authdetailsContext$
|
|
44155
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44156
|
-
var _authdetailsContext$
|
|
44157
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43217
|
+
var _authdetailsContext$i4;
|
|
43218
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink) != null) {
|
|
43219
|
+
var _authdetailsContext$i5;
|
|
43220
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink, '_blank');
|
|
44158
43221
|
}
|
|
44159
43222
|
}
|
|
44160
43223
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
@@ -44162,14 +43225,25 @@ var Footer1 = function Footer1(props) {
|
|
|
44162
43225
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
44163
43226
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
44164
43227
|
onClick: function onClick() {
|
|
44165
|
-
var _authdetailsContext$
|
|
44166
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
44167
|
-
var _authdetailsContext$
|
|
44168
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43228
|
+
var _authdetailsContext$i6;
|
|
43229
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null) {
|
|
43230
|
+
var _authdetailsContext$i7;
|
|
43231
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber), '_blank');
|
|
44169
43232
|
}
|
|
44170
43233
|
}
|
|
44171
43234
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
44172
43235
|
size: sectionproperties.youtubebtniconfontsize
|
|
43236
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.youtubelink) != null && /*#__PURE__*/React.createElement("div", {
|
|
43237
|
+
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43238
|
+
onClick: function onClick() {
|
|
43239
|
+
var _authdetailsContext$i9;
|
|
43240
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.youtubelink) != null) {
|
|
43241
|
+
var _authdetailsContext$i10;
|
|
43242
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.youtubelink, '_blank');
|
|
43243
|
+
}
|
|
43244
|
+
}
|
|
43245
|
+
}, /*#__PURE__*/React.createElement(AiFillYoutube, {
|
|
43246
|
+
size: sectionproperties.instgrambtniconfontsize
|
|
44173
43247
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
44174
43248
|
"class": "col-lg-12 d-flex justify-content-center mt-md-3 mb-md-3"
|
|
44175
43249
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -44180,15 +43254,15 @@ var Footer1 = function Footer1(props) {
|
|
|
44180
43254
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer mx-2 ',
|
|
44181
43255
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
44182
43256
|
onClick: function onClick() {
|
|
44183
|
-
var _authdetailsContext$
|
|
44184
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43257
|
+
var _authdetailsContext$i11;
|
|
43258
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.mobileapplink_appstore, '_blank');
|
|
44185
43259
|
}
|
|
44186
43260
|
}), /*#__PURE__*/React.createElement("img", {
|
|
44187
43261
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer mx-2 ',
|
|
44188
43262
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
44189
43263
|
onClick: function onClick() {
|
|
44190
|
-
var _authdetailsContext$
|
|
44191
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43264
|
+
var _authdetailsContext$i12;
|
|
43265
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.mobileapplink_playstore, '_blank');
|
|
44192
43266
|
}
|
|
44193
43267
|
})), sectionproperties.showcontactinfo == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
44194
43268
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0"
|
|
@@ -44205,12 +43279,12 @@ var Footer1 = function Footer1(props) {
|
|
|
44205
43279
|
textTransform: sectionproperties.footerinfotext_textTransform
|
|
44206
43280
|
},
|
|
44207
43281
|
onClick: function onClick() {
|
|
44208
|
-
var _authdetailsContext$
|
|
44209
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43282
|
+
var _authdetailsContext$i13;
|
|
43283
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 || (_authdetailsContext$i13 = _authdetailsContext$i13.contactinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.email), '_self');
|
|
44210
43284
|
}
|
|
44211
43285
|
}, /*#__PURE__*/React.createElement("i", {
|
|
44212
43286
|
"class": ' fa fa-at mr-2 text-transform-none ml-2 '
|
|
44213
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43287
|
+
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 || (_authdetailsContext$i14 = _authdetailsContext$i14.contactinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.email)), /*#__PURE__*/React.createElement("div", {
|
|
44214
43288
|
"class": "col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0"
|
|
44215
43289
|
}, /*#__PURE__*/React.createElement("p", {
|
|
44216
43290
|
"class": "".concat(footerStyles.footerinfotext) + ' d-flex align-items-center justify-content-md-center mr-1 ',
|
|
@@ -44239,7 +43313,151 @@ var Footer1 = function Footer1(props) {
|
|
|
44239
43313
|
"class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
|
|
44240
43314
|
}, /*#__PURE__*/React.createElement(IoLocationSharp, {
|
|
44241
43315
|
size: sectionproperties.footerinfoicon_fontsize
|
|
44242
|
-
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
43316
|
+
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.address_en)))))), sectionproperties.opencollapsible == 'Not Expanded' && /*#__PURE__*/React.createElement("footer", {
|
|
43317
|
+
"class": "".concat(footerStyles.footerContainer) + ' p-sm-2 p-md-4 '
|
|
43318
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
43319
|
+
"class": "row w-100 m-0 d-flex justify-content-center"
|
|
43320
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
43321
|
+
"class": "col-lg-6"
|
|
43322
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
43323
|
+
"class": "row m-0 w-100"
|
|
43324
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
43325
|
+
"class": "col-lg-12 d-flex flex-row align-items-center justify-content-start mb-3 p-0"
|
|
43326
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
43327
|
+
"class": "".concat(footerStyles.footerlogo) + ' d-flex align-items-center justify-content-center '
|
|
43328
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
43329
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
43330
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
43331
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$5 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$5 === void 0 ? void 0 : _bgimagearrayofobjs$5.englishlogo : (_bgimagearrayofobjs$6 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$6 === void 0 ? void 0 : _bgimagearrayofobjs$6.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$5 = logoarrayofobjects[0]) === null || _logoarrayofobjects$5 === void 0 ? void 0 : _logoarrayofobjects$5.englishlogo : (_logoarrayofobjects$6 = logoarrayofobjects[0]) === null || _logoarrayofobjects$6 === void 0 ? void 0 : _logoarrayofobjects$6.arabiclogo,
|
|
43332
|
+
style: {
|
|
43333
|
+
width: '100%',
|
|
43334
|
+
height: '100%',
|
|
43335
|
+
objectFit: 'contain'
|
|
43336
|
+
},
|
|
43337
|
+
loading: "lazy"
|
|
43338
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
43339
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
43340
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
43341
|
+
"class": "m-0 p-0",
|
|
43342
|
+
style: {
|
|
43343
|
+
fontSize: '15px',
|
|
43344
|
+
color: '#fff',
|
|
43345
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
43346
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
43347
|
+
}
|
|
43348
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.description_ar)), /*#__PURE__*/React.createElement("div", {
|
|
43349
|
+
"class": "col-lg-12 p-0 flex-row text-start"
|
|
43350
|
+
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43351
|
+
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43352
|
+
onClick: function onClick() {
|
|
43353
|
+
var _authdetailsContext$i18;
|
|
43354
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.facebooklink) != null) {
|
|
43355
|
+
var _authdetailsContext$i19;
|
|
43356
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.facebooklink, '_blank');
|
|
43357
|
+
}
|
|
43358
|
+
}
|
|
43359
|
+
}, /*#__PURE__*/React.createElement(FaFacebook, {
|
|
43360
|
+
size: sectionproperties.facebkbtnniconfontsize
|
|
43361
|
+
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43362
|
+
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
43363
|
+
onClick: function onClick() {
|
|
43364
|
+
var _authdetailsContext$i20;
|
|
43365
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.instagramlink) != null) {
|
|
43366
|
+
var _authdetailsContext$i21;
|
|
43367
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instagramlink, '_blank');
|
|
43368
|
+
}
|
|
43369
|
+
}
|
|
43370
|
+
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
43371
|
+
size: sectionproperties.instgrambtniconfontsize
|
|
43372
|
+
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43373
|
+
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43374
|
+
onClick: function onClick() {
|
|
43375
|
+
var _authdetailsContext$i22;
|
|
43376
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.whatsappnumber) != null) {
|
|
43377
|
+
var _authdetailsContext$i23;
|
|
43378
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.whatsappnumber), '_blank');
|
|
43379
|
+
}
|
|
43380
|
+
}
|
|
43381
|
+
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
43382
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
43383
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.twitterlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
43384
|
+
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
43385
|
+
onClick: function onClick() {
|
|
43386
|
+
var _authdetailsContext$i25;
|
|
43387
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.twitterlink) != null) {
|
|
43388
|
+
var _authdetailsContext$i26;
|
|
43389
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.twitterlink, '_blank');
|
|
43390
|
+
}
|
|
43391
|
+
}
|
|
43392
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
43393
|
+
className: "h-100 allcentered",
|
|
43394
|
+
style: {
|
|
43395
|
+
fontSize: 20
|
|
43396
|
+
}
|
|
43397
|
+
}, "x"))))), /*#__PURE__*/React.createElement("div", {
|
|
43398
|
+
"class": "col-lg-6"
|
|
43399
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
43400
|
+
"class": "row m-0 w-100 mt-md-3"
|
|
43401
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
43402
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
43403
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
43404
|
+
"class": "m-0 p-0",
|
|
43405
|
+
style: {
|
|
43406
|
+
fontSize: 20,
|
|
43407
|
+
color: 'white',
|
|
43408
|
+
fontWeight: 600,
|
|
43409
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
43410
|
+
}
|
|
43411
|
+
}, "\u0627\u0644\u062A\u0633\u062C\u064A\u0644 \u0641\u064A \u0627\u0644\u0646\u0634\u0631\u0629 \u0627\u0644\u0625\u062E\u0628\u0627\u0631\u064A\u0629")), /*#__PURE__*/React.createElement("div", {
|
|
43412
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
43413
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
43414
|
+
"class": "m-0 p-0",
|
|
43415
|
+
style: {
|
|
43416
|
+
fontSize: 15,
|
|
43417
|
+
color: 'white',
|
|
43418
|
+
fontWeight: 500,
|
|
43419
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
43420
|
+
}
|
|
43421
|
+
}, "\u0623\u062F\u062E\u0644 \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u0644\u062D\u0635\u0648\u0644 \u0639\u0644\u0649 \u062A\u062D\u062F\u064A\u062B\u0627\u062A \u062F\u0648\u0631\u064A\u0629 \u062D\u0648\u0644 \u0627\u0644\u0645\u0624\u062A\u0645\u0631.")), /*#__PURE__*/React.createElement("div", {
|
|
43422
|
+
"class": "col-lg-12 mb-3 text-start p-0"
|
|
43423
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
43424
|
+
type: "text",
|
|
43425
|
+
className: "".concat(footerStyles.form_control) + ' w-md-100 ',
|
|
43426
|
+
value: pricevalue2.min,
|
|
43427
|
+
placeholder: "\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",
|
|
43428
|
+
onChange: function onChange(event) {
|
|
43429
|
+
var temppricevalue = _objectSpread$1C({}, pricevalue2);
|
|
43430
|
+
temppricevalue.min = event.target.value;
|
|
43431
|
+
setpricevalue2(_objectSpread$1C({}, temppricevalue));
|
|
43432
|
+
},
|
|
43433
|
+
style: {
|
|
43434
|
+
background: 'white',
|
|
43435
|
+
fontSize: 14,
|
|
43436
|
+
color: '#000',
|
|
43437
|
+
borderRadius: 10,
|
|
43438
|
+
width: '50%',
|
|
43439
|
+
height: 40,
|
|
43440
|
+
paddingLeft: 20,
|
|
43441
|
+
paddingRight: 20
|
|
43442
|
+
}
|
|
43443
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
43444
|
+
"class": "col-lg-12 text-start mb-3 text-start p-0"
|
|
43445
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
43446
|
+
"class": footerStyles.btnn
|
|
43447
|
+
}, "\u0627\u0634\u062A\u0631\u0643 \u0627\u0644\u0622\u0646")))), /*#__PURE__*/React.createElement("div", {
|
|
43448
|
+
"class": "col-lg-12 d-flex justify-content-center mt-md-3 mb-md-3"
|
|
43449
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
43450
|
+
"class": "".concat(footerStyles.vl) + ' ml-sm-0 mr-sm-0 my-3 '
|
|
43451
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
43452
|
+
"class": "col-lg-12 text-start"
|
|
43453
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
43454
|
+
"class": "m-0 p-0",
|
|
43455
|
+
style: {
|
|
43456
|
+
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
43457
|
+
color: sectionproperties.generaltext_fontColor,
|
|
43458
|
+
fontWeight: sectionproperties.generaltext_fontWeight
|
|
43459
|
+
}
|
|
43460
|
+
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)))));
|
|
44243
43461
|
};
|
|
44244
43462
|
|
|
44245
43463
|
function ownKeys$1B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -45469,7 +44687,7 @@ var Footer4 = function Footer4(props) {
|
|
|
45469
44687
|
function ownKeys$1y(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
45470
44688
|
function _objectSpread$1y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
45471
44689
|
var Footer5 = function Footer5(props) {
|
|
45472
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i26, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43, _authdetailsContext$i46
|
|
44690
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i26, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43, _authdetailsContext$i46;
|
|
45473
44691
|
var _useState = useState(''),
|
|
45474
44692
|
_useState2 = _slicedToArray(_useState, 2),
|
|
45475
44693
|
sectionproperties = _useState2[0],
|
|
@@ -45986,32 +45204,13 @@ var Footer5 = function Footer5(props) {
|
|
|
45986
45204
|
src: 'https://tabex-co.com/storage/StaticImages/visa.png',
|
|
45987
45205
|
className: "".concat(footerStyles.payimg)
|
|
45988
45206
|
})), /*#__PURE__*/React.createElement("div", {
|
|
45989
|
-
className: "".concat(footerStyles.payimgcont),
|
|
45990
|
-
style: {
|
|
45991
|
-
width: '70px',
|
|
45992
|
-
height: '30px',
|
|
45993
|
-
borderRadius: 10
|
|
45994
|
-
}
|
|
45995
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
45996
|
-
src: 'https://tabex-co.com/storage/StaticImages/mastercard.png',
|
|
45997
|
-
className: "".concat(footerStyles.payimg)
|
|
45998
|
-
})), sectionproperties.showbankak == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
45999
|
-
className: "".concat(footerStyles.payimgcont),
|
|
46000
|
-
style: {
|
|
46001
|
-
width: '50px',
|
|
46002
|
-
height: '50px'
|
|
46003
|
-
}
|
|
46004
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
46005
|
-
src: 'https://tabex-co.com/storage/StaticImages/bankak.png',
|
|
46006
|
-
className: "".concat(footerStyles.payimg)
|
|
46007
|
-
})), sectionproperties.showinstapay == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
46008
45207
|
className: "".concat(footerStyles.payimgcont),
|
|
46009
45208
|
style: {
|
|
46010
45209
|
width: '70px',
|
|
46011
45210
|
height: '30px'
|
|
46012
45211
|
}
|
|
46013
45212
|
}, /*#__PURE__*/React.createElement("img", {
|
|
46014
|
-
src: 'https://tabex-co.com/storage/StaticImages/
|
|
45213
|
+
src: 'https://tabex-co.com/storage/StaticImages/mastercard.png',
|
|
46015
45214
|
className: "".concat(footerStyles.payimg)
|
|
46016
45215
|
})))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
46017
45216
|
className: "row m-0 w-100 mt-3"
|
|
@@ -46132,19 +45331,6 @@ var Footer5 = function Footer5(props) {
|
|
|
46132
45331
|
className: "h-100 allcentered"
|
|
46133
45332
|
}, /*#__PURE__*/React.createElement(AiFillYoutube, {
|
|
46134
45333
|
size: sectionproperties.instgrambtniconfontsize
|
|
46135
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.telegramlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
46136
|
-
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
46137
|
-
onClick: function onClick() {
|
|
46138
|
-
var _authdetailsContext$i50;
|
|
46139
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.telegramlink) != null) {
|
|
46140
|
-
var _authdetailsContext$i51;
|
|
46141
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.telegramlink, '_blank');
|
|
46142
|
-
}
|
|
46143
|
-
}
|
|
46144
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
46145
|
-
className: "h-100 allcentered"
|
|
46146
|
-
}, /*#__PURE__*/React.createElement(FaTelegramPlane, {
|
|
46147
|
-
size: sectionproperties.instgrambtniconfontsize
|
|
46148
45334
|
})))))));
|
|
46149
45335
|
};
|
|
46150
45336
|
|
|
@@ -47911,7 +47097,7 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
47911
47097
|
function ownKeys$1s(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
47912
47098
|
function _objectSpread$1s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1s(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
47913
47099
|
var ModernFooter = function ModernFooter(props) {
|
|
47914
|
-
var _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23
|
|
47100
|
+
var _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23;
|
|
47915
47101
|
var _useState = useState(''),
|
|
47916
47102
|
_useState2 = _slicedToArray(_useState, 2),
|
|
47917
47103
|
sectionproperties = _useState2[0],
|
|
@@ -48218,57 +47404,43 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
48218
47404
|
}, sectionproperties.whatsappiconfontsize != 0 && /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
48219
47405
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
48220
47406
|
size: sectionproperties.whatsappiconfontsize
|
|
48221
|
-
}), sectionproperties.whatsapplinktext)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.
|
|
48222
|
-
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
48223
|
-
onClick: function onClick() {
|
|
48224
|
-
var _authdetailsContext$i12;
|
|
48225
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.twitterlink) != null) {
|
|
48226
|
-
var _authdetailsContext$i13;
|
|
48227
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.twitterlink, '_blank');
|
|
48228
|
-
}
|
|
48229
|
-
}
|
|
48230
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
48231
|
-
className: "h-100 allcentered",
|
|
48232
|
-
style: {
|
|
48233
|
-
fontSize: 20
|
|
48234
|
-
}
|
|
48235
|
-
}, "x")), sectionproperties.linkedinbtnshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.linkedinlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
47407
|
+
}), sectionproperties.whatsapplinktext)), sectionproperties.linkedinbtnshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.linkedinlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
48236
47408
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
48237
47409
|
}, /*#__PURE__*/React.createElement("p", {
|
|
48238
47410
|
"class": footerStyles.linkedin_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
48239
47411
|
onClick: function onClick() {
|
|
48240
|
-
var _authdetailsContext$
|
|
48241
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
48242
|
-
var _authdetailsContext$
|
|
48243
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47412
|
+
var _authdetailsContext$i12;
|
|
47413
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.linkedinlink) != null) {
|
|
47414
|
+
var _authdetailsContext$i13;
|
|
47415
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.linkedinlink, '_blank');
|
|
48244
47416
|
}
|
|
48245
47417
|
}
|
|
48246
47418
|
}, sectionproperties.linkedinbtniconfontsize != 0 && /*#__PURE__*/React.createElement(AiOutlineLinkedin, {
|
|
48247
47419
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
48248
47420
|
size: sectionproperties.linkedinbtniconfontsize
|
|
48249
|
-
}), sectionproperties.linkedinlinktext)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47421
|
+
}), sectionproperties.linkedinlinktext)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.tiktoklink) != null && /*#__PURE__*/React.createElement("div", {
|
|
48250
47422
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
48251
47423
|
}, /*#__PURE__*/React.createElement("p", {
|
|
48252
47424
|
"class": footerStyles.instgram_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
48253
47425
|
onClick: function onClick() {
|
|
48254
|
-
var _authdetailsContext$
|
|
48255
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
48256
|
-
var _authdetailsContext$
|
|
48257
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47426
|
+
var _authdetailsContext$i15;
|
|
47427
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.tiktoklink) != null) {
|
|
47428
|
+
var _authdetailsContext$i16;
|
|
47429
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.tiktoklink, '_blank');
|
|
48258
47430
|
}
|
|
48259
47431
|
}
|
|
48260
47432
|
}, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
48261
47433
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
48262
47434
|
size: sectionproperties.instagramiconfontsize
|
|
48263
|
-
}), langdetect == 'en' ? 'TikTok' : 'TikTok')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47435
|
+
}), langdetect == 'en' ? 'TikTok' : 'TikTok')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.telegramlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
48264
47436
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
48265
47437
|
}, /*#__PURE__*/React.createElement("p", {
|
|
48266
47438
|
"class": footerStyles.instgram_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
48267
47439
|
onClick: function onClick() {
|
|
48268
|
-
var _authdetailsContext$
|
|
48269
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
48270
|
-
var _authdetailsContext$
|
|
48271
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47440
|
+
var _authdetailsContext$i18;
|
|
47441
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.telegramlink) != null) {
|
|
47442
|
+
var _authdetailsContext$i19;
|
|
47443
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.telegramlink, '_blank');
|
|
48272
47444
|
}
|
|
48273
47445
|
}
|
|
48274
47446
|
}, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React.createElement(FaTelegramPlane, {
|
|
@@ -48300,7 +47472,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
48300
47472
|
}
|
|
48301
47473
|
}, /*#__PURE__*/React.createElement(IoLocationSharp, {
|
|
48302
47474
|
size: sectionproperties.footerinfoicon_fontsize
|
|
48303
|
-
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47475
|
+
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.address_en)), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
48304
47476
|
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 ',
|
|
48305
47477
|
onClick: function onClick() {
|
|
48306
47478
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
@@ -48319,14 +47491,14 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
48319
47491
|
}), authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
48320
47492
|
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 ',
|
|
48321
47493
|
onClick: function onClick() {
|
|
48322
|
-
var _authdetailsContext$
|
|
48323
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47494
|
+
var _authdetailsContext$i21;
|
|
47495
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.contactinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.email), '_self');
|
|
48324
47496
|
}
|
|
48325
47497
|
}, /*#__PURE__*/React.createElement("p", {
|
|
48326
47498
|
"class": ' footerinfotext d-flex align-items-center justify-content-start m-0 p-0 cursor-pointer ',
|
|
48327
47499
|
onClick: function onClick() {
|
|
48328
|
-
var _authdetailsContext$
|
|
48329
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47500
|
+
var _authdetailsContext$i22;
|
|
47501
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.contactinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.email), '_self');
|
|
48330
47502
|
},
|
|
48331
47503
|
style: {
|
|
48332
47504
|
textTransform: 'none'
|
|
@@ -48337,7 +47509,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
48337
47509
|
marginRight: langdetect == 'en' ? '0.5rem' : 0,
|
|
48338
47510
|
marginLeft: langdetect == 'ar' ? '0.5rem' : 0
|
|
48339
47511
|
}
|
|
48340
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47512
|
+
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 || (_authdetailsContext$i23 = _authdetailsContext$i23.contactinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.email)))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
48341
47513
|
"class": sectionproperties.showfooteraddress == 'Hide' && sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' ? 'col-lg-4 col-md-12 col-sm-12 mt-md-3' : 'col-lg-3 col-md-12 col-sm-12 mt-md-3'
|
|
48342
47514
|
}, /*#__PURE__*/React.createElement("div", {
|
|
48343
47515
|
className: "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
@@ -48349,15 +47521,15 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
48349
47521
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-flex d-md-none ',
|
|
48350
47522
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
48351
47523
|
onClick: function onClick() {
|
|
48352
|
-
var _authdetailsContext$
|
|
48353
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47524
|
+
var _authdetailsContext$i24;
|
|
47525
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.mobileapplink_appstore, '_blank');
|
|
48354
47526
|
}
|
|
48355
47527
|
}), /*#__PURE__*/React.createElement("img", {
|
|
48356
47528
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-none d-md-flex ',
|
|
48357
47529
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
48358
47530
|
onClick: function onClick() {
|
|
48359
|
-
var _authdetailsContext$
|
|
48360
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47531
|
+
var _authdetailsContext$i25;
|
|
47532
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.mobileapplink_appstore, '_blank');
|
|
48361
47533
|
}
|
|
48362
47534
|
})), /*#__PURE__*/React.createElement("div", {
|
|
48363
47535
|
"class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start'
|
|
@@ -48365,15 +47537,15 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
48365
47537
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer d-flex d-md-none ',
|
|
48366
47538
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
48367
47539
|
onClick: function onClick() {
|
|
48368
|
-
var _authdetailsContext$
|
|
48369
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47540
|
+
var _authdetailsContext$i26;
|
|
47541
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.mobileapplink_playstore, '_blank');
|
|
48370
47542
|
}
|
|
48371
47543
|
}), /*#__PURE__*/React.createElement("img", {
|
|
48372
47544
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer d-none d-md-flex ',
|
|
48373
47545
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
48374
47546
|
onClick: function onClick() {
|
|
48375
|
-
var _authdetailsContext$
|
|
48376
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47547
|
+
var _authdetailsContext$i27;
|
|
47548
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.mobileapplink_playstore, '_blank');
|
|
48377
47549
|
}
|
|
48378
47550
|
}))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
48379
47551
|
"class": "col-lg-3 col-md-12 col-sm-12 mt-md-3 px-lg-5 px-md-2",
|
|
@@ -48403,7 +47575,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
48403
47575
|
function ownKeys$1r(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
48404
47576
|
function _objectSpread$1r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1r(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
48405
47577
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
48406
|
-
var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$
|
|
47578
|
+
var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i22, _authdetailsContext$i25, _authdetailsContext$i30, _authdetailsContext$i31;
|
|
48407
47579
|
var _useState = useState(''),
|
|
48408
47580
|
_useState2 = _slicedToArray(_useState, 2),
|
|
48409
47581
|
sectionproperties = _useState2[0],
|
|
@@ -48989,57 +48161,43 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
48989
48161
|
}
|
|
48990
48162
|
}, /*#__PURE__*/React.createElement(AiFillYoutube, {
|
|
48991
48163
|
size: sectionproperties.instgrambtniconfontsize
|
|
48992
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.
|
|
48993
|
-
|
|
48164
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.tiktoklink) != null && /*#__PURE__*/React.createElement("p", {
|
|
48165
|
+
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
48994
48166
|
onClick: function onClick() {
|
|
48995
48167
|
var _authdetailsContext$i18;
|
|
48996
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.
|
|
48168
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.tiktoklink) != null) {
|
|
48997
48169
|
var _authdetailsContext$i19;
|
|
48998
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.
|
|
48999
|
-
}
|
|
49000
|
-
}
|
|
49001
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
49002
|
-
className: "h-100 allcentered",
|
|
49003
|
-
style: {
|
|
49004
|
-
fontSize: 20
|
|
49005
|
-
}
|
|
49006
|
-
}, "x")), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.tiktoklink) != null && /*#__PURE__*/React.createElement("p", {
|
|
49007
|
-
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
49008
|
-
onClick: function onClick() {
|
|
49009
|
-
var _authdetailsContext$i21;
|
|
49010
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.tiktoklink) != null) {
|
|
49011
|
-
var _authdetailsContext$i22;
|
|
49012
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.tiktoklink, '_blank');
|
|
48170
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.tiktoklink, '_blank');
|
|
49013
48171
|
}
|
|
49014
48172
|
}
|
|
49015
48173
|
}, /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
49016
48174
|
size: sectionproperties.instgrambtniconfontsize
|
|
49017
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
48175
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.linkedinlink) != null && /*#__PURE__*/React.createElement("p", {
|
|
49018
48176
|
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
49019
48177
|
onClick: function onClick() {
|
|
49020
|
-
var _authdetailsContext$
|
|
49021
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
48178
|
+
var _authdetailsContext$i21;
|
|
48179
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.linkedinlink, '_blank');
|
|
49022
48180
|
}
|
|
49023
48181
|
}, /*#__PURE__*/React.createElement(FaLinkedinIn, {
|
|
49024
48182
|
size: sectionproperties.instgrambtniconfontsize
|
|
49025
|
-
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
48183
|
+
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.whatsappnumber) != null && /*#__PURE__*/React.createElement("p", {
|
|
49026
48184
|
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
49027
48185
|
onClick: function onClick() {
|
|
49028
|
-
var _authdetailsContext$
|
|
49029
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49030
|
-
var _authdetailsContext$
|
|
49031
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
48186
|
+
var _authdetailsContext$i23;
|
|
48187
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.whatsappnumber) != null) {
|
|
48188
|
+
var _authdetailsContext$i24;
|
|
48189
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.whatsappnumber), '_blank');
|
|
49032
48190
|
}
|
|
49033
48191
|
}
|
|
49034
48192
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
49035
48193
|
size: sectionproperties.youtubebtniconfontsize
|
|
49036
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
48194
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.googlemapslink) != null && /*#__PURE__*/React.createElement("p", {
|
|
49037
48195
|
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
49038
48196
|
onClick: function onClick() {
|
|
49039
|
-
var _authdetailsContext$
|
|
49040
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
49041
|
-
var _authdetailsContext$
|
|
49042
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
48197
|
+
var _authdetailsContext$i26;
|
|
48198
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.googlemapslink) != null) {
|
|
48199
|
+
var _authdetailsContext$i27;
|
|
48200
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.googlemapslink, '_blank');
|
|
49043
48201
|
}
|
|
49044
48202
|
}
|
|
49045
48203
|
}, /*#__PURE__*/React.createElement(IoLocationSharp, {
|
|
@@ -49059,15 +48217,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
49059
48217
|
"class": langdetect == 'en' ? "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mr-2 ' : "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ml-2 ',
|
|
49060
48218
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
49061
48219
|
onClick: function onClick() {
|
|
49062
|
-
var _authdetailsContext$
|
|
49063
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
48220
|
+
var _authdetailsContext$i28;
|
|
48221
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.mobileapplink_appstore, '_blank');
|
|
49064
48222
|
}
|
|
49065
48223
|
}), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React.createElement("img", {
|
|
49066
48224
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
49067
48225
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
49068
48226
|
onClick: function onClick() {
|
|
49069
|
-
var _authdetailsContext$
|
|
49070
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
48227
|
+
var _authdetailsContext$i29;
|
|
48228
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.mobileapplink_playstore, '_blank');
|
|
49071
48229
|
}
|
|
49072
48230
|
}))), sectionproperties.showfooteraddress == 'Show' && sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
49073
48231
|
"class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
|
|
@@ -49084,7 +48242,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
49084
48242
|
"class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
|
|
49085
48243
|
}, /*#__PURE__*/React.createElement(IoLocationSharp, {
|
|
49086
48244
|
size: 30
|
|
49087
|
-
})), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
48245
|
+
})), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.address_ar)))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
49088
48246
|
"class": "col-lg-12 p-0 d-block my-3"
|
|
49089
48247
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
49090
48248
|
"class": "m-0 p-0"
|
|
@@ -51899,7 +51057,6 @@ var ElegantCategoriesCardSection = function ElegantCategoriesCardSection(props)
|
|
|
51899
51057
|
function ownKeys$1l(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
51900
51058
|
function _objectSpread$1l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1l(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
51901
51059
|
var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCards(props) {
|
|
51902
|
-
var authdetailsContext = props.actions.authdetailsContext;
|
|
51903
51060
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
51904
51061
|
props.actions.lang;
|
|
51905
51062
|
var langdetect = props.actions.langdetect;
|
|
@@ -52432,22 +51589,10 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
52432
51589
|
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
52433
51590
|
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px'
|
|
52434
51591
|
}
|
|
52435
|
-
}),
|
|
52436
|
-
imageoutercont: css({
|
|
52437
|
-
height: sectionproperties.image_height == 0 ? '100%' : sectionproperties.image_height + 'vh',
|
|
52438
|
-
'@media (max-width: 800px)': {
|
|
52439
|
-
height: '30vh'
|
|
52440
|
-
}
|
|
52441
|
-
}),
|
|
52442
|
-
imageoutercont2: css({
|
|
52443
|
-
height: sectionproperties.image_height2 == 0 ? '100%' : sectionproperties.image_height2 + 'vh',
|
|
52444
|
-
'@media (max-width: 800px)': {
|
|
52445
|
-
height: '25vh'
|
|
52446
|
-
}
|
|
52447
51592
|
})
|
|
52448
51593
|
};
|
|
52449
51594
|
var cardsrender = function cardsrender() {
|
|
52450
|
-
var
|
|
51595
|
+
var _cardsarray$2, _cardsarray$3, _cardsarray$4, _cardsarray$6, _cardsarray$7, _cardsarray$8, _cardsarray$10, _cardsarray$11, _cardsarray$12, _cardsarray$14, _cardsarray$15, _cardsarray$16, _cardsarray$18, _cardsarray$19, _cardsarray$20;
|
|
52451
51596
|
return /*#__PURE__*/React.createElement("div", {
|
|
52452
51597
|
"class": 'row m-0 w-100'
|
|
52453
51598
|
}, !fetchProductsQuery.isFetching && cardsarray.length == 0 && /*#__PURE__*/React.createElement("div", {
|
|
@@ -52515,7 +51660,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
52515
51660
|
}
|
|
52516
51661
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
52517
51662
|
"class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 pr-md-2 ' : sectionproperties.paddingRight != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pr-md-2 ' : sectionproperties.paddingLeft != 0 ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 ' : section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center '
|
|
52518
|
-
},
|
|
51663
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
52519
51664
|
"class": "row m-0 w-100 "
|
|
52520
51665
|
}, /*#__PURE__*/React.createElement("div", {
|
|
52521
51666
|
"class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
|
|
@@ -52804,218 +51949,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
52804
51949
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
52805
51950
|
}, /*#__PURE__*/React.createElement("p", {
|
|
52806
51951
|
"class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered collectioncardbutton '
|
|
52807
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))))
|
|
52808
|
-
"class": "row m-0 w-100 "
|
|
52809
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52810
|
-
"class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-6 p-md-0 mb-md-3 cursor-pointer '
|
|
52811
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52812
|
-
"class": "row m-0 w-100"
|
|
52813
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52814
|
-
"class": "col-12 cursor-pointer",
|
|
52815
|
-
onClick: function onClick() {
|
|
52816
|
-
var _cardsarray$21;
|
|
52817
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$21 = cardsarray[0]) === null || _cardsarray$21 === void 0 ? void 0 : _cardsarray$21.collectionid));
|
|
52818
|
-
},
|
|
52819
|
-
style: {
|
|
52820
|
-
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
52821
|
-
paddingRight: sectionproperties.imagepadding + 'px',
|
|
52822
|
-
marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
|
|
52823
|
-
}
|
|
52824
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52825
|
-
"class": section_cssstyles.imageoutercont + ' row m-0 w-100 ',
|
|
52826
|
-
style: {
|
|
52827
|
-
width: '100%'
|
|
52828
|
-
}
|
|
52829
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52830
|
-
"class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
|
|
52831
|
-
style: {
|
|
52832
|
-
width: '100%',
|
|
52833
|
-
height: '100%'
|
|
52834
|
-
}
|
|
52835
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
52836
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
52837
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
52838
|
-
path: (_cardsarray$22 = cardsarray[0]) === null || _cardsarray$22 === void 0 ? void 0 : _cardsarray$22.image,
|
|
52839
|
-
loading: "lazy",
|
|
52840
|
-
style: {
|
|
52841
|
-
width: '100%',
|
|
52842
|
-
height: '100%',
|
|
52843
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
52844
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52845
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
52846
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
52847
|
-
objectFit: 'cover',
|
|
52848
|
-
zIndex: 1
|
|
52849
|
-
}
|
|
52850
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
52851
|
-
"class": section_cssstyles.imageoutercont,
|
|
52852
|
-
style: _defineProperty(_defineProperty({
|
|
52853
|
-
position: 'absolute',
|
|
52854
|
-
zIndex: 1000,
|
|
52855
|
-
// height: sectionproperties.image_height == 0 ? '100%' : sectionproperties.image_height + 'vh',
|
|
52856
|
-
width: '100%'
|
|
52857
|
-
}, "zIndex", 5), "left", 0)
|
|
52858
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52859
|
-
"class": "row m-0 w-100 p-3 w-100 h-100 allcentered"
|
|
52860
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52861
|
-
"class": "col-lg-12 p-0 d-flex allcentered h-100"
|
|
52862
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
52863
|
-
"class": section_cssstyles.collectionname + ' m-0 p-0 '
|
|
52864
|
-
}, langdetect == 'en' ? (_cardsarray$23 = cardsarray[0]) === null || _cardsarray$23 === void 0 ? void 0 : _cardsarray$23.name_en : (_cardsarray$24 = cardsarray[0]) === null || _cardsarray$24 === void 0 ? void 0 : _cardsarray$24.name_ar)))))), /*#__PURE__*/React.createElement("div", {
|
|
52865
|
-
"class": "col-12 cursor-pointer",
|
|
52866
|
-
onClick: function onClick() {
|
|
52867
|
-
var _cardsarray$25;
|
|
52868
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$25 = cardsarray[2]) === null || _cardsarray$25 === void 0 ? void 0 : _cardsarray$25.collectionid));
|
|
52869
|
-
},
|
|
52870
|
-
style: {
|
|
52871
|
-
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
52872
|
-
paddingRight: sectionproperties.imagepadding + 'px',
|
|
52873
|
-
marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
|
|
52874
|
-
}
|
|
52875
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52876
|
-
"class": section_cssstyles.imageoutercont2 + ' row m-0 w-100 ',
|
|
52877
|
-
style: {
|
|
52878
|
-
width: '100%'
|
|
52879
|
-
}
|
|
52880
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52881
|
-
"class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
|
|
52882
|
-
style: {
|
|
52883
|
-
width: '100%',
|
|
52884
|
-
height: '100%'
|
|
52885
|
-
}
|
|
52886
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
52887
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
52888
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
52889
|
-
path: (_cardsarray$26 = cardsarray[2]) === null || _cardsarray$26 === void 0 ? void 0 : _cardsarray$26.image,
|
|
52890
|
-
loading: "lazy",
|
|
52891
|
-
style: {
|
|
52892
|
-
width: '100%',
|
|
52893
|
-
height: '100%',
|
|
52894
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
52895
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52896
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
52897
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
52898
|
-
objectFit: 'cover',
|
|
52899
|
-
zIndex: 1
|
|
52900
|
-
}
|
|
52901
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
52902
|
-
"class": section_cssstyles.imageoutercont2,
|
|
52903
|
-
style: _defineProperty(_defineProperty({
|
|
52904
|
-
position: 'absolute',
|
|
52905
|
-
zIndex: 1000,
|
|
52906
|
-
width: '100%'
|
|
52907
|
-
}, "zIndex", 5), "left", 0)
|
|
52908
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52909
|
-
"class": "row m-0 w-100 p-3 w-100 h-100 allcentered"
|
|
52910
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52911
|
-
"class": "col-lg-12 p-0 d-flex allcentered h-100"
|
|
52912
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
52913
|
-
"class": section_cssstyles.collectionname + ' m-0 p-0 '
|
|
52914
|
-
}, langdetect == 'en' ? (_cardsarray$27 = cardsarray[2]) === null || _cardsarray$27 === void 0 ? void 0 : _cardsarray$27.name_en : (_cardsarray$28 = cardsarray[2]) === null || _cardsarray$28 === void 0 ? void 0 : _cardsarray$28.name_ar)))))))), /*#__PURE__*/React.createElement("div", {
|
|
52915
|
-
"class": 'col-6 pl-0 pr-0'
|
|
52916
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52917
|
-
"class": "row m-0 w-100"
|
|
52918
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52919
|
-
"class": "col-12 cursor-pointer",
|
|
52920
|
-
onClick: function onClick() {
|
|
52921
|
-
var _cardsarray$29;
|
|
52922
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$29 = cardsarray[1]) === null || _cardsarray$29 === void 0 ? void 0 : _cardsarray$29.collectionid));
|
|
52923
|
-
},
|
|
52924
|
-
style: {
|
|
52925
|
-
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
52926
|
-
paddingRight: sectionproperties.imagepadding + 'px',
|
|
52927
|
-
marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
|
|
52928
|
-
}
|
|
52929
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52930
|
-
"class": section_cssstyles.imageoutercont2 + ' row m-0 w-100 ',
|
|
52931
|
-
style: {
|
|
52932
|
-
width: '100%'
|
|
52933
|
-
}
|
|
52934
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52935
|
-
"class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
|
|
52936
|
-
style: {
|
|
52937
|
-
width: '100%',
|
|
52938
|
-
height: '100%'
|
|
52939
|
-
}
|
|
52940
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
52941
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
52942
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
52943
|
-
path: (_cardsarray$30 = cardsarray[1]) === null || _cardsarray$30 === void 0 ? void 0 : _cardsarray$30.image,
|
|
52944
|
-
loading: "lazy",
|
|
52945
|
-
style: {
|
|
52946
|
-
width: '100%',
|
|
52947
|
-
height: '100%',
|
|
52948
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
52949
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52950
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
52951
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
52952
|
-
objectFit: 'cover',
|
|
52953
|
-
zIndex: 1
|
|
52954
|
-
}
|
|
52955
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
52956
|
-
"class": section_cssstyles.imageoutercont2,
|
|
52957
|
-
style: _defineProperty(_defineProperty({
|
|
52958
|
-
position: 'absolute',
|
|
52959
|
-
zIndex: 1000,
|
|
52960
|
-
width: '100%'
|
|
52961
|
-
}, "zIndex", 5), "left", 0)
|
|
52962
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52963
|
-
"class": "row m-0 w-100 p-3 w-100 h-100 allcentered"
|
|
52964
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52965
|
-
"class": "col-lg-12 p-0 d-flex allcentered h-100"
|
|
52966
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
52967
|
-
"class": section_cssstyles.collectionname + ' m-0 p-0 '
|
|
52968
|
-
}, langdetect == 'en' ? (_cardsarray$31 = cardsarray[1]) === null || _cardsarray$31 === void 0 ? void 0 : _cardsarray$31.name_en : (_cardsarray$32 = cardsarray[1]) === null || _cardsarray$32 === void 0 ? void 0 : _cardsarray$32.name_ar)))))), /*#__PURE__*/React.createElement("div", {
|
|
52969
|
-
"class": "col-12 cursor-pointer",
|
|
52970
|
-
onClick: function onClick() {
|
|
52971
|
-
var _cardsarray$33;
|
|
52972
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$33 = cardsarray[3]) === null || _cardsarray$33 === void 0 ? void 0 : _cardsarray$33.collectionid));
|
|
52973
|
-
},
|
|
52974
|
-
style: {
|
|
52975
|
-
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
52976
|
-
paddingRight: sectionproperties.imagepadding + 'px',
|
|
52977
|
-
marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
|
|
52978
|
-
}
|
|
52979
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52980
|
-
"class": section_cssstyles.imageoutercont + ' row m-0 w-100 ',
|
|
52981
|
-
style: {
|
|
52982
|
-
width: '100%'
|
|
52983
|
-
}
|
|
52984
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52985
|
-
"class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
|
|
52986
|
-
style: {
|
|
52987
|
-
width: '100%',
|
|
52988
|
-
height: '100%'
|
|
52989
|
-
}
|
|
52990
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
52991
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
52992
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
52993
|
-
path: (_cardsarray$34 = cardsarray[3]) === null || _cardsarray$34 === void 0 ? void 0 : _cardsarray$34.image,
|
|
52994
|
-
loading: "lazy",
|
|
52995
|
-
style: {
|
|
52996
|
-
width: '100%',
|
|
52997
|
-
height: '100%',
|
|
52998
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
52999
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
53000
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
53001
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
53002
|
-
objectFit: 'cover',
|
|
53003
|
-
zIndex: 1
|
|
53004
|
-
}
|
|
53005
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
53006
|
-
"class": section_cssstyles.imageoutercont,
|
|
53007
|
-
style: _defineProperty(_defineProperty({
|
|
53008
|
-
position: 'absolute',
|
|
53009
|
-
zIndex: 1000,
|
|
53010
|
-
width: '100%'
|
|
53011
|
-
}, "zIndex", 5), "left", 0)
|
|
53012
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
53013
|
-
"class": "row m-0 w-100 p-3 w-100 h-100 allcentered"
|
|
53014
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
53015
|
-
"class": "col-lg-12 p-0 d-flex allcentered h-100"
|
|
53016
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
53017
|
-
"class": section_cssstyles.collectionname + ' m-0 p-0 '
|
|
53018
|
-
}, langdetect == 'en' ? (_cardsarray$35 = cardsarray[3]) === null || _cardsarray$35 === void 0 ? void 0 : _cardsarray$35.name_en : (_cardsarray$36 = cardsarray[3]) === null || _cardsarray$36 === void 0 ? void 0 : _cardsarray$36.name_ar))))))))))));
|
|
51952
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))))));
|
|
53019
51953
|
};
|
|
53020
51954
|
return /*#__PURE__*/React.createElement("div", {
|
|
53021
51955
|
"class": "row m-0 d-flex w-100 justify-content-center",
|
|
@@ -58024,7 +56958,7 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
58024
56958
|
style: {}
|
|
58025
56959
|
}, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
58026
56960
|
return /*#__PURE__*/React.createElement("div", {
|
|
58027
|
-
className: bgimagearrayofobjs[index].bg1_numberofcols != 12 ? sectionproperties.imagepadding != 0 ? ' d-flex align-items-stretch col-md-
|
|
56961
|
+
className: bgimagearrayofobjs[index].bg1_numberofcols != 12 ? sectionproperties.imagepadding != 0 ? ' d-flex align-items-stretch col-md-6 col-sm-12 pr-sm-2 pl-sm-2 mb-md-3 mt-md-3 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols : ' d-flex align-items-stretch col-md-6 col-sm-12 p-sm-0 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols : ' d-flex align-items-stretch col-md-12 col-sm-12 pr-md-0 pl-md-0 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols,
|
|
58028
56962
|
style: {
|
|
58029
56963
|
paddingLeft: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : sectionproperties.imagepadding + 'px',
|
|
58030
56964
|
paddingRight: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : sectionproperties.imagepadding + 'px',
|
|
@@ -58036,6 +56970,7 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
58036
56970
|
if (item.place_clickable == 'General') {
|
|
58037
56971
|
if (item.externallink == 'Yes') {
|
|
58038
56972
|
window.open(item.clickable_page_route, '_blank');
|
|
56973
|
+
|
|
58039
56974
|
// history.push(item.clickable_page_route);
|
|
58040
56975
|
} else if (item.clickable_page_route && item.clickable_page_route.length != 0) {
|
|
58041
56976
|
routingcountext(item.clickable_page_route, false, '');
|
|
@@ -58368,9 +57303,9 @@ var VideosSection = function VideosSection(props) {
|
|
|
58368
57303
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
58369
57304
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
58370
57305
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
58371
|
-
height: sectionproperties.image_height
|
|
57306
|
+
height: sectionproperties.image_height + 'px',
|
|
58372
57307
|
'@media (max-width: 800px)': {
|
|
58373
|
-
height: sectionproperties.
|
|
57308
|
+
height: sectionproperties.height_responsive + 'px'
|
|
58374
57309
|
}
|
|
58375
57310
|
}),
|
|
58376
57311
|
lau: css({
|
|
@@ -58564,7 +57499,7 @@ var VideosSection = function VideosSection(props) {
|
|
|
58564
57499
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
58565
57500
|
transitionBehavior: 'auto',
|
|
58566
57501
|
wrapperClassName: '',
|
|
58567
|
-
itemClassName: '',
|
|
57502
|
+
itemClassName: 'videoscard',
|
|
58568
57503
|
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
58569
57504
|
}, Object.keys(videosarrayofobjs).length != 0 && videosarrayofobjs.map(function (item, index) {
|
|
58570
57505
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -59390,8 +58325,6 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
59390
58325
|
type = 'number';
|
|
59391
58326
|
} else if (item.type == 'text') {
|
|
59392
58327
|
type = 'text';
|
|
59393
|
-
} else if (item.type == 'phone number') {
|
|
59394
|
-
type = 'phonenumber';
|
|
59395
58328
|
}
|
|
59396
58329
|
if (item.type == 'date') {
|
|
59397
58330
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -59449,40 +58382,6 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
59449
58382
|
}))));
|
|
59450
58383
|
}
|
|
59451
58384
|
};
|
|
59452
|
-
var phonenumber = function phonenumber(item, index) {
|
|
59453
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
59454
|
-
"class": 'col-md-12 col-lg-' + sectionproperties.numberofcolsperrow
|
|
59455
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
59456
|
-
"class": "row m-0 w-100 mb-3"
|
|
59457
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
59458
|
-
"class": "col-lg-12 text-start mb-2 p-0"
|
|
59459
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
59460
|
-
"class": form_cssstyles.formlabel + ' m-0 p-0 ',
|
|
59461
|
-
style: {}
|
|
59462
|
-
}, langdetect == 'en' ? item.title_en : item.title_ar, " ", /*#__PURE__*/React.createElement("sup", {
|
|
59463
|
-
"class": "text-danger"
|
|
59464
|
-
}, item.isrequired == 1 ? '*' : ''))), /*#__PURE__*/React.createElement(PhoneInput, {
|
|
59465
|
-
className: "".concat(formstyles.form_control, " ").concat(form_cssstyles.form_control),
|
|
59466
|
-
country: 'eg',
|
|
59467
|
-
enableSearch: true,
|
|
59468
|
-
autoFormat: true,
|
|
59469
|
-
value: item.value,
|
|
59470
|
-
inputStyle: {
|
|
59471
|
-
color: sectionproperties.inputfieldcolor
|
|
59472
|
-
},
|
|
59473
|
-
onChange: function onChange(event, country) {
|
|
59474
|
-
updateformfield(event, index);
|
|
59475
|
-
// var temp = { ...payloadobj };
|
|
59476
|
-
// temp.mobile = event;
|
|
59477
|
-
// temp.countrydialcode = country.dialCode;
|
|
59478
|
-
// setpayloadobj({ ...temp });
|
|
59479
|
-
},
|
|
59480
|
-
style: {
|
|
59481
|
-
direction: 'ltr',
|
|
59482
|
-
color: sectionproperties.inputfieldcolor
|
|
59483
|
-
}
|
|
59484
|
-
})));
|
|
59485
|
-
};
|
|
59486
58385
|
var textareaitem = function textareaitem(item, index) {
|
|
59487
58386
|
return /*#__PURE__*/React.createElement("div", {
|
|
59488
58387
|
"class": 'col-md-12 col-lg-12'
|
|
@@ -59554,19 +58453,20 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
59554
58453
|
boxShadow: 'none',
|
|
59555
58454
|
transition: '.3s'
|
|
59556
58455
|
}))),
|
|
59557
|
-
generalbtn: css(
|
|
58456
|
+
generalbtn: css({
|
|
59558
58457
|
width: sectionproperties.generalbtn_width + '%',
|
|
59559
58458
|
height: sectionproperties.generalbtn_height + 'px',
|
|
59560
58459
|
backgroundColor: sectionproperties.generalbtn_bgColor,
|
|
59561
|
-
borderRadius: sectionproperties.
|
|
58460
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
59562
58461
|
color: sectionproperties.generalbtn_textColor,
|
|
59563
58462
|
fontSize: sectionproperties.generalbtn_fontsize,
|
|
59564
|
-
fontWeight: sectionproperties.generalbtn_fontweight
|
|
59565
|
-
|
|
59566
|
-
|
|
59567
|
-
|
|
59568
|
-
|
|
59569
|
-
|
|
58463
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
58464
|
+
':hover': {
|
|
58465
|
+
transition: '.3s',
|
|
58466
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
58467
|
+
backgroundColor: sectionproperties.generalbtn_bgColoronhover
|
|
58468
|
+
}
|
|
58469
|
+
}),
|
|
59570
58470
|
btnLeft: css({
|
|
59571
58471
|
width: 40,
|
|
59572
58472
|
height: 40,
|
|
@@ -59597,6 +58497,14 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
59597
58497
|
transition: '.3s',
|
|
59598
58498
|
backgroundColor: '#044da6'
|
|
59599
58499
|
}
|
|
58500
|
+
}),
|
|
58501
|
+
sectiontitle: css({
|
|
58502
|
+
color: sectionproperties.sectionTitleColor,
|
|
58503
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
58504
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
58505
|
+
'@media (max-width: 800px)': {
|
|
58506
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp
|
|
58507
|
+
}
|
|
59600
58508
|
})
|
|
59601
58509
|
};
|
|
59602
58510
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -59640,12 +58548,8 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
59640
58548
|
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
59641
58549
|
}
|
|
59642
58550
|
}, /*#__PURE__*/React.createElement("p", {
|
|
59643
|
-
"class":
|
|
59644
|
-
style: {
|
|
59645
|
-
color: sectionproperties.sectionTitleColor,
|
|
59646
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
59647
|
-
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
59648
|
-
}
|
|
58551
|
+
"class": form_cssstyles.sectiontitle + ' m-0 p-0 ',
|
|
58552
|
+
style: {}
|
|
59649
58553
|
}, langdetect == 'en' ? formtitleen : formtitlear)), (dynamicform === null || dynamicform === void 0 ? void 0 : dynamicform.id) != undefined && /*#__PURE__*/React.createElement("div", {
|
|
59650
58554
|
"class": 'row m-0 w-100 p-3 mt-3'
|
|
59651
58555
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -59766,12 +58670,8 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
59766
58670
|
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
59767
58671
|
}
|
|
59768
58672
|
}, /*#__PURE__*/React.createElement("p", {
|
|
59769
|
-
"class":
|
|
59770
|
-
style: {
|
|
59771
|
-
color: sectionproperties.sectionTitleColor,
|
|
59772
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
59773
|
-
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
59774
|
-
}
|
|
58673
|
+
"class": form_cssstyles.sectiontitle + ' m-0 p-0 ',
|
|
58674
|
+
style: {}
|
|
59775
58675
|
}, langdetect == 'en' ? formtitleen : formtitlear)), (dynamicform === null || dynamicform === void 0 ? void 0 : dynamicform.id) != undefined && /*#__PURE__*/React.createElement("div", {
|
|
59776
58676
|
"class": 'row m-0 w-100 '
|
|
59777
58677
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -59781,8 +58681,6 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
59781
58681
|
}, dynamicform === null || dynamicform === void 0 || (_dynamicform$fields5 = dynamicform.fields) === null || _dynamicform$fields5 === void 0 ? void 0 : _dynamicform$fields5.map(function (item, index) {
|
|
59782
58682
|
if (item.type == 'text' || item.type == 'date' || item.type == 'number') {
|
|
59783
58683
|
return inputitem(item, index);
|
|
59784
|
-
} else if (item.type == 'phone number') {
|
|
59785
|
-
return phonenumber(item, index);
|
|
59786
58684
|
} else if (item.type == 'textarea') {
|
|
59787
58685
|
return textareaitem(item, index);
|
|
59788
58686
|
} else if (item.type == 'selectbox') {
|
|
@@ -59828,19 +58726,14 @@ var DynamicForm = function DynamicForm(props) {
|
|
|
59828
58726
|
"class": "",
|
|
59829
58727
|
color: '#fff'
|
|
59830
58728
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
59831
|
-
"class": "
|
|
59832
|
-
style: {
|
|
59833
|
-
background: sectionproperties.popupbackgroundcolor
|
|
59834
|
-
}
|
|
59835
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
59836
|
-
"class": "col-lg-12 allcentered py-4"
|
|
58729
|
+
"class": "col-lg-12 allcentered my-4 py-4"
|
|
59837
58730
|
}, /*#__PURE__*/React.createElement("p", {
|
|
59838
58731
|
"class": "m-0 p-0",
|
|
59839
58732
|
style: {
|
|
59840
58733
|
fontSize: 20,
|
|
59841
|
-
color:
|
|
58734
|
+
color: '#000'
|
|
59842
58735
|
}
|
|
59843
|
-
}, confirmationtext)))
|
|
58736
|
+
}, confirmationtext))), /*#__PURE__*/React.createElement(Modal.Footer, null)));
|
|
59844
58737
|
};
|
|
59845
58738
|
|
|
59846
58739
|
function ownKeys$$(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -60617,14 +59510,14 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
60617
59510
|
height: '1px',
|
|
60618
59511
|
position: 'relative',
|
|
60619
59512
|
flex: '1 1 auto',
|
|
60620
|
-
minWidth: '10%',
|
|
59513
|
+
// minWidth: '10%',
|
|
60621
59514
|
background: sectionproperties.linebgcolor
|
|
60622
59515
|
}),
|
|
60623
59516
|
line_right: css({
|
|
60624
59517
|
height: '1px',
|
|
60625
59518
|
position: 'relative',
|
|
60626
59519
|
flex: '1 1 auto',
|
|
60627
|
-
minWidth: '10%',
|
|
59520
|
+
// minWidth: '10%',
|
|
60628
59521
|
background: sectionproperties.linebgcolor
|
|
60629
59522
|
}),
|
|
60630
59523
|
btn: css({
|
|
@@ -60662,36 +59555,40 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
60662
59555
|
top: 0,
|
|
60663
59556
|
bottom: 0
|
|
60664
59557
|
}
|
|
59558
|
+
}),
|
|
59559
|
+
sectiontitlecontent: css({
|
|
59560
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
59561
|
+
color: sectionproperties.sectionTitleColor,
|
|
59562
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
59563
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
59564
|
+
// padding: sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? 7 : 0,
|
|
59565
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
59566
|
+
'@media (max-width: 800px)': {
|
|
59567
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
59568
|
+
}
|
|
60665
59569
|
})
|
|
60666
59570
|
};
|
|
60667
59571
|
var SectionTitle = function SectionTitle() {
|
|
60668
59572
|
return /*#__PURE__*/React.createElement("div", {
|
|
60669
|
-
"class": "d-flex align-items-center
|
|
59573
|
+
"class": "d-flex align-items-center allcentered",
|
|
60670
59574
|
style: {
|
|
60671
59575
|
position: 'relative',
|
|
60672
59576
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
60673
|
-
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : ''
|
|
59577
|
+
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
59578
|
+
flexDirection: sectionproperties.sectiontitlestyle == 'Line Under Text' ? 'column' : 'row'
|
|
60674
59579
|
}
|
|
60675
|
-
},
|
|
60676
|
-
"class": section_styles.line_left,
|
|
60677
|
-
style: {
|
|
60678
|
-
marginLeft: langdetect == 'en' ? 0 : sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
|
|
60679
|
-
marginRight: langdetect == 'en' ? sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0 : 0
|
|
60680
|
-
}
|
|
60681
|
-
}), /*#__PURE__*/React.createElement("p", {
|
|
59580
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
60682
59581
|
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? "".concat(section_styles.sectiontitlespan) + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? "".concat(section_styles.sectiontitlespan) + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? "".concat(section_styles.sectiontitlespan) + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? "".concat(section_styles.sectiontitlespan) + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : "".concat(section_styles.sectiontitlespan) + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ',
|
|
59582
|
+
style: {}
|
|
59583
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
59584
|
+
"class": section_styles.sectiontitlecontent
|
|
59585
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.sectiontitlestyle == 'Line Under Text' && /*#__PURE__*/React.createElement("span", {
|
|
60683
59586
|
style: {
|
|
60684
|
-
|
|
60685
|
-
|
|
60686
|
-
|
|
60687
|
-
|
|
60688
|
-
|
|
60689
|
-
}
|
|
60690
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React.createElement("span", {
|
|
60691
|
-
"class": section_styles.line_right,
|
|
60692
|
-
style: {
|
|
60693
|
-
marginRight: langdetect == 'en' ? 0 : sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
|
|
60694
|
-
marginLeft: langdetect == 'en' ? sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0 : 0
|
|
59587
|
+
width: '50%',
|
|
59588
|
+
background: sectionproperties.linebgcolor,
|
|
59589
|
+
height: 3,
|
|
59590
|
+
borderRadius: 10,
|
|
59591
|
+
marginTop: 5
|
|
60695
59592
|
}
|
|
60696
59593
|
}));
|
|
60697
59594
|
};
|
|
@@ -60750,8 +59647,8 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
60750
59647
|
style: {
|
|
60751
59648
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
60752
59649
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
60753
|
-
paddingTop: type == 'responsive' ? '
|
|
60754
|
-
paddingBottom: type == 'responsive' ? '
|
|
59650
|
+
paddingTop: type == 'responsive' ? sectionproperties.paddingverticalresponsive + 'px' : sectionproperties.paddingTop + 'px',
|
|
59651
|
+
paddingBottom: type == 'responsive' ? sectionproperties.paddingverticalresponsive + 'px' : sectionproperties.paddingBottom + 'px',
|
|
60755
59652
|
zIndex: 100,
|
|
60756
59653
|
height: sectionproperties.hideshowcardtransition == 'Show' ? type == 'responsive' ? sectionproperties.height_responsive + 'px' : '' : ''
|
|
60757
59654
|
}
|
|
@@ -60799,7 +59696,45 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
60799
59696
|
"class": "w-100 allcentered",
|
|
60800
59697
|
style: {
|
|
60801
59698
|
background: sectionproperties.outerbgcolor
|
|
59699
|
+
// backgroundImage: sectionproperties.sectionbgstyle == 'Besides each other' ? 'url(' + serverbaselink + maincontainerarrayofobjs[0]?.back_bgimage + ')' : '',
|
|
59700
|
+
}
|
|
59701
|
+
}, sectionproperties.sectionbgstyle == 'Besides each other' && /*#__PURE__*/React.createElement("div", {
|
|
59702
|
+
"class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex justify-content-center align-items-center ',
|
|
59703
|
+
style: {
|
|
59704
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
59705
|
+
marginBottom: sectionproperties.marginBottom + 'px'
|
|
60802
59706
|
}
|
|
59707
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
59708
|
+
"class": "col-lg-12 p-0"
|
|
59709
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
59710
|
+
"class": "row m-0 w-100 allcentered"
|
|
59711
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
59712
|
+
"class": "col-lg-10 col-md-11 mt-3 mb-3",
|
|
59713
|
+
style: {
|
|
59714
|
+
background: 'white',
|
|
59715
|
+
borderRadius: 10,
|
|
59716
|
+
boxShadow: '0 0 10px #ccc',
|
|
59717
|
+
padding: 40
|
|
59718
|
+
}
|
|
59719
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
59720
|
+
"class": "row m-0 w-100"
|
|
59721
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
59722
|
+
"class": "col-lg-3 col-md-12 allcentered"
|
|
59723
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
59724
|
+
"class": "w-100 d-flex allcentered mb-md-4"
|
|
59725
|
+
}, SectionTitle())), /*#__PURE__*/React.createElement("div", {
|
|
59726
|
+
"class": "col-lg-9 col-md-12 p-md-0",
|
|
59727
|
+
style: {
|
|
59728
|
+
paddingLeft: langdetect == 'en' ? '50px' : 0,
|
|
59729
|
+
paddingRight: langdetect == 'ar' ? '50px' : 0
|
|
59730
|
+
}
|
|
59731
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
59732
|
+
"class": "row m-0 w-100 text-start text-md-center",
|
|
59733
|
+
style: {
|
|
59734
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
59735
|
+
}
|
|
59736
|
+
}, Description()))))))), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React.createElement("div", {
|
|
59737
|
+
"class": "row m-0 w-100"
|
|
60803
59738
|
}, /*#__PURE__*/React.createElement("div", {
|
|
60804
59739
|
"class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex d-md-none justify-content-center align-items-center ',
|
|
60805
59740
|
style: {
|
|
@@ -60814,7 +59749,7 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
60814
59749
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
60815
59750
|
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof3 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof3 === void 0 ? void 0 : _maincontainerarrayof3.back_bgimage) + ')' : '' : ''
|
|
60816
59751
|
}
|
|
60817
|
-
}, SectionContent('responsive')));
|
|
59752
|
+
}, SectionContent('responsive'))));
|
|
60818
59753
|
};
|
|
60819
59754
|
|
|
60820
59755
|
function ownKeys$W(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -60887,6 +59822,28 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
60887
59822
|
color: sectionproperties.generalbtn_textColoronhover
|
|
60888
59823
|
}
|
|
60889
59824
|
}),
|
|
59825
|
+
btn2: css({
|
|
59826
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
59827
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
59828
|
+
// backgroundColor: sectionproperties.generalbtn_bgColor,
|
|
59829
|
+
color: sectionproperties.generalbtn_bgColoronhover,
|
|
59830
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
59831
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
59832
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
59833
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
59834
|
+
border: '1px solid ' + sectionproperties.generalbtn_bgColoronhover,
|
|
59835
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
59836
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
59837
|
+
marginTop: sectionproperties.generalbtn_marginTop + 'px',
|
|
59838
|
+
marginBottom: sectionproperties.generalbtn_marginBottom + 'px',
|
|
59839
|
+
transition: '.3s',
|
|
59840
|
+
cursor: 'pointer',
|
|
59841
|
+
':hover': {
|
|
59842
|
+
// backgroundColor: sectionproperties.generalbtn_bgColoronhover,
|
|
59843
|
+
color: sectionproperties.sectionproperties,
|
|
59844
|
+
borderColor: sectionproperties.sectionproperties
|
|
59845
|
+
}
|
|
59846
|
+
}),
|
|
60890
59847
|
sectiontitlespan: css({
|
|
60891
59848
|
paddingLeft: sectionproperties.sectiontitleborderradius == 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
|
|
60892
59849
|
paddingRight: sectionproperties.sectiontitleborderradius == 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0,
|
|
@@ -60901,7 +59858,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
60901
59858
|
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
60902
59859
|
display: 'block',
|
|
60903
59860
|
backgroundColor: sectionproperties.linebgcolor,
|
|
60904
|
-
borderRadius: '6px'
|
|
59861
|
+
borderRadius: '6px',
|
|
59862
|
+
marginTop: 15
|
|
60905
59863
|
}
|
|
60906
59864
|
}),
|
|
60907
59865
|
facebook_btn: css({
|
|
@@ -61010,11 +59968,11 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61010
59968
|
};
|
|
61011
59969
|
var SectionTitle = function SectionTitle() {
|
|
61012
59970
|
return /*#__PURE__*/React.createElement("p", {
|
|
61013
|
-
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ',
|
|
59971
|
+
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start text-md-center ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start text-md-center ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start text-md-center ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start text-md-center ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start text-md-center ' : ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start text-md-center ',
|
|
61014
59972
|
style: {
|
|
61015
59973
|
color: sectionproperties.sectionTitleColor,
|
|
61016
59974
|
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
61017
|
-
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
59975
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
61018
59976
|
}
|
|
61019
59977
|
}, sectionproperties.sectiontitlestyle == 'Line Under Text' && /*#__PURE__*/React.createElement("span", {
|
|
61020
59978
|
"class": "".concat(section_styles.sectiontitlespan) + ' pl-md-2 pr-md-2 left-md-0 '
|
|
@@ -61042,8 +60000,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61042
60000
|
borderRadius: sectionproperties.reservation_borderradius + 'px'
|
|
61043
60001
|
}
|
|
61044
60002
|
}, /*#__PURE__*/React.createElement("div", {
|
|
61045
|
-
"class": sectionproperties.justifyContentCenter == 'Centered' ? section_styles.rightinnercont + ' row m-0 w-100 h-100 ' : section_styles.rightinnercont + ' row m-0 w-100 mb-auto h-100 ',
|
|
61046
|
-
style: {
|
|
60003
|
+
"class": sectionproperties.justifyContentCenter == 'Centered' ? section_styles.rightinnercont + ' row m-0 w-100 h-100 ' : section_styles.rightinnercont + ' row m-0 w-100 mb-auto h-100 py-md-4 ',
|
|
60004
|
+
style: {
|
|
60005
|
+
// padding: 20,
|
|
60006
|
+
}
|
|
61047
60007
|
}, /*#__PURE__*/React.createElement("div", {
|
|
61048
60008
|
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex ',
|
|
61049
60009
|
style: {
|
|
@@ -61182,7 +60142,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61182
60142
|
})))));
|
|
61183
60143
|
};
|
|
61184
60144
|
var Image = function Image() {
|
|
61185
|
-
var _imagesarray$, _imagesarray$7, _imagesarray$8;
|
|
60145
|
+
var _imagesarray$, _imagesarray$7, _imagesarray$8, _imagesarray$9, _imagesarray$10;
|
|
61186
60146
|
return /*#__PURE__*/React.createElement("div", {
|
|
61187
60147
|
"class": sectionproperties.image_height == 0 ? sectionproperties.sectionstyle == 'Image on right' ? 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-md-0' : 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-md-0' : sectionproperties.sectionstyle == 'Image on left' ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-md-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-md-0',
|
|
61188
60148
|
style: {
|
|
@@ -61204,29 +60164,43 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61204
60164
|
}
|
|
61205
60165
|
}
|
|
61206
60166
|
}
|
|
60167
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
60168
|
+
"class": "col-lg-12 p-0 d-flex d-md-none justify-content-center align-items-center"
|
|
61207
60169
|
}, imagesarray.length != 0 && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
61208
60170
|
"class": section_styles.imageimage,
|
|
61209
60171
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
61210
60172
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
61211
60173
|
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),
|
|
61212
60174
|
style: {}
|
|
61213
|
-
}))
|
|
60175
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
60176
|
+
"class": "col-lg-12 p-0 d-none d-md-flex justify-content-center align-items-center"
|
|
60177
|
+
}, imagesarray.length != 0 && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
60178
|
+
"class": section_styles.imageimage,
|
|
60179
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
60180
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
60181
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$9 = imagesarray[0]) === null || _imagesarray$9 === void 0 ? void 0 : _imagesarray$9.bgsection_imageresponsive) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$10 = imagesarray[0]) === null || _imagesarray$10 === void 0 ? void 0 : _imagesarray$10.bgsection_imageresponsive_ar),
|
|
60182
|
+
style: {}
|
|
60183
|
+
})));
|
|
61214
60184
|
};
|
|
61215
60185
|
return /*#__PURE__*/React.createElement("div", {
|
|
61216
|
-
"class":
|
|
60186
|
+
"class": "row m-0 w-100 allcentered"
|
|
60187
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
60188
|
+
"class": ' row ml-0 mr-0 d-flex justify-content-between align-items-center ',
|
|
61217
60189
|
style: {
|
|
61218
60190
|
marginTop: sectionproperties.marginTop + 'px',
|
|
61219
60191
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
61220
|
-
background: sectionproperties.backgroundColor
|
|
60192
|
+
background: sectionproperties.backgroundColor,
|
|
60193
|
+
width: sectionproperties.width + 'vw',
|
|
60194
|
+
borderRadius: sectionproperties.sectioncardborderradius + 'px'
|
|
61221
60195
|
}
|
|
61222
60196
|
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
61223
|
-
"class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100 mx-auto' : sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center w-md-100 mx-auto',
|
|
60197
|
+
"class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-100 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-100 w-md-100 mx-auto' : sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center w-100 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center w-100 w-md-100 mx-auto',
|
|
61224
60198
|
style: {
|
|
61225
60199
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
61226
60200
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
61227
|
-
width: sectionproperties.width + 'vw',
|
|
61228
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
61229
|
-
borderRadius: sectionproperties.sectioncardborderradius + 'px'
|
|
60201
|
+
// width: sectionproperties.width + 'vw',
|
|
60202
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
60203
|
+
// borderRadius: sectionproperties.sectioncardborderradius + 'px',
|
|
61230
60204
|
}
|
|
61231
60205
|
}, /*#__PURE__*/React.createElement("div", {
|
|
61232
60206
|
"class":
|
|
@@ -61257,10 +60231,13 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61257
60231
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
61258
60232
|
}
|
|
61259
60233
|
}, /*#__PURE__*/React.createElement("div", {
|
|
61260
|
-
"class": sectionproperties.image_show == 'show' ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center
|
|
60234
|
+
"class": sectionproperties.image_show == 'show' ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center px-md-0 ' : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center px-md-0 ',
|
|
61261
60235
|
style: {
|
|
61262
60236
|
background: sectionproperties.reservation_bgcolor,
|
|
61263
|
-
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
60237
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
60238
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
60239
|
+
paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
60240
|
+
paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px'
|
|
61264
60241
|
}
|
|
61265
60242
|
}, /*#__PURE__*/React.createElement("div", {
|
|
61266
60243
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
@@ -61277,6 +60254,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61277
60254
|
style: {
|
|
61278
60255
|
position: 'relative',
|
|
61279
60256
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
60257
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
61280
60258
|
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
61281
60259
|
backgroundColor: sectionproperties.sectiontitlebgcolor,
|
|
61282
60260
|
borderRadius: sectionproperties.sectiontitleborderradius + 'px',
|
|
@@ -61340,7 +60318,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61340
60318
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61341
60319
|
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
61342
60320
|
}, /*#__PURE__*/React.createElement("button", {
|
|
61343
|
-
"class": "".concat(section_styles.
|
|
60321
|
+
"class": "".concat(section_styles.btn2) + ' m-md-0 ',
|
|
61344
60322
|
onClick: function onClick() {
|
|
61345
60323
|
if (sectionproperties.btntype == 'WhatsApp') {
|
|
61346
60324
|
var _authdetailsContext$i9;
|
|
@@ -61359,7 +60337,27 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61359
60337
|
marginLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
61360
60338
|
marginRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
61361
60339
|
}
|
|
61362
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)
|
|
60340
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar), sectionproperties.showbtn2 == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
60341
|
+
"class": "".concat(section_styles.btn) + ' mx-1 ',
|
|
60342
|
+
onClick: function onClick() {
|
|
60343
|
+
if (sectionproperties.btntype == 'WhatsApp') {
|
|
60344
|
+
var _authdetailsContext$i11;
|
|
60345
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.whatsappnumber) != null) {
|
|
60346
|
+
var _authdetailsContext$i12;
|
|
60347
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.whatsappnumber), '_blank');
|
|
60348
|
+
}
|
|
60349
|
+
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
60350
|
+
// window.open(sectionproperties.btnlink, '_target');
|
|
60351
|
+
routingcountext(sectionproperties.btnlink2, false, '');
|
|
60352
|
+
} else {
|
|
60353
|
+
window.open(sectionproperties.btnlink2, '_blank');
|
|
60354
|
+
}
|
|
60355
|
+
},
|
|
60356
|
+
style: {
|
|
60357
|
+
marginLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
60358
|
+
marginRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
60359
|
+
}
|
|
60360
|
+
}, langdetect == 'en' ? 'Subscribe' : 'اشترك الان')), /*#__PURE__*/React.createElement("div", {
|
|
61363
60361
|
"class": "col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center",
|
|
61364
60362
|
style: {
|
|
61365
60363
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -61369,10 +60367,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61369
60367
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61370
60368
|
"class": "".concat(section_styles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
61371
60369
|
onClick: function onClick() {
|
|
61372
|
-
var _authdetailsContext$
|
|
61373
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61374
|
-
var _authdetailsContext$
|
|
61375
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60370
|
+
var _authdetailsContext$i13;
|
|
60371
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.facebooklink) != null) {
|
|
60372
|
+
var _authdetailsContext$i14;
|
|
60373
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.facebooklink, '_blank');
|
|
61376
60374
|
}
|
|
61377
60375
|
}
|
|
61378
60376
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
@@ -61380,10 +60378,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61380
60378
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61381
60379
|
"class": "".concat(section_styles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
61382
60380
|
onClick: function onClick() {
|
|
61383
|
-
var _authdetailsContext$
|
|
61384
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61385
|
-
var _authdetailsContext$
|
|
61386
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60381
|
+
var _authdetailsContext$i15;
|
|
60382
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instagramlink) != null) {
|
|
60383
|
+
var _authdetailsContext$i16;
|
|
60384
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.instagramlink, '_blank');
|
|
61387
60385
|
}
|
|
61388
60386
|
}
|
|
61389
60387
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
@@ -61391,10 +60389,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61391
60389
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61392
60390
|
"class": "".concat(section_styles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
61393
60391
|
onClick: function onClick() {
|
|
61394
|
-
var _authdetailsContext$
|
|
61395
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61396
|
-
var _authdetailsContext$
|
|
61397
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60392
|
+
var _authdetailsContext$i17;
|
|
60393
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.whatsappnumber) != null) {
|
|
60394
|
+
var _authdetailsContext$i18;
|
|
60395
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.whatsappnumber), '_blank');
|
|
61398
60396
|
}
|
|
61399
60397
|
}
|
|
61400
60398
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
@@ -61408,10 +60406,11 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61408
60406
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
61409
60407
|
}
|
|
61410
60408
|
}, /*#__PURE__*/React.createElement("div", {
|
|
61411
|
-
"class": sectionproperties.image_show == 'show' ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 ' : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 ',
|
|
60409
|
+
"class": sectionproperties.image_show == 'show' ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 mb-md-3 ' : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 mb-md-3 ',
|
|
61412
60410
|
style: {
|
|
61413
60411
|
background: sectionproperties.reservation_bgcolor,
|
|
61414
|
-
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
60412
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
60413
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px'
|
|
61415
60414
|
}
|
|
61416
60415
|
}, /*#__PURE__*/React.createElement("div", {
|
|
61417
60416
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
@@ -61494,10 +60493,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61494
60493
|
"class": "".concat(section_styles.btn) + ' m-md-0 ',
|
|
61495
60494
|
onClick: function onClick() {
|
|
61496
60495
|
if (sectionproperties.btntype == 'WhatsApp') {
|
|
61497
|
-
var _authdetailsContext$
|
|
61498
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61499
|
-
var _authdetailsContext$
|
|
61500
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60496
|
+
var _authdetailsContext$i19;
|
|
60497
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.whatsappnumber) != null) {
|
|
60498
|
+
var _authdetailsContext$i20;
|
|
60499
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.whatsappnumber), '_blank');
|
|
61501
60500
|
}
|
|
61502
60501
|
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
61503
60502
|
// window.open(sectionproperties.btnlink, '_target');
|
|
@@ -61520,10 +60519,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61520
60519
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61521
60520
|
"class": "".concat(section_styles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
61522
60521
|
onClick: function onClick() {
|
|
61523
|
-
var _authdetailsContext$
|
|
61524
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61525
|
-
var _authdetailsContext$
|
|
61526
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60522
|
+
var _authdetailsContext$i21;
|
|
60523
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.facebooklink) != null) {
|
|
60524
|
+
var _authdetailsContext$i22;
|
|
60525
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.facebooklink, '_blank');
|
|
61527
60526
|
}
|
|
61528
60527
|
}
|
|
61529
60528
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
@@ -61531,10 +60530,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61531
60530
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61532
60531
|
"class": "".concat(section_styles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
61533
60532
|
onClick: function onClick() {
|
|
61534
|
-
var _authdetailsContext$
|
|
61535
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61536
|
-
var _authdetailsContext$
|
|
61537
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60533
|
+
var _authdetailsContext$i23;
|
|
60534
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.instagramlink) != null) {
|
|
60535
|
+
var _authdetailsContext$i24;
|
|
60536
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.instagramlink, '_blank');
|
|
61538
60537
|
}
|
|
61539
60538
|
}
|
|
61540
60539
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
@@ -61542,10 +60541,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61542
60541
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61543
60542
|
"class": "".concat(section_styles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
61544
60543
|
onClick: function onClick() {
|
|
61545
|
-
var _authdetailsContext$
|
|
61546
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61547
|
-
var _authdetailsContext$
|
|
61548
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60544
|
+
var _authdetailsContext$i25;
|
|
60545
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.whatsappnumber) != null) {
|
|
60546
|
+
var _authdetailsContext$i26;
|
|
60547
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.whatsappnumber), '_blank');
|
|
61549
60548
|
}
|
|
61550
60549
|
}
|
|
61551
60550
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
@@ -61559,10 +60558,13 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61559
60558
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
61560
60559
|
}
|
|
61561
60560
|
}, sectionproperties.image_show == 'show' && Image(), /*#__PURE__*/React.createElement("div", {
|
|
61562
|
-
"class": sectionproperties.image_show == 'show' ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center
|
|
60561
|
+
"class": sectionproperties.image_show == 'show' ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center px-md-0 ' : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center px-md-0 ',
|
|
61563
60562
|
style: {
|
|
61564
60563
|
background: sectionproperties.reservation_bgcolor,
|
|
61565
|
-
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
60564
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
60565
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
60566
|
+
paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
60567
|
+
paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px'
|
|
61566
60568
|
}
|
|
61567
60569
|
}, /*#__PURE__*/React.createElement("div", {
|
|
61568
60570
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
@@ -61642,13 +60644,13 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61642
60644
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61643
60645
|
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
61644
60646
|
}, /*#__PURE__*/React.createElement("button", {
|
|
61645
|
-
"class": "".concat(section_styles.
|
|
60647
|
+
"class": "".concat(section_styles.btn2) + ' m-md-0 ',
|
|
61646
60648
|
onClick: function onClick() {
|
|
61647
60649
|
if (sectionproperties.btntype == 'WhatsApp') {
|
|
61648
|
-
var _authdetailsContext$
|
|
61649
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61650
|
-
var _authdetailsContext$
|
|
61651
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60650
|
+
var _authdetailsContext$i27;
|
|
60651
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.whatsappnumber) != null) {
|
|
60652
|
+
var _authdetailsContext$i28;
|
|
60653
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.whatsappnumber), '_blank');
|
|
61652
60654
|
}
|
|
61653
60655
|
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
61654
60656
|
// window.open(sectionproperties.btnlink, '_target');
|
|
@@ -61661,7 +60663,27 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61661
60663
|
marginLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
61662
60664
|
marginRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
61663
60665
|
}
|
|
61664
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)
|
|
60666
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar), /*#__PURE__*/React.createElement("button", {
|
|
60667
|
+
"class": "".concat(section_styles.btn) + ' mx-1 ',
|
|
60668
|
+
onClick: function onClick() {
|
|
60669
|
+
if (sectionproperties.btntype == 'WhatsApp') {
|
|
60670
|
+
var _authdetailsContext$i29;
|
|
60671
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.whatsappnumber) != null) {
|
|
60672
|
+
var _authdetailsContext$i30;
|
|
60673
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.whatsappnumber), '_blank');
|
|
60674
|
+
}
|
|
60675
|
+
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
60676
|
+
// window.open(sectionproperties.btnlink, '_target');
|
|
60677
|
+
routingcountext(sectionproperties.btnlink2, false, '');
|
|
60678
|
+
} else {
|
|
60679
|
+
window.open(sectionproperties.btnlink2, '_blank');
|
|
60680
|
+
}
|
|
60681
|
+
},
|
|
60682
|
+
style: {
|
|
60683
|
+
marginLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
60684
|
+
marginRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
60685
|
+
}
|
|
60686
|
+
}, langdetect == 'en' ? 'Subscribe' : 'اشترك الان')), /*#__PURE__*/React.createElement("div", {
|
|
61665
60687
|
"class": "col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center",
|
|
61666
60688
|
style: {
|
|
61667
60689
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -61671,10 +60693,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61671
60693
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61672
60694
|
"class": "".concat(section_styles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
61673
60695
|
onClick: function onClick() {
|
|
61674
|
-
var _authdetailsContext$
|
|
61675
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61676
|
-
var _authdetailsContext$
|
|
61677
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60696
|
+
var _authdetailsContext$i31;
|
|
60697
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.facebooklink) != null) {
|
|
60698
|
+
var _authdetailsContext$i32;
|
|
60699
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.facebooklink, '_blank');
|
|
61678
60700
|
}
|
|
61679
60701
|
}
|
|
61680
60702
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
@@ -61682,10 +60704,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61682
60704
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61683
60705
|
"class": "".concat(section_styles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
61684
60706
|
onClick: function onClick() {
|
|
61685
|
-
var _authdetailsContext$
|
|
61686
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61687
|
-
var _authdetailsContext$
|
|
61688
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60707
|
+
var _authdetailsContext$i33;
|
|
60708
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.instagramlink) != null) {
|
|
60709
|
+
var _authdetailsContext$i34;
|
|
60710
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.instagramlink, '_blank');
|
|
61689
60711
|
}
|
|
61690
60712
|
}
|
|
61691
60713
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
@@ -61693,10 +60715,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61693
60715
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61694
60716
|
"class": "".concat(section_styles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
61695
60717
|
onClick: function onClick() {
|
|
61696
|
-
var _authdetailsContext$
|
|
61697
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61698
|
-
var _authdetailsContext$
|
|
61699
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60718
|
+
var _authdetailsContext$i35;
|
|
60719
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.whatsappnumber) != null) {
|
|
60720
|
+
var _authdetailsContext$i36;
|
|
60721
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.whatsappnumber), '_blank');
|
|
61700
60722
|
}
|
|
61701
60723
|
}
|
|
61702
60724
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
@@ -61796,10 +60818,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61796
60818
|
"class": "".concat(section_styles.btn) + ' m-md-0 ',
|
|
61797
60819
|
onClick: function onClick() {
|
|
61798
60820
|
if (sectionproperties.btntype == 'WhatsApp') {
|
|
61799
|
-
var _authdetailsContext$
|
|
61800
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61801
|
-
var _authdetailsContext$
|
|
61802
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60821
|
+
var _authdetailsContext$i37;
|
|
60822
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.whatsappnumber) != null) {
|
|
60823
|
+
var _authdetailsContext$i38;
|
|
60824
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.whatsappnumber), '_blank');
|
|
61803
60825
|
}
|
|
61804
60826
|
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
61805
60827
|
// window.open(sectionproperties.btnlink, '_target');
|
|
@@ -61822,10 +60844,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61822
60844
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61823
60845
|
"class": "".concat(section_styles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
61824
60846
|
onClick: function onClick() {
|
|
61825
|
-
var _authdetailsContext$
|
|
61826
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61827
|
-
var _authdetailsContext$
|
|
61828
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60847
|
+
var _authdetailsContext$i39;
|
|
60848
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.facebooklink) != null) {
|
|
60849
|
+
var _authdetailsContext$i40;
|
|
60850
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.facebooklink, '_blank');
|
|
61829
60851
|
}
|
|
61830
60852
|
}
|
|
61831
60853
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
@@ -61833,10 +60855,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61833
60855
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61834
60856
|
"class": "".concat(section_styles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
61835
60857
|
onClick: function onClick() {
|
|
61836
|
-
var _authdetailsContext$
|
|
61837
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61838
|
-
var _authdetailsContext$
|
|
61839
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60858
|
+
var _authdetailsContext$i41;
|
|
60859
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.instagramlink) != null) {
|
|
60860
|
+
var _authdetailsContext$i42;
|
|
60861
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.instagramlink, '_blank');
|
|
61840
60862
|
}
|
|
61841
60863
|
}
|
|
61842
60864
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
@@ -61844,10 +60866,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61844
60866
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61845
60867
|
"class": "".concat(section_styles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
61846
60868
|
onClick: function onClick() {
|
|
61847
|
-
var _authdetailsContext$
|
|
61848
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61849
|
-
var _authdetailsContext$
|
|
61850
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60869
|
+
var _authdetailsContext$i43;
|
|
60870
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.whatsappnumber) != null) {
|
|
60871
|
+
var _authdetailsContext$i44;
|
|
60872
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.whatsappnumber), '_blank');
|
|
61851
60873
|
}
|
|
61852
60874
|
}
|
|
61853
60875
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
@@ -61914,7 +60936,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
61914
60936
|
}
|
|
61915
60937
|
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
|
|
61916
60938
|
"class": "w-100 mb-md-3"
|
|
61917
|
-
}, " ", Image()), Content())))));
|
|
60939
|
+
}, " ", Image()), Content()))))));
|
|
61918
60940
|
};
|
|
61919
60941
|
|
|
61920
60942
|
function ownKeys$V(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -62141,7 +61163,7 @@ var Servicesection = function Servicesection(props) {
|
|
|
62141
61163
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr);
|
|
62142
61164
|
};
|
|
62143
61165
|
return /*#__PURE__*/React.createElement("div", {
|
|
62144
|
-
"class": ' row ml-0 mr-0 align-items-center
|
|
61166
|
+
"class": ' row ml-0 mr-0 align-items-center ',
|
|
62145
61167
|
style: {
|
|
62146
61168
|
width: sectionproperties.width + 'vw',
|
|
62147
61169
|
marginTop: sectionproperties.marginTop + 'px',
|
|
@@ -62247,7 +61269,7 @@ var Servicesection = function Servicesection(props) {
|
|
|
62247
61269
|
"class": "row m-0 w-100 d-flex justify-content-center justify-content-md-start"
|
|
62248
61270
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
62249
61271
|
return /*#__PURE__*/React.createElement("div", {
|
|
62250
|
-
"class": "col-lg-
|
|
61272
|
+
"class": "col-lg-4 col-md-12 col-sm-12 d-flex align-items-center justify-content-center justify-content-md-start"
|
|
62251
61273
|
}, /*#__PURE__*/React.createElement("div", {
|
|
62252
61274
|
// class="m-lg-auto d-flex justify-content-center"
|
|
62253
61275
|
"class": sectionproperties.innersectionbordertype != 'All' ? 'm-sm-auto d-flex justify-content-center border-md-none w-100' : 'm-lg-auto d-flex justify-content-center',
|
|
@@ -62271,7 +61293,7 @@ var Servicesection = function Servicesection(props) {
|
|
|
62271
61293
|
window.open(cardinfoitem.btnlink, '_blank');
|
|
62272
61294
|
}
|
|
62273
61295
|
}
|
|
62274
|
-
},
|
|
61296
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
62275
61297
|
"class": "d-flex d-sm-none",
|
|
62276
61298
|
style: {
|
|
62277
61299
|
width: sectionproperties.image_width + 'px',
|
|
@@ -62289,7 +61311,7 @@ var Servicesection = function Servicesection(props) {
|
|
|
62289
61311
|
width: '100%',
|
|
62290
61312
|
objectFit: 'cover'
|
|
62291
61313
|
}
|
|
62292
|
-
})),
|
|
61314
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
62293
61315
|
"class": "d-none d-sm-flex mt-auto mb-auto",
|
|
62294
61316
|
style: {
|
|
62295
61317
|
width: 35,
|
|
@@ -62338,22 +61360,89 @@ var Servicesection = function Servicesection(props) {
|
|
|
62338
61360
|
|
|
62339
61361
|
function ownKeys$T(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
62340
61362
|
function _objectSpread$T(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$T(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$T(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
61363
|
+
// const minuteSeconds = 60;
|
|
61364
|
+
// const hourSeconds = 3600;
|
|
61365
|
+
// const daySeconds = 86400;
|
|
61366
|
+
|
|
61367
|
+
// const timerProps = {
|
|
61368
|
+
// isPlaying: true,
|
|
61369
|
+
// size: 120,
|
|
61370
|
+
// strokeWidth: 6,
|
|
61371
|
+
// };
|
|
61372
|
+
|
|
61373
|
+
var formatTime = function formatTime(time) {
|
|
61374
|
+
var days = Math.floor(time / (60 * 60 * 24));
|
|
61375
|
+
var hours = Math.floor(time % (60 * 60 * 24) / (60 * 60));
|
|
61376
|
+
var minutes = Math.floor(time % (60 * 60) / 60);
|
|
61377
|
+
var seconds = time % 60;
|
|
61378
|
+
return {
|
|
61379
|
+
days: days,
|
|
61380
|
+
hours: hours,
|
|
61381
|
+
minutes: minutes,
|
|
61382
|
+
seconds: seconds
|
|
61383
|
+
};
|
|
61384
|
+
};
|
|
61385
|
+
// const renderTime = (dimension, time) => {
|
|
61386
|
+
// return (
|
|
61387
|
+
// <div className="time-wrapper">
|
|
61388
|
+
// <div className="time">{time}</div>
|
|
61389
|
+
// <div>{dimension}</div>
|
|
61390
|
+
// </div>
|
|
61391
|
+
// );
|
|
61392
|
+
// };
|
|
61393
|
+
|
|
61394
|
+
// const getTimeSeconds = (time) => (minuteSeconds - time) | 0;
|
|
61395
|
+
// const getTimeMinutes = (time) => ((time % hourSeconds) / minuteSeconds) | 0;
|
|
61396
|
+
// const getTimeHours = (time) => ((time % daySeconds) / hourSeconds) | 0;
|
|
61397
|
+
// const getTimeDays = (time) => (time / daySeconds) | 0;
|
|
61398
|
+
|
|
62341
61399
|
var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
62342
61400
|
var _maincontainerarrayof;
|
|
62343
|
-
var
|
|
61401
|
+
var targetStartDate = new Date('2024-12-16T12:00:00');
|
|
61402
|
+
var _useState = useState(0),
|
|
62344
61403
|
_useState2 = _slicedToArray(_useState, 2),
|
|
62345
|
-
|
|
62346
|
-
|
|
62347
|
-
var _useState3 = useState(
|
|
61404
|
+
remainingTimeInSeconds = _useState2[0],
|
|
61405
|
+
setRemainingTimeInSeconds = _useState2[1];
|
|
61406
|
+
var _useState3 = useState(''),
|
|
62348
61407
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
62349
|
-
|
|
62350
|
-
|
|
61408
|
+
sectionproperties = _useState4[0],
|
|
61409
|
+
setsectionproperties = _useState4[1];
|
|
61410
|
+
var _useState5 = useState([]),
|
|
61411
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
61412
|
+
cardsarray = _useState6[0],
|
|
61413
|
+
setcardsarray = _useState6[1];
|
|
62351
61414
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
62352
61415
|
props.actions.lang;
|
|
62353
61416
|
var langdetect = props.actions.langdetect;
|
|
62354
61417
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
62355
61418
|
var routingcountext = props.actions.routingcountext;
|
|
62356
61419
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
61420
|
+
|
|
61421
|
+
// const remainingTime = endTime - stratTime;
|
|
61422
|
+
// // const days = Math.ceil(remainingTime / daySeconds);
|
|
61423
|
+
// const daysDuration = days * daySeconds;
|
|
61424
|
+
useEffect(function () {
|
|
61425
|
+
var interval = setInterval(function () {
|
|
61426
|
+
var currentTime = new Date();
|
|
61427
|
+
var differenceInSeconds = Math.max(Math.floor((targetStartDate - currentTime) / 1000), 0);
|
|
61428
|
+
setRemainingTimeInSeconds(differenceInSeconds);
|
|
61429
|
+
}, 1000); // Update every second
|
|
61430
|
+
|
|
61431
|
+
return function () {
|
|
61432
|
+
return clearInterval(interval);
|
|
61433
|
+
}; // Cleanup interval on unmount
|
|
61434
|
+
}, [targetStartDate]);
|
|
61435
|
+
|
|
61436
|
+
// Format the remaining time into days, hours, minutes, and seconds
|
|
61437
|
+
var _formatTime = formatTime(remainingTimeInSeconds),
|
|
61438
|
+
days = _formatTime.days,
|
|
61439
|
+
hours = _formatTime.hours,
|
|
61440
|
+
minutes = _formatTime.minutes,
|
|
61441
|
+
seconds = _formatTime.seconds;
|
|
61442
|
+
var _useState7 = useState([]),
|
|
61443
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
61444
|
+
maincontainerarrayofobjs = _useState8[0],
|
|
61445
|
+
setmaincontainerarrayofobjs = _useState8[1];
|
|
62357
61446
|
useEffect(function () {
|
|
62358
61447
|
var secpropobj = {};
|
|
62359
61448
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -62375,10 +61464,6 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
62375
61464
|
}
|
|
62376
61465
|
}
|
|
62377
61466
|
}, [sectionproperties]);
|
|
62378
|
-
var _useState5 = useState([]),
|
|
62379
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
62380
|
-
maincontainerarrayofobjs = _useState6[0],
|
|
62381
|
-
setmaincontainerarrayofobjs = _useState6[1];
|
|
62382
61467
|
useEffect(function () {
|
|
62383
61468
|
if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
|
|
62384
61469
|
var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
|
|
@@ -62483,6 +61568,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
62483
61568
|
}
|
|
62484
61569
|
}),
|
|
62485
61570
|
cardContainer: css({
|
|
61571
|
+
background: sectionproperties.reservation_bgcolor,
|
|
62486
61572
|
':hover .imageContainer': {
|
|
62487
61573
|
transition: '.3s',
|
|
62488
61574
|
backgroundColor: sectionproperties.activedotcolor
|
|
@@ -62490,6 +61576,9 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
62490
61576
|
':hover .text1Styles': {
|
|
62491
61577
|
transition: '.3s',
|
|
62492
61578
|
color: sectionproperties.text1secondarycolor
|
|
61579
|
+
},
|
|
61580
|
+
':hover': {
|
|
61581
|
+
background: sectionproperties.innersectionbgcolorhover
|
|
62493
61582
|
}
|
|
62494
61583
|
}),
|
|
62495
61584
|
btnstyles: css({
|
|
@@ -62498,7 +61587,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
62498
61587
|
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
62499
61588
|
color: sectionproperties.generalbtn_textColor,
|
|
62500
61589
|
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
62501
|
-
textDecoration: sectionproperties.textdecoration == 'None' ? 'none' : 'underline',
|
|
61590
|
+
// textDecoration: sectionproperties.textdecoration == 'None' ? 'none' : 'underline',
|
|
62502
61591
|
backgroundColor: sectionproperties.generalbtn_bgColor,
|
|
62503
61592
|
borderRadius: sectionproperties.generalbtnborderradius,
|
|
62504
61593
|
':hover': {
|
|
@@ -62570,18 +61659,22 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
62570
61659
|
paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
|
|
62571
61660
|
}
|
|
62572
61661
|
}, /*#__PURE__*/React.createElement("div", {
|
|
62573
|
-
"class": "d-flex align-items-center flex-
|
|
61662
|
+
"class": "d-flex align-items-center flex-column allcentered",
|
|
62574
61663
|
style: {
|
|
62575
61664
|
position: 'relative',
|
|
62576
61665
|
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : ''
|
|
62577
61666
|
}
|
|
62578
|
-
},
|
|
62579
|
-
"class": sectionStyles.line_left
|
|
62580
|
-
}), /*#__PURE__*/React.createElement("p", {
|
|
61667
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
62581
61668
|
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? "".concat(sectionStyles.sectiontitlespan) + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? "".concat(sectionStyles.sectiontitlespan) + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? "".concat(sectionStyles.sectiontitlespan) + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? "".concat(sectionStyles.sectiontitlespan) + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? "".concat(sectionStyles.sectiontitlespan) + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center ' : "".concat(sectionStyles.sectiontitlespan) + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center ',
|
|
62582
61669
|
style: {}
|
|
62583
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line
|
|
62584
|
-
|
|
61670
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Under Text' && /*#__PURE__*/React.createElement("span", {
|
|
61671
|
+
style: {
|
|
61672
|
+
width: '50%',
|
|
61673
|
+
background: sectionproperties.linebgcolor,
|
|
61674
|
+
height: 3,
|
|
61675
|
+
borderRadius: 10,
|
|
61676
|
+
marginTop: 5
|
|
61677
|
+
}
|
|
62585
61678
|
})))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
62586
61679
|
"class": ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center px-sm-3',
|
|
62587
61680
|
style: {
|
|
@@ -62593,10 +61686,215 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
62593
61686
|
}, /*#__PURE__*/React.createElement("p", {
|
|
62594
61687
|
"class": sectionproperties.descFontFamily == 'Pacifico' ? sectionStyles.descriptioncont + ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? sectionStyles.descriptioncont + ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? sectionStyles.descriptioncont + ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? sectionStyles.descriptioncont + ' QuicksandFont m-0 p-0 wordbreak' : sectionStyles.descriptioncont + ' m-0 p-0 wordbreak',
|
|
62595
61688
|
style: {}
|
|
62596
|
-
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)),
|
|
61689
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), sectionproperties.showcountdown == 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
61690
|
+
"class": "row m-0 w-100 allcentered"
|
|
61691
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61692
|
+
className: "col-3 col-sm-6 allcentered mb-md-3"
|
|
61693
|
+
}, /*#__PURE__*/React.createElement(CountdownCircleTimer, {
|
|
61694
|
+
isPlaying: true,
|
|
61695
|
+
duration: remainingTimeInSeconds,
|
|
61696
|
+
colors: "#013c48",
|
|
61697
|
+
strokeWidth: 8,
|
|
61698
|
+
size: 120,
|
|
61699
|
+
initialRemainingTime: remainingTimeInSeconds
|
|
61700
|
+
}, function (_ref) {
|
|
61701
|
+
_ref.elapsedTime;
|
|
61702
|
+
_ref.color;
|
|
61703
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
61704
|
+
style: {
|
|
61705
|
+
color: '#bea04b',
|
|
61706
|
+
fontSize: 23,
|
|
61707
|
+
fontWeight: 600
|
|
61708
|
+
},
|
|
61709
|
+
"class": "allcentered"
|
|
61710
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61711
|
+
className: "time-wrapper allcentered flex-column"
|
|
61712
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61713
|
+
className: "time"
|
|
61714
|
+
}, days), /*#__PURE__*/React.createElement("div", null, "\u064A\u0648\u0645")));
|
|
61715
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
61716
|
+
className: "col-3 col-sm-6 allcentered mb-md-3"
|
|
61717
|
+
}, /*#__PURE__*/React.createElement(CountdownCircleTimer, {
|
|
61718
|
+
isPlaying: true,
|
|
61719
|
+
duration: remainingTimeInSeconds,
|
|
61720
|
+
colors: "#013c48",
|
|
61721
|
+
strokeWidth: 8,
|
|
61722
|
+
size: 120,
|
|
61723
|
+
initialRemainingTime: remainingTimeInSeconds
|
|
61724
|
+
}, function (_ref2) {
|
|
61725
|
+
_ref2.elapsedTime;
|
|
61726
|
+
_ref2.color;
|
|
61727
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
61728
|
+
style: {
|
|
61729
|
+
color: '#bea04b',
|
|
61730
|
+
fontSize: 23,
|
|
61731
|
+
fontWeight: 600
|
|
61732
|
+
},
|
|
61733
|
+
"class": "allcentered"
|
|
61734
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61735
|
+
className: "time-wrapper allcentered flex-column"
|
|
61736
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61737
|
+
className: "time"
|
|
61738
|
+
}, hours), /*#__PURE__*/React.createElement("div", null, "\u0633\u0627\u0639\u0629")));
|
|
61739
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
61740
|
+
className: "col-3 col-sm-6 allcentered mb-md-3"
|
|
61741
|
+
}, /*#__PURE__*/React.createElement(CountdownCircleTimer, {
|
|
61742
|
+
isPlaying: true,
|
|
61743
|
+
duration: remainingTimeInSeconds,
|
|
61744
|
+
colors: "#013c48",
|
|
61745
|
+
strokeWidth: 8,
|
|
61746
|
+
size: 120,
|
|
61747
|
+
initialRemainingTime: remainingTimeInSeconds
|
|
61748
|
+
}, function (_ref3) {
|
|
61749
|
+
_ref3.elapsedTime;
|
|
61750
|
+
_ref3.color;
|
|
61751
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
61752
|
+
style: {
|
|
61753
|
+
color: '#bea04b',
|
|
61754
|
+
fontSize: 23,
|
|
61755
|
+
fontWeight: 600
|
|
61756
|
+
},
|
|
61757
|
+
"class": "allcentered"
|
|
61758
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61759
|
+
className: "time-wrapper allcentered flex-column"
|
|
61760
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61761
|
+
className: "time"
|
|
61762
|
+
}, minutes), /*#__PURE__*/React.createElement("div", null, "\u062F\u0642\u064A\u0642\u0629")));
|
|
61763
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
61764
|
+
className: "col-3 col-sm-6 allcentered mb-md-3"
|
|
61765
|
+
}, /*#__PURE__*/React.createElement(CountdownCircleTimer, {
|
|
61766
|
+
isPlaying: true,
|
|
61767
|
+
duration: remainingTimeInSeconds,
|
|
61768
|
+
colors: "#013c48",
|
|
61769
|
+
strokeWidth: 8,
|
|
61770
|
+
size: 120,
|
|
61771
|
+
initialRemainingTime: remainingTimeInSeconds
|
|
61772
|
+
}, function (_ref4) {
|
|
61773
|
+
_ref4.elapsedTime;
|
|
61774
|
+
_ref4.color;
|
|
61775
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
61776
|
+
style: {
|
|
61777
|
+
color: '#bea04b',
|
|
61778
|
+
fontSize: 23,
|
|
61779
|
+
fontWeight: 600
|
|
61780
|
+
},
|
|
61781
|
+
"class": "allcentered"
|
|
61782
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61783
|
+
className: "time-wrapper allcentered flex-column"
|
|
61784
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61785
|
+
className: "time"
|
|
61786
|
+
}, seconds), /*#__PURE__*/React.createElement("div", null, "\u062B\u0627\u0646\u064A\u0629")));
|
|
61787
|
+
}))), sectionproperties.flippingcards == 'Yes' && sectionproperties.showcountdown != 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
61788
|
+
"class": "row m-0 w-100 d-flex justify-content-center"
|
|
61789
|
+
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
61790
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
61791
|
+
"class": 'flip-card d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 ',
|
|
61792
|
+
style: {
|
|
61793
|
+
zIndex: 2,
|
|
61794
|
+
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
61795
|
+
paddingRight: sectionproperties.marginhorizontal + 'px'
|
|
61796
|
+
}
|
|
61797
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61798
|
+
"class": "flip-card-inner",
|
|
61799
|
+
style: {
|
|
61800
|
+
background: sectionproperties.reservation_bgcolor,
|
|
61801
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
61802
|
+
border: sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : ''
|
|
61803
|
+
}
|
|
61804
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61805
|
+
"class": "flip-card-front"
|
|
61806
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61807
|
+
"class": "row m-0 w-100"
|
|
61808
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61809
|
+
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
61810
|
+
style: {
|
|
61811
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
61812
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
61813
|
+
}
|
|
61814
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61815
|
+
"class": sectionStyles.imageContainer + ' d-flex align-items-center imageContainer ',
|
|
61816
|
+
style: {
|
|
61817
|
+
background: 'transparent'
|
|
61818
|
+
}
|
|
61819
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
61820
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
61821
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
61822
|
+
path: cardsarray.length != 0 ? cardinfoitem.cardobj_img : '',
|
|
61823
|
+
style: {
|
|
61824
|
+
maxHeight: sectionproperties.iconcontainerwidth + '%',
|
|
61825
|
+
maxWidth: sectionproperties.iconcontainerwidth + '%',
|
|
61826
|
+
objectFit: 'contain'
|
|
61827
|
+
}
|
|
61828
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
61829
|
+
"class": "col-lg-12 d-flex p-0",
|
|
61830
|
+
style: {
|
|
61831
|
+
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
61832
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
61833
|
+
}
|
|
61834
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
61835
|
+
"class": sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles ',
|
|
61836
|
+
style: {
|
|
61837
|
+
cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default'
|
|
61838
|
+
}
|
|
61839
|
+
}, langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear)))), /*#__PURE__*/React.createElement("div", {
|
|
61840
|
+
"class": "flip-card-back allcentered"
|
|
61841
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61842
|
+
"class": "row m-0 w-100 allcentered"
|
|
61843
|
+
}, sectionproperties.showimagewhenflip == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61844
|
+
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
61845
|
+
style: {
|
|
61846
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
61847
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
61848
|
+
}
|
|
61849
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61850
|
+
"class": ' d-flex align-items-center ',
|
|
61851
|
+
style: {
|
|
61852
|
+
width: '30%',
|
|
61853
|
+
height: '30%',
|
|
61854
|
+
justifyContent: sectionproperties.iconcontainerheight == '0' ? 'start' : 'center'
|
|
61855
|
+
}
|
|
61856
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
61857
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
61858
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
61859
|
+
path: cardsarray.length != 0 ? cardinfoitem.cardobj_img : '',
|
|
61860
|
+
style: {
|
|
61861
|
+
maxHeight: '100%',
|
|
61862
|
+
maxWidth: '100%',
|
|
61863
|
+
objectFit: 'contain'
|
|
61864
|
+
}
|
|
61865
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
61866
|
+
"class": "col-lg-12 d-flex p-0",
|
|
61867
|
+
style: {
|
|
61868
|
+
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
61869
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
61870
|
+
}
|
|
61871
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
61872
|
+
"class": sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles ',
|
|
61873
|
+
style: {
|
|
61874
|
+
cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
|
|
61875
|
+
color: ' #FFECB5',
|
|
61876
|
+
fontSize: 14
|
|
61877
|
+
}
|
|
61878
|
+
}, langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear)), /*#__PURE__*/React.createElement("div", {
|
|
61879
|
+
"class": "col-lg-12 d-flex p-0",
|
|
61880
|
+
style: {
|
|
61881
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
61882
|
+
}
|
|
61883
|
+
}, sectionproperties.slideshowtext2_show && /*#__PURE__*/React.createElement("p", {
|
|
61884
|
+
"class": "m-0 wordbreak",
|
|
61885
|
+
style: {
|
|
61886
|
+
color: sectionproperties.slideshowText2ContentColor,
|
|
61887
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
61888
|
+
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
61889
|
+
textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
61890
|
+
}
|
|
61891
|
+
}, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar))))));
|
|
61892
|
+
})), sectionproperties.flippingcards == 'No' && sectionproperties.showcountdown != 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
61893
|
+
"class": "row m-0 w-100"
|
|
61894
|
+
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
62597
61895
|
var _authdetailsContext$i;
|
|
62598
61896
|
return /*#__PURE__*/React.createElement("div", {
|
|
62599
|
-
"class":
|
|
61897
|
+
"class": '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-' + sectionproperties.numberOfColsverticalresp,
|
|
62600
61898
|
style: {
|
|
62601
61899
|
zIndex: 2,
|
|
62602
61900
|
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
@@ -62606,20 +61904,37 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
62606
61904
|
"class": sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' row m-0 w-100 mb-auto ',
|
|
62607
61905
|
style: {
|
|
62608
61906
|
cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
|
|
62609
|
-
background: sectionproperties.reservation_bgcolor,
|
|
62610
61907
|
paddingTop: sectionproperties.reservation_padding_top + 'px',
|
|
62611
61908
|
paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
|
|
62612
61909
|
paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
|
|
62613
61910
|
paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
|
|
62614
61911
|
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
62615
|
-
border: sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor :
|
|
61912
|
+
border: sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '',
|
|
61913
|
+
// sectionproperties.innersectionbordertype == 'All'
|
|
61914
|
+
// ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
|
|
61915
|
+
// : cardinfoindex != cardsarray.length - 1
|
|
61916
|
+
// ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
|
|
61917
|
+
// : '',
|
|
62616
61918
|
// cardinfoindex != cardsarray.length - 1
|
|
62617
61919
|
// ? sectionproperties.innersectionbordertype == 'All'
|
|
62618
61920
|
// ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
|
|
62619
61921
|
// : ''
|
|
62620
61922
|
// : '',
|
|
62621
|
-
borderRight:
|
|
62622
|
-
|
|
61923
|
+
// borderRight:
|
|
61924
|
+
// cardinfoindex != cardsarray.length - 1
|
|
61925
|
+
// ? sectionproperties.innersectionbordertype == 'Right'
|
|
61926
|
+
// ? langdetect == 'en'
|
|
61927
|
+
// ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
|
|
61928
|
+
// : ''
|
|
61929
|
+
// : ''
|
|
61930
|
+
// : '',
|
|
61931
|
+
// borderLeft:
|
|
61932
|
+
// sectionproperties.innersectionbordertype == 'Right'
|
|
61933
|
+
// ? langdetect == 'ar'
|
|
61934
|
+
// ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
|
|
61935
|
+
// : ''
|
|
61936
|
+
// : '',
|
|
61937
|
+
borderRight: sectionproperties.innersectionbordertype != 'All' && cardinfoindex != cardsarray.length - 1 ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
|
|
62623
61938
|
boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
|
|
62624
61939
|
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
|
|
62625
61940
|
},
|
|
@@ -62742,7 +62057,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
62742
62057
|
}
|
|
62743
62058
|
}
|
|
62744
62059
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))));
|
|
62745
|
-
}))));
|
|
62060
|
+
})))));
|
|
62746
62061
|
};
|
|
62747
62062
|
|
|
62748
62063
|
var css_248z$h = ".Slideshow_with_rotatedsquare-module_sectioncont__AfYNO{\n padding-top:80px;\n padding-bottom:80px;\n padding-left: 180px;\n padding-right: 180px;\n \n }\n .Slideshow_with_rotatedsquare-module_rotatedsquare__lZPTd{\n width:150px;\n height:150px;\n border-radius:15px;\n position: relative;\n transform: rotate(-45deg);\n }\n .Slideshow_with_rotatedsquare-module_circle__ofuN0{\n position: absolute;\n width:60px;\n height:60px;\n border-radius:50%;\n left:57%;\n top:100px;\n \n }\n .Slideshow_with_rotatedsquare-module_circle1__4tbou{\n \n width:10px;\n height:10px;\n border-radius:50%;\n margin-right:10px;\n margin-left:140px;\n background-color:blue;\n \n }\n \n ";
|
|
@@ -69589,6 +68904,22 @@ var Card23 = function Card23(props) {
|
|
|
69589
68904
|
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
69590
68905
|
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
69591
68906
|
}
|
|
68907
|
+
}),
|
|
68908
|
+
pillcont: css({
|
|
68909
|
+
position: 'absolute',
|
|
68910
|
+
top: sectionproperties.counterposition == 'Top' ? sectionproperties.pillpositionfromtop + 'px' : '',
|
|
68911
|
+
bottom: sectionproperties.counterposition == 'Bottom' ? sectionproperties.pillpositionfromtop + 'px' : '',
|
|
68912
|
+
left: sectionproperties.pillpositionfromright + 'px',
|
|
68913
|
+
width: sectionproperties.pillwidth + 'px',
|
|
68914
|
+
height: sectionproperties.pillheight + 'px',
|
|
68915
|
+
background: sectionproperties.pillbgcolor,
|
|
68916
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
|
|
68917
|
+
display: item.defaultprice == 0 && item.defaultsaleprice == 0 ? 'none' : 'flex',
|
|
68918
|
+
'@media (max-width: 800px)': {
|
|
68919
|
+
top: sectionproperties.counterposition == 'Top' ? '7px' : '',
|
|
68920
|
+
// bottom: sectionproperties.counterposition == 'Bottom' ? '7px' : '',
|
|
68921
|
+
left: '7px'
|
|
68922
|
+
}
|
|
69592
68923
|
})
|
|
69593
68924
|
};
|
|
69594
68925
|
var plainString = function plainString(html) {
|
|
@@ -69671,18 +69002,8 @@ var Card23 = function Card23(props) {
|
|
|
69671
69002
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
69672
69003
|
}
|
|
69673
69004
|
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
69674
|
-
"class":
|
|
69675
|
-
style: {
|
|
69676
|
-
position: 'absolute',
|
|
69677
|
-
top: sectionproperties.counterposition == 'Top' ? sectionproperties.pillpositionfromtop + 'px' : '',
|
|
69678
|
-
bottom: sectionproperties.counterposition == 'Bottom' ? sectionproperties.pillpositionfromtop + 'px' : '',
|
|
69679
|
-
left: sectionproperties.pillpositionfromright + 'px',
|
|
69680
|
-
width: sectionproperties.pillwidth + 'px',
|
|
69681
|
-
height: sectionproperties.pillheight + 'px',
|
|
69682
|
-
background: sectionproperties.pillbgcolor,
|
|
69683
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
|
|
69684
|
-
display: item.defaultprice == 0 && item.defaultsaleprice == 0 ? 'none' : 'flex'
|
|
69685
|
-
}
|
|
69005
|
+
"class": cardsstyles2.pillcont + ' align-items-center justify-content-center ',
|
|
69006
|
+
style: {}
|
|
69686
69007
|
}, /*#__PURE__*/React.createElement("p", {
|
|
69687
69008
|
"class": "m-0 p-0 text-uppercase",
|
|
69688
69009
|
style: {
|
|
@@ -69724,7 +69045,7 @@ var Card23 = function Card23(props) {
|
|
|
69724
69045
|
AddtoCartContext(tempaddtocardpayloadobj);
|
|
69725
69046
|
};
|
|
69726
69047
|
return /*#__PURE__*/React.createElement("div", {
|
|
69727
|
-
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(cardsstyles2.productcard) + ' w-100 px-md-1 ' : " ".concat(cardsstyles2.productcard),
|
|
69048
|
+
"class": props.sectiontypeprops2 == 'vertical' ? sectionproperties.card_marginLeft != 0 ? "".concat(cardsstyles2.productcard) + ' w-100 px-md-1 ' : "".concat(cardsstyles2.productcard) + ' w-100 px-md-0 ' : " ".concat(cardsstyles2.productcard),
|
|
69728
69049
|
style: {
|
|
69729
69050
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
69730
69051
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
@@ -69839,18 +69160,12 @@ var Card23 = function Card23(props) {
|
|
|
69839
69160
|
// sectionproperties.hideshowcardtransition == 'Show'
|
|
69840
69161
|
// ? ` ${cardsstyles2.imageContainer} ${cardstyles.imagecontainer}` + ' d-flex d-md-none '
|
|
69841
69162
|
// : ` ${cardsstyles2.imageContainer} ` + ' d-flex d-md-none '
|
|
69842
|
-
sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(cardsstyles2.imageContainer, " ").concat(cardstyles$7.imagecontainer) + ' d-flex
|
|
69163
|
+
sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(cardsstyles2.imageContainer, " ").concat(cardstyles$7.imagecontainer) + ' d-flex ' : " ".concat(cardsstyles2.imageContainer, " ") + ' d-flex ',
|
|
69843
69164
|
style: {
|
|
69844
69165
|
height: sectionproperties.image_height + 'px',
|
|
69845
69166
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
69846
69167
|
}
|
|
69847
69168
|
}, Image('normal')), /*#__PURE__*/React.createElement("div", {
|
|
69848
|
-
"class": cardsstyles2.imageContainer + ' d-none d-md-flex ',
|
|
69849
|
-
style: {
|
|
69850
|
-
height: sectionproperties.height_responsive + 'px',
|
|
69851
|
-
marginBottom: sectionproperties.image_mb + 'px'
|
|
69852
|
-
}
|
|
69853
|
-
}, Image('responsive')), /*#__PURE__*/React.createElement("div", {
|
|
69854
69169
|
"class": sectionproperties.innersectionpaddinghorizontal == 0 ? 'row m-0 w-100' : 'row m-0 w-100 pl-sm-2 pr-sm-2',
|
|
69855
69170
|
style: {
|
|
69856
69171
|
paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
@@ -70397,8 +69712,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
70397
69712
|
functype: 'add',
|
|
70398
69713
|
productid: item.productid,
|
|
70399
69714
|
variantid: '',
|
|
70400
|
-
quantity: item.quantity
|
|
70401
|
-
vendorid: item.vendorid
|
|
69715
|
+
quantity: item.quantity
|
|
70402
69716
|
};
|
|
70403
69717
|
var runfunc = false;
|
|
70404
69718
|
if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
|
|
@@ -70509,10 +69823,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
70509
69823
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
70510
69824
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
70511
69825
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
|
|
70512
|
-
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' ? 0.4 : 1
|
|
70513
|
-
'@media (max-width: 800px)': {
|
|
70514
|
-
height: sectionproperties.height_responsive + 'px'
|
|
70515
|
-
}
|
|
69826
|
+
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' ? 0.4 : 1
|
|
70516
69827
|
}),
|
|
70517
69828
|
quantitybtn: css({
|
|
70518
69829
|
flex: 1,
|
|
@@ -70591,7 +69902,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
70591
69902
|
return /*#__PURE__*/React.createElement("div", {
|
|
70592
69903
|
"class": ' d-flex align-items-center justify-content-center '
|
|
70593
69904
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
70594
|
-
color:
|
|
69905
|
+
color: "white",
|
|
70595
69906
|
width: "20px",
|
|
70596
69907
|
height: "20px",
|
|
70597
69908
|
duration: "1s"
|
|
@@ -70717,7 +70028,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
70717
70028
|
size: sectionproperties.favBtnIconfontsize
|
|
70718
70029
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
70719
70030
|
size: sectionproperties.favBtnIconfontsize
|
|
70720
|
-
})))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' &&
|
|
70031
|
+
})))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
70721
70032
|
"class": "allcentered",
|
|
70722
70033
|
style: {
|
|
70723
70034
|
position: 'absolute',
|
|
@@ -70734,38 +70045,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
70734
70045
|
color: sectionproperties.badge_color,
|
|
70735
70046
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
70736
70047
|
}
|
|
70737
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.
|
|
70738
|
-
style: {
|
|
70739
|
-
position: 'absolute',
|
|
70740
|
-
top: sectionproperties.pillpositionfromtop + 'px',
|
|
70741
|
-
left: sectionproperties.pillpositionfromright + 'px',
|
|
70742
|
-
// right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px',
|
|
70743
|
-
zIndex: 3
|
|
70744
|
-
}
|
|
70745
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
70746
|
-
"class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
|
|
70747
|
-
style: {
|
|
70748
|
-
zIndex: 2,
|
|
70749
|
-
width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
|
|
70750
|
-
height: sectionproperties.pillheight + 'px',
|
|
70751
|
-
background: sectionproperties.pillbgcolor,
|
|
70752
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
70753
|
-
}
|
|
70754
|
-
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React.createElement("p", {
|
|
70755
|
-
"class": "m-0 p-0",
|
|
70756
|
-
style: {
|
|
70757
|
-
color: sectionproperties.pillcolor,
|
|
70758
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
70759
|
-
direction: 'ltr'
|
|
70760
|
-
}
|
|
70761
|
-
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React.createElement("p", {
|
|
70762
|
-
"class": "m-0 p-0 text-uppercase",
|
|
70763
|
-
style: {
|
|
70764
|
-
color: sectionproperties.pillcolor,
|
|
70765
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
70766
|
-
direction: 'ltr'
|
|
70767
|
-
}
|
|
70768
|
-
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname))), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && /*#__PURE__*/React.createElement("div", {
|
|
70048
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && /*#__PURE__*/React.createElement("div", {
|
|
70769
70049
|
"class": "".concat(cardsstyles2.outstockbadge) + ' allcentered '
|
|
70770
70050
|
}, /*#__PURE__*/React.createElement("p", {
|
|
70771
70051
|
"class": "m-0 p-0"
|
|
@@ -71906,7 +71186,7 @@ var Categorycard_withtext = function Categorycard_withtext(props) {
|
|
|
71906
71186
|
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
71907
71187
|
transition: '.3s',
|
|
71908
71188
|
cursor: 'pointer',
|
|
71909
|
-
zIndex:
|
|
71189
|
+
zIndex: 1000,
|
|
71910
71190
|
':hover': {
|
|
71911
71191
|
color: sectionproperties.text_secondarycolor
|
|
71912
71192
|
}
|
|
@@ -71925,7 +71205,7 @@ var Categorycard_withtext = function Categorycard_withtext(props) {
|
|
|
71925
71205
|
textTransform: sectionproperties.generalbtn_texttransform,
|
|
71926
71206
|
opacity: sectionproperties.generalbtn_showonhover == 'Show On Hover' ? 0 : 1,
|
|
71927
71207
|
top: sectionproperties.generalbtn_showonhover == 'Show On Hover' ? '100px' : 0,
|
|
71928
|
-
zIndex:
|
|
71208
|
+
zIndex: 1000,
|
|
71929
71209
|
':hover': {
|
|
71930
71210
|
backgroundColor: sectionproperties.generalbtn_bgColoronhover,
|
|
71931
71211
|
color: sectionproperties.generalbtn_textColoronhover,
|
|
@@ -72183,7 +71463,7 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
|
72183
71463
|
style: {
|
|
72184
71464
|
display: 'flex',
|
|
72185
71465
|
justifyContent: sectionproperties.generaltext_position == 'Centered' ? 'center' : 'start',
|
|
72186
|
-
zIndex:
|
|
71466
|
+
zIndex: 10000
|
|
72187
71467
|
}
|
|
72188
71468
|
}, /*#__PURE__*/React.createElement("p", {
|
|
72189
71469
|
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak wordbreak1 wordbreak-md-2 ',
|
|
@@ -72195,7 +71475,7 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
|
72195
71475
|
"class": "".concat(cardstyles$1.buttons_container) + ' m-0 p-0 '
|
|
72196
71476
|
}, /*#__PURE__*/React.createElement("li", {
|
|
72197
71477
|
style: {
|
|
72198
|
-
zIndex:
|
|
71478
|
+
zIndex: 10000
|
|
72199
71479
|
},
|
|
72200
71480
|
"class": langdetect == 'en' ? 'ml-4 cursor-pointer ' : 'mr-4 cursor-pointer ',
|
|
72201
71481
|
onClick: function onClick(e) {
|
|
@@ -72332,8 +71612,7 @@ var Classiccategorycard = function Classiccategorycard(props) {
|
|
|
72332
71612
|
width: '100%',
|
|
72333
71613
|
bottom: sectionproperties.generaltext_position == 'Centered' ? '50%' : '7%',
|
|
72334
71614
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
72335
|
-
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
72336
|
-
left: 0
|
|
71615
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
72337
71616
|
}
|
|
72338
71617
|
}, /*#__PURE__*/React.createElement("div", {
|
|
72339
71618
|
"class": "".concat(card_cssstyles.textContainer, " ") + ' allcentered pl-2 pr-2 '
|
|
@@ -72724,6 +72003,11 @@ var MenuCard = function MenuCard(props) {
|
|
|
72724
72003
|
useEffect(function () {
|
|
72725
72004
|
setitem(props.cardinfoitemprops);
|
|
72726
72005
|
}, [props.cardinfoitemprops]);
|
|
72006
|
+
var plainString = function plainString(html) {
|
|
72007
|
+
var divContainer = document.createElement('div');
|
|
72008
|
+
divContainer.innerHTML = html;
|
|
72009
|
+
return divContainer.textContent || divContainer.innerText || '';
|
|
72010
|
+
};
|
|
72727
72011
|
// const addtocartfunc = () => {
|
|
72728
72012
|
// const addtocardpayloadobj = {
|
|
72729
72013
|
// functype: 'add',
|
|
@@ -72955,7 +72239,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
72955
72239
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
72956
72240
|
}
|
|
72957
72241
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
72958
|
-
"class": "".concat(card_cssstyles.productcard) + ' w-100 pl-sm-0 pr-sm-0
|
|
72242
|
+
"class": "".concat(card_cssstyles.productcard) + ' w-100 pl-sm-0 pr-sm-0 '
|
|
72959
72243
|
}, /*#__PURE__*/React.createElement("div", {
|
|
72960
72244
|
"class": "row w-100 m-0 d-flex"
|
|
72961
72245
|
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -72966,7 +72250,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
72966
72250
|
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
72967
72251
|
}
|
|
72968
72252
|
},
|
|
72969
|
-
"class": langdetect == 'en' ? "".concat(card_cssstyles.productcardimagecont) + ' d-flex justify-content-start mr-2
|
|
72253
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productcardimagecont) + ' d-flex justify-content-start mr-2 ' : "".concat(card_cssstyles.productcardimagecont) + ' d-flex justify-content-start ml-2 ',
|
|
72970
72254
|
style: {}
|
|
72971
72255
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
72972
72256
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -72999,25 +72283,12 @@ var MenuCard = function MenuCard(props) {
|
|
|
72999
72283
|
style: {
|
|
73000
72284
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
73001
72285
|
}
|
|
73002
|
-
}, item.name)), sectionproperties.prodCatShow == 'Show' &&
|
|
73003
|
-
|
|
73004
|
-
// <p
|
|
73005
|
-
// // class={`${card_cssstyles.productDescStyles}` + ' col-lg-12 mt-2 mb-1 wordbreak wordbreak2 p-0 '}
|
|
73006
|
-
// // style={{
|
|
73007
|
-
// // textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
73008
|
-
// // }}
|
|
73009
|
-
// // >
|
|
73010
|
-
// // {plainString(langdetect == 'en' ? item.description_en : item.description_ar)}
|
|
73011
|
-
// // </p>
|
|
73012
|
-
React.createElement("p", {
|
|
73013
|
-
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 mt-1 ',
|
|
72286
|
+
}, item.name)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
72287
|
+
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 mt-2 mb-1 wordbreak wordbreak2 p-0 ',
|
|
73014
72288
|
style: {
|
|
73015
|
-
textAlign:
|
|
73016
|
-
},
|
|
73017
|
-
dangerouslySetInnerHTML: {
|
|
73018
|
-
__html: item.shortdescription
|
|
72289
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
73019
72290
|
}
|
|
73020
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
72291
|
+
}, plainString(langdetect == 'en' ? item.description_en : item.description_ar)))), /*#__PURE__*/React.createElement("div", {
|
|
73021
72292
|
style: {
|
|
73022
72293
|
display: 'flex',
|
|
73023
72294
|
flexDirection: 'column',
|
|
@@ -73025,16 +72296,16 @@ var MenuCard = function MenuCard(props) {
|
|
|
73025
72296
|
},
|
|
73026
72297
|
"class": "col-lg-3 col-md-3 col-sm-12 mt-2 p-0"
|
|
73027
72298
|
}, /*#__PURE__*/React.createElement("div", {
|
|
73028
|
-
"class": "row m-0 w-100 d-flex flex-column flex-sm-
|
|
72299
|
+
"class": "row m-0 w-100 d-flex flex-column flex-sm-row justify-content-end justify-content-sm-start"
|
|
73029
72300
|
}, sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
73030
72301
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
73031
72302
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React.createElement("p", {
|
|
73032
72303
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
73033
72304
|
}, langdetect == 'en' ? 'EGP' : '', ' ', item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
73034
|
-
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3
|
|
72305
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 '
|
|
73035
72306
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React.createElement("p", {
|
|
73036
|
-
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3
|
|
73037
|
-
}, langdetect == 'en' ? 'EGP' : '',
|
|
72307
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 '
|
|
72308
|
+
}, langdetect == 'en' ? 'EGP' : '', parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : 'ج.م')), sectionproperties.quantitybtn_show == 'hide' && sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
73038
72309
|
"class": "row m-0 mt-auto w-100"
|
|
73039
72310
|
}, /*#__PURE__*/React.createElement("div", {
|
|
73040
72311
|
"class": "col-lg-12 d-flex justify-content-end p-0"
|
|
@@ -77380,7 +76651,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
77380
76651
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
77381
76652
|
props.actions.NotificationManager;
|
|
77382
76653
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
77383
|
-
var AddtoCartMutationContext = props.
|
|
76654
|
+
var AddtoCartMutationContext = props.AddtoCartMutationContext;
|
|
77384
76655
|
var _useState5 = useState(''),
|
|
77385
76656
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
77386
76657
|
addtocardpayloadobj = _useState6[0];
|
|
@@ -77981,7 +77252,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
77981
77252
|
style: {
|
|
77982
77253
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
77983
77254
|
}
|
|
77984
|
-
}, plainString(item.
|
|
77255
|
+
}, plainString(item.shortdescription)), /*#__PURE__*/React.createElement("div", {
|
|
77985
77256
|
style: {
|
|
77986
77257
|
flexDirection: 'column'
|
|
77987
77258
|
},
|
|
@@ -79366,7 +78637,9 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
79366
78637
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard),
|
|
79367
78638
|
style: {
|
|
79368
78639
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
79369
|
-
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
78640
|
+
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
78641
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
78642
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px'
|
|
79370
78643
|
}
|
|
79371
78644
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
79372
78645
|
"class": ' cursor-pointer w-100 ',
|