@trafilea/afrodita-components 7.8.3 → 7.9.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.
- package/build/es/components/collection/index.js +1 -1
- package/build/es/components/collection/product/mobile/ProductItemMobile.js +1 -1
- package/build/es/components/collection/product/truekind/ProductItemTK.js +1 -1
- package/build/es/components/collection/product/truekind/styled.js +1 -1
- package/build/es/components/icons/Custom/Eye.js +2 -0
- package/build/es/components/icons/Custom/Eye.js.map +1 -0
- package/build/es/components/icons/Custom/index.js +1 -1
- package/build/es/components/molecules/BenefitsList/BenefitsList.js +1 -1
- package/build/es/components/molecules/CouponCard/CouponCard.js +1 -1
- package/build/es/components/molecules/LikeButton/LikeButton.js +1 -1
- package/build/es/components/molecules/OfferAtCartBenefits/OfferAtCartBenefits.js +1 -1
- package/build/es/components/organisms/AutoshipPdpCard/AutoshipPdpCard.js +1 -1
- package/build/es/components/organisms/OfferAtCart/OfferAtCart.js +1 -1
- package/build/es/components/organisms/OfferAtCartV2/OfferAtCartV2.js +1 -1
- package/build/es/components/organisms/OfferAtCartV4/OfferAtCartV4.js +1 -1
- package/build/es/components/organisms/OfferAtPDP/OfferAtPDP.js +1 -1
- package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ImageProductSlideV3.js +1 -1
- package/build/es/components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/index.js +1 -1
- package/build/es/components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js +1 -1
- package/build/es/components/organisms/TwoCtasAtCart/TwoCtasAtCart.js +1 -1
- package/build/es/components/tag/variants/product/ProductTag.js +2 -0
- package/build/es/components/tag/variants/product/ProductTag.js.map +1 -0
- package/build/es/components/tag/variants/product/styled.js +2 -0
- package/build/es/components/tag/variants/product/styled.js.map +1 -0
- package/build/es/index.js +1 -1
- package/build/index.d.ts +30 -10
- package/build/lib/components/collection/index.js +1 -1
- package/build/lib/components/collection/product/mobile/ProductItemMobile.js +1 -1
- package/build/lib/components/collection/product/truekind/ProductItemTK.js +1 -1
- package/build/lib/components/collection/product/truekind/styled.js +1 -1
- package/build/lib/components/icons/Custom/Eye.js +2 -0
- package/build/lib/components/icons/Custom/Eye.js.map +1 -0
- package/build/lib/components/icons/Custom/index.js +1 -1
- package/build/lib/components/molecules/BenefitsList/BenefitsList.js +1 -1
- package/build/lib/components/molecules/CouponCard/CouponCard.js +1 -1
- package/build/lib/components/molecules/LikeButton/LikeButton.js +1 -1
- package/build/lib/components/molecules/OfferAtCartBenefits/OfferAtCartBenefits.js +1 -1
- package/build/lib/components/organisms/AutoshipPdpCard/AutoshipPdpCard.js +1 -1
- package/build/lib/components/organisms/OfferAtCart/OfferAtCart.js +1 -1
- package/build/lib/components/organisms/OfferAtCartV2/OfferAtCartV2.js +1 -1
- package/build/lib/components/organisms/OfferAtCartV4/OfferAtCartV4.js +1 -1
- package/build/lib/components/organisms/OfferAtPDP/OfferAtPDP.js +1 -1
- package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ImageProductSlideV3.js +1 -1
- package/build/lib/components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/index.js +1 -1
- package/build/lib/components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js +1 -1
- package/build/lib/components/organisms/TwoCtasAtCart/TwoCtasAtCart.js +1 -1
- package/build/lib/components/tag/variants/product/ProductTag.js +2 -0
- package/build/lib/components/tag/variants/product/ProductTag.js.map +1 -0
- package/build/lib/components/tag/variants/product/styled.js +2 -0
- package/build/lib/components/tag/variants/product/styled.js.map +1 -0
- package/build/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
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"),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 l=require("../../../../hooks/usePreventVerticalScroll/usePreventVerticalScroll.js"),a=require("../utils/sendCommandToIframe.js"),u=require("../../../icons/index.js");function d(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/Image/styled.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("../../../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("../../../collection/product/truekind/styled.js"),require("../../../collection/grid/WithProductGrid.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/Drawer.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("../../../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("../../../modal/Modal.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("../../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");var c,j,p,q,m,b,y,f,g,h=d(i),v=d(t),P=d(o),x=v.default.div(c||(c=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})),C=v.default.div(j||(j=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=v.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=v.default.div(q||(q=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"]))),V=v.default.div(m||(m=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"]))),w=v.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"]))),k=v.default.div(y||(y=e.__makeTemplateObject(["\n padding-top: 3px;\n"],["\n padding-top: 3px;\n"]))),A=v.default.div(f||(f=e.__makeTemplateObject(["\n height: 40px;\n width: 40px;\n"],["\n height: 40px;\n width: 40px;\n"]))),I=v.default.button(g||(g=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"]))),O={dots:!0,infinite:!1,speed:200,slidesToShow:1,slidesToScroll:1,initialSlide:0};exports.ImageProductSlideV3=function(i){var t=i.images,o=i.customClick,d=void 0!==o&&o,c=i.topTag,j=i.bottomTag,p=i.testId,q=i.borderRadiusVariant,m=i.selectedValue,b=s.useRef(null),y=s.useRef(null),f=s.useRef(null),g=s.useState(!1),v=g[0],_=g[1];l.usePreventVerticalScroll(y);var B=s.useCallback((function(e){var r;null===(r=b.current)||void 0===r||r.slickGoTo(e)}),[b]),G=function(){a.stopVideoCommand(),_((function(e){return e?!e:e}))},L=function(){a.playVideoCommand(),_((function(e){return e?!e:e}))};return s.useEffect((function(){var e;if(m){var r=t.findIndex((function(e){return e.url===m.url}));-1!==r&&(null===(e=b.current)||void 0===e||e.slickGoTo(r))}}),[t,m]),r.jsxs(r.Fragment,{children:[d&&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 B(i)},text:String(i+1),inline:!0},i)}))}),void 0),r.jsx(x,e.__assign({"data-testid":p,borderRadiusVariant:q,ref:y},{children:r.jsx(h.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"))?L():G()}},O,{nextArrow:r.jsx(A,{children:r.jsx(I,{children:r.jsx(u.Icon.Arrows.ChevronRight,{height:2.125,width:1.25,fill:"#292929"},void 0)},void 0)},void 0),prevArrow:r.jsx(A,{children:r.jsx(I,{children:r.jsx(u.Icon.Arrows.ChevronLeft,{height:2.125,width:1.25,fill:"#292929"},void 0)},void 0)},void 0),ref:b},{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:[r.jsx(P.default,{src:i.url,zoomSrc:i.url,zoomType:"hover",imgAttributes:{alt:i.alt,width:"100%",height:"510px"},height:510,fullscreenOnMobile:!0,className:"zoomWrapper"},void 0),r.jsx(C,e.__assign({borderRadiusVariant:q,"data-testid":"topTag"},{children:c}),void 0),r.jsx(S,e.__assign({"data-testid":"bottomTag"},{children:j}),void 0)]},void 0),(null===(s=null==i?void 0:i.alt)||void 0===s?void 0:s.includes("-video"))&&r.jsxs(V,{children:[r.jsx("iframe",{id:"vwo-video",ref:f,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(){v?G():L()}},void 0),r.jsxs(w,{children:[r.jsx(u.Icon.PDP.PlayMini,{width:1.5},void 0),r.jsx(k,{children:"VIDEO"},void 0)]},void 0)]},void 0)]},i.key)}))}),void 0)}),void 0)]},void 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"),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 l=require("../../../../hooks/usePreventVerticalScroll/usePreventVerticalScroll.js"),a=require("../utils/sendCommandToIframe.js"),u=require("../../../icons/index.js");function d(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/Image/styled.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/Drawer.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("../../../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("../../../modal/Modal.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("../../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");var c,j,p,q,m,b,y,f,g,h=d(i),v=d(t),P=d(o),x=v.default.div(c||(c=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})),C=v.default.div(j||(j=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=v.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=v.default.div(q||(q=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"]))),V=v.default.div(m||(m=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"]))),w=v.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"]))),k=v.default.div(y||(y=e.__makeTemplateObject(["\n padding-top: 3px;\n"],["\n padding-top: 3px;\n"]))),A=v.default.div(f||(f=e.__makeTemplateObject(["\n height: 40px;\n width: 40px;\n"],["\n height: 40px;\n width: 40px;\n"]))),I=v.default.button(g||(g=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"]))),O={dots:!0,infinite:!1,speed:200,slidesToShow:1,slidesToScroll:1,initialSlide:0};exports.ImageProductSlideV3=function(i){var t=i.images,o=i.customClick,d=void 0!==o&&o,c=i.topTag,j=i.bottomTag,p=i.testId,q=i.borderRadiusVariant,m=i.selectedValue,b=s.useRef(null),y=s.useRef(null),f=s.useRef(null),g=s.useState(!1),v=g[0],_=g[1];l.usePreventVerticalScroll(y);var B=s.useCallback((function(e){var r;null===(r=b.current)||void 0===r||r.slickGoTo(e)}),[b]),G=function(){a.stopVideoCommand(),_((function(e){return e?!e:e}))},L=function(){a.playVideoCommand(),_((function(e){return e?!e:e}))};return s.useEffect((function(){var e;if(m){var r=t.findIndex((function(e){return e.url===m.url}));-1!==r&&(null===(e=b.current)||void 0===e||e.slickGoTo(r))}}),[t,m]),r.jsxs(r.Fragment,{children:[d&&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 B(i)},text:String(i+1),inline:!0},i)}))}),void 0),r.jsx(x,e.__assign({"data-testid":p,borderRadiusVariant:q,ref:y},{children:r.jsx(h.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"))?L():G()}},O,{nextArrow:r.jsx(A,{children:r.jsx(I,{children:r.jsx(u.Icon.Arrows.ChevronRight,{height:2.125,width:1.25,fill:"#292929"},void 0)},void 0)},void 0),prevArrow:r.jsx(A,{children:r.jsx(I,{children:r.jsx(u.Icon.Arrows.ChevronLeft,{height:2.125,width:1.25,fill:"#292929"},void 0)},void 0)},void 0),ref:b},{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:[r.jsx(P.default,{src:i.url,zoomSrc:i.url,zoomType:"hover",imgAttributes:{alt:i.alt,width:"100%",height:"510px"},height:510,fullscreenOnMobile:!0,className:"zoomWrapper"},void 0),r.jsx(C,e.__assign({borderRadiusVariant:q,"data-testid":"topTag"},{children:c}),void 0),r.jsx(S,e.__assign({"data-testid":"bottomTag"},{children:j}),void 0)]},void 0),(null===(s=null==i?void 0:i.alt)||void 0===s?void 0:s.includes("-video"))&&r.jsxs(V,{children:[r.jsx("iframe",{id:"vwo-video",ref:f,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(){v?G():L()}},void 0),r.jsxs(w,{children:[r.jsx(u.Icon.PDP.PlayMini,{width:1.5},void 0),r.jsx(k,{children:"VIDEO"},void 0)]},void 0)]},void 0)]},i.key)}))}),void 0)}),void 0)]},void 0)};
|
|
2
2
|
//# sourceMappingURL=ImageProductSlideV3.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
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("react");require("../../../../PackSelectorV2/PackSelectoV2.js"),require("../../../../absorbency-level/AbsorbencyLevel.js"),require("../../../../accordion-options/AccordionOptions.js"),require("../../../../accordion/Accordion.js"),require("../../../../../types/enums.js"),require("../../../../../core/theme/Theme.js"),require("../../../../../utils/constants/offerAtCart.js");var s=require("../../../../../utils/debounce/index.js");require("../../../../../utils/media.js"),require("../../../../../utils/mock-content/CancellationFlowAccordion.js"),require("../../../../dropdown/variants/simple/SimpleDropdown.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 o=require("../../../../atoms/Image/Image.js");require("../../../../atoms/PriceLabelV2/PriceLabelV2.js"),require("../../../../atoms/Toggle/toggle.styled.js"),require("../../../../radio/input/styles.js"),require("../../../../autoship/styled.js"),require("../../../../autoshipV2/styled.js"),require("../../../../before-after/BeforeAfter.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("@emotion/react/jsx-runtime"),require("../../../../SkeletonBox/SkeletonBox.js"),require("../../../../club-price-label/ClubPriceLabel.js"),require("../../../../strength-bars/StrengthBars.js"),require("../../../../pricing/priceLabelV4/PriceLabelV4.js"),require("../../../../rating/starList/StarList.js"),require("../../../../rating/styles.js"),require("../../../../collection/product/mobile/styled.js"),require("../../../../collection/product/truekind/styled.js"),require("../../../../collection/grid/WithProductGrid.js"),require("../../../../color/ColorRadioGroup.js"),require("../../../../color/selector/PatternSelector.js"),require("../../../../color/styles/ColorPickerwithTootip.styled.js"),require("../../../../cross-sell/Checkbox/CrossSellCheckbox.js"),require("../../../../cta/styled.js"),require("../../../../delivery-details/DeliveryDetails.js"),require("../../../../delivery-details/Note/Note.js"),require("../../../../drawer/Drawer.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("../../../../slider/ArrowButton.js"),require("../../../../slider/StyledSlider.js"),require("../../../../gallery/components/ImageSmallPreview/styled.js"),require("../../../../gallery/components/ImagePreviewList/styled.js");var l=require("../../../../molecules/Video/Video.js");require("../../../../gallery/components/ImageProductSlide/styled.js"),require("../../../../gallery/styled.js"),require("../../../../icon-button/IconButton.js"),require("../../../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),require("../../../../iconsWithTitle/index.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("../../../../modal/Modal.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("@emotion/react"),require("../../../../textWithImage/index.js"),require("../../../../timer/styled.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/ProductGalleryMobileV3.js"),require("../../ProductGalleryMobileV4/ContentGallery/styled.js"),require("react-inner-image-zoom"),require("../../ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js"),require("../../ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js"),require("../../ProductGalleryMobileV4/GalleryDetailed/styled.js"),require("../../ProductGalleryMobileV5/styled.js"),require("../ColorVariantsGallery/styled.js");var u=require("./styled.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../styled.js"),require("../../../SizeCharTable/SizeChartTableV2/styled.js"),require("../../../SizeCharTable/SizeChartTableV3/styled.js"),require("../../../../molecules/ArrowTip/ArrowTip.styled.js"),require("../../../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js"),require("../../../SubscriptionPlanSelector/styled.js"),require("../../../TwoCtasAtCart/Greeting.styled.js"),require("../../../TwoCtasAtCart/Card.styled.js"),require("../../../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("../../../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js"),require("../../../../molecules/CouponCard/styled.js"),require("../../../../molecules/BenefitsList/styled.js"),require("../../../../molecules/HurryUp/styled.js"),require("../../../../molecules/Spinner/styled.js"),require("../../../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js"),require("../../../../molecules/LikeButton/styled.js"),require("../../../../molecules/ScarcityTag/ScarcityTag.styled.js");var d=a(i),n={dots:!1,infinite:!1,speed:200,slidesToScroll:1,initialSlide:0},c=function(e){if(!(null==e?void 0:e.current))return 1.1;return(e.current.offsetWidth-15)/312-1e-4};exports.MainGallery=function(i){var a,j,q,y=i.contents,b=i.topTag,m=i.topRightTag,p=i.bottomTag,f=i.containerRef,g=t.useRef(null),P=t.useRef(null),C=t.useState(null!==(a=c(f))&&void 0!==a?a:1),v=C[0],h=C[1],T=null===(j=null==y?void 0:y[0])||void 0===j?void 0:j.key;return t.useEffect((function(){var e;null===(e=g.current)||void 0===e||e.slickGoTo(0,!0)}),[T]),t.useLayoutEffect((function(){if(null==f?void 0:f.current){var e=s.debounce((function(){var e;h(null!==(e=c(f))&&void 0!==e?e:1)}),300);return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}}),[f,null===(q=null==f?void 0:f.current)||void 0===q?void 0:q.offsetWidth]),r.jsx(u.MainGalleryContainer,e.__assign({ref:P},{children:r.jsx(d.default,e.__assign({},n,{slidesToShow:v,ref:g,centerPadding:"80"},{children:y.map((function(i,t){var s,a=null==i?void 0:i.url,d=null!==(s=null==i?void 0:i.isVideo)&&void 0!==s&&s;return r.jsx("div",e.__assign({"data-testid":"main-gallery-div-content-".concat(t)},{children:d?r.jsx(l.Video,{source:a,thumbnail:null==i?void 0:i.thumbnailUrl},void 0):r.jsxs(r.Fragment,{children:[r.jsx(o.Image,{src:a,alt:i.alt,width:"".concat(312,"px"),loading:"eager"},void 0),r.jsx(u.TopTag,e.__assign({"data-testid":"topTag"},{children:b}),void 0),r.jsx(u.BottomTag,e.__assign({"data-testid":"bottomTag"},{children:p}),void 0),!!m&&r.jsx(u.TopRightTag,{children:m},void 0)]},void 0)}),i.key)}))}),void 0)}),void 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("react");require("../../../../PackSelectorV2/PackSelectoV2.js"),require("../../../../absorbency-level/AbsorbencyLevel.js"),require("../../../../accordion-options/AccordionOptions.js"),require("../../../../accordion/Accordion.js"),require("../../../../../types/enums.js"),require("../../../../../core/theme/Theme.js"),require("../../../../../utils/constants/offerAtCart.js");var s=require("../../../../../utils/debounce/index.js");require("../../../../../utils/media.js"),require("../../../../../utils/mock-content/CancellationFlowAccordion.js"),require("../../../../dropdown/variants/simple/SimpleDropdown.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 o=require("../../../../atoms/Image/Image.js");require("../../../../atoms/PriceLabelV2/PriceLabelV2.js"),require("../../../../atoms/Toggle/toggle.styled.js"),require("../../../../radio/input/styles.js"),require("../../../../autoship/styled.js"),require("../../../../autoshipV2/styled.js"),require("../../../../before-after/BeforeAfter.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("@emotion/react/jsx-runtime"),require("../../../../SkeletonBox/SkeletonBox.js"),require("../../../../club-price-label/ClubPriceLabel.js"),require("../../../../strength-bars/StrengthBars.js"),require("../../../../pricing/priceLabelV4/PriceLabelV4.js"),require("../../../../rating/starList/StarList.js"),require("../../../../rating/styles.js"),require("../../../../collection/product/mobile/styled.js"),require("../../../../icon-button/IconButton.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("../../../../cta/styled.js"),require("../../../../delivery-details/DeliveryDetails.js"),require("../../../../delivery-details/Note/Note.js"),require("../../../../drawer/Drawer.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("../../../../slider/ArrowButton.js"),require("../../../../slider/StyledSlider.js"),require("../../../../gallery/components/ImageSmallPreview/styled.js"),require("../../../../gallery/components/ImagePreviewList/styled.js");var l=require("../../../../molecules/Video/Video.js");require("../../../../gallery/components/ImageProductSlide/styled.js"),require("../../../../gallery/styled.js"),require("../../../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),require("../../../../iconsWithTitle/index.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("../../../../modal/Modal.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("@emotion/react"),require("../../../../textWithImage/index.js"),require("../../../../timer/styled.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/ProductGalleryMobileV3.js"),require("../../ProductGalleryMobileV4/ContentGallery/styled.js"),require("react-inner-image-zoom"),require("../../ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js"),require("../../ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js"),require("../../ProductGalleryMobileV4/GalleryDetailed/styled.js"),require("../../ProductGalleryMobileV5/styled.js"),require("../ColorVariantsGallery/styled.js");var u=require("./styled.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../styled.js"),require("../../../SizeCharTable/SizeChartTableV2/styled.js"),require("../../../SizeCharTable/SizeChartTableV3/styled.js"),require("../../../../molecules/ArrowTip/ArrowTip.styled.js"),require("../../../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js"),require("../../../SubscriptionPlanSelector/styled.js"),require("../../../TwoCtasAtCart/Greeting.styled.js"),require("../../../TwoCtasAtCart/Card.styled.js"),require("../../../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("../../../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js"),require("../../../../molecules/CouponCard/styled.js"),require("../../../../molecules/BenefitsList/styled.js"),require("../../../../molecules/HurryUp/styled.js"),require("../../../../molecules/Spinner/styled.js"),require("../../../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js"),require("../../../../molecules/LikeButton/styled.js"),require("../../../../molecules/ScarcityTag/ScarcityTag.styled.js");var d=a(i),n={dots:!1,infinite:!1,speed:200,slidesToScroll:1,initialSlide:0},c=function(e){if(!(null==e?void 0:e.current))return 1.1;return(e.current.offsetWidth-15)/312-1e-4};exports.MainGallery=function(i){var a,j,q,y=i.contents,b=i.topTag,m=i.topRightTag,p=i.bottomTag,f=i.containerRef,g=t.useRef(null),P=t.useRef(null),C=t.useState(null!==(a=c(f))&&void 0!==a?a:1),v=C[0],h=C[1],T=null===(j=null==y?void 0:y[0])||void 0===j?void 0:j.key;return t.useEffect((function(){var e;null===(e=g.current)||void 0===e||e.slickGoTo(0,!0)}),[T]),t.useLayoutEffect((function(){if(null==f?void 0:f.current){var e=s.debounce((function(){var e;h(null!==(e=c(f))&&void 0!==e?e:1)}),300);return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}}),[f,null===(q=null==f?void 0:f.current)||void 0===q?void 0:q.offsetWidth]),r.jsx(u.MainGalleryContainer,e.__assign({ref:P},{children:r.jsx(d.default,e.__assign({},n,{slidesToShow:v,ref:g,centerPadding:"80"},{children:y.map((function(i,t){var s,a=null==i?void 0:i.url,d=null!==(s=null==i?void 0:i.isVideo)&&void 0!==s&&s;return r.jsx("div",e.__assign({"data-testid":"main-gallery-div-content-".concat(t)},{children:d?r.jsx(l.Video,{source:a,thumbnail:null==i?void 0:i.thumbnailUrl},void 0):r.jsxs(r.Fragment,{children:[r.jsx(o.Image,{src:a,alt:i.alt,width:"".concat(312,"px"),loading:"eager"},void 0),r.jsx(u.TopTag,e.__assign({"data-testid":"topTag"},{children:b}),void 0),r.jsx(u.BottomTag,e.__assign({"data-testid":"bottomTag"},{children:p}),void 0),!!m&&r.jsx(u.TopRightTag,{children:m},void 0)]},void 0)}),i.key)}))}),void 0)}),void 0)};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),i=require("react"),s=require("../../../types/enums.js");require("../../../utils/constants/offerAtCart.js");var t=require("../../../utils/decimalParser/decimalParser.js");require("../../../utils/media.js"),require("../../../utils/mock-content/CancellationFlowAccordion.js");var o=require("../../text/Text.js"),l=require("../../icons/index.js"),a=require("../../radio/input/radio.js"),n=require("../../tooltip/Tooltip.js");require("../../PackSelectorV2/PackSelectoV2.js"),require("../../absorbency-level/AbsorbencyLevel.js"),require("../../accordion-options/AccordionOptions.js"),require("../../accordion/Accordion.js"),require("../../../core/theme/Theme.js"),require("../../dropdown/variants/simple/SimpleDropdown.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/Image/styled.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("../../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("@emotion/react/jsx-runtime"),require("../../SkeletonBox/SkeletonBox.js"),require("../../club-price-label/ClubPriceLabel.js"),require("../../strength-bars/StrengthBars.js"),require("../../pricing/priceLabelV4/PriceLabelV4.js"),require("../../rating/starList/StarList.js"),require("../../rating/styles.js"),require("../../collection/product/mobile/styled.js"),require("../../collection/product/truekind/styled.js"),require("../../collection/grid/WithProductGrid.js"),require("../../color/ColorRadioGroup.js"),require("../../color/selector/PatternSelector.js"),require("../../color/styles/ColorPickerwithTootip.styled.js"),require("../../cross-sell/Checkbox/CrossSellCheckbox.js"),require("../../cta/styled.js"),require("../../delivery-details/DeliveryDetails.js"),require("../../delivery-details/Note/Note.js"),require("../../drawer/Drawer.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("../../slider/ArrowButton.js"),require("../../slider/StyledSlider.js"),require("../../gallery/components/ImageSmallPreview/styled.js"),require("../../gallery/components/ImagePreviewList/styled.js"),require("../../molecules/Video/components/styled.js"),require("../../molecules/Video/styled.js"),require("../../gallery/components/ImageProductSlide/styled.js"),require("../../gallery/styled.js"),require("../../icon-button/IconButton.js"),require("../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),require("../../iconsWithTitle/index.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("../../modal/Modal.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("@emotion/react"),require("../../textWithImage/index.js"),require("../../timer/styled.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("../ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js"),require("../ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js"),require("../ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js"),require("@ant-design/react-slick"),require("../ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js"),require("react-inner-image-zoom"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV5/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/ColorVariantsGallery/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/styled.js"),require("../SizeCharTable/SizeChartTableV2/styled.js"),require("../SizeCharTable/SizeChartTableV3/styled.js"),require("../../molecules/ArrowTip/ArrowTip.styled.js"),require("../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js");var u=require("./styled.js");require("../TwoCtasAtCart/Greeting.styled.js"),require("../TwoCtasAtCart/Card.styled.js"),require("../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js"),require("../../molecules/CouponCard/styled.js");var c=require("../../molecules/AutoshipFrequencyDropdown/AutoshipFrequencyDropdown.js"),d=require("../../molecules/BenefitsList/BenefitsList.js");require("../../molecules/HurryUp/styled.js"),require("../../molecules/Spinner/styled.js"),require("../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js"),require("../../molecules/LikeButton/styled.js"),require("../../molecules/ScarcityTag/ScarcityTag.styled.js");exports.SubscriptionPlanSelector=function(b){var j=b.children,q=b.benefits,p=b.tooltip,m=b.pricing,y=b.frequency,h=b.onChange,g=b.className,P=b.discountTagClassName,f=b.closeIcon,C=b.currencySymbol,T=b.discountLabel,_=b.radios,v=b.termsAndConditions,S=i.useState({oneTime:_.oneTime,subscription:_.subscription}),k=S[0],x=S[1];i.useEffect((function(){x((function(r){return e.__assign(e.__assign({},r),{oneTime:e.__assign(e.__assign({},r.oneTime),{checked:!r.oneTime.disabled&&r.oneTime.checked}),subscription:e.__assign(e.__assign({},r.subscription),{checked:!r.subscription.disabled&&r.subscription.checked})})}))}),[k.oneTime.disabled,k.subscription.disabled]);var V=i.useState(null==y?void 0:y.values[0]),A=V[0],M=V[1],w=m.listPrice,G=m.discountedPrice,I=m.subscriptionDiscountPercentage,B=Number((G-G*(I/100)).toFixed(2)),L=Math.floor(w-B),z=L/w*100,O=5*Math.round(z/5),D=i.useCallback((function(){return k.subscription.checked?Number((G-G*(I/100)).toFixed(2)):G}),[G,k.subscription.checked,I]),F=i.useMemo((function(){return{subscriptionPeriod:A,withSubscription:k.subscription.checked,originalPrice:w,discountedPrice:D()}}),[A,k.subscription.checked,w,D]);i.useEffect((function(){F&&h(F)}),[F,h]);var N=function(r){var i;"subscription"===(i=r)&&k.subscription.disabled||"oneTime"===i&&k.oneTime.disabled||(x((function(i){return e.__assign(e.__assign({},i),{oneTime:e.__assign(e.__assign({},i.oneTime),{checked:"oneTime"===r}),subscription:e.__assign(e.__assign({},i.subscription),{checked:"subscription"===r})})})),"oneTime"===r?M(void 0):"subscription"===r&&y&&M(y.values[0]))};return r.jsxs(u.Container,e.__assign({className:g},{children:[r.jsxs(u.SubscriptionContainer,e.__assign({highlighted:k.subscription.checked,onClick:function(){return N("subscription")},"data-testid":"subscription-purchase-block",disabled:k.subscription.disabled},{children:[r.jsx(u.DiscountTag,e.__assign({className:P,selected:k.subscription.checked},{children:null!=T?T:"".concat(O,"% OFF - SAVE ").concat(C).concat(L.toFixed(2))}),void 0),r.jsxs(u.SubscriptionHeader,e.__assign({showBorder:k.subscription.checked},{children:[r.jsxs(u.FlexContainer,e.__assign({"data-testid":"subscription-block",onClick:function(){return N("subscription")}},{children:[r.jsx(a.RadioInput,{label:_.subscription.label,icon:_.subscription.icon,name:"subscription",id:"subscription",value:"subscription",size:s.ComponentSize.Medium,style:{marginRight:"10px"},useV2Style:!0,onChange:function(){x((function(r){return{subscription:e.__assign(e.__assign({},r.subscription),{checked:!0}),oneTime:e.__assign(e.__assign({},r.oneTime),{checked:!1})}}))},checked:!k.subscription.disabled&&k.subscription.checked,disabled:k.subscription.disabled},void 0),p&&r.jsx(u.TooltipWrapper,{children:r.jsx(n.Tooltip,e.__assign({position:0,content:p.content,header:p.header,maxWidth:"248px",showCloseIcon:f,closeBtnSize:.7},{children:r.jsx(l.Icon.Actions.CircleQuestion,{width:1},void 0)}),void 0)},void 0)]}),void 0),r.jsx(u.StyledPrice,{testId:"subscription",finalPrice:"$".concat(t.decimalFormat(Number(B))),disabled:k.subscription.disabled,highlighted:!k.subscription.disabled&&k.subscription.highlighted,size:s.ComponentSize.Large,originalPrice:"$".concat(t.decimalFormat(Number(w)))},void 0)]}),void 0),k.subscription.checked&&r.jsxs(r.Fragment,{children:[r.jsx(u.BenefitsContainer,e.__assign({disabled:k.subscription.disabled},{children:function(){var s=k.subscription.disabled;if(j){var t=s?{opacity:.5,pointerEvents:"none"}:{};return i.Children.map(j,(function(r){return i.isValidElement(r)?i.cloneElement(r,{style:e.__assign(e.__assign({},r.props.style),t)}):r}))}return q?r.jsx(d.BenefitsList,{benefits:q,disabled:s},void 0):null}()}),void 0),v&&r.jsx(o.Text,e.__assign({variant:"link",underline:!0,href:v.url,size:"regular",target:"_blank"},{children:v.text}),void 0),(null==y?void 0:y.showFrequencyText)&&r.jsx(c.AutoshipFrequencyDropdown,{frequency:y,onChange:function(e){M(k.subscription.checked?e.value:void 0)}},void 0)]},void 0)]}),void 0),r.jsxs(u.SinglePurchaseContainer,e.__assign({"data-testid":"single-purchase-block",highlighted:k.oneTime.checked,disabled:k.oneTime.disabled,onClick:function(){return N("oneTime")}},{children:[r.jsx(a.RadioInput,{label:_.oneTime.label,icon:_.oneTime.icon,name:"oneTime",id:"oneTime",value:"oneTime",size:s.ComponentSize.Medium,onChange:function(){x((function(r){return{subscription:e.__assign(e.__assign({},r.subscription),{checked:!1}),oneTime:e.__assign(e.__assign({},r.oneTime),{checked:!0})}}))},useV2Style:!0,checked:!k.oneTime.disabled&&k.oneTime.checked,disabled:k.oneTime.disabled},void 0),r.jsx(u.StyledPrice,{testId:"single-purchase",finalPrice:"$".concat(t.decimalFormat(Number(G))),disabled:k.oneTime.disabled,highlighted:!k.oneTime.disabled&&k.oneTime.highlighted,size:s.ComponentSize.Large,originalPrice:"$".concat(t.decimalFormat(Number(w)))},void 0)]}),void 0)]}),void 0)};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),i=require("react"),s=require("../../../types/enums.js");require("../../../utils/constants/offerAtCart.js");var t=require("../../../utils/decimalParser/decimalParser.js");require("../../../utils/media.js"),require("../../../utils/mock-content/CancellationFlowAccordion.js");var o=require("../../text/Text.js"),l=require("../../icons/index.js"),a=require("../../radio/input/radio.js"),n=require("../../tooltip/Tooltip.js");require("../../PackSelectorV2/PackSelectoV2.js"),require("../../absorbency-level/AbsorbencyLevel.js"),require("../../accordion-options/AccordionOptions.js"),require("../../accordion/Accordion.js"),require("../../../core/theme/Theme.js"),require("../../dropdown/variants/simple/SimpleDropdown.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/Image/styled.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("../../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("@emotion/react/jsx-runtime"),require("../../SkeletonBox/SkeletonBox.js"),require("../../club-price-label/ClubPriceLabel.js"),require("../../strength-bars/StrengthBars.js"),require("../../pricing/priceLabelV4/PriceLabelV4.js"),require("../../rating/starList/StarList.js"),require("../../rating/styles.js"),require("../../collection/product/mobile/styled.js"),require("../../icon-button/IconButton.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("../../cta/styled.js"),require("../../delivery-details/DeliveryDetails.js"),require("../../delivery-details/Note/Note.js"),require("../../drawer/Drawer.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("../../slider/ArrowButton.js"),require("../../slider/StyledSlider.js"),require("../../gallery/components/ImageSmallPreview/styled.js"),require("../../gallery/components/ImagePreviewList/styled.js"),require("../../molecules/Video/components/styled.js"),require("../../molecules/Video/styled.js"),require("../../gallery/components/ImageProductSlide/styled.js"),require("../../gallery/styled.js"),require("../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),require("../../iconsWithTitle/index.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("../../modal/Modal.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("@emotion/react"),require("../../textWithImage/index.js"),require("../../timer/styled.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("../ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js"),require("../ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js"),require("../ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js"),require("@ant-design/react-slick"),require("../ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js"),require("react-inner-image-zoom"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV5/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/ColorVariantsGallery/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/styled.js"),require("../SizeCharTable/SizeChartTableV2/styled.js"),require("../SizeCharTable/SizeChartTableV3/styled.js"),require("../../molecules/ArrowTip/ArrowTip.styled.js"),require("../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js");var u=require("./styled.js");require("../TwoCtasAtCart/Greeting.styled.js"),require("../TwoCtasAtCart/Card.styled.js"),require("../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js"),require("../../molecules/CouponCard/styled.js");var c=require("../../molecules/AutoshipFrequencyDropdown/AutoshipFrequencyDropdown.js"),d=require("../../molecules/BenefitsList/BenefitsList.js");require("../../molecules/HurryUp/styled.js"),require("../../molecules/Spinner/styled.js"),require("../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js"),require("../../molecules/LikeButton/styled.js"),require("../../molecules/ScarcityTag/ScarcityTag.styled.js");exports.SubscriptionPlanSelector=function(b){var j=b.children,q=b.benefits,p=b.tooltip,m=b.pricing,y=b.frequency,g=b.onChange,h=b.className,P=b.discountTagClassName,f=b.closeIcon,C=b.currencySymbol,T=b.discountLabel,v=b.radios,_=b.termsAndConditions,S=i.useState({oneTime:v.oneTime,subscription:v.subscription}),k=S[0],x=S[1];i.useEffect((function(){x((function(r){return e.__assign(e.__assign({},r),{oneTime:e.__assign(e.__assign({},r.oneTime),{checked:!r.oneTime.disabled&&r.oneTime.checked}),subscription:e.__assign(e.__assign({},r.subscription),{checked:!r.subscription.disabled&&r.subscription.checked})})}))}),[k.oneTime.disabled,k.subscription.disabled]);var V=i.useState(null==y?void 0:y.values[0]),A=V[0],M=V[1],w=m.listPrice,G=m.discountedPrice,I=m.subscriptionDiscountPercentage,B=Number((G-G*(I/100)).toFixed(2)),L=Math.floor(w-B),z=L/w*100,O=5*Math.round(z/5),D=i.useCallback((function(){return k.subscription.checked?Number((G-G*(I/100)).toFixed(2)):G}),[G,k.subscription.checked,I]),F=i.useMemo((function(){return{subscriptionPeriod:A,withSubscription:k.subscription.checked,originalPrice:w,discountedPrice:D()}}),[A,k.subscription.checked,w,D]);i.useEffect((function(){F&&g(F)}),[F,g]);var N=function(r){var i;"subscription"===(i=r)&&k.subscription.disabled||"oneTime"===i&&k.oneTime.disabled||(x((function(i){return e.__assign(e.__assign({},i),{oneTime:e.__assign(e.__assign({},i.oneTime),{checked:"oneTime"===r}),subscription:e.__assign(e.__assign({},i.subscription),{checked:"subscription"===r})})})),"oneTime"===r?M(void 0):"subscription"===r&&y&&M(y.values[0]))};return r.jsxs(u.Container,e.__assign({className:h},{children:[r.jsxs(u.SubscriptionContainer,e.__assign({highlighted:k.subscription.checked,onClick:function(){return N("subscription")},"data-testid":"subscription-purchase-block",disabled:k.subscription.disabled},{children:[r.jsx(u.DiscountTag,e.__assign({className:P,selected:k.subscription.checked},{children:null!=T?T:"".concat(O,"% OFF - SAVE ").concat(C).concat(L.toFixed(2))}),void 0),r.jsxs(u.SubscriptionHeader,e.__assign({showBorder:k.subscription.checked},{children:[r.jsxs(u.FlexContainer,e.__assign({"data-testid":"subscription-block",onClick:function(){return N("subscription")}},{children:[r.jsx(a.RadioInput,{label:v.subscription.label,icon:v.subscription.icon,name:"subscription",id:"subscription",value:"subscription",size:s.ComponentSize.Medium,style:{marginRight:"10px"},useV2Style:!0,onChange:function(){x((function(r){return{subscription:e.__assign(e.__assign({},r.subscription),{checked:!0}),oneTime:e.__assign(e.__assign({},r.oneTime),{checked:!1})}}))},checked:!k.subscription.disabled&&k.subscription.checked,disabled:k.subscription.disabled},void 0),p&&r.jsx(u.TooltipWrapper,{children:r.jsx(n.Tooltip,e.__assign({position:0,content:p.content,header:p.header,maxWidth:"248px",showCloseIcon:f,closeBtnSize:.7},{children:r.jsx(l.Icon.Actions.CircleQuestion,{width:1},void 0)}),void 0)},void 0)]}),void 0),r.jsx(u.StyledPrice,{testId:"subscription",finalPrice:"$".concat(t.decimalFormat(Number(B))),disabled:k.subscription.disabled,highlighted:!k.subscription.disabled&&k.subscription.highlighted,size:s.ComponentSize.Large,originalPrice:"$".concat(t.decimalFormat(Number(w)))},void 0)]}),void 0),k.subscription.checked&&r.jsxs(r.Fragment,{children:[r.jsx(u.BenefitsContainer,e.__assign({disabled:k.subscription.disabled},{children:function(){var s=k.subscription.disabled;if(j){var t=s?{opacity:.5,pointerEvents:"none"}:{};return i.Children.map(j,(function(r){return i.isValidElement(r)?i.cloneElement(r,{style:e.__assign(e.__assign({},r.props.style),t)}):r}))}return q?r.jsx(d.BenefitsList,{benefits:q,disabled:s},void 0):null}()}),void 0),_&&r.jsx(o.Text,e.__assign({variant:"link",underline:!0,href:_.url,size:"regular",target:"_blank"},{children:_.text}),void 0),(null==y?void 0:y.showFrequencyText)&&r.jsx(c.AutoshipFrequencyDropdown,{frequency:y,onChange:function(e){M(k.subscription.checked?e.value:void 0)}},void 0)]},void 0)]}),void 0),r.jsxs(u.SinglePurchaseContainer,e.__assign({"data-testid":"single-purchase-block",highlighted:k.oneTime.checked,disabled:k.oneTime.disabled,onClick:function(){return N("oneTime")}},{children:[r.jsx(a.RadioInput,{label:v.oneTime.label,icon:v.oneTime.icon,name:"oneTime",id:"oneTime",value:"oneTime",size:s.ComponentSize.Medium,onChange:function(){x((function(r){return{subscription:e.__assign(e.__assign({},r.subscription),{checked:!1}),oneTime:e.__assign(e.__assign({},r.oneTime),{checked:!0})}}))},useV2Style:!0,checked:!k.oneTime.disabled&&k.oneTime.checked,disabled:k.oneTime.disabled},void 0),r.jsx(u.StyledPrice,{testId:"single-purchase",finalPrice:"$".concat(t.decimalFormat(Number(G))),disabled:k.oneTime.disabled,highlighted:!k.oneTime.disabled&&k.oneTime.highlighted,size:s.ComponentSize.Large,originalPrice:"$".concat(t.decimalFormat(Number(w)))},void 0)]}),void 0)]}),void 0)};
|
|
2
2
|
//# sourceMappingURL=SubscriptionPlanSelector.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),i=require("../../cta/primary/ButtonPrimary.js");require("@emotion/react/jsx-runtime"),require("../../../core/theme/Theme.js"),require("../../../types/enums.js"),require("../../cta/styled.js"),require("../../PackSelectorV2/PackSelectoV2.js"),require("../../absorbency-level/AbsorbencyLevel.js"),require("../../accordion-options/AccordionOptions.js"),require("../../accordion/Accordion.js"),require("react"),require("../../../utils/constants/offerAtCart.js"),require("../../../utils/media.js"),require("../../../utils/mock-content/CancellationFlowAccordion.js"),require("../../dropdown/variants/simple/SimpleDropdown.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"),require("../../atoms/Image/styled.js"),require("../../atoms/PriceLabelV2/PriceLabelV2.js"),require("../../atoms/Toggle/toggle.styled.js"),require("../../radio/input/styles.js"),require("../../autoship/styled.js"),require("../../autoshipV2/styled.js"),require("../../before-after/BeforeAfter.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("../../SkeletonBox/SkeletonBox.js"),require("../../club-price-label/ClubPriceLabel.js"),require("../../strength-bars/StrengthBars.js"),require("../../pricing/priceLabelV4/PriceLabelV4.js"),require("../../rating/starList/StarList.js"),require("../../rating/styles.js"),require("../../collection/product/mobile/styled.js"),require("../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),i=require("../../cta/primary/ButtonPrimary.js");require("@emotion/react/jsx-runtime"),require("../../../core/theme/Theme.js"),require("../../../types/enums.js"),require("../../cta/styled.js"),require("../../PackSelectorV2/PackSelectoV2.js"),require("../../absorbency-level/AbsorbencyLevel.js"),require("../../accordion-options/AccordionOptions.js"),require("../../accordion/Accordion.js"),require("react"),require("../../../utils/constants/offerAtCart.js"),require("../../../utils/media.js"),require("../../../utils/mock-content/CancellationFlowAccordion.js"),require("../../dropdown/variants/simple/SimpleDropdown.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"),require("../../atoms/Image/styled.js"),require("../../atoms/PriceLabelV2/PriceLabelV2.js"),require("../../atoms/Toggle/toggle.styled.js"),require("../../radio/input/styles.js"),require("../../autoship/styled.js"),require("../../autoshipV2/styled.js"),require("../../before-after/BeforeAfter.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("../../pricing/priceLabelV4/PriceLabelV4.js"),require("../../rating/starList/StarList.js"),require("../../rating/styles.js"),require("../../collection/product/mobile/styled.js"),require("../../icon-button/IconButton.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/Drawer.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("../../slider/ArrowButton.js"),require("../../slider/StyledSlider.js"),require("../../gallery/components/ImageSmallPreview/styled.js"),require("../../gallery/components/ImagePreviewList/styled.js"),require("../../molecules/Video/components/styled.js"),require("../../molecules/Video/styled.js"),require("../../gallery/components/ImageProductSlide/styled.js"),require("../../gallery/styled.js"),require("../../icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),require("../../iconsWithTitle/index.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("../../modal/Modal.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("@emotion/react"),require("../../textWithImage/index.js"),require("../../timer/styled.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("../ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js"),require("../ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js"),require("../ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js"),require("@ant-design/react-slick"),require("../ProductGalleryMobile/ProductGalleryMobileV4/ContentGallery/styled.js"),require("react-inner-image-zoom"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/MainContent/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/Slider/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV4/GalleryDetailed/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV5/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/ColorVariantsGallery/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/MainGallery/styled.js"),require("../ProductGalleryMobile/ProductGalleryMobileV6/styled.js"),require("../SizeCharTable/SizeChartTableV2/styled.js"),require("../SizeCharTable/SizeChartTableV3/styled.js"),require("../../molecules/ArrowTip/ArrowTip.styled.js"),require("../SizeCharTable/SizeChartTableV4/SizeChartTableV4.styled.js"),require("../SubscriptionPlanSelector/styled.js"),require("./Greeting.styled.js");var t=require("./Card.styled.js"),s=require("./DescriptionItem.js"),o=require("./types.js");require("../../molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("../../molecules/OfferAtCartImage/OfferAtCartImage.styled.js"),require("../../molecules/CouponCard/styled.js"),require("../../molecules/BenefitsList/styled.js"),require("../../molecules/HurryUp/styled.js"),require("../../molecules/Spinner/styled.js"),require("../../molecules/IconsWithTitleList/IconsWithTitleList.styled.js"),require("../../molecules/LikeButton/styled.js");var l=require("../../molecules/ScarcityTag/ScarcityTag.js");exports.TwoCtasAtCart=function(a){var u=a.title,d=a.saveLessButtonAction,c=a.saveLessButtonLabel,n=a.saveMoreButtonAction,j=a.saveMoreButtonLabel,q=a.descriptions,y=a.version,b=a.bottomCopy,p=a.titleBackgroundColor,m=a.scarcityText,P=a.scarcityTextColor;return r.jsxs(t.Container,e.__assign({id:"twoCtasAtCart"},{children:[r.jsx(t.TitleWrapper,e.__assign({id:"twoCtasAtCartTitle",backgroundColor:null!=p?p:void 0},{children:u}),void 0),r.jsx(i,{onClick:n,text:j,wide:!0},void 0),m&&r.jsx(l.ScarcityTag,{text:m,color:P},void 0),r.jsxs(t.BodyContainer,{children:[r.jsx(t.GridContainer,{children:q.map((function(e,i){return r.jsx(s.DescriptionItem,{text:e.text,smallerText:e.smallerText,iconName:null==e?void 0:e.iconName,type:null==e?void 0:e.type,link:null==e?void 0:e.link},"".concat(e.text,"-").concat(i))}))},void 0),b&&r.jsx(t.BottomCopyWrapper,{dangerouslySetInnerHTML:{__html:b}},void 0)]},void 0),r.jsx(t.OutLineButtonContainer,{children:y===o.BottomButtonVersionsTypes.link?r.jsx(t.SaveLessLinkButton,e.__assign({href:"#",onClick:d},{children:c}),void 0):r.jsx(t.BtnOutlineWrapper,{wide:!0,onClick:d,text:c},void 0)},void 0)]}),void 0)};
|
|
2
2
|
//# sourceMappingURL=TwoCtasAtCart.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var r=require("tslib"),o=require("react/jsx-runtime"),e=require("./styled.js");module.exports=function(t){var i=t.text,d=t.backgroundColor,n=t.textColor,s=t.borderColor,a=t.borderWidth,l=t.borderRadius,u=t.fontSize,c=t.fontWeight,b=t.padding,C=t.className,g=t.onClick;return o.jsx(e.Container,r.__assign({backgroundColor:d,textColor:n,borderColor:s,borderWidth:a,borderRadius:l,fontSize:u,fontWeight:c,padding:b,className:C,onClick:g},{children:i}),void 0)};
|
|
2
|
+
//# sourceMappingURL=ProductTag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductTag.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
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,r=e(require("@emotion/styled")).default.div(t||(t=n.__makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: ",";\n border-radius: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 1.2;\n text-align: center;\n white-space: nowrap;\n cursor: ",";\n transition: all 0.2s ease-in-out;\n background-color: ",";\n color: ",";\n border: ",";\n\n &:hover {\n ","\n }\n"],["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: ",";\n border-radius: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 1.2;\n text-align: center;\n white-space: nowrap;\n cursor: ",";\n transition: all 0.2s ease-in-out;\n background-color: ",";\n color: ",";\n border: ",";\n\n &:hover {\n ","\n }\n"])),(function(n){return n.padding||"4px 8px"}),(function(n){return n.borderRadius||"4px"}),(function(n){return n.fontSize||"12px"}),(function(n){return n.fontWeight||"600"}),(function(n){return n.onClick?"pointer":"default"}),(function(n){return n.backgroundColor||"#F5F5F5"}),(function(n){return n.textColor||"#000000"}),(function(n){var e=n.borderWidth,t=n.borderColor;return e&&t?"".concat(e," solid ").concat(t):t?"1px solid ".concat(t):"none"}),(function(n){return n.onClick&&"\n opacity: 0.8;\n transform: translateY(-1px);\n "}));exports.Container=r;
|
|
2
|
+
//# sourceMappingURL=styled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styled.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/build/lib/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./components/PackSelectorV2/PackSelectoV2.js"),r=require("./components/absorbency-level/AbsorbencyLevel.js"),o=require("./components/accordion-options/AccordionOptions.js"),t=require("./components/accordion/Accordion.js"),s=require("./components/autoship/autoShip.js"),i=require("./components/autoshipV2/autoshipV2.js"),n=require("./components/before-after/BeforeAfter.js"),a=require("./components/bundle/index.js"),p=require("./components/buynowpaylater/BuyNowPayLater.js"),c=require("./components/cartProductItem/index.js"),u=require("./components/checkbox/Checkbox.js"),l=require("./components/collection/index.js"),m=require("./components/color/ColorPickerWithTooltip.js"),d=require("./components/color/MultiColorPicker.js"),x=require("./components/color/SingleColorPicker.js"),b=require("./components/color/selector/ColorSelector.js"),P=require("./components/color/selector/PatternSelector.js"),j=require("./components/cross-sell/index.js"),q=require("./components/cta/primary/ButtonPrimary.js"),g=require("./components/cta/secondary/ButtonSecondary.js"),f=require("./components/cta/secondary/ButtonSecondaryOutline.js");require("tslib"),require("@emotion/react/jsx-runtime");var C=require("./core/theme/Theme.js");require("react/jsx-runtime");var y=require("./types/enums.js");require("./components/cta/styled.js");var S=require("./components/delivery-details/DeliveryDetails.js"),T=require("./components/delivery-details/Note/Note.js"),h=require("./components/drawer/Drawer.js"),V=require("./components/dropdown-list-icons/DropdownListIcons.js"),A=require("./components/dropdown/size-dropdown/SizeDropdown.js"),O=require("./components/dropdown/variants/dialog/DropdownDialog.js"),w=require("./components/dropdown/variants/filtering/FilteringDropdown.js"),v=require("./components/dropdown/variants/simple/SimpleDropdown.js"),B=require("./components/dropdown/variants/smart/SmartDropdown.js"),D=require("./components/filtering/Filters.js"),I=require("./components/filtering/Tags/Tags.js"),M=require("./components/fit-guarantee/FitGuarantee.js"),L=require("./components/fit/FitPredictor.js"),G=require("./components/gallery/ProductGallery.js"),z=require("./components/icon-button/IconButton.js"),k=require("./components/icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),F=require("./components/icons/index.js"),R=require("./components/iconsWithTitle/index.js"),H=require("./components/image-card/ImageCard.js"),W=require("./components/input/index.js"),N=require("./components/modal/Modal.js"),E=require("./components/motivator-progress-bar/MotivatorProgressBar.js"),U=require("./components/offer-banner/OfferBanner.js"),Q=require("./components/order-bar/OrderBar.js"),J=require("./components/packs/selector/PackSelector.js"),_=require("./components/pagination/Pagination.js"),K=require("./components/pagination/blogPaginator/PaginatorBlog.js"),X=require("./components/payment-methods/PaymentMethod.js"),Y=require("./components/pricing/clubOffer/ClubOfferTag.js"),Z=require("./components/pricing/discount/DiscountTag.js"),$=require("./components/pricing/price/PriceLabel.js"),ee=require("./components/pricing/priceLabelV2/PriceLabelV2.js"),re=require("./components/pricing/priceLabelV3/PriceLabelV3.js"),oe=require("./components/pricing/priceLabelV5/PriceLabelV5.js"),te=require("./components/pricing/priceLabelV6/PriceLabelV6.js"),se=require("./components/product/order/item/SimpleOrderItem.js"),ie=require("./components/progress-bar/ProgressBar.js"),ne=require("./components/quantityPicker/QuantityPicker.js"),ae=require("./components/radio/RadioPrimary/radioPrimary.js"),pe=require("./components/radio/container/group.js"),ce=require("./components/radio/clubContainer/clubGroup.js"),ue=require("./components/radio/input/radio.js"),le=require("./components/rating/Rating.js"),me=require("./components/rating/starList/StarList.js"),de=require("./components/review-detail/ReviewDetail.js"),xe=require("./components/review/Review.js"),be=require("./components/reviews-header/ReviewsHeader.js"),Pe=require("./components/scroll-to-top/ScrollToTop.js"),je=require("./components/search-bar/SearchBar.js"),qe=require("./components/search-navigation/SearchNavigation.js"),ge=require("./components/shared/card/Card.js"),fe=require("./components/shared/portal/Portal.js"),Ce=require("./components/shared/spacing/Spacing.js"),ye=require("./components/short-banner/ShortBanner.js"),Se=require("./components/size-chart/SizeChart.js"),Te=require("./components/size-table/SizeTable.js"),he=require("./components/size/guide/SizeFitGuide.js"),Ve=require("./components/size/selector/SizeSelector.js"),Ae=require("./components/slider/SliderNavigation.js"),Oe=require("./components/strength-bars/StrengthBars.js"),we=require("./components/tabs/Tab.js"),ve=require("./components/tabs/Tabs.js"),Be=require("./components/tag/variants/pdp/category/CategoryTag.js"),De=require("./components/tag/variants/pdp/categorySquare/CategorySquareTag.js"),Ie=require("./components/tag/variants/pdp/season-offer/SeasonOfferTag.js"),Me=require("./components/tag/variants/pdp/season-offer-rounded/SeasonOfferRounded.js"),Le=require("./components/text-button/TextButton.js"),Ge=require("./components/text/Text.js"),ze=require("./components/textWithImage/index.js"),ke=require("./components/timer/Timer.js"),Fe=require("./components/toast/Toast.js"),Re=require("./components/tooltip/Tooltip.js"),He=require("./components/totals/index.js"),We=require("./components/tracking-progress-v2/TrackingProgressV2.js"),Ne=require("./components/tracking-progress/TrackingProgress.js"),Ee=require("./components/organisms/AutoshipOfferCard/AutoshipOfferCardItem.js"),Ue=require("./components/organisms/AutoshipOfferCardCta/AutoshipOfferCardItemCta.js"),Qe=require("./components/organisms/AutoshipPdpCard/AutoshipPdpCard.js"),Je=require("./components/organisms/BasicAccordion/BasicAccordion.js"),_e=require("./components/organisms/CartItemCard/CartItem.js"),Ke=require("./components/organisms/ClubOfferSelector/clubOfferSelector.js"),Xe=require("./components/organisms/ClubOfferSelector2/clubOfferSelector2.js"),Ye=require("./components/organisms/JoinClubCard/joinClubCard.js"),Ze=require("./components/organisms/OfferAtCart/OfferAtCart.js"),$e=require("./components/organisms/OfferAtCartV2/OfferAtCartV2.js"),er=require("./components/organisms/OfferAtCartV3/OfferAtCartV3.js"),rr=require("./components/organisms/OfferAtCartV4/OfferAtCartV4.js"),or=require("./components/organisms/OfferAtPDP/OfferAtPDP.js");require("./components/organisms/OfferAtPDP/types.js");var tr=require("./components/organisms/ProductCard/ProductCardV1/ProductCard.js"),sr=require("./components/organisms/ProductCard/ProductCardV2/ProductCardV2.js"),ir=require("./components/organisms/ProductCard/ProductCardV3/ProductCardV3.js"),nr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js"),ar=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js"),pr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js"),cr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV4/ProductGalleryMobileV4.js"),ur=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/ProductGalleryMobileV5.js"),lr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/ProductGalleryMobileV6.js"),mr=require("./components/organisms/SizeCharTable/SizeChartTableV2/SizeChartV2.js"),dr=require("./components/organisms/SizeCharTable/SizeChartTableV3/SizeChartTableV3.js"),xr=require("./components/organisms/SizeCharTable/SizeChartTableV4/SizeChartTableV4.js"),br=require("./components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js"),Pr=require("./components/organisms/TwoCtasAtCart/GreetingsCard.js"),jr=require("./components/organisms/TwoCtasAtCart/TwoCtasAtCart.js"),qr=require("./components/atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js"),gr=require("./components/atoms/HorizontalDivider/HorizontalDivider.js"),fr=require("./components/atoms/Icon/Icon.js"),Cr=require("./components/atoms/Image/Image.js");require("./components/atoms/PriceLabel/PriceLabel.js"),require("./components/atoms/PriceLabelV2/PriceLabelV2.js");var yr=require("./components/atoms/Toggle/toggle.js");require("./components/molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("./components/molecules/OfferAtCartImage/OfferAtCartImage.styled.js");var Sr=require("./components/molecules/CouponCard/CouponCard.js"),Tr=require("./components/molecules/ArrowTip/ArrowTip.js"),hr=require("./components/molecules/AutoshipFrequencyDropdown/AutoshipFrequencyDropdown.js"),Vr=require("./components/molecules/BenefitsList/BenefitsList.js"),Ar=require("./components/molecules/HurryUp/HurryUp.js"),Or=require("./components/molecules/Spinner/Spinner.js"),wr=require("./components/molecules/Video/Video.js"),vr=require("./components/molecules/IconsWithTitleList/IconsWithTitleList.js"),Br=require("./components/molecules/LikeButton/LikeButton.js");require("./components/molecules/ScarcityTag/ScarcityTag.styled.js");var Dr=require("./components/before-after/types.js"),Ir=require("@emotion/cache"),Mr=require("@emotion/styled"),Lr=require("@emotion/react"),Gr=require("./hooks/click-outside.js"),zr=require("./hooks/useDeviceType/useDeviceType.js"),kr=require("./hooks/useViewportAwarePosition/useViewportAwarePosition.js"),Fr=require("./hooks/WindowDimensions.js"),Rr=require("./utils/buildImageUrl/buildImageUrl.js"),Hr=require("./utils/common/index.js"),Wr=require("./utils/constants/offerAtCart.js"),Nr=require("./utils/dateFormatter/dateFormatter.js"),Er=require("./utils/debounce/index.js"),Ur=require("./utils/decimalParser/decimalParser.js"),Qr=require("./utils/formatPrice/formatPrice.js"),Jr=require("./utils/getSrcSet/getSrcSet.js"),_r=require("./utils/media.js"),Kr=require("./utils/mock-content/CancellationFlowAccordion.js"),Xr=require("./utils/simulateClick/simulateClick.js"),Yr=require("./utils/sliceString/sliceString.js"),Zr=require("./utils/validations/validations.js");function $r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var eo=$r(Ir),ro=$r(Mr);exports.PackSelectorV2=e,exports.AbsorbencyLevel=r.AbsorbencyLevel,exports.AccordionOptions=o,exports.Accordion=t,exports.Autoship=s,exports.AutoshipV2=i,exports.BeforeAfterCard=n.BeforeAfterCard,exports.Bundle=a.Bundle,exports.BuyNowPayLater=p.BuyNowPayLater,exports.CartProductItem=c.CartProductItem,exports.Checkbox=u.Checkbox,exports.Collection=l.Collection,exports.ColorPickerWithTooltip=m,exports.MultiColorPicker=d,exports.SingleColorPicker=x.default,exports.ColorSelector=b.ColorSelector,exports.PatternSelector=P.PatternSelector,exports.CrossSell=j,exports.ButtonPrimary=q,exports.ButtonSecondary=g,exports.ButtonSecondaryOutline=f,exports.AssetsProvider=C.AssetsProvider,exports.ThemeProvider=C.ThemeProvider,exports.ThemeVariables=C.ThemeVariables,exports.useTheme=C.useTheme,exports.useThemeAssets=C.useThemeAssets,Object.defineProperty(exports,"CardSectionType",{enumerable:!0,get:function(){return y.CardSectionType}}),Object.defineProperty(exports,"ComponentPosition",{enumerable:!0,get:function(){return y.ComponentPosition}}),Object.defineProperty(exports,"ComponentSize",{enumerable:!0,get:function(){return y.ComponentSize}}),Object.defineProperty(exports,"InputValidationType",{enumerable:!0,get:function(){return y.InputValidationType}}),exports.DeliveryDetails=S.DeliveryDetails,exports.Note=T.Note,exports.Drawer=h.Drawer,exports.DropdownListIcons=V.DropdownListIcons,exports.SizeDropdown=A,exports.DropdownDialog=O,exports.FilteringDropdown=w,exports.SimpleDropdown=v,exports.SmartDropdown=B,exports.Filters=D.Filters,exports.FilteringTags=I.Tags,exports.FitGuarantee=M.FitGuarantee,exports.FitPredictor=L.FitPredictor,exports.ProductGallery=G.ProductGallery,exports.IconButton=z.IconButton,exports.AmazonButton=k.AmazonButton,exports.PaypalButton=k.PaypalButton,exports.Icon=F.Icon,exports.IconsWithTitle=R.IconsWithTitle,exports.ImageCardWithDescription=H.ImageCardWithDescription,exports.Input=W.Input,exports.Modal=N.Modal,exports.Overlay=N.Overlay,exports.modalEvent=N.modalEvent,exports.useModal=N.useModal,exports.useModalEvent=N.useModalEvent,exports.MotivatorProgressBar=E.MotivatorProgressBar,exports.OfferBanner=U.OfferBanner,exports.OrderBar=Q.OrderBar,exports.PackSelector=J,exports.Pagination=_.Pagination,exports.PaginatorBlog=K.PaginatorBlog,exports.PaymentMethod=X.PaymentMethod,exports.ClubOfferTag=Y.ClubOfferTag,exports.DiscountTag=Z.DiscountTag,exports.PriceLabel=$.PriceLabel,exports.PriceLabelV2=ee.PriceLabelV2,exports.PriceLabelV3=re.PriceLabelV3,exports.PriceLabelV5=oe.PriceLabelV5,exports.PriceLabelV6=te.PriceLabelV6,exports.SimpleOrderItem=se,exports.ProgressBar=ie.ProgressBar,exports.QuantityPicker=ne.QuantityPicker,exports.RadioPrimary=ae.RadioPrimary,exports.RadioGroupInput=pe.RadioGroupInput,exports.ClubRadioGroupInput=ce.ClubRadioGroupInput,exports.RadioInput=ue.RadioInput,exports.Rating=le.Rating,exports.StarList=me.StarList,exports.ReviewDetail=de,exports.Review=xe,exports.ReviewsHeader=be,exports.ScrollToTop=Pe.ScrollToTop,exports.SearchBar=je.SearchBar,exports.SearchNavigation=qe,exports.Card=ge,exports.Portal=fe.Portal,exports.Spacing=Ce.Spacing,exports.ShortBanner=ye.ShortBanner,exports.SizeChartTable=Se,exports.SizeTable=Te.SizeTable,exports.SizeFitGuide=he,exports.SizeSelector=Ve,exports.SliderNavigation=Ae,exports.StrengthBars=Oe.StrengthBars,exports.Tab=we,exports.Tabs=ve,exports.CategoryTag=Be,exports.CategorySquareTag=De,exports.SeasonOfferTag=Ie,exports.seasonOfferRoundedTag=Me,exports.TextButton=Le,exports.Text=Ge.Text,exports.TextWithImage=ze,exports.Timer=ke.Timer,exports.Toast=Fe.Toast,exports.Tooltip=Re.Tooltip,exports.Totals=He.Totals,exports.TrackingProgressV2=We,exports.TrackingProgress=Ne,exports.AutoshipOfferCard=Ee.AutoshipOfferCard,exports.AutoshipOfferCardCta=Ue.AutoshipOfferCardCta,exports.AutoshipPdpCard=Qe.AutoshipPdpCard,exports.BasicAccordion=Je.BasicAccordion,exports.CartItemCard=_e.CartItemCard,exports.ClubOfferSelector=Ke.ClubOfferSelector,exports.ClubOfferSelector2=Xe.ClubOfferSelector2,exports.JoinClubCard=Ye.JoinClubCard,exports.OfferAtCart=Ze.OfferAtCart,exports.OfferAtCartV2=$e.OfferAtCartV2,exports.OfferAtCartV3=er.OfferAtCartV3,exports.OfferAtCartV4=rr.OfferAtCartV4,exports.OfferAtPDP=or.OfferAtPDP,exports.ProductCard=tr.ProductCard,exports.ProductCardV2=sr.ProductCardV2,exports.ProductCardV3=ir.ProductCardV3,exports.ProductGalleryMobile=nr.ProductGalleryMobile,exports.ProductGalleryMobileV2=ar.ProductGalleryMobileV2,exports.ProductGalleryMobileV3=pr.ProductGalleryMobileV3,exports.ProductGalleryMobileV4=cr.ProductGalleryMobileV4,exports.ProductGalleryMobileV5=ur.ProductGalleryMobileV5,exports.ProductGalleryMobileV6=lr.ProductGalleryMobileV6,exports.SizeChartTableV2=mr.SizeChartTableV2,exports.SizeChartTableV3=dr.SizeChartTableV3,exports.SizeChartTableV4=xr.SizeChartTableV4,exports.SubscriptionPlanSelector=br.SubscriptionPlanSelector,exports.GreetingsCard=Pr.GreetingsCard,exports.TwoCtasAtCart=jr.TwoCtasAtCart,exports.ClubPriceMemberLabel=qr.ClubPriceMemberLabel,exports.HorizontalDivider=gr.HorizontalDivider,exports.LibIcon=fr.Icon,exports.Image=Cr.Image,exports.ToggleComponent=yr.ToggleComponent,exports.CouponCard=Sr.CouponCard,exports.ArrowTip=Tr.ArrowTip,exports.AutoshipFrequencyDropdown=hr.AutoshipFrequencyDropdown,exports.BenefitsList=Vr.BenefitsList,exports.HurryUp=Ar.HurryUp,exports.Spinner=Or.Spinner,exports.Video=wr.Video,exports.IconsWithTitleList=vr.IconsWithTitleList,exports.LikeButton=Br.LikeButton,Object.defineProperty(exports,"BeforeAfterVariant",{enumerable:!0,get:function(){return Dr.BeforeAfterVariant}}),exports.componentSizeMapper=Dr.componentSizeMapper,Object.defineProperty(exports,"createCache",{enumerable:!0,get:function(){return eo.default}}),Object.defineProperty(exports,"styled",{enumerable:!0,get:function(){return ro.default}}),Object.defineProperty(exports,"CacheProvider",{enumerable:!0,get:function(){return Lr.CacheProvider}}),Object.defineProperty(exports,"Global",{enumerable:!0,get:function(){return Lr.Global}}),Object.defineProperty(exports,"css",{enumerable:!0,get:function(){return Lr.css}}),exports.useOnClickOutside=Gr,exports.useDeviceType=zr,exports.useViewportAwarePosition=kr.useViewportAwarePosition,exports.useWindowDimensions=Fr.useWindowDimensions,exports.buildImageUrl=Rr.buildImageUrl,exports.isDangerouslySetInnerHTML=Hr.isDangerouslySetInnerHTML,exports.benefits=Wr.benefits,exports.benefitsRawHtml=Wr.benefitsRawHtml,exports.benefitsRawHtmlV2=Wr.benefitsRawHtmlV2,exports.sizeOptions=Wr.sizeOptions,exports.title=Wr.title,exports.DateFormat=Nr.DateFormat,exports.formatDate=Nr.formatDate,exports.debounce=Er.debounce,exports.decimalFormat=Ur.decimalFormat,exports.formatPrice=Qr.formatPrice,exports.getSrcSet=Jr.getSrcSet,exports.mediaQueries=_r.mediaQueries,exports.CancellationFlowAccordionContentPerPartner=Kr.CancellationFlowAccordionContentPerPartner,exports.simulateMouseClick=Xr.simulateMouseClick,exports.sliceString=Yr.sliceString,exports.isEmail=Zr.isEmail,exports.isEmpty=Zr.isEmpty,exports.isNumber=Zr.isNumber,exports.isPhoneNumber=Zr.isPhoneNumber,exports.isValidDate=Zr.isValidDate;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./components/PackSelectorV2/PackSelectoV2.js"),r=require("./components/absorbency-level/AbsorbencyLevel.js"),o=require("./components/accordion-options/AccordionOptions.js"),t=require("./components/accordion/Accordion.js"),s=require("./components/autoship/autoShip.js"),i=require("./components/autoshipV2/autoshipV2.js"),n=require("./components/before-after/BeforeAfter.js"),a=require("./components/bundle/index.js"),p=require("./components/buynowpaylater/BuyNowPayLater.js"),c=require("./components/cartProductItem/index.js"),u=require("./components/checkbox/Checkbox.js"),l=require("./components/collection/index.js"),m=require("./components/color/ColorPickerWithTooltip.js"),d=require("./components/color/MultiColorPicker.js"),x=require("./components/color/SingleColorPicker.js"),b=require("./components/color/selector/ColorSelector.js"),P=require("./components/color/selector/PatternSelector.js"),j=require("./components/cross-sell/index.js"),q=require("./components/cta/primary/ButtonPrimary.js"),g=require("./components/cta/secondary/ButtonSecondary.js"),f=require("./components/cta/secondary/ButtonSecondaryOutline.js");require("tslib"),require("@emotion/react/jsx-runtime");var C=require("./core/theme/Theme.js");require("react/jsx-runtime");var y=require("./types/enums.js");require("./components/cta/styled.js");var S=require("./components/delivery-details/DeliveryDetails.js"),T=require("./components/delivery-details/Note/Note.js"),h=require("./components/drawer/Drawer.js"),V=require("./components/dropdown-list-icons/DropdownListIcons.js"),A=require("./components/dropdown/size-dropdown/SizeDropdown.js"),O=require("./components/dropdown/variants/dialog/DropdownDialog.js"),v=require("./components/dropdown/variants/filtering/FilteringDropdown.js"),w=require("./components/dropdown/variants/simple/SimpleDropdown.js"),B=require("./components/dropdown/variants/smart/SmartDropdown.js"),D=require("./components/filtering/Filters.js"),I=require("./components/filtering/Tags/Tags.js"),M=require("./components/fit-guarantee/FitGuarantee.js"),L=require("./components/fit/FitPredictor.js"),G=require("./components/gallery/ProductGallery.js"),z=require("./components/icon-button/IconButton.js"),k=require("./components/icon-button/amazonAndPaypal/AmazonPaypalButtons.js"),F=require("./components/icons/index.js"),R=require("./components/iconsWithTitle/index.js"),H=require("./components/image-card/ImageCard.js"),W=require("./components/input/index.js"),N=require("./components/modal/Modal.js"),E=require("./components/motivator-progress-bar/MotivatorProgressBar.js"),U=require("./components/offer-banner/OfferBanner.js"),Q=require("./components/order-bar/OrderBar.js"),J=require("./components/packs/selector/PackSelector.js"),_=require("./components/pagination/Pagination.js"),K=require("./components/pagination/blogPaginator/PaginatorBlog.js"),X=require("./components/payment-methods/PaymentMethod.js"),Y=require("./components/pricing/clubOffer/ClubOfferTag.js"),Z=require("./components/pricing/discount/DiscountTag.js"),$=require("./components/pricing/price/PriceLabel.js"),ee=require("./components/pricing/priceLabelV2/PriceLabelV2.js"),re=require("./components/pricing/priceLabelV3/PriceLabelV3.js"),oe=require("./components/pricing/priceLabelV5/PriceLabelV5.js"),te=require("./components/pricing/priceLabelV6/PriceLabelV6.js"),se=require("./components/product/order/item/SimpleOrderItem.js"),ie=require("./components/progress-bar/ProgressBar.js"),ne=require("./components/quantityPicker/QuantityPicker.js"),ae=require("./components/radio/RadioPrimary/radioPrimary.js"),pe=require("./components/radio/container/group.js"),ce=require("./components/radio/clubContainer/clubGroup.js"),ue=require("./components/radio/input/radio.js"),le=require("./components/rating/Rating.js"),me=require("./components/rating/starList/StarList.js"),de=require("./components/review-detail/ReviewDetail.js"),xe=require("./components/review/Review.js"),be=require("./components/reviews-header/ReviewsHeader.js"),Pe=require("./components/scroll-to-top/ScrollToTop.js"),je=require("./components/search-bar/SearchBar.js"),qe=require("./components/search-navigation/SearchNavigation.js"),ge=require("./components/shared/card/Card.js"),fe=require("./components/shared/portal/Portal.js"),Ce=require("./components/shared/spacing/Spacing.js"),ye=require("./components/short-banner/ShortBanner.js"),Se=require("./components/size-chart/SizeChart.js"),Te=require("./components/size-table/SizeTable.js"),he=require("./components/size/guide/SizeFitGuide.js"),Ve=require("./components/size/selector/SizeSelector.js"),Ae=require("./components/slider/SliderNavigation.js"),Oe=require("./components/strength-bars/StrengthBars.js"),ve=require("./components/tabs/Tab.js"),we=require("./components/tabs/Tabs.js"),Be=require("./components/tag/variants/pdp/category/CategoryTag.js"),De=require("./components/tag/variants/pdp/categorySquare/CategorySquareTag.js"),Ie=require("./components/tag/variants/pdp/season-offer-rounded/SeasonOfferRounded.js"),Me=require("./components/tag/variants/pdp/season-offer/SeasonOfferTag.js");require("./components/tag/variants/product/styled.js");var Le=require("./components/text-button/TextButton.js"),Ge=require("./components/text/Text.js"),ze=require("./components/textWithImage/index.js"),ke=require("./components/timer/Timer.js"),Fe=require("./components/toast/Toast.js"),Re=require("./components/tooltip/Tooltip.js"),He=require("./components/totals/index.js"),We=require("./components/tracking-progress-v2/TrackingProgressV2.js"),Ne=require("./components/tracking-progress/TrackingProgress.js"),Ee=require("./components/organisms/AutoshipOfferCard/AutoshipOfferCardItem.js"),Ue=require("./components/organisms/AutoshipOfferCardCta/AutoshipOfferCardItemCta.js"),Qe=require("./components/organisms/AutoshipPdpCard/AutoshipPdpCard.js"),Je=require("./components/organisms/BasicAccordion/BasicAccordion.js"),_e=require("./components/organisms/CartItemCard/CartItem.js"),Ke=require("./components/organisms/ClubOfferSelector/clubOfferSelector.js"),Xe=require("./components/organisms/ClubOfferSelector2/clubOfferSelector2.js"),Ye=require("./components/organisms/JoinClubCard/joinClubCard.js"),Ze=require("./components/organisms/OfferAtCart/OfferAtCart.js"),$e=require("./components/organisms/OfferAtCartV2/OfferAtCartV2.js"),er=require("./components/organisms/OfferAtCartV3/OfferAtCartV3.js"),rr=require("./components/organisms/OfferAtCartV4/OfferAtCartV4.js"),or=require("./components/organisms/OfferAtPDP/OfferAtPDP.js");require("./components/organisms/OfferAtPDP/types.js");var tr=require("./components/organisms/ProductCard/ProductCardV1/ProductCard.js"),sr=require("./components/organisms/ProductCard/ProductCardV2/ProductCardV2.js"),ir=require("./components/organisms/ProductCard/ProductCardV3/ProductCardV3.js"),nr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV1/ProductGalleryMobile.js"),ar=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV2/ProductGalleryMobileV2.js"),pr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV3/ProductGalleryMobileV3.js"),cr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV4/ProductGalleryMobileV4.js"),ur=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV5/ProductGalleryMobileV5.js"),lr=require("./components/organisms/ProductGalleryMobile/ProductGalleryMobileV6/ProductGalleryMobileV6.js"),mr=require("./components/organisms/SizeCharTable/SizeChartTableV2/SizeChartV2.js"),dr=require("./components/organisms/SizeCharTable/SizeChartTableV3/SizeChartTableV3.js"),xr=require("./components/organisms/SizeCharTable/SizeChartTableV4/SizeChartTableV4.js"),br=require("./components/organisms/SubscriptionPlanSelector/SubscriptionPlanSelector.js"),Pr=require("./components/organisms/TwoCtasAtCart/GreetingsCard.js"),jr=require("./components/organisms/TwoCtasAtCart/TwoCtasAtCart.js"),qr=require("./components/atoms/ClubPriceMemberLabel/ClubPriceMemberLabel.js"),gr=require("./components/atoms/HorizontalDivider/HorizontalDivider.js"),fr=require("./components/atoms/Icon/Icon.js"),Cr=require("./components/atoms/Image/Image.js");require("./components/atoms/PriceLabel/PriceLabel.js"),require("./components/atoms/PriceLabelV2/PriceLabelV2.js");var yr=require("./components/atoms/Toggle/toggle.js");require("./components/molecules/OfferAtCartBenefits/OfferAtCartBenefits.styled.js"),require("./components/molecules/OfferAtCartImage/OfferAtCartImage.styled.js");var Sr=require("./components/molecules/CouponCard/CouponCard.js"),Tr=require("./components/molecules/ArrowTip/ArrowTip.js"),hr=require("./components/molecules/AutoshipFrequencyDropdown/AutoshipFrequencyDropdown.js"),Vr=require("./components/molecules/BenefitsList/BenefitsList.js"),Ar=require("./components/molecules/HurryUp/HurryUp.js"),Or=require("./components/molecules/Spinner/Spinner.js"),vr=require("./components/molecules/Video/Video.js"),wr=require("./components/molecules/IconsWithTitleList/IconsWithTitleList.js"),Br=require("./components/molecules/LikeButton/LikeButton.js");require("./components/molecules/ScarcityTag/ScarcityTag.styled.js");var Dr=require("./components/before-after/types.js"),Ir=require("@emotion/cache"),Mr=require("@emotion/styled"),Lr=require("@emotion/react"),Gr=require("./hooks/click-outside.js"),zr=require("./hooks/useDeviceType/useDeviceType.js"),kr=require("./hooks/useViewportAwarePosition/useViewportAwarePosition.js"),Fr=require("./hooks/WindowDimensions.js"),Rr=require("./utils/buildImageUrl/buildImageUrl.js"),Hr=require("./utils/common/index.js"),Wr=require("./utils/constants/offerAtCart.js"),Nr=require("./utils/dateFormatter/dateFormatter.js"),Er=require("./utils/debounce/index.js"),Ur=require("./utils/decimalParser/decimalParser.js"),Qr=require("./utils/formatPrice/formatPrice.js"),Jr=require("./utils/getSrcSet/getSrcSet.js"),_r=require("./utils/media.js"),Kr=require("./utils/mock-content/CancellationFlowAccordion.js"),Xr=require("./utils/simulateClick/simulateClick.js"),Yr=require("./utils/sliceString/sliceString.js"),Zr=require("./utils/validations/validations.js");function $r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var eo=$r(Ir),ro=$r(Mr);exports.PackSelectorV2=e,exports.AbsorbencyLevel=r.AbsorbencyLevel,exports.AccordionOptions=o,exports.Accordion=t,exports.Autoship=s,exports.AutoshipV2=i,exports.BeforeAfterCard=n.BeforeAfterCard,exports.Bundle=a.Bundle,exports.BuyNowPayLater=p.BuyNowPayLater,exports.CartProductItem=c.CartProductItem,exports.Checkbox=u.Checkbox,exports.Collection=l.Collection,exports.ColorPickerWithTooltip=m,exports.MultiColorPicker=d,exports.SingleColorPicker=x.default,exports.ColorSelector=b.ColorSelector,exports.PatternSelector=P.PatternSelector,exports.CrossSell=j,exports.ButtonPrimary=q,exports.ButtonSecondary=g,exports.ButtonSecondaryOutline=f,exports.AssetsProvider=C.AssetsProvider,exports.ThemeProvider=C.ThemeProvider,exports.ThemeVariables=C.ThemeVariables,exports.useTheme=C.useTheme,exports.useThemeAssets=C.useThemeAssets,Object.defineProperty(exports,"CardSectionType",{enumerable:!0,get:function(){return y.CardSectionType}}),Object.defineProperty(exports,"ComponentPosition",{enumerable:!0,get:function(){return y.ComponentPosition}}),Object.defineProperty(exports,"ComponentSize",{enumerable:!0,get:function(){return y.ComponentSize}}),Object.defineProperty(exports,"InputValidationType",{enumerable:!0,get:function(){return y.InputValidationType}}),exports.DeliveryDetails=S.DeliveryDetails,exports.Note=T.Note,exports.Drawer=h.Drawer,exports.DropdownListIcons=V.DropdownListIcons,exports.SizeDropdown=A,exports.DropdownDialog=O,exports.FilteringDropdown=v,exports.SimpleDropdown=w,exports.SmartDropdown=B,exports.Filters=D.Filters,exports.FilteringTags=I.Tags,exports.FitGuarantee=M.FitGuarantee,exports.FitPredictor=L.FitPredictor,exports.ProductGallery=G.ProductGallery,exports.IconButton=z.IconButton,exports.AmazonButton=k.AmazonButton,exports.PaypalButton=k.PaypalButton,exports.Icon=F.Icon,exports.IconsWithTitle=R.IconsWithTitle,exports.ImageCardWithDescription=H.ImageCardWithDescription,exports.Input=W.Input,exports.Modal=N.Modal,exports.Overlay=N.Overlay,exports.modalEvent=N.modalEvent,exports.useModal=N.useModal,exports.useModalEvent=N.useModalEvent,exports.MotivatorProgressBar=E.MotivatorProgressBar,exports.OfferBanner=U.OfferBanner,exports.OrderBar=Q.OrderBar,exports.PackSelector=J,exports.Pagination=_.Pagination,exports.PaginatorBlog=K.PaginatorBlog,exports.PaymentMethod=X.PaymentMethod,exports.ClubOfferTag=Y.ClubOfferTag,exports.DiscountTag=Z.DiscountTag,exports.PriceLabel=$.PriceLabel,exports.PriceLabelV2=ee.PriceLabelV2,exports.PriceLabelV3=re.PriceLabelV3,exports.PriceLabelV5=oe.PriceLabelV5,exports.PriceLabelV6=te.PriceLabelV6,exports.SimpleOrderItem=se,exports.ProgressBar=ie.ProgressBar,exports.QuantityPicker=ne.QuantityPicker,exports.RadioPrimary=ae.RadioPrimary,exports.RadioGroupInput=pe.RadioGroupInput,exports.ClubRadioGroupInput=ce.ClubRadioGroupInput,exports.RadioInput=ue.RadioInput,exports.Rating=le.Rating,exports.StarList=me.StarList,exports.ReviewDetail=de,exports.Review=xe,exports.ReviewsHeader=be,exports.ScrollToTop=Pe.ScrollToTop,exports.SearchBar=je.SearchBar,exports.SearchNavigation=qe,exports.Card=ge,exports.Portal=fe.Portal,exports.Spacing=Ce.Spacing,exports.ShortBanner=ye.ShortBanner,exports.SizeChartTable=Se,exports.SizeTable=Te.SizeTable,exports.SizeFitGuide=he,exports.SizeSelector=Ve,exports.SliderNavigation=Ae,exports.StrengthBars=Oe.StrengthBars,exports.Tab=ve,exports.Tabs=we,exports.CategoryTag=Be,exports.CategorySquareTag=De,exports.seasonOfferRoundedTag=Ie,exports.SeasonOfferTag=Me,exports.TextButton=Le,exports.Text=Ge.Text,exports.TextWithImage=ze,exports.Timer=ke.Timer,exports.Toast=Fe.Toast,exports.Tooltip=Re.Tooltip,exports.Totals=He.Totals,exports.TrackingProgressV2=We,exports.TrackingProgress=Ne,exports.AutoshipOfferCard=Ee.AutoshipOfferCard,exports.AutoshipOfferCardCta=Ue.AutoshipOfferCardCta,exports.AutoshipPdpCard=Qe.AutoshipPdpCard,exports.BasicAccordion=Je.BasicAccordion,exports.CartItemCard=_e.CartItemCard,exports.ClubOfferSelector=Ke.ClubOfferSelector,exports.ClubOfferSelector2=Xe.ClubOfferSelector2,exports.JoinClubCard=Ye.JoinClubCard,exports.OfferAtCart=Ze.OfferAtCart,exports.OfferAtCartV2=$e.OfferAtCartV2,exports.OfferAtCartV3=er.OfferAtCartV3,exports.OfferAtCartV4=rr.OfferAtCartV4,exports.OfferAtPDP=or.OfferAtPDP,exports.ProductCard=tr.ProductCard,exports.ProductCardV2=sr.ProductCardV2,exports.ProductCardV3=ir.ProductCardV3,exports.ProductGalleryMobile=nr.ProductGalleryMobile,exports.ProductGalleryMobileV2=ar.ProductGalleryMobileV2,exports.ProductGalleryMobileV3=pr.ProductGalleryMobileV3,exports.ProductGalleryMobileV4=cr.ProductGalleryMobileV4,exports.ProductGalleryMobileV5=ur.ProductGalleryMobileV5,exports.ProductGalleryMobileV6=lr.ProductGalleryMobileV6,exports.SizeChartTableV2=mr.SizeChartTableV2,exports.SizeChartTableV3=dr.SizeChartTableV3,exports.SizeChartTableV4=xr.SizeChartTableV4,exports.SubscriptionPlanSelector=br.SubscriptionPlanSelector,exports.GreetingsCard=Pr.GreetingsCard,exports.TwoCtasAtCart=jr.TwoCtasAtCart,exports.ClubPriceMemberLabel=qr.ClubPriceMemberLabel,exports.HorizontalDivider=gr.HorizontalDivider,exports.LibIcon=fr.Icon,exports.Image=Cr.Image,exports.ToggleComponent=yr.ToggleComponent,exports.CouponCard=Sr.CouponCard,exports.ArrowTip=Tr.ArrowTip,exports.AutoshipFrequencyDropdown=hr.AutoshipFrequencyDropdown,exports.BenefitsList=Vr.BenefitsList,exports.HurryUp=Ar.HurryUp,exports.Spinner=Or.Spinner,exports.Video=vr.Video,exports.IconsWithTitleList=wr.IconsWithTitleList,exports.LikeButton=Br.LikeButton,Object.defineProperty(exports,"BeforeAfterVariant",{enumerable:!0,get:function(){return Dr.BeforeAfterVariant}}),exports.componentSizeMapper=Dr.componentSizeMapper,Object.defineProperty(exports,"createCache",{enumerable:!0,get:function(){return eo.default}}),Object.defineProperty(exports,"styled",{enumerable:!0,get:function(){return ro.default}}),Object.defineProperty(exports,"CacheProvider",{enumerable:!0,get:function(){return Lr.CacheProvider}}),Object.defineProperty(exports,"Global",{enumerable:!0,get:function(){return Lr.Global}}),Object.defineProperty(exports,"css",{enumerable:!0,get:function(){return Lr.css}}),exports.useOnClickOutside=Gr,exports.useDeviceType=zr,exports.useViewportAwarePosition=kr.useViewportAwarePosition,exports.useWindowDimensions=Fr.useWindowDimensions,exports.buildImageUrl=Rr.buildImageUrl,exports.isDangerouslySetInnerHTML=Hr.isDangerouslySetInnerHTML,exports.benefits=Wr.benefits,exports.benefitsRawHtml=Wr.benefitsRawHtml,exports.benefitsRawHtmlV2=Wr.benefitsRawHtmlV2,exports.sizeOptions=Wr.sizeOptions,exports.title=Wr.title,exports.DateFormat=Nr.DateFormat,exports.formatDate=Nr.formatDate,exports.debounce=Er.debounce,exports.decimalFormat=Ur.decimalFormat,exports.formatPrice=Qr.formatPrice,exports.getSrcSet=Jr.getSrcSet,exports.mediaQueries=_r.mediaQueries,exports.CancellationFlowAccordionContentPerPartner=Kr.CancellationFlowAccordionContentPerPartner,exports.simulateMouseClick=Xr.simulateMouseClick,exports.sliceString=Yr.sliceString,exports.isEmail=Zr.isEmail,exports.isEmpty=Zr.isEmpty,exports.isNumber=Zr.isNumber,exports.isPhoneNumber=Zr.isPhoneNumber,exports.isValidDate=Zr.isValidDate;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED