@sunrise-upc/mobile-prod-card 11.7.12 → 11.7.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/Accessories/Accessory-card/AccessoryCard.css +1 -1
- package/dist/esm/components/Accessories/Accessory-card/AccessoryCard.js +0 -1
- package/dist/esm/components/Accessories/AccessoryPreviewCardLoader/AccessoryPreviewCardLoader.css +1 -1
- package/dist/esm/components/Accessories/AccessoryPreviewCardLoader/AccessoryPreviewCardLoader.js +0 -1
- package/dist/esm/components/Accessories/AccessoryPreviewCardSkeletonBody/AccessoryPreviewCardSkeletonBody.js +0 -1
- package/dist/esm/components/Accessories/AccessoryUpdateCartDotloader/AccessoryUpdateCartDotloader.css +1 -1
- package/dist/esm/components/Accessories/MultiItemAccessories/MultiItemAccessoriesPage.js +0 -1
- package/dist/esm/components/Accessories/MultiItemAccessories/MultiItemAccessoriesPageStyle.css +1 -1
- package/dist/esm/components/Accessories/PaymentTypeTabs/PaymentTypeTabs.css +1 -1
- package/dist/esm/components/Accessories/PaymentTypeTabs/PaymentTypeTabs.js +0 -1
- package/dist/esm/components/Accessories/ProgressionBar/progressionBar.css +1 -1
- package/dist/esm/components/Accessories/ProgressionBar/progressionBar.js +0 -1
- package/dist/esm/components/BenefitWrapper/BenefitValidate.js +0 -1
- package/dist/esm/components/BenefitWrapper/BenefitWrapper.css +1 -1
- package/dist/esm/components/BenefitWrapper/BenefitWrapper.js +0 -1
- package/dist/esm/components/BenefitWrapper/BenefitsValidate.css +1 -1
- package/dist/esm/components/Breadcrumb/Breadcrumb.css +1 -1
- package/dist/esm/components/Breadcrumb/Breadcrumb.js +0 -1
- package/dist/esm/components/CardComp/Card.css +1 -1
- package/dist/esm/components/CardEntitlement/CardEntitlement.css +1 -1
- package/dist/esm/components/CountryOverlays/CountryOverlays.css +1 -1
- package/dist/esm/components/DeviceCardWrapper/DeviceCards/DeviceCards.css +1 -1
- package/dist/esm/components/DeviceCardWrapper/DeviceCards/DeviceCards.js.map +1 -1
- package/dist/esm/components/DeviceCardWrapper/DevicePrice/DevicePrice.css +1 -1
- package/dist/esm/components/Dotloader/Dotloader.css +1 -1
- package/dist/esm/components/DynamicPriceComp/DynamicPrice.css +1 -1
- package/dist/esm/components/FalconAccordionList/FalconAccordion.css +1 -1
- package/dist/esm/components/FalconAccordionList/FalconAccordionList.css +1 -1
- package/dist/esm/components/FalconButtonV2/FalconButtonV2.css +1 -1
- package/dist/esm/components/FalconButtonV2/FalconButtonV2.js +0 -1
- package/dist/esm/components/FalconMessage/FalconMessage.css +1 -1
- package/dist/esm/components/FalconMessage/FalconMessage.js +0 -1
- package/dist/esm/components/FalconTitle/FalconTitle.css +1 -1
- package/dist/esm/components/GenericMessage/GenericMessage.css +1 -1
- package/dist/esm/components/GenericMessage/GenericMessage.js +0 -1
- package/dist/esm/components/Gift/ChooseGiftV2.css +1 -1
- package/dist/esm/components/Gift/ChooseGiftV2.js +0 -1
- package/dist/esm/components/Gift/GiftConfigV2.css +1 -1
- package/dist/esm/components/Gift/GiftConfigV2.js +0 -1
- package/dist/esm/components/HeroLogin/HeroLogin.css +1 -1
- package/dist/esm/components/HeroLogin/HeroLogin.js +0 -1
- package/dist/esm/components/LineCheckV3/AutoComplete.css +1 -1
- package/dist/esm/components/LineCheckV3/AutoComplete.js +0 -1
- package/dist/esm/components/LineCheckV3/IndividualLineCheck.css +1 -1
- package/dist/esm/components/LineCheckV3/IndividualLineCheck.js +0 -1
- package/dist/esm/components/LineCheckV3/LineCheckInput.css +1 -1
- package/dist/esm/components/LineCheckV3/LineCheckInput.js +0 -1
- package/dist/esm/components/LineCheckV3/LineCheckOverlay.css +1 -1
- package/dist/esm/components/LineCheckV3/LineCheckOverlay.js +0 -1
- package/dist/esm/components/LineCheckV3/LineCheckV3.css +1 -1
- package/dist/esm/components/LineCheckV3/LineCheckV3.js +0 -1
- package/dist/esm/components/LineCheckV3/Success.css +1 -1
- package/dist/esm/components/LineCheckV3/Success.js +0 -1
- package/dist/esm/components/NewLineCheck/AdvanceSearch.css +1 -1
- package/dist/esm/components/NewLineCheck/AdvanceSearch.js +0 -1
- package/dist/esm/components/NewLineCheck/CheckCoverage.css +1 -1
- package/dist/esm/components/NewLineCheck/CheckCoverage.js +0 -1
- package/dist/esm/components/NewLineCheck/CoverCheckWrapper.css +1 -0
- package/dist/esm/components/NewLineCheck/{CovercheckWrapper.js → CoverCheckWrapper.js} +1 -2
- package/dist/esm/components/NewLineCheck/{CovercheckWrapper.js.map → CoverCheckWrapper.js.map} +1 -1
- package/dist/esm/components/NewLineCheck/NewLCInput.css +1 -1
- package/dist/esm/components/NewLineCheck/NewLCInput.js +1 -2
- package/dist/esm/components/NewLineCheck/NewLCInput.js.map +1 -1
- package/dist/esm/components/NewLineCheck/SuccessCoverage.css +1 -1
- package/dist/esm/components/NewLineCheck/SuccessCoverage.js +0 -1
- package/dist/esm/components/NotificationToast/NotificationToast.css +1 -1
- package/dist/esm/components/NotificationToast/NotificationToast.js +0 -1
- package/dist/esm/components/OttMiniSummaryCard/OttMiniSummaryCard.css +1 -1
- package/dist/esm/components/OttMiniSummaryCard/OttMiniSummaryCard.js +0 -1
- package/dist/esm/components/PretoPost/PreToPostSubsPopup.css +1 -1
- package/dist/esm/components/PretoPost/PreToPostSubsPopup.js +0 -1
- package/dist/esm/components/PriceCalculationSticky/PriceCalculationSticky.css +1 -1
- package/dist/esm/components/PriceCalculationSticky/PriceCalculationSticky.js +0 -1
- package/dist/esm/components/ProductDetailsComp/ProductDetails.css +1 -1
- package/dist/esm/components/ProductDetailsV3/BenefitsSectionV3.js +0 -1
- package/dist/esm/components/ProductDetailsV3/CashBackV2/CashbackV2.css +1 -1
- package/dist/esm/components/ProductDetailsV3/CashBackV2/CashbackV2.js +0 -1
- package/dist/esm/components/ProductDetailsV3/ChooseGiftV2.css +1 -1
- package/dist/esm/components/ProductDetailsV3/ChooseGiftV2.js +0 -1
- package/dist/esm/components/ProductDetailsV3/GiftConfigV2.css +1 -1
- package/dist/esm/components/ProductDetailsV3/GiftConfigV2.js +0 -1
- package/dist/esm/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsModal.js +0 -1
- package/dist/esm/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsV2.css +1 -1
- package/dist/esm/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsV2.js +0 -1
- package/dist/esm/components/ProductDetailsV3/ProductDetailsV3.css +1 -1
- package/dist/esm/components/ProductDetailsV3/ProductEntitlement.js +0 -1
- package/dist/esm/components/ProductDetailsV3/ProductPriceV3.js +1 -2
- package/dist/esm/components/ProductDetailsV3/ProductPriceV3.js.map +1 -1
- package/dist/esm/components/ProductDetailsV3/ReactInputSelectV2/ReactInputSelectV2.css +1 -1
- package/dist/esm/components/ProductDetailsV3/ReactInputSelectV2/ReactInputSelectV2.js +0 -1
- package/dist/esm/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.css +1 -1
- package/dist/esm/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.js +0 -1
- package/dist/esm/components/ProductDetailsV3/tv/TVChannelOfferV2.css +1 -1
- package/dist/esm/components/ProductDetailsV3/tv/TVChannelOfferV2.js +0 -1
- package/dist/esm/components/ProductTeaser/ProductTeaser.css +1 -1
- package/dist/esm/components/ProductTeaser/ProductTeaser.js +0 -1
- package/dist/esm/components/ProductTeaser/ProductTeaserSlides.js +0 -1
- package/dist/esm/components/ProgressionBar/ProgressionBar.css +1 -1
- package/dist/esm/components/ProgressionBar/ProgressionBar.js +0 -1
- package/dist/esm/components/ReactInputSelect/ReactInputSelect.css +1 -1
- package/dist/esm/components/ReactInputSelect/ReactInputSelect.js +0 -1
- package/dist/esm/components/RecommendedOptions/RecommendedOptions.css +1 -1
- package/dist/esm/components/RecommendedOptions/RecommendedOptions.js +0 -1
- package/dist/esm/components/RecommendedOptions/ServiceOption/ServiceOptionCard/ItemsCounter.js +0 -1
- package/dist/esm/components/RecommendedOptions/ServiceOption/ServiceOptionCard/ServiceDetailSection.js +0 -1
- package/dist/esm/components/RecommendedOptions/ServiceOption/ServiceOptionCard/ServiceOptionCard.css +1 -1
- package/dist/esm/components/RecommendedOptions/ServiceOption/ServiceOptionCard/ServiceOptionCard.js +0 -1
- package/dist/esm/components/RecommendedOptions/ServiceOption/ServiceOptionPrice/ServiceOptionPrice.css +1 -1
- package/dist/esm/components/RecommendedOptions/ServiceOption/ServiceOptionPrice/ServiceOptionPrice.js +0 -1
- package/dist/esm/components/ResponsiveRow/row.css +1 -1
- package/dist/esm/components/StaticLineTable/CheckoutButton.js +0 -1
- package/dist/esm/components/StaticLineTable/DynamicPriceSection.js +1 -2
- package/dist/esm/components/StaticLineTable/DynamicPriceSection.js.map +1 -1
- package/dist/esm/components/StaticLineTable/ExsistingSubscriptionCards.js +0 -1
- package/dist/esm/components/StaticLineTable/ExsistingSubscriptionModal.js +0 -1
- package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsModal.css +1 -1
- package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsModal.js +0 -1
- package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsPopup.css +1 -1
- package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsPopup.js +0 -1
- package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsSmallPopup.css +1 -1
- package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsSmallPopup.js +0 -1
- package/dist/esm/components/StaticLineTable/StaticBenefit.js +0 -1
- package/dist/esm/components/StaticLineTable/StaticExclusiveBenefit.js +0 -1
- package/dist/esm/components/StaticLineTable/StaticLineTabelTimer/StaticLineTabelTimer.js +0 -1
- package/dist/esm/components/StaticLineTable/StaticLineTabelTimer/TimerStyles.css +1 -1
- package/dist/esm/components/StaticLineTable/StaticLineTable.css +1 -1
- package/dist/esm/components/StaticLineTable/StaticLineTable.js +0 -1
- package/dist/esm/components/StaticLineTable/StaticProduct.js +1 -2
- package/dist/esm/components/StaticLineTable/StaticProduct.js.map +1 -1
- package/dist/esm/components/StaticLineTable/StaticProductContainer.js +0 -1
- package/dist/esm/components/StaticLineTable/StaticProductDetails.css +1 -1
- package/dist/esm/components/StaticLineTable/StaticProductDetails.js +0 -1
- package/dist/esm/components/StaticLineTable/StaticProductDetailsModal.js +0 -1
- package/dist/esm/components/StaticLineTable/StaticProductEntitle.css +1 -1
- package/dist/esm/components/StaticLineTable/StaticProductEntitlement.js +0 -1
- package/dist/esm/components/StaticLineTable/TVChannelModal.css +1 -1
- package/dist/esm/components/StaticLineTable/TVChannelModal.js +0 -1
- package/dist/esm/components/StaticLineTable/TvOptionsContainer.css +1 -1
- package/dist/esm/components/StaticLineTable/TvOptionsContainer.js +0 -1
- package/dist/esm/components/StaticLineTable/WorldPassPopup.css +1 -1
- package/dist/esm/components/StaticLineTable/WorldPassPopup.js +0 -1
- package/dist/esm/components/StaticLineTable/exsistingSubscription.css +1 -1
- package/dist/esm/components/StaticPriceComp/StaticPriceComp.css +1 -1
- package/dist/esm/components/StickyBottomSheet/StickyBottomSheet.css +1 -1
- package/dist/esm/components/StickyBottomSheet/StickyBottomSheet.js +0 -1
- package/dist/esm/components/StickyProductAnchor/StickyProductAnchor.css +1 -1
- package/dist/esm/components/StickyProductAnchor/StickyProductAnchor.js +0 -1
- package/dist/esm/components/Table/table.css +1 -1
- package/dist/esm/components/Table/table.js +0 -1
- package/dist/esm/components/ToolTip/ToolTip.css +1 -1
- package/dist/esm/components/ToolTip/ToolTip.js +0 -1
- package/dist/esm/components/UltimateBundleLinetable/DpDetailsModal/DpDetailsModal.css +1 -1
- package/dist/esm/components/UltimateBundleLinetable/DpDetailsModal/DpDetailsModal.js +0 -1
- package/dist/esm/components/UltimateBundleLinetable/DpLinetableContainer.css +1 -1
- package/dist/esm/components/UltimateBundleLinetable/DpLinetableContainer.js +0 -1
- package/dist/esm/components/UltimateBundleLinetable/DpProduct.css +1 -1
- package/dist/esm/components/UltimateBundleLinetable/DpProduct.js +1 -2
- package/dist/esm/components/UltimateBundleLinetable/DpProduct.js.map +1 -1
- package/dist/esm/components/UltimateBundleLinetable/DpTabContainer.js.map +1 -1
- package/dist/esm/components/UltimateBundleLinetable/DpTableDeviceSection/DpTableDeviceSection.css +1 -1
- package/dist/esm/components/UltimateBundleLinetable/DpTableDeviceSection/DpTableDeviceSection.js +1 -2
- package/dist/esm/components/UltimateBundleLinetable/DpTableDeviceSection/DpTableDeviceSection.js.map +1 -1
- package/dist/esm/components/UltimateBundleLinetable/DpTableFlexSection/DpTableFlexSection.css +1 -1
- package/dist/esm/components/UltimateBundleLinetable/DpTableFlexSection/DpTableFlexSection.js +1 -2
- package/dist/esm/components/UltimateBundleLinetable/DpTableFlexSection/DpTableFlexSection.js.map +1 -1
- package/dist/esm/components/UltimateBundleLinetable/DpTableMobileSection/DpTableMobileSection.css +1 -1
- package/dist/esm/components/UltimateBundleLinetable/DpTableMobileSection/DpTableMobileSection.js +1 -2
- package/dist/esm/components/UltimateBundleLinetable/DpTableMobileSection/DpTableMobileSection.js.map +1 -1
- package/dist/esm/components/UltimateBundleLinetable/checkoutRedirectionPopup/checkoutRedirectionPopup.css +1 -1
- package/dist/esm/components/UltimateBundleLinetable/checkoutRedirectionPopup/checkoutRedirectionPopup.js +0 -1
- package/dist/esm/components/UserLoggedPricesToggle/UserLoggedPricesToggle.css +1 -1
- package/dist/esm/components/UserLoggedPricesToggle/UserLoggedPricesToggle.js +0 -1
- package/dist/esm/components/button/Button.css +1 -1
- package/dist/esm/components/freshProductBanner/FreshProductDetails.css +1 -1
- package/dist/esm/components/freshProductBanner/Timer/ExpiredTimer.css +1 -1
- package/dist/esm/components/freshProductBanner/Timer/Timer.css +1 -1
- package/dist/esm/components/freshProductBanner/freshProductBanner.css +1 -1
- package/dist/esm/components/freshProductBanner/freshProductBanner.js +1 -1
- package/dist/esm/components/freshProductBanner/freshProductBanner.js.map +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/lineTable/BundleProductsV3.js +1 -2
- package/dist/esm/components/lineTable/BundleProductsV3.js.map +1 -1
- package/dist/esm/components/lineTable/LineTableV3Refined.css +1 -1
- package/dist/esm/components/lineTable/OrderButton.js +0 -1
- package/dist/esm/components/lineTable/ProductContainerV3.js +0 -1
- package/dist/esm/components/lineTable/ProductTableV3.js +0 -1
- package/dist/esm/components/login/LoginModalV2.js +0 -1
- package/dist/esm/components/login/LoginV2.js +0 -1
- package/dist/esm/components/login/MfaPhase2/ButtonStyles.css +1 -1
- package/dist/esm/components/login/MfaPhase2/DepricatingChannels.js +0 -1
- package/dist/esm/components/login/MfaPhase2/NewNumber.js +0 -1
- package/dist/esm/components/login/MfaPhase2/OtpValidation.js +0 -1
- package/dist/esm/components/login/MfaPhase2/ResetPwdModal.js +0 -1
- package/dist/esm/components/login/ReusableLogin.css +1 -1
- package/dist/esm/components/skeletonLoader/SkeletonLoader.css +1 -0
- package/dist/esm/components/skeletonLoader/{Skeletonloader.js → SkeletonLoader.js} +1 -2
- package/dist/esm/components/skeletonLoader/{Skeletonloader.js.map → SkeletonLoader.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/node_modules/axios/index.js +1 -1
- package/dist/esm/node_modules/axios/index.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/adapters/adapters.js +1 -1
- package/dist/esm/node_modules/axios/lib/adapters/adapters.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/adapters/fetch.js +1 -1
- package/dist/esm/node_modules/axios/lib/adapters/fetch.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/adapters/xhr.js +1 -1
- package/dist/esm/node_modules/axios/lib/adapters/xhr.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/core/Axios.js +1 -1
- package/dist/esm/node_modules/axios/lib/core/Axios.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/core/AxiosError.js +1 -1
- package/dist/esm/node_modules/axios/lib/core/AxiosError.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/core/AxiosHeaders.js +1 -1
- package/dist/esm/node_modules/axios/lib/core/AxiosHeaders.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/core/buildFullPath.js +1 -1
- package/dist/esm/node_modules/axios/lib/core/buildFullPath.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/core/dispatchRequest.js +1 -1
- package/dist/esm/node_modules/axios/lib/core/dispatchRequest.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/dist/esm/node_modules/axios/lib/core/mergeConfig.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/core/settle.js +1 -1
- package/dist/esm/node_modules/axios/lib/core/settle.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/defaults/index.js +1 -1
- package/dist/esm/node_modules/axios/lib/defaults/index.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/env/data.js +1 -1
- package/dist/esm/node_modules/axios/lib/env/data.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/AxiosURLSearchParams.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/buildURL.js +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/buildURL.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/cookies.js +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/cookies.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/formDataToJSON.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/parseProtocol.js +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/parseProtocol.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/progressEventReducer.js +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/progressEventReducer.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/resolveConfig.js +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/resolveConfig.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/toFormData.js +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/toFormData.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/validator.js +1 -1
- package/dist/esm/node_modules/axios/lib/helpers/validator.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/utils.js +1 -1
- package/dist/esm/node_modules/axios/lib/utils.js.map +1 -1
- package/package.json +1 -1
- package/dist/esm/components/Accessories/AccessoryPreviewCardSkeletonBody/AccessoryPreviewCardSkeletonBody.css +0 -1
- package/dist/esm/components/Accessories/MultiItemAccessories/MultiItemAccessoriesPage.css +0 -1
- package/dist/esm/components/BenefitWrapper/BenefitValidate.css +0 -1
- package/dist/esm/components/NewLineCheck/CovercheckWrapper.css +0 -1
- package/dist/esm/components/ProductDetailsV3/BenefitsSectionV3.css +0 -1
- package/dist/esm/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsModal.css +0 -1
- package/dist/esm/components/ProductDetailsV3/ProductEntitlement.css +0 -1
- package/dist/esm/components/ProductDetailsV3/ProductPriceV3.css +0 -1
- package/dist/esm/components/ProductTeaser/ProductTeaserSlides.css +0 -1
- package/dist/esm/components/RecommendedOptions/ServiceOption/ServiceOptionCard/ItemsCounter.css +0 -1
- package/dist/esm/components/RecommendedOptions/ServiceOption/ServiceOptionCard/ServiceDetailSection.css +0 -1
- package/dist/esm/components/StaticLineTable/CheckoutButton.css +0 -1
- package/dist/esm/components/StaticLineTable/DynamicPriceSection.css +0 -1
- package/dist/esm/components/StaticLineTable/ExsistingSubscriptionCards.css +0 -1
- package/dist/esm/components/StaticLineTable/ExsistingSubscriptionModal.css +0 -1
- package/dist/esm/components/StaticLineTable/StaticBenefit.css +0 -1
- package/dist/esm/components/StaticLineTable/StaticExclusiveBenefit.css +0 -1
- package/dist/esm/components/StaticLineTable/StaticLineTabelTimer/StaticLineTabelTimer.css +0 -1
- package/dist/esm/components/StaticLineTable/StaticProduct.css +0 -1
- package/dist/esm/components/StaticLineTable/StaticProductContainer.css +0 -1
- package/dist/esm/components/StaticLineTable/StaticProductDetailsModal.css +0 -1
- package/dist/esm/components/StaticLineTable/StaticProductEntitlement.css +0 -1
- package/dist/esm/components/lineTable/BundleProductsV3.css +0 -1
- package/dist/esm/components/lineTable/OrderButton.css +0 -1
- package/dist/esm/components/lineTable/ProductContainerV3.css +0 -1
- package/dist/esm/components/lineTable/ProductTableV3.css +0 -1
- package/dist/esm/components/login/LoginModalV2.css +0 -1
- package/dist/esm/components/login/LoginV2.css +0 -1
- package/dist/esm/components/login/MfaPhase2/DepricatingChannels.css +0 -2
- package/dist/esm/components/login/MfaPhase2/NewNumber.css +0 -2
- package/dist/esm/components/login/MfaPhase2/OtpValidation.css +0 -2
- package/dist/esm/components/login/MfaPhase2/ResetPwdModal.css +0 -2
- package/dist/esm/components/skeletonLoader/Skeletonloader.css +0 -1
- package/dist/esm/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -2
- package/dist/esm/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
.card_Qk2yf.sr-card_7VYIF{
|
|
1
|
+
.card_Qk2yf.sr-card_7VYIF{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}.card_Qk2yf.border-top_Y1X4s{border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -2px 20px 0 rgba(61,57,53,.2);border:none}@media (min-width:768px){.sr-desk-card_-ZbFV{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (max-width:767px){.sr-mob-card_nvNFW{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (min-width:1024px){.sr-md-card_NJnGu{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}.mainPage_nLgJM .cartLimitTxt_Un2ej,.mainPage_nLgJM .extraSimHeading_iOq-C{font-size:18px;line-height:24px;font-weight:700;color:#3d3935;padding:0 0 16px 12px}.mainPage_nLgJM .strikedMonthlyPrice_T2OaO,.mainPage_nLgJM .strikedtotalMonthlyPrice_XoQsu{padding-left:4px;text-decoration:line-through;text-decoration-color:#da291c}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .cartPrice_VPeCu,.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .rpPrice_5I0bo{display:flex;margin-left:auto;white-space:nowrap;gap:4px;color:#5f5955}@media (max-width:767px){.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .itemLine_ysNhG .cartPrice_VPeCu,.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .rpPrice_5I0bo{font-size:12px;line-height:16px;grid-column:1/2;grid-row:2/3;margin-left:0}}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .itemDivider_Ne0w1,.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .miniCartDivider_oMv-o{width:100%;height:1px;border:none}.mainPage_nLgJM .react-multi-carousel-list{padding-bottom:36px}@media (max-width:767px){.mainPage_nLgJM .react-multi-carousel-list{margin-right:-4%}}.mainPage_nLgJM .react-multi-carousel-item{display:initial!important}.mainPage_nLgJM .react-multi-carousel-dot:not(.react-multi-carousel-dot--active) button{background-color:#b3aeaa}.mainPage_nLgJM .react-multi-carousel-dot button{border:none}.mainPage_nLgJM .react-multi-carousel-dot--active button{background-color:#da291c;border:none}.mainPage_nLgJM{padding-bottom:24px}.mainPage_nLgJM .card_Qk2yf{background:#fff;padding:16px;margin:0 12px;border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);height:100%;border:4px solid transparent;display:flex;flex-direction:column}.mainPage_nLgJM .card_Qk2yf.selectedCard_fFrRV{border-color:#da291c}@media (max-width:1023px){.mainPage_nLgJM .card_Qk2yf{margin:0 8px}}.mainPage_nLgJM .heading_-FSiS{font-size:16px;line-height:24px;font-weight:700;color:#3d3935}.mainPage_nLgJM .optionalText_bs306{font-size:14px;line-height:20px;font-weight:400;padding-bottom:16px}.mainPage_nLgJM .accImage_8S-3p{text-align:center;margin-top:4px}.mainPage_nLgJM .esimBadge_qdSkq{display:flex;align-items:center;justify-content:flex-end;gap:4px;padding-right:16px}.mainPage_nLgJM .esimIcon_ZczPE{width:24px;height:24px;display:block}.mainPage_nLgJM .mainPriceContainer_-fAvT{margin-top:auto}@media (max-width:767px){.mainPage_nLgJM .mainPriceContainer_-fAvT{margin-bottom:4px}}.mainPage_nLgJM .priceContainer_Uz0SN{background:#f7f6f5;border-radius:8px;padding:16px}.mainPage_nLgJM .price_VYiIE{font-size:20px;line-height:28px;font-weight:700;color:#3d3935}.mainPage_nLgJM .totalPrice_aqO1Q{font-size:14px;line-height:20px;font-weight:400;color:#5f5955;padding-bottom:4px}.mainPage_nLgJM .priceDescription_bJkMR{font-size:12px;line-height:16px;font-weight:400;color:#5f5955}.mainPage_nLgJM .monthlyPrice_nHlRH,.mainPage_nLgJM .oneTimePrice_f3f8Q{padding-bottom:4px}.mainPage_nLgJM .monthlyText_8RwlS{font-size:20px;line-height:28px}.mainPage_nLgJM .strikedMonthlyPrice_T2OaO{color:#3d3935;font-size:18px;line-height:24px}.mainPage_nLgJM .strikedtotalMonthlyPrice_XoQsu{font-size:14px;line-height:20px}.mainPage_nLgJM .monthlyStrikethroughText_7E9uK{font-weight:400;font-size:14px;line-height:20px;padding-left:4px}.mainPage_nLgJM .cartBtn_O3b3H{margin:16px 0 4px;align-items:center}.mainPage_nLgJM .cartBtn_O3b3H button{width:100%}@media (max-width:767px){.mainPage_nLgJM .cartBtn_O3b3H{margin:4px 0}}.mainPage_nLgJM .plus-icon_E27Ud{padding-top:5px;padding-right:5px}.mainPage_nLgJM .checkoutBtn_3i9j6{margin:5px auto 0}@media (max-width:767px){.mainPage_nLgJM .checkoutBtn_3i9j6,.mainPage_nLgJM .checkoutBtn_3i9j6 .falcon-primary-button-v1,.mainPage_nLgJM .checkoutBtn_3i9j6 button{width:100%}}.mainPage_nLgJM .miaFooter_9zWMl{display:flex;gap:20px}@media (max-width:1023px){.mainPage_nLgJM .miaFooter_9zWMl{flex-direction:column}}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL{font-size:14px;line-height:20px;border-radius:8px;padding:16px;background:#fff;flex:1;min-width:0;color:#3d3935;margin-left:12px}@media (max-width:1023px){.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL{margin-left:8px;padding:8px}}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .titleRow_eKeAr{display:flex;align-items:center;flex-wrap:nowrap;gap:8px}@media (max-width:767px){.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .titleRow_eKeAr{flex-wrap:wrap;column-gap:4px;row-gap:8px;align-items:start}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .titleRow_eKeAr .titleLabel_0kEw-{order:1}}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .titleRow_eKeAr .titleIcons_m2LrM{display:flex;align-items:center;gap:8px}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .titleRow_eKeAr .titleIcons_m2LrM span{display:flex;align-items:center;gap:4px;white-space:nowrap}@media (max-width:767px){.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .titleRow_eKeAr .titleIcons_m2LrM{order:3;flex-wrap:wrap;gap:4px;margin-right:4px;max-width:87%}}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .titleRow_eKeAr .cartPrice_VPeCu{color:#3d3935}@media (max-width:767px){.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .titleRow_eKeAr .cartPrice_VPeCu{order:2;margin-left:unset}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .titleRow_eKeAr .cartToggle_5IgiB{order:4;margin-left:auto;align-self:center}}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .cartPrice_VPeCu .oneTime_sDC1m{font-size:12px;line-height:16px;margin-top:3px;margin-bottom:1px}@media (max-width:767px){.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .cartPrice_VPeCu .oneTime_sDC1m{margin:unset;order:2}}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .rpPrice_5I0bo{margin-right:28px}@media (max-width:767px){.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .rpPrice_5I0bo{margin-right:0}}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .miniCartDivider_oMv-o{background-color:#b3aeaa;margin:16px 0 0}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .itemDivider_Ne0w1{margin:4px 0;border-top:1px solid #b3aeaa}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .itemRow_gQ3sj{display:flex;flex-direction:column;gap:4px;margin-top:4px;flex:1;min-width:0}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .itemLine_ysNhG{display:flex;align-items:center;gap:8px}@media (max-width:767px){.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .itemLine_ysNhG{display:grid;grid-template-columns:1fr auto auto;grid-template-rows:auto auto;column-gap:8px;row-gap:0;align-items:center}}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .itemLine_ysNhG .itemName_C-CX1{flex:1;min-width:0}@media (max-width:767px){.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .itemLine_ysNhG .itemName_C-CX1{font-weight:700;grid-column:1/2;grid-row:1/2}}.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .itemLine_ysNhG .cartDelete_MoeMR{cursor:pointer}@media (max-width:767px){.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .itemLine_ysNhG .cartDelete_MoeMR{grid-column:3/4;grid-row:1/3;align-self:center}}@media (min-width:1024px){.mainPage_nLgJM .miaFooter_9zWMl .miniSummary_LRvgL .rpName_CpQ7v{color:#5f5955}}.accessoryErrorUpdate_smCG3 p{padding-bottom:20px;color:#5f5955}.accessoryErrorButtons_GYhk4{display:flex;justify-content:flex-end;align-items:center;column-gap:20px}.accessoryErrorButtons_GYhk4 .cancelButton_yUZUg{font-weight:700;font-size:16px;line-height:24px;color:#da291c;cursor:pointer}.modalHeading_2vFi4{font-size:18px;line-height:24px;font-weight:700;color:#3d3935;margin-bottom:8px}.modalDescription_BG-oo{font-size:16px;line-height:24px;font-weight:400;color:#5f5955;margin-bottom:8px}.modalButtons_6FOmL{display:flex;justify-content:flex-end;align-items:center;gap:16px}.factSheetLink_SdQHR{font-size:16px;line-height:24px;font-weight:700;color:#da291c;text-decoration:none;cursor:pointer;white-space:nowrap}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import './AccessoryCard.css';
|
|
2
1
|
import{__awaiter as e}from"../../../_virtual/_tslib.js";import l,{useState as i,useEffect as o}from"react";import n from"./AccessoryCard.module.scss.js";import d from"../DeviceCarouselComponent.js";import t from"../../ResponsiveRow/row.js";import{viewport as v,replacePlaceholder as s,getCompressedImage as c,countZero as a}from"../../../utils/utils.js";import{getCookie as r}from"cookies-next";import u from"../../FalconButtonV2/FalconButtonV2.js";import m from"./AccessoryModal.js";import p from"../../richtext.js";import{INFO as b,REPLACESELECTION as g,POPUP as y,OPENPOPUP as T,GAEVENT as h,REMOVEFROMCART as f,ADD_TO_CART as A,OPEN as E,CLOSE as j,FORM as O,ACCORDIONCLICK as R,CONTINUE as P,LINK as k,TABCLICK as N,CLOSEPOPUP as C,KEEPPREVIOUS as S,CTABUTTONCLICK as I,REPLACE as w}from"../../../Analytics/AnalyticsConstants.js";import{trackViewItem as x,trackNewDatalayerEvent as $}from"../../../utils/AnalyticsUtils.js";import{MOBILERATEPLAN as B,INTERNETFLOW as _,TV as L,ACCESSORY as F,CONTRACT as M,WATCHES as D,TABLETS as U,MONTHLY as K,ONETIME as V,HARDWARE as z}from"../../../utils/constants.js";import{useMultiAccessoryContext as J}from"../multiItemAccessoryStore/useMultiAccessoryContext.js";import{useMultiAccessoryActions as H}from"../multiItemAccessoryStore/useMultiAccessoryActions.js";import{useMultiAccessoryUpdateCartActions as W}from"../multiItemAccessoryStore/useMultiAccessoryUpdateCartActions.js";import{AssetPathPropConfig as q}from"../../../services/LineTableBasicPropConfig.js";import"../../../services/ProductTeaserPropsConfig.js";import"../../../services/LinecheckBasicPropConfig.js";import"../../../services/LoginBasicPropConfig.js";import"../../../services/DevicePropConfig.js";import"../../../services/StickyBottomSheetConfig.js";import"../../../services/ServiceOptionsPropConfig.js";const G=({content:G,tabIndex:Q,setAccessoriesSelected:X})=>{var Y,Z,ee,le,ie,oe,ne,de,te,ve,se,ce,ae,re,ue,me,pe,be,ge,ye,Te,he,fe,Ae,Ee;const je=r("one-commerce-cartId"),[Oe,Re]=i(!1),Pe=v(),[ke,Ne]=i(!1),[Ce,Se]=i(null),[Ie,we]=i(0),{store:xe,dispatch:$e}=J(),Be=H($e),_e=W(),{updateAccessoryCartFailure:Le}=xe,{selectedAccessories:Fe,multiItemAccessoriessList:Me,removeSelectedCartAccessories:De,deviceSessionValues:Ue,selectedPaymentType:Ke,recommendedAccessories:Ve,cartData:ze,previousTab:Je,loading:He,showMiniCart:We}=xe,qe=!!(null===(Z=null===(Y=[B,_,L])||void 0===Y?void 0:Y.includes)||void 0===Z?void 0:Z.call(Y,null===(ie=null===(le=null===(ee=null==Ve?void 0:Ve[null==xe?void 0:xe.selectedTab])||void 0===ee?void 0:ee.hardware)||void 0===le?void 0:le[0])||void 0===ie?void 0:ie.recommendationProcessingType))||!(null==Ue?void 0:Ue.hardwareVariant),Ge=!!(null===(ne=null===(oe=[B])||void 0===oe?void 0:oe.includes)||void 0===ne?void 0:ne.call(oe,null===(ve=null===(te=null===(de=null==Ve?void 0:Ve[null==xe?void 0:xe.selectedTab])||void 0===de?void 0:de.hardware)||void 0===te?void 0:te[0])||void 0===ve?void 0:ve.recommendationProcessingType))||!(null==Ue?void 0:Ue.hardwareVariant),Qe={[F]:qe?Ge?+(null==G?void 0:G.ratePlanAccessoriesLimit):+(null==G?void 0:G.winAccessoriesLimit):+(null==G?void 0:G.accessoriesLimit),WATCHES:1,TABLETS:1},Xe=e=>{$(h,R,{component:O,click_text:e?E:j}),Be.setShowMiniCart(e)},Ye=JSON.parse(s(JSON.stringify(null==G?void 0:G.cartLimitWarningText),[null==Qe?void 0:Qe[xe.selectedTab].toString()])),Ze=null===(se=null==q?void 0:q.getInstance())||void 0===se?void 0:se.getAssetPath(),el=(e,l,i)=>{var o,n,d,t,v,s,c,a,r,u,m,p,b,g,y,T,E,j,O,R,P,k;if(e.preventDefault(),(null===(o=null==ze?void 0:ze[null==xe?void 0:xe.selectedTab])||void 0===o?void 0:o[null===(n=null==l?void 0:l.recomApiResponse)||void 0===n?void 0:n.id])&&!(null===(d=null==De?void 0:De[null==xe?void 0:xe.selectedTab])||void 0===d?void 0:d[null===(t=null==l?void 0:l.recomApiResponse)||void 0===t?void 0:t.id])){if(Be.setRemoveSelectedCartAccessories(Object.assign(Object.assign({},De),{[null==xe?void 0:xe.selectedTab]:Object.assign(Object.assign({},(null==De?void 0:De[null==xe?void 0:xe.selectedTab])||{}),{[null===(v=null==l?void 0:l.recomApiResponse)||void 0===v?void 0:v.id]:l})})),null===(s=null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab])||void 0===s?void 0:s[null===(c=null==l?void 0:l.recomApiResponse)||void 0===c?void 0:c.id]){const e=null===(r=null===(a=null==Object?void 0:Object.keys(null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab]))||void 0===a?void 0:a.filter(e=>{var i;return e!==(null===(i=null==l?void 0:l.recomApiResponse)||void 0===i?void 0:i.id)}))||void 0===r?void 0:r.reduce((e,l)=>{var i;return Object.assign(Object.assign({},e),{[l]:null===(i=null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab])||void 0===i?void 0:i[l]})},{});Be.setSelectedAccessories(Object.assign(Object.assign({},Fe),{[null==xe?void 0:xe.selectedTab]:e}))}ll(h,f,l,i)}else if(null===(u=null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab])||void 0===u?void 0:u[null===(m=null==l?void 0:l.recomApiResponse)||void 0===m?void 0:m.id]){const e=null===(b=null===(p=null==Object?void 0:Object.keys(null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab]))||void 0===p?void 0:p.filter(e=>{var i;return e!==(null===(i=null==l?void 0:l.recomApiResponse)||void 0===i?void 0:i.id)}))||void 0===b?void 0:b.reduce((e,l)=>{var i;return Object.assign(Object.assign({},e),{[l]:null===(i=null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab])||void 0===i?void 0:i[l]})},{});Be.setSelectedAccessories(Object.assign(Object.assign({},Fe),{[null==xe?void 0:xe.selectedTab]:e})),ll(h,f,l,i)}else{if((null===(g=null==ze?void 0:ze[null==xe?void 0:xe.selectedTab])||void 0===g?void 0:g[null===(y=null==l?void 0:l.recomApiResponse)||void 0===y?void 0:y.id])&&(null===(T=null==De?void 0:De[null==xe?void 0:xe.selectedTab])||void 0===T?void 0:T[null===(E=null==l?void 0:l.recomApiResponse)||void 0===E?void 0:E.id])){if(dl(l,i))return;const e=null===(O=null===(j=null==Object?void 0:Object.keys(null==De?void 0:De[null==xe?void 0:xe.selectedTab]))||void 0===j?void 0:j.filter(e=>{var i;return e!==(null===(i=null==l?void 0:l.recomApiResponse)||void 0===i?void 0:i.id)}))||void 0===O?void 0:O.reduce((e,l)=>{var i;return Object.assign(Object.assign({},e),{[l]:null===(i=null==De?void 0:De[null==xe?void 0:xe.selectedTab])||void 0===i?void 0:i[l]})},{});Be.setRemoveSelectedCartAccessories(Object.assign(Object.assign({},De),{[null==xe?void 0:xe.selectedTab]:e}))}if(!(null===(R=null==ze?void 0:ze[null==xe?void 0:xe.selectedTab])||void 0===R?void 0:R[null===(P=null==l?void 0:l.recomApiResponse)||void 0===P?void 0:P.id])){if(dl(l,i))return;Be.setSelectedAccessories(Object.assign(Object.assign({},Fe),{[null==xe?void 0:xe.selectedTab]:Object.assign(Object.assign({},(null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab])||{}),{[null===(k=null==l?void 0:l.recomApiResponse)||void 0===k?void 0:k.id]:l})}))}ll(A,A,l,i)}};o(()=>{X&&"function"==typeof X&&X(Fe)},[Fe,X]),o(()=>{var e;null===(e=null==Object?void 0:Object.values((null==Me?void 0:Me[null==xe?void 0:xe.selectedTab])||[]))||void 0===e||e.map((e,l)=>{var i,o,n,d,t,v,s,c,a;if(Ke===M&&!(null===(o=null===(i=null==e?void 0:e.recomApiResponse)||void 0===i?void 0:i.recurringPrice)||void 0===o?void 0:o.monthlyInstallment)&&((null===(n=null==ze?void 0:ze[null==xe?void 0:xe.selectedTab])||void 0===n?void 0:n[null===(d=null==e?void 0:e.recomApiResponse)||void 0===d?void 0:d.id])&&Be.setRemoveSelectedCartAccessories(Object.assign(Object.assign({},De),{[null==xe?void 0:xe.selectedTab]:Object.assign(Object.assign({},(null==De?void 0:De[null==xe?void 0:xe.selectedTab])||{}),{[null===(t=null==e?void 0:e.recomApiResponse)||void 0===t?void 0:t.id]:e})})),null===(v=null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab])||void 0===v?void 0:v[null===(s=null==e?void 0:e.recomApiResponse)||void 0===s?void 0:s.id])){const i=null===(a=null===(c=null==Object?void 0:Object.keys(null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab]))||void 0===c?void 0:c.filter(l=>{var i;return l!==(null===(i=null==e?void 0:e.recomApiResponse)||void 0===i?void 0:i.id)}))||void 0===a?void 0:a.reduce((e,l)=>{var i;return Object.assign(Object.assign({},e),{[l]:null===(i=null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab])||void 0===i?void 0:i[l]})},{});Be.setSelectedAccessories(Object.assign(Object.assign({},Fe),{[null==xe?void 0:xe.selectedTab]:i})),ll(h,f,e,l)}})},[Ke]);const ll=(e,l,i,o)=>{var n,d,t,v,s,c,a,r;x(e,l,{displayName:null===(n=null==i?void 0:i.recomApiResponse)||void 0===n?void 0:n.name,productId:null===(d=null==i?void 0:i.recomApiResponse)||void 0===d?void 0:d.id,priceValue:null===(v=null===(t=null==i?void 0:i.recomApiResponse)||void 0===t?void 0:t.oneTimePrice)||void 0===v?void 0:v.base,index:o,variant:null===(c=null===(s=null==i?void 0:i.recomApiResponse)||void 0===s?void 0:s.variantCategory)||void 0===c?void 0:c.color,storage:null===(r=null===(a=null==i?void 0:i.recomApiResponse)||void 0===a?void 0:a.variantCategory)||void 0===r?void 0:r.storage,hardwareCategory:null==xe?void 0:xe.selectedTab})},il=e=>{var l,i,o,n,d,t,v,s,c;e.preventDefault();const a=(null===(l=Object.keys(Le))||void 0===l?void 0:l.length)>0;if(a&&(Re(!1),_e.setupdateAccessoryCartFailure({})),a||Be.setPreviousTab(null==xe?void 0:xe.selectedTab),Be.setSelectedTab(null==xe?void 0:xe.selectedTab),Object.keys(Ve||{}).some(e=>0!==Object.keys((null==Fe?void 0:Fe[e])||{}).length||0!==Object.keys((null==De?void 0:De[e])||{}).length)){const e={id:je,redirectUrl:qe?null===(i=null==G?void 0:G.winCheckoutUrl)||void 0===i?void 0:i.cached_url:null===(o=null==G?void 0:G.multiItemCheckoutUrl)||void 0===o?void 0:o.url};$(h,N,{component:k,click_text:P}),_e.multiItemAccessorycreateCartRequest(e)}else{let e=!0;if(null===(d=null===(n=null==Me?void 0:Me[null==xe?void 0:xe.selectedTab])||void 0===n?void 0:n.filter(e=>{var l,i;return null===(l=null==ze?void 0:ze[null==xe?void 0:xe.selectedTab])||void 0===l?void 0:l[null===(i=null==e?void 0:e.recomApiResponse)||void 0===i?void 0:i.id]}))||void 0===d||d.filter(l=>{var i,o;e=(null===(o=null===(i=null==l?void 0:l.recomApiResponse)||void 0===i?void 0:i.paymentType)||void 0===o?void 0:o.toLowerCase())===(Ke===M?K:V)}),e||(null==xe?void 0:xe.selectedTab)===D||xe.selectedTab===U)window.location.href=qe?null===(t=null==G?void 0:G.winCheckoutUrl)||void 0===t?void 0:t.cached_url:null===(v=null==G?void 0:G.multiItemCheckoutUrl)||void 0===v?void 0:v.url;else{const e={id:je,redirectUrl:qe?null===(s=null==G?void 0:G.winCheckoutUrl)||void 0===s?void 0:s.cached_url:null===(c=null==G?void 0:G.multiItemCheckoutUrl)||void 0===c?void 0:c.url};_e.multiItemAccessorycreateCartRequest(e)}}},ol=()=>{var e;Re(e=>!e),(null===(e=Object.keys(Le))||void 0===e?void 0:e.length)>0&&(_e.setupdateAccessoryCartFailure({}),Je&&(Be.setSelectedTab(Je),Be.setPreviousTab(Je),Be.setSelectedAccessories(Object.assign(Object.assign({},Fe),{[Je]:{}})),Be.setRemoveSelectedCartAccessories(Object.assign(Object.assign({},De),{[Je]:{}}))))};o(()=>{var e;(null===(e=Object.keys(Le))||void 0===e?void 0:e.length)>0&&Re(e=>!e)},[Le]);const nl=()=>{Ne(!1),Se(null),we(0)},dl=(e,l)=>{var i;let o=0;return null===(i=(null==Me?void 0:Me[null==xe?void 0:xe.selectedTab])||[])||void 0===i||i.map(e=>{var l,i;(null===(l=null==ze?void 0:ze[null==xe?void 0:xe.selectedTab])||void 0===l?void 0:l[null===(i=null==e?void 0:e.recomApiResponse)||void 0===i?void 0:i.id])&&o++}),o+=Object.keys((null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab])||{}).length,o-=Object.keys((null==De?void 0:De[null==xe?void 0:xe.selectedTab])||{}).length,o>=(null==Qe?void 0:Qe[xe.selectedTab])&&(Ne(!0),Se(e||null),we(l||0),!0)},tl={},vl={},sl={};((null==G?void 0:G.recommendationType)||[]).map(e=>{var l;tl[e]=(e=>Object.keys((null==ze?void 0:ze[e])||{}).length+Object.keys((null==Fe?void 0:Fe[e])||{}).length-Object.keys((null==De?void 0:De[e])||{}).length)(e),vl[`${e}_icon`]=null===(l=null==G?void 0:G[`${e.toLowerCase()}Icon`])||void 0===l?void 0:l.filename,sl[`${e}_title`]=null==G?void 0:G[`selectionSummary${e[0]}${e.slice(1).toLowerCase()}Title`]});const{items:cl,totalOneTimePrice:al,totalMonthlyPrice:rl}=(()=>{var e,l,i,o,n;let d=0,t=0;const v=((null==G?void 0:G.recommendationType)||[]).flatMap(e=>{const l=(null==Me?void 0:Me[e])||{},i=new Set(Object.values(l).map(e=>{var l;return null===(l=null==e?void 0:e.recomApiResponse)||void 0===l?void 0:l.id})),o=Object.values(l).filter(l=>{var i,o,n,d,t,v;return((null===(i=null==ze?void 0:ze[e])||void 0===i?void 0:i[null===(o=null==l?void 0:l.recomApiResponse)||void 0===o?void 0:o.id])||(null===(n=null==Fe?void 0:Fe[e])||void 0===n?void 0:n[null===(d=null==l?void 0:l.recomApiResponse)||void 0===d?void 0:d.id]))&&!(null===(t=null==De?void 0:De[e])||void 0===t?void 0:t[null===(v=null==l?void 0:l.recomApiResponse)||void 0===v?void 0:v.id])}).map(l=>{var i,o,n,v;return d+=+((null===(o=null===(i=null==l?void 0:l.recomApiResponse)||void 0===i?void 0:i.oneTimePrice)||void 0===o?void 0:o.base)||0),t+=+((null===(v=null===(n=null==l?void 0:l.recomApiResponse)||void 0===n?void 0:n.recurringPrice)||void 0===v?void 0:v.monthlyInstallment)||0),Object.assign(Object.assign({},l),{tabKey:e})}),n=Object.keys((null==ze?void 0:ze[e])||{}).filter(l=>{var o;return!i.has(l)&&!(null===(o=null==De?void 0:De[e])||void 0===o?void 0:o[l])}).map(l=>{const i=(e=>{var l,i,o,n,d,t,v,s,c,a,r,u;if(!(null==e?void 0:e.length))return null;const m=e=>{const l=Number(e);return Number.isFinite(l)?l:0},p=e=>{const l=Number(null==e?void 0:e.cycleStart),i=Number(null==e?void 0:e.cycleEnd);return Number.isFinite(l)&&Number.isFinite(i)&&i>=l?i-l+1:1};let b="",g=0,y=0;for(const T of e){b||(b=(null==T?void 0:T.name)||(null===(l=null==T?void 0:T.productOffering)||void 0===l?void 0:l.name)||(null===(i=null==T?void 0:T.productOffering)||void 0===i?void 0:i.id)||(null==T?void 0:T.id)||"");const e=(null===(n=null===(o=null==T?void 0:T.itemPrice)||void 0===o?void 0:o[0])||void 0===n?void 0:n.cartPrice)||[],h=e.filter(e=>"monthly"===(null==e?void 0:e.recurringChargePeriod)),f=null===(d=h.flatMap(e=>(null==e?void 0:e.additionalDetails)||[]).find(e=>"originalInstallment"===(null==e?void 0:e.id)))||void 0===d?void 0:d.value,A=e.find(e=>"paynow"===(null==e?void 0:e.recurringChargePeriod)),E=null===(v=null===(t=null==A?void 0:A.additionalDetails)||void 0===t?void 0:t.find(e=>"streetPrice"===(null==e?void 0:e.id)))||void 0===v?void 0:v.value,j=(null==T?void 0:T.prices)||[],O=j.filter(e=>"RECURRING"===(null==e?void 0:e.priceType)),R=null===(s=O.find(e=>{var l;return 1===(null===(l=null==e?void 0:e.cycle)||void 0===l?void 0:l.cycleStart)})||O[0])||void 0===s?void 0:s.value,P=null===(c=j.find(e=>"STREET_PRICE"===(null==e?void 0:e.priceType)))||void 0===c?void 0:c.value,k=O.reduce((e,l)=>e+m(null==l?void 0:l.value)*p(null==l?void 0:l.cycle),0)+j.filter(e=>"ONETIME"===(null==e?void 0:e.priceType)).reduce((e,l)=>e+m(null==l?void 0:l.value),0);g+=m(f||(null===(u=null===(r=null===(a=null==h?void 0:h[0])||void 0===a?void 0:a.price)||void 0===r?void 0:r.taxIncludedAmount)||void 0===u?void 0:u.value)||R),y+=m(E||P||((null==T?void 0:T.itemType)===z?k:0))}return{name:b,monthlyInstallment:g,oneTimePrice:y}})(ze[e][l]);return i?(d+=i.oneTimePrice,t+=i.monthlyInstallment,{tabKey:e,isCartOnly:!0,recomApiResponse:{id:l,name:i.name,oneTimePrice:{base:i.oneTimePrice},recurringPrice:{monthlyInstallment:i.monthlyInstallment}}}):null}).filter(Boolean);return[...o,...n]});for(const d of[D,U]){if(v.some(e=>(null==e?void 0:e.tabKey)===d)){const v=null!==(i=null===(l=null===(e=null==Ve?void 0:Ve[d])||void 0===e?void 0:e.ratePlan)||void 0===l?void 0:l.listPrice)&&void 0!==i?i:null===(n=null===(o=null==ze?void 0:ze.ratePlanInfo)||void 0===o?void 0:o[d])||void 0===n?void 0:n.monthlyPrice,s=Number(v),c=Number.isFinite(s)?s:0;t+=c}}return{items:v,totalOneTimePrice:d,totalMonthlyPrice:t}})(),ul=Object.values(tl).reduce((e,l)=>e+l,0);return l.createElement(l.Fragment,null,l.createElement(t,null,l.createElement("div",{className:n.mainPage},Object.keys((null==Me?void 0:Me[null==xe?void 0:xe.selectedTab])||[]).length>=(null==Qe?void 0:Qe[xe.selectedTab])&&(null==xe?void 0:xe.selectedTab)===F&&l.createElement("div",{className:n.cartLimitTxt},l.createElement(p,{content:Ye})),((null==xe?void 0:xe.selectedTab)===D||(null==xe?void 0:xe.selectedTab)===U)&&l.createElement("div",{className:n.extraSimHeading},(null==xe?void 0:xe.selectedTab)===D?null==G?void 0:G.watchesHeading:null==G?void 0:G.tabletsHeading),l.createElement(d,{key:null==xe?void 0:xe.selectedTab},null===(ae=null===(ce=(null==Me?void 0:Me[null==xe?void 0:xe.selectedTab])||[])||void 0===ce?void 0:ce.filter(e=>{var l,i;return Ke===M?(null===(i=null===(l=null==e?void 0:e.recomApiResponse)||void 0===l?void 0:l.recurringPrice)||void 0===i?void 0:i.monthlyInstallment)>0:e}))||void 0===ae?void 0:ae.map((e,i)=>{var o,d,t,v,s,r,m,p,b,g,y,T,h,f,A,E,j,O,R,P,k,N,C,S,I,w,x,$,B,_,L,K,V,z,J,H,W,q,X,Y,Z,ee,le,ie,oe,ne,de,te,ve,se,ce,ae,re,ue,me,pe,be,ge,ye,Te,he,fe,Ae,Ee;return l.createElement("div",{key:i,className:`${n.card} ${(null===(o=null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab])||void 0===o?void 0:o[null===(d=null==e?void 0:e.recomApiResponse)||void 0===d?void 0:d.id])||(null===(t=null==ze?void 0:ze[null==xe?void 0:xe.selectedTab])||void 0===t?void 0:t[null===(v=null==e?void 0:e.recomApiResponse)||void 0===v?void 0:v.id])&&!(null===(s=null==De?void 0:De[null==xe?void 0:xe.selectedTab])||void 0===s?void 0:s[null===(r=null==e?void 0:e.recomApiResponse)||void 0===r?void 0:r.id])?n.selectedCard:""}`},l.createElement("div",{className:n.detailSection,id:`detailsectionv3${Q}${i}`},(null!==(y=null===(g=null===(b=null===(p=null===(m=null==e?void 0:e.sbStoryItem)||void 0===m?void 0:m.content)||void 0===p?void 0:p.body)||void 0===b?void 0:b[0])||void 0===g?void 0:g.displayText)&&void 0!==y?y:null===(T=null==e?void 0:e.sbStoryItem)||void 0===T?void 0:T.displayText)&&l.createElement("div",{className:n.heading,id:`headingV3${Q}${i}`},null!==(j=null===(E=null===(A=null===(f=null===(h=null==e?void 0:e.sbStoryItem)||void 0===h?void 0:h.content)||void 0===f?void 0:f.body)||void 0===A?void 0:A[0])||void 0===E?void 0:E.displayText)&&void 0!==j?j:null===(O=null==e?void 0:e.sbStoryItem)||void 0===O?void 0:O.displayText,(null==xe?void 0:xe.selectedTab)===F&&(null===(P=null===(R=null==e?void 0:e.recomApiResponse)||void 0===R?void 0:R.variantCategory)||void 0===P?void 0:P.color)&&"None"!==(null===(N=null===(k=null==e?void 0:e.recomApiResponse)||void 0===k?void 0:k.variantCategory)||void 0===N?void 0:N.color)&&l.createElement("div",{className:n.optionalText},null==G?void 0:G.accessoriesColorLabel," ",null===(S=null===(C=null==e?void 0:e.recomApiResponse)||void 0===C?void 0:C.variantCategory)||void 0===S?void 0:S.color)),l.createElement("div",{className:n.accImage,id:`image${Q}${i}`},((null==xe?void 0:xe.selectedTab)===D||(null==xe?void 0:xe.selectedTab)===U)&&(null===(I=null==G?void 0:G.esimIcon)||void 0===I?void 0:I.filename)&&l.createElement("div",{className:n.esimBadge},(null===(x=null===(w=null==e?void 0:e.sbStoryItem)||void 0===w?void 0:w.energyIcon)||void 0===x?void 0:x.filename)&&l.createElement("img",{loading:"lazy",src:c(Ze,null===(B=null===($=null==e?void 0:e.sbStoryItem)||void 0===$?void 0:$.energyIcon)||void 0===B?void 0:B.filename),alt:"energy_Icon",width:37,height:20}),l.createElement("img",{src:null===(_=null==G?void 0:G.esimIcon)||void 0===_?void 0:_.filename,alt:"eSIM",className:n.esimIcon})),l.createElement("img",{loading:"lazy",src:c(Ze,null===(L=null==e?void 0:e.imageData)||void 0===L?void 0:L.image),alt:"acessories_device",width:210,height:210}))),l.createElement("div",{className:n.mainPriceContainer,id:`main-price-section${Q}${i}`},(null===(K=null==Ue?void 0:Ue.hardwareVariant)||void 0===K?void 0:K.selectedContractType)===M||Ke===M?l.createElement("div",{className:n.priceContainer,id:`price-detail-section${Q}${i}`},l.createElement("div",{className:n.price,id:`price${Q}${i}`},l.createElement("span",{style:{color:(null===(z=null===(V=null==e?void 0:e.recomApiResponse)||void 0===V?void 0:V.recurringPrice)||void 0===z?void 0:z.marketMonthlyInstallment)?"#5E94CF":"#3D3935"}},a(null===(H=null===(J=null==e?void 0:e.recomApiResponse)||void 0===J?void 0:J.recurringPrice)||void 0===H?void 0:H.monthlyInstallment)),(null===(q=null===(W=null==e?void 0:e.recomApiResponse)||void 0===W?void 0:W.recurringPrice)||void 0===q?void 0:q.marketMonthlyInstallment)&&l.createElement("span",{className:n.strikedMonthlyPrice},a(null===(Y=null===(X=null==e?void 0:e.recomApiResponse)||void 0===X?void 0:X.recurringPrice)||void 0===Y?void 0:Y.marketMonthlyInstallment)),l.createElement("span",{className:(null===(ee=null===(Z=null==e?void 0:e.recomApiResponse)||void 0===Z?void 0:Z.recurringPrice)||void 0===ee?void 0:ee.marketMonthlyInstallment)?null==n?void 0:n.monthlyStrikethroughText:n.monthlyText},null==G?void 0:G.monthlyText)),l.createElement("div",{className:n.totalPrice},null==G?void 0:G.totalText," ",a(null===(ie=null===(le=null==e?void 0:e.recomApiResponse)||void 0===le?void 0:le.oneTimePrice)||void 0===ie?void 0:ie.base)," ",l.createElement("span",{className:n.strikedtotalMonthlyPrice,style:{visibility:(null===(ne=null===(oe=null==e?void 0:e.recomApiResponse)||void 0===oe?void 0:oe.oneTimePrice)||void 0===ne?void 0:ne.market)?"visible":"hidden"}},a(null===(te=null===(de=null==e?void 0:e.recomApiResponse)||void 0===de?void 0:de.oneTimePrice)||void 0===te?void 0:te.market))),l.createElement("div",{className:n.priceDescription},null==G?void 0:G.monthlyPaymentLabel,l.createElement("br",null),null==G?void 0:G.monthlyDownPaymentLabel)):l.createElement("div",{className:n.priceContainer,id:`price-detail-section${Q}${i}`},l.createElement("div",{className:n.price,style:{color:(null===(se=null===(ve=null==e?void 0:e.recomApiResponse)||void 0===ve?void 0:ve.recurringPrice)||void 0===se?void 0:se.marketMonthlyInstallment)?"#5E94CF":"#3D3935"},id:`price${Q}${i}`},l.createElement("span",{className:n.oneTimePrice},a(null===(ae=null===(ce=null==e?void 0:e.recomApiResponse)||void 0===ce?void 0:ce.oneTimePrice)||void 0===ae?void 0:ae.base)),(null===(ue=null===(re=null==e?void 0:e.recomApiResponse)||void 0===re?void 0:re.oneTimePrice)||void 0===ue?void 0:ue.market)&&l.createElement("span",{className:n.strikedMonthlyPrice},a(null===(pe=null===(me=null==e?void 0:e.recomApiResponse)||void 0===me?void 0:me.oneTimePrice)||void 0===pe?void 0:pe.market))),l.createElement("div",{className:n.priceDescription},null==G?void 0:G.oneTimePaymentLabel)),(null==G?void 0:G.addtocartButton.length)>0&&(null==G?void 0:G.removefromcartButton.length)>0&&l.createElement("div",{className:`${n.cartBtn}`,id:`add-crt-btn${Q}${i}`},(null===(be=null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab])||void 0===be?void 0:be[null===(ge=null==e?void 0:e.recomApiResponse)||void 0===ge?void 0:ge.id])||(null===(ye=null==ze?void 0:ze[null==xe?void 0:xe.selectedTab])||void 0===ye?void 0:ye[null===(Te=null==e?void 0:e.recomApiResponse)||void 0===Te?void 0:Te.id])&&!(null===(he=null==De?void 0:De[null==xe?void 0:xe.selectedTab])||void 0===he?void 0:he[null===(fe=null==e?void 0:e.recomApiResponse)||void 0===fe?void 0:fe.id])?l.createElement(l.Fragment,null,l.createElement(u,{content:null===(Ae=null==G?void 0:G.removefromcartButton)||void 0===Ae?void 0:Ae[0],onClick:l=>el(l,e,i),wafIdentifier:Ze})):l.createElement(u,{content:null===(Ee=null==G?void 0:G.addtocartButton)||void 0===Ee?void 0:Ee[0],onClick:l=>el(l,e,i),wafIdentifier:Ze}))))})),l.createElement("div",{className:n.miaFooter},ul>0&&(null==G?void 0:G.enableSelectionSummary)&&Object.keys(Ve||{}).length>1&&Ke===M&&l.createElement("div",{className:n.miniSummary},l.createElement("div",{className:n.titleRow},l.createElement("span",{className:`fw-bold ${n.titleLabel}`},null==G?void 0:G.yourSelectionTitle),l.createElement("span",{className:n.titleIcons},((null==G?void 0:G.recommendationType)||[]).map(e=>{var i;return tl[e]>0&&l.createElement(l.Fragment,null,(e===D&&tl[F]>0||e===U&&(tl[F]>0||tl[D]>0))&&l.createElement("span",null,l.createElement("img",{loading:"lazy",src:c(Ze,null===(i=null==G?void 0:G.selectionSummaryPlusIcon)||void 0===i?void 0:i.filename),alt:"add_icon",width:16,height:16})),l.createElement("span",null,l.createElement("img",{loading:"lazy",src:c(Ze,null==vl?void 0:vl[`${e}_icon`]),alt:`${e}_icon`})," ",tl[e],"x ",null==sl?void 0:sl[`${e}_title`]))})),l.createElement("div",{className:`fw-bold ${n.cartPrice}`},Ke===M?l.createElement(l.Fragment,null,a(rl),null==G?void 0:G.monthlyText):a(al)),We?l.createElement("img",{className:n.cartToggle,onClick:()=>Xe(!We),loading:"lazy",src:c(Ze,null===(ue=null==G?void 0:G.selectionSummaryCollapseIcon)||void 0===ue?void 0:ue.filename),alt:"expand_icon",width:24,height:24}):l.createElement("img",{className:n.cartToggle,onClick:()=>Xe(!We),loading:"lazy",src:c(Ze,null===(re=null==G?void 0:G.selectionSummaryExpandIcon)||void 0===re?void 0:re.filename),alt:"expand_icon",width:24,height:24})),We&&l.createElement(l.Fragment,null,l.createElement("div",{className:n.miniCartDivider}),cl.map(i=>{var o,d,t,v,s,r,u,m,p,b,g,y,T,A,E,j,O,R,P,k,N,C,S,I,w;return l.createElement("div",{className:n.itemRow,key:null===(o=null==i?void 0:i.recomApiResponse)||void 0===o?void 0:o.id},l.createElement("div",{className:n.itemLine},l.createElement("span",{className:n.itemName},null===(d=null==i?void 0:i.recomApiResponse)||void 0===d?void 0:d.name),l.createElement("div",{className:n.cartPrice},Ke===M?l.createElement(l.Fragment,null,(null===(v=null===(t=null==i?void 0:i.recomApiResponse)||void 0===t?void 0:t.oneTimePrice)||void 0===v?void 0:v.base)>0&&l.createElement("span",{className:n.oneTime},"(",a(null===(r=null===(s=null==i?void 0:i.recomApiResponse)||void 0===s?void 0:s.oneTimePrice)||void 0===r?void 0:r.base),")"),a(null===(m=null===(u=null==i?void 0:i.recomApiResponse)||void 0===u?void 0:u.recurringPrice)||void 0===m?void 0:m.monthlyInstallment),null==G?void 0:G.monthlyText):a(null===(b=null===(p=null==i?void 0:i.recomApiResponse)||void 0===p?void 0:p.oneTimePrice)||void 0===b?void 0:b.base)),l.createElement("img",{className:n.cartDelete,loading:"lazy",src:c(Ze,null===(g=null==G?void 0:G.selectionSummaryDeleteIcon)||void 0===g?void 0:g.filename),alt:"delete_icon",onClick:()=>(l=>e(void 0,void 0,void 0,function*(){var e,i,o;const n=null==l?void 0:l.tabKey,d=null===(e=null==l?void 0:l.recomApiResponse)||void 0===e?void 0:e.id;if((null===(i=null==ze?void 0:ze[n])||void 0===i?void 0:i[d])&&(yield _e.removeItemFromCart(je,l)),null===(o=null==Fe?void 0:Fe[n])||void 0===o?void 0:o[d]){const e=Object.keys(Fe[n]).filter(e=>e!==d).reduce((e,l)=>(e[l]=Fe[n][l],e),{});Be.setSelectedAccessories(Object.assign(Object.assign({},Fe),{[n]:e}))}ll(h,f,l,0)}))(i),width:20,height:20})),[D,U].includes(null==i?void 0:i.tabKey)&&l.createElement("div",{className:n.itemLine},l.createElement("span",{className:`${n.itemName} ${n.rpName}`},(null===(T=null===(y=null==Ve?void 0:Ve[null==i?void 0:i.tabKey])||void 0===y?void 0:y.ratePlan)||void 0===T?void 0:T.id)||(null===(E=null===(A=null==ze?void 0:ze.ratePlanInfo)||void 0===A?void 0:A[null==i?void 0:i.tabKey])||void 0===E?void 0:E.name)),l.createElement("div",{className:n.rpPrice},a(Number.isFinite(Number(null!==(R=null===(O=null===(j=null==Ve?void 0:Ve[null==i?void 0:i.tabKey])||void 0===j?void 0:j.ratePlan)||void 0===O?void 0:O.listPrice)&&void 0!==R?R:null===(k=null===(P=null==ze?void 0:ze.ratePlanInfo)||void 0===P?void 0:P[null==i?void 0:i.tabKey])||void 0===k?void 0:k.monthlyPrice))?Number(null!==(S=null===(C=null===(N=null==Ve?void 0:Ve[null==i?void 0:i.tabKey])||void 0===N?void 0:N.ratePlan)||void 0===C?void 0:C.listPrice)&&void 0!==S?S:null===(w=null===(I=null==ze?void 0:ze.ratePlanInfo)||void 0===I?void 0:I[null==i?void 0:i.tabKey])||void 0===w?void 0:w.monthlyPrice):0),null==G?void 0:G.monthlyText)),l.createElement("hr",{className:n.itemDivider}))}))),l.createElement("div",{className:`${n.checkoutBtn}`},(null===(me=null==G?void 0:G.proceedtocheckoutButton)||void 0===me?void 0:me.length)>0&&l.createElement(u,{content:G.proceedtocheckoutButton[0],eventAction:"",onClick:e=>il(e),wafIdentifier:Ze,disabled:He}))))),Oe&&l.createElement(m,{modalState:Oe,handler:()=>{ol()},showFooter:!1,height:"auto",fixedWidth:"large-desktop"===Pe||"desktop"===Pe||"tablet"===Pe?"460px":"",noCloseButton:!1,backDrop:!0}," ",l.createElement("div",{className:`${n.accessoryErrorUpdate}`},l.createElement(p,{content:null===(be=null===(pe=null==G?void 0:G.errorModal)||void 0===pe?void 0:pe[0])||void 0===be?void 0:be.heading}),l.createElement(p,{content:null===(ye=null===(ge=null==G?void 0:G.errorModal)||void 0===ge?void 0:ge[0])||void 0===ye?void 0:ye.description}),l.createElement("div",{className:`${n.accessoryErrorButtons}`},l.createElement("div",{className:`${n.cancelButton}`,onClick:()=>{ol()}},null==G?void 0:G.cancelButtonLinkText),l.createElement(u,{content:null===(Te=null==G?void 0:G.retryButton)||void 0===Te?void 0:Te[0],onClick:e=>il(e),metadata:void 0,wafIdentifier:Ze})))),ke&&(null==xe?void 0:xe.selectedTab)===F&&l.createElement(m,{modalState:ke,handler:()=>{nl()},showFooter:!1,height:"auto",fixedWidth:"large-desktop"===Pe||"desktop"===Pe||"tablet"===Pe?"624px":"",noCloseButton:!1,backDrop:!0},l.createElement("div",{className:`${n.accessoryErrorUpdate}`},l.createElement(p,{content:JSON.parse(s(JSON.stringify(null===(fe=null===(he=null==G?void 0:G.cartLimitModal)||void 0===he?void 0:he[0])||void 0===fe?void 0:fe.heading),[null==Qe?void 0:Qe[xe.selectedTab].toString()]))}),l.createElement(p,{content:JSON.parse(s(JSON.stringify(null===(Ee=null===(Ae=null==G?void 0:G.cartLimitModal)||void 0===Ae?void 0:Ae[0])||void 0===Ee?void 0:Ee.description),[null==Qe?void 0:Qe[xe.selectedTab].toString()]))}),l.createElement("div",{className:`${n.accessoryErrorButtons}`},l.createElement("div",{className:`${n.cancelButton}`,onClick:()=>{nl()}},null==G?void 0:G.cartLimitBtnText)))),ke&&((null==xe?void 0:xe.selectedTab)===D||(null==xe?void 0:xe.selectedTab)===U)&&(()=>{var e,i,o,d,t,v,s;const c=(()=>{var e,l;return(null==xe?void 0:xe.selectedTab)===D?null===(e=null==G?void 0:G.watchesSelectionPopup)||void 0===e?void 0:e[0]:null===(l=null==G?void 0:G.tabletsSelectionPopup)||void 0===l?void 0:l[0]})();return $(h,T,{component:y,message_title:g,message_description:null===(v=null===(t=null===(d=null===(o=null===(i=null===(e=null==c?void 0:c.description)||void 0===e?void 0:e.content)||void 0===i?void 0:i[0])||void 0===o?void 0:o.content)||void 0===d?void 0:d[0])||void 0===t?void 0:t.text)||void 0===v?void 0:v.slice(0,100),message_type:b}),l.createElement(m,{modalState:ke,handler:()=>(e=>{var l,i,o,n,d,t;(null==e?void 0:e.description)&&$(h,C,{component:y,message_title:g,message_description:null===(t=null===(d=null===(n=null===(o=null===(i=null===(l=null==e?void 0:e.description)||void 0===l?void 0:l.content)||void 0===i?void 0:i[0])||void 0===o?void 0:o.content)||void 0===n?void 0:n[0])||void 0===d?void 0:d.text)||void 0===t?void 0:t.slice(0,100),message_type:b}),nl()})(c),showFooter:!1,height:"auto",fixedWidth:"large-desktop"===Pe||"desktop"===Pe||"tablet"===Pe?"624px":"",noCloseButton:!1,backDrop:!0},l.createElement(l.Fragment,null,(null==c?void 0:c.heading)&&l.createElement("div",{className:n.modalHeading},l.createElement(p,{content:c.heading})),(null==c?void 0:c.description)&&l.createElement("div",{className:n.modalDescription},l.createElement(p,{content:c.description})),l.createElement("div",{className:n.modalButtons},(null==c?void 0:c.link)&&l.createElement("a",{className:n.factSheetLink,onClick:()=>($(h,I,{component:k,click_text:S}),void nl())},c.linkText),(null===(s=null==c?void 0:c.button)||void 0===s?void 0:s.length)>0&&l.createElement(u,{content:c.button[0],onClick:()=>(()=>{var e,l,i,o,n,d,t,v,s,c;if($(h,I,{component:k,click_text:w}),!Ce)return void nl();const a=Object.keys((null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab])||{});if(a.length>0){const n=a[0],d=null===(e=null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab])||void 0===e?void 0:e[n],t=null===(i=null===(l=null==Object?void 0:Object.keys(null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab]))||void 0===l?void 0:l.filter(e=>e!==n))||void 0===i?void 0:i.reduce((e,l)=>{var i;return Object.assign(Object.assign({},e),{[l]:null===(i=null==Fe?void 0:Fe[null==xe?void 0:xe.selectedTab])||void 0===i?void 0:i[l]})},{});Be.setSelectedAccessories(Object.assign(Object.assign({},Fe),{[null==xe?void 0:xe.selectedTab]:Object.assign(Object.assign({},t),{[null===(o=null==Ce?void 0:Ce.recomApiResponse)||void 0===o?void 0:o.id]:Ce})})),d&&ll(h,f,d,0)}else{const e=(null==Me?void 0:Me[null==xe?void 0:xe.selectedTab])||[];for(const l of e)if((null===(n=null==ze?void 0:ze[null==xe?void 0:xe.selectedTab])||void 0===n?void 0:n[null===(d=null==l?void 0:l.recomApiResponse)||void 0===d?void 0:d.id])&&!(null===(t=null==De?void 0:De[null==xe?void 0:xe.selectedTab])||void 0===t?void 0:t[null===(v=null==l?void 0:l.recomApiResponse)||void 0===v?void 0:v.id])){Be.setRemoveSelectedCartAccessories(Object.assign(Object.assign({},De),{[null==xe?void 0:xe.selectedTab]:Object.assign(Object.assign({},(null==De?void 0:De[null==xe?void 0:xe.selectedTab])||{}),{[null===(s=null==l?void 0:l.recomApiResponse)||void 0===s?void 0:s.id]:l})})),ll(h,f,l,0);break}Be.setSelectedAccessories(Object.assign(Object.assign({},Fe),{[null==xe?void 0:xe.selectedTab]:{[null===(c=null==Ce?void 0:Ce.recomApiResponse)||void 0===c?void 0:c.id]:Ce}}))}ll(A,A,Ce,Ie),nl()})(),metadata:void 0,wafIdentifier:""}))))})())};export{G as default};
|
|
3
2
|
//# sourceMappingURL=AccessoryCard.js.map
|
package/dist/esm/components/Accessories/AccessoryPreviewCardLoader/AccessoryPreviewCardLoader.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.card_3tNhO.sr-card_VU3r-{
|
|
1
|
+
.card_3tNhO.sr-card_VU3r-{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}.card_3tNhO.border-top_fMYMx{border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -2px 20px 0 rgba(61,57,53,.2);border:none}@media (min-width:768px){.sr-desk-card_RwZo2{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (max-width:767px){.sr-mob-card_PqXby{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (min-width:1024px){.sr-md-card_DyX-U{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}.allCards_5WQtR{padding-bottom:32px}.cards_vBdS1{border-radius:8px}.cardsPreview_8Gl92{padding-right:10px!important;padding-left:10px!important}@media (max-width:767px){.cardsPadding_W6fSG{padding:0 16px}}@media (min-width:768px) and (max-width:1023px){.cardsPadding_W6fSG{padding:0 82px}}@media (min-width:1024px) and (max-width:1439px){.cardsPadding_W6fSG{padding:0 130px}}@media (min-width:1440px){.cardsPadding_W6fSG{padding:0 130px;max-width:1440px;margin:0 auto}}.SkeletonImage_UfaI-{padding-bottom:16px}.SkeletonImage_UfaI- span{display:flex;justify-content:center}.priceSection_6WlXV{border:1px solid #e6e3df;border-radius:8px}.priceSection_6WlXV .pricePadding_fgrTR{padding:8px 16px}.priceSection_6WlXV .pricePadding_fgrTR hr{margin:8px 0!important}.priceSection_6WlXV .pricePadding_fgrTR .button_TZRGz span{margin-left:auto}
|
package/dist/esm/components/Accessories/AccessoryPreviewCardLoader/AccessoryPreviewCardLoader.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import './AccessoryPreviewCardLoader.css';
|
|
2
1
|
import e from"react";import{Row as r,Col as a}from"react-bootstrap";import s from"./AccessoryPreviewCardLoader.module.scss.js";import t from"../AccessoryPreviewCardSkeletonBody/AccessoryPreviewCardSkeletonBody.js";const o=({cards:o})=>e.createElement("div",null,e.createElement(r,{className:`justify-content-center ${s.cardsPadding}`},[...Array(o)].map(r=>e.createElement(a,{xl:"4",lg:"4",md:"6",sm:"6",xs:"12",className:`${s.allCards} ${0==r&&s.cardsPreview}`},e.createElement(t,null)))));export{o as default};
|
|
3
2
|
//# sourceMappingURL=AccessoryPreviewCardLoader.js.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import './AccessoryPreviewCardSkeletonBody.css';
|
|
2
1
|
import e from"react";import{Card as t}from"react-bootstrap";import a from"react-loading-skeleton";import c from"../AccessoryPreviewCardLoader/AccessoryPreviewCardLoader.module.scss.js";const r=()=>e.createElement("div",null,e.createElement(t,{className:c.cards},e.createElement(t.Body,null,e.createElement("div",{className:"row justify-content-between"},e.createElement("div",{className:"col-8"},e.createElement(a,{height:24,width:"100%"}),e.createElement(a,{height:24,width:"60%"})),e.createElement("div",{className:"col-2"},e.createElement(a,{height:24,width:30}))),e.createElement("hr",null),e.createElement("div",{className:`${c.SkeletonImage}`},e.createElement(a,{height:312,width:"75%"})),e.createElement("div",{className:c.priceSection},e.createElement("div",{className:c.pricePadding},e.createElement("div",{className:"row justify-content-between"},e.createElement("div",{className:"col-8"},e.createElement(a,{height:40,width:"65%"}),e.createElement(a,{height:20,width:"85%"})),e.createElement("div",{className:`${c.button} col-2`},e.createElement(a,{circle:!0,height:48,width:48}))),e.createElement("hr",null),e.createElement(a,{height:24,width:"75%"}))))));export{r as default};
|
|
3
2
|
//# sourceMappingURL=AccessoryPreviewCardSkeletonBody.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.linetable-dotLoader-loaderParent{background-color:hsla(0,0%,100%,.8);
|
|
1
|
+
.linetable-dotLoader-loaderParent{width:100%;position:fixed;z-index:3;top:0;left:0;bottom:0;right:0;background-color:hsla(0,0%,100%,.8);display:flex;flex-direction:column}.linetable-dotLoader-dotClass{justify-content:center;display:flex;z-index:1}.linetable-dotLoader-dotContent{display:flex;justify-content:center;animation:contentplay 2s linear 0s infinite}@keyframes dotplay{0%,20%{transform:translateY(0)}10%{transform:translateY(-20px)}}.linetable-dotLoader-dots:first-child{animation-delay:.4s}.linetable-dotLoader-dots:nth-child(2){animation-delay:.8s}.linetable-dotLoader-dots:nth-child(3){animation-delay:1.2s}.linetable-dotLoader-dots:nth-child(4){animation-delay:1.6s}.linetable-dotLoader-dots{margin:5px 2px;width:12px;height:12px;border-radius:50%;background:linear-gradient(180deg,#e2271e,#ef7c3c);animation:dotplay 2s linear 0s infinite}@keyframes contentplay{0%{opacity:.2}30%{opacity:1}}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import './MultiItemAccessoriesPage.css';
|
|
2
1
|
import e,{useState as l,useRef as o,useEffect as i}from"react";import n from"../ProgressionBar/progressionBar.js";import t from"./MultiItemAccessoriesPageStyle.module.scss.js";import d from"../../richtext.js";import v from"../Accessory-card/AccessoryCard.js";import a from"../AccessoryPreviewCardLoader/AccessoryPreviewCardLoader.js";import r from"../PaymentTypeTabs/PaymentTypeTabs.js";import s from"../../../services/MultiItemAccessories/storyBlokService.js";import{getCookie as c}from"cookies-next";import{MOBILERATEPLAN as u,INTERNETFLOW as m,TV as p,ONE_ECOMMERCE_HARDWARE_SUMMARY as y,ACCESSORY as g,CONTRACT as b,WATCHES as f,MOBILEACCESSORIES as h,BASE as T,MONTHLY as A,TABLETS as C}from"../../../utils/constants.js";import k from"../../ResponsiveRow/row.js";import{trackViewItem as E,setMmcItemTracker as I,trackNewDatalayerEvent as w}from"../../../utils/AnalyticsUtils.js";import{VIEWEACHITEM as j,LEARNMORE as P,LINK as S,CTATEXTCLICK as x,GAEVENT as N,INFO as B,POPUP as R,OPENPOPUP as L,CONTENT as _,TABCLICK as O,CONTINUE as D,CTABUTTONCLICK as M}from"../../../Analytics/AnalyticsConstants.js";import{useMultiAccessoryContext as U}from"../multiItemAccessoryStore/useMultiAccessoryContext.js";import{useMultiAccessoryActions as V}from"../multiItemAccessoryStore/useMultiAccessoryActions.js";import F from"../multiItemAccessoryStore/MultiAccessoryProvider.js";import{useMultiAccessoryUpdateCartActions as $}from"../multiItemAccessoryStore/useMultiAccessoryUpdateCartActions.js";import G from"../../Dotloader/Dotloader.js";import{viewport as H,replacePlaceholder as W,getSBAssetUrl as q}from"../../../utils/utils.js";import J from"../Accessory-card/AccessoryModal.js";import z from"../../FalconButtonV2/FalconButtonV2.js";import{AssetPathPropConfig as K}from"../../../services/LineTableBasicPropConfig.js";import"../../../services/ProductTeaserPropsConfig.js";import"../../../services/LinecheckBasicPropConfig.js";import"../../../services/LoginBasicPropConfig.js";import"../../../services/DevicePropConfig.js";import"../../../services/StickyBottomSheetConfig.js";import"../../../services/ServiceOptionsPropConfig.js";import Q from"../AccessoryUpdateCartDotloader/AccessoryUpdateCartDotloader.js";const X=({content:F,metadata:X})=>{var Y,Z,ee,le,oe,ie,ne,te,de,ve,ae,re,se,ce,ue;const me=null==X?void 0:X.lang,[pe,ye]=l(!1),[ge,be]=l(!1),[fe,he]=l(null),Te=c("one-commerce-cartId"),[Ae,Ce]=l(""),ke=o({}),{store:Ee,dispatch:Ie}=U(),we=V(Ie),je=$(),{recommendedAccessories:Pe,isFetchingRecommendedAccessories:Se,deviceSessionValues:xe,multiItemAccessoriessList:Ne,selectedAccessories:Be,removeSelectedCartAccessories:Re,loading:Le,isLoadingCartData:_e,cartData:Oe,previousTab:De}=Ee,Me=null===(Y=null==Pe?void 0:Pe[null==Ee?void 0:Ee.selectedTab])||void 0===Y?void 0:Y.hardware,Ue=null===(Z=null==K?void 0:K.getInstance())||void 0===Z?void 0:Z.getAssetPath(),Ve=!!(null===(le=null===(ee=[u,m,p])||void 0===ee?void 0:ee.includes)||void 0===le?void 0:le.call(ee,null===(oe=null==Me?void 0:Me[0])||void 0===oe?void 0:oe.recommendationProcessingType))||!(null===(ie=ke.current)||void 0===ie?void 0:ie.hardwareVariant),Fe=null==F?void 0:F.recommendationType,$e={};i(()=>{var e,l,o,i;be(!0);const n=null===sessionStorage||void 0===sessionStorage?void 0:sessionStorage.getItem(y),t=n?JSON.parse(n):{};ke.current=t;const d=Object.assign(Object.assign({},t),{cartId:Te});we.setDeviceSessionValues(d),null==we||we.setSelectedTab(null==F?void 0:F.defaultTabSelection),Ce(null===(i=null===(o=null===(l=null===(e=null==t?void 0:t.hardwareVariant)||void 0===e?void 0:e.note)||void 0===l?void 0:l.filter(e=>"hardwareGroupName"===e.author))||void 0===o?void 0:o[0])||void 0===i?void 0:i.text),ye(!0),Te&&Ge(void 0,t)},[]);const Ge=(e,l)=>{var o,i,n,t;const d=null!=l?l:ke.current;if(e&&(we.setPreviousTab(null==Ee?void 0:Ee.selectedTab),we.setSelectedTab(e)),e){if((null===(i=(null===(o=null==Pe?void 0:Pe[e])||void 0===o?void 0:o.hardware)||[])||void 0===i?void 0:i.length)<=0&&(ye(!0),we.getRecommendedAccessory({cartId:Te,recommendationsType:e})),Le)return;if((0!==Object.keys((null==Be?void 0:Be[null==Ee?void 0:Ee.selectedTab])||{}).length||0!==Object.keys((null==Re?void 0:Re[null==Ee?void 0:Ee.selectedTab])||{}).length)&&!(null==F?void 0:F.continueButtonCartCreation)){const e={id:Te,redirectUrl:Ve?null===(n=null==F?void 0:F.winCheckoutUrl)||void 0===n?void 0:n.cached_url:null===(t=null==F?void 0:F.multiItemCheckoutUrl)||void 0===t?void 0:t.url,previousTab:null==Ee?void 0:Ee.selectedTab};je.multiItemAccessorycreateCartRequest(e)}}else je.fetchCartData(Te).then(l=>{var o,i,n,t,v,a,r,s;const c=null!==(o=null==l?void 0:l.cartRecommendationsType)&&void 0!==o?o:[null==F?void 0:F.defaultTabSelection],u=null===(i=null==d?void 0:d.hardwareVariant)||void 0===i?void 0:i.selectedContractType,m="DEVICE_RENEWAL"!==(null===(v=null===(t=null===(n=null==l?void 0:l.cartItem)||void 0===n?void 0:n[0])||void 0===t?void 0:t.processType)||void 0===v?void 0:v.id)&&"DEVICE_RP_RENEWAL"!==(null===(s=null===(r=null===(a=null==l?void 0:l.cartItem)||void 0===a?void 0:a[0])||void 0===r?void 0:r.processType)||void 0===s?void 0:s.id)||(null==F?void 0:F.enableExistingSubscription)?null==Fe?void 0:Fe.filter(e=>c.includes(e)):null==Fe?void 0:Fe.filter(e=>e===g&&c.includes(e));null==m||m.forEach(e=>{$e[e]=[]}),we.setRecommendedAccessories($e);const p=u===b?(null==m?void 0:m.includes(null==F?void 0:F.defaultTabSelection))?null==F?void 0:F.defaultTabSelection:m[0]:g;null==we||we.setSelectedTab(p),we.getRecommendedAccessory({cartId:Te,recommendationsType:e||p})}).catch(()=>{var e,l,o,i,n;const t=!!(null===(l=null===(e=[u,m,p])||void 0===e?void 0:e.includes)||void 0===l?void 0:l.call(e,null===(o=null==Me?void 0:Me[0])||void 0===o?void 0:o.recommendationProcessingType))||!(null==d?void 0:d.hardwareVariant);"undefined"!=typeof window&&(window.location.href=t?null===(i=null==F?void 0:F.winCheckoutUrl)||void 0===i?void 0:i.cached_url:null===(n=null==F?void 0:F.multiItemCheckoutUrl)||void 0===n?void 0:n.url)})};i(()=>{var e,l,o,i,n,t,d,v,a,r,c,u;if((null===(l=null===(e=null==Pe?void 0:Pe[null==Pe?void 0:Pe.tabkey])||void 0===e?void 0:e.hardware)||void 0===l?void 0:l.length)>0)if((null==Pe?void 0:Pe.tabkey)===g)null==s||s.getStoryBlokData(me,null===(i=null===(o=null==Pe?void 0:Pe[null==Pe?void 0:Pe.tabkey])||void 0===o?void 0:o.hardware)||void 0===i?void 0:i.map(e=>null==e?void 0:e.baseProducts),null==F?void 0:F.parentSlugUrl).then(e=>{He(e,null==Pe?void 0:Pe.tabkey)});else{const e=(null==Pe?void 0:Pe.tabkey)===f?null===(d=null===(t=null===(n=null==F?void 0:F.watchMasterList)||void 0===n?void 0:n[0])||void 0===t?void 0:t.reference)||void 0===d?void 0:d.content:null===(r=null===(a=null===(v=null==F?void 0:F.tabletMasterList)||void 0===v?void 0:v[0])||void 0===a?void 0:a.reference)||void 0===r?void 0:r.content;He(e,null==Pe?void 0:Pe.tabkey)}else Se&&Te||_e||"undefined"==typeof window||(window.location.href=Ve?null===(c=null==F?void 0:F.winCheckoutUrl)||void 0===c?void 0:c.cached_url:null===(u=null==F?void 0:F.multiItemCheckoutUrl)||void 0===u?void 0:u.url)},[Pe]);const He=(e,l)=>{var o,i,n,t,d,v,a,r;const s=null===(n=null===(i=(null===(o=null==Pe?void 0:Pe[l])||void 0===o?void 0:o.hardware)||[])||void 0===i?void 0:i.filter(e=>{var l,o;return(null===(l=null==xe?void 0:xe.hardwareVariant)||void 0===l?void 0:l.selectedContractType)===b?(null===(o=null==e?void 0:e.recurringPrice)||void 0===o?void 0:o.monthlyInstallment)>0:e}))||void 0===n?void 0:n.reduce((o,i,n)=>{var t,d,v,a,r,s,c,u,m,p,y,b,f,T,A,C,k,I,w,P,S,x,N,B,R,L,_,O,D,M,U,V;const F={image:"",type:h};let $;if(l===g){$=null===(a=null===(v=null===(d=null===(t=null==e?void 0:e.sbStory)||void 0===t?void 0:t.data)||void 0===d?void 0:d.stories)||void 0===v?void 0:v.filter(e=>{var l;return(null==i?void 0:i.baseProducts)===(null===(l=null==e?void 0:e.content)||void 0===l?void 0:l.productId)}))||void 0===a?void 0:a[0];const l=null===(u=null===(c=null===(s=null===(r=null==$?void 0:$.content)||void 0===r?void 0:r.body)||void 0===s?void 0:s[0])||void 0===c?void 0:c.deviceList)||void 0===u?void 0:u.find(e=>(null==e?void 0:e.devicePlanId)===(null==i?void 0:i.id));F.image=(null===(y=null===(p=null===(m=null==l?void 0:l.promoImageGallery)||void 0===m?void 0:m[0])||void 0===p?void 0:p.slideImages)||void 0===y?void 0:y[0])?null===(C=null===(A=null===(T=null===(f=null===(b=null==l?void 0:l.promoImageGallery)||void 0===b?void 0:b[0])||void 0===f?void 0:f.slideImages)||void 0===T?void 0:T[0])||void 0===A?void 0:A.image)||void 0===C?void 0:C.filename:null===(S=null===(P=null===(w=null===(I=null===(k=null==l?void 0:l.imageGallery)||void 0===k?void 0:k[0])||void 0===I?void 0:I.slideImages)||void 0===w?void 0:w[0])||void 0===P?void 0:P.image)||void 0===S?void 0:S.filename,F.type=null!==(N=null===(x=null==i?void 0:i.content)||void 0===x?void 0:x.type)&&void 0!==N?N:h}else $=null===(R=null===(B=null==e?void 0:e.body)||void 0===B?void 0:B.filter(e=>(null==i?void 0:i.baseProducts)===(null==e?void 0:e.m_p_id)))||void 0===R?void 0:R[0],F.image=null===(_=null===(L=null==$?void 0:$.images)||void 0===L?void 0:L[0])||void 0===_?void 0:_.filename,F.type=null!==(D=null===(O=null==i?void 0:i.content)||void 0===O?void 0:O.type)&&void 0!==D?D:h;return $&&(o.push({sbStoryItem:$,imageData:F,recomApiResponse:i}),E(j,j,{displayName:null==i?void 0:i.name,productId:null==i?void 0:i.id,priceValue:null===(M=null==i?void 0:i.oneTimePrice)||void 0===M?void 0:M.base,index:n,variant:null===(U=null==i?void 0:i.variantCategory)||void 0===U?void 0:U.color,storage:null===(V=null==i?void 0:i.variantCategory)||void 0===V?void 0:V.storage})),o},[]);(null==s?void 0:s.length)>0&&(null===(v=(null===(d=null===(t=null==e?void 0:e.sbStory)||void 0===t?void 0:t.data)||void 0===d?void 0:d.stories)||(null==e?void 0:e.body))||void 0===v?void 0:v.length)>0?we.setMultiItemAccessoriessList(Object.assign(Object.assign({},Ne),{[l]:s})):window.location.href=Ve?null===(a=null==F?void 0:F.winCheckoutUrl)||void 0===a?void 0:a.cached_url:null===(r=null==F?void 0:F.multiItemCheckoutUrl)||void 0===r?void 0:r.url,ye(!1),Je(s)};i(()=>{var e;null===(e=(null==Ne?void 0:Ne[null==Ee?void 0:Ee.selectedTab])||[])||void 0===e||e.filter(e=>{var l,o,i;(null===(o=null===(l=null==e?void 0:e.recomApiResponse)||void 0===l?void 0:l.paymentType)||void 0===o?void 0:o.toLowerCase())&&we.setSelectedPaymentType((null===(i=null==e?void 0:e.recomApiResponse)||void 0===i?void 0:i.paymentType.toLowerCase())===A?b:T)})},[Ne]);const We=H(),qe="large-desktop"===We||"desktop"===We?3:"tablet"===We?2:"mobile"===We?1:0,Je=e=>{const l=null==e?void 0:e.map((e,l)=>{var o,i,n,t,d,v,a,r;return{displayName:null===(o=null==e?void 0:e.recomApiResponse)||void 0===o?void 0:o.name,productId:null===(i=null==e?void 0:e.recomApiResponse)||void 0===i?void 0:i.id,priceValue:null===(t=null===(n=null==e?void 0:e.recomApiResponse)||void 0===n?void 0:n.oneTimePrice)||void 0===t?void 0:t.base,index:l,variant:null===(v=null===(d=null==e?void 0:e.recomApiResponse)||void 0===d?void 0:d.variantCategory)||void 0===v?void 0:v.color,storage:null===(r=null===(a=null==e?void 0:e.recomApiResponse)||void 0===a?void 0:a.variantCategory)||void 0===r?void 0:r.storage}});I(l)};return e.createElement(e.Fragment,null,Le&&((null==Ee?void 0:Ee.selectedTab)===De?e.createElement(G,null):e.createElement(Q,{content:F})),ge&&F&&((null===(ne=null==Ne?void 0:Ne[null==Ee?void 0:Ee.selectedTab])||void 0===ne?void 0:ne.length)>0||pe)&&e.createElement("div",{className:`${t.mainPage}`},(null===(te=null==F?void 0:F.progressionBar)||void 0===te?void 0:te[0])&&e.createElement(n,{content:null===(de=null==F?void 0:F.progressionBar)||void 0===de?void 0:de[0]}),e.createElement(k,null,e.createElement("div",null,e.createElement("div",{className:`${t.title}`},e.createElement(d,{content:null==F?void 0:F.recommendationLabel})),Object.keys(Pe||{}).filter(e=>null==Fe?void 0:Fe.includes(e)).length<=1&&!Ve&&e.createElement("div",{className:`${t.deviceText}`},null==F?void 0:F.compatibleText,e.createElement("span",{className:t.deviceName},Ae)))),Object.keys(Pe||{}).filter(e=>null==Fe?void 0:Fe.includes(e)).length>1&&e.createElement("div",{className:t.tabsContainer},null===(ae=null===(ve=(null==F?void 0:F.recommendationType)||[])||void 0===ve?void 0:ve.filter(e=>null==Pe?void 0:Pe[e]))||void 0===ae?void 0:ae.map(l=>{var o;const i=(null===(o=Object.keys((null==Oe?void 0:Oe[l])||{}))||void 0===o?void 0:o.length)||0,n=Object.keys((null==Be?void 0:Be[l])||{}).length||0,d=Object.keys((null==Re?void 0:Re[l])||{}).length||0,v=Math.max(i+n-d,0),a=l===g?null==F?void 0:F.accessoryTitle:l===f?null==F?void 0:F.watchesTitle:l===C?null==F?void 0:F.tabletsTitle:l;return e.createElement("button",{key:l,className:`${t.tabButton} ${Ee.selectedTab===l?t.activeTab:""}`,onClick:()=>{Ee.selectedTab!==l&&((e,l)=>{let o=l;e===g&&(null==F?void 0:F.accessoryAnalyticsTitle)?o=F.accessoryAnalyticsTitle:e===C&&(null==F?void 0:F.tabletsAnalyticsTitle)?o=F.tabletsAnalyticsTitle:e===f&&(null==F?void 0:F.watchesAnalyticsTitle)&&(o=F.watchesAnalyticsTitle),w(N,O,{component:_,click_text:o}),Ge(e)})(l,a)},disabled:!(null==Pe?void 0:Pe[l])},a,v>0&&e.createElement("span",{className:t.tabCount},v))})),(Ee.selectedTab===f&&(null==F?void 0:F.watchesInfoBannerText)||Ee.selectedTab===C&&(null==F?void 0:F.tabletsInfoBannerText))&&e.createElement("div",{className:t.infoBanner},e.createElement("div",{className:t.infoBannerContent},e.createElement("img",{className:t.infoIcon,src:null===(re=null==F?void 0:F.esimIcon)||void 0===re?void 0:re.filename}),e.createElement("span",null,e.createElement("span",null,W(Ee.selectedTab===f?null==F?void 0:F.watchesInfoBannerText:null==F?void 0:F.tabletsInfoBannerText,[null===(ce=null===(se=null==Pe?void 0:Pe[null==Ee?void 0:Ee.selectedTab])||void 0===se?void 0:se.ratePlan)||void 0===ce?void 0:ce.listPrice.toString()])),e.createElement("span",{className:t.learnMoreText,onClick:()=>{w(N,x,{component:S,click_text:P}),he(Ee.selectedTab)}},null==F?void 0:F.learnMoreText)))),Ve&&e.createElement(r,{content:{paymentHeadingText:null==F?void 0:F.paymentHeadingText,paymentOptions:null==F?void 0:F.paymentOptions}}),pe&&!(null===(ue=null==Ne?void 0:Ne[null==Ee?void 0:Ee.selectedTab])||void 0===ue?void 0:ue.length)?e.createElement(a,{cards:qe}):e.createElement(v,{content:F,tabIndex:1,checkingviewPort:We})),fe&&(()=>{var l,o,i,n,v,a,r,s,c,u,m,p,y,g,b;const h=(()=>{var e,l;return fe===f?null===(e=null==F?void 0:F.watchesPopup)||void 0===e?void 0:e[0]:null===(l=null==F?void 0:F.tabletsPopup)||void 0===l?void 0:l[0]})();return w(N,L,{component:R,message_title:null===(a=null===(v=null===(n=null===(i=null===(o=null===(l=null==h?void 0:h.heading)||void 0===l?void 0:l.content)||void 0===o?void 0:o[0])||void 0===i?void 0:i.content)||void 0===n?void 0:n[0])||void 0===v?void 0:v.text)||void 0===a?void 0:a.slice(0,100),message_description:null===(p=null===(m=null===(u=null===(c=null===(s=null===(r=null==h?void 0:h.description)||void 0===r?void 0:r.content)||void 0===s?void 0:s[0])||void 0===c?void 0:c.content)||void 0===u?void 0:u[0])||void 0===m?void 0:m.text)||void 0===p?void 0:p.slice(0,100),message_type:B}),e.createElement(J,{modalState:!!fe,handler:()=>he(null),showFooter:!1,height:"auto",fixedWidth:"large-desktop"===We||"desktop"===We||"tablet"===We?"624px":"",noCloseButton:!1,backDrop:!0},e.createElement("div",{className:t.watchInfoModal},(null==h?void 0:h.heading)&&e.createElement("div",{className:t.modalHeading},e.createElement(d,{content:h.heading})),(null==h?void 0:h.description)&&e.createElement("div",{className:t.modalDescription},e.createElement(d,{content:h.description})),e.createElement("div",{className:t.modalButtons},(null==h?void 0:h.link)&&e.createElement("a",{href:q(Ue,(null===(y=h.link)||void 0===y?void 0:y.cached_url)||(null===(g=h.link)||void 0===g?void 0:g.url)),target:"_blank",rel:"noopener noreferrer",className:t.factSheetLink},h.linkText),(null===(b=null==h?void 0:h.button)||void 0===b?void 0:b.length)>0&&e.createElement(z,{content:h.button[0],onClick:()=>{w(N,M,{component:S,click_text:D}),he(null)},metadata:void 0,wafIdentifier:""}))))})())},Y=l=>e.createElement(F,null,e.createElement(X,Object.assign({},l)));export{Y as default};
|
|
3
2
|
//# sourceMappingURL=MultiItemAccessoriesPage.js.map
|
package/dist/esm/components/Accessories/MultiItemAccessories/MultiItemAccessoriesPageStyle.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.card_9IULo.sr-card_ZylUo{
|
|
1
|
+
.card_9IULo.sr-card_ZylUo{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}.card_9IULo.border-top_zctzT{border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -2px 20px 0 rgba(61,57,53,.2);border:none}@media (min-width:768px){.sr-desk-card_CzD5W{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (max-width:767px){.sr-mob-card_tZNIe{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (min-width:1024px){.sr-md-card_xrETs{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}.mainPage_ABBwT{background-color:#f7f6f5}.mainPage_ABBwT .title_-zpXi{text-align:center;padding-bottom:4px}.mainPage_ABBwT .deviceText_oxcxW{background-color:#fff;color:#3d3935;width:fit-content;margin:0 auto 36px;border-radius:20px;text-align:center;padding:4px 8px;font-size:16px;line-height:24px}.mainPage_ABBwT .deviceName_25SOX{display:inline-block;font-size:16px;line-height:24px;font-weight:700}.tabsContainer_GznYZ{display:flex;justify-content:space-around;align-items:center;margin:32px auto;max-width:628px;position:relative;border-bottom:1px solid #86807c;opacity:1}@media (max-width:767px){.tabsContainer_GznYZ{margin:16px}}.tabButton_Hcuqt{position:relative;background:transparent;border:none;color:#3d3935;cursor:pointer;font-size:16px;line-height:24px;font-weight:700;transition:all 1s ease;display:flex;align-items:center;justify-content:center;padding:10px 16px;flex:1;gap:8px}.tabButton_Hcuqt:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:0;background-color:#da291c;transition:height .25s ease}.tabButton_Hcuqt:hover:not(:disabled){color:#da291c}.tabButton_Hcuqt.activeTab_-cC6e{color:#da291c;font-weight:700;background-color:transparent}.tabButton_Hcuqt.activeTab_-cC6e:after{height:4px}.tabCount_ctIUz{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;background-color:#da291c;color:#fff;border-radius:30px;font-size:14px;line-height:20px;font-weight:700;flex-shrink:0}.infoBanner_k7CNg{display:flex;justify-content:center;margin:auto auto 16px}@media (max-width:767px){.infoBanner_k7CNg{margin:16px}}.infoBannerContent_DUdmm{display:flex;align-items:center;justify-content:center;gap:12px;padding:8px 12px;background-color:#fff;border:2px solid #e6e3df;border-radius:8px;font-weight:700;color:#3d3935;font-size:14px;line-height:20px}.infoBannerContent_DUdmm .learnMoreText_Ofa2k{font-weight:400;font-size:16px;line-height:24px;letter-spacing:0;text-decoration:underline;color:#da291c;padding-left:6px;cursor:pointer}.infoIcon_I5Kva{flex-shrink:0;width:24px;height:24px}.modalHeading_Kklyh{font-size:18px;line-height:24px;font-weight:700;color:#3d3935;margin-bottom:8px}.modalDescription_3c8G6{font-size:16px;line-height:24px;font-weight:400;color:#5f5955;margin-bottom:8px}.modalButtons_55I66{display:flex;justify-content:flex-end;align-items:center;gap:16px}.factSheetLink_iyrkD{font-size:16px;line-height:24px;font-weight:700;color:#da291c;text-decoration:none;cursor:pointer;white-space:nowrap}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.card_0lEPH.sr-card_japB-{
|
|
1
|
+
.card_0lEPH.sr-card_japB-{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}.card_0lEPH.border-top_K-vDg{border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -2px 20px 0 rgba(61,57,53,.2);border:none}@media (min-width:768px){.sr-desk-card_QAPbS{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (max-width:767px){.sr-mob-card_rIrpc{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (min-width:1024px){.sr-md-card_XqlEY{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}.paymentTypeContainer_l3NqP{margin-bottom:24px}.paymentTypeContainer_l3NqP .paymentQuestion_8KqYx{font-size:18px;line-height:24px;font-weight:700;color:#3d3935;margin-bottom:16px;margin-top:28px;text-align:center}.paymentTypeContainer_l3NqP .tabsContainer_5Dmfx{display:flex;justify-content:center;gap:0;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1);max-width:400px;margin:0 auto;border:1px solid #3d3935;padding:4px;min-width:min(412px,100%)}@media (max-width:767px){.paymentTypeContainer_l3NqP .tabsContainer_5Dmfx{min-width:0}}.paymentTypeContainer_l3NqP .tabsContainer_5Dmfx .tabButton_QR1lu{flex:1;padding:12px 24px;border:none;background-color:transparent;cursor:pointer;transition:all .2s ease;border-radius:8px;letter-spacing:0;color:#3d3935}.paymentTypeContainer_l3NqP .tabsContainer_5Dmfx .tabButton_QR1lu .paymentText_VHBtY{font-weight:700;font-size:16px;line-height:24px}.paymentTypeContainer_l3NqP .tabsContainer_5Dmfx .tabButton_QR1lu .paymentSubText_4tWzf{font-weight:400;font-size:12px;line-height:16px}.paymentTypeContainer_l3NqP .tabsContainer_5Dmfx .tabButton_QR1lu:first-child{border-right:none}.paymentTypeContainer_l3NqP .tabsContainer_5Dmfx .tabButton_QR1lu:hover{color:#961c13}.paymentTypeContainer_l3NqP .tabsContainer_5Dmfx .tabButton_QR1lu.activeTab_dy80-{background-color:#da291c;color:#fff}.paymentTypeContainer_l3NqP .tabsContainer_5Dmfx .tabButton_QR1lu.activeTab_dy80-:hover{background-color:#961c13}@media (max-width:767px){.paymentTypeContainer_l3NqP .tabsContainer_5Dmfx{max-width:100%}.paymentTypeContainer_l3NqP .tabsContainer_5Dmfx .tabButton_QR1lu{font-size:14px;padding:10px 16px}}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import './PaymentTypeTabs.css';
|
|
2
1
|
import e,{useEffect as t}from"react";import n from"./PaymentTypeTabs.module.scss.js";import o from"../../ResponsiveRow/row.js";import{useMultiAccessoryContext as l}from"../multiItemAccessoryStore/useMultiAccessoryContext.js";import{useMultiAccessoryActions as i}from"../multiItemAccessoryStore/useMultiAccessoryActions.js";import{trackNewDatalayerEvent as s}from"../../../utils/AnalyticsUtils.js";import{TABCLICK as a,GAEVENT as m,CONTENT as c}from"../../../Analytics/AnalyticsConstants.js";import{INTERNETFLOW as r,TV as d,MOBILERATEPLAN as p}from"../../../utils/constants.js";const u=({content:u})=>{var v,y,T,x,f,A,b;const{store:E,dispatch:j}=l(),g=i(j),{selectedPaymentType:N,recommendedAccessories:S}=E,C=!!(null===(y=null===(v=[r,d])||void 0===v?void 0:v.includes)||void 0===y?void 0:y.call(v,null===(T=null==S?void 0:S[0])||void 0===T?void 0:T.recommendationProcessingType)),O=!!(null===(f=null===(x=[p])||void 0===x?void 0:x.includes)||void 0===f?void 0:f.call(x,null===(A=null==S?void 0:S[0])||void 0===A?void 0:A.recommendationProcessingType));t(()=>{var e,t;if(N&&(null===(e=null==u?void 0:u.paymentOptions)||void 0===e?void 0:e.length)>0){const e=null===(t=null==u?void 0:u.paymentOptions)||void 0===t?void 0:t.find(e=>e.type===N);e&&s(m,a,{click_text:null==e?void 0:e.paymentText,headline:C?r:O?p:""})}},[N,null==u?void 0:u.paymentOptions,C,O]);return e.createElement(e.Fragment,null,(null===(b=null==u?void 0:u.paymentOptions)||void 0===b?void 0:b.length)>1&&e.createElement(o,null,e.createElement("div",{className:n.paymentTypeContainer},e.createElement("div",{className:n.paymentQuestion},u.paymentHeadingText),e.createElement("div",{className:n.tabsContainer},((null==u?void 0:u.paymentOptions)||[]).map(t=>e.createElement("button",{className:`${n.tabButton} ${N===(null==t?void 0:t.type)?n.activeTab:""}`,onClick:()=>{return s(m,a,{component:c,click_text:null==(e=t)?void 0:e.paymentText}),void g.setSelectedPaymentType(e.type);var e}},e.createElement("span",{className:`${n.paymentText}`},null==t?void 0:t.paymentText)," ",e.createElement("span",{className:`${n.paymentSubText}`},(null==t?void 0:t.paymentSubText)&&(null==t?void 0:t.paymentSubText))))))))};export{u as default};
|
|
3
2
|
//# sourceMappingURL=PaymentTypeTabs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.card_trv-z.sr-card_hUHjH{
|
|
1
|
+
.card_trv-z.sr-card_hUHjH{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}.card_trv-z.border-top_rLZnr{border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -2px 20px 0 rgba(61,57,53,.2);border:none}@media (min-width:768px){.sr-desk-card_wP1lA{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (max-width:767px){.sr-mob-card_7-sWZ{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (min-width:1024px){.sr-md-card_haMKp{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}.steps_P8R74{border-radius:8px;max-width:800px;margin:auto;padding:50px 0}.steps_P8R74 .numbers_CqoO7{position:relative;display:flex;justify-content:space-between;background-color:inherit;z-index:1}.steps_P8R74 .numbers_CqoO7:before{top:24px;z-index:0;content:"";position:absolute;width:100%;border:1px solid #e6e3df}.steps_P8R74 .numbers_CqoO7 span{font-size:16px;color:#3d3935;bottom:-10px}.steps_P8R74 .numbers_CqoO7 .optionalText_LURIc,.steps_P8R74 .numbers_CqoO7 span{line-height:24px;font-weight:400;white-space:nowrap;position:absolute;display:inline}.steps_P8R74 .numbers_CqoO7 .optionalText_LURIc{font-size:12px;color:#86807c;bottom:-30px}@media (max-width:1023px){.steps_P8R74 .numbers_CqoO7 .optionalText_LURIc{bottom:-35px}}.steps_P8R74 .numbers_CqoO7 .accesoriesOptionalText_qFByy{font-size:12px;line-height:24px;font-weight:400;color:#86807c;white-space:nowrap;position:absolute;display:inline;bottom:-30px}@media (max-width:1023px){.steps_P8R74 .numbers_CqoO7 .accesoriesOptionalText_qFByy{bottom:-35px}}.steps_P8R74 .accessorybackground_Ko-Kl{background-color:#f7f6f5!important}.steps_P8R74 .progressbarBackground_1d--p{background-color:#fff!important}.steps_P8R74 .step_crNH-{z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:12px 12px 20px}.steps_P8R74 .step_crNH- .stepCount_Y1jU9{height:32px;width:32px;font-size:16px;background-color:#e7e7e7;border-radius:50%;display:flex;align-items:center;justify-content:center;z-index:2}.steps_P8R74 .numbers_CqoO7 .active_hLYV6{background-color:#da291c;color:#fff}.steps_P8R74 .numbers_CqoO7 .finished_Kdhwr{color:#fff}.steps_P8R74 .numbers_CqoO7 .finished_Kdhwr.stepCount_Y1jU9{background-color:#5f5955;color:transparent;background-image:url(/ecom-int/icons/tick.svg);background-repeat:no-repeat;background-size:contain}@media (max-width:1023px){.steps_P8R74{padding:28px 0}.steps_P8R74 .step_crNH-{padding:12px 12px 0;flex-direction:column}.steps_P8R74 .step_crNH- .stepCount_Y1jU9{width:24px;height:24px;margin-bottom:16px;font-size:14px}.steps_P8R74 .numbers_CqoO7 span,.steps_P8R74 .step_crNH- .optionalText_LURIc{display:none}.steps_P8R74 .numbers_CqoO7 .active_hLYV6~span{white-space:nowrap;position:absolute;display:inline;bottom:-20px}}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import './progressionBar.css';
|
|
2
1
|
import e from"../../ResponsiveRow/row.js";import t from"react";import o from"./progressionBar.module.scss.js";import{ACCESSORYLABEL as l,VASSTEPPERLABEL as a}from"../../../utils/constants.js";import{useMultiAccessoryContext as s}from"../multiItemAccessoryStore/useMultiAccessoryContext.js";const i=({content:i})=>{const{store:c}=s(),{deviceSessionValues:r}=c,n="undefined"!=typeof window&&null!==sessionStorage.getItem("one-ecommerce-internetSummary"),u={};(null==i?void 0:i.pickYourDeviceLabel)&&(null==r?void 0:r.hardwareVariant)&&(u.pickYourDeviceLabel=i.pickYourDeviceLabel),(null==i?void 0:i.customizeDeviceLabel)&&(null==r?void 0:r.hardwareVariant)&&(u.customizeDeviceLabel=i.customizeDeviceLabel),(null==i?void 0:i.yourSubscriptionLabel)&&(u.yourSubscriptionLabel=i.yourSubscriptionLabel),(null==i?void 0:i.vasStepperLabel)&&n&&(u.vasStepperLabel=i.vasStepperLabel),(null==i?void 0:i.accessoriesLabel)&&(u.accessoriesLabel=i.accessoriesLabel),(null==i?void 0:i.checkoutLabel)&&(u.checkoutLabel=i.checkoutLabel);const m=null==i?void 0:i.selectedStep;let p;return Object.entries(u).forEach(([e],t)=>{e===m&&(p=t)}),t.createElement(e,null,t.createElement("div",{className:o.steps},t.createElement("div",{className:o.numbers},Object.entries(u).filter(e=>""!==e[1]).filter(e=>e[1]===(null==i?void 0:i.accessoriesLabel)?m===l:e).map(([e,s],c)=>t.createElement("div",{key:e,className:`d-flex ${o.step} ${e===m?o.active:""} ${m===l?o.accessorybackground:o.progressbarBackground} `},t.createElement("div",{className:`${o.stepCount} ${e===m?o.active:""} ${p>c?o.finished:""}`},c+1),t.createElement("span",null,s),e===l&&t.createElement("div",{className:`${m===l?o.accesoriesOptionalText:o.optionalText}`},null==i?void 0:i.optionalLabelText),e===a&&t.createElement("div",{className:`${m===a?o.accesoriesOptionalText:o.optionalText}`},null==i?void 0:i.optionalLabelText))))))};export{i as default};
|
|
3
2
|
//# sourceMappingURL=progressionBar.js.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import './BenefitValidate.css';
|
|
2
1
|
import e,{useState as t,useEffect as l}from"react";import n from"./BenefitsValidate.module.scss.js";import i from"../LineCheckV3/GenericModal.js";import o from"../richtext.js";import{createPortal as a}from"react-dom";import{fetchSubscriptionData as c}from"../../services/LineTableService.js";import{SUNRISEMOBILE as s,SUNRISEINTERNET as r,POSTPAID as d,CAPSINTERNET as u}from"../../Analytics/AnalyticsConstants.js";import{CheckBenefitsMatch as m}from"./Benefits.js";import{LoginBasicPropConfig as v}from"../../services/LoginBasicPropConfig.js";import p from"../login/LoginModalV2.js";const E=({content:E,authData:f,loginContent:h,metadata:g,afterLoginContent:b,createCartCall:B,extraContent:C,basicConfigUrl:N,selectedExistingOption:y,setShowBenefit:S,setLoginSuccess:x,isProdEnv:P})=>{var j,L;const[T,w]=t(!0),[D,k]=t(!1),[A,F]=t(!1),[I,V]=t([]),[M,O]=t([]),[U,G]=t([]),[R,X]=t(!1),$=`${N}inf/customer-management/subscriptions`;v.create({baseURL:N});const q=y,z=null==C?void 0:C.subscriptionName,H=()=>{w(!T),S(!1)},J=void 0!==typeof window&&document.getElementById("static-linetable");return l(()=>{if((null==I?void 0:I.length)>0){const e=[],t=[];(null==q?void 0:q.includes(s))&&e.push(null==z?void 0:z.replace("{name}",s)),(null==q?void 0:q.includes(r))&&e.push(null==z?void 0:z.replace("{name}",r)),O(e);if(m(q,I))B();else{w(!0);const e=new Set(null==I?void 0:I.map(e=>null==e?void 0:e.ratePlanType));(null==e?void 0:e.has(d))&&t.push(null==z?void 0:z.replace("{name}",s)),(null==e?void 0:e.has(u))&&t.push(null==z?void 0:z.replace("{name}",r)),G(t)}}},[I]),e.createElement("div",null,e.createElement(i,{modalState:T,handler:H,showFooter:!1,noCloseButton:!1,backDrop:!0,width:"400px",height:"150px",bodyPadding:"16px",id:"mobile-benefits"},e.createElement("div",{className:n.container},!R&&(null==E?void 0:E.title)&&e.createElement("h4",{className:n.title},null==E?void 0:E.title),(null==E?void 0:E.description)&&!A&&e.createElement("div",{className:n.description},e.createElement(o,{content:null==E?void 0:E.description})),A&&b&&!R&&e.createElement(e.Fragment,null,(null==M?void 0:M.length)>0&&e.createElement("div",{className:n.selectedSubDesc},e.createElement("div",null,null==b?void 0:b.selectedProductsTitle,":"),e.createElement("ul",null,null===(j=M||[])||void 0===j?void 0:j.map(t=>e.createElement("li",null,t)))),(null==U?void 0:U.length)>0&&e.createElement("div",{className:n.subscriptionDesc},e.createElement("div",null,null==b?void 0:b.ownedProductsTitle,":"),e.createElement("ul",null,null===(L=U||[])||void 0===L?void 0:L.map(t=>e.createElement("li",null,t))))),!A&&!R&&e.createElement("div",null,e.createElement("div",{className:n["buttons-container"]},(null==E?void 0:E.cancelBtn)&&e.createElement("div",{className:"secondarybutton",onClick:H},null==E?void 0:E.cancelBtn),(null==E?void 0:E.loginBtn)&&e.createElement("div",{className:"primarybutton",onClick:()=>{w(!1),k(!D)}},null==E?void 0:E.loginBtn))),R&&(null==C?void 0:C.noSubscriptionTitle)&&e.createElement("h4",{className:n.title},null==C?void 0:C.noSubscriptionTitle),(null==b?void 0:b.updateBenefitBtn)&&A&&e.createElement("div",{className:"primarybutton",onClick:H},null==b?void 0:b.updateBenefitBtn))),D&&h&&J&&a(e.createElement(p,{content:h,closeLogin:()=>{k(!1)},metadata:g,onSuccess:()=>{var e;k(!1),x();try{null===(e=c("POSTPAID,FIXNET",$))||void 0===e||e.then(e=>{204==(null==e?void 0:e.subscriptionData)?(X(!0),w(!0),F(!0)):(V(null==e?void 0:e.subscriptionData),F(!0),X(!1))}).catch(e=>{console.log("error---\x3e",e)})}catch(e){console.log("error---\x3e",e)}},isProdEnv:P}),J))};export{E as default};
|
|
3
2
|
//# sourceMappingURL=BenefitValidate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.card_GUSaX.sr-card_jOhAz{
|
|
1
|
+
.card_GUSaX.sr-card_jOhAz{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}.card_GUSaX.border-top_CGDXe{border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -2px 20px 0 rgba(61,57,53,.2);border:none}@media (min-width:768px){.sr-desk-card_DM-ku{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (max-width:767px){.sr-mob-card_wrEHN{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (min-width:1024px){.sr-md-card_X1s9p{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}.container_4-Ed6{display:block;text-align:center;padding:40px 16px;gap:16px;opacity:0;background-color:#f7f6f5}.title_7uKmY{font-size:24px;line-height:32px;color:#3d3935;font-weight:400}@media (min-width:1024px){.title_7uKmY{display:contents}}.wrapper_QkzJV{display:flex;align-items:center;justify-content:center;margin-top:20px}.wrapper_QkzJV .showselect_U6Xs3{padding:0 16px;gap:2px;border-radius:8px;opacity:0;background-color:#fff;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);text-align:left}.wrapper_QkzJV .options_F1D9c{font-size:16px;font-weight:700;line-height:24px}.toggle_u1Jet{display:flex;justify-content:end;margin-left:15px}.itemStyles_LRge2{display:flex;flex-direction:row;background-color:#fff;align-items:center;justify-content:space-between}.newCustomer_z1Few{border-bottom:1px solid #e6e3df;padding:10px 0}.existingCustomer_RPouk{padding:10px 0}.existingWrapper_5iNu-{padding:10px 0;border-top:1px solid #e6e3df}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import './BenefitWrapper.css';
|
|
2
1
|
import e,{useState as l,useEffect as t}from"react";import i from"./BenefitWrapper.module.scss.js";import o from"../richtext.js";import{Form as n}from"react-bootstrap";import d from"../StaticLineTable/StaticLineTable.js";import c from"js-cookie";const s=({content:s,metadata:a,setGenericErrorModalDetails:v,loginSuccess:r,basicConfigUrl:u,setLoginSuccess:m,isProdEnv:p})=>{var E,f,g,b,k,S,h,y,N,C,w,O,x,M,$,L,P,j,D,G,U,F,T,W,A,B;const[J,q]=l("default"),[z,H]=l([]),[I,K]=l(!1),[Q,R]=l(!1),[V,X]=l(!1),[Y,Z]=l(!1),_=null===(b=null===(g=null===(f=null===(E=null==s?void 0:s.benefitSelection)||void 0===E?void 0:E[0])||void 0===f?void 0:f.benefits)||void 0===g?void 0:g[0])||void 0===b?void 0:b.key,ee=null===(y=null===(h=null===(S=null===(k=null==s?void 0:s.benefitSelection)||void 0===k?void 0:k[0])||void 0===S?void 0:S.benefits)||void 0===h?void 0:h[1])||void 0===y?void 0:y.key;let le=void 0!==typeof window&&c.get("sunriseAuth");return le=le&&JSON.parse(le),t(()=>{null!=le&&(q("default"),H([]))},[]),e.createElement(e.Fragment,null,null==le&&e.createElement("div",{className:i.container},e.createElement("div",{className:i.title},e.createElement(o,{content:null===(C=null===(N=null==s?void 0:s.benefitSelection)||void 0===N?void 0:N[0])||void 0===C?void 0:C.title})),e.createElement("div",{className:i.wrapper},e.createElement("div",{className:i.showselect},!Y&&e.createElement("div",{className:`${i.itemStyles} ${i.newCustomer}`},e.createElement("div",{className:i.options},null===($=null===(M=null===(x=null===(O=null===(w=null==s?void 0:s.benefitSelection)||void 0===w?void 0:w[0])||void 0===O?void 0:O.benefits)||void 0===x?void 0:x[0])||void 0===M?void 0:M.options)||void 0===$?void 0:$[0].title),e.createElement("div",{className:i.toggle},e.createElement(n,null,e.createElement(n.Check,{type:"switch",readOnly:!0,checked:V,onClick:e=>(e=>{var l;X(!V),_&&(null===(l=null==e?void 0:e.target)||void 0===l?void 0:l.checked)?q(_):q(ee&&Y?ee:"default")})(e)})))),e.createElement("div",{className:`${i.itemStyles} ${i.existingCustomer}`},e.createElement("div",{className:i.options},null===(D=null===(j=null===(P=null===(L=null==s?void 0:s.benefitSelection)||void 0===L?void 0:L[0])||void 0===P?void 0:P.benefits)||void 0===j?void 0:j[1])||void 0===D?void 0:D.title),e.createElement("div",{className:i.toggle},e.createElement(n,null,e.createElement(n.Check,{type:"switch",readOnly:!0,checked:Y,onClick:e=>(e=>{var l;Z(!Y),ee&&(null===(l=null==e?void 0:e.target)||void 0===l?void 0:l.checked)?q(ee):q(_&&V?_:"default")})(e)})))),Y&&(null===(W=null===(T=null===(F=null===(U=null===(G=null==s?void 0:s.benefitSelection)||void 0===G?void 0:G[0])||void 0===U?void 0:U.benefits)||void 0===F?void 0:F[1])||void 0===T?void 0:T.options)||void 0===W?void 0:W.map((l,t)=>e.createElement(e.Fragment,null,e.createElement("div",{className:`${i.itemStyles} ${i.existingWrapper}`,key:t},e.createElement("div",{className:i.options},null==l?void 0:l.title),e.createElement("div",{className:i.toggle},e.createElement(n,null,e.createElement(n.Check,{type:"switch",readOnly:!0,checked:"Mobile"===(null==l?void 0:l.key)?I:Q,onClick:e=>((e,l)=>{const t=[...z],i=e.target.checked;if(!t.includes(l)&&i)t.push(l);else if(!i){const e=t.indexOf(l);e>-1&&t.splice(e,1)}H(t),"Mobile"===l?K(!I):R(!Q)})(e,null==l?void 0:l.key)})))))))))),J&&"new-customer"==J?e.createElement(d,{content:null===(A=null==s?void 0:s.youngProducts)||void 0===A?void 0:A[0],metadata:a,setGenericErrorModalDetails:v,loginSuccess:r,selectedOption:J,basicConfigUrl:u,selectedExistingOption:z,setLoginSuccess:m,isProdEnv:p}):e.createElement(d,{content:null===(B=null==s?void 0:s.upMobileProducts)||void 0===B?void 0:B[0],metadata:a,setGenericErrorModalDetails:v,loginSuccess:r,selectedOption:J,basicConfigUrl:u,selectedExistingOption:z,setLoginSuccess:m,isProdEnv:p}))};export{s as default};
|
|
3
2
|
//# sourceMappingURL=BenefitWrapper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.card_-DO8g.sr-card_qRUiV{
|
|
1
|
+
.card_-DO8g.sr-card_qRUiV{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}.card_-DO8g.border-top_yRFSs{border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -2px 20px 0 rgba(61,57,53,.2);border:none}@media (min-width:768px){.sr-desk-card_w5tw8{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (max-width:767px){.sr-mob-card_H8Zfc{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (min-width:1024px){.sr-md-card_6bD-k{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}.container_xX-Zh{text-align:center}.container_xX-Zh .title_e-9gt{color:#3d3935}.container_xX-Zh .description_lixHC,.container_xX-Zh .selectedSubDesc_g8aw6,.container_xX-Zh .subscriptionDesc_5C7Nb{margin-top:8px;font-weight:400;font-size:16px;line-height:24px;color:#5f5955}.container_xX-Zh .selectedSubDesc_g8aw6,.container_xX-Zh .subscriptionDesc_5C7Nb{text-align:center}.container_xX-Zh .selectedSubDesc_g8aw6 ul,.container_xX-Zh .subscriptionDesc_5C7Nb ul{display:inline-block;text-align:left}.container_xX-Zh .subscriptionDesc_5C7Nb{margin-bottom:8px}.container_xX-Zh .buttons-container_z9cwo{margin-top:20px;display:flex;justify-content:center;gap:20px;align-items:center}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.card_g4tC2.sr-card_uBNsI{
|
|
1
|
+
.card_g4tC2.sr-card_uBNsI{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}.card_g4tC2.border-top_cEFbw{border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -2px 20px 0 rgba(61,57,53,.2);border:none}@media (min-width:768px){.sr-desk-card_-6quN{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (max-width:767px){.sr-mob-card_ajYTC{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (min-width:1024px){.sr-md-card_QBz8Y{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}.login-flyover_EoFY- div,.outer_xI9SO .breadcrumb-container_nogLI .link_Iu7Db,.text-overflow_NEzoG{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.outer_xI9SO{background-color:transparent;padding:14px 16px}.outer_xI9SO .breadcrumb-container_nogLI{font-size:16px;line-height:24px}.outer_xI9SO .breadcrumb-container_nogLI .link_Iu7Db{max-width:1200px}.outer_xI9SO .breadcrumb-container_nogLI .link_Iu7Db .dots_lD25Q{color:#da291c}.outer_xI9SO .breadcrumb-container_nogLI .current-page-breadcrumb_EvD8Y{color:#606060;font-size:16px;line-height:24px;text-transform:capitalize}.outer_xI9SO .breadcrumb-container_nogLI a{margin-top:12px;margin-bottom:12px;text-decoration-line:none;text-transform:capitalize}.outer_xI9SO .breadcrumb-container_nogLI a:hover{text-decoration:none}.outer_xI9SO .breadcrumb-container_nogLI a img{margin:14px}.login-flyover_EoFY-{position:absolute;max-width:214px;display:block;padding:0 16px;border:0;box-shadow:0 2px 4px rgba(87,84,82,.2);background-color:#fff;border-radius:4px;z-index:1}.login-flyover_EoFY- a{font-size:16px;line-height:24px;font-weight:400}.login-flyover_EoFY- :last-child{border-bottom:none}.login-flyover_EoFY- div{border-bottom:1px solid #e6e3df;padding:12px 0;max-width:288px}@media (max-width:1023px){.outer_xI9SO{padding:7px 14px 7px 0}.outer_xI9SO .sr-responsive-row{margin:0}.outer_xI9SO .breadcrumb-container_nogLI>span{max-width:288px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import './Breadcrumb.css';
|
|
2
1
|
import{__awaiter as l}from"../../_virtual/_tslib.js";import e,{useState as n,useEffect as r}from"react";import i from"./Breadcrumb.module.scss.js";import o from"./useScrollCheck.js";import d from"../ResponsiveRow/row.js";import{BREADCRUMB as t}from"../../utils/constants.js";import{LineTableBasicPropConfig as u}from"../../services/LineTableBasicPropConfig.js";import{CMSStoryblokServiceV2 as a}from"@sunrise-upc/ajax-lib";const s=({content:s,metadata:c,startString:v})=>{var m,b,p,g,f,h,E,_,w,y,N,j,k,B;const $=null===(m=null==c?void 0:c.full_slug)||void 0===m?void 0:m.split("/"),A=null===(b=null==u?void 0:u.getInstance())||void 0===b?void 0:b.getSBUrl();"/"===(null===(p=null==c?void 0:c.full_slug)||void 0===p?void 0:p.substr(-1))?$.pop():null===(g=null==c?void 0:c.full_slug)||void 0===g||g.split("/");const S=null==$?void 0:$.map((l,e)=>{var n;return{breadcrumb:l,href:(null===(n=null==$?void 0:$.slice(0,e+1))||void 0===n?void 0:n.join("/"))+"/"}});S[(null==S?void 0:S.length)-1].href="/"===(null===(f=null==c?void 0:c.full_slug)||void 0===f?void 0:f.substr(-1))?S[S.length-1].href:null===(h=S[S.length-1].href)||void 0===h?void 0:h.substr(0,(null===(E=S[(null==S?void 0:S.length)-1].href)||void 0===E?void 0:E.length)-1);const C=null==c?void 0:c.lang,[x,W]=n([]),[I,L]=n(!1),R="/ecom-int/icons/arrow_sign.svg",z=v||"",{isScrollBreak:F}=o(),P=(null==x?void 0:x.length)>1?(null==x?void 0:x.length)-1:0,T=[...x],U=null==T?void 0:T.slice(1,-1);r(()=>{l(void 0,void 0,void 0,function*(){var e,n;const r=[],i=[];let o;S.map(e=>l(void 0,void 0,void 0,function*(){i.push(e.href)}));const d=A+`rest/cms/stories?by_slugs=${i.join()}`;o=yield a.get(d,{type:"B2C",version:"published",language:C,per_page:10,sort_by:"slug:asc"}),null===(n=null===(e=null==o?void 0:o.data)||void 0===e?void 0:e.stories)||void 0===n||n.map(l=>{var e,n;const i=l.content.body,o=l.full_slug.split("/");let d="";i.map(l=>{"breadcrumb"===l.component&&(d=l.breadcrumbName)}),"/"===l.full_slug.substr(-1)?o.pop():l.full_slug.split("/");let t=(null===(e=null==l?void 0:l.full_slug)||void 0===e?void 0:e.endsWith("/"))?null===(n=null==l?void 0:l.full_slug)||void 0===n?void 0:n.slice(0,-1):null==l?void 0:l.full_slug;const u=null==t?void 0:t.replace(z,"");r.push({breadcrumb:d||o[o.length-1],href:"/"+u})}),W(r)})},[]);const[q,D]=n(0);let G;const H=()=>{window.innerWidth<1024&&(G=document.getElementById("firstBreadcrumb"),D(null==G?void 0:G.offsetWidth))};r(()=>{H(),window.addEventListener("resize",H)},[I]);return r(()=>{L(!1)},[F]),e.createElement("div",{className:i.outer},e.createElement(d,null,e.createElement("div",{className:`breadcrumb-section ${i["breadcrumb-container"]}`},e.createElement("span",{className:"d-block d-md-none"},x&&x.length>1&&e.createElement("span",{className:`${i.link}`},e.createElement("a",null,e.createElement("span",{id:"firstBreadcrumb"},e.createElement("a",{href:null===(_=x[0])||void 0===_?void 0:_.href},(null===(w=x[0])||void 0===w?void 0:w.breadcrumb.includes("-"))?null===(y=x[0])||void 0===y?void 0:y.breadcrumb.replaceAll("-"," "):null===(N=x[0])||void 0===N?void 0:N.breadcrumb),(null==x?void 0:x.length)>2&&e.createElement(e.Fragment,null,e.createElement("img",{src:R,height:9,width:5,alt:""}),e.createElement("span",{className:`${i.dots}`,onClick:()=>{L(!I)}},t))),e.createElement("img",{src:R,height:9,width:5,alt:""}),e.createElement("span",{className:`${i["current-page-breadcrumb"]}`},(null===(j=x[P])||void 0===j?void 0:j.breadcrumb.includes("-"))?null===(k=x[P])||void 0===k?void 0:k.breadcrumb.replaceAll("-"," "):null===(B=x[P])||void 0===B?void 0:B.breadcrumb),I&&e.createElement("div",{className:i["login-flyover"],style:{left:q+"px"}},U&&(null==U?void 0:U.map((l,n)=>{var r,i;return e.createElement("div",{key:n},l&&e.createElement("a",{href:null==l?void 0:l.href},(null===(r=null==l?void 0:l.breadcrumb)||void 0===r?void 0:r.includes("-"))?null===(i=null==l?void 0:l.breadcrumb)||void 0===i?void 0:i.replaceAll("-"," "):null==l?void 0:l.breadcrumb))})))))),e.createElement("span",{className:`${i.link} d-none d-md-block`},x&&x.map((l,n)=>{var r,o,d,t;return e.createElement("span",{key:n},l&&(n!=(null==x?void 0:x.length)-1?e.createElement("a",{href:l.href},(null===(r=null==l?void 0:l.breadcrumb)||void 0===r?void 0:r.includes("-"))?null===(o=null==l?void 0:l.breadcrumb)||void 0===o?void 0:o.replaceAll("-"," "):null==l?void 0:l.breadcrumb,e.createElement("img",{src:R,height:9,width:5,alt:"breadcrumbSeparator"})):e.createElement("span",{className:`${i["current-page-breadcrumb"]}`},(null===(d=null==l?void 0:l.breadcrumb)||void 0===d?void 0:d.includes("-"))?null===(t=null==l?void 0:l.breadcrumb)||void 0===t?void 0:t.replaceAll("-"," "):null==l?void 0:l.breadcrumb)))})))))};export{s as default};
|
|
3
2
|
//# sourceMappingURL=Breadcrumb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.linetable-card-linetable-card-flexGrid{display:flex;flex-direction:column}.linetable-card-productContainer{background-color:#fff;
|
|
1
|
+
.linetable-card-linetable-card-flexGrid{display:flex;flex-direction:column}.linetable-card-productContainer{background-color:#fff;padding:24px 0 16px;text-align:left;height:100%;border-radius:8px}.linetable-card-productContainer hr{margin:16px}.linetable-card-introText{padding-left:16px;padding-right:16px;font-size:16px;line-height:24px;font-weight:500;color:#587467}.linetable-card-productTeaser{background-color:#fff;border-radius:8px;height:100%;width:100%;display:flex;flex-direction:column;box-shadow:0 4px 12px 0 #57545233}.linetable-card-prodHeading{font-size:14px;line-height:20px;color:#606060;font-weight:700;margin-bottom:4px}.linetable-card-titleContainer{padding-left:16px;padding-right:16px}.linetable-card-productTitle{color:#1e1e1e;font-weight:700;margin-bottom:4px;display:flex;align-items:baseline;justify-content:space-between}.linetable-card-productTitle>h1,.linetable-card-productTitle>h2,.linetable-card-productTitle>h3,.linetable-card-productTitle>h4,.linetable-card-productTitle>h5,.linetable-card-productTitle>h6{color:#1e1e1e!important}.linetable-card-productTitle>h3{font-size:24px;line-height:32px}.linetable-card-productTitle>h2{margin-right:8px}.linetable-card-prodDescription{font-size:16px;line-height:24px;color:#333;display:flex;font-weight:400}@media (max-width:767px){.linetable-card-productTitle{height:auto}}.linetable-card-productDetailSection{margin:0 16px}.linetable-card-productDetailSection img{vertical-align:bottom;margin-right:8px}.linetable-card-bottomConatiner{display:flex;flex-direction:column;justify-content:end}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.linetable-CardEntitlement-mobileProductEntitlement{margin:0;padding:0 16px}.linetable-CardEntitlement-entitlementValue{align-items:center;
|
|
1
|
+
.linetable-CardEntitlement-mobileProductEntitlement{margin:0;padding:0 16px}.linetable-CardEntitlement-entitlementValue{display:flex;margin-bottom:4px;align-items:center;font-size:16px}.linetable-CardEntitlement-entitlementIcon{align-self:flex-start;margin-right:8px}.linetable-CardEntitlement-entitlementIcon img{vertical-align:sub}.linetable-CardEntitlement-animationTitle{font-size:16px;line-height:24px;color:#3d3935;font-weight:700;margin-bottom:auto}.linetable-CardEntitlement-entitlementContent{display:inline-flex;margin-bottom:16px}.linetable-CardEntitlement-entitlementDescription{color:#3d3935;margin-left:32px;margin-bottom:4px;font-size:16px;font-weight:500;width:calc(100% - 32px)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.linetable-countryOverlay-linkTextNew{color:#da291c;cursor:pointer;font-size:16px;line-height:24px
|
|
1
|
+
.linetable-countryOverlay-linkTextNew{color:#da291c;margin-left:32px;margin-bottom:4px;text-decoration:underline;cursor:pointer;font-size:16px;line-height:24px}.linetable-countryOverlay-utils-noWrap{white-space:nowrap}.linetable-countryOverlay-utils-colWidth{max-width:210px}.linetable-countryOverlay-contain{display:flex;align-items:first baseline;padding-top:10px}.linetable-countryOverlay-image{width:24px;height:16px}.linetable-countryOverlay-name{color:#000;align-items:center;padding-left:16px;font-style:normal;font-weight:400;font-size:14px;line-height:32px}.linetable-countryOverlay-blackthemecolor{color:#fff!important}.linetable-countryOverlay-desktopView{display:block}.linetable-countryOverlay-mobView{display:none}@media (max-width:767px){.linetable-countryOverlay-linkTextNew{font-size:14px;line-height:24px}}@media (min-width:1440px){.linetable-countryOverlay-desktopView{display:block}.linetable-countryOverlay-mobView{display:none}}@media (max-width:1023px){.linetable-countryOverlay-desktopView{display:none}.linetable-countryOverlay-mobView{display:block;width:100%}}.reusbablelnetable-margin{margin-left:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.custDeviceCardWrapper{text-decoration:none}.custDeviceCardPreview{padding-
|
|
1
|
+
.custDeviceCardWrapper{text-decoration:none}.custDeviceCardPreview{padding-right:10px;padding-left:10px}.custDeviceCards{background-color:#fff;box-shadow:0 4px 12px rgba(87,84,82,.2);border-radius:8px}.custDeviceHeading{padding:24px 24px 16px}.custDeviceTitle{font-weight:700;font-size:20px;line-height:28px;color:#1e1e1e;max-width:300px}.custDeviceSubTitle{font-weight:400;font-size:16px;line-height:24px;padding-top:4px;color:#333}.custDeviceLine{height:1px;background-color:#e6e3df;margin-left:24px;margin-right:24px}.custDeviceImage{display:flex;justify-content:center;padding:16px 30px}.custDevicePriceContainer{padding:0 16px 16px}.deviceCustContainer .react-multi-carousel-list{position:static}.deviceCustContainer .react-multiple-carousel__arrow{background:#fff;box-shadow:0 4px 12px rgba(87,84,82,.2);border-radius:24px;font-size:16px;height:44px;width:44px;padding:10px;z-index:1}.deviceCustContainer .react-multiple-carousel__arrow:before{color:#da291c;font-size:16px}.deviceCustContainer .react-multiple-carousel__arrow:disabled:before{color:#b3aeaa}.deviceCustContainer .react-multiple-carousel__arrow--right{right:3%}.deviceCustContainer .react-multiple-carousel__arrow--left{left:3%}.deviceCustContainer .react-multi-carousel-dot button{background:#3d3935;opacity:.3;border:0;transition:none}.deviceCustContainer .react-multi-carousel-dot--active button{background:#da291c;opacity:1}.deviceCustContainer .react-multi-carousel-dot button:hover:active{background:#da291c}.deviceCustContainer .react-multi-carousel-track{padding-top:25px;padding-bottom:12px}.custDeviceFirstBadge{font-size:14px;line-height:20px;font-weight:700;color:#fff;padding:6px 8px;border-radius:4px;position:absolute;top:-18px;left:24px;right:24px;width:fit-content}.custDeviceFirstBadge .custDeviceBadgeIcon{padding-right:4px}.custDeviceSecondBadge{left:152px;top:-18px}.custDeviceWithDiscount{background-color:#961c13}.custDeviceWithoutDiscount{background-color:#2e6199}@media (max-width:376px){.custDeviceImage img{width:271px}.custDeviceCardPreview{padding-left:6px;padding-right:6px}}@media only screen and (min-width:376px) and (max-width:768px){.custDeviceImage img{width:286px}.deviceCustContainer .react-multiple-carousel__arrow--right{right:4%}.deviceCustContainer .react-multiple-carousel__arrow--left{left:4%}}@media only screen and (min-width:769px) and (max-width:1024px){.custDeviceImage img{width:268px}}@media (min-width:1025px){.custDeviceImage img{width:312px}.deviceCustContainer .react-multiple-carousel__arrow--right{right:5%}.deviceCustContainer .react-multiple-carousel__arrow--left{left:5%}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeviceCards.js","sources":["../../../../../src/components/DeviceCardWrapper/DeviceCards/DeviceCards.tsx"],"sourcesContent":["import React, { FC, useEffect, useState } from 'react';\nimport './DeviceCards.css';\nimport DevicePriceWrapper from '../DevicePriceWrapper/DevicePriceWrapper';\nimport { fetchCustomPageDeviceGroup } from '../../../services/DeviceService';\nimport { getDeviceSlugPath } from '../../../utils/DeviceUtils';\nimport { getElementMaximumHeight } from '../../../utils/utils';\n\nconst DeviceCards: FC<any> = ({\n cardData,\n cardIndex,\n content,\n sbDeviceConstantKeys,\n}): any => {\n const [hardWareObj, setHardWareObj] = useState<any>();\n const [smartbadgeWidth, smartsetbadgeWidth] = useState<number>(0);\n const [cardLink, setCardLink] = useState('');\n // to get the width of the first badge\n const getBadgeWidth = () => {\n const ele = document.getElementById(`custDeviceBadge${cardIndex}0`);\n ele?.clientWidth && smartsetbadgeWidth(ele?.clientWidth);\n };\n useEffect(() => {\n const fetchData = async () => {\n let dataresp: any = await fetchCustomPageDeviceGroup(\n cardData,\n content?.pageType\n );\n setHardWareObj(dataresp);\n };\n fetchData();\n }, []);\n\n useEffect(() => {\n setCardLink(getDeviceSlugPath(cardData?.m_p_id, cardData));\n const badge = document.getElementById(`custDeviceBadge${cardIndex}0`);\n if (badge && badge?.clientHeight >= 40) {\n badge.style.top = '-36px';\n }\n findHeight();\n window.addEventListener('resize', findHeight);\n getBadgeWidth();\n }, [hardWareObj]);\n\n const findHeight = () => {\n getElementMaximumHeight(\n 'custDeviceHeading',\n content?.devicePreviewCardList?.length\n );\n getElementMaximumHeight(`custDeviceBadge${cardIndex}`, 2);\n };\n return (\n <>\n <div className='custDeviceCardPreview'>\n <a href={cardLink} className='custDeviceCardWrapper'>\n <div className='position-relative'>\n {/* smartUpgrade badge */}\n {hardWareObj?.smartUpgradeInstallments?.discount?.value && (\n <div\n id={`custDeviceBadge${cardIndex}0`}\n className={`d-flex custDeviceFirstBadge custDeviceWithoutDiscount`}\n >\n <div>{sbDeviceConstantKeys?.dp_smartupgrade}</div>\n </div>\n )}\n {/* promo badge */}\n {hardWareObj?.dPSubsidyPromotion?.discountedRatePlan && (\n // badge\n <div\n id={`custDeviceBadge${cardIndex}1`}\n className={`d-flex custDeviceFirstBadge custDeviceWithDiscount ${\n hardWareObj?.smartUpgradeInstallments?.discount?.value &&\n 'custDeviceSecondBadge'\n }\n }`}\n style={{\n left: `${smartbadgeWidth ? smartbadgeWidth + 33 : 24}px`,\n }}\n >\n <div\n className={`d-flex align-items-center custDeviceBadgeIcon`}\n >\n <img\n src={sbDeviceConstantKeys?.dp_promo_icon}\n width={24}\n height={24}\n alt='5G-icon'\n />\n </div>\n <div>\n {`-${+hardWareObj?.dPSubsidyPromotion?.discount?.value} ${\n sbDeviceConstantKeys?.dd_discount\n }`}\n </div>\n </div>\n )}\n <div className='custDeviceCards'>\n <div\n className='d-flex custDeviceHeading'\n id={`custDeviceHeading${cardIndex}`}\n >\n <div className='custDeviceTitle'>\n <div>{cardData?.displayText}</div>\n <div className='custDeviceSubTitle'></div>\n </div>\n <div className='d-flex align-items-center ms-auto mb-auto'>\n <img\n src={content?.fiveGIcon?.filename}\n width={24}\n height={24}\n />\n </div>\n </div>\n <div className='custDeviceLine'></div>\n <div className='custDeviceImage'>\n <img src={`${cardData?.images?.[0]?.filename}/m/`} />\n </div>\n <div className='custDevicePriceContainer'>\n <DevicePriceWrapper\n getDeviceID={cardData?.m_p_id}\n priceContent={hardWareObj}\n cardIndex={cardIndex}\n totalLength={content?.devicePreviewCardList?.length}\n proceedButtonIcon={content?.proceedButtonIcon?.filename}\n sbDeviceConstantKeys={sbDeviceConstantKeys}\n />\n </div>\n </div>\n </div>\n </a>\n </div>\n </>\n );\n};\n\nexport default DeviceCards;\n"],"names":["DeviceCards","cardData","cardIndex","content","sbDeviceConstantKeys","hardWareObj","setHardWareObj","useState","smartbadgeWidth","smartsetbadgeWidth","cardLink","setCardLink","useEffect","__awaiter","dataresp","fetchCustomPageDeviceGroup","pageType","getDeviceSlugPath","m_p_id","badge","document","getElementById","clientHeight","style","top","findHeight","window","addEventListener","ele","clientWidth","getBadgeWidth","getElementMaximumHeight","_a","devicePreviewCardList","length","React","createElement","Fragment","className","href","_b","smartUpgradeInstallments","discount","value","id","dp_smartupgrade","_c","dPSubsidyPromotion","discountedRatePlan","_e","_d","left","src","dp_promo_icon","width","height","alt","_g","_f","dd_discount","displayText","_h","fiveGIcon","filename","_j","images","DevicePriceWrapper","getDeviceID","priceContent","totalLength","_l","proceedButtonIcon","_m"],"mappings":"0XAOA,MAAMA,EAAuB,EAC3BC,WACAC,YACAC,UACAC,uDAEA,MAAOC,EAAaC,GAAkBC,KAC/BC,EAAiBC,GAAsBF,EAAiB,IACxDG,EAAUC,GAAeJ,EAAS,IAMzCK,EAAU,KACqBC,OAAA,OAAA,OAAA,EAAA,YAC3B,IAAIC,QAAsBC,EACxBd,EACAE,aAAO,EAAPA,EAASa,UAEXV,EAAeQ,EACjB,IAEC,IAEHF,EAAU,KACRD,EAAYM,EAAkBhB,aAAQ,EAARA,EAAUiB,OAAQjB,IAChD,MAAMkB,EAAQC,SAASC,eAAe,kBAAkBnB,MACpDiB,IAASA,aAAK,EAALA,EAAOG,eAAgB,KAClCH,EAAMI,MAAMC,IAAM,SAEpBC,IACAC,OAAOC,iBAAiB,SAAUF,GAtBd,MACpB,MAAMG,EAAMR,SAASC,eAAe,kBAAkBnB,OACtD0B,eAAAA,EAAKC,cAAepB,EAAmBmB,aAAG,EAAHA,EAAKC,cAqB5CC,IACC,CAACzB,IAEJ,MAAMoB,EAAa,WACjBM,EACE,oBAC8B,QAA9BC,EAAA7B,aAAO,EAAPA,EAAS8B,6BAAqB,IAAAD,OAAA,EAAAA,EAAEE,QAElCH,EAAwB,kBAAkB7B,IAAa,IAEzD,OACEiC,EAAAC,cAAAD,EAAAE,SAAA,KACEF,EAAAC,cAAA,MAAA,CAAKE,UAAU,yBACbH,EAAAC,cAAA,IAAA,CAAGG,KAAM7B,EAAU4B,UAAU,yBAC3BH,EAAAC,cAAA,MAAA,CAAKE,UAAU,sBAEmC,QAA/CE,EAAqC,QAArCR,EAAA3B,eAAAA,EAAaoC,gCAAwB,IAAAT,OAAA,EAAAA,EAAEU,gBAAQ,IAAAF,OAAA,EAAAA,EAAEG,QAChDR,EAAAC,cAAA,MAAA,CACEQ,GAAI,kBAAkB1C,KACtBoC,UAAW,yDAEXH,EAAAC,cAAA,MAAA,KAAMhC,aAAoB,EAApBA,EAAsByC,mBAIA,QAA/BC,EAAAzC,
|
|
1
|
+
{"version":3,"file":"DeviceCards.js","sources":["../../../../../src/components/DeviceCardWrapper/DeviceCards/DeviceCards.tsx"],"sourcesContent":["import React, { FC, useEffect, useState } from 'react';\nimport './DeviceCards.css';\nimport DevicePriceWrapper from '../DevicePriceWrapper/DevicePriceWrapper';\nimport { fetchCustomPageDeviceGroup } from '../../../services/DeviceService';\nimport { getDeviceSlugPath } from '../../../utils/DeviceUtils';\nimport { getElementMaximumHeight } from '../../../utils/utils';\n\nconst DeviceCards: FC<any> = ({\n cardData,\n cardIndex,\n content,\n sbDeviceConstantKeys,\n}): any => {\n const [hardWareObj, setHardWareObj] = useState<any>();\n const [smartbadgeWidth, smartsetbadgeWidth] = useState<number>(0);\n const [cardLink, setCardLink] = useState('');\n // to get the width of the first badge\n const getBadgeWidth = () => {\n const ele = document.getElementById(`custDeviceBadge${cardIndex}0`);\n ele?.clientWidth && smartsetbadgeWidth(ele?.clientWidth);\n };\n useEffect(() => {\n const fetchData = async () => {\n let dataresp: any = await fetchCustomPageDeviceGroup(\n cardData,\n content?.pageType\n );\n setHardWareObj(dataresp);\n };\n fetchData();\n }, []);\n\n useEffect(() => {\n setCardLink(getDeviceSlugPath(cardData?.m_p_id, cardData));\n const badge = document.getElementById(`custDeviceBadge${cardIndex}0`);\n if (badge && badge?.clientHeight >= 40) {\n badge.style.top = '-36px';\n }\n findHeight();\n window.addEventListener('resize', findHeight);\n getBadgeWidth();\n }, [hardWareObj]);\n\n const findHeight = () => {\n getElementMaximumHeight(\n 'custDeviceHeading',\n content?.devicePreviewCardList?.length\n );\n getElementMaximumHeight(`custDeviceBadge${cardIndex}`, 2);\n };\n return (\n <>\n <div className='custDeviceCardPreview'>\n <a href={cardLink} className='custDeviceCardWrapper'>\n <div className='position-relative'>\n {/* smartUpgrade badge */}\n {hardWareObj?.smartUpgradeInstallments?.discount?.value && (\n <div\n id={`custDeviceBadge${cardIndex}0`}\n className={`d-flex custDeviceFirstBadge custDeviceWithoutDiscount`}\n >\n <div>{sbDeviceConstantKeys?.dp_smartupgrade}</div>\n </div>\n )}\n {/* promo badge */}\n {hardWareObj?.dPSubsidyPromotion?.discountedRatePlan && (\n // badge\n <div\n id={`custDeviceBadge${cardIndex}1`}\n className={`d-flex custDeviceFirstBadge custDeviceWithDiscount ${\n hardWareObj?.smartUpgradeInstallments?.discount?.value &&\n 'custDeviceSecondBadge'\n }\n }`}\n style={{\n left: `${smartbadgeWidth ? smartbadgeWidth + 33 : 24}px`,\n }}\n >\n <div\n className={`d-flex align-items-center custDeviceBadgeIcon`}\n >\n <img\n src={sbDeviceConstantKeys?.dp_promo_icon}\n width={24}\n height={24}\n alt='5G-icon'\n />\n </div>\n <div>\n {`-${+hardWareObj?.dPSubsidyPromotion?.discount?.value} ${\n sbDeviceConstantKeys?.dd_discount\n }`}\n </div>\n </div>\n )}\n <div className='custDeviceCards'>\n <div\n className='d-flex custDeviceHeading'\n id={`custDeviceHeading${cardIndex}`}\n >\n <div className='custDeviceTitle'>\n <div>{cardData?.displayText}</div>\n <div className='custDeviceSubTitle'></div>\n </div>\n <div className='d-flex align-items-center ms-auto mb-auto'>\n <img\n src={content?.fiveGIcon?.filename}\n width={24}\n height={24}\n />\n </div>\n </div>\n <div className='custDeviceLine'></div>\n <div className='custDeviceImage'>\n <img src={`${cardData?.images?.[0]?.filename}/m/`} />\n </div>\n <div className='custDevicePriceContainer'>\n <DevicePriceWrapper\n getDeviceID={cardData?.m_p_id}\n priceContent={hardWareObj}\n cardIndex={cardIndex}\n totalLength={content?.devicePreviewCardList?.length}\n proceedButtonIcon={content?.proceedButtonIcon?.filename}\n sbDeviceConstantKeys={sbDeviceConstantKeys}\n />\n </div>\n </div>\n </div>\n </a>\n </div>\n </>\n );\n};\n\nexport default DeviceCards;\n"],"names":["DeviceCards","cardData","cardIndex","content","sbDeviceConstantKeys","hardWareObj","setHardWareObj","useState","smartbadgeWidth","smartsetbadgeWidth","cardLink","setCardLink","useEffect","__awaiter","dataresp","fetchCustomPageDeviceGroup","pageType","getDeviceSlugPath","m_p_id","badge","document","getElementById","clientHeight","style","top","findHeight","window","addEventListener","ele","clientWidth","getBadgeWidth","getElementMaximumHeight","_a","devicePreviewCardList","length","React","createElement","Fragment","className","href","_b","smartUpgradeInstallments","discount","value","id","dp_smartupgrade","_c","dPSubsidyPromotion","discountedRatePlan","_e","_d","left","src","dp_promo_icon","width","height","alt","_g","_f","dd_discount","displayText","_h","fiveGIcon","filename","_j","images","DevicePriceWrapper","getDeviceID","priceContent","totalLength","_l","proceedButtonIcon","_m"],"mappings":"0XAOA,MAAMA,EAAuB,EAC3BC,WACAC,YACAC,UACAC,uDAEA,MAAOC,EAAaC,GAAkBC,KAC/BC,EAAiBC,GAAsBF,EAAiB,IACxDG,EAAUC,GAAeJ,EAAS,IAMzCK,EAAU,KACqBC,OAAA,OAAA,OAAA,EAAA,YAC3B,IAAIC,QAAsBC,EACxBd,EACAE,aAAO,EAAPA,EAASa,UAEXV,EAAeQ,EACjB,IAEC,IAEHF,EAAU,KACRD,EAAYM,EAAkBhB,aAAQ,EAARA,EAAUiB,OAAQjB,IAChD,MAAMkB,EAAQC,SAASC,eAAe,kBAAkBnB,MACpDiB,IAASA,aAAK,EAALA,EAAOG,eAAgB,KAClCH,EAAMI,MAAMC,IAAM,SAEpBC,IACAC,OAAOC,iBAAiB,SAAUF,GAtBd,MACpB,MAAMG,EAAMR,SAASC,eAAe,kBAAkBnB,OACtD0B,eAAAA,EAAKC,cAAepB,EAAmBmB,aAAG,EAAHA,EAAKC,cAqB5CC,IACC,CAACzB,IAEJ,MAAMoB,EAAa,WACjBM,EACE,oBAC8B,QAA9BC,EAAA7B,aAAO,EAAPA,EAAS8B,6BAAqB,IAAAD,OAAA,EAAAA,EAAEE,QAElCH,EAAwB,kBAAkB7B,IAAa,IAEzD,OACEiC,EAAAC,cAAAD,EAAAE,SAAA,KACEF,EAAAC,cAAA,MAAA,CAAKE,UAAU,yBACbH,EAAAC,cAAA,IAAA,CAAGG,KAAM7B,EAAU4B,UAAU,yBAC3BH,EAAAC,cAAA,MAAA,CAAKE,UAAU,sBAEmC,QAA/CE,EAAqC,QAArCR,EAAA3B,eAAAA,EAAaoC,gCAAwB,IAAAT,OAAA,EAAAA,EAAEU,gBAAQ,IAAAF,OAAA,EAAAA,EAAEG,QAChDR,EAAAC,cAAA,MAAA,CACEQ,GAAI,kBAAkB1C,KACtBoC,UAAW,yDAEXH,EAAAC,cAAA,MAAA,KAAMhC,aAAoB,EAApBA,EAAsByC,mBAIA,QAA/BC,EAAAzC,aAAW,EAAXA,EAAa0C,0BAAkB,IAAAD,OAAA,EAAAA,EAAEE,qBAEhCb,EAAAC,cAAA,MAAA,CACEQ,GAAI,kBAAkB1C,KACtBoC,UAAW,uDACsC,QAA/CW,EAAqC,UAArC5C,aAAW,EAAXA,EAAaoC,gCAAwB,IAAAS,OAAA,EAAAA,EAAER,gBAAQ,IAAAO,OAAA,EAAAA,EAAEN,QACjD,uCAGFpB,MAAO,CACL4B,KAAM,GAAG3C,EAAkBA,EAAkB,GAAK,SAGpD2B,EAAAC,cAAA,MAAA,CACEE,UAAW,iDAEXH,EAAAC,cAAA,MAAA,CACEgB,IAAKhD,aAAoB,EAApBA,EAAsBiD,cAC3BC,MAAO,GACPC,OAAQ,GACRC,IAAI,aAGRrB,EAAAC,cAAA,MAAA,KACG,MAA8C,QAAzCqB,EAA+B,QAA/BC,EAAArD,aAAW,EAAXA,EAAa0C,0BAAkB,IAAAW,OAAA,EAAAA,EAAEhB,gBAAQ,IAAAe,OAAA,EAAAA,EAAEd,UAC/CvC,aAAoB,EAApBA,EAAsBuD,gBAK9BxB,EAAAC,cAAA,MAAA,CAAKE,UAAU,mBACbH,EAAAC,cAAA,MAAA,CACEE,UAAU,2BACVM,GAAI,oBAAoB1C,KAExBiC,EAAAC,cAAA,MAAA,CAAKE,UAAU,mBACbH,EAAAC,cAAA,MAAA,KAAMnC,eAAAA,EAAU2D,aAChBzB,EAAAC,cAAA,MAAA,CAAKE,UAAU,wBAEjBH,EAAAC,cAAA,MAAA,CAAKE,UAAU,6CACbH,EAAAC,cAAA,MAAA,CACEgB,IAAuB,QAAlBS,EAAA1D,aAAO,EAAPA,EAAS2D,iBAAS,IAAAD,OAAA,EAAAA,EAAEE,SACzBT,MAAO,GACPC,OAAQ,OAIdpB,EAAAC,cAAA,MAAA,CAAKE,UAAU,mBACfH,EAAAC,cAAA,MAAA,CAAKE,UAAU,mBACbH,EAAAC,cAAA,MAAA,CAAKgB,IAAK,qBAAGY,EAAA/D,aAAQ,EAARA,EAAUgE,6BAAS,yBAAIF,iBAEtC5B,EAAAC,cAAA,MAAA,CAAKE,UAAU,4BACbH,EAAAC,cAAC8B,EAAkB,CACjBC,YAAalE,aAAQ,EAARA,EAAUiB,OACvBkD,aAAc/D,EACdH,UAAWA,EACXmE,YAA2C,QAA9BC,EAAAnE,aAAO,EAAPA,EAAS8B,6BAAqB,IAAAqC,OAAA,EAAAA,EAAEpC,OAC7CqC,kBAA6C,QAA1BC,EAAArE,aAAO,EAAPA,EAASoE,yBAAiB,IAAAC,OAAA,EAAAA,EAAET,SAC/C3D,qBAAsBA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.custDevicePriceWrapper{border:1px solid #e6e3df;
|
|
1
|
+
.custDevicePriceWrapper{border-radius:8px;border:1px solid #e6e3df;color:#3d3935}.custDevicePriceAndButton{padding:8px 16px;align-items:center}.custDevicePriceAndButton .custDeviceDiscountedPrice{font-size:32px;line-height:40px;font-weight:700}.custDevicePriceAndButton .custDevicePromo{color:#2e6199}.custDevicePriceAndButton .custDeviceCurrency{font-size:14px;line-height:20px;font-weight:400}.custDevicePriceAndButton .custDeviceActualPrice{margin-left:8px;position:relative;display:inline-block;font-weight:700;font-size:20px;line-height:28px}.custDevicePriceAndButton .custDeviceActualPrice:after{content:"";position:absolute;right:-1px;left:-2px;top:50%;width:auto;border-bottom:2px solid #da291c;transform:rotate(-15deg)}.custDevicePriceAndButton .custDeviceDuration{font-size:14px;line-height:20px;font-weight:400}.custDevicePricebutton{cursor:pointer;width:44px;height:44px;background-color:#da291c;border-radius:24px;justify-content:center;padding:10px}.custDevicePriceLine{height:1px;background-color:#e6e3df;margin:0 16px}.custDeviceTotalPrice{padding:8px 16px;font-weight:400;font-size:14px;line-height:20px}.custDeviceTotalPrice .custDeviceTotalActual{margin-left:20px;position:relative;display:inline-block}.custDeviceTotalPrice .custDeviceTotalActual:after{content:"";position:absolute;right:-1px;left:-2px;top:50%;width:auto;border-bottom:2px solid #da291c;transform:rotate(-15deg)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.linetable-dotLoader-loaderParent{background-color:hsla(0,0%,100%,.8);
|
|
1
|
+
.linetable-dotLoader-loaderParent{width:100%;position:fixed;z-index:3;top:0;left:0;bottom:0;right:0;background-color:hsla(0,0%,100%,.8);display:flex;flex-direction:column}.linetable-dotLoader-dotClass{justify-content:center;display:flex;z-index:1}.linetable-dotLoader-dotContent{display:flex;justify-content:center;animation:contentplay 2s linear 0s infinite}@keyframes dotplay{0%,20%{transform:translateY(0)}10%{transform:translateY(-20px)}}.linetable-dotLoader-dots:first-child{animation-delay:.4s}.linetable-dotLoader-dots:nth-child(2){animation-delay:.8s}.linetable-dotLoader-dots:nth-child(3){animation-delay:1.2s}.linetable-dotLoader-dots:nth-child(4){animation-delay:1.6s}.linetable-dotLoader-dots{margin:5px 2px;width:12px;height:12px;border-radius:50%;background:linear-gradient(180deg,#e2271e,#ef7c3c);animation:dotplay 2s linear 0s infinite}@keyframes contentplay{0%{opacity:.2}30%{opacity:1}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.linetable-staticPrice-priceWrapper{border:1px solid #e6e3df;
|
|
1
|
+
.linetable-staticPrice-priceWrapper{border-radius:8px;border:1px solid #e6e3df;margin:16px 16px 0;padding:8px 16px;font-size:14px;font-weight:400;line-height:20px}.linetable-staticPrice-discountPriceSection{color:#2e6199;margin-right:8px}.linetable-staticPrice-discountedPrice{font-size:32px;font-weight:700;line-height:40px}.linetable-staticPrice-basePrice{font-size:20px;font-weight:700;line-height:28px;position:relative;display:inline-block}.linetable-staticPrice-priceStrikeout:after{content:"";position:absolute;right:-1px;left:-2px;top:50%;width:100%;border-bottom:2px solid #da291c;transform:rotate(-18.22deg)}.linetable-staticPrice-noDiscountPrice{font-size:32px;font-weight:700;line-height:40px}.linetable-staticPrice-contractDescription{margin-top:6px}.linetable-staticPrice-addToCart{margin-top:8px;width:100%;padding:10px 24px;border-radius:25px;background:#da291c;color:#fff;font-size:16px;font-weight:700;line-height:24px;border:0}.linetable-staticPrice-productDetails-priceWrapper{display:flex;justify-content:space-between}@media (min-width:425px){.linetable-staticPrice-productDetails-addToCart{min-width:120px}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.linetable-falconAccordion-section{text-align:center}.linetable-falconAccordion-description{color:#3d3935;padding-bottom:32px;text-align:center}.linetable-falconAccordion-description p a{color:#da291c}.linetable-falconAccordion-container{
|
|
1
|
+
.linetable-falconAccordion-section{text-align:center}.linetable-falconAccordion-description{color:#3d3935;padding-bottom:32px;text-align:center}.linetable-falconAccordion-description p a{color:#da291c}.linetable-falconAccordion-container{box-shadow:0 2px 4px rgba(87,84,82,.2);border-radius:8px;overflow:hidden;padding:0}.linetable-falconAccordion-current-item{overflow:hidden}.linetable-falconAccordion-current-item:first-child{border-radius:8px 8px 0 0;overflow:hidden}.linetable-falconAccordion-current-item:last-child{border-bottom:none;border-radius:0 0 8px 8px;overflow:hidden}.linetable-falconAccordion-item:hover{background-color:#f7f6f5}.linetable-falconAccordion-wrapper{margin-left:32px;margin-right:32px;border-bottom:1px solid #e6e3df}.linetable-falconAccordion-title{color:#3d3935;font-style:normal;font-weight:700;font-size:16px;line-height:24px;margin-right:28px;min-height:24px}.prod-card .accordion-flush .linetable-falconAccordion-item .accordion-button{padding:24px 0}.prod-card .accordion-body{padding:8px 0 32px;color:#3d3935;text-align:left;font-size:16px;line-height:24px}.prod-card .accordion-button:after{position:absolute;top:24px;right:0;background-image:url(/ecom-int/icons/falcon-arrow-down.svg)!important;background-size:24px 24px!important;background-size:unset}.prod-card .accordion-button:not(.collapsed):after{background-image:url(/ecom-int/icons/falcon-arrow-up.svg)!important}.linetable-falconAccordion-disabled{opacity:.8;pointer-events:none;background-color:#e6e3df}@media (max-width:767px){.prod-card .description{padding-bottom:24px}.linetable-falconAccordion-item:hover{background-color:none}.linetable-falconAccordion-wrapper{margin-left:16px;margin-right:16px}.prod-card .accordion-flush .linetable-falconAccordion-item .accordion-button{padding:16px 0}.prod-card .accordion-body{padding-bottom:24px}.prod-card .accordion-button:after{top:16px}}@media (max-width:1023px){.linetable-falconAccordion-wrapper{margin-left:24px;margin-right:24px}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.linetable-falconAccordion-section{text-align:center}.linetable-falconAccordion-description{color:#3d3935;padding-bottom:32px;text-align:center}.linetable-falconAccordion-description p a{color:#da291c}.linetable-falconAccordion-container{
|
|
1
|
+
.linetable-falconAccordion-section{text-align:center}.linetable-falconAccordion-description{color:#3d3935;padding-bottom:32px;text-align:center}.linetable-falconAccordion-description p a{color:#da291c}.linetable-falconAccordion-container{box-shadow:0 2px 4px rgba(87,84,82,.2);border-radius:8px;overflow:hidden;padding:0}.linetable-falconAccordion-current-item{overflow:hidden}.linetable-falconAccordion-current-item:first-child{border-radius:8px 8px 0 0;overflow:hidden}.linetable-falconAccordion-current-item:last-child{border-bottom:none;border-radius:0 0 8px 8px;overflow:hidden}.linetable-falconAccordion-item:hover{background-color:#f7f6f5}.linetable-falconAccordion-wrapper{margin-left:32px;margin-right:32px;border-bottom:1px solid #e6e3df}.linetable-falconAccordion-title{color:#3d3935;font-style:normal;font-weight:700;font-size:16px;line-height:24px;margin-right:28px;min-height:24px}.prod-card .accordion-flush .linetable-falconAccordion-item .accordion-button{padding:24px 0}.prod-card .accordion-body{padding:8px 0 32px;color:#3d3935;text-align:left;font-size:16px;line-height:24px}.prod-card .accordion-button:after{position:absolute;top:24px;right:0;background-image:url(/ecom-int/icons/falcon-arrow-down.svg)!important;background-size:24px 24px!important;background-size:unset}.prod-card .accordion-button:not(.collapsed):after{background-image:url(/ecom-int/icons/falcon-arrow-up.svg)!important}.linetable-falconAccordion-disabled{opacity:.8;pointer-events:none;background-color:#e6e3df}@media (max-width:767px){.prod-card .description{padding-bottom:24px}.linetable-falconAccordion-item:hover{background-color:none}.linetable-falconAccordion-wrapper{margin-left:16px;margin-right:16px}.prod-card .accordion-flush .linetable-falconAccordion-item .accordion-button{padding:16px 0}.prod-card .accordion-body{padding-bottom:24px}.prod-card .accordion-button:after{top:16px}}@media (max-width:1023px){.linetable-falconAccordion-wrapper{margin-left:24px;margin-right:24px}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.card_-EE6p.sr-card_oq1wG{
|
|
1
|
+
.card_-EE6p.sr-card_oq1wG{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}.card_-EE6p.border-top_Dgrd-{border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -2px 20px 0 rgba(61,57,53,.2);border:none}@media (min-width:768px){.sr-desk-card_Z6ndX{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (max-width:767px){.sr-mob-card_0KrUA{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}@media (min-width:1024px){.sr-md-card_lmOxK{border-radius:8px;box-shadow:0 2px 4px 0 rgba(87,84,82,.2);border:none;background-color:#fff;position:relative;display:flex;flex-direction:column}}.button_XUxAi{background:#da291c;border:none;border-radius:28px;color:#fff;font-weight:700;overflow:visible;padding:14px 24px}.button_XUxAi:focus{box-shadow:none;color:#fff!important}.button_XUxAi:hover{color:#fff!important;background-color:#961c13}.button_XUxAi:active{color:#fff!important;background-color:#c7355f}.button_XUxAi:disabled{background-color:#e6e3df;color:#b3aeaa;cursor:default}.button_XUxAi .icon_cEQvv{pointer-events:none;mask-size:cover;height:24px;width:24px;min-width:24px;display:inline-block;background-color:currentColor;vertical-align:middle}.button_XUxAi.Secondary-V4_tv3y7{border:none;background-color:transparent;color:#da291c}.button_XUxAi.Secondary-V4_tv3y7 .icon_cEQvv{background-color:currentColor}.button_XUxAi.Secondary-V4_tv3y7:hover{color:#961c13!important}.button_XUxAi.Secondary-V4_tv3y7:active{color:#c7355f!important}.button_XUxAi.Secondary-V4_tv3y7:focus{color:#da291c!important}.button_XUxAi.Secondary-V4_tv3y7:disabled{color:#b3aeaa;cursor:default}.button_XUxAi.Secondary-V1_L58eT{background-color:transparent;color:#da291c}.button_XUxAi.Secondary-V1_L58eT .icon_cEQvv{background-color:currentColor}.button_XUxAi.Secondary-V1_L58eT:hover{color:#961c13!important}.button_XUxAi.Secondary-V1_L58eT:active{color:#c7355f!important}.button_XUxAi.Secondary-V1_L58eT:focus{color:#da291c!important}.button_XUxAi.Secondary-V1_L58eT:disabled{color:#b3aeaa;cursor:default}.button_XUxAi.Secondary-V1_L58eT{border:2px solid;padding:12px 24px}@media (max-width:767px){.button_XUxAi{padding:10px 24px}.button_XUxAi.Secondary-V1_L58eT{background-color:transparent;color:#da291c}.button_XUxAi.Secondary-V1_L58eT .icon_cEQvv{background-color:currentColor}.button_XUxAi.Secondary-V1_L58eT:hover{color:#961c13!important}.button_XUxAi.Secondary-V1_L58eT:active{color:#c7355f!important}.button_XUxAi.Secondary-V1_L58eT:focus{color:#da291c!important}.button_XUxAi.Secondary-V1_L58eT:disabled{color:#b3aeaa;cursor:default}.button_XUxAi.Secondary-V1_L58eT{border:2px solid;padding:8px 24px}}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import './FalconButtonV2.css';
|
|
2
1
|
import{__rest as t}from"../../_virtual/_tslib.js";import e from"react";import n from"./FalconButtonV2.module.scss.js";import{getSBAssetUrl as l}from"../../utils/utils.js";import{Spinner as a}from"react-bootstrap";const o=({path:t,style:l,className:a})=>e.createElement("span",{className:`${n.icon} ${a}`,style:Object.assign({maskImage:`url(${t})`,WebkitMaskImage:`url(${t})`},l)}),s=s=>{var i,c,r,m,{content:u,className:d,icon:b,iconClass:f,isLoading:p,wafIdentifier:v}=s,g=t(s,["content","className","icon","iconClass","isLoading","wafIdentifier"]);let j,E=(null===(i=null==u?void 0:u.buttonIcon)||void 0===i?void 0:i.filename)&&e.createElement(o,{path:l(v,null===(c=null==u?void 0:u.buttonIcon)||void 0===c?void 0:c.filename),className:f});!E&&b&&(E=e.createElement(o,{path:b,style:{height:"24px",width:"24px"}}));const N=`${n.button} ${n[null==u?void 0:u.buttonType]} btn ${d} }`,h=Object.assign(Object.assign({},g),{className:N}),$="left"===(null==u?void 0:u.buttonAlignment)?e.createElement("span",{className:"d-flex gap-2 justify-content-center"},E,null==u?void 0:u.buttonLabel):e.createElement("span",{className:"d-flex gap-2 justify-content-center"},null==u?void 0:u.buttonLabel,E);return j=(null===(r=null==u?void 0:u.buttonLink)||void 0===r?void 0:r.url)?e.createElement("a",Object.assign({href:null===(m=null==u?void 0:u.buttonLink)||void 0===m?void 0:m.url},h),$):e.createElement("button",Object.assign({},h),p?e.createElement(a,{animation:"border",size:"sm"}):$),j};export{s as default};
|
|
3
2
|
//# sourceMappingURL=FalconButtonV2.js.map
|