@trafilea/afrodita-components 7.22.2 → 7.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/build/es/components/collection/product/mobile/ProductItemMobile.js +1 -1
  2. package/build/es/components/molecules/BenefitsList/BenefitsList.js +1 -1
  3. package/build/es/components/molecules/CouponCard/CouponCard.js +1 -1
  4. package/build/es/components/molecules/LikeButton/LikeButton.js +1 -1
  5. package/build/es/components/molecules/OfferAtCartBenefits/OfferAtCartBenefits.js +1 -1
  6. package/build/es/components/molecules/Video/Video.js +1 -1
  7. package/build/es/components/organisms/AutoshipPdpCard/AutoshipPdpCard.js +1 -1
  8. package/build/es/components/organisms/ModalZoom/VideoDisplay.js +1 -1
  9. package/build/es/components/organisms/ModalZoom/ZoomButton.js +1 -1
  10. package/build/es/components/organisms/ModalZoom/ZoomModal.js +1 -1
  11. package/build/es/components/organisms/ModalZoom/ZoomModalV2.js +1 -1
  12. package/build/es/components/organisms/ModalZoom/index.js +1 -1
  13. package/build/es/components/organisms/OfferAtCart/OfferAtCart.js +1 -1
  14. package/build/es/components/organisms/OfferAtCartV2/OfferAtCartV2.js +1 -1
  15. package/build/es/components/organisms/OfferAtCartV4/OfferAtCartV4.js +1 -1
  16. package/build/es/components/organisms/OfferAtPDP/OfferAtPDP.js +1 -1
  17. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ImageProductSlide.js +1 -1
  18. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js +1 -1
  19. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js +1 -1
  20. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/index.js +1 -1
  21. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js +1 -1
  22. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/index.js +1 -1
  23. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/index.js +1 -1
  24. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js +1 -1
  25. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/ProductGalleryMobile.js +1 -1
  26. package/build/es/components/organisms/ProductGalleryMobile/shared/GalleryMedia.js +2 -0
  27. package/build/es/components/organisms/ProductGalleryMobile/shared/GalleryMedia.js.map +1 -0
  28. package/build/es/components/organisms/ProductGalleryMobile/shared/GallerySlider.js +2 -0
  29. package/build/es/components/organisms/ProductGalleryMobile/shared/GallerySlider.js.map +1 -0
  30. package/build/es/components/organisms/ProductGalleryMobile/shared/GalleryTags.js +2 -0
  31. package/build/es/components/organisms/ProductGalleryMobile/shared/GalleryTags.js.map +1 -0
  32. package/build/es/components/organisms/ProductGalleryMobile/shared/types.js +2 -0
  33. package/build/es/components/organisms/ProductGalleryMobile/shared/types.js.map +1 -0
  34. package/build/es/components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js +1 -1
  35. package/build/es/components/organisms/TwoCtasAtCart/TwoCtasAtCart.js +1 -1
  36. package/build/es/index.css +1 -4
  37. package/build/es/index.js +1 -1
  38. package/build/index.d.ts +35 -79
  39. package/build/lib/components/collection/product/mobile/ProductItemMobile.js +1 -1
  40. package/build/lib/components/molecules/BenefitsList/BenefitsList.js +1 -1
  41. package/build/lib/components/molecules/CouponCard/CouponCard.js +1 -1
  42. package/build/lib/components/molecules/LikeButton/LikeButton.js +1 -1
  43. package/build/lib/components/molecules/OfferAtCartBenefits/OfferAtCartBenefits.js +1 -1
  44. package/build/lib/components/molecules/Video/Video.js +1 -1
  45. package/build/lib/components/organisms/AutoshipPdpCard/AutoshipPdpCard.js +1 -1
  46. package/build/lib/components/organisms/ModalZoom/VideoDisplay.js +1 -1
  47. package/build/lib/components/organisms/ModalZoom/ZoomButton.js +1 -1
  48. package/build/lib/components/organisms/ModalZoom/ZoomModal.js +1 -1
  49. package/build/lib/components/organisms/ModalZoom/ZoomModalV2.js +1 -1
  50. package/build/lib/components/organisms/ModalZoom/index.js +1 -1
  51. package/build/lib/components/organisms/OfferAtCart/OfferAtCart.js +1 -1
  52. package/build/lib/components/organisms/OfferAtCartV2/OfferAtCartV2.js +1 -1
  53. package/build/lib/components/organisms/OfferAtCartV4/OfferAtCartV4.js +1 -1
  54. package/build/lib/components/organisms/OfferAtPDP/OfferAtPDP.js +1 -1
  55. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ImageProductSlide.js +1 -1
  56. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js +1 -1
  57. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js +1 -1
  58. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/index.js +1 -1
  59. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js +1 -1
  60. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/index.js +1 -1
  61. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/index.js +1 -1
  62. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js +1 -1
  63. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/ProductGalleryMobile.js +1 -1
  64. package/build/lib/components/organisms/ProductGalleryMobile/shared/GalleryMedia.js +2 -0
  65. package/build/lib/components/organisms/ProductGalleryMobile/shared/GalleryMedia.js.map +1 -0
  66. package/build/lib/components/organisms/ProductGalleryMobile/shared/GallerySlider.js +2 -0
  67. package/build/lib/components/organisms/ProductGalleryMobile/shared/GallerySlider.js.map +1 -0
  68. package/build/lib/components/organisms/ProductGalleryMobile/shared/GalleryTags.js +2 -0
  69. package/build/lib/components/organisms/ProductGalleryMobile/shared/GalleryTags.js.map +1 -0
  70. package/build/lib/components/organisms/ProductGalleryMobile/shared/types.js +2 -0
  71. package/build/lib/components/organisms/ProductGalleryMobile/shared/types.js.map +1 -0
  72. package/build/lib/components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js +1 -1
  73. package/build/lib/components/organisms/TwoCtasAtCart/TwoCtasAtCart.js +1 -1
  74. package/build/lib/index.css +1 -4
  75. package/build/lib/index.js +1 -1
  76. package/package.json +4 -2
  77. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV2/ImageProductSlideV2.js +0 -2
  78. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV2/ImageProductSlideV2.js.map +0 -1
  79. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ImageProductSlideV3.js +0 -2
  80. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ImageProductSlideV3.js.map +0 -1
  81. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js +0 -2
  82. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js.map +0 -1
  83. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/ProductGalleryMobileV5.js +0 -2
  84. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/ProductGalleryMobileV5.js.map +0 -1
  85. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/constants.js +0 -2
  86. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/constants.js.map +0 -1
  87. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/styled.js +0 -2
  88. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/styled.js.map +0 -1
  89. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ImageProductSlide.js +0 -2
  90. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ImageProductSlide.js.map +0 -1
  91. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ImageProductSlide.styled.js +0 -2
  92. package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ImageProductSlide.styled.js.map +0 -1
  93. package/build/es/components/organisms/ProductGalleryMobile/components/ArrowButton/ArrowButton.js +0 -2
  94. package/build/es/components/organisms/ProductGalleryMobile/components/ArrowButton/ArrowButton.js.map +0 -1
  95. package/build/es/components/organisms/ProductGalleryMobile/components/SlideDots/SlideDots.js +0 -2
  96. package/build/es/components/organisms/ProductGalleryMobile/components/SlideDots/SlideDots.js.map +0 -1
  97. package/build/es/components/organisms/ProductGalleryMobile/components/SlideNavigation/SlideNavigation.js +0 -2
  98. package/build/es/components/organisms/ProductGalleryMobile/components/SlideNavigation/SlideNavigation.js.map +0 -1
  99. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV2/ImageProductSlideV2.js +0 -2
  100. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV2/ImageProductSlideV2.js.map +0 -1
  101. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ImageProductSlideV3.js +0 -2
  102. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ImageProductSlideV3.js.map +0 -1
  103. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js +0 -2
  104. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js.map +0 -1
  105. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/ProductGalleryMobileV5.js +0 -2
  106. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/ProductGalleryMobileV5.js.map +0 -1
  107. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/constants.js +0 -2
  108. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/constants.js.map +0 -1
  109. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/styled.js +0 -2
  110. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/styled.js.map +0 -1
  111. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ImageProductSlide.js +0 -2
  112. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ImageProductSlide.js.map +0 -1
  113. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ImageProductSlide.styled.js +0 -2
  114. package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV7/components/ImageProductSlide.styled.js.map +0 -1
  115. package/build/lib/components/organisms/ProductGalleryMobile/components/ArrowButton/ArrowButton.js +0 -2
  116. package/build/lib/components/organisms/ProductGalleryMobile/components/ArrowButton/ArrowButton.js.map +0 -1
  117. package/build/lib/components/organisms/ProductGalleryMobile/components/SlideDots/SlideDots.js +0 -2
  118. package/build/lib/components/organisms/ProductGalleryMobile/components/SlideDots/SlideDots.js.map +0 -1
  119. package/build/lib/components/organisms/ProductGalleryMobile/components/SlideNavigation/SlideNavigation.js +0 -2
  120. package/build/lib/components/organisms/ProductGalleryMobile/components/SlideNavigation/SlideNavigation.js.map +0 -1
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),i=require("@emotion/styled"),r=require("react"),o=require("react-inner-image-zoom"),n=require("../../../atoms/Image/Image.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l,d,u,s=a(i),m=a(o),c=s.default.div(l||(l=e.__makeTemplateObject(["\n ","\n position: relative;\n max-height: 31.875rem;\n overflow: hidden;\n"],["\n ","\n position: relative;\n max-height: 31.875rem;\n overflow: hidden;\n"])),(function(e){return e.borderRadiusVariant&&"\n border-radius: 40px;\n "})),p=s.default.div(d||(d=e.__makeTemplateObject(["\n position: absolute;\n left: ",";\n top: ",";\n"],["\n position: absolute;\n left: ",";\n top: ",";\n"])),(function(e){return e.borderRadiusVariant?"13px":"0"}),(function(e){return e.borderRadiusVariant?"11px":"0"})),v=s.default.div(u||(u=e.__makeTemplateObject(["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"],["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"]))),f=r.forwardRef((function(i,r){var o,a,l=i.image,d=i.topTag,u=i.bottomTag,s=i.testId,f=i.borderRadiusVariant,b=i.enableZoom,h=void 0===b||b;return t.jsxs(c,e.__assign({"data-testid":s,ref:r,borderRadiusVariant:f},{children:[!(null===(o=null==l?void 0:l.alt)||void 0===o?void 0:o.includes("-video"))&&t.jsxs(t.Fragment,{children:[h?t.jsx(m.default,{src:l.url,zoomSrc:l.zoomUrl||l.url,zoomType:"hover",imgAttributes:{alt:l.alt,width:"100%",height:"510px"},height:510,fullscreenOnMobile:!0,className:"zoomWrapper"},void 0):t.jsx(n.Image,{src:l.url,alt:l.alt,width:"100%",height:"500px"},void 0),t.jsx(p,e.__assign({borderRadiusVariant:f},{children:d}),void 0),t.jsx(v,{children:u},void 0)]},void 0),(null===(a=null==l?void 0:l.alt)||void 0===a?void 0:a.includes("-video"))&&t.jsx("iframe",{allowFullScreen:!0,title:l.alt,width:"100%",height:510,src:null==l?void 0:l.url,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"},void 0)]}),void 0)}));exports.ImageProductSlideV2=f;
2
- //# sourceMappingURL=ImageProductSlideV2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ImageProductSlideV2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),i=require("@ant-design/react-slick"),t=require("@emotion/styled"),s=require("react"),o=require("react-inner-image-zoom"),l=require("../../../atoms/Image/Image.js"),n=require("../../../cta/primary/ButtonPrimary.js");require("@emotion/react/jsx-runtime"),require("../../../../core/theme/Theme.js"),require("../../../../types/enums.js"),require("../../../cta/styled.js");var a=require("../../../../hooks/usePreventVerticalScroll/usePreventVerticalScroll.js"),u=require("../utils/sendCommandToIframe.js"),d=require("../../../icons/index.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../PackSelectorV2/PackSelectoV2.js"),require("../../../absorbency-level/AbsorbencyLevel.js"),require("../../../accordion-options/AccordionOptions.js"),require("../../../accordion/Accordion.js"),require("../../../../utils/constants/offerAtCart.js"),require("../../../../utils/media.js"),require("../../../../utils/mock-content/CancellationFlowAccordion.js"),require("../../../dropdown/variants/simple/SimpleDropdown.js"),require("../../../radio/input/styles.js"),require("../../../tooltip/Styled.js"),require("../../../autoship/styled.js"),require("../../../autoshipV2/styled.js"),require("../../../before-after/BeforeAfter.js"),require("../../../pricing/clubOffer/ClubOfferTag.js"),require("../../../pricing/discount/styled.js"),require("../../../pricing/styles.js"),require("../../../atoms/PriceLabel/PriceLabel.js"),require("../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js"),require("../../../atoms/HorizontalDivider/HorizontalDivider.js"),require("../../../atoms/Icon/Icon.js"),require("../../../atoms/PriceLabelV2/PriceLabelV2.js"),require("../../../atoms/Toggle/toggle.styled.js"),require("../../../pricing/priceLabelV3/PriceLabelV3.js"),require("../../../pricing/priceLabelV5/PriceLabelV5.styled.js"),require("../../../pricing/priceLabelV6/PriceLabelV6.styled.js"),require("../../../shared/card/Card.js"),require("../../../bundle/minimalistic/styled.js"),require("../../../text/Text.js"),require("../../../bundle/motivator/styled.js"),require("../../../bundle/simple/Simple.js"),require("../../../buynowpaylater/BuyNowPayLater.js"),require("../../../offer-banner/OfferBanner.js"),require("../../../cartProductItem/CloseIcon/CloseButton.js"),require("../../../cartProductItem/Description/Description.js"),require("../../../cartProductItem/Promo/Promo.js"),require("../../../cartProductItem/Title/Title.js"),require("../../../cartProductItem/TrashIcon/styled.js"),require("../../../checkbox/Checkbox.js"),require("../../../collection/grid/WithProductGrid.js"),require("../../../SkeletonBox/SkeletonBox.js"),require("../../../club-price-label/ClubPriceLabel.js"),require("../../../strength-bars/StrengthBars.js"),require("../../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("../../../rating/starList/StarList.js"),require("../../../rating/styles.js"),require("../../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js"),require("../../../molecules/CouponCard/styled.js"),require("@emotion/react"),require("../../../molecules/ArrowTip/ArrowTip.styled.js"),require("../../../molecules/BenefitsList/styled.js"),require("../../../timer/styled.js"),require("../../../molecules/HurryUp/styled.js"),require("../../../molecules/Spinner/styled.js"),require("../../../molecules/Video/components/styled.js"),require("../../../molecules/Video/styled.js"),require("../../../iconsWithTitle/index.js"),require("../../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js"),require("../../../molecules/LikeButton/styled.js"),require("../../../icon-button/IconButton.js"),require("../../../molecules/ScarcityTag/ScarcityTag.styled.js"),require("../../../pricing/priceLabelV4/PriceLabelV4.js"),require("../../../collection/product/mobile/styled.js"),require("../../../tag/variants/product/styled.js"),require("../../../collection/product/truekind/styled.js"),require("../../../color/ColorRadioGroup.js"),require("../../../color/selector/PatternSelector.js"),require("../../../color/styles/ColorPickerwithTootip.styled.js"),require("../../../cross-sell/Checkbox/CrossSellCheckbox.js"),require("../../../delivery-details/DeliveryDetails.js"),require("../../../delivery-details/Note/Note.js"),require("../../../drawer/style.js"),require("../../../dropdown-list-icons/Styled.js"),require("../../../dropdown/size-dropdown/Styled.js"),require("../../../dropdown/variants/dialog/DropdownDialog.js"),require("../../../dropdown/base/BaseDropdown.js"),require("@headlessui/react"),require("../../../input/base/Error.js"),require("../../../shared/select/BaseSelect.js"),require("../../../dropdown/variants/smart/styled.js"),require("../../../filtering/Accordion.js"),require("../../../filtering/FiltersStyled.js"),require("../../../filtering/Tags/Tags.js"),require("../../../fit-guarantee/FitGuarantee.js"),require("../../../fit/FitPredictor.js"),require("react-zoom-pan-pinch"),require("../../../modal/Modal.js"),require("../../ModalZoom/zoomModal.styled.js"),require("../../ModalZoom/ZoomModalV2.styled.js"),require("../../../slider/ArrowButton.js"),require("../../../slider/StyledSlider.js"),require("../../../gallery/components/ImageSmallPreview/styled.js"),require("../../../gallery/components/ImagePreviewList/styled.js"),require("../../../gallery/components/ImageProductSlide/styled.js"),require("../../../gallery/styled.js"),require("../../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),require("../../../image-card/ImageCard.js"),require("../../../input/label/Label.js"),require("../../../input/base/Styled.js"),require("../../../input/custom/Custom.js"),require("../../../input/basePlusButton/BasePlusButton.js"),require("../../../input/basePlusIcon/BasePlusIcon.js"),require("../../../motivator-progress-bar/MotivatorProgressBar.js"),require("../../../order-bar/OrderBar.js"),require("../../../packs/selector/PackSelector.js"),require("../../../pagination/styles.js"),require("../../../payment-methods/PaymentMethod.js"),require("../../../product/order/item/SimpleOrderItem.js"),require("../../../progress-bar/ProgressBar.js"),require("../../../quantityPicker/styled.js"),require("../../../radio/RadioPrimary/radioPrimary.js"),require("../../../radio/clubRadioInput/clubRadio.js"),require("../../../review-detail/ReviewDetail.js"),require("../../../review/Review.js"),require("../../../reviews-header/ReviewsHeader.js"),require("../../../scroll-to-top/ScrollToTop.js"),require("../../../search-bar/components/ClearButton/styled.js"),require("../../../search-bar/components/Footer/styled.js"),require("../../../search-bar/components/ProductItem/styled.js"),require("../../../search-bar/components/ResultsPanel/styled.js"),require("../../../search-bar/components/SearchControl/styled.js"),require("../../../search-bar/styled.js"),require("../../../search-navigation/styled.js"),require("react-dom"),require("../../../short-banner/ShortBanner.js"),require("../../../size-chart/styled.js"),require("../../../size-table/SizeTable.js"),require("../../../size/guide/SizeFitGuide.js"),require("../../../size/selector/styled.js"),require("../../../tabs/Tab.js"),require("../../../tabs/Tabs.js"),require("../../../tag/Tag.js"),require("../../../textWithImage/index.js"),require("../../../toast/Toast.js"),require("../../../totals/total/styled.js"),require("../../../totals/subtotal/Subtotal.js"),require("../../../tracking-progress-v2/TrackingProgressV2.js"),require("../../../tracking-progress/TrackingProgress.js"),require("../../AutoshipOfferCard/AutoshipOfferCardItem.styled.js"),require("../../AutoshipOfferCardCta/AutoshipOfferCardItem.styled.js"),require("../../AutoshipPdpCard/AutoshipPdpCard.styled.js"),require("../../BasicAccordion/BasicAccordion.js"),require("../../CartItemCard/CartItem.js"),require("../../ClubOfferSelector/styled.js"),require("../../ClubOfferSelector2/styled.js"),require("../../JoinClubCard/joinClubCard.js"),require("../../OfferAtCart/styled.js"),require("../../OfferAtCartV2/styled.js"),require("../../OfferAtCartV3/styled.js"),require("../../OfferAtCartV4/styled.js"),require("../../OfferAtPDP/styled.js"),require("../../OfferAtPDP/types.js"),require("../../ProductCard/ProductCardV1/ProductCard.js"),require("../../ProductCard/ProductCardV2/styled.js"),require("../../ProductCard/ProductCardV3/styled.js"),require("../ProductGalleryMobileV1/ProductGalleryMobile.js"),require("../ProductGalleryMobileV2/ProductGalleryMobileV2.js"),require("./ProductGalleryMobileV3.js"),require("../ProductGalleryMobileV4/ContentGallery/styled.js"),require("../ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js"),require("../ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js"),require("../ProductGalleryMobileV4/GalleryDetailed/styled.js"),require("../ProductGalleryMobileV5/styled.js"),require("../ProductGalleryMobileV6/ColorVariantsGallery/styled.js"),require("../ProductGalleryMobileV6/MainGallery/styled.js"),require("../ProductGalleryMobileV6/styled.js"),require("../ProductGalleryMobileV7/ProductGalleryMobile.js"),require("../../SizeCharTable/SizeChartTableV2/styled.js"),require("../../SizeCharTable/SizeChartTableV3/styled.js"),require("../../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js"),require("../../SubscriptionPlanSelector/styled.js"),require("../../TwoCtasAtCart/Greeting.styled.js"),require("../../TwoCtasAtCart/Card.styled.js"),require("../../../timerV2/styled.js");var j,q,p,m,y,b,f,g,h,v=c(i),P=c(t),x=c(o),C=P.default.div(j||(j=e.__makeTemplateObject(["\n ","\n position: relative;\n max-height: 524px;\n overflow: hidden;\n & .slick-dots li.slick-active button:before {\n background-color: ",";\n }\n"],["\n ","\n position: relative;\n max-height: 524px;\n overflow: hidden;\n & .slick-dots li.slick-active button:before {\n background-color: ",";\n }\n"])),(function(e){return e.borderRadiusVariant&&"\n border-radius: 40px;\n "}),(function(e){return e.theme.component.slideNavigation.slideDots.selectedDotColor})),V=P.default.div(q||(q=e.__makeTemplateObject(["\n position: absolute;\n left: ",";\n top: ",";\n"],["\n position: absolute;\n left: ",";\n top: ",";\n"])),(function(e){return e.borderRadiusVariant?"13px":"0"}),(function(e){return e.borderRadiusVariant?"11px":"0"})),S=P.default.div(p||(p=e.__makeTemplateObject(["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"],["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"]))),T=P.default.div(m||(m=e.__makeTemplateObject(["\n content: '';\n background: transparent;\n width: 100%;\n height: 100%;\n min-height: 1px;\n position: absolute;\n top: 0;\n"],["\n content: '';\n background: transparent;\n width: 100%;\n height: 100%;\n min-height: 1px;\n position: absolute;\n top: 0;\n"]))),w=P.default.div(y||(y=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: 510px;\n background: #efefef;\n\n & > iframe {\n border: none;\n }\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: 510px;\n background: #efefef;\n\n & > iframe {\n border: none;\n }\n"]))),k=P.default.div(b||(b=e.__makeTemplateObject(["\n gap: 8px;\n position: absolute;\n width: 100%;\n bottom: 50px;\n display: flex;\n padding: 8.6px 0;\n font-weight: 600;\n align-items: center;\n background: #f7f7f7;\n justify-content: center;\n"],["\n gap: 8px;\n position: absolute;\n width: 100%;\n bottom: 50px;\n display: flex;\n padding: 8.6px 0;\n font-weight: 600;\n align-items: center;\n background: #f7f7f7;\n justify-content: center;\n"]))),I=P.default.div(f||(f=e.__makeTemplateObject(["\n padding-top: 3px;\n"],["\n padding-top: 3px;\n"]))),A=P.default.div(g||(g=e.__makeTemplateObject(["\n height: 40px;\n width: 40px;\n"],["\n height: 40px;\n width: 40px;\n"]))),O=P.default.button(h||(h=e.__makeTemplateObject(["\n background: transparent;\n border: none;\n padding: 0.188rem 0.625rem;\n z-index: 5;\n height: 40px !important;\n cursor: pointer;\n"],["\n background: transparent;\n border: none;\n padding: 0.188rem 0.625rem;\n z-index: 5;\n height: 40px !important;\n cursor: pointer;\n"]))),_={dots:!0,infinite:!1,speed:200,slidesToShow:1,slidesToScroll:1,initialSlide:0};exports.ImageProductSlideV3=function(i){var t=i.images,o=i.customClick,c=void 0!==o&&o,j=i.topTag,q=i.bottomTag,p=i.testId,m=i.borderRadiusVariant,y=i.selectedValue,b=i.enableZoom,f=void 0===b||b,g=s.useRef(null),h=s.useRef(null),P=s.useRef(null),B=s.useState(!1),M=B[0],G=B[1];a.usePreventVerticalScroll(h);var z=s.useCallback((function(e){var r;null===(r=g.current)||void 0===r||r.slickGoTo(e)}),[g]),L=function(){u.stopVideoCommand(),G((function(e){return e?!e:e}))},D=function(){u.playVideoCommand(),G((function(e){return e?!e:e}))};return s.useEffect((function(){var e;if(y){var r=t.findIndex((function(e){return e.url===y.url}));-1!==r&&(null===(e=g.current)||void 0===e||e.slickGoTo(r))}}),[t,y]),r.jsxs(r.Fragment,{children:[c&&r.jsx("div",e.__assign({style:{display:"flex",marginBottom:"20px",gap:"10px"}},{children:t.map((function(e,i){return r.jsx(n,{onClick:function(){return z(i)},text:String(i+1),inline:!0},i)}))}),void 0),r.jsx(C,e.__assign({"data-testid":p,borderRadiusVariant:m,ref:h},{children:r.jsx(v.default,e.__assign({afterChange:function(e){var r,i=t[e];(null===(r=null==i?void 0:i.url)||void 0===r?void 0:r.includes("autoplay=1"))?D():L()}},_,{nextArrow:r.jsx(A,{children:r.jsx(O,{children:r.jsx(d.Icon.Arrows.ChevronRight,{height:2.125,width:1.25,fill:"#292929"},void 0)},void 0)},void 0),prevArrow:r.jsx(A,{children:r.jsx(O,{children:r.jsx(d.Icon.Arrows.ChevronLeft,{height:2.125,width:1.25,fill:"#292929"},void 0)},void 0)},void 0),ref:g},{children:t.map((function(i){var t,s;return r.jsxs("div",{children:[!(null===(t=null==i?void 0:i.alt)||void 0===t?void 0:t.includes("-video"))&&r.jsxs(r.Fragment,{children:[f?r.jsx(x.default,{src:i.url,zoomSrc:i.zoomUrl||i.url,zoomType:"hover",imgAttributes:{alt:i.alt,width:"100%",height:"510px"},height:510,fullscreenOnMobile:!0,className:"zoomWrapper"},void 0):r.jsx(l.Image,{src:i.url,alt:i.alt,width:"100%",height:"500px"},void 0),r.jsx(V,e.__assign({borderRadiusVariant:m,"data-testid":"topTag"},{children:j}),void 0),r.jsx(S,e.__assign({"data-testid":"bottomTag"},{children:q}),void 0)]},void 0),(null===(s=null==i?void 0:i.alt)||void 0===s?void 0:s.includes("-video"))&&r.jsxs(w,{children:[r.jsx("iframe",{id:"vwo-video",ref:P,allowFullScreen:!0,title:i.alt,width:"100%",height:"220px",src:null==i?void 0:i.url,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"},void 0),r.jsx(T,{onClick:function(){M?L():D()}},void 0),r.jsxs(k,{children:[r.jsx(d.Icon.PDP.PlayMini,{width:1.5},void 0),r.jsx(I,{children:"VIDEO"},void 0)]},void 0)]},void 0)]},i.key)}))}),void 0)}),void 0)]},void 0)};
2
- //# sourceMappingURL=ImageProductSlideV3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ImageProductSlideV3.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),i=require("@emotion/styled"),o=require("./ImageProductSlideV3.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r,n=a(i).default.div(r||(r=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n height: fit-content;\n position: relative;\n max-width: 450px;\n"],["\n display: flex;\n flex-direction: column;\n height: fit-content;\n position: relative;\n max-width: 450px;\n"])));exports.ProductGalleryMobileV3=function(i){var a=i.images,r=i.customClick,d=i.topTag,l=i.bottomTag,s=i.productImageDataTestId,u=i.borderRadiusVariant,c=void 0!==u&&u,m=i.selectedValue,p=i.enableZoom,f=void 0===p||p;return t.jsx(n,e.__assign({"data-testid":"product-gallery-mobile-v3"},{children:t.jsx(o.ImageProductSlideV3,{images:a,customClick:r,topTag:d,bottomTag:l,testId:s,borderRadiusVariant:c,selectedValue:m,enableZoom:f},void 0)}),void 0)};
2
- //# sourceMappingURL=ProductGalleryMobileV3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductGalleryMobileV3.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),t=require("@ant-design/react-slick"),i=require("@emotion/react"),n=require("react"),a=require("../../../../hooks/usePreventVerticalScroll/usePreventVerticalScroll.js"),o=require("../../../icons/index.js"),s=require("./constants.js"),l=require("./styled.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=d(t);exports.ProductGalleryMobileV5=function(t){var d=t.images,c=t.topTag,g=t.bottomTag,h=t.productImageDataTestId,v=t.imagesSliderConfig,m=t.thumbnailSettings,f=t.isRatioSquare,x=void 0!==f&&f,j=t.selectedValue,p=i.useTheme().colors,_=n.useState(void 0),y=_[0],S=_[1],T=n.useState(void 0),I=T[0],b=T[1],q=n.useRef(null),C=n.useRef(null),w=n.useRef(null),R=i.useTheme();return a.usePreventVerticalScroll(w),n.useEffect((function(){q.current&&S(q.current),C.current&&b(C.current)}),[]),r.jsx(l.Container,e.__assign({"data-testid":"product-gallery-mobile"},{children:r.jsxs(l.SliderContainer,e.__assign({"data-testid":h,ref:w},{children:[r.jsx(u.default,e.__assign({},s.SETTINGS,{nextArrow:r.jsx(l.NavButtonContainer,{children:r.jsx(l.Button,{children:r.jsx(o.Icon.Arrows.ChevronRight,{height:"21px",width:"21px",fill:p.shades[700].color},void 0)},void 0)},void 0),prevArrow:r.jsx(l.NavButtonContainer,{children:r.jsx(l.Button,{children:r.jsx(o.Icon.Arrows.ChevronLeft,{height:"21px",width:"21px",fill:p.shades[700].color},void 0)},void 0)},void 0),asNavFor:I,ref:function(e){return q.current=e}},{children:d.map((function(t){var i=t.url,n=t.key,a=t.alt,o=i===(null==j?void 0:j.url)||n===(null==j?void 0:j.key);return r.jsxs("div",{children:[r.jsx(l.StyledImage,{alt:a,src:i,objectFit:"cover",width:R.component.gallery.mainImgWidth,height:R.component.gallery.mainImgHeight,loading:o?"eager":"lazy",decoding:o?"sync":"async",fetchPriority:o?"high":"auto",isRatioSquare:x},void 0),r.jsx(l.TopTagContainer,e.__assign({"data-testid":"topTag"},{children:c}),void 0),r.jsx(l.BottomTagContainer,e.__assign({"data-testid":"bottomTag"},{children:g}),void 0)]},n)}))}),void 0),r.jsx(l.SliderThumbnail,e.__assign({asNavFor:y,ref:function(e){return C.current=e}},m||s.THUMBNAIL_SETTINGS,{children:d.map((function(t,i){var n=t.url,a=t.key,o=t.alt;return r.jsx(l.SlideItem,e.__assign({paddingRight:null==v?void 0:v.spacesBetweenImages},{children:r.jsx(l.ThumbnailImage,e.__assign({alt:"".concat(o,"-thumbnail"),src:n},v,{loading:i<4?"eager":"lazy",decoding:i<4?"sync":"async",isRatioSquare:x}),void 0)}),a)}))}),void 0)]}),void 0)}),void 0)};
2
- //# sourceMappingURL=ProductGalleryMobileV5.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductGalleryMobileV5.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.SETTINGS={infinite:!1,speed:200,slidesToShow:1,slidesToScroll:1,initialSlide:0,arrows:!0,dots:!1},exports.THUMBNAIL_SETTINGS={swipeToSlide:!0,focusOnSelect:!0,infinite:!1,centerPadding:"16px",slidesToShow:6,speed:200,arrows:!1,responsive:[{breakpoint:320,settings:{slidesToShow:3.5}},{breakpoint:375,settings:{slidesToShow:4.5}},{breakpoint:410,settings:{slidesToShow:5}},{breakpoint:480,settings:{slidesToShow:5.5}}]};
2
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),e=require("@ant-design/react-slick"),t=require("@emotion/styled");require("react/jsx-runtime"),require("../../../../core/theme/Theme.js"),require("react"),require("../../../../types/enums.js"),require("../../../pricing/clubOffer/ClubOfferTag.js"),require("../../../pricing/discount/styled.js"),require("../../../pricing/styles.js"),require("../../../tooltip/Styled.js"),require("../../../atoms/PriceLabel/PriceLabel.js"),require("../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js"),require("../../../atoms/HorizontalDivider/HorizontalDivider.js"),require("../../../atoms/Icon/Icon.js");var i=require("../../../atoms/Image/Image.js");function o(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}require("../../../atoms/PriceLabelV2/PriceLabelV2.js"),require("../../../atoms/Toggle/toggle.styled.js");var r,l,a,s,p,d,c,u,b,m,k=o(e),x=o(t),g=x.default.div(r||(r=n.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n position: relative;\n"],["\n display: flex;\n flex-direction: column;\n position: relative;\n"]))),h=x.default.div(l||(l=n.__makeTemplateObject(["\n ","\n position: relative;\n overflow: hidden;\n & .slick-dots li.slick-active button:before {\n background-color: ",";\n }\n\n .slick-slide {\n position: relative;\n }\n\n .slick-arrow {\n cursor: pointer;\n position: absolute;\n top: 45%;\n z-index: 1;\n display: block !important;\n }\n\n .slick-arrow::before {\n content: '' !important;\n }\n\n @media only screen and (max-width: 480px) {\n .slick-arrow {\n display: block !important;\n }\n }\n\n .slick-arrow.slick-disabled {\n display: none !important;\n }\n\n .slick-prev {\n left: 5px;\n }\n\n .slick-next {\n right: 5px;\n }\n\n .slick-dots {\n bottom: 15px;\n list-style: none;\n margin: 0;\n padding: 0;\n position: absolute;\n text-align: center;\n width: 100%;\n }\n\n .slick-dots li {\n position: relative;\n display: inline-block;\n height: 20px;\n width: 20px;\n margin: 0;\n padding: 0;\n cursor: pointer;\n }\n\n .slick-dots li.slick-active {\n display: inline-block !important;\n }\n\n .slick-dots li:nth-child(n + 10) {\n display: none;\n }\n\n .slick-dots li button {\n background: transparent;\n border: 0;\n color: transparent;\n cursor: pointer;\n display: block;\n height: 20px;\n line-height: 0;\n outline: none;\n padding: 5px;\n width: 20px;\n }\n\n .slick-dots li button:focus:before,\n .slick-dots li button:hover:before {\n opacity: 0.5;\n }\n\n .slick-dots li button:before {\n background: rgba(27, 25, 25, 0.5);\n border-radius: 20px;\n content: ' ';\n display: block;\n height: 8px;\n left: 0;\n margin: 5px;\n position: absolute;\n top: 0;\n width: 8px;\n opacity: 1;\n }\n\n .slick-dots li.slick-active button:before {\n background-color: #fff;\n opacity: 1;\n width: 12px;\n height: 12px;\n top: -1px;\n }\n\n .slick-dots li:not(.slick-active) button:before {\n border: 1px solid hsla(0, 0%, 100%, 0.6);\n }\n"],["\n ","\n position: relative;\n overflow: hidden;\n & .slick-dots li.slick-active button:before {\n background-color: ",";\n }\n\n .slick-slide {\n position: relative;\n }\n\n .slick-arrow {\n cursor: pointer;\n position: absolute;\n top: 45%;\n z-index: 1;\n display: block !important;\n }\n\n .slick-arrow::before {\n content: '' !important;\n }\n\n @media only screen and (max-width: 480px) {\n .slick-arrow {\n display: block !important;\n }\n }\n\n .slick-arrow.slick-disabled {\n display: none !important;\n }\n\n .slick-prev {\n left: 5px;\n }\n\n .slick-next {\n right: 5px;\n }\n\n .slick-dots {\n bottom: 15px;\n list-style: none;\n margin: 0;\n padding: 0;\n position: absolute;\n text-align: center;\n width: 100%;\n }\n\n .slick-dots li {\n position: relative;\n display: inline-block;\n height: 20px;\n width: 20px;\n margin: 0;\n padding: 0;\n cursor: pointer;\n }\n\n .slick-dots li.slick-active {\n display: inline-block !important;\n }\n\n .slick-dots li:nth-child(n + 10) {\n display: none;\n }\n\n .slick-dots li button {\n background: transparent;\n border: 0;\n color: transparent;\n cursor: pointer;\n display: block;\n height: 20px;\n line-height: 0;\n outline: none;\n padding: 5px;\n width: 20px;\n }\n\n .slick-dots li button:focus:before,\n .slick-dots li button:hover:before {\n opacity: 0.5;\n }\n\n .slick-dots li button:before {\n background: rgba(27, 25, 25, 0.5);\n border-radius: 20px;\n content: ' ';\n display: block;\n height: 8px;\n left: 0;\n margin: 5px;\n position: absolute;\n top: 0;\n width: 8px;\n opacity: 1;\n }\n\n .slick-dots li.slick-active button:before {\n background-color: #fff;\n opacity: 1;\n width: 12px;\n height: 12px;\n top: -1px;\n }\n\n .slick-dots li:not(.slick-active) button:before {\n border: 1px solid hsla(0, 0%, 100%, 0.6);\n }\n"])),(function(n){return n.borderRadiusVariant&&"\n border-radius: 40px;\n "}),(function(n){return n.theme.component.slideNavigation.slideDots.selectedDotColor})),f=x.default.div(a||(a=n.__makeTemplateObject(["\n position: absolute;\n left: 0px;\n top: 21px;\n"],["\n position: absolute;\n left: 0px;\n top: 21px;\n"]))),y=x.default.div(s||(s=n.__makeTemplateObject(["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"],["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"]))),v=x.default.div(p||(p=n.__makeTemplateObject(["\n height: 36px;\n width: 36px;\n background-color: "," !important;\n border-radius: 500px;\n"],["\n height: 36px;\n width: 36px;\n background-color: "," !important;\n border-radius: 500px;\n"])),(function(n){return n.theme.colors.shades.white.color})),w=x.default.button(d||(d=n.__makeTemplateObject(["\n background: transparent;\n border: none;\n padding: 3px 8px;\n z-index: 5;\n height: 36px !important;\n cursor: pointer;\n"],["\n background: transparent;\n border: none;\n padding: 3px 8px;\n z-index: 5;\n height: 36px !important;\n cursor: pointer;\n"]))),j=x.default(k.default)(c||(c=n.__makeTemplateObject(["\n margin-top: 16px;\n padding-left: 16px;\n & .slick-slide {\n img {\n overflow: hidden;\n }\n }\n & .slick-current {\n img {\n border: 2px solid ",";\n }\n }\n\n .slick-track {\n display: flex;\n }\n"],["\n margin-top: 16px;\n padding-left: 16px;\n & .slick-slide {\n img {\n overflow: hidden;\n }\n }\n & .slick-current {\n img {\n border: 2px solid ",";\n }\n }\n\n .slick-track {\n display: flex;\n }\n"])),(function(n){return n.theme.colors.pallete.primary.color})),_=x.default(i.Image)(u||(u=n.__makeTemplateObject(["\n width: 100%;\n height: 100%;\n aspect-ratio: ",";\n"],["\n width: 100%;\n height: 100%;\n aspect-ratio: ",";\n"])),(function(n){var e=n.theme;return n.isRatioSquare?"1/1":e.component.gallery.aspectRatio})),q=x.default.div(b||(b=n.__makeTemplateObject(["\n padding-right: ",";\n"],["\n padding-right: ",";\n"])),(function(n){return n.paddingRight||"12px"})),T=x.default(i.Image)(m||(m=n.__makeTemplateObject(["\n object-fit: cover;\n width: ",";\n aspect-ratio: ",";\n border-radius: ",";\n"],["\n object-fit: cover;\n width: ",";\n aspect-ratio: ",";\n border-radius: ",";\n"])),(function(n){var e=n.width,t=n.theme;return e||t.component.gallery.thumbnail.mobile.width}),(function(n){var e=n.theme;return n.isRatioSquare?"1/1":e.component.gallery.aspectRatio}),(function(n){return n.borderRadius||"0px"}));exports.BottomTagContainer=y,exports.Button=w,exports.Container=g,exports.NavButtonContainer=v,exports.SlideItem=q,exports.SliderContainer=h,exports.SliderThumbnail=j,exports.StyledImage=_,exports.ThumbnailImage=T,exports.TopTagContainer=f;
2
- //# sourceMappingURL=styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styled.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";var o=require("tslib"),e=require("react/jsx-runtime"),i=require("@ant-design/react-slick"),n=require("react"),r=require("../../../../atoms/Image/Image.js"),t=require("../../../../cta/primary/ButtonPrimary.js");require("@emotion/react/jsx-runtime"),require("../../../../../core/theme/Theme.js"),require("../../../../../types/enums.js"),require("../../../../cta/styled.js");var l=require("../../../ModalZoom/index.js"),d=require("../../../ModalZoom/useZoom.js"),a=require("../../../../../hooks/usePreventVerticalScroll/usePreventVerticalScroll.js"),s=require("../../../../icons/index.js"),u=require("../../utils/sendCommandToIframe.js"),c=require("./ImageProductSlide.styled.js"),v=require("../../../ModalZoom/VideoDisplay.js"),m=require("../../../ModalZoom/ZoomButton.js");function h(o){return o&&"object"==typeof o&&"default"in o?o:{default:o}}var g=h(i),j={dots:!0,infinite:!1,speed:200,slidesToShow:1,slidesToScroll:1,initialSlide:0};module.exports=function(i){var h=i.contents,f=i.customClick,x=void 0!==f&&f,p=i.topTag,y=i.bottomTag,C=i.testId,q=i.borderRadiusVariant,I=i.selectedValue,k=i.onChange,V=i.zoomOptions,w=n.useRef(null),z=n.useRef(null),T=n.useState(!1),M=T[0],_=T[1],b=n.useState(0),B=b[0],S=b[1],Z=d.useZoom((null==V?void 0:V.zoomModalId)||"zoom-modal-v1").handleZoomClick;a.usePreventVerticalScroll(z);var P=n.useCallback((function(o){var e;null===(e=w.current)||void 0===e||e.slickGoTo(o)}),[w]);return n.useEffect((function(){var o;if(I){var e=h.findIndex((function(o){return o.url===I.url}));-1!==e&&(null===(o=w.current)||void 0===o||o.slickGoTo(e))}}),[h,I]),e.jsxs(e.Fragment,{children:[x&&e.jsx("div",o.__assign({style:{display:"flex",marginBottom:"20px",gap:"10px"}},{children:h.map((function(o,i){return e.jsx(t,{onClick:function(){return P(i)},text:String(i+1),inline:!0},o.key||"button-".concat(i))}))}),void 0),e.jsx(c.Container,o.__assign({"data-testid":C,borderRadiusVariant:q,ref:z,role:"button"},{children:e.jsx(g.default,o.__assign({afterChange:function(o){var e,i=h[o];(null===(e=null==i?void 0:i.url)||void 0===e?void 0:e.includes("autoplay=1"))?u.playVideoCommand():u.stopVideoCommand(),S(o),null==k||k(o)}},j,{nextArrow:e.jsx(c.NavButtonContainer,{children:e.jsx(c.Button,{children:e.jsx(s.Icon.Arrows.ChevronRight,{height:2.125,width:1.25,fill:"#292929"},void 0)},void 0)},void 0),prevArrow:e.jsx(c.NavButtonContainer,{children:e.jsx(c.Button,{children:e.jsx(s.Icon.Arrows.ChevronLeft,{height:2.125,width:1.25,fill:"#292929"},void 0)},void 0)},void 0),ref:w,vertical:M,rows:1},{children:h.map((function(i,n){var t,l=null==i?void 0:i.url,d=null!==(t=null==i?void 0:i.isVideo)&&void 0!==t&&t,a=i.url===(null==I?void 0:I.url)||i.key===(null==I?void 0:I.key),s={alt:i.alt,width:"100%",height:"510px",loading:a?"eager":"lazy",decoding:a?"sync":"async"};return e.jsx(c.ViewContainerWrapper,o.__assign({onClick:(null==V?void 0:V.zoomModalId)?Z:void 0},{children:d?e.jsx(v.VideoDisplay,{content:i},i.key):e.jsxs(e.Fragment,{children:[e.jsx(r.Image,{src:l,height:s.height,alt:i.alt,width:s.width,loading:s.loading,decoding:s.decoding,fetchPriority:a?"high":"auto"},void 0),p&&e.jsx(c.TopTagContainer,o.__assign({borderRadiusVariant:q,"data-testid":"topTag"},{children:p}),void 0),e.jsx(c.BottomTagContainer,o.__assign({onClick:function(){return _(!0)},"data-testid":"bottomTag"},{children:y}),void 0),Boolean(null==V?void 0:V.zoomModalId)&&e.jsx(m.ZoomButtonComponent,{modalId:(null==V?void 0:V.zoomModalId)||"zoom-modal-v1",showOnMobile:"v2"===(null==V?void 0:V.zoomVersion)},void 0)]},void 0)}),i.key)}))}),void 0)}),void 0),Boolean(null==V?void 0:V.zoomModalId)&&e.jsx(l.ZoomModalComponent,{version:null==V?void 0:V.zoomVersion,modalId:(null==V?void 0:V.zoomModalId)||"zoom-modal-v1",contents:h,initialSlide:B,fade:null==V?void 0:V.fade},void 0)]},void 0)};
2
- //# sourceMappingURL=ImageProductSlide.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ImageProductSlide.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib");function e(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var t=e(require("@emotion/styled")),r=t.default.div(a||(a=n.__makeTemplateObject(["\n ","\n position: relative;\n max-height: 524px;\n overflow: hidden;\n & .slick-dots li.slick-active button:before {\n background-color: ",";\n }\n"],["\n ","\n position: relative;\n max-height: 524px;\n overflow: hidden;\n & .slick-dots li.slick-active button:before {\n background-color: ",";\n }\n"])),(function(n){return n.borderRadiusVariant&&"\n border-radius: 40px;\n "}),(function(n){return n.theme.component.slideNavigation.slideDots.selectedDotColor})),o=t.default.div(d||(d=n.__makeTemplateObject(["\n position: absolute;\n left: ",";\n top: ",";\n"],["\n position: absolute;\n left: ",";\n top: ",";\n"])),(function(n){return n.borderRadiusVariant?"13px":"0"}),(function(n){return n.borderRadiusVariant?"11px":"0"})),i=t.default.div(s||(s=n.__makeTemplateObject(["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"],["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"])));t.default.div(u||(u=n.__makeTemplateObject(["\n position: absolute;\n ","\n right: 0.5rem;\n z-index: 10;\n"],["\n position: absolute;\n ","\n right: 0.5rem;\n z-index: 10;\n"])),(function(n){return n.isMobile?"bottom: 3rem;":"top: 1rem;"})),t.default.button(l||(l=n.__makeTemplateObject(["\n background: rgba(41, 41, 41, 0.5);\n border: none;\n border-radius: 50%;\n padding: 0.75rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n backdrop-filter: blur(4px);\n\n &:hover {\n background: rgba(0, 0, 0, 0.8);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"],["\n background: rgba(41, 41, 41, 0.5);\n border: none;\n border-radius: 50%;\n padding: 0.75rem;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s;\n backdrop-filter: blur(4px);\n\n &:hover {\n background: rgba(0, 0, 0, 0.8);\n }\n\n &:active {\n transform: scale(0.95);\n }\n"])));var a,d,s,u,l,p,c,b,m=t.default.div(p||(p=n.__makeTemplateObject(["\n height: 40px;\n width: 40px;\n"],["\n height: 40px;\n width: 40px;\n"]))),f=t.default.button(c||(c=n.__makeTemplateObject(["\n background: transparent;\n border: none;\n padding: 0.188rem 0.625rem;\n z-index: 5;\n height: 40px !important;\n cursor: pointer;\n"],["\n background: transparent;\n border: none;\n padding: 0.188rem 0.625rem;\n z-index: 5;\n height: 40px !important;\n cursor: pointer;\n"]))),g=t.default.div(b||(b=n.__makeTemplateObject(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"])));exports.BottomTagContainer=i,exports.Button=f,exports.Container=r,exports.NavButtonContainer=m,exports.TopTagContainer=o,exports.ViewContainerWrapper=g;
2
- //# sourceMappingURL=ImageProductSlide.styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ImageProductSlide.styled.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r,o=t(require("@emotion/styled")).default.button(r||(r=e.__makeTemplateObject(["\n background: transparent;\n border: none;\n padding: 0.188rem 0.625rem;\n z-index: 5;\n top: calc(50% - 40px);\n height: 40px !important;\n"],["\n background: transparent;\n border: none;\n padding: 0.188rem 0.625rem;\n z-index: 5;\n top: calc(50% - 40px);\n height: 40px !important;\n"])));exports.ArrowButton=function(t){var r=t.Icon,a=t.onClick,i=t.className;return n.jsx(o,e.__assign({className:i,type:"button",onClick:a},{children:r}),void 0)};
2
- //# sourceMappingURL=ArrowButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ArrowButton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),i=require("@emotion/styled"),r=require("../../../../../core/theme/Theme.js");require("react"),require("../../../../../types/enums.js"),require("../../../../pricing/clubOffer/ClubOfferTag.js"),require("../../../../pricing/discount/styled.js"),require("../../../../pricing/styles.js"),require("../../../../tooltip/Styled.js"),require("../../../../atoms/PriceLabel/PriceLabel.js"),require("../../../../atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.styled.js"),require("../../../../atoms/HorizontalDivider/HorizontalDivider.js");var n=require("../../../../atoms/Icon/Icon.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../../atoms/Image/styled.js"),require("../../../../atoms/PriceLabelV2/PriceLabelV2.js"),require("../../../../atoms/Toggle/toggle.styled.js");var s,a=o(i).default.div(s||(s=e.__makeTemplateObject(["\n position: absolute;\n bottom: 15px;\n display: flex;\n justify-content: center;\n width: 100%;\n svg {\n padding: 0.125rem;\n margin-left: 0.25rem;\n }\n"],["\n position: absolute;\n bottom: 15px;\n display: flex;\n justify-content: center;\n width: 100%;\n svg {\n padding: 0.125rem;\n margin-left: 0.25rem;\n }\n"])));exports.SlideDots=function(i){var o,s=i.quantity,l=i.selectedIndex,d=i.containerDataTestId,c=r.useTheme();return t.jsx(a,e.__assign({"data-testid":d},{children:(o=s,e.__spreadArray([],new Array(o),!0).map((function(e,t){return t}))).map((function(e){return t.jsx(n.Icon,{name:"navigation/slide_dot".concat(e===l?"_solid":""),height:.75,width:.75,fill:e===l?c.component.slideNavigation.slideDots.selectedDotColor:c.component.slideNavigation.slideDots.unselectedDotColor,opacity:c.component.slideNavigation.slideDots.dotsOpacity,testId:"slide-dot-".concat(e)},"Icon-".concat(e,"-navigation/slide_dot").concat(e===l?"_solid":""))}))}),void 0)};
2
- //# sourceMappingURL=SlideDots.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SlideDots.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("@emotion/styled"),i=require("../../../../../core/theme/Theme.js"),o=require("../../../../icons/index.js"),r=require("../ArrowButton/ArrowButton.js"),s=require("../SlideDots/SlideDots.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a,c,d,u=l(n),h=u.default(r.ArrowButton)(a||(a=e.__makeTemplateObject(["\n position: absolute;\n height: 100%;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n height: 100%;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),f=u.default(h)(c||(c=e.__makeTemplateObject(["\n right: 0;\n"],["\n right: 0;\n"]))),j=u.default(h)(d||(d=e.__makeTemplateObject(["\n left: 0;\n"],["\n left: 0;\n"])));exports.SlideNavigation=function(e){var n=e.quantity,r=e.selectedIndex,l=e.onNavigate,a=e.testId,c=i.useTheme(),d=n-1;return t.jsxs(t.Fragment,{children:[r>0&&t.jsx(j,{Icon:t.jsx(o.Icon.Arrows.ChevronLeft,{height:2.125,width:1.25,fill:c.colors.shades[700].color,opacity:.5},void 0),onClick:function(){l(r-1)}},void 0),r<d&&t.jsx(f,{Icon:t.jsx(o.Icon.Arrows.ChevronRight,{height:2.125,width:1.25,fill:c.colors.shades[700].color,opacity:.5},void 0),onClick:function(){l(r+1)}},void 0),t.jsx(s.SlideDots,{quantity:n,selectedIndex:r,containerDataTestId:a},void 0)]},void 0)};
2
- //# sourceMappingURL=SlideNavigation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SlideNavigation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}