@sunrise-upc/mobile-prod-card 9.1.13 → 9.1.14-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. package/README.md +41 -41
  2. package/dist/cjs/Analytics/AnalyticsConstants.d.ts +90 -90
  3. package/dist/cjs/Analytics/items.d.ts +32 -32
  4. package/dist/cjs/components/Accessories/Accessory-card/AccessoryCard.d.ts +10 -10
  5. package/dist/cjs/components/Accessories/Accessory-card/AccessoryErrorModal.d.ts +18 -18
  6. package/dist/cjs/components/Accessories/AccessoryPreviewCardLoader/AccessoryPreviewCardLoader.d.ts +3 -3
  7. package/dist/cjs/components/Accessories/AccessoryPreviewCardSkeletonBody/AccessoryPreviewCardSkeletonBody.d.ts +3 -3
  8. package/dist/cjs/components/Accessories/DeviceCarouselComponent.d.ts +3 -3
  9. package/dist/cjs/components/Accessories/MultiItemAccessories/MultiItemAccessoriesPage.d.ts +5 -5
  10. package/dist/cjs/components/Accessories/MultiItemAccessories/MultiItemAccessoriesSchema.d.ts +42 -42
  11. package/dist/cjs/components/Accessories/PaymentTypeTabs/PaymentTypeTabs.d.ts +14 -14
  12. package/dist/cjs/components/Accessories/ProgressionBar/progressionBar.d.ts +14 -14
  13. package/dist/cjs/components/Accessories/index.d.ts +1 -1
  14. package/dist/cjs/components/Accessories/multiItemAccessoryStore/MultiAccessoryProvider.d.ts +19 -19
  15. package/dist/cjs/components/Accessories/multiItemAccessoryStore/types.d.ts +72 -72
  16. package/dist/cjs/components/Accessories/multiItemAccessoryStore/useMultiAccessoryActions.d.ts +15 -15
  17. package/dist/cjs/components/Accessories/multiItemAccessoryStore/useMultiAccessoryContext.d.ts +32 -32
  18. package/dist/cjs/components/Accessories/multiItemAccessoryStore/useMultiAccessoryUpdateCartActions.d.ts +11 -11
  19. package/dist/cjs/components/BenefitWrapper/BenefitValidate.d.ts +3 -3
  20. package/dist/cjs/components/BenefitWrapper/BenefitWrapper.d.ts +3 -3
  21. package/dist/cjs/components/BenefitWrapper/Benefits.d.ts +1 -1
  22. package/dist/cjs/components/BenefitWrapper/BenefitsValidateWrapper.d.ts +3 -3
  23. package/dist/cjs/components/BenefitWrapper/index.d.ts +1 -1
  24. package/dist/cjs/components/Breadcrumb/Breadcrumb.d.ts +3 -3
  25. package/dist/cjs/components/Breadcrumb/index.d.ts +1 -1
  26. package/dist/cjs/components/Breadcrumb/useScrollCheck.d.ts +4 -4
  27. package/dist/cjs/components/CardComp/Card.d.ts +15 -15
  28. package/dist/cjs/components/CardComp/index.d.ts +1 -1
  29. package/dist/cjs/components/CardEntitlement/CardEntitlement.d.ts +13 -13
  30. package/dist/cjs/components/CardEntitlement/index.d.ts +1 -1
  31. package/dist/cjs/components/CarouselComp/CarouselComp.d.ts +3 -3
  32. package/dist/cjs/components/CarouselComp/index.d.ts +1 -1
  33. package/dist/cjs/components/CountryOverlays/CountryOverlays.d.ts +11 -11
  34. package/dist/cjs/components/CountryOverlays/OverlayModal.d.ts +12 -12
  35. package/dist/cjs/components/Dotloader/Dotloader.d.ts +7 -7
  36. package/dist/cjs/components/DynamicPriceComp/DynamicPrice.d.ts +9 -9
  37. package/dist/cjs/components/FalconAccordionList/FalconAccordion.d.ts +13 -13
  38. package/dist/cjs/components/FalconAccordionList/FalconAccordionList.d.ts +13 -13
  39. package/dist/cjs/components/FalconAccordionList/index.d.ts +1 -1
  40. package/dist/cjs/components/FalconButtonV2/FalconButtonV2.d.ts +3 -3
  41. package/dist/cjs/components/FalconDescription/FalconDescription.d.ts +11 -11
  42. package/dist/cjs/components/FalconMessage/FalconMessage.d.ts +12 -12
  43. package/dist/cjs/components/FalconTitle/FalconTitle.d.ts +11 -11
  44. package/dist/cjs/components/HeroLogin/HeroLogin.d.ts +3 -3
  45. package/dist/cjs/components/HeroLogin/index.d.ts +1 -1
  46. package/dist/cjs/components/LineCheckV3/APIResourceConstants.d.ts +9 -9
  47. package/dist/cjs/components/LineCheckV3/AutoComplete.d.ts +6 -6
  48. package/dist/cjs/components/LineCheckV3/GenericModal.d.ts +18 -18
  49. package/dist/cjs/components/LineCheckV3/IndividualLineCheck.d.ts +2 -2
  50. package/dist/cjs/components/LineCheckV3/LineCheckInput.d.ts +3 -3
  51. package/dist/cjs/components/LineCheckV3/LineCheckOverlay.d.ts +13 -13
  52. package/dist/cjs/components/LineCheckV3/LineCheckV3.d.ts +3 -3
  53. package/dist/cjs/components/LineCheckV3/LinecheckModal.d.ts +3 -3
  54. package/dist/cjs/components/LineCheckV3/LinecheckService.d.ts +10 -10
  55. package/dist/cjs/components/LineCheckV3/Success.d.ts +17 -17
  56. package/dist/cjs/components/LineCheckV3/api-constants.d.ts +1 -1
  57. package/dist/cjs/components/LineCheckV3/index.d.ts +1 -1
  58. package/dist/cjs/components/NewLineCheck/AdvanceSearch.d.ts +3 -3
  59. package/dist/cjs/components/NewLineCheck/CheckCoverage.d.ts +3 -3
  60. package/dist/cjs/components/NewLineCheck/CoverageCheckModal.d.ts +3 -3
  61. package/dist/cjs/components/NewLineCheck/CoverageCheckUtils.d.ts +16 -16
  62. package/dist/cjs/components/NewLineCheck/CovercheckWrapper.d.ts +3 -3
  63. package/dist/cjs/components/NewLineCheck/GenericModal.d.ts +19 -19
  64. package/dist/cjs/components/NewLineCheck/LocationFinder.d.ts +8 -8
  65. package/dist/cjs/components/NewLineCheck/NewLCInput.d.ts +3 -3
  66. package/dist/cjs/components/NewLineCheck/SuccessCoverage.d.ts +3 -3
  67. package/dist/cjs/components/NewLineCheck/index.d.ts +2 -2
  68. package/dist/cjs/components/NotificationToast/NotificationToast.d.ts +10 -10
  69. package/dist/cjs/components/PretoPost/PreToPostSubsPopup.d.ts +3 -3
  70. package/dist/cjs/components/PretoPost/index.d.ts +1 -1
  71. package/dist/cjs/components/ProductDetailsComp/ProductDetails.d.ts +10 -10
  72. package/dist/cjs/components/ProductDetailsComp/index.d.ts +1 -1
  73. package/dist/cjs/components/ProductDetailsModal/ProductDetailsModal.d.ts +15 -15
  74. package/dist/cjs/components/ProductDetailsModal/index.d.ts +1 -1
  75. package/dist/cjs/components/ProductDetailsV3/BenefitsSectionV3.d.ts +3 -3
  76. package/dist/cjs/components/ProductDetailsV3/CashBackV2/CashbackV2.d.ts +3 -3
  77. package/dist/cjs/components/ProductDetailsV3/ChooseGiftV2.d.ts +3 -3
  78. package/dist/cjs/components/ProductDetailsV3/GiftConfigV2.d.ts +3 -3
  79. package/dist/cjs/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsModal.d.ts +14 -14
  80. package/dist/cjs/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsV2.d.ts +13 -13
  81. package/dist/cjs/components/ProductDetailsV3/ProductEntitlement.d.ts +3 -3
  82. package/dist/cjs/components/ProductDetailsV3/ProductPriceV3.d.ts +3 -3
  83. package/dist/cjs/components/ProductDetailsV3/ReactInputSelectV2/ReactInputSelectV2.d.ts +3 -3
  84. package/dist/cjs/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.d.ts +3 -3
  85. package/dist/cjs/components/ProductDetailsV3/tv/TVChannelOfferV2.d.ts +3 -3
  86. package/dist/cjs/components/ProductTeaser/ProductTeaser.d.ts +50 -50
  87. package/dist/cjs/components/ProductTeaser/ProductTeaserSlides.d.ts +15 -15
  88. package/dist/cjs/components/ProductTeaser/index.d.ts +1 -1
  89. package/dist/cjs/components/ProgressionBar/ProgressionBar.d.ts +11 -11
  90. package/dist/cjs/components/ProgressionBar/index.d.ts +1 -1
  91. package/dist/cjs/components/ReactInputSelect/ReactInputSelect.d.ts +3 -3
  92. package/dist/cjs/components/RecommendedOptions/RecommendedOptions.d.ts +10 -10
  93. package/dist/cjs/components/RecommendedOptions/RecommendedOptionsUtils.d.ts +14 -14
  94. package/dist/cjs/components/RecommendedOptions/ServiceOption/ServiceOptionCard/ItemsCounter.d.ts +3 -3
  95. package/dist/cjs/components/RecommendedOptions/ServiceOption/ServiceOptionCard/ServiceDetailSection.d.ts +20 -20
  96. package/dist/cjs/components/RecommendedOptions/ServiceOption/ServiceOptionCard/ServiceOptionCard.d.ts +17 -17
  97. package/dist/cjs/components/RecommendedOptions/ServiceOption/ServiceOptionLoader.d.ts +3 -3
  98. package/dist/cjs/components/RecommendedOptions/ServiceOption/ServiceOptionPrice/ServiceOptionPrice.d.ts +11 -11
  99. package/dist/cjs/components/RecommendedOptions/index.d.ts +1 -1
  100. package/dist/cjs/components/RecommendedOptions/types.d.ts +104 -104
  101. package/dist/cjs/components/ResponsiveRow/index.d.ts +1 -1
  102. package/dist/cjs/components/ResponsiveRow/row.d.ts +8 -8
  103. package/dist/cjs/components/StaticLineTable/CheckoutButton.d.ts +4 -4
  104. package/dist/cjs/components/StaticLineTable/DynamicPriceSection.d.ts +4 -4
  105. package/dist/cjs/components/StaticLineTable/ExsistingSubscriptionCards.d.ts +11 -11
  106. package/dist/cjs/components/StaticLineTable/ExsistingSubscriptionModal.d.ts +8 -8
  107. package/dist/cjs/components/StaticLineTable/OttServiceOptions/OttServiceOptionsLoader/OttServiceOptionsLoader.d.ts +2 -2
  108. package/dist/cjs/components/StaticLineTable/OttServiceOptions/OttServiceOptionsModal.d.ts +15 -15
  109. package/dist/cjs/components/StaticLineTable/OttServiceOptions/OttServiceOptionsPopup.d.ts +3 -3
  110. package/dist/cjs/components/StaticLineTable/OttServiceOptions/OttServiceOptionsSmallPopup.d.ts +18 -18
  111. package/dist/cjs/components/StaticLineTable/Product.utils.d.ts +15 -15
  112. package/dist/cjs/components/StaticLineTable/StaticBenefit.d.ts +4 -4
  113. package/dist/cjs/components/StaticLineTable/StaticExclusiveBenefit.d.ts +4 -4
  114. package/dist/cjs/components/StaticLineTable/StaticLineTable.d.ts +4 -4
  115. package/dist/cjs/components/StaticLineTable/StaticLineTableStore/StaticLineTableProvider.d.ts +21 -21
  116. package/dist/cjs/components/StaticLineTable/StaticProduct.d.ts +4 -4
  117. package/dist/cjs/components/StaticLineTable/StaticProductContainer.d.ts +4 -4
  118. package/dist/cjs/components/StaticLineTable/StaticProductDatatypes.d.ts +143 -143
  119. package/dist/cjs/components/StaticLineTable/StaticProductDetails.d.ts +4 -4
  120. package/dist/cjs/components/StaticLineTable/StaticProductDetailsModal.d.ts +14 -14
  121. package/dist/cjs/components/StaticLineTable/StaticProductEntitlement.d.ts +3 -3
  122. package/dist/cjs/components/StaticLineTable/TVChannelModal.d.ts +3 -3
  123. package/dist/cjs/components/StaticLineTable/TvOptionsContainer.d.ts +3 -3
  124. package/dist/cjs/components/StaticLineTable/WorldPassPopup.d.ts +9 -9
  125. package/dist/cjs/components/StaticLineTable/index.d.ts +1 -1
  126. package/dist/cjs/components/StaticPriceComp/StaticPriceComp.d.ts +9 -9
  127. package/dist/cjs/components/StickyBottomSheet/StickyBottomSheet.d.ts +6 -6
  128. package/dist/cjs/components/StickyBottomSheet/index.d.ts +1 -1
  129. package/dist/cjs/components/StickyProductAnchor/StickyProductAnchor.d.ts +3 -3
  130. package/dist/cjs/components/StickyProductAnchor/index.d.ts +1 -1
  131. package/dist/cjs/components/ToolTip/ToolTip.d.ts +3 -3
  132. package/dist/cjs/components/UltimateBundleLinetable/DpDetailsModal/DpDetailsModal.d.ts +3 -3
  133. package/dist/cjs/components/UltimateBundleLinetable/DpLinetableContainer.d.ts +3 -3
  134. package/dist/cjs/components/UltimateBundleLinetable/DpProduct.d.ts +3 -3
  135. package/dist/cjs/components/UltimateBundleLinetable/DpTabContainer.d.ts +3 -3
  136. package/dist/cjs/components/UltimateBundleLinetable/DpTableDeviceSection/DpTableDeviceSection.d.ts +3 -3
  137. package/dist/cjs/components/UltimateBundleLinetable/DpTableFlexSection/DpTableFlexSection.d.ts +3 -3
  138. package/dist/cjs/components/UltimateBundleLinetable/DpTableMobileSection/DpTableMobileSection.d.ts +3 -3
  139. package/dist/cjs/components/UltimateBundleLinetable/DpTableUtils.d.ts +45 -45
  140. package/dist/cjs/components/UltimateBundleLinetable/checkoutRedirectionPopup/checkoutRedirectionPopup.d.ts +13 -13
  141. package/dist/cjs/components/UltimateBundleLinetable/index.d.ts +1 -1
  142. package/dist/cjs/components/UserLoggedPricesToggle/UserLoggedPricesToggle.d.ts +9 -9
  143. package/dist/cjs/components/button/Button.d.ts +5 -5
  144. package/dist/cjs/components/button/Button.types.d.ts +11 -11
  145. package/dist/cjs/components/button/index.d.ts +1 -1
  146. package/dist/cjs/components/index.d.ts +23 -23
  147. package/dist/cjs/components/lineTable/BundleProductsV3.d.ts +3 -3
  148. package/dist/cjs/components/lineTable/LineTableV3.utils.d.ts +10 -10
  149. package/dist/cjs/components/lineTable/OrderButton.d.ts +3 -3
  150. package/dist/cjs/components/lineTable/ProductContainerV3.d.ts +4 -4
  151. package/dist/cjs/components/lineTable/ProductTableV3.d.ts +4 -4
  152. package/dist/cjs/components/lineTable/ProductV3.d.ts +2 -2
  153. package/dist/cjs/components/lineTable/index.d.ts +1 -1
  154. package/dist/cjs/components/lineTable/lineTable.types.d.ts +36 -36
  155. package/dist/cjs/components/login/Login.types.d.ts +71 -71
  156. package/dist/cjs/components/login/LoginModalV2.d.ts +4 -4
  157. package/dist/cjs/components/login/LoginV2.d.ts +4 -4
  158. package/dist/cjs/components/login/MfaPhase2/DepricatingChannels.d.ts +4 -4
  159. package/dist/cjs/components/login/MfaPhase2/NewNumber.d.ts +4 -4
  160. package/dist/cjs/components/login/MfaPhase2/OtpValidation.d.ts +4 -4
  161. package/dist/cjs/components/login/MfaPhase2/ResetPwdModal.d.ts +4 -4
  162. package/dist/cjs/components/login/index.d.ts +1 -1
  163. package/dist/cjs/components/richtext.d.ts +10 -10
  164. package/dist/cjs/components/sharedCarousel/CarouselComponent.d.ts +3 -3
  165. package/dist/cjs/components/skeletonLoader/Skeletonloader.d.ts +3 -3
  166. package/dist/cjs/components/spacer/spacer.d.ts +11 -11
  167. package/dist/cjs/components/types.d.ts +94 -94
  168. package/dist/cjs/index.d.ts +2 -2
  169. package/dist/cjs/index.js +1 -1
  170. package/dist/cjs/models/Analytics/items.d.ts +45 -45
  171. package/dist/cjs/services/ButtonService.d.ts +6 -6
  172. package/dist/cjs/services/LineTableBasicPropConfig.d.ts +29 -29
  173. package/dist/cjs/services/LineTableService.d.ts +13 -13
  174. package/dist/cjs/services/LinecheckBasicPropConfig.d.ts +12 -12
  175. package/dist/cjs/services/LoginBasicPropConfig.d.ts +16 -16
  176. package/dist/cjs/services/LoginServiceV2.d.ts +31 -31
  177. package/dist/cjs/services/MultiItemAccessories/multiItemAccessoryService.d.ts +8 -8
  178. package/dist/cjs/services/MultiItemAccessories/multiitemAccessoriesUpdateCartService.d.ts +8 -8
  179. package/dist/cjs/services/MultiItemAccessories/storyBlokService.d.ts +10 -10
  180. package/dist/cjs/services/ProductTeaserPropsConfig.d.ts +14 -14
  181. package/dist/cjs/services/ServiceOptionsPropConfig.d.ts +16 -16
  182. package/dist/cjs/services/StickyBottomSheetConfig.d.ts +14 -14
  183. package/dist/cjs/services/api-constants.d.ts +19 -19
  184. package/dist/cjs/services/index.d.ts +6 -6
  185. package/dist/cjs/utils/AnalyticsUtils.d.ts +42 -42
  186. package/dist/cjs/utils/constants.d.ts +98 -98
  187. package/dist/cjs/utils/data-source.d.ts +17 -17
  188. package/dist/cjs/utils/global.d.ts +7 -7
  189. package/dist/cjs/utils/store/card-context.d.ts +10 -10
  190. package/dist/cjs/utils/utils.d.ts +31 -31
  191. package/dist/esm/Analytics/AnalyticsConstants.d.ts +90 -90
  192. package/dist/esm/Analytics/items.d.ts +32 -32
  193. package/dist/esm/components/Accessories/Accessory-card/AccessoryCard.d.ts +10 -10
  194. package/dist/esm/components/Accessories/Accessory-card/AccessoryErrorModal.d.ts +18 -18
  195. package/dist/esm/components/Accessories/AccessoryPreviewCardLoader/AccessoryPreviewCardLoader.d.ts +3 -3
  196. package/dist/esm/components/Accessories/AccessoryPreviewCardSkeletonBody/AccessoryPreviewCardSkeletonBody.d.ts +3 -3
  197. package/dist/esm/components/Accessories/DeviceCarouselComponent.d.ts +3 -3
  198. package/dist/esm/components/Accessories/MultiItemAccessories/MultiItemAccessoriesPage.d.ts +5 -5
  199. package/dist/esm/components/Accessories/MultiItemAccessories/MultiItemAccessoriesSchema.d.ts +42 -42
  200. package/dist/esm/components/Accessories/PaymentTypeTabs/PaymentTypeTabs.d.ts +14 -14
  201. package/dist/esm/components/Accessories/ProgressionBar/progressionBar.d.ts +14 -14
  202. package/dist/esm/components/Accessories/index.d.ts +1 -1
  203. package/dist/esm/components/Accessories/multiItemAccessoryStore/MultiAccessoryProvider.d.ts +19 -19
  204. package/dist/esm/components/Accessories/multiItemAccessoryStore/types.d.ts +72 -72
  205. package/dist/esm/components/Accessories/multiItemAccessoryStore/useMultiAccessoryActions.d.ts +15 -15
  206. package/dist/esm/components/Accessories/multiItemAccessoryStore/useMultiAccessoryContext.d.ts +32 -32
  207. package/dist/esm/components/Accessories/multiItemAccessoryStore/useMultiAccessoryUpdateCartActions.d.ts +11 -11
  208. package/dist/esm/components/BenefitWrapper/BenefitValidate.d.ts +3 -3
  209. package/dist/esm/components/BenefitWrapper/BenefitWrapper.d.ts +3 -3
  210. package/dist/esm/components/BenefitWrapper/Benefits.d.ts +1 -1
  211. package/dist/esm/components/BenefitWrapper/BenefitsValidateWrapper.d.ts +3 -3
  212. package/dist/esm/components/BenefitWrapper/index.d.ts +1 -1
  213. package/dist/esm/components/Breadcrumb/Breadcrumb.d.ts +3 -3
  214. package/dist/esm/components/Breadcrumb/index.d.ts +1 -1
  215. package/dist/esm/components/Breadcrumb/useScrollCheck.d.ts +4 -4
  216. package/dist/esm/components/CardComp/Card.d.ts +15 -15
  217. package/dist/esm/components/CardComp/index.d.ts +1 -1
  218. package/dist/esm/components/CardEntitlement/CardEntitlement.d.ts +13 -13
  219. package/dist/esm/components/CardEntitlement/index.d.ts +1 -1
  220. package/dist/esm/components/CarouselComp/CarouselComp.d.ts +3 -3
  221. package/dist/esm/components/CarouselComp/index.d.ts +1 -1
  222. package/dist/esm/components/CountryOverlays/CountryOverlays.d.ts +11 -11
  223. package/dist/esm/components/CountryOverlays/OverlayModal.d.ts +12 -12
  224. package/dist/esm/components/Dotloader/Dotloader.d.ts +7 -7
  225. package/dist/esm/components/DynamicPriceComp/DynamicPrice.d.ts +9 -9
  226. package/dist/esm/components/FalconAccordionList/FalconAccordion.d.ts +13 -13
  227. package/dist/esm/components/FalconAccordionList/FalconAccordionList.d.ts +13 -13
  228. package/dist/esm/components/FalconAccordionList/index.d.ts +1 -1
  229. package/dist/esm/components/FalconButtonV2/FalconButtonV2.d.ts +3 -3
  230. package/dist/esm/components/FalconDescription/FalconDescription.d.ts +11 -11
  231. package/dist/esm/components/FalconMessage/FalconMessage.d.ts +12 -12
  232. package/dist/esm/components/FalconTitle/FalconTitle.d.ts +11 -11
  233. package/dist/esm/components/HeroLogin/HeroLogin.d.ts +3 -3
  234. package/dist/esm/components/HeroLogin/index.d.ts +1 -1
  235. package/dist/esm/components/LineCheckV3/APIResourceConstants.d.ts +9 -9
  236. package/dist/esm/components/LineCheckV3/AutoComplete.d.ts +6 -6
  237. package/dist/esm/components/LineCheckV3/GenericModal.d.ts +18 -18
  238. package/dist/esm/components/LineCheckV3/IndividualLineCheck.d.ts +2 -2
  239. package/dist/esm/components/LineCheckV3/LineCheckInput.d.ts +3 -3
  240. package/dist/esm/components/LineCheckV3/LineCheckOverlay.d.ts +13 -13
  241. package/dist/esm/components/LineCheckV3/LineCheckV3.d.ts +3 -3
  242. package/dist/esm/components/LineCheckV3/LinecheckModal.d.ts +3 -3
  243. package/dist/esm/components/LineCheckV3/LinecheckService.d.ts +10 -10
  244. package/dist/esm/components/LineCheckV3/Success.d.ts +17 -17
  245. package/dist/esm/components/LineCheckV3/api-constants.d.ts +1 -1
  246. package/dist/esm/components/LineCheckV3/index.d.ts +1 -1
  247. package/dist/esm/components/NewLineCheck/AdvanceSearch.d.ts +3 -3
  248. package/dist/esm/components/NewLineCheck/CheckCoverage.d.ts +3 -3
  249. package/dist/esm/components/NewLineCheck/CoverageCheckModal.d.ts +3 -3
  250. package/dist/esm/components/NewLineCheck/CoverageCheckUtils.d.ts +16 -16
  251. package/dist/esm/components/NewLineCheck/CovercheckWrapper.d.ts +3 -3
  252. package/dist/esm/components/NewLineCheck/GenericModal.d.ts +19 -19
  253. package/dist/esm/components/NewLineCheck/LocationFinder.d.ts +8 -8
  254. package/dist/esm/components/NewLineCheck/NewLCInput.d.ts +3 -3
  255. package/dist/esm/components/NewLineCheck/SuccessCoverage.d.ts +3 -3
  256. package/dist/esm/components/NewLineCheck/index.d.ts +2 -2
  257. package/dist/esm/components/NotificationToast/NotificationToast.d.ts +10 -10
  258. package/dist/esm/components/PretoPost/PreToPostSubsPopup.d.ts +3 -3
  259. package/dist/esm/components/PretoPost/index.d.ts +1 -1
  260. package/dist/esm/components/ProductDetailsComp/ProductDetails.d.ts +10 -10
  261. package/dist/esm/components/ProductDetailsComp/index.d.ts +1 -1
  262. package/dist/esm/components/ProductDetailsModal/ProductDetailsModal.d.ts +15 -15
  263. package/dist/esm/components/ProductDetailsModal/index.d.ts +1 -1
  264. package/dist/esm/components/ProductDetailsV3/BenefitsSectionV3.d.ts +3 -3
  265. package/dist/esm/components/ProductDetailsV3/CashBackV2/CashbackV2.d.ts +3 -3
  266. package/dist/esm/components/ProductDetailsV3/ChooseGiftV2.d.ts +3 -3
  267. package/dist/esm/components/ProductDetailsV3/GiftConfigV2.d.ts +3 -3
  268. package/dist/esm/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsModal.d.ts +14 -14
  269. package/dist/esm/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsV2.d.ts +13 -13
  270. package/dist/esm/components/ProductDetailsV3/ProductEntitlement.d.ts +3 -3
  271. package/dist/esm/components/ProductDetailsV3/ProductPriceV3.d.ts +3 -3
  272. package/dist/esm/components/ProductDetailsV3/ReactInputSelectV2/ReactInputSelectV2.d.ts +3 -3
  273. package/dist/esm/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.d.ts +3 -3
  274. package/dist/esm/components/ProductDetailsV3/tv/TVChannelOfferV2.d.ts +3 -3
  275. package/dist/esm/components/ProductTeaser/ProductTeaser.d.ts +50 -50
  276. package/dist/esm/components/ProductTeaser/ProductTeaserSlides.d.ts +15 -15
  277. package/dist/esm/components/ProductTeaser/index.d.ts +1 -1
  278. package/dist/esm/components/ProgressionBar/ProgressionBar.d.ts +11 -11
  279. package/dist/esm/components/ProgressionBar/index.d.ts +1 -1
  280. package/dist/esm/components/ReactInputSelect/ReactInputSelect.d.ts +3 -3
  281. package/dist/esm/components/RecommendedOptions/RecommendedOptions.d.ts +10 -10
  282. package/dist/esm/components/RecommendedOptions/RecommendedOptionsUtils.d.ts +14 -14
  283. package/dist/esm/components/RecommendedOptions/ServiceOption/ServiceOptionCard/ItemsCounter.d.ts +3 -3
  284. package/dist/esm/components/RecommendedOptions/ServiceOption/ServiceOptionCard/ServiceDetailSection.d.ts +20 -20
  285. package/dist/esm/components/RecommendedOptions/ServiceOption/ServiceOptionCard/ServiceOptionCard.d.ts +17 -17
  286. package/dist/esm/components/RecommendedOptions/ServiceOption/ServiceOptionLoader.d.ts +3 -3
  287. package/dist/esm/components/RecommendedOptions/ServiceOption/ServiceOptionPrice/ServiceOptionPrice.d.ts +11 -11
  288. package/dist/esm/components/RecommendedOptions/index.d.ts +1 -1
  289. package/dist/esm/components/RecommendedOptions/types.d.ts +104 -104
  290. package/dist/esm/components/ResponsiveRow/index.d.ts +1 -1
  291. package/dist/esm/components/ResponsiveRow/row.d.ts +8 -8
  292. package/dist/esm/components/StaticLineTable/CheckoutButton.d.ts +4 -4
  293. package/dist/esm/components/StaticLineTable/DynamicPriceSection.d.ts +4 -4
  294. package/dist/esm/components/StaticLineTable/ExsistingSubscriptionCards.d.ts +11 -11
  295. package/dist/esm/components/StaticLineTable/ExsistingSubscriptionModal.d.ts +8 -8
  296. package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsLoader/OttServiceOptionsLoader.d.ts +2 -2
  297. package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsModal.d.ts +15 -15
  298. package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsPopup.d.ts +3 -3
  299. package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsSmallPopup.d.ts +18 -18
  300. package/dist/esm/components/StaticLineTable/Product.utils.d.ts +15 -15
  301. package/dist/esm/components/StaticLineTable/StaticBenefit.d.ts +4 -4
  302. package/dist/esm/components/StaticLineTable/StaticExclusiveBenefit.d.ts +4 -4
  303. package/dist/esm/components/StaticLineTable/StaticLineTable.d.ts +4 -4
  304. package/dist/esm/components/StaticLineTable/StaticLineTableStore/StaticLineTableProvider.d.ts +21 -21
  305. package/dist/esm/components/StaticLineTable/StaticProduct.d.ts +4 -4
  306. package/dist/esm/components/StaticLineTable/StaticProductContainer.d.ts +4 -4
  307. package/dist/esm/components/StaticLineTable/StaticProductDatatypes.d.ts +143 -143
  308. package/dist/esm/components/StaticLineTable/StaticProductDetails.d.ts +4 -4
  309. package/dist/esm/components/StaticLineTable/StaticProductDetailsModal.d.ts +14 -14
  310. package/dist/esm/components/StaticLineTable/StaticProductEntitlement.d.ts +3 -3
  311. package/dist/esm/components/StaticLineTable/TVChannelModal.d.ts +3 -3
  312. package/dist/esm/components/StaticLineTable/TvOptionsContainer.d.ts +3 -3
  313. package/dist/esm/components/StaticLineTable/WorldPassPopup.d.ts +9 -9
  314. package/dist/esm/components/StaticLineTable/index.d.ts +1 -1
  315. package/dist/esm/components/StaticPriceComp/StaticPriceComp.d.ts +9 -9
  316. package/dist/esm/components/StickyBottomSheet/StickyBottomSheet.d.ts +6 -6
  317. package/dist/esm/components/StickyBottomSheet/index.d.ts +1 -1
  318. package/dist/esm/components/StickyProductAnchor/StickyProductAnchor.d.ts +3 -3
  319. package/dist/esm/components/StickyProductAnchor/index.d.ts +1 -1
  320. package/dist/esm/components/ToolTip/ToolTip.d.ts +3 -3
  321. package/dist/esm/components/UltimateBundleLinetable/DpDetailsModal/DpDetailsModal.d.ts +3 -3
  322. package/dist/esm/components/UltimateBundleLinetable/DpLinetableContainer.d.ts +3 -3
  323. package/dist/esm/components/UltimateBundleLinetable/DpProduct.d.ts +3 -3
  324. package/dist/esm/components/UltimateBundleLinetable/DpTabContainer.d.ts +3 -3
  325. package/dist/esm/components/UltimateBundleLinetable/DpTableDeviceSection/DpTableDeviceSection.d.ts +3 -3
  326. package/dist/esm/components/UltimateBundleLinetable/DpTableFlexSection/DpTableFlexSection.d.ts +3 -3
  327. package/dist/esm/components/UltimateBundleLinetable/DpTableMobileSection/DpTableMobileSection.d.ts +3 -3
  328. package/dist/esm/components/UltimateBundleLinetable/DpTableUtils.d.ts +45 -45
  329. package/dist/esm/components/UltimateBundleLinetable/checkoutRedirectionPopup/checkoutRedirectionPopup.d.ts +13 -13
  330. package/dist/esm/components/UltimateBundleLinetable/index.d.ts +1 -1
  331. package/dist/esm/components/UserLoggedPricesToggle/UserLoggedPricesToggle.d.ts +9 -9
  332. package/dist/esm/components/button/Button.d.ts +5 -5
  333. package/dist/esm/components/button/Button.types.d.ts +11 -11
  334. package/dist/esm/components/button/index.d.ts +1 -1
  335. package/dist/esm/components/index.d.ts +23 -23
  336. package/dist/esm/components/lineTable/BundleProductsV3.d.ts +3 -3
  337. package/dist/esm/components/lineTable/LineTableV3.utils.d.ts +10 -10
  338. package/dist/esm/components/lineTable/OrderButton.d.ts +3 -3
  339. package/dist/esm/components/lineTable/ProductContainerV3.d.ts +4 -4
  340. package/dist/esm/components/lineTable/ProductTableV3.d.ts +4 -4
  341. package/dist/esm/components/lineTable/ProductV3.d.ts +2 -2
  342. package/dist/esm/components/lineTable/index.d.ts +1 -1
  343. package/dist/esm/components/lineTable/lineTable.types.d.ts +36 -36
  344. package/dist/esm/components/login/Login.types.d.ts +71 -71
  345. package/dist/esm/components/login/LoginModalV2.d.ts +4 -4
  346. package/dist/esm/components/login/LoginV2.d.ts +4 -4
  347. package/dist/esm/components/login/MfaPhase2/DepricatingChannels.d.ts +4 -4
  348. package/dist/esm/components/login/MfaPhase2/NewNumber.d.ts +4 -4
  349. package/dist/esm/components/login/MfaPhase2/OtpValidation.d.ts +4 -4
  350. package/dist/esm/components/login/MfaPhase2/ResetPwdModal.d.ts +4 -4
  351. package/dist/esm/components/login/index.d.ts +1 -1
  352. package/dist/esm/components/richtext.d.ts +10 -10
  353. package/dist/esm/components/sharedCarousel/CarouselComponent.d.ts +3 -3
  354. package/dist/esm/components/skeletonLoader/Skeletonloader.d.ts +3 -3
  355. package/dist/esm/components/spacer/spacer.d.ts +11 -11
  356. package/dist/esm/components/types.d.ts +94 -94
  357. package/dist/esm/index.d.ts +2 -2
  358. package/dist/esm/index.js +1 -1
  359. package/dist/esm/models/Analytics/items.d.ts +45 -45
  360. package/dist/esm/services/ButtonService.d.ts +6 -6
  361. package/dist/esm/services/LineTableBasicPropConfig.d.ts +29 -29
  362. package/dist/esm/services/LineTableService.d.ts +13 -13
  363. package/dist/esm/services/LinecheckBasicPropConfig.d.ts +12 -12
  364. package/dist/esm/services/LoginBasicPropConfig.d.ts +16 -16
  365. package/dist/esm/services/LoginServiceV2.d.ts +31 -31
  366. package/dist/esm/services/MultiItemAccessories/multiItemAccessoryService.d.ts +8 -8
  367. package/dist/esm/services/MultiItemAccessories/multiitemAccessoriesUpdateCartService.d.ts +8 -8
  368. package/dist/esm/services/MultiItemAccessories/storyBlokService.d.ts +10 -10
  369. package/dist/esm/services/ProductTeaserPropsConfig.d.ts +14 -14
  370. package/dist/esm/services/ServiceOptionsPropConfig.d.ts +16 -16
  371. package/dist/esm/services/StickyBottomSheetConfig.d.ts +14 -14
  372. package/dist/esm/services/api-constants.d.ts +19 -19
  373. package/dist/esm/services/index.d.ts +6 -6
  374. package/dist/esm/utils/AnalyticsUtils.d.ts +42 -42
  375. package/dist/esm/utils/constants.d.ts +98 -98
  376. package/dist/esm/utils/data-source.d.ts +17 -17
  377. package/dist/esm/utils/global.d.ts +7 -7
  378. package/dist/esm/utils/store/card-context.d.ts +10 -10
  379. package/dist/esm/utils/utils.d.ts +31 -31
  380. package/dist/index.d.ts +443 -443
  381. package/package.json +75 -75
package/dist/cjs/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("react"),n=require("@sunrise-upc/ajax-lib"),o=require("uuid"),t=require("react-bootstrap"),i=require("storyblok-rich-text-react-renderer-ts"),l=require("react-select"),r=require("react-bootstrap/Modal"),d=require("react-bootstrap/CloseButton"),a=require("react-bootstrap/Container"),s=require("react-bootstrap/Row"),c=require("react-bootstrap/Col"),u=require("js-cookie"),p=require("react-multi-carousel"),m=require("react-bootstrap/Form"),_=require("react-loading-skeleton"),v=require("react-dom"),h=require("http"),g=require("https"),f=require("url"),x=require("stream"),b=require("assert"),y=require("zlib"),w=Object.freeze({__proto__:null,get BenefitWrapper(){return qa},get Breadcrumb(){return ns},get Button(){return L},get Card(){return gt},get CardEntitlement(){return at},get CarouselComp(){return ft},get CheckCoverage(){return vs},get CoverageCheckModal(){return Nl},get DpLinetable(){return Hs},get HeroLogin(){return ps},get LinecheckModal(){return Vi},get LoginModalV2(){return zo},get MultiItemAccessoriesWithProvider(){return dm},get NotificationToast(){return mm},get OttServiceOptionsSmallPopup(){return Ta},get PretoPostSubsPopup(){return ia},get ProductTableV3(){return fr},get ProductTeaser(){return Dl},get ProgressionBar(){return ac},get RecommendedOptions(){return Im},get StaticLineTable(){return Ma},get StickyBottomSheet(){return ec},get StickyProductAnchor(){return br}});function S(e,n){void 0===n&&(n={});var o=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===o&&t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}S(".Button {\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 4px;\n cursor: pointer;\n min-width: 32px;\n min-height: 32px;\n background-color: aliceblue;\n}\n\n.Button-primary {\n background-color: aqua; \n}\n.Button-secondary{\n background-color: burlywood;\n}\n.Button-error {\n background-color: red;\n}");class C{constructor(e){this.config={baseURL:"",cartURL:"",storyBlokURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.getCartUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.cartURL)&&void 0!==n?n:""},this.getSBUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.storyBlokURL)&&void 0!==n?n:""},this.config=e}}C.getInstance=()=>C.instance,C.create=e=>{C.instance=new C(e)};class k{constructor(e){this.config={assetPath:"",basicConfigUrl:""},this.getAssetPath=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.assetPath)&&void 0!==n?n:""},this.getBasicConfigUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.basicConfigUrl)&&void 0!==n?n:""},this.config=e}}k.getInstance=()=>k.instance,k.create=e=>{k.instance=new k(e)};const E={ADDR_SUGG:"address-suggestion/",CATELOG_MGMT:"catalogue-management/",CART_MGMT:"basket-management/",CUSTOMER:"customer-management/",STORYBLOK:"storyblok-management/",LOGINMETHOD:"login-method",LOGIN:"login",MTANLOGIN:"login-mtan",LOGINPOLICY:"my.policy",LOGIN_OTP:"login-otp",LOGIN_MFA:"login-mfa"},P={X_SUN_CHAL:"ESHOP",LINE_TABLEV2:"v2/offer",LINE_TABLEV3:"v3/offer",CREATE_CARTV2:"carts/v2",CREATE_CARTV3:"carts/v3",SUBSCRIPTION:"?subscriptionType=",VOUCHER_PROMOTIONS:"v1/voucher-promotions",HARDWARES:"v1/hardwares?filterSearchOption.id=",HARDWARE_DEVICES:"v1/hardwares?filterSearchOption.id=parent__true&filterSearchOption.id=residual__true&filterSearchOption.id=category__sellableMobilePostpaidDevices&priceRequired=false&filterSearchOption.id=",TV_SERVICE_OPTIONS_V2:"v2/service-optionByCategory?category=category__popUpTvOptions",CUSTOMER_EVENTS:"events",THREE_SCALE_API_KEY:"THREE_SCALE_API_KEY",STORIES:"rest/cms/stories",RECOMMENDED_ACCESSORIES:"carts/v3/recommendation",UPDATE_CART:"carts/v3/"},T="rest/cms/singlestory",O="rest/cms/dsource_entries?datasource=one-ecommerce-constant-keys",N="rest/cms/stories",L=({type:n,text:o,onClick:t,content:i})=>e.createElement("button",{type:"button",className:`button Button-${null==i?void 0:i.type}`,onClick:t},null==i?void 0:i.text);function D(e,n){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(t=Object.getOwnPropertySymbols(e);i<t.length;i++)n.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i])&&(o[t[i]]=e[t[i]])}return o}function I(e,n,o,t){return new(o||(o=Promise))((function(i,l){function r(e){try{a(t.next(e))}catch(e){l(e)}}function d(e){try{a(t.throw(e))}catch(e){l(e)}}function a(e){var n;e.done?i(e.value):(n=e.value,n instanceof o?n:new o((function(e){e(n)}))).then(r,d)}a((t=t.apply(e,n||[])).next())}))}class A{constructor(e){this.config={baseURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.getAPIServiceObject=()=>{if(!this.apiServiceObject){const e={options:void 0,props:{incCsrf:!0,baseUrl:this.getBaseUrl()}};this.apiServiceObject=n.ApiServiceV2.getApiServiceInstance(e)}return this.apiServiceObject},this.config=e}}A.getInstance=()=>A.instance,A.create=e=>{A.instance=new A(e)};const B="none",V="falconDescription",M="falconAccordionList",R="spacer",F="fixnet",j="defaultWirelineBundle",U="defaultMobilePostpaidBundle",z="vctype",$="voucher",W="one-ecommerce-hardwareSummary",H="BASE",Y="CONTRACT",G="HARDWARE",q="one-ecommerce-internetSummary",K="hardwareGroupName",J="mobile",X="desktop",Q="large-desktop",Z="tablet",ee={EN:"English",FR:"Français",IT:"Italiano",DE:"Deutsch"},ne="TV_SERVICE_OPTION",oe="LOGIN_MFA",te="DEPRICATING_SMS",ie="DEPRICATING_EMAIL",le="DEPRICATED_EMAIL",re="OTP_NR_LIST",de="PW_CHANGED",ae="OTP_SMS_OLD",se="OTP_SMS_NEW",ce="OTP_SMS",ue="OTP_EMAIL",pe="OTP_NR_NEW",me="LOGIN_OTP",_e="PW_RESET",ve="OTP_NR_ADD",he="OTP_NR_CONFIRM",ge="OTP_NR_CHANGE",fe="PW_FORGOT",xe="monthly_24",be="ACCESSORY",ye="flowInitiated",we="monthlyFlashDiscount",Se="REMOVE",Ce="totalFlashDiscount",ke="mobileaccessories",Ee="accessoriesLabel",Pe="vasStepperLabel",Te="MOBILE",Oe="INTERNET",Ne="TV";var Le;!function(e){e.EMAIL="Email_Id",e.CLI="CLI",e.CUSTOMER_NUMBER="SiteID",e.MSISDN="MSISDN"}(Le||(Le={}));const De=e=>e?e.replace(/\s+/g,""):"",Ie=e=>(9===e.length&&/^[a|A]{0,1}[0-9]+$/.test(e)&&(e="0"+e),/^[a-zA-Z0-9.!#$%&’*+\=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(String(e).toLowerCase())||/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())?Le.EMAIL:/^07[5-9][0-9]{7}$/gi.test(e)||/^00417[6-9][0-9]{7}$/gi.test(e)||/^0417[6-9][0-9]{7}$/gi.test(e)||/^\+417[6-9][0-9]{7}$/gi.test(e)||/^004107[6-9][0-9]{7}$/gi.test(e)||/^04107[6-9][0-9]{7}$/gi.test(e)||/^\+4107[6-9][0-9]{7}$/gi.test(e)?Le.MSISDN:/^0[1-9][0-9]{8}$/gi.test(e)||/^0041[1-9][0-9]{8}$/gi.test(e)||/^041[1-9][0-9]{8}$/gi.test(e)||/^\+41[1-9][0-9]{8}$/gi.test(e)||/^00410[1-9][0-9]{8}$/gi.test(e)||/^0410[1-9][0-9]{8}$/gi.test(e)||/^\+410[1-9][0-9]{8}$/gi.test(e)?Le.CLI:e.toLowerCase().startsWith("a")&&/^A|a[0-9]{10}$/gi.test(e)||/^[0-9]{10}$/gi.test(e)?Le.CUSTOMER_NUMBER:void 0),Ae=e=>{e=e.replace(/\s/g,"");const n=Ie(e);if(n&&n!==Le.EMAIL){if(e.length>10&&e.startsWith("0041")){const n=e.replace("0041","");return n.startsWith("0")?n:"0"+n}if(e.length>10&&e.startsWith("+41")){const n=e.replace("+41","");return n.startsWith("0")?n:"0"+n}if(e.length>10&&e.startsWith("041")){const n=e.replace("041","");return n.startsWith("0")?n:"0"+n}return 9!==e.length||/^[a-zA-Z]/.test(e)||e.startsWith("0")||e.startsWith("0041")||e.startsWith("+41")||e.match(/^(?:00|\+)[0-9]{1,2}/)?/^[a-zA-Z]/.test(e)||Ie(e)!==Le.CUSTOMER_NUMBER||e.startsWith("+")&&(10!==e.length||!e.startsWith("00"))?e:"A"+e:"0"+e}return e},Be=(e,n)=>{const o=n?(e=>/^0041[1-9][0-9]{8}$/gi.test(e)?[4,6,9,11]:/^00410[1-9][0-9]{8}$/gi.test(e)?[4,7,10,12]:/^0410[1-9][0-9]{8}$/gi.test(e)||/^\+410[1-9][0-9]{8}$/gi.test(e)?[3,6,9,11]:[3,5,8,10])(e?e.replace(/\s+/g,""):""):9===(null==e?void 0:e.length)?[2,5,7]:[3,6,8];return Ve(e," ",o)},Ve=(e,n,o)=>{if("undefined"===e||!e)return"";const t=e.split(n).join("");let i="";for(let e=0;e<t.length;e++)o.includes(e)&&(i+=n),i+=t[e];return i},Me=(e,n,t)=>I(void 0,void 0,void 0,(function*(){var i;const l=null==A?void 0:A.getInstance(),r=null==l?void 0:l.getBaseUrl();t.current&&t.current.abort(),t.current=new AbortController;const d=t.current.signal;if(r){const t=new URLSearchParams;e&&t.append("action",e),n&&(null===(i=[ae,se,ce,ue])||void 0===i?void 0:i.includes(e))&&t.append("otp",n),n&&e===pe&&t.append("msisdn",n),n&&e===re&&t.append("recipient",n),n&&e===_e&&t.append("password",n);try{const e=yield fetch(`${r}${null==E?void 0:E.LOGINPOLICY}`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded","x-correlation-id":o.v4(),"x-sunrise-channel":P.X_SUN_CHAL},body:t.toString(),signal:d}),n=yield e.json();if(n&&(null==n?void 0:n.status))return n;return n&&((null==n?void 0:n.errorcode)||(null==n?void 0:n.errorCode))}catch(e){return e}}})),Re=(e,n,t,i,l,r,d)=>I(void 0,void 0,void 0,(function*(){l.current&&l.current.abort(),l.current=new AbortController;const a=l.current.signal,s=null==A?void 0:A.getInstance(),c=null==s?void 0:s.getBaseUrl();if(c){const l=new URLSearchParams;e&&l.append("action",e),t&&l.append("username",t),r&&l.append("language",r),i&&l.append("password",i),d&&l.append("remember",d.toString());try{const e=yield fetch(`${c}${n}`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded","x-correlation-id":o.v4(),"x-sunrise-channel":P.X_SUN_CHAL},body:l.toString(),signal:a}),t=yield e.json();if(t&&(null==t?void 0:t.status))return t;return t&&((null==t?void 0:t.errorcode)||(null==t?void 0:t.errorCode))}catch(e){return e}}})),Fe=e=>{switch(e){case"grey-600":return"falcon-grey-600";case"grey-500":return"falcon-grey-500";case"grey-100":return"falcon-grey-100";case"grey-400":return"falcon-grey-400";case"ice-white":return"falcon-ice-white";default:return""}},je=(e,n)=>{const o=[];let t,i,l=0;[...Array(n)].forEach((()=>{i=document.getElementById(`${e}${l}`),null!=i&&(i.style.height="unset",o.push(null==i?void 0:i.clientHeight),l++)})),t=Math.max(...o),l=0,[...Array(n)].forEach((()=>{i=document.getElementById(`${e}${l}`),null!=i&&(i.style.height=`${t}px`),l++}))},Ue=e=>{switch(e){case"rubyglow-diagonal":return"falcon-gradient-rubyglow-diagonal";case"rubyglow-inverted-diagonal":return"falcon-gradient-rubyglow-inverted-diagonal";case"rubyglow-vertical":return"falcon-gradient-rubyglow-vertical";case"pinksky-diagonal":return"falcon-gradient-pinksky-diagonal";case"pinksky-inverted-diagonal":return"falcon-gradient-pinksky-inverted-diagonal";case"pinksky-vertical":return"falcon-gradient-pinksky-vertical";case"bluehaze-diagonal":return"falcon-gradient-bluehaze-diagonal";case"bluehaze-vertical":return"falcon-gradient-bluehaze-vertical";case"greencloud-diagonal":return"falcon-gradient-greencloud-diagonal";case"greencloud-inverted-diagonal":return"falcon-gradient-greencloud-inverted-diagonal";case"greencloud-vertical":return"falcon-gradient-greencloud-vertical";case"peachfog-diagonal":return"falcon-gradient-peachfog-diagonal";case"peachfog-inverted-diagonal":return"falcon-gradient-peachfog-inverted-diagonal";case"peachfog-vertical":return"falcon-gradient-peachfog-vertical";case"darkblue-haze":return"falcon-gradient-dark-blue-haze";case"skyfuel-diagonal":return"falcon-gradient-skyfuel-diagonal";case"skyfuel-vertical":return"falcon-gradient-skyfuel-vertical";case"skyfuel-inverted-diagonal":return"falcon-gradient-skyfuel-inverted-diagonal";default:return""}},ze=e=>{e=Number(e);let n=0;return n=new RegExp("^[0-9][^.]*$").test(e.toString())?e+".-":e.toFixed(2).replace(/\.00$/,""),n},$e=(e,n,o)=>{let t=null;const i=new Date;t={value:n,expiry:o?i.getTime()+o:null},localStorage.setItem(e,JSON.stringify(t))},We=e=>{const n="undefined"!=typeof window&&localStorage.getItem(e),o=new Date;if(!n)return null;let t={};try{if(t=JSON.parse(n),t.expiry&&o.getTime()>t.expiry)return He(e),null}catch(e){return n}return null==t?void 0:t.value},He=e=>{localStorage.removeItem(e)},Ye=()=>{const[n,o]=e.useState(0);return e.useEffect((()=>{const e=()=>{o(window.innerWidth)};return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),n>=1440?"large-desktop":n<1440&&n>=1024?"desktop":n<1024&&n>=768?"tablet":n<768&&n>0?"mobile":""},Ge=()=>{const[n,o]=e.useState(!1),t=()=>{const e=window.matchMedia("(pointer:coarse)");o(e.matches)};return e.useEffect((()=>(t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t))),[]),n},qe=(e,n)=>null==e?void 0:e.replace(/{\w+}/g,(e=>n[e.substring(1,e.length-1)]||e)),Ke=e=>{switch(e){case"success":return"/icons/checksuccess.svg";case"error":return"/icons/error.svg";case"info":case"infoWhite":return"/icons/info.svg";case"warning":return"/icons/alert.svg";case"tip":return"/icons/tip.svg";default:return""}},Je=e=>"undefined"!=typeof window?e=="/"+window.document.documentElement.getAttribute("lang")+"/"?void 0:e:"#",Xe=(e,n)=>{const[o]=["https://a.storyblok.com/f/113473/"],[t]=[e+"asset/"];return n?n.replace(o,`${t}`):n||""},Qe=(e,n)=>{let o="";return o+=Xe(e,n),o+="/m/",o},Ze=e=>{let n=0;return n=(e=Number(e)).toFixed(2),n},en=n=>{var o;const l=Ye(),r=Ge(),d="mobile"===l||"tablet"===l||r,a=null===(o=null==k?void 0:k.getInstance())||void 0===o?void 0:o.getAssetPath();return e.createElement("div",null,i.render(n.content,{markResolvers:{link:(o,i)=>{const{href:l,target:r,linktype:s}=i;return"email"===s?e.createElement("a",{href:`mailto:${l}`,target:null===r||"_self"===r?"_top":"_blank"},o):n.isIFrame?e.createElement("a",{href:l,target:null===r||"_self"===r?"_top":"_blank"},o):e.createElement(e.Fragment,null,(null==n?void 0:n.linkAsTooltip)&&(null==n?void 0:n.toolTipText)?e.createElement(t.OverlayTrigger,{placement:"auto",rootClose:!0,trigger:d?"click":"hover",overlay:(null==n?void 0:n.toolTipText)?e.createElement(t.Popover,{id:"popover-basic"},e.createElement(t.Popover.Body,null,null==n?void 0:n.toolTipText,d&&a&&e.createElement("img",{src:`${a}/icons/overlay-close.svg`,alt:"close",style:{float:"right"},width:24,height:24,onClick:()=>{var e;return null===(e=null===document||void 0===document?void 0:document.body)||void 0===e?void 0:e.click()}}))):e.createElement(e.Fragment,null)},e.createElement("span",null,o)):e.createElement("a",{href:l,target:null===r?"":r},o))}}}))},nn="addtocart",on="Sunrise",tn="CHF",ln="Sticky Line Table",rn="select_promotion",dn="view_promotion",an="cta_button_click",sn="download_product_details",cn="gaEvent",un="Stage Teaser",pn="Line Table",mn="Line Table - Product",_n="Line Table - Device",vn="combine_with_device",hn="tab_click",gn="All",fn="promotion_popup",xn="click",bn="line_check_start",yn="line_check_results",wn="Missing or Invalid Error",Sn="error",Cn="fixnet",kn="sunriseAuth",En="error",Pn="login",Tn="Remember me | Selected",On="Remember me | not selected",Nn="unSuccess via password",Ln="LoginError",Dn="loginUnSuccessful",In="failed",An="Internet",Bn="Mobile",Vn="POSTPAID",Mn="INTERNET",Rn="Accessory",Fn="Device Accessories",jn="view_item_list",Un="view_item",zn="remove_from_cart",$n="add_to_cart",Wn=(e,n,o)=>{window.dataLayer.push(Object.assign({event:e,event_name:n},o))};let Hn;const Yn=(e,n,o)=>{window.dataLayer.push(Object.assign({event:e,event_name:n},o))},Gn=(e,n,o)=>{const t={eventAction:e,eventValue:n,timeStamp:Math.round(Date.now()/1e3),type:o};"dropDownClick/enter/leftClick"==o&&(o=xn);try{"view"==o?(Hn=[],window.appEventData.push({event:o,eventInfo:t,component:Hn})):window.appEventData.push({event:o,eventInfo:t})}catch(e){}},qn=(e,n,o,t,i,l)=>{const r={description:e,source:n,title:o,type:t,guid:i,errorID:l};"dropDownClick/enter/leftClick"==t&&(t=xn);try{const{guid:e,errorID:n}=r,o=D(r,["guid","errorID"]);"error"==t&&null==e&&null==n||"success"==t||"general"==t?window.appEventData.push({event:"message",message:o}):void 0!==e&&void 0!==n&&window.appEventData.push({event:"message",message:r})}catch(e){}},Kn=(e,n,o,t,i)=>{const l={message_type:e,message_title:n,message_source:o,message_reason:t,message_guid:i};try{if(void 0!==i)window.dataLayer.push(Object.assign({event:"gaEvent",event_name:"error_event"},l));else{const i={message_type:e,message_title:n,message_source:o,message_reason:t};window.dataLayer.push(Object.assign({event:"gaEvent",event_name:"error_event"},i))}}catch(e){}},Jn=e=>{var n,o,t,i,l,r,d,a,s,c,u;const p=null!==(o=(null==e?void 0:e.data)&&(null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.code))&&void 0!==o?o:null==e?void 0:e.status,m=null!==(i=(null==e?void 0:e.data)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.message))&&void 0!==i?i:null==e?void 0:e.statusText,_=null!==(r=(null==e?void 0:e.data)&&(null===(l=null==e?void 0:e.data)||void 0===l?void 0:l.id))&&void 0!==r?r:"",v=null!==(a=(null==e?void 0:e.data)&&(null===(d=null==e?void 0:e.data)||void 0===d?void 0:d.supplierCode))&&void 0!==a?a:"";let h="";try{h=null===(s=null==e?void 0:e.request)||void 0===s?void 0:s.responseURL,h=null===(u=null===(c=null==h?void 0:h.split("/"))||void 0===c?void 0:c.slice(5))||void 0===u?void 0:u.join("-")}catch(e){console.log("Error while formatting aPI",e)}const g={event:"gaEvent",event_name:"error_event",message_guid:p,message_reason:`MSA: ${m}`,message_source:`fixnet | ${h}`,message_title:"Api errror",message_type:"Error",message_apiinfo:`${_} | ${v}`};try{window.dataLayer.push(g)}catch(e){console.log("Error while inserting into datalayer",e)}},Xn=(e,n,o,t,i,l)=>{try{if(n&&o&&t&&i&&l){const r={loginType:e,accountID:n,language:o,lastLoginDate:t,type:i,existingUser:l};window.appEventData.push({user:r})}else{const n={loginType:e};window.appEventData.push({user:n})}}catch(e){}},Qn=(e,n,o)=>{var t;const i={item_id:null===(t=null==o?void 0:o.productId)||void 0===t?void 0:t.replace(/^0+/,""),item_name:null==o?void 0:o.displayName,affiliation:"",coupon:"",discount:0,index:o.index,item_brand:on,item_category:Rn,item_category2:"",item_category3:"",item_category4:"",item_category5:"",item_list_id:Fn,item_list_name:Fn,item_variant:(null==o?void 0:o.paymentType)+"|"+(null==o?void 0:o.variant),location_id:"",price:null==o?void 0:o.priceValue,promotion_id:"",quantity:1,item_available:"yes"};i&&window.dataLayer.push({event:e,event_name:n,ecommerce:{currency:"CHF",value:null==o?void 0:o.priceValue,items:[Object.assign({},i)]}})};var Zn="ReusableLogin-module_login-container__Ad6KQ",eo="ReusableLogin-module_icon-container__FGJQU",no="ReusableLogin-module_back-text__MKh1u",oo="ReusableLogin-module_loginmodal__XhQt-",to="ReusableLogin-module_inputSuccess__dK7Uz",io="ReusableLogin-module_iconcontainer__QpoFB",lo="ReusableLogin-module_logintitle__bnFYd",ro="ReusableLogin-module_loginmodalLabel__gakRq",ao="ReusableLogin-module_confirmbtn__woa5L",so="ReusableLogin-module_horizontalline__ew-1o",co="ReusableLogin-module_infotooltip__e3Al0",uo="ReusableLogin-module_eyeicon__XTxJn",po="ReusableLogin-module_credentialerror__T9TK0",mo="ReusableLogin-module_tempcode__rzrt5",_o="ReusableLogin-module_warningicon__3HIvk",vo="ReusableLogin-module_blockedcontent__OQn79",ho="ReusableLogin-module_warningcontent__KzTOC",go="ReusableLogin-module_technicalerror__n3C0N",fo="ReusableLogin-module_updatedetails__DHwPR",xo="ReusableLogin-module_loginmodalrem__GKQDm",bo="ReusableLogin-module_checkmark__XKH5n";S('/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.ReusableLogin-module_card__G6N3b.ReusableLogin-module_sr-card__79oCF {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.ReusableLogin-module_card__G6N3b.ReusableLogin-module_border-top__V2zp5 {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .ReusableLogin-module_sr-desk-card__KSJOc {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .ReusableLogin-module_sr-mob-card__DfJ-i {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .ReusableLogin-module_sr-md-card__4trTA {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.ReusableLogin-module_login-container__Ad6KQ {\n align-items: center;\n background-color: white;\n box-shadow: -1px 18px 25px 5px rgba(87, 84, 82, 0.4);\n display: flex;\n flex-direction: column;\n justify-content: center;\n max-width: 624px;\n padding: 24px 32px;\n position: absolute;\n width: 100%;\n border-radius: 4px;\n}\n@media (max-width: 767px) {\n .ReusableLogin-module_login-container__Ad6KQ {\n padding: 16px;\n }\n}\n\n.ReusableLogin-module_login-header__hzlgu {\n width: 100%;\n margin-bottom: 24px;\n display: flex;\n justify-content: space-between;\n}\n\n.ReusableLogin-module_login-header__hzlgu span {\n cursor: pointer;\n}\n\n.ReusableLogin-module_login-header__hzlgu img {\n cursor: pointer;\n}\n\n.ReusableLogin-module_icon-container__FGJQU {\n width: 24px;\n height: 24px;\n}\n\n.ReusableLogin-module_back-text__MKh1u {\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n color: #da291c;\n padding-left: 4px;\n}\n\n.ReusableLogin-module_channel-selection-title__0iFVE {\n font-weight: 700;\n line-height: 36px;\n font-size: 28px;\n text-align: center;\n margin-bottom: 24px;\n}\n\n.ReusableLogin-module_channel-selection-description__MFGOM {\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n text-align: left;\n color: #333333;\n margin-bottom: 24px;\n}\n\n.ReusableLogin-module_btn-primary__9w79K {\n background: #d9415c;\n border: none;\n border-radius: 28px;\n color: #ffffff;\n font-weight: 700;\n overflow: visible;\n padding: 14px 24px;\n}\n.ReusableLogin-module_btn-primary__9w79K:disabled {\n background-color: #e6e3df;\n color: #b3aeaa;\n cursor: default;\n}\n@media (max-width: 767px) {\n .ReusableLogin-module_btn-primary__9w79K {\n padding: 10px 24px;\n }\n}\n\n.ReusableLogin-module_errorMsg__pDhM4 {\n color: #bf0760;\n display: flex;\n font-size: 12px;\n font-weight: 400;\n line-height: 16px;\n margin-bottom: 4px;\n}\n\n.ReusableLogin-module_resend__DQ50C {\n font-size: 16px;\n font-weight: 700;\n line-height: 24px;\n text-align: center;\n color: #3d3935;\n}\n\n.ReusableLogin-module_loginmodal__XhQt- {\n align-items: center;\n background-color: rgba(87, 84, 82, 0.4);\n font-size: 16px;\n line-height: 24px;\n color: #333333;\n display: flex;\n height: 100%;\n justify-content: center;\n left: 0;\n padding: 16px;\n position: fixed;\n top: 0;\n transition: opacity 3s;\n width: 100%;\n z-index: 11;\n}\n.ReusableLogin-module_loginmodal__XhQt- input {\n background: #f7f6f5 !important;\n}\n.ReusableLogin-module_loginmodal__XhQt- input:focus {\n border: 2px solid #3D3935 !important;\n border-radius: 4px;\n}\n.ReusableLogin-module_loginmodal__XhQt- input:disabled {\n background: #e6e3df !important;\n}\n.ReusableLogin-module_loginmodal__XhQt- input.ReusableLogin-module_inputSuccess__dK7Uz {\n border-color: #8fd200 !important;\n box-shadow: 0 0 0 1px #8fd200 !important;\n}\n.ReusableLogin-module_loginmodal__XhQt- input::-webkit-outer-spin-button, .ReusableLogin-module_loginmodal__XhQt- input::-webkit-inner-spin-button {\n -webkit-appearance: none !important;\n margin: 0 !important;\n}\n.ReusableLogin-module_loginmodal__XhQt- input[type=number] {\n -moz-appearance: textfield !important;\n}\n\n.ReusableLogin-module_iconcontainer__QpoFB {\n bottom: 14px;\n position: absolute;\n right: 12.25px;\n}\n\n.ReusableLogin-module_logintitle__bnFYd {\n font-size: 24px;\n font-weight: 700;\n line-height: 32px;\n text-align: center;\n width: 100%;\n}\n\n.ReusableLogin-module_formControl__hBGQP {\n border: none;\n padding: 14px 0;\n}\n.ReusableLogin-module_formControl__hBGQP::-ms-reveal {\n display: none;\n}\n.ReusableLogin-module_formControl__hBGQP:focus, .ReusableLogin-module_formControl__hBGQP:not(:placeholder-shown) {\n border-color: black;\n box-shadow: none;\n}\n\n.ReusableLogin-module_loginmodalLabel__gakRq {\n overflow: hidden;\n right: 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ReusableLogin-module_confirmbtn__woa5L {\n height: 52px;\n width: 150px;\n}\n\n.ReusableLogin-module_horizontalline__ew-1o {\n border: 1px solid #e5e5e5;\n margin: 25px 0px;\n width: 70%;\n}\n\n.ReusableLogin-module_infotooltip__e3Al0 {\n font-size: 12px;\n line-height: 1.33;\n margin-top: 4px;\n}\n\n.ReusableLogin-module_eyeicon__XTxJn {\n display: inline-block;\n height: 24px;\n margin-left: 8px;\n width: 24px;\n}\n\n.ReusableLogin-module_credentialerror__T9TK0 {\n color: #bf0760;\n display: flex;\n font-size: 12px;\n font-weight: 400;\n height: 32px;\n line-height: 16px;\n margin-top: 4px;\n position: absolute;\n top: 52px;\n}\n\n.ReusableLogin-module_tempcode__rzrt5 {\n font-size: 16px;\n font-style: normal;\n font-weight: 700;\n line-height: 24px;\n padding: 16px 0 0;\n}\n\n.ReusableLogin-module_warningicon__3HIvk {\n content: "";\n display: inline-block;\n height: 16px;\n margin-right: 4px;\n margin-top: 2px;\n width: 16px;\n}\n\n.ReusableLogin-module_blockedcontent__OQn79 {\n align-items: flex-start;\n background: #f9e7f0;\n border: 1.5px solid #bf0760;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n height: 120px;\n justify-content: center;\n padding: 16px 16px 8px;\n}\n\n.ReusableLogin-module_warningcontent__KzTOC {\n align-items: flex-start;\n background: #FFFAE6;\n border: 1.5px solid #ffc805;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n height: 120px;\n justify-content: center;\n padding: 16px 16px 8px;\n}\n\n.ReusableLogin-module_technicalerror__n3C0N {\n height: 90px;\n}\n\n.ReusableLogin-module_updatedetails__DHwPR {\n color: #da291c;\n cursor: pointer;\n margin: 0 5px;\n text-decoration: underline;\n}\n\n.ReusableLogin-module_loginmodalrem__GKQDm {\n -moz-user-select: none;\n -ms-user-select: none;\n -webkit-user-select: none;\n cursor: pointer;\n display: block;\n font-weight: 700;\n padding-left: 28px;\n position: relative;\n text-align: left;\n user-select: none;\n}\n.ReusableLogin-module_loginmodalrem__GKQDm input {\n cursor: pointer;\n height: 0;\n opacity: 0;\n position: absolute;\n width: 0;\n}\n.ReusableLogin-module_loginmodalrem__GKQDm input:checked ~ .ReusableLogin-module_checkmark__XKH5n {\n background-color: #da291c;\n border: 2px solid #da291c;\n}\n.ReusableLogin-module_loginmodalrem__GKQDm input:checked ~ .ReusableLogin-module_checkmark__XKH5n:after {\n display: block;\n}\n.ReusableLogin-module_loginmodalrem__GKQDm .ReusableLogin-module_checkmark__XKH5n {\n border: 2px solid #5f5955;\n border-radius: 4px;\n height: 20px;\n left: 0;\n position: absolute;\n top: 2px;\n width: 20px;\n}\n.ReusableLogin-module_loginmodalrem__GKQDm .ReusableLogin-module_checkmark__XKH5n:after {\n -ms-transform: rotate(45deg);\n -webkit-transform: rotate(45deg);\n border: solid white;\n border-width: 0 3px 3px 0;\n height: 10px;\n left: 5px;\n top: 2px;\n transform: rotate(45deg);\n width: 5px;\n}');const yo=({content:n,changeCurrentView:o,metadata:i,onSuccess:l,loginIcons:r,userID:d,password:a,isProdEnv:s=!0})=>{var c,u,p,m,_,v,h,g;const[f,x]=e.useState({userName:d,password:a}),[b,y]=e.useState(!1),[w,S]=e.useState(!1),[C,k]=e.useState(!1),[P,T]=e.useState(!1),[O,N]=e.useState(!1),[L,D]=e.useState(1),[I,A]=e.useState(""),[B,V]=e.useState(!1),[M,R]=e.useState(!1),[F,j]=e.useState(!1),[U,z]=e.useState(!1),[$,W]=e.useState(!1),[H,Y]=e.useState(!1),G=e.useRef(),q=/^[0-9]+$/,K=e=>{k(!1),V(!1),R(!1),j(!1);const n=e.target.value,o=e.target.id;"userName"===o&&(z(!1),W(!1),x(Object.assign(Object.assign({},f),{userName:n})),n&&n&&q.test(n)?S(!0):S(!1)),"password"===o&&x(Object.assign(Object.assign({},f),{password:n}))},J=e=>{const o=/^(?:\+?\d+)$/,{userName:t,password:i}=f,l=(e=>{const n=Ae(e),o=Ie(n);if(o&&o!==Le.EMAIL&&o!==Le.CUSTOMER_NUMBER){const n=e.match(/^((?:0|00|\+)[0-9]{1,2})(\d{3})(\d{2})(\d{2})(\d{2})(\d{1,2})?$/);return Be(e,!!(n&&n.length>0))}return e})(t.replace(/\s/g,""));if(x(Object.assign(Object.assign({},f),{userName:l})),t){const l=Ae(De(t));(e=>{const n=/^[a|A]{0,1}[0-9]+$/;return!(e.length<10||10!==e.length&&!n.test(e))&&!!n.test(e)&&(e.startsWith("a")||e.startsWith("A")?11===e.length:n.test(e)&&10===e.length)})(l)||/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(l).toLowerCase())?e&&""!==i&&X(l,i):(S(!1),o.test(l)?(W(!0),Kn(Sn,wn,Pn,null==n?void 0:n.invalidNumberMessage)):(z(!0),Kn(Sn,wn,Pn,null==n?void 0:n.invalidEmailMessage)))}},X=(e,t)=>{y(!0);const r=Ie(e)+" | Password";Re(oe,null==E?void 0:E.LOGIN_MFA,e,t,G,null==i?void 0:i.lang,H).then((e=>{var t,i;"OK"===(null==e?void 0:e.status)?(localStorage.setItem("existingUser","true"),localStorage.setItem("userNameType",r),k(!1),l(),Gn("loginSuccessful","success via password",xn),Yn(cn,Pn,{result:"successful",message_title:"",login_type:r,selection:H?Tn:On})):(null===(t=[te,ie,le,ce])||void 0===t?void 0:t.includes(null==e?void 0:e.status))?(S(!1),o(null==f?void 0:f.userName,e)):"ERROR"===(null==e?void 0:e.status)?(R(!0),Gn(Dn,Nn,xn),qn(null==n?void 0:n.technicalError,Pn,Ln,En),Kn(Sn,wn,Pn,null==n?void 0:n.technicalError)):"NOK"===(null==e?void 0:e.status)&&(null===(i=null==e?void 0:e.status)||void 0===i?void 0:i.segment)?(j(!0),S(!1),qn(null==n?void 0:n.invalidSegmentError,Pn,Ln,En),Kn(Sn,wn,Pn,null==n?void 0:n.invalidSegmentError),Xn(r)):(k(!0),S(!1),Q(),Gn(Dn,Nn,xn),Yn(cn,Pn,{result:In,message_title:null==n?void 0:n.userNameError,login_type:r,selection:H?Tn:On}),qn(null==n?void 0:n.userNameError,Pn,Ln,En),Kn(Sn,wn,Pn,null==n?void 0:n.userNameError),Xn(r))})).catch((e=>{k(!0),S(!1),console.log(e,"--\x3eerror"),Gn(Dn,Nn,xn),qn(null==n?void 0:n.userNameError,Pn,Ln,En),Yn(cn,Pn,{result:In,message_title:null==n?void 0:n.userNameError,login_type:r,selection:"Remember me | "+(H?"Selected":"not selected")}),Kn(Sn,wn,Pn,null==n?void 0:n.userNameError),Xn(r)})).finally((()=>{y(!1)}))},Q=()=>{var e,o,t,i,l;if((null==f?void 0:f.userName)===I?D(L+1):(D(1),A(null==f?void 0:f.userName)),L>=2&&L<4)V(!0),qn(null==n?void 0:n.invalidAttemptError,Pn,Ln,En),Kn(Sn,wn,Pn,null==n?void 0:n.invalidAttemptError);else if(4===L){V(!1),N(!0);const r=null===(l=null===(i=null===(t=null===(o=null===(e=null==n?void 0:n.loginBlockedError)||void 0===e?void 0:e.content)||void 0===o?void 0:o[0])||void 0===t?void 0:t.content)||void 0===i?void 0:i[0])||void 0===l?void 0:l.text;qn(r,Pn,Ln,En),Kn(Sn,wn,Pn,r)}},Z=e=>{"Enter"!==e.key||C||J(!0)};return e.createElement(e.Fragment,null,e.createElement("div",{className:lo},null==n?void 0:n.title),e.createElement("div",{className:"mt-4"}),O&&e.createElement(e.Fragment,null,e.createElement("div",{className:vo},e.createElement("span",{style:{display:"inline-flex"}},e.createElement("div",{style:{paddingRight:"10px"}},e.createElement("img",{src:null===(c=null==r?void 0:r.error)||void 0===c?void 0:c.filename,alt:"error",width:24,height:24})," "),e.createElement(en,{content:null==n?void 0:n.loginBlockedError}))),e.createElement("div",{className:"mt-4"})),B&&e.createElement(e.Fragment,null,e.createElement("div",{className:ho},e.createElement("span",{style:{display:"inline-flex"}},e.createElement("div",{style:{paddingRight:"10px"}},e.createElement("img",{src:null===(u=null==r?void 0:r.warning)||void 0===u?void 0:u.filename,alt:"error",width:24,height:24})," "),e.createElement(en,{content:null==n?void 0:n.invalidAttemptError}))),e.createElement("div",{className:"mt-4"})),(M||F)&&e.createElement(e.Fragment,null,e.createElement("div",{className:`${ho} ${M&&go}`},e.createElement("span",{style:{display:"inline-flex"}},e.createElement("div",{style:{paddingRight:"10px"}},e.createElement("img",{src:null===(p=null==r?void 0:r.warning)||void 0===p?void 0:p.filename,alt:"error",width:24,height:24})," "),M?e.createElement(en,{content:null==n?void 0:n.technicalError}):e.createElement(en,{content:null==n?void 0:n.invalidSegmentError}))),e.createElement("div",{className:"mt-4"})),e.createElement("div",{className:"form-floating w-100"},e.createElement("input",{type:"text",className:`form-control ${(C||U||$)&&"error-border"}\n `,id:"userName",placeholder:null==n?void 0:n.userNameLabel,value:null==f?void 0:f.userName,onChange:K,autoComplete:"off",disabled:O,onBlur:()=>J(!1),onKeyDown:Z}),e.createElement("label",{className:`text-truncate w-100 ${ro}`},null==n?void 0:n.userNameLabel),w&&e.createElement("p",{className:co},null==n?void 0:n.infoText),(U||$)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(m=null==r?void 0:r.alertTriangle)||void 0===m?void 0:m.filename,alt:"alert",className:_o}),U?null==n?void 0:n.invalidEmailMessage:null==n?void 0:n.invalidNumberMessage)),e.createElement("div",{className:"mt-4"}),e.createElement("div",{className:"form-floating w-100"},e.createElement("input",{type:P?"text":"password",className:`form-control ${C&&"error-border"} pe-5`,id:"password",placeholder:null==n?void 0:n.passwordLabel,value:null==f?void 0:f.password,onChange:K,disabled:O,onKeyDown:Z}),e.createElement("label",{className:ro},null==n?void 0:n.passwordLabel),e.createElement("div",{className:io},e.createElement("span",{onClick:()=>!O&&T(!P)},P?e.createElement("img",{src:null===(_=null==r?void 0:r.eyeoff)||void 0===_?void 0:_.filename,alt:"eyeOff",className:uo}):e.createElement("img",{src:null===(v=null==r?void 0:r.eye)||void 0===v?void 0:v.filename,alt:"eye",className:uo}))),C&&e.createElement("p",{className:po},e.createElement("img",{src:null===(h=null==r?void 0:r.alertTriangle)||void 0===h?void 0:h.filename,alt:"alert",className:_o}),null==n?void 0:n.userNameError)),e.createElement("div",{className:"w-100 d-flex justify-content-between mt-4"},!(null==n?void 0:n.hideRemMe)&&e.createElement("label",{className:`${xo} me-auto`},e.createElement("input",{type:"checkbox",id:"remmberme",onChange:()=>Y(!H),checked:H}),null==n?void 0:n.remLabel,e.createElement("span",{className:bo},e.createElement("img",{src:null===(g=null==r?void 0:r.whiteTickmark)||void 0===g?void 0:g.filename,alt:"checkmark",role:"button",style:{marginBottom:"12px",marginLeft:"2px"}}))),(null==n?void 0:n.forgotPwdLink)&&e.createElement("a",{className:"text-decoration-none fw-bold ms-auto",onClick:()=>{G.current&&G.current.abort(),o(null==f?void 0:f.userName,{status:fe})}},null==n?void 0:n.forgotPwdLink)),e.createElement("div",null,e.createElement("button",{className:`primarybutton ${ao} mt-4`,onClick:()=>J(!0),disabled:C||!f.password||!f.userName||O||U||$||b},b?e.createElement(t.Spinner,{as:"span",animation:"border",size:"sm",role:"status","aria-hidden":"true"}):null==n?void 0:n.nextButton)),!s&&e.createElement(e.Fragment,null,e.createElement("div",{className:so}),e.createElement("a",{className:`mb-2 text-decoration-none ${mo}`,onClick:()=>{G.current&&G.current.abort(),o(null==f?void 0:f.userName,{status:me}),Gn(Pn,null==n?void 0:n.otpLink,xn),Yn(cn,"get_temporary_code",{click_text:null==n?void 0:n.otpLink})}},null==n?void 0:n.otpLink)))};var wo="ButtonStyles-module_Container__kud4M",So="ButtonStyles-module_changeButton__iri53",Co="ButtonStyles-module_continueButton__ymNDm",ko="ButtonStyles-module_inputField__4EF6W",Eo="ButtonStyles-module_outerBar__g1Iol",Po="ButtonStyles-module_innerBar__2kWNK",To="ButtonStyles-module_good__RWgrf",Oo="ButtonStyles-module_great__1RIOR",No="ButtonStyles-module_valid__RF6MZ",Lo="ButtonStyles-module_resendcontent__luDgO";S("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.ButtonStyles-module_card__33yGZ.ButtonStyles-module_sr-card__2QZyy {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.ButtonStyles-module_card__33yGZ.ButtonStyles-module_border-top__RMMxA {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .ButtonStyles-module_sr-desk-card__HfkBK {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .ButtonStyles-module_sr-mob-card__zdfKv {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .ButtonStyles-module_sr-md-card__acrtk {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.ButtonStyles-module_Container__kud4M {\n color: #3D3935;\n}\n\n.ButtonStyles-module_changeButton__iri53 {\n border: 0;\n color: #da291c;\n background: none;\n font-weight: 700;\n}\n.ButtonStyles-module_changeButton__iri53:disabled {\n color: #b3aeaa;\n}\n\n.ButtonStyles-module_continueButton__ymNDm {\n background-color: #da291c;\n font-weight: 700;\n color: #ffffff;\n border-radius: 28px;\n padding: 14px 24px;\n border: 0;\n}\n.ButtonStyles-module_continueButton__ymNDm:disabled {\n background-color: #e6e3df;\n color: #b3aeaa;\n}\n\n.ButtonStyles-module_inputField__4EF6W {\n margin-top: 24px;\n}\n.ButtonStyles-module_inputField__4EF6W input {\n border-radius: 4px;\n min-width: 100%;\n padding: 14px 12px;\n border: 1px solid #b3aeaa;\n}\n.ButtonStyles-module_inputField__4EF6W span {\n font-size: 12px;\n line-height: 16px;\n}\n\n.ButtonStyles-module_outerBar__g1Iol {\n width: 100%;\n height: 4px;\n border-radius: 4px;\n background: #e6e3df;\n margin-bottom: 24px;\n}\n.ButtonStyles-module_outerBar__g1Iol .ButtonStyles-module_innerBar__2kWNK {\n height: 100%;\n border-radius: 4px;\n}\n.ButtonStyles-module_outerBar__g1Iol .ButtonStyles-module_innerBar__2kWNK.ButtonStyles-module_good__RWgrf {\n background: #ffc805;\n}\n.ButtonStyles-module_outerBar__g1Iol .ButtonStyles-module_innerBar__2kWNK.ButtonStyles-module_great__1RIOR {\n background: #8fd200;\n}\n\n.ButtonStyles-module_valid__RF6MZ {\n color: #8fd200;\n}\n\n.ButtonStyles-module_resendcontent__luDgO {\n align-items: flex-start;\n background: #f4fbe6;\n border: 1.5px solid #8fd200;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n height: 90px;\n justify-content: center;\n padding: 16px;\n}");var Do="ReactInputSelect-module_selectcontainer__3qYm1",Io="ReactInputSelect-module_downArrowIcon__0aNJw",Ao="ReactInputSelect-module_transform180__LZhJD",Bo="ReactInputSelect-module_errormessage__b-fWF";S("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.ReactInputSelect-module_card__k6qOG.ReactInputSelect-module_sr-card__Sp5JR {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.ReactInputSelect-module_card__k6qOG.ReactInputSelect-module_border-top__trv4g {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .ReactInputSelect-module_sr-desk-card__-5yOi {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .ReactInputSelect-module_sr-mob-card__CmLYv {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .ReactInputSelect-module_sr-md-card__G8Zxs {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.ReactInputSelect-module_selectcontainer__3qYm1 {\n position: relative;\n}\n.ReactInputSelect-module_selectcontainer__3qYm1 .ReactInputSelect-module_downArrowIcon__0aNJw {\n display: inline-block;\n height: 24px;\n width: 24px;\n background-size: cover;\n background-position: center;\n margin-left: 8px;\n transform: rotate(0);\n transition: transform 0.3s;\n}\n.ReactInputSelect-module_selectcontainer__3qYm1 .ReactInputSelect-module_downArrowIcon__0aNJw.ReactInputSelect-module_transform180__LZhJD {\n transform: rotate(180deg);\n}\n.ReactInputSelect-module_selectcontainer__3qYm1 .ReactInputSelect-module_downArrowIcon__0aNJw:hover {\n cursor: pointer;\n}\n.ReactInputSelect-module_selectcontainer__3qYm1 .ReactInputSelect-module_errormessage__b-fWF {\n color: #c60047;\n font-size: 12px;\n line-height: 16px;\n margin-top: 4px;\n}");const Vo={},Mo=e.forwardRef((({name:n,options:o,content:t,disableValues:i=[],defaultValue:r=Vo,optionsValue:d="value",optionsLabel:a="label",disabled:s=!1,autoSelectValueFromOptions:c=!0,onChange:u,onSaveClicked:p=!1,menuPlacement:m,loginIcons:_=""},v)=>{var h;const[g,f]=e.useState(!1),[x,b]=e.useState(r),[y,w]=e.useState(!1),[S,C]=e.useState(!1),k=e=>{b(e),"function"==typeof u&&u(e?{name:n,value:e}:{name:n,value:{[d]:"",[a]:""}})};e.useEffect((()=>{for(let e=0;e<o.length;e++)if(o[e][d]===(null==x?void 0:x[d])){k({[d]:o[e][d],[a]:o[e][a]});break}}),[null===(h=o[0])||void 0===h?void 0:h[a]]),e.useEffect((()=>{r&&c&&b(r)}),[r]);Boolean(x)==S&&C(!S);return e.createElement("div",{className:Do},e.createElement(l,{className:`react-select-container ${S&&"errorborder"}`,name:n,instanceId:"React-select",classNamePrefix:"react-select",components:{DropdownIndicator:n=>{var o;return e.createElement(l.components.DropdownIndicator,Object.assign({},n),e.createElement("span",{className:`${Io} ${n.selectProps.menuIsOpen?Ao:""}`},e.createElement("img",{src:null===(o=null==_?void 0:_.chevronDown)||void 0===o?void 0:o.filename,alt:"chevronDown"})))},IndicatorSeparator:null},value:x,id:n,onChange:k,isClearable:!0,placeholder:"",menuPlacement:m,onFocus:()=>w(!0),onBlur:()=>{!g&&f(!0),w(!1)},backspaceRemovesValue:!0,options:o,ref:v,getOptionLabel:e=>e[a],getOptionValue:e=>e[d],filterOption:l.createFilter({ignoreCase:!0,ignoreAccents:!0,trim:!0,matchFrom:"start"}),isOptionDisabled:e=>i.includes(e[d]),isDisabled:s,isSearchable:!1}),!s&&(null==t?void 0:t.placeholder)&&e.createElement("label",{className:`${(x&&x[d]&&x[a]||y)&&"activeLabel"} selectcomplabel`},null==t?void 0:t.placeholder),S&&g&&""===(null==r?void 0:r.id)&&(null==t?void 0:t.errorMessage)&&e.createElement("span",{className:Bo},null==t?void 0:t.errorMessage))})),Ro=({useCase:n,mainContent:o,changeCurrentView:i,response:l,resetPwdSuccessContent:r,loginIcons:d,errorContent:a})=>{var s,c,u,p;const[m,_]=e.useState({}),[v,h]=e.useState([]),[g,f]=e.useState({}),[x,b]=e.useState(""),[y,w]=e.useState(""),[S,C]=e.useState(!1),[k,E]=e.useState(!1),P=e.useRef(),T=e=>{S&&P.current&&P.current.abort(),C(!0),E(!1),n===de?(i("",{status:oe}),C(!1)):e&&Me(e,null==g?void 0:g.value,P).then((e=>{(null==e?void 0:e.status)&&"NOK"!==(null==e?void 0:e.status)&&"ERROR"!==(null==e?void 0:e.status)?i("",e):E(!0),C(!1)})).catch((e=>{C(!1),E(!0),console.log(e)}))};return e.useEffect((()=>{var e,t,i,d,a,s,c,u,p;o&&(n===te&&(null===(e=null==o?void 0:o.depSmsSection)||void 0===e?void 0:e.length)>0&&_(null===(t=null==o?void 0:o.depSmsSection)||void 0===t?void 0:t[0]),n===ie&&((null==l?void 0:l.msisdn)&&(null===(i=null==o?void 0:o.depEmailSection)||void 0===i?void 0:i.length)>0?_(null===(d=null==o?void 0:o.depEmailSection)||void 0===d?void 0:d[0]):_(null===(a=null==o?void 0:o.depEmailSectionV2)||void 0===a?void 0:a[0])),n===le&&(null===(s=null==o?void 0:o.emailDeprecatedSection)||void 0===s?void 0:s.length)>0&&_(null===(c=null==o?void 0:o.emailDeprecatedSection)||void 0===c?void 0:c[0]),n===re&&(null===(u=null==o?void 0:o.otpNumListSection)||void 0===u?void 0:u.length)>0&&_(null===(p=null==o?void 0:o.otpNumListSection)||void 0===p?void 0:p[0]),n===de&&r&&_(r))}),[n,o,l]),e.useEffect((()=>{var e,o;if(n)switch(n){case te:w(ge),b(he);break;case ie:(null==l?void 0:l.msisdn)?(w(ge),b(he)):(w(ve),b("OTP_CONTINUE"));break;case le:b(ve);break;case re:w(ve),b(re);break;case de:b(de)}if(l&&(null==l?void 0:l.recipients)&&(null===(e=null==Object?void 0:Object.keys(null==l?void 0:l.recipients))||void 0===e?void 0:e.length)>0&&n===re){const e=null===(o=(null==Object?void 0:Object.values(null==l?void 0:l.recipients))||[])||void 0===o?void 0:o.map(((e,n)=>{var o;return{value:`${n+1}`,name:0===n?`${null!=e?e:""} ${null!==(o=null==m?void 0:m.currentLbl)&&void 0!==o?o:""}`:null!=e?e:""}}));(null==e?void 0:e.length)>0&&(h(e),f(null==e?void 0:e[0]))}}),[l,m]),e.createElement("div",null,n===de&&e.createElement("img",{src:null!==(c=null===(s=null==d?void 0:d.checkmark)||void 0===s?void 0:s.filename)&&void 0!==c?c:"",alt:"chekcmark",className:"mb-4 d-flex mx-auto",width:72,height:72}),(null==m?void 0:m.title)&&e.createElement("h2",{className:"text-center my-4 p-0"},null==m?void 0:m.title),(null==m?void 0:m.description)&&e.createElement("div",{className:""+(n===de?"text-center":"")},e.createElement(en,{content:JSON.parse(qe(JSON.stringify(null==m?void 0:m.description),n===ie?(null==l?void 0:l.msisdn)?[null==l?void 0:l.recipient,null==l?void 0:l.msisdn]:[null==l?void 0:l.date]:n===te?[null==l?void 0:l.recipient]:[]))})),(null==v?void 0:v.length)>0&&n===re&&e.createElement("div",{className:"my-4"},e.createElement(Mo,{name:"phone number",content:m,options:v,optionsValue:"value",defaultValue:g,optionsLabel:"name",autoSelectValueFromOptions:!1,onChange:e=>{var n,o,t,i;f({value:null!==(o=null===(n=null==e?void 0:e.value)||void 0===n?void 0:n.value)&&void 0!==o?o:"",name:null!==(i=null===(t=null==e?void 0:e.value)||void 0===t?void 0:t.name)&&void 0!==i?i:""})},disableValues:["empty"],loginIcons:d}),k&&(null==a?void 0:a.technicalError)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(u=null==d?void 0:d.alertTriangle)||void 0===u?void 0:u.filename,alt:"alert",className:_o}),null==a?void 0:a.technicalError)),((null==m?void 0:m.primaryBtnLbl)||(null==m?void 0:m.secondaryBtnLbl))&&e.createElement("div",{className:"mt-4"},S&&e.createElement(t.Spinner,{as:"span",animation:"border",size:"sm",role:"status","aria-hidden":"true",className:"d-block mx-auto mb-3"}),k&&(null==a?void 0:a.technicalError)&&e.createElement("p",{className:`${po} mb-2 mt-0 position-static h-auto justify-content-center`},e.createElement("img",{src:null===(p=null==d?void 0:d.alertTriangle)||void 0===p?void 0:p.filename,alt:"alert",className:_o}),null==a?void 0:a.technicalError),e.createElement("div",{className:"d-flex justify-content-center gap-4"},(null==m?void 0:m.secondaryBtnLbl)&&n!==le&&e.createElement("button",{className:So,onClick:()=>T(y),disabled:S},null==m?void 0:m.secondaryBtnLbl),(null==m?void 0:m.primaryBtnLbl)&&e.createElement("button",{className:Co,onClick:()=>T(x),disabled:S},null==m?void 0:m.primaryBtnLbl))))},Fo=({useCase:n,content:o,changeCurrentView:i,metadata:l,userID:r,loginIcons:d,response:a,errorContent:s})=>{var c,u,p;const m=/^[0-9]+$/,[_,v]=e.useState(!0),[h,g]=e.useState(null!=r?r:""),[f,x]=e.useState(!1),[b,y]=e.useState(!1),[w,S]=e.useState(!1),C=e.useRef(),k=e=>{g(e),y(!1),m.test(e)&&(null==e?void 0:e.length)>=10?v(!1):v(!0)},P=()=>{if(f&&C.current&&C.current.abort(),x(!0),S(!1),y(!1),n===pe&&Me(n,h,C).then((e=>{x(!1),(null==e?void 0:e.status)?"MSISDN_INVALID"===(null==e?void 0:e.error)||"NOK"===(null==e?void 0:e.status)?y(!0):"ERROR"!==(null==e?void 0:e.status)?i("",e):S(!0):S(!0)})).catch((e=>{x(!1),S(!0),console.log(e)})),n===me||n===fe){const e=Ae(De(h));Re(n,null==E?void 0:E.LOGIN_OTP,e,"",C,null==l?void 0:l.lang).then((e=>{x(!1),(null==e?void 0:e.status)&&"NOK"!==(null==e?void 0:e.status)&&"ERROR"!==(null==e?void 0:e.status)?i("",e):S(!0)})).catch((e=>{x(!1),S(!0),console.log(e)}))}};return e.useEffect((()=>{r&&k(r)}),[r]),e.useEffect((()=>{n===pe&&(null==a?void 0:a.msisdn)&&!isNaN(Number(null==a?void 0:a.msisdn))&&k(null==a?void 0:a.msisdn)}),[a,n]),e.createElement("div",{className:wo},(null==o?void 0:o.title)&&e.createElement("h2",{className:"text-center mb-4 mt-4"},null==o?void 0:o.title),(null==o?void 0:o.descriptionV2)&&e.createElement(en,{content:null==o?void 0:o.descriptionV2}),e.createElement("div",{className:`form-floating w-100 ${ko}`},e.createElement("input",{type:"number",id:n,placeholder:null!==(c=null==o?void 0:o.userNameLabel)&&void 0!==c?c:"",value:h,className:`form-control ${(w||b)&&"error-border mb-4"}`,onChange:e=>{var n;return k(null===(n=null==e?void 0:e.target)||void 0===n?void 0:n.value)},onKeyDown:e=>{"Enter"!==(null==e?void 0:e.key)||_||f||P()}}),(null==o?void 0:o.userNameLabel)&&e.createElement("label",{className:`text-truncate w-100 ${ro}`},null==o?void 0:o.userNameLabel),b&&(null==s?void 0:s.invalidNumberMessage)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(u=null==d?void 0:d.alertTriangle)||void 0===u?void 0:u.filename,alt:"alert",className:_o}),null==s?void 0:s.invalidNumberMessage),w&&(null==s?void 0:s.technicalError)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(p=null==d?void 0:d.alertTriangle)||void 0===p?void 0:p.filename,alt:"alert",className:_o}),null==s?void 0:s.technicalError),(null==o?void 0:o.infoText)&&e.createElement("span",null,null==o?void 0:o.infoText)),(null==o?void 0:o.buttonLabel)&&e.createElement("div",{className:"text-center mt-4"},f&&e.createElement(t.Spinner,{as:"span",animation:"border",size:"sm",role:"status","aria-hidden":"true",className:"d-block mx-auto mb-3"}),e.createElement("button",{className:Co,disabled:_||f,onClick:P},null==o?void 0:o.buttonLabel)))},jo=({useCase:n,mainContent:o,changeCurrentView:i,response:l,loginIcons:r,onSuccess:d,errorContent:a})=>{var s,c,u,p,m,_;const v=/^[0-9]+$/,[h,g]=e.useState(!0),[f,x]=e.useState(0),[b,y]=e.useState(!1),[w,S]=e.useState(""),[C,k]=e.useState({}),[E,P]=e.useState(!1),[T,O]=e.useState(!1),[N,L]=e.useState(!1),[D,I]=e.useState(!1),A=e.useRef();e.useEffect((()=>{var e,t,i,l,r,d,a,s;o&&(n===ae&&(null===(e=null==o?void 0:o.smsOldSection)||void 0===e?void 0:e.length)>0&&k(null===(t=null==o?void 0:o.smsOldSection)||void 0===t?void 0:t[0]),n===se&&(null===(i=null==o?void 0:o.smsNewSection)||void 0===i?void 0:i.length)>0&&k(null===(l=null==o?void 0:o.smsNewSection)||void 0===l?void 0:l[0]),n===ce&&(null===(r=null==o?void 0:o.otpSmsSection)||void 0===r?void 0:r.length)>0&&k(null===(d=null==o?void 0:o.otpSmsSection)||void 0===d?void 0:d[0]),n===ue&&(null===(a=null==o?void 0:o.otpEmailSection)||void 0===a?void 0:a.length)>0&&k(null===(s=null==o?void 0:o.otpEmailSection)||void 0===s?void 0:s[0]))}),[o]),e.useEffect((()=>{if(b){let e=(null==o?void 0:o.OTPResendCount)||60;x(e);const n=setInterval((()=>{x(--e),e<=0&&(clearInterval(n),y(!1))}),1e3);return()=>{y(!1),clearTimeout(n)}}}),[b]),e.useEffect((()=>{y(!0)}),[]);const B=()=>{E&&A.current&&A.current.abort(),I(!1),P(!0),L(!1),O(!1),Me(n,w,A).then((e=>{(null==e?void 0:e.status)?"OK"===(null==e?void 0:e.status)?(localStorage.setItem("existingUser","true"),d()):"OTP_WRONG"===(null==e?void 0:e.error)?O(!0):"NOK"!==(null==e?void 0:e.status)&&"ERROR"!==(null==e?void 0:e.status)?i("",e):L(!0):L(!0),P(!1)})).catch((e=>{P(!1),L(!0),console.log(e)}))};return e.createElement("div",{className:wo},(null==C?void 0:C.title)&&e.createElement("h2",{className:"text-center mb-4 mt-4"},null==C?void 0:C.title),D&&(null==C?void 0:C.resendInfo)&&e.createElement(e.Fragment,null,e.createElement("div",{className:Lo},e.createElement("span",{style:{display:"inline-flex"}},e.createElement("div",{style:{paddingRight:"10px"}},e.createElement("img",{src:null===(s=null==r?void 0:r.checkmark)||void 0===s?void 0:s.filename,alt:"error",width:24,height:24})," "),(null==C?void 0:C.resendInfo)&&e.createElement(en,{content:null==C?void 0:C.resendInfo}))),e.createElement("div",{className:"mt-4"})),e.createElement("p",null,(null==C?void 0:C.descriptionFirst)&&e.createElement("div",null,e.createElement(en,{content:JSON.parse(qe(JSON.stringify(null==C?void 0:C.descriptionFirst),[null!==(c=null==l?void 0:l.recipient)&&void 0!==c?c:" "]))})),e.createElement("div",null,(null==C?void 0:C.descSecStart)&&e.createElement(e.Fragment,null,e.createElement("br",null),null==C?void 0:C.descSecStart),(null==C?void 0:C.descSecSplitLink)&&e.createElement("span",{className:fo,onClick:()=>{A.current&&A.current.abort(),i("",{status:oe})}},null==C?void 0:C.descSecSplitLink),(null==C?void 0:C.descSecEnd)&&e.createElement(e.Fragment,null,null==C?void 0:C.descSecEnd))),e.createElement("div",{className:`form-floating w-100 ${ko}`},e.createElement("input",{type:"number",id:n,placeholder:"Temporary code",value:w,className:`form-control ${(N||T)&&"error-border mb-4"}`,onChange:e=>{var n,o,t,i;S(null===(n=null==e?void 0:e.target)||void 0===n?void 0:n.value),O(!1),I(!1),v.test(null===(o=null==e?void 0:e.target)||void 0===o?void 0:o.value)&&6===(null===(i=null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)||void 0===i?void 0:i.length)?g(!1):g(!0)},onKeyDown:e=>{"Enter"!==(null==e?void 0:e.key)||h||E||B()},maxLength:6,autoComplete:"one-time-code"}),(null==C?void 0:C.otpLabel)&&e.createElement("label",{className:`text-truncate w-100 ${ro}`},null==C?void 0:C.otpLabel),T&&(null==a?void 0:a.tempCodeError)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(u=null==r?void 0:r.alertTriangle)||void 0===u?void 0:u.filename,alt:"alert",className:_o}),null==a?void 0:a.tempCodeError),N&&(null==a?void 0:a.technicalError)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(p=null==r?void 0:r.alertTriangle)||void 0===p?void 0:p.filename,alt:"alert",className:_o}),null==a?void 0:a.technicalError)),0===f?e.createElement("div",{className:"text-center fw-bold mt-2",style:{color:"#da291c"},onClick:()=>{A.current&&A.current.abort(),I(!0),y(!0),Me("OTP_RESEND","",A).then((e=>{(null==e?void 0:e.status)&&"NOK"!==(null==e?void 0:e.status)&&"ERROR"!==(null==e?void 0:e.status)?i("",e):L(!0)}))}},null!==(m=null==C?void 0:C.resendCodeLabel)&&void 0!==m?m:""):e.createElement("div",{className:"text-center fw-bold mt-2"},null!==(_=qe(null==C?void 0:C.resendTimeLabel,[f]))&&void 0!==_?_:""),(null==C?void 0:C.buttonLabel)&&e.createElement("div",{className:"text-center mt-4"},E&&e.createElement(t.Spinner,{as:"span",animation:"border",size:"sm",role:"status","aria-hidden":"true",className:"d-block mx-auto mb-3"}),e.createElement("button",{className:Co,disabled:h||E,onClick:B},null==C?void 0:C.buttonLabel)))},Uo=({content:n,useCase:o,loginIcons:i,changeCurrentView:l,errorContent:r})=>{var d,a,s,c,u,p,m;const[_,v]=e.useState(""),[h,g]=e.useState(""),[f,x]=e.useState(!1),[b,y]=e.useState(!1),[w,S]=e.useState(!1),[C,k]=e.useState([]),[E,P]=e.useState(0),[T,O]=e.useState(!1),[N,L]=e.useState({showPswd:!1,showConfirmPswd:!1}),D=0===E?0:E/(null==C?void 0:C.length)*100,I=e.useRef(),A=e=>{var n,o,t,i;const l=null!==(o=null===(n=null==e?void 0:e.target)||void 0===n?void 0:n.value)&&void 0!==o?o:"",r=null!==(i=null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.id)&&void 0!==i?i:"";"password"===r&&v(l),"confirmPassword"===r&&g(l)},B=()=>{T&&I.current&&I.current.abort(),O(!0),S(!1),Me(o,_,I).then((e=>{(null==e?void 0:e.status)&&"NOK"!==(null==e?void 0:e.status)&&"ERROR"!==(null==e?void 0:e.status)?l("",e):S(!0),O(!1)})).catch((e=>{O(!1),S(!0),console.log(e)}))},V=e=>{"Enter"!==(null==e?void 0:e.key)||_!==h||""===_||""===h||T||E!==(null==C?void 0:C.length)||B()};return e.useEffect((()=>{var e,o;if((null===(e=null==n?void 0:n.pwdReqList)||void 0===e?void 0:e.length)>0){let e=0;const t=null===(o=(null==n?void 0:n.pwdReqList)||[])||void 0===o?void 0:o.map((n=>{var o,t;const i=null===(o=new RegExp(null==n?void 0:n.key))||void 0===o?void 0:o.test(_);return i&&(e+=1),{value:null!==(t=null==n?void 0:n.value)&&void 0!==t?t:"",isValid:i}}));P(e),k(t)}}),[_,n]),e.useEffect((()=>{y(""!==_&&""!==h&&_===h&&100===D),x(""!==h&&_!==h),w&&S(!1)}),[_,h]),e.createElement("div",null,n&&e.createElement(e.Fragment,null,(null==n?void 0:n.title)&&e.createElement("h2",{className:"p-0 my-4 text-center"},null==n?void 0:n.title),(null==n?void 0:n.description)&&e.createElement(en,{content:null==n?void 0:n.description}),e.createElement("div",{className:"form-floating w-100 mt-4"},e.createElement("input",{type:(null==N?void 0:N.showPswd)?"text":"password",className:`${b&&to} form-control ${f&&"error-border"} pe-5`,id:"password",placeholder:null==n?void 0:n.newPwdPlaceholder,value:_,onChange:A,onKeyDown:V}),e.createElement("label",{className:ro},null==n?void 0:n.newPwdPlaceholder),e.createElement("div",{className:io},e.createElement("span",{onClick:()=>L(Object.assign(Object.assign({},N),{showPswd:!(null==N?void 0:N.showPswd)}))},(null==N?void 0:N.showPswd)?e.createElement("img",{src:null===(d=null==i?void 0:i.eyeoff)||void 0===d?void 0:d.filename,alt:"eyeOff",className:uo}):e.createElement("img",{src:null===(a=null==i?void 0:i.eye)||void 0===a?void 0:a.filename,alt:"eye",className:uo})))),e.createElement("div",{className:`form-floating w-100 mt-4 ${f&&"mb-4"}`},e.createElement("input",{type:(null==N?void 0:N.showConfirmPswd)?"text":"password",className:`${b&&to} form-control ${f&&"error-border"} pe-5`,id:"confirmPassword",placeholder:null==n?void 0:n.cnfrmPwdPlaceholder,value:h,onChange:A,onKeyDown:V}),e.createElement("label",{className:ro},null==n?void 0:n.cnfrmPwdPlaceholder),e.createElement("div",{className:io},e.createElement("span",{onClick:()=>L(Object.assign(Object.assign({},N),{showConfirmPswd:!(null==N?void 0:N.showConfirmPswd)}))},(null==N?void 0:N.showConfirmPswd)?e.createElement("img",{src:null===(s=null==i?void 0:i.eyeoff)||void 0===s?void 0:s.filename,alt:"eyeOff",className:uo}):e.createElement("img",{src:null===(c=null==i?void 0:i.eye)||void 0===c?void 0:c.filename,alt:"eye",className:uo}))),f&&(null==r?void 0:r.resetPwdError)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(u=null==i?void 0:i.alertTriangle)||void 0===u?void 0:u.filename,alt:"alert",className:_o}),null==r?void 0:r.resetPwdError),w&&(null==r?void 0:r.technicalError)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(p=null==i?void 0:i.alertTriangle)||void 0===p?void 0:p.filename,alt:"alert",className:_o}),null==r?void 0:r.technicalError)),e.createElement("div",null,(null==n?void 0:n.pwdStrngthLbl)&&e.createElement("div",{className:"mt-4 mb-1"},null==n?void 0:n.pwdStrngthLbl),e.createElement("div",{className:Eo},e.createElement("div",{className:`${Po} ${E===(null==C?void 0:C.length)?Oo:To}`,style:{width:`${D}%`}})),(null==C?void 0:C.length)>0&&(null===(m=C||[])||void 0===m?void 0:m.map((n=>{var o,t;return e.createElement("div",{className:`${(null==n?void 0:n.isValid)?No:""} d-flex align-items-center`},e.createElement("img",{src:(null==n?void 0:n.isValid)?null===(o=null==i?void 0:i.greenTickmark)||void 0===o?void 0:o.filename:null===(t=null==i?void 0:i.greyTickmark)||void 0===t?void 0:t.filename,alt:"tick",width:16,height:16,className:"me-1"}),null==n?void 0:n.value)})))),(null==n?void 0:n.cnfrmBtnLbl)&&e.createElement("div",{className:"text-center mt-4"},T&&e.createElement(t.Spinner,{as:"span",animation:"border",size:"sm",role:"status","aria-hidden":"true",className:"d-block mx-auto mb-3"}),e.createElement("button",{className:Co,onClick:B,disabled:_!==h||""===_||""===h||T||E!==(null==C?void 0:C.length)},null==n?void 0:n.cnfrmBtnLbl))))},zo=({content:n,closeLogin:o,metadata:t,onSuccess:i,isProdEnv:l=!0})=>{var r,d;const[a,s]=e.useState(n),[c,u]=e.useState(oe),[p,m]=e.useState(""),[_,v]=e.useState(n),[h,g]=e.useState(""),[f,x]=e.useState(""),[b,y]=e.useState(n),[w,S]=e.useState(n),[C,k]=e.useState(n),[E,P]=e.useState(n),T=e.useRef();e.useEffect((()=>{var e,o,t,i,l,r,d,a,c,u,p,m,_,h,g,f,x,b,w,C,E,T,O,N,L,D,I,A,B,V,M,R,F,j,U,z,$,W;n&&("loginPageTemplate"===(null===(o=null===(e=null==n?void 0:n.reference)||void 0===e?void 0:e.content)||void 0===o?void 0:o.component)?(s(null===(d=null===(r=null===(l=null===(i=null===(t=null==n?void 0:n.reference)||void 0===t?void 0:t.content)||void 0===i?void 0:i.body)||void 0===l?void 0:l[0])||void 0===r?void 0:r.popup)||void 0===d?void 0:d[0]),v(null===(m=null===(p=null===(u=null===(c=null===(a=null==n?void 0:n.reference)||void 0===a?void 0:a.content)||void 0===c?void 0:c.body)||void 0===u?void 0:u[0])||void 0===p?void 0:p.icons)||void 0===m?void 0:m[0]),y(null===(x=null===(f=null===(g=null===(h=null===(_=null==n?void 0:n.reference)||void 0===_?void 0:_.content)||void 0===h?void 0:h.body)||void 0===g?void 0:g[0])||void 0===f?void 0:f.mfaV2)||void 0===x?void 0:x[0]),S(null===(T=null===(E=null===(C=null===(w=null===(b=null==n?void 0:n.reference)||void 0===b?void 0:b.content)||void 0===w?void 0:w.body)||void 0===C?void 0:C[0])||void 0===E?void 0:E.forgotPwd)||void 0===T?void 0:T[0]),k(null===(I=null===(D=null===(L=null===(N=null===(O=null==n?void 0:n.reference)||void 0===O?void 0:O.content)||void 0===N?void 0:N.body)||void 0===L?void 0:L[0])||void 0===D?void 0:D.resetPwd)||void 0===I?void 0:I[0]),P(null===(R=null===(M=null===(V=null===(B=null===(A=null==n?void 0:n.reference)||void 0===A?void 0:A.content)||void 0===B?void 0:B.body)||void 0===V?void 0:V[0])||void 0===M?void 0:M.resetPwdSuccess)||void 0===R?void 0:R[0])):(s(null===(F=null==n?void 0:n.popup)||void 0===F?void 0:F[0]),v(null===(j=null==n?void 0:n.icons)||void 0===j?void 0:j[0]),y(null===(U=null==n?void 0:n.mfaV2)||void 0===U?void 0:U[0]),S(null===(z=null==n?void 0:n.forgotPwd)||void 0===z?void 0:z[0]),k(null===($=null==n?void 0:n.resetPwd)||void 0===$?void 0:$[0]),P(null===(W=null==n?void 0:n.resetPwdSuccess)||void 0===W?void 0:W[0])))}),[n]);const O=(e,n,o)=>{""!==e&&m(e),u(null==n?void 0:n.status),g(n),x(o)};return e.createElement("div",{className:oo},e.createElement("div",{className:"w-100 h-100 d-flex position-relative justify-content-center align-items-center"},e.createElement("div",{className:`${Zn}`},e.createElement("div",{className:"position-relative w-100",role:"button"},c!==oe&&c!==de&&e.createElement("span",{style:{display:"flex",width:"fit-content"},onClick:()=>{T.current&&T.current.abort(),Me("BACK","",T).then((e=>{(null==e?void 0:e.status)&&"NOK"!==(null==e?void 0:e.status)&&"ERROR"!==(null==e?void 0:e.status)?O("",e):O(p,{status:oe},f)})).catch((()=>O(p,{status:oe})))}},e.createElement("img",{src:null===(r=null==_?void 0:_.back)||void 0===r?void 0:r.filename,className:`${eo}`,alt:"back"}),e.createElement("div",{className:`${no}`},null==a?void 0:a.backTxt)),e.createElement("img",{src:null===(d=null==_?void 0:_.close)||void 0===d?void 0:d.filename,className:`${eo} position-absolute end-0 top-0`,alt:"close",onClick:o})),e.createElement("div",{className:"w-100 d-flex align-items-center flex-column"},(()=>{var n,o;switch(c){case oe:return e.createElement(yo,{content:a,changeCurrentView:O,metadata:t,onSuccess:i,loginIcons:_,userID:p,password:f,isProdEnv:l});case te:case ie:case le:case re:case de:return e.createElement(Ro,{useCase:c,mainContent:null!=b?b:{},changeCurrentView:O,response:h,resetPwdSuccessContent:E,loginIcons:_,errorContent:a});case ae:case se:case ce:case ue:return e.createElement(jo,{useCase:c,mainContent:null!=b?b:{},changeCurrentView:O,response:h,loginIcons:_,onSuccess:i,errorContent:a});case pe:return e.createElement(Fo,{useCase:c,content:null!==(o=null===(n=null==b?void 0:b.newNumberSection)||void 0===n?void 0:n[0])&&void 0!==o?o:{},changeCurrentView:O,loginIcons:_,response:h,errorContent:a});case me:case fe:return e.createElement(Fo,{useCase:c,content:null!=w?w:{},changeCurrentView:O,metadata:t,loginIcons:_,userID:p,errorContent:a});case _e:return e.createElement(Uo,{content:C,useCase:c,loginIcons:_,changeCurrentView:O,errorContent:a});default:return e.createElement(e.Fragment,null)}})()))))};S(".linetable-countryOverlay-linkTextNew {\n color: #da291c;\n margin-left: 32px;\n margin-bottom: 4px;\n text-decoration: underline;\n cursor: pointer;\n font-size: 16px;\n line-height: 24px;\n}\n\n.linetable-countryOverlay-utils-noWrap {\n white-space: nowrap;\n}\n\n.linetable-countryOverlay-utils-colWidth {\n max-width: 210px;\n}\n\n.linetable-countryOverlay-contain {\n display: flex;\n align-items: first baseline;\n padding-top: 10px;\n}\n\n.linetable-countryOverlay-image {\n width: 24px;\n height: 16px;\n}\n\n.linetable-countryOverlay-name {\n color: #000000;\n align-items: center;\n padding-left: 16px;\n font-style: normal;\n font-weight: 400;\n font-size: 14px;\n line-height: 32px;\n}\n.linetable-countryOverlay-blackthemecolor {\n color: #ffffff !important;\n}\n\n.linetable-countryOverlay-desktopView {\n display: block;\n}\n.linetable-countryOverlay-mobView {\n display: none;\n}\n@media (max-width: 767px) {\n .linetable-countryOverlay-linkTextNew {\n font-size: 14px;\n line-height: 24px;\n }\n}\n\n@media (min-width: 1440px) {\n .linetable-countryOverlay-desktopView {\n display: block;\n }\n .linetable-countryOverlay-mobView {\n display: none;\n }\n}\n@media (max-width: 1023px) {\n .linetable-countryOverlay-desktopView {\n display: none;\n }\n .linetable-countryOverlay-mobView {\n display: block;\n width: 100%;\n }\n}\n.reusbablelnetable-margin {\n margin-left: 0;\n}\n");S(".dbold {\n font-weight: 500;\n font-size: 40px;\n line-height: 60px;\n}\n");const $o=({content:n})=>{var o;const t=Fe((null==n?void 0:n.textColor)&&n.textColor),i=(null==n?void 0:n.textColor)&&n.textColor!=B?t:"",l=(null==n?void 0:n.textColor)&&n.textColor===B?{color:null===(o=n.textColorPicker)||void 0===o?void 0:o.color}:{};return e.createElement(e.Fragment,null,n.headingStyle&&n.text&&"h1"===n.headingStyle?e.createElement("h1",{className:i,style:Object.assign({},l)},n.text," "):"h2"===n.headingStyle?e.createElement("h2",{className:`${i}`,style:Object.assign({},l)},n.text):"h3"===n.headingStyle?e.createElement("h3",{className:i,style:Object.assign({},l)},n.text):"h4"===n.headingStyle?e.createElement("h4",{className:i,style:Object.assign({},l)},n.text):e.createElement("div",{className:"dbold",style:Object.assign({},l)},n.text))},Wo=({content:n})=>{var o;const t=Fe(n.textColor);return e.createElement(e.Fragment,null,e.createElement("div",{className:`d-inline-flex align-${n.textElementPosition}`},n.icon&&n.icon.filename&&e.createElement("img",{src:n.icon&&n.icon.filename,alt:n.icon&&n.icon.alt,title:n.icon&&n.icon.title,height:24,width:24}),n.text&&e.createElement("div",{className:`${n.icon&&n.icon.filename} ${n.textColor&&n.textColor!=B?t:""}`,style:Object.assign({},n.textColor&&n.textColor===B?{color:null===(o=n.textColorPicker)||void 0===o?void 0:o.color}:{})},e.createElement(en,{content:n.text}))))};S(".linetable-country-overlayModal {\n max-width: 900px;\n padding: 1rem 2rem;\n}\n");const Ho=({children:n,modalState:o,handler:t,noCloseButton:i,showBackBtn:l,overlay:a})=>{const[s,c]=e.useState(),[u,p]=e.useState();return e.useEffect((()=>{a.map((e=>{var n;null===(n=null==e?void 0:e.content)||void 0===n||n.body.map((e=>{"falconTitle"==(null==e?void 0:e.component)&&c(e),"falconDescription"==(null==e?void 0:e.component)&&p(e)}))}))}),[a]),e.createElement(e.Fragment,null,e.createElement(r,{centered:!0,show:o,onHide:t,keyboard:!1,dialogClassName:"linetable-country-overlayModal"},e.createElement(r.Header,null,e.createElement("div",{style:{display:i?"none":""}},e.createElement("div",{className:"d-flex align-items-center"},l&&e.createElement("div",{className:"me-sm-4 me-3 d-flex align-items-center",onClick:t},e.createElement("img",{src:"../../icons/left_arrow.svg",alt:"arrow"})),s&&e.createElement($o,{content:s}))),e.createElement("div",{style:{display:i?"none":""}},e.createElement(d,{className:"sr-modal-close",onClick:t}))),e.createElement(r.Body,null,n),e.createElement(r.Footer,null,u&&e.createElement(Wo,{content:u}))))};S(".linetable-dotLoader-loaderParent {\n width: 100%;\n position: fixed;\n z-index: 3;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background-color: rgba(255, 255, 255, 0.8);\n display: flex;\n flex-direction: column;\n}\n.linetable-dotLoader-dotClass {\n justify-content: center;\n display: flex;\n z-index: 1;\n}\n.linetable-dotLoader-dotContent {\n display: flex;\n justify-content: center;\n animation: contentplay 2s linear 0s infinite;\n}\n@keyframes dotplay {\n 0%,\n 20% {\n transform: translateY(0);\n }\n 10% {\n transform: translateY(-20px);\n }\n}\n.linetable-dotLoader-dots:nth-child(1) {\n animation-delay: 0.4s;\n}\n.linetable-dotLoader-dots:nth-child(2) {\n animation-delay: 0.8s;\n}\n.linetable-dotLoader-dots:nth-child(3) {\n animation-delay: 1.2s;\n}\n.linetable-dotLoader-dots:nth-child(4) {\n animation-delay: 1.6s;\n}\n.linetable-dotLoader-dots {\n margin: 5px 2px;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: linear-gradient(180deg, #e2271e 0%, #ef7c3c 100%);\n animation: dotplay 2s linear 0s infinite;\n}\n@keyframes contentplay {\n 0% {\n opacity: 0.2;\n }\n 30% {\n opacity: 1;\n }\n}\n");const Yo=({keyParams:n})=>{const[o,t]=e.useState(0),[i,l]=e.useState({}),r={checkout:[null==i?void 0:i.uspFreeShipping,null==i?void 0:i.uspBestService,null==i?void 0:i.uspCheckout],loading:[null==i?void 0:i.loading]},d=n?r[`${n}`]:r.checkout;return e.useEffect((()=>{l(We("sbstaticcontent"))}),[]),e.useEffect((()=>{let e=d.length-1;t(e);const n=setInterval((()=>{t(e--),e<0&&(e=d.length-1)}),2e3);return()=>{clearTimeout(n)}}),[]),e.createElement("div",{className:"d-flex align-items-center justify-content-center linetable-dotLoader-loaderParent"},e.createElement("div",{className:"linetable-dotLoader-dotClass"},e.createElement("div",{className:"linetable-dotLoader-dots"}),e.createElement("div",{className:"linetable-dotLoader-dots"}),e.createElement("div",{className:"linetable-dotLoader-dots"}),e.createElement("div",{className:"linetable-dotLoader-dots"})),e.createElement("div",null,e.createElement("h4",{className:"linetable-dotLoader-dotContent"},d[o]," ")))},Go=e=>{const n=[];return null==e||e.map((e=>{const o=Number(null==e?void 0:e.order)||999,t=null==e?void 0:e.cProd;t.sortOrder=o,null==n||n.push(t)})),null==n||n.sort(((e,n)=>(null==e?void 0:e.sortOrder)-(null==n?void 0:n.sortOrder))),n},qo=e=>{var n;const o=[];return null===(n=e||[])||void 0===n||n.forEach((e=>{o.push({id:e,name:e})})),o},Ko=(e,n,o,t,i,l)=>{var r,d,a,s,c,u,p,m,_,v,h,g,f,x,b,y,w,S,C,k,E,P,T,O,N,L;const D=null!==(c=null===(s=null===(a=null===(d=null===(r=null==t?void 0:t.selectedVarientDetails)||void 0===r?void 0:r.hardwarePrices)||void 0===d?void 0:d.smartUpgradeInstallments)||void 0===a?void 0:a.insurance)||void 0===s?void 0:s.value)&&void 0!==c?c:0,I=null!==(v=null===(_=null===(m=null===(p=null===(u=null==t?void 0:t.selectedVarientDetails)||void 0===u?void 0:u.hardwarePrices)||void 0===p?void 0:p.smartUpgradeInstallments)||void 0===m?void 0:m.upFrontPayment)||void 0===_?void 0:_.value)&&void 0!==v?v:"";let A="";if("undefined"!=typeof window){const e=window.location.href,n=window.document.documentElement.getAttribute("lang"),o=null==e?void 0:e.search(`/${n}`);A=null==e?void 0:e.slice(o)}const B={hardwareVariant:{id:null===(h=null==t?void 0:t.selectedVarientDetails)||void 0===h?void 0:h.id,note:Jo(t,I),hardwarePrices:null===(g=null==t?void 0:t.selectedVarientDetails)||void 0===g?void 0:g.hardwarePrices,selectedContractType:Y,deviceRedirectUrl:"",buyBackPrice:[],itemType:G,insuranceName:D&&null!==(f=null==e?void 0:e.insuranceId)&&void 0!==f?f:"",insurancePrice:D||""},checkSubscriptions:{simSelectedType:"",enableV2Layout:!0,enableNoSubscriptionFlow:!0,dpSubsidyRatePlanPromoId:"",flowType:"dpTable",enableRecommendedAccessory:JSON.parse(null!==(S=null===(w=null===(y=null===(b=null===(x=null==t?void 0:t.selectedVarientDetails)||void 0===x?void 0:x.classificationAttribute)||void 0===b?void 0:b.filter((e=>"recommendAccessory"===e.name)))||void 0===y?void 0:y[0])||void 0===w?void 0:w.value)&&void 0!==S?S:"false")},subscription:{mobileSubscription:null==n?void 0:n.mobProductId,mobileSubscriptionPromo:(null===(E=null===(k=null===(C=null==o?void 0:o[null==n?void 0:n.mobProductId])||void 0===C?void 0:C.promotionInfo)||void 0===k?void 0:k[0])||void 0===E?void 0:E.id)?null===(O=null===(T=null===(P=null==o?void 0:o[null==n?void 0:n.mobProductId])||void 0===P?void 0:P.promotionInfo)||void 0===T?void 0:T[0])||void 0===O?void 0:O.id:U,originalPrice:null!==(N=null==i?void 0:i.totalBasePrice)&&void 0!==N?N:0,discountedPrice:null!==(L=null==i?void 0:i.totalDiscountedPrice)&&void 0!==L?L:0,ubRedirectUrl:Je(A)}};B&&sessionStorage.setItem(W,JSON.stringify(B)),window.location.href=l},Jo=(e,n)=>{var o,t,i,l,r,d,a,s,c,u,p,m,_;const v=null===(t=null===(o=null==e?void 0:e.selectedVarientDetails)||void 0===o?void 0:o.hardwarePrices)||void 0===t?void 0:t.MARKET,h=Number(null===(d=null===(r=null===(l=null===(i=null==e?void 0:e.selectedVarientDetails)||void 0===i?void 0:i.hardwarePrices)||void 0===l?void 0:l.installments)||void 0===r?void 0:r.monthlyInstallment)||void 0===d?void 0:d.value)-Number(null===(u=null===(c=null===(s=null===(a=null==e?void 0:e.selectedVarientDetails)||void 0===a?void 0:a.hardwarePrices)||void 0===s?void 0:s.smartUpgradeInstallments)||void 0===c?void 0:c.monthlyInstallment)||void 0===u?void 0:u.value),g=[{author:"flowInitiated",text:G},{author:"hardwareConfiguration",text:`${null==e?void 0:e.selectedColor}, ${null==e?void 0:e.selectedStorage}`},{author:"hardwareImageUrl",text:null!==(p=null==e?void 0:e.selectedImageUrl)&&void 0!==p?p:""},{author:"hardwareGroupName",text:null==e?void 0:e.selectedDeviceModal},{author:"hardwareCategory",text:"smartphone"},{author:"upfront",text:n},{author:"ultimateBundle",text:"true"},{author:"RESIDUAL",text:"true"}];return(null==v?void 0:v.monthlyFlashDiscount)&&(null==g||g.push({author:"monthlyFlashDiscount",text:null===(m=null==v?void 0:v.monthlyFlashDiscount)||void 0===m?void 0:m.value})),(null==v?void 0:v.monthlyFlashDiscount)&&(null==g||g.push({author:"totalFlashDiscount",text:null===(_=null==v?void 0:v.totalFlashDiscount)||void 0===_?void 0:_.value})),h>0&&(null==g||g.push({author:"monthlySmartUpgradeDiscount",text:String(h)})),g},Xo=e=>{var n;const o={};return null===(n=e||[])||void 0===n||n.forEach((e=>{let n=null==e?void 0:e.priceCategory;0!==(null==e?void 0:e.duration)||(null==e?void 0:e.residual)||(null==e?void 0:e.priceCategory)!==H?24!==(null==e?void 0:e.duration)||(null==e?void 0:e.residual)||(null==e?void 0:e.priceCategory)!==Y?24===(null==e?void 0:e.duration)&&(null==e?void 0:e.residual)&&(null==e?void 0:e.priceCategory)===Y&&(n="smartUpgradeInstallments"):n="installments":n="basePrice",o[n]=e})),o},Qo={X_SUN_CHAL:"ESHOP",CUSTOMER:"/profile",ADDR_ENDPOINT:"/suggest/address",LINE_CHECK:"/v1/linecheck",CONSTANTSKEYS:"/rest/cms/dsource_entries?datasource=one-ecommerce-constant-keys",X_SUN_SITEID:"7230009036",SERVICE_OPTIONS_BY_OFFER:"v2/service-options?offerId="};let Zo=void 0!==typeof window&&u.get("sunriseAuth");Zo=Zo&&JSON.parse(Zo);const et=(e,t,i)=>I(void 0,void 0,void 0,(function*(){var l,r,d;try{localStorage.removeItem("entertainment");const l={headers:{"x-correlation-id":o.v4(),"x-sunrise-channel":P.X_SUN_CHAL},params:{}};i&&(l.params={returnPromo:!0});const r=t+P.LINE_TABLEV2,d=yield n.ApiServiceV2.getApiServiceInstance().post(r,e,l).then((e=>{if(200==e.status)return null==e?void 0:e.data}));if(d.error)return d.error;{const e=[];return null==d||d.forEach((n=>{e[n.id]=n})),e}}catch(e){((null===(r=null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.data)||void 0===r?void 0:r.code)||504===(null===(d=null==e?void 0:e.response)||void 0===d?void 0:d.status))&&Jn(null==e?void 0:e.response),console.log("error---\x3e",e)}})),nt=(e,t,i,l,r,d,a,s,c,p="",m,_,v,h)=>I(void 0,void 0,void 0,(function*(){var g,f,x,b,y,w,S,C,k,E,T,O,N,L,D,I,A,B,V,M,R,j,U,z,$,W,H,Y,q,K,X,Q,Z,ee,oe,te,ie,le,re,de,ae,se,ce,ue,pe,me,_e,ve,he,ge,fe,xe,be,ye,we;let Se={};if(r===F){let n="",o="";const l=null!==(g=u.get("one-commerce-linecheckcorrelationid"))&&void 0!==g?g:"",r=(e=>{var n,o,t;let i=[],l=void 0!==typeof window&&localStorage.getItem("lineCheckResponse");if(l){l=JSON.parse(l);const r=null===(n=null==l?void 0:l.originalLinecheckResponse)||void 0===n?void 0:n.sellableProducts;i=null===(t=null===(o=null==r?void 0:r.find((n=>(null==n?void 0:n.name)===e)))||void 0===o?void 0:o.access)||void 0===t?void 0:t[0]}return i})(null===(f=null==e?void 0:e[0])||void 0===f?void 0:f.id);Se={relatedParty:[{id:"anonymous",segment:"RESIDENTIAL"}],cartItem:[{itemType:"HOME",promotionId:i,items:[],note:[{author:"linecheckCorrelationId",text:l}]}]};const a={itemType:"MOBILE",promotionId:i,items:[]};if(null===(x=e[0])||void 0===x?void 0:x.isBundle)null===(y=null===(b=e[0])||void 0===b?void 0:b.bundledOffers)||void 0===y||y.map((e=>{var i,l,r,d,s,c,u,p,m,_,v,h,g,f,x,b,y,w,S;if(null===(l=null===(i=null==e?void 0:e.promotionInfo)||void 0===i?void 0:i[0])||void 0===l?void 0:l.id){const t=1==(null===(u=null===(c=null===(s=null===(d=null===(r=null==e?void 0:e.promotionInfo)||void 0===r?void 0:r[0])||void 0===d?void 0:d.hardwareGift)||void 0===s?void 0:s[0])||void 0===c?void 0:c.ids)||void 0===u?void 0:u.length)?null===(h=null===(v=null===(_=null===(m=null===(p=null==e?void 0:e.promotionInfo)||void 0===p?void 0:p[0])||void 0===m?void 0:m.hardwareGift)||void 0===_?void 0:_[0])||void 0===v?void 0:v.ids)||void 0===h?void 0:h[0]:"";"mobile"===(null===(g=null==e?void 0:e.productType)||void 0===g?void 0:g.toLowerCase())?(a.promotionId=null===(x=null===(f=null==e?void 0:e.promotionInfo)||void 0===f?void 0:f[0])||void 0===x?void 0:x.id,n=t):(Se.cartItem[0].promotionId=null===(y=null===(b=null==e?void 0:e.promotionInfo)||void 0===b?void 0:b[0])||void 0===y?void 0:y.id,o=t)}"tv"==(null===(w=null==e?void 0:e.productType)||void 0===w?void 0:w.toLowerCase())&&t?Se.cartItem[0].items.push({itemType:null==e?void 0:e.productType,id:t}):"mobile"===(null===(S=null==e?void 0:e.productType)||void 0===S?void 0:S.toLowerCase())?a.items.push({itemType:"RATEPLAN",id:null==e?void 0:e.id}):Se.cartItem[0].items.push({itemType:null==e?void 0:e.productType,id:null==e?void 0:e.id})})),o&&(null===(w=Se.cartItem[0].items)||void 0===w||w.push({itemType:"GIFT",id:o})),n&&a.items.push({itemType:"GIFT",id:n}),(null===(S=null==a?void 0:a.items)||void 0===S?void 0:S.length)>0&&(null===(C=null==Se?void 0:Se.cartItem)||void 0===C||C.push(a)),(null==_?void 0:_.length)>0&&(null==_||_.forEach((e=>{Se.cartItem[0].items.push({itemType:ne,id:null==e?void 0:e.id})})));else{const n=1==(null===(L=null===(N=null===(O=null===(T=null===(E=null===(k=null==e?void 0:e[0])||void 0===k?void 0:k.promotionInfo)||void 0===E?void 0:E[0])||void 0===T?void 0:T.hardwareGift)||void 0===O?void 0:O[0])||void 0===N?void 0:N.ids)||void 0===L?void 0:L.length)?null===(M=null===(V=null===(B=null===(A=null===(I=null===(D=null==e?void 0:e[0])||void 0===D?void 0:D.promotionInfo)||void 0===I?void 0:I[0])||void 0===A?void 0:A.hardwareGift)||void 0===B?void 0:B[0])||void 0===V?void 0:V.ids)||void 0===M?void 0:M[0]:"";Se.cartItem[0].items.push({itemType:null===(R=null==e?void 0:e[0])||void 0===R?void 0:R.productType,id:null===(j=null==e?void 0:e[0])||void 0===j?void 0:j.id}),n&&(null===(U=Se.cartItem[0].items)||void 0===U||U.push({itemType:"GIFT",id:n}))}d&&(null==d?void 0:d.length)>0&&(null==d||d.map((e=>{var n,o,t,i;"HOME"===(null==e?void 0:e.parentPoType)?null===(t=null===(o=null===(n=null==Se?void 0:Se.cartItem)||void 0===n?void 0:n[0])||void 0===o?void 0:o.items)||void 0===t||t.push({itemType:"GIFT",id:null==e?void 0:e.tuaProdId}):null===(i=a.items)||void 0===i||i.push({itemType:"GIFT",id:null==e?void 0:e.tuaProdId})}))),(null==r?void 0:r.accessType)&&(null===(W=null===($=null===(z=null==Se?void 0:Se.cartItem)||void 0===z?void 0:z[0])||void 0===$?void 0:$.note)||void 0===W||W.push({author:"lineCheckaccessType",text:null==r?void 0:r.accessType})),(null==r?void 0:r.timeSlot)&&(null===(q=null===(Y=null===(H=null==Se?void 0:Se.cartItem)||void 0===H?void 0:H[0])||void 0===Y?void 0:Y.note)||void 0===q||q.push({author:"lineCheckEarliestActivationDate",text:null===(K=null==r?void 0:r.timeSlot)||void 0===K?void 0:K.start}));try{const e=(e=>{const n=e+"=";let o;return document.cookie.split(";").some((e=>{for(;" "===e.charAt(0);)e=e.substring(1);return 0===e.indexOf(n)&&(o=JSON.parse(decodeURIComponent(e.substring(n.length,e.length))),!0)})),o})("chAddressJson"),n=[{characteristic:{installationAddress:!0,country:"CH",city:null===(X=null==e?void 0:e.selectedAdd)||void 0===X?void 0:X.city,street1:null===(Q=null==e?void 0:e.selectedAdd)||void 0===Q?void 0:Q.street,postCode:null===(Z=null==e?void 0:e.selectedAdd)||void 0===Z?void 0:Z.postCode,street2:null===(ee=null==e?void 0:e.selectedAdd)||void 0===ee?void 0:ee.houseNumber}}];Se.contactMedium=n}catch(e){console.log("issue at line check address addition in create cart ==>",e)}}else if(r===J){Se=a?{relatedParty:[{segment:"RESIDENTIAL"}],cartItem:[{itemType:"MOBILE",promotionId:i,items:[{itemType:"RATEPLAN",id:(null===(oe=null==e?void 0:e[0])||void 0===oe?void 0:oe.id)?null===(te=null==e?void 0:e[0])||void 0===te?void 0:te.id:e,subscribedInfo:{installedPlan:"Sunrise Prepaid Unlimited",id:s}}],processType:{id:"PRE_TO_POST"}}]}:{relatedParty:[{segment:"RESIDENTIAL"}],cartItem:[{itemType:"MOBILE",promotionId:i,items:[{itemType:"RATEPLAN",id:(null===(ie=null==e?void 0:e[0])||void 0===ie?void 0:ie.id)?null===(le=null==e?void 0:e[0])||void 0===le?void 0:le.id:e,clientDiscountInfo:v?[{discountRef:v,discountType:"DISCOUNT"}]:void 0}]}]};const n=1==(null===(ue=null===(ce=null===(se=null===(ae=null===(de=null===(re=null==e?void 0:e[0])||void 0===re?void 0:re.promotionInfo)||void 0===de?void 0:de[0])||void 0===ae?void 0:ae.hardwareGift)||void 0===se?void 0:se[0])||void 0===ce?void 0:ce.ids)||void 0===ue?void 0:ue.length)?null===(ge=null===(he=null===(ve=null===(_e=null===(me=null===(pe=null==e?void 0:e[0])||void 0===pe?void 0:pe.promotionInfo)||void 0===me?void 0:me[0])||void 0===_e?void 0:_e.hardwareGift)||void 0===ve?void 0:ve[0])||void 0===he?void 0:he.ids)||void 0===ge?void 0:ge[0]:"";n&&(null===(fe=Se.cartItem[0].items)||void 0===fe||fe.push({itemType:"GIFT",id:n})),d&&(null==d?void 0:d.length)>0&&(null==d||d.map((e=>{var n,o,t;"HOME"!==(null==e?void 0:e.parentPoType)&&(null===(t=null===(o=null===(n=null==Se?void 0:Se.cartItem)||void 0===n?void 0:n[0])||void 0===o?void 0:o.items)||void 0===t||t.push({itemType:"GIFT",id:null==e?void 0:e.tuaProdId}))})))}if(c){const e=[];e.push({author:"voucherType",text:"QoQa"}),""!==p&&(e.push({author:"voucherCode",text:p}),He("vctype")),Se.cartItem[0].note=e}else if(v&&h){const e=[];null==e||e.push({author:"offerType",text:"ATL"}),null==e||e.push({author:"externalPromotionName",text:v}),null==e||e.push({author:"offerVersion",text:h}),Se.cartItem[0].note=e}if(m){const e=(e=>{var n,o,t,i,l,r,d,a,s,c,u,p,m,_,v,h;let g=[];const f=null!==(i=null===(t=null===(o=null===(n=null==e?void 0:e.selectedVarientDetails)||void 0===n?void 0:n.hardwarePrices)||void 0===o?void 0:o.smartUpgradeInstallments)||void 0===t?void 0:t.duration)&&void 0!==i?i:0,x=null!==(s=null===(a=null===(d=null===(r=null===(l=null==e?void 0:e.selectedVarientDetails)||void 0===l?void 0:l.hardwarePrices)||void 0===r?void 0:r.smartUpgradeInstallments)||void 0===d?void 0:d.upFrontPayment)||void 0===a?void 0:a.value)&&void 0!==s?s:0,b=null!==(_=null===(m=null===(p=null===(u=null===(c=null==e?void 0:e.selectedVarientDetails)||void 0===c?void 0:c.hardwarePrices)||void 0===u?void 0:u.smartUpgradeInstallments)||void 0===p?void 0:p.insurance)||void 0===m?void 0:m.value)&&void 0!==_?_:0,y={itemType:G,id:null!==(h=null===(v=null==e?void 0:e.selectedVarientDetails)||void 0===v?void 0:v.id)&&void 0!==h?h:"",contractTerm:f,note:Jo(e,x)};if(y&&(null==g||g.push(y)),b){const n={itemType:"DEVICE_INSURANCE",id:null==e?void 0:e.insuranceName};null==g||g.push(n)}return(null==g?void 0:g.length)>0?g:null})(m);e&&(null===(ye=null===(be=null===(xe=null==Se?void 0:Se.cartItem)||void 0===xe?void 0:xe[0])||void 0===be?void 0:be.items)||void 0===ye||ye.push(...e))}const Ce={headers:{"x-correlation-id":o.v4(),"x-sunrise-channel":P.X_SUN_CHAL}},ke=l+P.CREATE_CARTV3;if((null===(we=Object.keys(Se))||void 0===we?void 0:we.length)>0){const e=yield n.ApiServiceV2.getApiServiceInstance().post(ke,Se,Ce).then((e=>{if(He("isB2BCustomer"),200==e.status)return null==e?void 0:e.data})).catch((e=>{var n,o,t;((null===(o=null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.data)||void 0===o?void 0:o.code)||504===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status))&&Jn(null==e?void 0:e.response)}));if(e.error)throw e.error;return e}})),ot=(e,t,i,l,r,d,a,s,c)=>I(void 0,void 0,void 0,(function*(){let u;localStorage.removeItem("entertainment"),u={headers:{"x-correlation-id":o.v4(),"x-sunrise-channel":P.X_SUN_CHAL}},d&&(u.params={returnPromo:!0}),a&&(u.params={journey:"P2P"}),c&&(u.params=Object.assign(Object.assign({},u.params),{journey:"FPB"}));let p=i+P.LINE_TABLEV2;s&&localStorage.getItem("prospectId")&&(u.headers["x-sunrise-prospect-id"]=localStorage.getItem("prospectId"),p=i+P.LINE_TABLEV3);const m=l?r?p+P.SUBSCRIPTION+r:p:p,_=yield n.ApiServiceV2.getApiServiceInstance().post(m,e,u).then((e=>{if(200==e.status)return null==e?void 0:e.data})).catch((e=>{var n,o,t;((null===(o=null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.data)||void 0===o?void 0:o.code)||504===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status))&&Jn(null==e?void 0:e.response)}));return _.error?_.error:{[t]:_}})),tt=(e,t)=>I(void 0,void 0,void 0,(function*(){let i;i={params:{},headers:{"x-correlation-id":o.v4(),"x-sunrise-channel":P.X_SUN_CHAL}},i.params={category:e};const l=t,r=yield n.ApiServiceV2.getApiServiceInstance().get(l,i).then((e=>200==e.status?null==e?void 0:e.data:null==e?void 0:e.status)).catch((e=>{var n,o,t;((null===(o=null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.data)||void 0===o?void 0:o.code)||504===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status))&&Jn(null==e?void 0:e.response)}));return(null==r?void 0:r.error)?null==r?void 0:r.error:{subscriptionData:r}})),it=(e,t)=>I(void 0,void 0,void 0,(function*(){var i;try{const l={headers:{"x-correlation-id":o.v4(),"x-sunrise-channel":P.X_SUN_CHAL},params:{offerIds:e,voucherCode:t}},r=(null===(i=null==C?void 0:C.getInstance())||void 0===i?void 0:i.getBaseUrl())+`${P.VOUCHER_PROMOTIONS}`;yield n.ApiServiceV2.getApiServiceInstance().get(r,l).then((e=>{if(200==e.status)return null==e?void 0:e.data}))}catch(e){}})),lt=(e,t={},i)=>I(void 0,void 0,void 0,(function*(){let l;l={headers:{"x-correlation-id":o.v4(),"x-sunrise-channel":Qo.X_SUN_CHAL,"x-sunrise-prospect-id":i}};let r=e+(null==P?void 0:P.CUSTOMER_EVENTS);yield n.ApiServiceV2.getApiServiceInstance().post(r,t,l).then((e=>{if(200==e.status)return console.log("trackPegaEvents result.data",e.data),null==e?void 0:e.data})).catch((e=>{var n,o,t;((null===(o=null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.data)||void 0===o?void 0:o.code)||504===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status))&&Jn(null==e?void 0:e.response)}))})),rt=({linkText:o,product:t,metadata:i,modalTriggered:l,reuseableLineTable:r})=>{var d,u,p,m;const[_,v]=e.useState(!1),[h,g]=e.useState([]),[f,x]=e.useState(!0),[b,y]=e.useState(),[w,S]=e.useState([]),k=(null===(u=null===(d=null==t?void 0:t.testProductReference)||void 0===d?void 0:d[0])||void 0===u?void 0:u.reference)?null===(m=null===(p=null==t?void 0:t.testProductReference)||void 0===p?void 0:p[0])||void 0===m?void 0:m.reference:null==t?void 0:t.reference;let E;e.useEffect((()=>{h&&h.length>0&&h.map((e=>{var n;null===(n=null==e?void 0:e.content)||void 0===n||n.body.map((e=>{"countryListComponent"==(null==e?void 0:e.component)&&S(null==e?void 0:e.countryValues)}))}))}),[h]),e.useEffect((()=>{(null==w?void 0:w.length)>0&&(E=w.length,y(Math.ceil(E/3)))}),[w]);return e.createElement(e.Fragment,null,e.createElement(Ho,{modalState:_,handler:()=>{v(!1),"function"==typeof l&&l()},overlay:h},f&&e.createElement(Yo,{keyParams:"loading"}),!f&&e.createElement(e.Fragment,null,e.createElement(a,{className:"linetable-countryOverlay-desktopView"},e.createElement("div",null,e.createElement(s,{className:"linetable-countryOverlay-utils-noWrap"},e.createElement(c,{className:"linetable-countryOverlay-utils-colWidth"},e.createElement(s,null,w.slice(0,b).map(((n,o)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:o},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name)))))),e.createElement(c,{className:"linetable-countryOverlay-utils-colWidth"},e.createElement(s,null,w.slice(b,2*b).map(((n,o)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:o},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name)))))),e.createElement(c,{className:"linetable-countryOverlay-utils-colWidth"},e.createElement(s,null,w.slice(2*b,3*b).map(((n,o)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:o},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name))))))))),e.createElement(a,{className:"linetable-countryOverlay-mobView"},e.createElement(s,null,e.createElement(c,null,e.createElement(s,null,w.map(((n,o)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:o},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name)))))))))),e.createElement("span",{onClick:()=>{var e,o,t,d,a,s,c,u,p,m,h;v(!_),"function"==typeof l&&l();const f=(null===(d=null===(t=null===(o=null===(e=null==k?void 0:k.content)||void 0===e?void 0:e.body)||void 0===o?void 0:o[0])||void 0===t?void 0:t.countryList)||void 0===d?void 0:d.cached_url)?null===(p=null===(u=null===(c=null===(s=null===(a=null==k?void 0:k.content)||void 0===a?void 0:a.body)||void 0===s?void 0:s[0])||void 0===c?void 0:c.countryList)||void 0===u?void 0:u.cached_url)||void 0===p?void 0:p.replace(null==i?void 0:i.lang,""):null==k?void 0:k.replace(null==i?void 0:i.lang,""),b=null==f?void 0:f.replace("//",""),y=`${r?null===(m=null==C?void 0:C.getInstance())||void 0===m?void 0:m.getSBUrl():null===(h=null==C?void 0:C.getInstance())||void 0===h?void 0:h.getBaseUrl()}rest/cms/stories/?by_slugs=${b}`;((e,o,t,i)=>I(void 0,void 0,void 0,(function*(){var l;const r=We(`${e}_${o}_countryData`);if(r)return r;try{const r={language:o,type:"B2C"},d=null===(l=(yield n.CMSStoryblokServiceV2.get(t,r)).data)||void 0===l?void 0:l.stories;return d&&d.length>0&&$e(`${e}_${o}_countryData`,d,i),d}catch(e){return console.error(e),e}})))(null==k?void 0:k.name,null==i?void 0:i.lang,y,864e5).then((e=>{e&&e.length>0&&g(e),x(!1)}))},className:`linetable-countryOverlay-linkTextNew display-5 ${r&&"reusbablelnetable-margin"}`},o))};S(".linetable-CardEntitlement-mobileProductEntitlement {\n margin: 0;\n padding: 0 16px 0 16px;\n}\n.linetable-CardEntitlement-entitlementValue {\n display: flex;\n margin-bottom: 4px;\n align-items: center;\n font-size: 16px;\n}\n.linetable-CardEntitlement-entitlementIcon {\n align-self: flex-start;\n margin-right: 8px;\n}\n\n.linetable-CardEntitlement-entitlementIcon img {\n vertical-align: sub;\n}\n.linetable-CardEntitlement-animationTitle {\n font-size: 16px;\n line-height: 24px;\n color: #3d3935;\n font-weight: 700;\n margin-bottom: auto;\n}\n.linetable-CardEntitlement-entitlementContent {\n display: inline-flex;\n margin-bottom: 16px;\n}\n.linetable-CardEntitlement-entitlementDescription {\n color: #3d3935;\n margin-left: 32px;\n margin-bottom: 4px;\n font-size: 16px;\n font-weight: 500;\n width: calc(100% - 32px);\n}\n");const dt=e.createContext({indexKey:0,listLength:0,arrowUpIcon:"",arrowDownIcon:"",arrowLeftRed:""}),at=({content:n,product:o,indexKey:t,showEntitleValue:i,metadata:l,modalTriggered:r})=>{var d,a,s,c;const u=e.useRef(null),p=e.useContext(dt),m=()=>{je(`linetable-CardEntitlement-entitlementSection${p.indexKey}`,p.listLength)};return e.useEffect((()=>{setTimeout((()=>{(null==u?void 0:u.current)&&m()}),200),window.addEventListener("resize",m)}),[n]),e.createElement("div",{className:"linetable-CardEntitlement-mobileProductEntitlement",id:`linetable-CardEntitlement-entitlementSection${t}${p.indexKey}`,ref:u},e.createElement("div",{className:"row linetable-CardEntitlement-entitlementContent"},e.createElement("div",{className:"linetable-CardEntitlement-entitlementValue "},e.createElement(e.Fragment,null,(null==n?void 0:n.isblacktheme)?e.createElement(e.Fragment,null,(null===(d=null==n?void 0:n.blackFridayentitlementIcon)||void 0===d?void 0:d.filename)&&e.createElement("div",{className:"linetable-CardEntitlement-entitlementIcon"},e.createElement("img",{src:null===(a=null==n?void 0:n.blackFridayentitlementIcon)||void 0===a?void 0:a.filename,width:20,height:20,alt:"blackFridayentitlementIcon"}))):e.createElement(e.Fragment,null,(null===(s=null==n?void 0:n.entitlementIcon)||void 0===s?void 0:s.filename)&&e.createElement("div",{className:"linetable-CardEntitlement-entitlementIcon"},e.createElement("img",{src:null===(c=null==n?void 0:n.entitlementIcon)||void 0===c?void 0:c.filename,width:20,height:20,alt:"entitlementIcon"}))),e.createElement("span",{className:"linetable-CardEntitlement-animationTitle entitlementDisplay"},null==n?void 0:n.entitlementName))),e.createElement("div",{className:"d-block"},n.entitlementDescription&&i&&e.createElement("div",{className:"linetable-CardEntitlement-entitlementDescription"},null==n?void 0:n.entitlementDescription),(null==n?void 0:n.linkText)&&e.createElement(rt,{product:o,linkText:null==n?void 0:n.linkText,metadata:l,modalTriggered:r,reuseableLineTable:!1}))))};S(".linetable-card-linetable-card-flexGrid {\n display: flex;\n flex-direction: column;\n}\n.linetable-card-productContainer {\n background-color: #fff;\n padding: 24px 0 16px;\n text-align: left;\n height: 100%;\n border-radius: 8px;\n}\n.linetable-card-productContainer hr {\n margin: 16px;\n}\n.linetable-card-introText {\n padding-left: 16px;\n padding-right: 16px;\n font-size: 16px;\n line-height: 24px;\n font-weight: 500;\n color: #587467;\n}\n.linetable-card-productTeaser {\n background-color: #fff;\n border-radius: 8px;\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n box-shadow: 0px 4px 12px 0px #57545233;\n}\n.linetable-card-prodHeading {\n font-size: 14px;\n line-height: 20px;\n color: #606060;\n font-weight: bold;\n margin-bottom: 4px;\n}\n.linetable-card-titleContainer {\n padding-left: 16px;\n padding-right: 16px;\n}\n.linetable-card-productTitle {\n color: #1e1e1e;\n font-weight: bold;\n margin-bottom: 4px;\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n}\n.linetable-card-productTitle > h1,\n.linetable-card-productTitle > h2,\n.linetable-card-productTitle > h3,\n.linetable-card-productTitle > h4,\n.linetable-card-productTitle > h5,\n.linetable-card-productTitle > h6 {\n color: #1e1e1e !important;\n}\n.linetable-card-productTitle > h3 {\n font-size: 24px;\n line-height: 32px;\n}\n.linetable-card-productTitle > h2 {\n margin-right: 8px;\n}\n.linetable-card-prodDescription {\n font-size: 16px;\n line-height: 24px;\n color: #333333;\n display: flex;\n font-weight: 400;\n}\n\n@media (max-width: 767px) {\n .linetable-card-productTitle {\n height: auto;\n }\n}\n\n.linetable-card-productDetailSection{\n margin: 0 16px;\n}\n.linetable-card-productDetailSection img {\n vertical-align: bottom;\n margin-right: 8px;\n}\n.linetable-card-bottomConatiner {\n display: flex;\n flex-direction: column;\n justify-content: end;\n}");const st=({modalState:n,handler:o,showFooter:i,footerNode:l,children:r,width:d,height:a,noCloseButton:s,backButton:c})=>{const u=e.useContext(dt);return e.useEffect((()=>{const e=document.querySelector(".linetable-product-modal .footer-main");e&&(e.style.zIndex="10");const n=document&&document.querySelector(".modal-dialog.linetable-product-modal");n&&(n.style.maxWidth=d,n.style.padding="0",n.style.transform="none");const o=document.querySelector(".linetable-product-modal .modal-content");o&&(o.style.height=a,o.style.backgroundColor="#F7F6F5");const t=document.querySelector(".linetable-product-modal .modal-header");t&&(t.style.position="absolute",t.style.top="0",t.style.zIndex="1",t.style.maxWidth="100%",t.style.background="#f8f8f8",t.style.width="100%");const i=document.querySelector(".linetable-product-modal .modal-body");i&&(i.style.background="#f8f8f8",i.style.paddingTop="70px")}),[a]),e.createElement(t.Modal,{scrollable:!1,show:n,onHide:o,keyboard:!1,dialogClassName:"linetable-product-modal"},e.createElement(t.Modal.Header,null,c&&e.createElement("div",{style:{justifyContent:"start",cursor:"pointer"},onClick:o},e.createElement(e.Fragment,null,(null==u?void 0:u.arrowLeftRed)&&e.createElement("img",{src:null==u?void 0:u.arrowLeftRed,width:24,height:24,alt:"arrowLeft"}),e.createElement("span",{style:{color:"#DA291C"}}," ",c))),e.createElement("div",{style:{display:s?"none":"",justifyContent:"end"}},e.createElement(t.CloseButton,{className:"sr-modal-close",onClick:o}))),e.createElement(t.Modal.Body,null,r),i&&e.createElement(t.Modal.Footer,null,l))};S(".linetable-sr-def-row {\n margin-left: auto;\n margin-right: auto;\n padding-left: 16px;\n padding-right: 16px;\n max-width: 1308px;\n width: 100%;\n}\n\n.resusable-linetable {\n padding-left: 0;\n padding-right: 0;\n}\n\n@media (min-width: 1024px) and (max-width: 1439px) {\n .linetable-sr-def-row {\n max-width: 972px;\n }\n}\n\n@media (min-width: 768px) and (max-width: 1023px) {\n .linetable-sr-def-row {\n max-width: 720px;\n }\n}\n\n@media (max-width: 767px) {\n .linetable-sr-def-row {\n max-width: 972px;\n }\n}\n\n.linetable-sr-def-row .linetable-sr-def-row {\n padding: 0px;\n max-width: 100%;\n}");const ct=({children:n,resuablelineTable:o})=>e.createElement("div",{className:`linetable-sr-def-row linetable-sr-responsive-row\n ${o&&"resusable-linetable"}\n `},n);S(".linetable-falconAccordion-section {\n text-align: center;\n}\n\n.linetable-falconAccordion-description {\n color: #3d3935;\n padding-bottom: 32px;\n text-align: center;\n}\n\n.linetable-falconAccordion-description p a {\n color: #da291c;\n}\n\n.linetable-falconAccordion-container {\n box-shadow: 0 2px 4px rgba(87, 84, 82, 0.2);\n border-radius: 8px;\n overflow: hidden;\n padding: 0;\n}\n\n.linetable-falconAccordion-current-item {\n overflow: hidden;\n}\n\n.linetable-falconAccordion-current-item:first-child {\n border-radius: 8px 8px 0 0;\n overflow: hidden;\n}\n\n.linetable-falconAccordion-current-item:last-child {\n border-bottom: none;\n border-radius: 0 0 8px 8px;\n overflow: hidden;\n}\n\n.linetable-falconAccordion-item:hover {\n background-color: #f7f6f5;\n}\n\n.linetable-falconAccordion-wrapper {\n margin-left: 32px;\n margin-right: 32px;\n border-bottom: 1px solid #e6e3df;\n}\n\n.linetable-falconAccordion-title {\n color: #3d3935;\n font-style: normal;\n font-weight: bold;\n font-size: 16px;\n line-height: 24px;\n margin-right: 28px;\n min-height: 24px;\n}\n\n.prod-card .accordion-flush .linetable-falconAccordion-item .accordion-button {\n padding: 24px 0;\n}\n\n.prod-card .accordion-body {\n padding: 8px 0 32px 0;\n color: #3d3935;\n text-align: left;\n font-size: 16px;\n line-height: 24px;\n}\n\n.prod-card .accordion-button::after {\n position: absolute;\n top: 24px;\n right: 0;\n background-image: url('/ecom-int/icons/falcon-arrow-down.svg') !important;\n background-size: 24px 24px !important;\n background-size: unset;\n}\n\n.prod-card .accordion-button:not(.collapsed)::after {\n background-image: url('/ecom-int/icons/falcon-arrow-up.svg') !important;\n}\n\n.linetable-falconAccordion-disabled {\n opacity: 0.8;\n pointer-events: none;\n background-color: #e6e3df;\n}\n\n/* for mobile view */\n@media (max-width: 767px) {\n .prod-card .description {\n padding-bottom: 24px;\n }\n\n .linetable-falconAccordion-item:hover {\n background-color: none;\n }\n\n .linetable-falconAccordion-wrapper {\n margin-left: 16px;\n margin-right: 16px;\n }\n\n .prod-card .accordion-flush .linetable-falconAccordion-item .accordion-button {\n padding: 16px 0;\n }\n\n .prod-card .accordion-body {\n padding-bottom: 24px;\n }\n\n .prod-card .accordion-button::after {\n top: 16px;\n }\n}\n\n/* For tablet view */\n@media (max-width: 1023px) {\n .linetable-falconAccordion-wrapper {\n margin-left: 24px;\n margin-right: 24px;\n }\n}");const ut=({content:n})=>{const o=null==n?void 0:n._uid;return e.createElement("div",{className:"prod-card"},e.createElement(t.Accordion,{flush:!0,defaultActiveKey:(null==n?void 0:n.alwaysOpen)?o:""},e.createElement(t.Accordion.Item,{eventKey:o,className:`${(null==n?void 0:n.disabled)&&"linetable-falconAccordion-disabled"} linetable-falconAccordion-item`},e.createElement("div",{className:"linetable-falconAccordion-wrapper"},e.createElement(t.Accordion.Header,null,e.createElement("span",{className:"linetable-falconAccordion-title"},null==n?void 0:n.title)),e.createElement(t.Accordion.Body,null,(null==n?void 0:n.bodyText)&&e.createElement(en,{content:null==n?void 0:n.bodyText}))))))},pt=({content:n})=>{var o,t,i,l,r,d,a;return e.createElement("section",{className:"linetable-falconAccordion-section"},e.createElement(ct,null,e.createElement(e.Fragment,null,(null==n?void 0:n.title)&&(null===(o=null==n?void 0:n.title)||void 0===o?void 0:o.length)>0&&e.createElement($o,{content:null===(t=null==n?void 0:n.title)||void 0===t?void 0:t[0]}),(null==n?void 0:n.description)&&(null===(i=null==n?void 0:n.description)||void 0===i?void 0:i.length)>0&&e.createElement("div",{className:"linetable-falconAccordion-description"},e.createElement(Wo,{content:null===(l=null==n?void 0:n.description)||void 0===l?void 0:l[0]})),(null==n?void 0:n.accordions)&&(null===(r=null==n?void 0:n.accordions)||void 0===r?void 0:r.length)>0&&(null===(d=null==n?void 0:n.accordions[0])||void 0===d?void 0:d.title)&&e.createElement("div",{className:"linetable-falconAccordion-container"},null===(a=null==n?void 0:n.accordions)||void 0===a?void 0:a.map((n=>e.createElement("div",{tabIndex:0,key:null==n?void 0:n._uid,className:"linetable-falconAccordion-current-item"},e.createElement(ut,{content:Object.assign({},n)}))))))))},mt=({content:n})=>{const o=(e=>{switch(e){case"grey-100":return"falcon-background-grey-100";case"ice-white":return"falcon-background-ice-white";case"transparent":return"falcon-background-transparent";default:return""}})(null==n?void 0:n.backgroundColor),t=Ue(null==n?void 0:n.gradientBackground),i=(null==n?void 0:n.gradientBackground)===B?o:t;return e.createElement("div",null,n.height?e.createElement("div",{className:`d-none d-sm-block ${i}`,style:{height:`${n.height}px`}}):e.createElement("div",{className:`d-none d-sm-block ${i}`,style:{height:`${n.desktopHeight}px`}}),e.createElement("div",{className:`d-block d-sm-none ${i} `,style:{height:`${n.mobHeight}px`}}))};S(".linetable-productDetailsText {\n color: #da291c;\n text-decoration: underline;\n cursor: pointer;\n}");S('.linetable-staticPrice-priceWrapper {\n\tborder-radius: 8px;\n\tborder: 1px solid #E6E3DF;\n\tmargin: 16px 16px 0 16px;\n\tpadding: 8px 16px;\n\tfont-size: 14px;\n\tfont-weight: 400;\n\tline-height: 20px;\n}\n\n.linetable-staticPrice-discountPriceSection {\n\tcolor: #2E6199;\n\tmargin-right: 8px;\n}\n\n.linetable-staticPrice-discountedPrice {\n\tfont-size: 32px;\n\tfont-weight: 700;\n\tline-height: 40px;\n}\n\n.linetable-staticPrice-basePrice {\n\tfont-size: 20px;\n\tfont-weight: 700;\n\tline-height: 28px;\n\tposition: relative;\n\tdisplay: inline-block;\n}\n\n.linetable-staticPrice-priceStrikeout::after {\n\tcontent: "";\n\tposition: absolute;\n\tright: -1px;\n\tleft: -2px;\n\ttop: 50%;\n\twidth: 100%;\n\tborder-bottom: 2px solid #da291c;\n\ttransform: rotate(-18.22deg);\n}\n\n.linetable-staticPrice-noDiscountPrice {\n\tfont-size: 32px;\n\tfont-weight: 700;\n\tline-height: 40px;\n}\n\n.linetable-staticPrice-contractDescription {\n\tmargin-top: 6px;\n}\n\n.linetable-staticPrice-addToCart {\n\tmargin-top: 8px;\n\twidth: 100%;\n\tpadding: 10px 24px;\n\tborder-radius: 25px;\n\tbackground: #DA291C;\n\tcolor: #FFFFFF;\n\tfont-size: 16px;\n\tfont-weight: 700;\n\tline-height: 24px;\n\tborder: 0px;\n}\n\n.linetable-staticPrice-productDetails-priceWrapper {\n\tdisplay: flex;\n\tjustify-content: space-between;\n}\n\n@media (min-width: 425px) {\n\t.linetable-staticPrice-productDetails-addToCart {\n\t\tmin-width: 120px;\n\t}\n}');const _t=({content:n,addToCart:o,variant:t})=>{const i=e.useContext(dt),l=()=>{je("linetable-staticPrice-priceSection",i.listLength)};e.useEffect((()=>{setTimeout((()=>{l()}),200),window.addEventListener("resize",l)}),[n]);return e.createElement("div",{className:`linetable-staticPrice-priceWrapper ${"productDetails"===t&&"linetable-staticPrice-productDetails-priceWrapper"}`},e.createElement("div",{id:`linetable-staticPrice-priceSection${null==i?void 0:i.indexKey}`},e.createElement("div",{className:"linetable-staticPrice-priceSection"},(null==n?void 0:n.isEnableDiscountPrice)&&e.createElement("span",{className:"linetable-staticPrice-discountPriceSection"},e.createElement("span",{className:"linetable-staticPrice-discountedPrice"},null==n?void 0:n.discountPriceValue),null==n?void 0:n.priceDuration),e.createElement("span",null,e.createElement("span",{className:"linetable-staticPrice-basePrice "+((null==n?void 0:n.isEnableDiscountPrice)?"linetable-staticPrice-priceStrikeout":"linetable-staticPrice-noDiscountPrice")},ze(null==n?void 0:n.priceValue)),!(null==n?void 0:n.isEnableDiscountPrice)&&e.createElement(e.Fragment,null,null==n?void 0:n.priceDuration))),e.createElement("div",{className:"linetable-staticPrice-contractDescription"},null==n?void 0:n.contractDescription)),e.createElement("div",null,e.createElement("button",{className:`linetable-staticPrice-addToCart ${"productDetails"===t&&"linetable-staticPrice-productDetails-addToCart"}`,onClick:()=>{"function"==typeof o&&o(n)}},null==n?void 0:n.addButton)))},vt=({content:n,updatedContent:o,modalTriggered:t,addToCart:i})=>{var l;const[r,d]=e.useState(!1),a=null==n?void 0:n.subscriptionDetailModal;let s=[],c="";a&&(null==a?void 0:a.length)>0&&(null==a||a.map((e=>{s=null==e?void 0:e.modalBody,null==e||e.productPriceVariant,c=null==e?void 0:e.backButton,null==e||e.priceChangeContent})));const u=()=>{d(!r),"function"==typeof t&&t()};return e.createElement(e.Fragment,null,r&&e.createElement(st,{modalState:r,handler:u,showFooter:!1,height:"100%",width:"883px",backButton:c},e.createElement(e.Fragment,null,null==s?void 0:s.map(((n,o)=>e.createElement(ct,null,e.createElement(e.Fragment,null,(null==n?void 0:n.component)===V&&e.createElement(Wo,{content:n,key:o}),(null==n?void 0:n.component)===R&&e.createElement(mt,{content:n}),(null==n?void 0:n.component)===M&&e.createElement(pt,{content:n}))))),(null==n?void 0:n.isEnablePrice)&&e.createElement(_t,{content:n,addToCart:i,variant:"productDetails"}))),e.createElement("span",{onClick:u,className:"linetable-productDetailsText"},null!==(l=null==o?void 0:o.subscription)&&void 0!==l?l:null==o?void 0:o.subscriptionText))},ht=({content:n,showPrice:o,addToCart:t})=>{var i,l,r,d,a;const s=null!==(i=null==o?void 0:o.base)&&void 0!==i?i:0;let c=null!==(d=null===(r=null===(l=null==o?void 0:o.discount)||void 0===l?void 0:l[0])||void 0===r?void 0:r.value)&&void 0!==d?d:0;null===(a=null==o?void 0:o.discount)||void 0===a||a.map((e=>{1==(null==e?void 0:e.cycleStart)&&(c=null==e?void 0:e.value)}));const u=null==o?void 0:o.contractDuration;return e.createElement("div",{className:"linetable-staticPrice-priceWrapper"},(null==o?void 0:o.base)?e.createElement(e.Fragment,null,c>0&&e.createElement("span",{className:"linetable-staticPrice-discountPriceSection"},e.createElement("span",{className:"linetable-staticPrice-discountedPrice"},ze(c)),null==n?void 0:n.priceDuration),e.createElement("span",null,e.createElement("span",{className:"linetable-staticPrice-basePrice "+(c>0?"linetable-staticPrice-priceStrikeout":"linetable-staticPrice-noDiscountPrice")},ze(s)),0===c&&(null==n?void 0:n.priceDuration)),e.createElement("div",{className:"linetable-staticPrice-contractDescription"},u&&0!==u?e.createElement("div",null):e.createElement("div",null,null==n?void 0:n.contractDescription))):"",e.createElement("div",null,e.createElement("button",{className:"linetable-staticPrice-addToCart",onClick:t},null==n?void 0:n.addButton)))},gt=({content:n,updatedContent:o,indexKey:t,listLength:i,addToCart:l,metadata:r,modalTriggered:d,showPrice:a})=>{var s,c,u,p,m,_,v,h,g,f,x,b,y,w,S,C,k,E,P,T,O,N,L,D,I,A,B,V,M,R,F,j,U,z,$,W,H,Y,G,q,K,J,X,Q,Z,ee,ne,oe,te,ie,le,re,de,ae,se;const ce=Object.assign({},null!==(u=null===(c=null===(s=null==n?void 0:n.testProductReference)||void 0===s?void 0:s[0])||void 0===c?void 0:c.reference)&&void 0!==u?u:null==n?void 0:n.reference),ue={listLength:i,indexKey:t,arrowUpIcon:null===(v=null===(_=null===(m=null===(p=null==ce?void 0:ce.content)||void 0===p?void 0:p.body)||void 0===m?void 0:m[0])||void 0===_?void 0:_.arrowUp)||void 0===v?void 0:v.filename,arrowDownIcon:null===(x=null===(f=null===(g=null===(h=null==ce?void 0:ce.content)||void 0===h?void 0:h.body)||void 0===g?void 0:g[0])||void 0===f?void 0:f.arrowDown)||void 0===x?void 0:x.filename,arrowLeftRed:null===(S=null===(w=null===(y=null===(b=null==ce?void 0:ce.content)||void 0===b?void 0:b.body)||void 0===y?void 0:y[0])||void 0===w?void 0:w.arrowLeftRed)||void 0===S?void 0:S.filename},pe=null!==(C=null==o?void 0:o.enableNewAddToCart)&&void 0!==C&&C,me=e.useRef(null),_e=e.useRef(null),ve=e.useMemo((()=>ue),[ue]),he=()=>{je("linetable-card-title",i),je("linetable-card-tooltiptxt",i),je("linetable-card-bottomConatiner",i)};return e.useEffect((()=>{setTimeout((()=>{he()}),100),null===window||void 0===window||window.addEventListener("resize",he)}),[n]),e.createElement(dt.Provider,{value:ve},e.createElement("div",{className:"linetable-card-productTeaser"},e.createElement("div",{className:"linetable-card-productContainer "},ce.content&&e.createElement(e.Fragment,null,e.createElement("div",{className:"linetable-card-titleContainer",id:`linetable-card-title${t}`,ref:me},e.createElement("div",{className:"linetable-card-prodHeading"},null===(E=null===(k=null==ce?void 0:ce.content)||void 0===k?void 0:k.body[0])||void 0===E?void 0:E.name),e.createElement("div",{className:"linetable-card-productTitle"},e.createElement("h3",null,null===(T=null===(P=null==ce?void 0:ce.content)||void 0===P?void 0:P.body[0])||void 0===T?void 0:T.displayName),(null===(L=null===(N=null===(O=null==ce?void 0:ce.content)||void 0===O?void 0:O.body[0])||void 0===N?void 0:N.prodImage)||void 0===L?void 0:L.filename)&&e.createElement("img",{src:null===(A=null===(I=null===(D=null==ce?void 0:ce.content)||void 0===D?void 0:D.body[0])||void 0===I?void 0:I.prodImage)||void 0===A?void 0:A.filename,height:15,width:20,alt:"card"})),e.createElement("div",{className:"linetable-card-prodDescription"},e.createElement(en,{content:null===(V=null===(B=null==ce?void 0:ce.content)||void 0===B?void 0:B.body[0])||void 0===V?void 0:V.description}))),!(null==o?void 0:o.isPrepaidFlow)&&e.createElement("hr",null)),(null==ce?void 0:ce.content)&&(null===(R=null===(M=null==ce?void 0:ce.content)||void 0===M?void 0:M.body[0])||void 0===R?void 0:R.introText)&&e.createElement(e.Fragment,null,e.createElement("div",{className:""+(pe?"d-block":"d-none d-sm-block")},e.createElement("div",{className:"linetable-card-introText",id:`linetable-card-tooltiptxt${t}`,ref:_e},e.createElement(en,{content:null===(j=null===(F=null==ce?void 0:ce.content)||void 0===F?void 0:F.body[0])||void 0===j?void 0:j.introText})),e.createElement("hr",null))),null===($=(null===(z=null===(U=null==ce?void 0:ce.content)||void 0===U?void 0:U.body[0])||void 0===z?void 0:z.entitlementConfig)||[])||void 0===$?void 0:$.map(((o,t)=>e.createElement(at,{content:o,product:n,key:t,indexKey:t,showEntitleValue:pe,metadata:r,modalTriggered:d}))),e.createElement("hr",null),e.createElement("div",{id:`linetable-card-bottomConatiner${t}`,className:"linetable-card-bottomConatiner"},e.createElement("div",{className:"linetable-card-productDetailSection"},(null===(G=null===(Y=null===(H=null===(W=null==ce?void 0:ce.content)||void 0===W?void 0:W.body)||void 0===H?void 0:H[0])||void 0===Y?void 0:Y.productDetailIcon)||void 0===G?void 0:G.filename)&&e.createElement("img",{src:null===(X=null===(J=null===(K=null===(q=null==ce?void 0:ce.content)||void 0===q?void 0:q.body)||void 0===K?void 0:K[0])||void 0===J?void 0:J.productDetailIcon)||void 0===X?void 0:X.filename,width:24,height:24,alt:"productDetailIcon"}),e.createElement(vt,{content:null===(Z=null===(Q=null==ce?void 0:ce.content)||void 0===Q?void 0:Q.body)||void 0===Z?void 0:Z[0],updatedContent:o,modalTriggered:d,addToCart:l})),e.createElement("div",null,(null===(oe=null===(ne=null===(ee=null==ce?void 0:ce.content)||void 0===ee?void 0:ee.body)||void 0===ne?void 0:ne[0])||void 0===oe?void 0:oe.isEnablePrice)&&e.createElement(_t,{content:null===(ie=null===(te=null==ce?void 0:ce.content)||void 0===te?void 0:te.body)||void 0===ie?void 0:ie[0],addToCart:l,variant:"productCard"})),e.createElement("div",null,!(null===(de=null===(re=null===(le=null==ce?void 0:ce.content)||void 0===le?void 0:le.body)||void 0===re?void 0:re[0])||void 0===de?void 0:de.isEnablePrice)&&!(null==o?void 0:o.staticPrice)&&e.createElement(ht,{content:null===(se=null===(ae=null==ce?void 0:ce.content)||void 0===ae?void 0:ae.body)||void 0===se?void 0:se[0],showPrice:a,addToCart:l}))))))},ft=n=>e.createElement(e.Fragment,null,e.createElement(p,{responsive:{desktop:{breakpoint:{max:7e3,min:1440},items:4},tabletLarge:{breakpoint:{max:1439,min:1024},items:3},tabletMedium:{breakpoint:{max:1023,min:768},items:2},mobile:{breakpoint:{max:767,min:0},items:1}},deviceType:"desktop",ssr:!0,renderButtonGroupOutside:!0,partialVisible:!0,swipeable:!0,autoPlay:!1,shouldResetAutoplay:!1,arrows:!0},n.children),e.createElement("p",null,"compo"));var xt={card:"ProductTeaser-module_card__HsPC5","sr-card":"ProductTeaser-module_sr-card__dLVqa","border-top":"ProductTeaser-module_border-top__uS5i7","sr-desk-card":"ProductTeaser-module_sr-desk-card__m3F0X","sr-mob-card":"ProductTeaser-module_sr-mob-card__3w9z8","sr-md-card":"ProductTeaser-module_sr-md-card__AsnJ8",carouselContainer:"ProductTeaser-module_carouselContainer__RzBpK",arrowButton:"ProductTeaser-module_arrowButton__-AkY4",leftArrow:"ProductTeaser-module_leftArrow__Ybrjm",rightArrow:"ProductTeaser-module_rightArrow__MYs5F",stageTeaserTab:"ProductTeaser-module_stageTeaserTab__VYRxL",stageTeaserTabActive:"ProductTeaser-module_stageTeaserTabActive__Wu5nT",carousel_dot:"ProductTeaser-module_carousel_dot__zxG-A",carouselItemNew:"ProductTeaser-module_carouselItemNew__TTklX",teaserImageLeft:"ProductTeaser-module_teaserImageLeft__dIk-h",teaserImageRight:"ProductTeaser-module_teaserImageRight__hHvry",carouselItem:"ProductTeaser-module_carouselItem__vtLwf",teaserImage:"ProductTeaser-module_teaserImage__sQ3ed",productDetailsWrapperNew:"ProductTeaser-module_productDetailsWrapperNew__DfLax",productDetailsWrapperTransparent:"ProductTeaser-module_productDetailsWrapperTransparent__ES5iK",productDetailsWrapper:"ProductTeaser-module_productDetailsWrapper__0jFlz",titleSection:"ProductTeaser-module_titleSection__YqXUJ",featureSection:"ProductTeaser-module_featureSection__T-YzP",contentWrapper:"ProductTeaser-module_contentWrapper__3GKwX",contentWrapperLeft:"ProductTeaser-module_contentWrapperLeft__tGGEs",priceContainer:"ProductTeaser-module_priceContainer__CzBhB",priceContainerNew:"ProductTeaser-module_priceContainerNew__hn6rW",contentWrapperRight:"ProductTeaser-module_contentWrapperRight__8FP0u",contentMobWrapper:"ProductTeaser-module_contentMobWrapper__9rRLQ",heading:"ProductTeaser-module_heading__Xim2-",fadeOutText:"ProductTeaser-module_fadeOutText__nKr5i",fadeInText:"ProductTeaser-module_fadeInText__Ux98m",paragraph:"ProductTeaser-module_paragraph__hUonu",description:"ProductTeaser-module_description__s-lyV",extraSpace:"ProductTeaser-module_extraSpace__HFJ2A",toolTip:"ProductTeaser-module_toolTip__KL7Xx",gradiantBox:"ProductTeaser-module_gradiantBox__Eys-K",addOnSection:"ProductTeaser-module_addOnSection__G4zhX",featureList:"ProductTeaser-module_featureList__gmPS1",features:"ProductTeaser-module_features__o2jMu",featureIcon:"ProductTeaser-module_featureIcon__PbcQN",horizontalLine:"ProductTeaser-module_horizontalLine__Nfj9U",horizontalLineDark:"ProductTeaser-module_horizontalLineDark__Sg-Ou",addOnSectionIcon:"ProductTeaser-module_addOnSectionIcon__9-EoX",toggleSection:"ProductTeaser-module_toggleSection__2az0R",toggle:"ProductTeaser-module_toggle__GClvg",serviceUnavail:"ProductTeaser-module_serviceUnavail__Pe52H",leftWrapper:"ProductTeaser-module_leftWrapper__pj0yj",priceWrapper:"ProductTeaser-module_priceWrapper__7TC6y",slider:"ProductTeaser-module_slider__-V4R1",line:"ProductTeaser-module_line__mbJxT",pricetxt:"ProductTeaser-module_pricetxt__YYSmd",sliderNew:"ProductTeaser-module_sliderNew__ZnCAh",clicked:"ProductTeaser-module_clicked__A9jUK",priceDuration:"ProductTeaser-module_priceDuration__TeeO9",callCartNew:"ProductTeaser-module_callCartNew__AksMY",arrowIcon:"ProductTeaser-module_arrowIcon__OFm89",callCart:"ProductTeaser-module_callCart__YLJSL",disableCallcart:"ProductTeaser-module_disableCallcart__-M8Od",priceDesc:"ProductTeaser-module_priceDesc__8Er0h",priceDescCenter:"ProductTeaser-module_priceDescCenter__hhZUS",priceDescNew:"ProductTeaser-module_priceDescNew__ghXo4",priceLeftCenter:"ProductTeaser-module_priceLeftCenter__SVC5R"};S('/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.ProductTeaser-module_card__HsPC5.ProductTeaser-module_sr-card__dLVqa {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.ProductTeaser-module_card__HsPC5.ProductTeaser-module_border-top__uS5i7 {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .ProductTeaser-module_sr-desk-card__m3F0X {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_sr-mob-card__3w9z8 {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .ProductTeaser-module_sr-md-card__AsnJ8 {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.ProductTeaser-module_carouselContainer__RzBpK {\n position: static;\n margin-top: 32px;\n border-radius: 24px;\n}\n@media (min-width: 768px) {\n .ProductTeaser-module_carouselContainer__RzBpK {\n box-shadow: 0px 20px 30px -8px rgba(87, 84, 82, 0.4);\n }\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_arrowButton__-AkY4, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n background: #ffffff;\n box-shadow: 0px 4px 12px rgba(87, 84, 82, 0.2);\n border-radius: 24px;\n font-size: 16px;\n height: 44px;\n width: 44px;\n padding: 10px;\n position: absolute;\n border: none;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_arrowButton__-AkY4::before, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm::before, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F::before {\n color: #da291c;\n font-size: 20px;\n display: block;\n font-family: revicons;\n text-align: center;\n z-index: 1;\n position: relative;\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n right: 22px;\n top: 253px;\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n right: 16px;\n top: 263px;\n }\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n right: -32px;\n top: 278px;\n }\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F::before {\n content: "\\e825";\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F:disabled {\n background: #e6e3df;\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm {\n left: 22px;\n top: 253px;\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm {\n left: 16px;\n top: 263px;\n }\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm {\n left: -32px;\n top: 278px;\n }\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm::before {\n content: "\\e824";\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm:disabled {\n background: #e6e3df;\n}\n\n.ProductTeaser-module_stageTeaserTab__VYRxL, .ProductTeaser-module_stageTeaserTabActive__Wu5nT {\n border-radius: 40px;\n border: none;\n color: #5f5955;\n background-color: #ffffff;\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n padding: 10px 24px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_stageTeaserTab__VYRxL, .ProductTeaser-module_stageTeaserTabActive__Wu5nT {\n max-width: 158px;\n }\n}\n\n.ProductTeaser-module_stageTeaserTabActive__Wu5nT {\n color: #ffffff;\n background: #da291c;\n}\n\n.ProductTeaser-module_carousel_dot__zxG-A {\n border-radius: 50px;\n background-color: #ffffff;\n border: 2px solid rgba(61, 57, 53, 0.25);\n padding: 1px;\n width: fit-content;\n margin: 0 auto;\n position: absolute;\n top: -24px;\n height: fit-content;\n}\n\n.ProductTeaser-module_carouselItemNew__TTklX {\n position: fixed;\n top: -24px;\n width: 100%;\n}\n\n.ProductTeaser-module_teaserImageLeft__dIk-h {\n object-fit: contain;\n object-position: right;\n position: relative;\n left: 600px;\n}\n\n.ProductTeaser-module_teaserImageRight__hHvry {\n object-fit: contain;\n object-position: left;\n position: relative;\n}\n\n.ProductTeaser-module_carouselItem__vtLwf {\n position: relative;\n width: 100%;\n}\n.ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_teaserImage__sQ3ed {\n object-fit: cover;\n object-position: center;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_carouselItem__vtLwf {\n display: flex;\n justify-content: center;\n }\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_teaserImage__sQ3ed {\n border-radius: 24px;\n position: absolute;\n }\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperNew__DfLax, .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperTransparent__ES5iK, .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapper__0jFlz {\n min-width: 520px;\n }\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperNew__DfLax .ProductTeaser-module_titleSection__YqXUJ, .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperTransparent__ES5iK .ProductTeaser-module_titleSection__YqXUJ, .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapper__0jFlz .ProductTeaser-module_titleSection__YqXUJ {\n position: relative;\n left: unset;\n top: unset;\n height: fit-content;\n margin: auto 0;\n font-size: 28px;\n }\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperNew__DfLax .ProductTeaser-module_featureSection__T-YzP, .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperTransparent__ES5iK .ProductTeaser-module_featureSection__T-YzP, .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapper__0jFlz .ProductTeaser-module_featureSection__T-YzP {\n position: relative;\n right: 0px;\n top: 0;\n }\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapper__0jFlz {\n position: absolute;\n display: flex;\n justify-content: space-between;\n left: 107px;\n right: 107px;\n top: 129px;\n }\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperTransparent__ES5iK {\n position: relative;\n display: flex;\n justify-content: space-between;\n padding: 0 50px;\n top: 129px;\n height: 550px;\n }\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperTransparent__ES5iK .ProductTeaser-module_titleSection__YqXUJ {\n position: relative;\n left: unset;\n top: unset;\n bottom: 170px;\n height: fit-content;\n margin: auto 0;\n font-size: 28px;\n }\n}\n\n.ProductTeaser-module_contentWrapper__3GKwX, .ProductTeaser-module_contentWrapperLeft__tGGEs {\n position: absolute;\n top: 40px;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_contentWrapper__3GKwX, .ProductTeaser-module_contentWrapperLeft__tGGEs {\n left: 30px;\n }\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_contentWrapper__3GKwX, .ProductTeaser-module_contentWrapperLeft__tGGEs {\n max-width: 460px;\n }\n}\n@media (min-width: 768px) {\n .ProductTeaser-module_contentWrapper__3GKwX, .ProductTeaser-module_contentWrapperLeft__tGGEs {\n left: 24px;\n max-width: 400px;\n }\n}\n.ProductTeaser-module_contentWrapper__3GKwX .ProductTeaser-module_titleSection__YqXUJ, .ProductTeaser-module_contentWrapperLeft__tGGEs .ProductTeaser-module_titleSection__YqXUJ {\n position: relative;\n text-align: center;\n left: unset;\n top: unset;\n}\n.ProductTeaser-module_contentWrapper__3GKwX .ProductTeaser-module_featureSection__T-YzP, .ProductTeaser-module_contentWrapperLeft__tGGEs .ProductTeaser-module_featureSection__T-YzP {\n position: relative;\n right: unset;\n top: unset;\n margin-top: 24px;\n}\n.ProductTeaser-module_contentWrapper__3GKwX .ProductTeaser-module_priceContainer__CzBhB, .ProductTeaser-module_contentWrapper__3GKwX .ProductTeaser-module_priceContainerNew__hn6rW, .ProductTeaser-module_contentWrapperLeft__tGGEs .ProductTeaser-module_priceContainer__CzBhB, .ProductTeaser-module_contentWrapperLeft__tGGEs .ProductTeaser-module_priceContainerNew__hn6rW {\n position: relative;\n top: unset;\n bottom: unset;\n margin-top: 24px;\n}\n\n@media (min-width: 1440px) {\n .ProductTeaser-module_contentWrapperLeft__tGGEs {\n left: 107px;\n }\n}\n\n.ProductTeaser-module_contentWrapperRight__8FP0u {\n position: absolute;\n max-width: 400px;\n top: 40px;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_contentWrapperRight__8FP0u {\n right: 107px;\n }\n}\n.ProductTeaser-module_contentWrapperRight__8FP0u .ProductTeaser-module_titleSection__YqXUJ {\n position: relative;\n text-align: center;\n right: unset;\n top: unset;\n}\n.ProductTeaser-module_contentWrapperRight__8FP0u .ProductTeaser-module_featureSection__T-YzP {\n position: relative;\n right: unset;\n top: unset;\n margin-top: 24px;\n}\n.ProductTeaser-module_contentWrapperRight__8FP0u .ProductTeaser-module_priceContainer__CzBhB, .ProductTeaser-module_contentWrapperRight__8FP0u .ProductTeaser-module_priceContainerNew__hn6rW {\n position: relative;\n top: unset;\n bottom: unset;\n margin-top: 24px;\n}\n\n@media (max-width: 767px) {\n .ProductTeaser-module_contentMobWrapper__9rRLQ {\n position: relative;\n margin: 0 16px;\n width: 100%;\n }\n}\n@media (max-width: 320px) {\n .ProductTeaser-module_contentMobWrapper__9rRLQ {\n margin: 0 8px;\n }\n}\n\n.ProductTeaser-module_titleSection__YqXUJ {\n position: absolute;\n top: 173px;\n left: 107px;\n color: #ffffff;\n font-weight: 700;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_titleSection__YqXUJ {\n max-width: 412px;\n }\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_titleSection__YqXUJ {\n position: relative;\n top: unset;\n left: unset;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_titleSection__YqXUJ {\n text-align: center;\n top: 32px;\n left: unset;\n width: 100%;\n }\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_heading__Xim2- {\n font-size: 16px;\n line-height: 24px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_heading__Xim2- {\n font-size: 14px;\n line-height: 20px;\n }\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_fadeOutText__nKr5i {\n opacity: 0;\n transition: opacity 1s ease;\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_fadeInText__Ux98m {\n opacity: 1;\n transition: opacity 1s ease;\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_paragraph__hUonu {\n font-size: 28px;\n line-height: 36px;\n margin: 8px 0 12px 0;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_paragraph__hUonu {\n font-size: 20px;\n line-height: 28px;\n max-width: 100%;\n }\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_description__s-lyV {\n font-weight: 700;\n font-size: 24px;\n line-height: 32px;\n}\n\n@media (max-width: 767px) {\n .ProductTeaser-module_extraSpace__HFJ2A {\n top: 62px;\n }\n}\n\n.ProductTeaser-module_featureSection__T-YzP {\n position: absolute;\n right: 107px;\n top: 129px;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_featureSection__T-YzP {\n max-width: 412px;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureSection__T-YzP {\n right: unset;\n top: unset;\n margin-top: 397px;\n font-size: 14px;\n line-height: 20px;\n background-color: #ffffff;\n color: #3D3935;\n border-radius: 12px;\n position: relative;\n height: fit-content;\n }\n}\n.ProductTeaser-module_featureSection__T-YzP .ProductTeaser-module_toolTip__KL7Xx {\n filter: brightness(0) invert(1);\n margin-left: 16px;\n display: flex;\n align-items: center;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureSection__T-YzP .ProductTeaser-module_toolTip__KL7Xx {\n filter: none;\n }\n}\n\n.ProductTeaser-module_gradiantBox__Eys-K, .ProductTeaser-module_addOnSection__G4zhX, .ProductTeaser-module_featureList__gmPS1 {\n border-radius: 12px;\n background: rgba(0, 0, 0, 0.2);\n backdrop-filter: blur(12.5px);\n color: #ffffff;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_gradiantBox__Eys-K, .ProductTeaser-module_addOnSection__G4zhX, .ProductTeaser-module_featureList__gmPS1 {\n background: none;\n color: unset;\n backdrop-filter: unset;\n }\n}\n\n.ProductTeaser-module_featureList__gmPS1 {\n padding: 4px 20px;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu {\n display: flex;\n align-items: center;\n margin: 12px 0;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu a {\n color: #ffffff;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu .ProductTeaser-module_featureIcon__PbcQN {\n margin-right: 10px;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu span {\n color: #ffffff;\n text-decoration: underline;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu span {\n color: #3d3935;\n }\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_horizontalLine__Nfj9U, .ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_horizontalLineDark__Sg-Ou {\n opacity: 0.5;\n background: linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 100%);\n height: 1px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureList__gmPS1 {\n border-radius: 12px 12px 0px 0px;\n }\n}\n\n.ProductTeaser-module_addOnSection__G4zhX {\n padding: 16px 20px;\n margin-top: 16px;\n display: flex;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_addOnSectionIcon__9-EoX {\n margin-right: 10px;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R {\n margin-left: auto;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R .ProductTeaser-module_toggle__GClvg {\n margin-right: 10px;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R input {\n cursor: pointer;\n margin-top: unset;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R input:focus {\n border: unset !important;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_addOnSection__G4zhX {\n border-radius: 0px 0px 12px 12px;\n margin-top: 0px;\n padding: 12px 20px;\n align-items: center;\n }\n}\n\n.ProductTeaser-module_priceContainer__CzBhB, .ProductTeaser-module_priceContainerNew__hn6rW {\n position: absolute;\n bottom: 40px;\n width: 100%;\n color: #ffffff;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_serviceUnavail__Pe52H, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_serviceUnavail__Pe52H {\n text-align: center;\n margin-bottom: 10px;\n font-size: 16px;\n line-height: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_serviceUnavail__Pe52H img, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_serviceUnavail__Pe52H img {\n margin-right: 8px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB, .ProductTeaser-module_priceContainerNew__hn6rW {\n color: #3D3935;\n position: static;\n display: flex;\n justify-content: center;\n flex-direction: column;\n padding: 16px;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_leftWrapper__pj0yj, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_leftWrapper__pj0yj {\n position: relative;\n right: 38px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y {\n font-size: 24px;\n line-height: 32px;\n font-weight: 700;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y {\n margin-right: unset;\n flex-direction: column;\n font-size: 20px;\n line-height: 28px;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 {\n height: 32px;\n overflow: hidden;\n margin-right: 12px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 .ProductTeaser-module_line__mbJxT, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 .ProductTeaser-module_line__mbJxT {\n transition: transform 0.5s ease;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 .ProductTeaser-module_line__mbJxT .ProductTeaser-module_pricetxt__YYSmd, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 .ProductTeaser-module_line__mbJxT .ProductTeaser-module_pricetxt__YYSmd {\n font-size: 16px;\n line-height: 24px;\n font-weight: 400;\n margin-right: 6px;\n display: inline-block;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 {\n margin-bottom: 8px;\n margin-right: unset;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh {\n height: 32px;\n min-width: 158px;\n overflow: hidden;\n margin-right: 12px;\n position: relative;\n bottom: 16px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh .ProductTeaser-module_line__mbJxT, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh .ProductTeaser-module_line__mbJxT {\n transition: transform 0.5s ease;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh .ProductTeaser-module_line__mbJxT .ProductTeaser-module_pricetxt__YYSmd, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh .ProductTeaser-module_line__mbJxT .ProductTeaser-module_pricetxt__YYSmd {\n font-size: 16px;\n line-height: 24px;\n font-weight: 400;\n margin-right: 6px;\n display: inline-block;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh {\n margin-bottom: 8px;\n margin-right: unset;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_clicked__A9jUK .ProductTeaser-module_line__mbJxT, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_clicked__A9jUK .ProductTeaser-module_line__mbJxT {\n transform: translateY(-100%);\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_priceDuration__TeeO9, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_priceDuration__TeeO9 {\n font-size: 16px;\n line-height: 24px;\n font-weight: 400;\n display: inline-block;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY {\n padding: 10px 24px;\n font-weight: 700;\n border: none;\n background-color: #da291c;\n color: #ffffff;\n border-radius: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 338px;\n height: 52px;\n font-size: 16px;\n line-height: 24px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY .ProductTeaser-module_arrowIcon__OFm89, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY .ProductTeaser-module_arrowIcon__OFm89 {\n margin-left: 8px;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY {\n padding: 14px 24px;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY {\n padding: 10px 24px;\n max-width: 100%;\n display: flex;\n justify-content: center;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL {\n padding: 10px 24px;\n font-weight: 700;\n border: none;\n background-color: #da291c;\n color: #ffffff;\n border-radius: 28px;\n display: flex;\n align-items: center;\n font-size: 16px;\n line-height: 24px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL .ProductTeaser-module_arrowIcon__OFm89, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL .ProductTeaser-module_arrowIcon__OFm89 {\n margin-left: 8px;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL {\n padding: 14px 24px;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL {\n padding: 10px 24px;\n max-width: 100%;\n display: flex;\n justify-content: center;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_disableCallcart__-M8Od, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_disableCallcart__-M8Od {\n background-color: #e6e3df;\n color: #b3aeaa;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDesc__8Er0h, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDesc__8Er0h, .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDescCenter__hhZUS, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDescCenter__hhZUS, .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDescNew__ghXo4, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDescNew__ghXo4, .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceLeftCenter__SVC5R, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceLeftCenter__SVC5R {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 10px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDesc__8Er0h, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDesc__8Er0h, .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDescCenter__hhZUS, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDescCenter__hhZUS, .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDescNew__ghXo4, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDescNew__ghXo4, .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceLeftCenter__SVC5R, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceLeftCenter__SVC5R {\n font-size: 14px;\n line-height: 20px;\n margin-top: 8px;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceLeftCenter__SVC5R, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceLeftCenter__SVC5R {\n position: relative;\n right: 52px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDescNew__ghXo4, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDescNew__ghXo4 {\n justify-content: flex-start;\n position: relative;\n bottom: 30px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDescCenter__hhZUS, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDescCenter__hhZUS {\n justify-content: flex-start;\n position: relative;\n bottom: 30px;\n right: 40px;\n}\n\n.ProductTeaser-module_priceContainerNew__hn6rW {\n bottom: 0px;\n top: 400px;\n}\n\n@media (max-width: 767px) {\n .ProductTeaser-module_horizontalLineDark__Sg-Ou {\n margin: 0 16px;\n height: 1px;\n background-color: #e6e3df;\n }\n}');class bt{constructor(e){this.config={baseURL:"",cartURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.getCartUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.cartURL)&&void 0!==n?n:""},this.config=e}}bt.getInstance=()=>bt.instance,bt.create=e=>{bt.instance=new bt(e)};class yt{constructor(e){this.config={baseURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.config=e}}yt.getInstance=()=>yt.instance,yt.create=e=>{yt.instance=new yt(e)};class wt{constructor(e){this.config={baseURL:"",cartURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.getCartUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.cartURL)&&void 0!==n?n:""},this.config=e}}wt.getInstance=()=>wt.instance,wt.create=e=>{wt.instance=new wt(e)};class St{constructor(e){this.config={baseURL:"",cartURL:"",storyBlokURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.getCartUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.cartURL)&&void 0!==n?n:""},this.getSBUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.storyBlokURL)&&void 0!==n?n:""},this.config=e}}St.getInstance=()=>St.instance,St.create=e=>{St.instance=new St(e)};var Ct="ToolTip-module_tooltipicon__U5Rvt",kt="ToolTip-module_benefits__-gI-y";S("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.ToolTip-module_card__eq9Pj.ToolTip-module_sr-card__AL8-i {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.ToolTip-module_card__eq9Pj.ToolTip-module_border-top__owz6e {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .ToolTip-module_sr-desk-card__ss7EA {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .ToolTip-module_sr-mob-card__iNYOk {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .ToolTip-module_sr-md-card__TrrAG {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.ToolTip-module_tooltipicon__U5Rvt {\n height: 24px;\n margin-left: 4px;\n min-width: 20px;\n width: 24px;\n cursor: pointer;\n}\n@media (max-width: 767px) {\n .ToolTip-module_tooltipicon__U5Rvt img {\n width: inherit;\n height: inherit;\n }\n}\n\n.ToolTip-module_benefits__-gI-y img {\n width: 20px !important;\n height: 20px !important;\n}");const Et=({content:n,heading:o="",tooltipClass:i="",isBenefit:l=!1})=>{var r;const d=Ye(),a=Ge(),s=null===(r=null==k?void 0:k.getInstance())||void 0===r?void 0:r.getAssetPath();return n&&e.createElement(t.OverlayTrigger,{placement:"auto",rootClose:!0,trigger:""+("mobile"===d||"tablet"===d||a?"click":"hover"),overlay:n&&e.createElement(t.Popover,{id:"popover-basic"},""!==o&&e.createElement(t.Popover.Header,null,o),e.createElement(t.Popover.Body,null,n))},e.createElement("div",{className:`${Ct} ${i} ${l&&kt}`},s&&e.createElement("img",{src:`${s}/icons/tooltip_icon.svg`,width:24,height:24,alt:""})))},Pt=(e,n)=>{var o,t,i,l,r,d,a,s,c,u,p,m,_,v,h,g,f,x,b,y;const{itemCategory:w,location:S}=n,C=null!==(r=null===(l=null===(i=null===(t=null===(o=null==e?void 0:e.prices)||void 0===o?void 0:o[0])||void 0===t?void 0:t.priceAlteration)||void 0===i?void 0:i[0])||void 0===l?void 0:l.value)&&void 0!==r?r:0,k=null!==(s=null===(a=null===(d=null==e?void 0:e.prices)||void 0===d?void 0:d[0])||void 0===a?void 0:a.value)&&void 0!==s?s:0;return{item_id:null!==(c=null==e?void 0:e.id)&&void 0!==c?c:"",item_name:null!==(u=null==e?void 0:e.id)&&void 0!==u?u:"",affiliation:null!==(_=null===(m=null===(p=null==e?void 0:e.promotionInfo)||void 0===p?void 0:p[0])||void 0===m?void 0:m.campaignId)&&void 0!==_?_:"",coupon:"",discount:C&&Number(C),index:0,item_brand:on,item_category:null!==(h=null!==(v=null==w?void 0:w.productName)&&void 0!==v?v:null==w?void 0:w.id)&&void 0!==h?h:"MOBILE",item_category2:w?"BUNDLE":"MOBILE",item_category3:"",item_category4:"",item_category5:"",item_list_id:w?"Fixnet":"Mobile",item_list_name:w?"Fixnet":"Mobile",item_variant:null!==(f=null!==(g=null==w?void 0:w.productName)&&void 0!==g?g:null==w?void 0:w.id)&&void 0!==f?f:null==e?void 0:e.id,location_id:S,price:k&&Number(k),quantity:1,promotion_id:null!==(y=null===(b=null===(x=null==e?void 0:e.promotionInfo)||void 0===x?void 0:x[0])||void 0===b?void 0:b.campaignId)&&void 0!==y?y:""}},Tt=(e,n,o)=>{const t=[];return null==e||e.map((e=>{var i;(null==e?void 0:e.bundledOffers)?null===(i=null==e?void 0:e.bundledOffers)||void 0===i||i.map((i=>{const l=""==n?e:n;t.push(Pt(i,{itemCategory:l,location:o}))})):t.push(Pt(e,{location:o}))})),t},Ot=(e,n,o)=>{var t,i,l,r;const d=null===(l=null===(i=null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.derivedPrice)||void 0===i?void 0:i[0])||void 0===l?void 0:l.value;return{currency:tn,value:null!==(r=d&&Number(d))&&void 0!==r?r:0,items:Tt(e,n,o)}},Nt=e=>{const n={prodCategory:"",prodsubCategory:"",prodsubscription:""};if("MOBILE"===(null==e?void 0:e.productType))n.prodCategory="Mobile",n.prodsubCategory="Postpaid",n.prodsubscription="Subscription only";else if("MOBILEPREPAID_RATEPLAN"===(null==e?void 0:e.productType))n.prodCategory="Mobile",n.prodsubCategory="Prepaid",n.prodsubscription="No subscription";else{switch(n.prodCategory="Home",null==e?void 0:e.productType){case"INTERNET":n.prodsubCategory="Internet";break;case"TV":n.prodsubCategory="TV";break;case"VOICE":n.prodsubCategory="Phone";break;default:n.prodsubCategory=""}n.prodsubscription="Subscription only"}return n},Lt=(e,n,o)=>{var t,i,l,r,d,a,s,c,u,p,m,_,v,h,g,f,x,b,y,w,S,C;const{itemCategory:k,location:E}=n,P=null!==(d=null===(r=null===(l=null===(i=null===(t=null==e?void 0:e.prices)||void 0===t?void 0:t[0])||void 0===i?void 0:i.priceAlteration)||void 0===l?void 0:l[0])||void 0===r?void 0:r.value)&&void 0!==d?d:0,T=null!==(c=null===(s=null===(a=null==e?void 0:e.prices)||void 0===a?void 0:a[0])||void 0===s?void 0:s.value)&&void 0!==c?c:0,O={item_id:null!==(u=null==e?void 0:e.id)&&void 0!==u?u:"",item_name:null!==(p=null==e?void 0:e.id)&&void 0!==p?p:"",affiliation:null!==(v=null===(_=null===(m=null==e?void 0:e.promotionInfo)||void 0===m?void 0:m[0])||void 0===_?void 0:_.campaignId)&&void 0!==v?v:"",coupon:"",discount:P&&Number(P),index:0,item_brand:on,item_category:null===(h=Nt(e))||void 0===h?void 0:h.prodCategory,item_category2:null===(g=Nt(e))||void 0===g?void 0:g.prodsubCategory,item_category3:"",item_category4:null===(f=Nt(e))||void 0===f?void 0:f.prodsubscription,item_category5:"",item_list_id:k?"Fixnet":"Mobile",item_list_name:k?"Fixnet":"Mobile",item_variant:null!==(y=null!==(b=null!==(x=null==k?void 0:k.title)&&void 0!==x?x:null==k?void 0:k.productName)&&void 0!==b?b:null==k?void 0:k.id)&&void 0!==y?y:null==e?void 0:e.id,location_id:E,price:T&&Number(T),quantity:1,promotion_id:null!==(C=null===(S=null===(w=null==e?void 0:e.promotionInfo)||void 0===w?void 0:w[0])||void 0===S?void 0:S.campaignId)&&void 0!==C?C:""};return o&&(O.item_available=o),O},Dt=(e,n,o,t)=>{const i=[];let l="";return null==e||e.map((e=>{var r;if(null==e?void 0:e.bundledOffers)null===(r=null==e?void 0:e.bundledOffers)||void 0===r||r.map((r=>{var d;const a=""==n?e:n;t&&(l=(null==t?void 0:t.includes(null==e?void 0:e.id))?"yes":"no");const s=Lt(r,{itemCategory:a,location:o},l);s.item_category3=`${null===(d=null==e?void 0:e.bundledOffers)||void 0===d?void 0:d.length}P Subscription`,i.push(s)}));else if("INTERNET"!==(null==e?void 0:e.productType)||(null==e?void 0:e.bundledOffers)){const n=Lt(e,{location:o});"MOBILEPREPAID_RATEPLAN"===(null==e?void 0:e.productType)?n.item_category3="":n.item_category3="1P Subscription",i.push(n)}else{const n={id:null==e?void 0:e.id};t&&(l=(null==t?void 0:t.includes(null==e?void 0:e.id))?"yes":"no");const r=Lt(e,{itemCategory:n,location:o},l);r.item_category3="1P Subscription",i.push(r)}})),i},It=(e,n,o)=>{let t;null==e||e.map((e=>{t=(null==e?void 0:e.bundledOffers)?"Fixnet":"INTERNET"!==(null==e?void 0:e.productType)||(null==e?void 0:e.bundledOffers)?"Mobile":"Internet"}));return{item_list_id:t,item_list_name:t,items:Dt(e,n,o)}},At=(e,n,o,t)=>{var i,l,r,d;const a=null===(r=null===(l=null===(i=null==e?void 0:e[0])||void 0===i?void 0:i.derivedPrice)||void 0===l?void 0:l[0])||void 0===r?void 0:r.value;return{currency:tn,value:null!==(d=a&&Number(a))&&void 0!==d?d:0,items:Dt(e,n,o,t)}},Bt=(e,n,o,t,i,l)=>{var r,d;"view"===e?null===window||void 0===window||window.dataLayer.push({event:"view_item_list",event_name:"view_item_list",ecommerce:It(n,o,t),isPegaEnabled:!!l}):"addtocart"===e?null===window||void 0===window||window.dataLayer.push({event:"add_to_cart",event_name:"add_to_cart",ecommerce:At(n,o,t),transaction_type:"MOBILE"===(null===(r=null==n?void 0:n[0])||void 0===r?void 0:r.productType)?"MOBILE_ORDER":"HOME_ORDER",isPegaEnabled:!!l,fromPopup:!!(null===(d=null==n?void 0:n[0])||void 0===d?void 0:d.fromPopup)}):"available"===e&&window.dataLayer.push({event:"view_item",event_name:"view_item",ecommerce:At(n,o,t,i),isPegaEnabled:!!l})};var Vt={card:"AutoComplete-module_card__E-C0L","sr-card":"AutoComplete-module_sr-card__xY0rf","border-top":"AutoComplete-module_border-top__DqIXt","sr-desk-card":"AutoComplete-module_sr-desk-card__oJCzb","sr-mob-card":"AutoComplete-module_sr-mob-card__i0v1J","sr-md-card":"AutoComplete-module_sr-md-card__A87lh",inputcontainer:"AutoComplete-module_inputcontainer__VORIB","cross-icon":"AutoComplete-module_cross-icon__7SIoo",addresscontainer:"AutoComplete-module_addresscontainer__za7ZE",suggestionactive:"AutoComplete-module_suggestionactive__4cjbE"};S("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.AutoComplete-module_card__E-C0L.AutoComplete-module_sr-card__xY0rf {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.AutoComplete-module_card__E-C0L.AutoComplete-module_border-top__DqIXt {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .AutoComplete-module_sr-desk-card__oJCzb {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .AutoComplete-module_sr-mob-card__i0v1J {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .AutoComplete-module_sr-md-card__A87lh {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.AutoComplete-module_inputcontainer__VORIB {\n position: relative;\n top: 27px;\n margin-right: 16px;\n}\n.AutoComplete-module_inputcontainer__VORIB input {\n font-size: 16px;\n line-height: 24px;\n border: 1px solid #B3AEAA !important;\n border-radius: 4px;\n height: 52px;\n padding: 14px 12px;\n width: 100%;\n background: #F7F6F5;\n}\n@media (max-width: 767px) {\n .AutoComplete-module_inputcontainer__VORIB {\n margin: 0 !important;\n }\n}\n.AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_cross-icon__7SIoo {\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n padding: 14px;\n}\n.AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_addresscontainer__za7ZE {\n background: #ffffff;\n box-shadow: 0px 8px 24px rgba(51, 51, 51, 0.2);\n cursor: pointer;\n list-style: none;\n padding: 12px;\n position: absolute;\n text-align: left;\n width: 100%;\n z-index: 1000;\n transition: all 1s ease-in;\n}\n@media (max-width: 767px) {\n .AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_addresscontainer__za7ZE {\n margin-top: 0px;\n background: #f7f6f5;\n }\n}\n.AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_addresscontainer__za7ZE .AutoComplete-module_addresscontainer__za7ZE :hover {\n background: #e5e5e5;\n border-radius: 4px;\n text-align: left;\n width: 100%;\n z-index: 100;\n}\n.AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_suggestionactive__4cjbE,\n.AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_addresscontainer__za7ZE li:hover {\n background-color: #f7f6f5;\n cursor: pointer;\n}\n.AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_suggestionactive__4cjbE,\n.AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_addresscontainer__za7ZE li {\n padding: 10px 12px;\n}\n\ninput:disabled {\n background-color: #e6e3df !important;\n}\n\ninput[type=text]:disabled {\n color: #86807C !important;\n}\n\nlabel:disabled {\n color: #86807C !important;\n}");const Mt=e.forwardRef(((n,o)=>{var t,i,l;const{inputValue:r,setInputValue:d,dropdownValue:a,placeholder:s,onChange:c,name:u,inputClassName:p,selectedData:m,minLength:_,maxLength:v,content:h,setApiError:g,setFetchingLineCheck:f,checkAvailability:x,FetchingLineCheck:b,setaddressNotFound:y}=n,[w,S]=e.useState(-1),[C,k]=e.useState(!0),[E,P]=e.useState(!1);Ye();return e.useEffect((()=>{a&&a.length>0&&(null==r?void 0:r.length)>=3?P(!0):P(!1)}),[a]),e.createElement(e.Fragment,null,e.createElement("div",{id:"dropdownselect",className:`${Vt.inputcontainer} form-floating ${b&&Vt["box-disabled"]}`},e.createElement("input",{type:"text",disabled:b||!C||x,placeholder:s,onChange:c,name:u,onKeyDown:e=>{if(a&&Object.keys(a).length>0)if("Enter"===(null==e?void 0:e.key)||13===(null==e?void 0:e.keyCode)){if(-1===w)return;S(-1),k(!0),P(!1),d(a[w].concatedAddress),m(a[w])}else if("ArrowUp"===(null==e?void 0:e.key)||38===(null==e?void 0:e.keyCode)){if(-1===w)return void S((null==a?void 0:a.length)-1);S(w-1)}else if("ArrowDown"===(null==e?void 0:e.key)||40===(null==e?void 0:e.keyCode)){if(w===(null==a?void 0:a.length)-1)return void S(-1);S(w+1)}else S(-1)},value:r,autoComplete:"off","aria-autocomplete":"none",className:p,spellCheck:"false",minLength:_,maxLength:v}),e.createElement("label",{htmlFor:"address",className:"input-label"},s),!(b||!C||x)&&0!==(null==r?void 0:r.length)&&e.createElement("div",{className:Vt["cross-icon"],onClick:()=>{var e,n;(null===(e=null==o?void 0:o.current)||void 0===e?void 0:e.focus())||P(!1),d(""),null===(n=null==o?void 0:o.current)||void 0===n||n.focus(),g(!1),f(!1),y(!1)}},e.createElement("img",{src:null===(l=null===(i=null===(t=null==h?void 0:h.linecheckIcons)||void 0===t?void 0:t[0])||void 0===i?void 0:i.close)||void 0===l?void 0:l.filename,height:14,width:14,alt:"cross-icon"})),E&&(null==a?void 0:a.length)&&e.createElement("ul",{className:Vt.addresscontainer},a.map(((n,o)=>{let t;return o===w&&(t="active"),e.createElement(e.Fragment,null,e.createElement("li",{className:"active"===t?Vt.suggestionactive:Vt.suggestionInactive,key:o,onClick:e=>((e,n)=>{var o;S(-1),P(!1),k(!0),d((null==n?void 0:n.currentTarget)&&(null===(o=null==n?void 0:n.currentTarget)||void 0===o?void 0:o.innerText)),m(e)})(n,e)},n&&n.concatedAddress))})))))}));var Rt={card:"IndividualLineCheck-module_card__-FJvi","sr-card":"IndividualLineCheck-module_sr-card__TLdZx","border-top":"IndividualLineCheck-module_border-top__1r7TF","sr-desk-card":"IndividualLineCheck-module_sr-desk-card__9WNE6","sr-mob-card":"IndividualLineCheck-module_sr-mob-card__6CPcd","sr-md-card":"IndividualLineCheck-module_sr-md-card__1oFTu",inputcontainer:"IndividualLineCheck-module_inputcontainer__RzNgl","comman-css":"IndividualLineCheck-module_comman-css__Ih8mD",errorInputs:"IndividualLineCheck-module_errorInputs__VLMc5",individuallinecheck:"IndividualLineCheck-module_individuallinecheck__S0DaG","individuallinecheck-bottom":"IndividualLineCheck-module_individuallinecheck-bottom__mHELS",errorbutton:"IndividualLineCheck-module_errorbutton__YhCHC",btn:"IndividualLineCheck-module_btn__aCYjV",smallerinputcontainer:"IndividualLineCheck-module_smallerinputcontainer__HjSk0",cityinputcontainer:"IndividualLineCheck-module_cityinputcontainer__tMbW1","error-section":"IndividualLineCheck-module_error-section__y69YQ","errorinput-small":"IndividualLineCheck-module_errorinput-small__zu3mE","errorinput-small-mobile":"IndividualLineCheck-module_errorinput-small-mobile__3P158"};S("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.IndividualLineCheck-module_card__-FJvi.IndividualLineCheck-module_sr-card__TLdZx {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.IndividualLineCheck-module_card__-FJvi.IndividualLineCheck-module_border-top__1r7TF {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .IndividualLineCheck-module_sr-desk-card__9WNE6 {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .IndividualLineCheck-module_sr-mob-card__6CPcd {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .IndividualLineCheck-module_sr-md-card__1oFTu {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.IndividualLineCheck-module_inputcontainer__RzNgl {\n position: relative;\n margin: 18px 16px 32px 0;\n top: 18px;\n}\n.IndividualLineCheck-module_inputcontainer__RzNgl .form-floating {\n margin-right: 0;\n}\n.IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_comman-css__Ih8mD {\n border: 1px solid #B3AEAA;\n background-color: #F7F6F5;\n border-radius: 4px;\n padding: 13px 12px 13px 12px;\n gap: 4px;\n}\n.IndividualLineCheck-module_inputcontainer__RzNgl input {\n border: 1px solid #B3AEAA !important;\n font-size: 16px;\n line-height: 24px;\n border-radius: 4px;\n height: 52px;\n padding: 14px 12px;\n width: 100%;\n background: #F7F6F5;\n}\n@media (max-width: 767px) {\n .IndividualLineCheck-module_inputcontainer__RzNgl {\n margin: 0 16px;\n top: 0px;\n }\n}\n.IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_errorInputs__VLMc5 {\n border: 2px solid #BF0760 !important;\n}\n.IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_individuallinecheck__S0DaG, .IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_individuallinecheck-bottom__mHELS {\n display: inline-flex;\n width: 100%;\n margin-bottom: 24px;\n gap: 12px;\n}\n@media (max-width: 767px) {\n .IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_individuallinecheck__S0DaG, .IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_individuallinecheck-bottom__mHELS {\n display: block;\n margin: 16px 0;\n text-align: center;\n }\n}\n.IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_errorbutton__YhCHC {\n background-color: #ffffff;\n padding: 0 16px 0 12px;\n border-radius: 12px;\n color: #da291c;\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n}\n@media (max-width: 767px) {\n .IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_errorbutton__YhCHC {\n background-color: transparent;\n padding: 0 16px 0 8px;\n }\n}\n\n@media (max-width: 767px) {\n .IndividualLineCheck-module_btn__aCYjV {\n width: 100% !important;\n }\n}\n\n.IndividualLineCheck-module_smallerinputcontainer__HjSk0 {\n min-width: 145px;\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .IndividualLineCheck-module_smallerinputcontainer__HjSk0 {\n min-width: 120px !important;\n }\n}\n@media (max-width: 767px) {\n .IndividualLineCheck-module_smallerinputcontainer__HjSk0 {\n min-width: 88px !important;\n margin-bottom: 32px;\n }\n}\n\n.IndividualLineCheck-module_cityinputcontainer__tMbW1 {\n min-width: 365px !important;\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .IndividualLineCheck-module_cityinputcontainer__tMbW1 {\n min-width: 230px !important;\n }\n}\n@media (max-width: 767px) {\n .IndividualLineCheck-module_cityinputcontainer__tMbW1 {\n min-width: 88px !important;\n margin-bottom: 32px;\n }\n}\n\n.IndividualLineCheck-module_error-section__y69YQ {\n font-size: 16px;\n line-height: 24px;\n color: #BF0760;\n font-weight: 400;\n}\n.IndividualLineCheck-module_error-section__y69YQ > img {\n margin-right: 4px;\n}\n@media (max-width: 767px) {\n .IndividualLineCheck-module_error-section__y69YQ {\n text-align: left;\n }\n}\n\n.IndividualLineCheck-module_errorinput-small__zu3mE {\n margin-bottom: 0 !important;\n}\n\n.IndividualLineCheck-module_individuallinecheck-bottom__mHELS {\n margin-bottom: 0 !important;\n}\n\n@media (max-width: 767px) {\n .IndividualLineCheck-module_errorinput-small-mobile__3P158 {\n margin-bottom: 8px;\n }\n}");const Ft=e.forwardRef((({parentCallBackIndividual:n,content:o,apiError:t,setApiError:i,setFetchingLineCheck:l,setSelectedAddress:r,FetchingLineCheck:d,addressRef:a,openIndividualLineCheck:s,selected:c,addressNotFound:u,setaddressNotFound:p,isAddressNotFilled:m,setAddressNotFilled:_,setIndivialOpen:v},h)=>{const[g,f]=e.useState({street:"",city:"",postCode:"",houseNumber:"",concatedAddress:""}),[x,b]=e.useState(""),y=Ye(),[w,S]=e.useState(!1);e.useEffect((()=>{"function"==typeof i&&i(!1),"function"==typeof l&&l(!1),"function"==typeof r&&r("")}),[]);const C=e=>{p(!0),f(Object.assign(Object.assign({},g),{[e.target.name]:e.target.value}));const n=Object.assign(Object.assign({},g),{[e.target.name]:e.target.value});k(Object.assign({},n)),i(!1),l(!1),v((e=>Object.assign(Object.assign({},e),{indErrorOpen:!1})))};e.useEffect((()=>{f(c)}),[u]);const k=e=>{let n="";""!==(null==e?void 0:e.postCode)&&""!==e.city&&""!==e.houseNumber&&""!==e.street?(n=e.street+" "+e.houseNumber+", "+e.postCode+" "+e.city,b(n)):(n="",b(""))};e.useEffect((()=>{const e=Object.assign(Object.assign({},g),{concatedAddress:x});f(Object.assign(Object.assign({},g),{concatedAddress:x})),"mobile"!==y&&n(e,w)}),[x]);const E=()=>e.createElement("p",{className:Rt["error-section"]},e.createElement("img",{src:"/ecom-int/icons/error-msg-icon.svg",height:14,width:14,alt:"error"}),null==o?void 0:o.requiredFieldText);return e.createElement("div",{className:`${Rt.inputcontainer} ${m&&Rt["errorinput-container"]}`},e.createElement("div",{className:`${m&&u&&(""===(null==g?void 0:g.postCode)||""===(null==g?void 0:g.city))&&Rt["errorinput-small"]} ${Rt.individuallinecheck}`},e.createElement("div",{className:`${Rt.smallerinputcontainer} form-floating ${m&&u&&""===(null==g?void 0:g.postCode)&&Rt["errorinput-small-mobile"]}`},e.createElement("input",{required:!0,placeholder:(null==o?void 0:o.zip)+"*",name:"postCode",onChange:C,value:d||u?null==g?void 0:g.postCode:null==c?void 0:c.postCode,className:`form-control\n ${(m||w)&&u&&""===(null==g?void 0:g.postCode)?Rt.errorInputs:Rt["comman-css"]} `}),e.createElement("label",{htmlFor:"address"},(null==o?void 0:o.zip)+"*"),(m||w)&&""===(null==g?void 0:g.postCode)&&u&&E()),e.createElement("div",{className:`${Rt.cityinputcontainer} form-floating ${m&&u&&""===(null==g?void 0:g.city)&&Rt["errorinput-small-mobile"]}`},e.createElement("input",{placeholder:(null==o?void 0:o.city)+"*",name:"city",onChange:C,value:d||u?null==g?void 0:g.city:null==c?void 0:c.city,className:`form-control\n ${(m||w)&&u&&""===(null==g?void 0:g.city)?Rt.errorInputs:Rt["comman-css"]}`}),e.createElement("label",{htmlFor:"address"},(null==o?void 0:o.city)+"*"),(m||w)&&""===(null==g?void 0:g.city)&&u&&E())),e.createElement("div",{className:`${Rt["individuallinecheck-bottom"]}`},e.createElement("div",{className:`${Rt.cityinputcontainer} form-floating ${m&&u&&""===(null==g?void 0:g.street)&&Rt["errorinput-small-mobile"]}`},e.createElement("input",{placeholder:(null==o?void 0:o.street)+"*",name:"street",onChange:C,value:d||u?null==g?void 0:g.street:null==c?void 0:c.street,className:`form-control\n ${(m||w)&&u&&""===(null==g?void 0:g.street)?Rt.errorInputs:Rt["comman-css"]}`}),e.createElement("label",{htmlFor:"address"},(null==o?void 0:o.street)+"*"),(m||w)&&""===(null==g?void 0:g.street)&&u&&E()),e.createElement("div",{className:`${Rt.smallerinputcontainer} form-floating ${m&&u&&""===(null==g?void 0:g.houseNumber)&&Rt["errorinput-small-mobile"]}`},e.createElement("input",{placeholder:(null==o?void 0:o.houseNumber)+"*",name:"houseNumber",onChange:C,value:d||u?null==g?void 0:g.houseNumber:null==c?void 0:c.houseNumber,className:`form-control\n ${(m||w)&&u&&""===(null==g?void 0:g.houseNumber)?Rt.errorInputs:Rt["comman-css"]}`}),e.createElement("label",{htmlFor:"address"},(null==o?void 0:o.houseNumber)+"*"),(m||w)&&""===(null==g?void 0:g.houseNumber)&&u&&E())),"mobile"===y&&e.createElement(e.Fragment,null,e.createElement("div",{className:Rt.individuallinecheck},e.createElement("button",{name:"check address button",type:"button",className:`primarybutton ${Rt.btn}`,disabled:!1,onClick:()=>{S(!0),""!==(null==g?void 0:g.postCode)&&""!==(null==g?void 0:g.city)&&""!==(null==g?void 0:g.houseNumber)&&""!==(null==g?void 0:g.street)?"function"==typeof n&&n(g,!0):"function"==typeof _&&_(!m)},style:{width:"50%"}},null==o?void 0:o.buttonvalue))))})),jt="address-suggestion",Ut="catalogue-management",zt=e=>I(void 0,void 0,void 0,(function*(){var t,i,l,r,d,a,s;const c=yield(e=>{var t;const i=null===(t=null==yt?void 0:yt.getInstance())||void 0===t?void 0:t.getBaseUrl(),l={params:{},headers:{"x-sunrise-channel":Qo.X_SUN_CHAL,"x-correlation-id":o.v4()}},r={address:e,segment:"Residential"};try{const e=`${i}${Ut}${Qo.LINE_CHECK}`;return n.ApiServiceV2.getApiServiceInstance().post(e,r,l).then((e=>{var n,o;if(200==e.status){const t=null===(o=null===(n=null==e?void 0:e.config)||void 0===n?void 0:n.headers)||void 0===o?void 0:o["x-correlation-id"];try{"undefined"!=typeof window&&localStorage.removeItem("one-commerce-linecheckcorrelationid"),"undefined"!=typeof window&&localStorage.setItem("one-commerce-linecheckcorrelationid",t)}catch(e){}return"undefined"!=typeof window&&u.remove("one-commerce-linecheckcorrelationid",{path:"/"}),"undefined"!=typeof window&&u.set("one-commerce-linecheckcorrelationid",t,{path:"/",expires:3}),{response:null==e?void 0:e.data,corelationaId:t}}return[]})).catch((e=>{var n,o,t;((null===(o=null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.data)||void 0===o?void 0:o.code)||504===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status))&&Jn(null==e?void 0:e.response)}))}catch(e){return e}})(e),p=yield((null===(t=null==c?void 0:c.response)||void 0===t?void 0:t.sellableProducts)||[]).map((e=>e.name)),m=[];for(const e of null===(i=null==c?void 0:c.response)||void 0===i?void 0:i.eligibleCombinations)for(const n of null==e?void 0:e.rateplans)m.push(null==n?void 0:n.name);const _=null===(r=null===(l=null==c?void 0:c.response)||void 0===l?void 0:l.eligibleSpeed)||void 0===r?void 0:r.maxSpeed,v=null===(a=null===(d=null==c?void 0:c.response)||void 0===d?void 0:d.eligibleSpeed)||void 0===a?void 0:a.plannedUpgrades,h=null===(s=null==c?void 0:c.response)||void 0===s?void 0:s.eligibleAccess;try{"undefined"!=typeof window&&localStorage.setItem("lineCheckResponse",JSON.stringify({eligibleBundle:p,configEligibleBundle:m,maxUploadDownloadSpeed:_,plannedUpgrade:v,originalLinecheckResponse:null==c?void 0:c.response}));try{"undefined"!=typeof window&&localStorage.setItem("one-commerce-access-type",JSON.stringify(h))}catch(e){}"undefined"!=typeof window&&u.set("one-commerce-access-type",JSON.stringify(h),{path:"/",expires:3})}catch(e){}return{corelationaId:c.corelationaId,lineCheckResponse:null==c?void 0:c.response,eligibleBundle:p,maxUploadDownloadSpeed:_,configEligibleBundle:m,plannedUpgrade:v}}));var $t="LineCheckInput-module_errorfield__hEZF5",Wt="LineCheckInput-module_errormsg__SVc94",Ht="LineCheckInput-module_truncation__80rK4",Yt="LineCheckInput-module_checking__aIxIH",Gt="LineCheckInput-module_address__oRhfO",qt="LineCheckInput-module_secondarybutton__5iCpn",Kt="LineCheckInput-module_secondarybutton-mobile__USH6B",Jt="LineCheckInput-module_ul-disabled__oA7jV",Xt="LineCheckInput-module_list__JA3Jx";S("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.LineCheckInput-module_card__SgvSo.LineCheckInput-module_sr-card__8NuIB {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.LineCheckInput-module_card__SgvSo.LineCheckInput-module_border-top__3Es-U {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .LineCheckInput-module_sr-desk-card__spu1x {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .LineCheckInput-module_sr-mob-card__rtkNa {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .LineCheckInput-module_sr-md-card__GGFdg {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.LineCheckInput-module_errorfield__hEZF5 {\n border: 2px solid #c60047 !important;\n}\n\n.LineCheckInput-module_errormsg__SVc94 {\n color: #c60047;\n font-size: 12px;\n line-height: 16px;\n font-weight: 500;\n padding-top: 4px;\n}\n@media (max-width: 767px) {\n .LineCheckInput-module_errormsg__SVc94 {\n margin-left: 16px;\n }\n}\n\n.LineCheckInput-module_truncation__80rK4 {\n text-overflow: ellipsis;\n}\n\n.LineCheckInput-module_checking__aIxIH {\n padding-right: 28px !important;\n}\n\n@media (max-width: 767px) {\n .LineCheckInput-module_address__oRhfO {\n position: relative;\n top: 10px;\n }\n}\n\n.LineCheckInput-module_secondarybutton__5iCpn {\n font-size: 16px;\n font-style: normal;\n font-weight: 700;\n line-height: 24px;\n color: #da291c;\n padding: 16px 0px 0px;\n background-color: #ffffff;\n cursor: pointer;\n}\n@media (max-width: 767px) {\n .LineCheckInput-module_secondarybutton__5iCpn {\n background-color: #ffffff;\n padding: 16px;\n border-radius: 12px;\n margin: 16px 20px;\n height: 52px;\n }\n}\n\n.LineCheckInput-module_secondarybutton-mobile__USH6B {\n font-size: 16px;\n font-style: normal;\n font-weight: 700;\n line-height: 24px;\n color: #da291c;\n padding: 16px 0px 0px;\n background-color: #ffffff;\n cursor: pointer;\n}\n@media (max-width: 767px) {\n .LineCheckInput-module_secondarybutton-mobile__USH6B {\n background-color: #ffffff;\n padding: 16px 0px;\n border-radius: 12px;\n margin: 16px 0px;\n height: 52px;\n }\n}\n\n@media (min-width: 768px) {\n .LineCheckInput-module_ul-disabled__oA7jV {\n position: relative;\n top: 29px;\n background-color: #FFFFFF;\n margin-right: 16px;\n left: -1px;\n }\n .LineCheckInput-module_ul-disabled__oA7jV .LineCheckInput-module_list__JA3Jx {\n box-shadow: 0px 8px 24px rgba(51, 51, 51, 0.2);\n cursor: pointer;\n padding: 12px;\n text-align: left;\n width: 100%;\n z-index: 1000;\n transition: all 1s ease-in;\n }\n}\n.LineCheckInput-module_errorbutton__wd49l {\n background-color: #ffffff;\n padding: 0 16px 0 12px;\n border-radius: 12px;\n color: #da291c;\n font-size: 16px;\n font-style: normal;\n font-weight: 700;\n line-height: 24px;\n margin-top: 16px;\n margin-bottom: 8px;\n}\n@media (max-width: 767px) {\n .LineCheckInput-module_errorbutton__wd49l {\n background-color: transparent;\n padding: 0 16px 0 8px;\n }\n}");const Qt=e.forwardRef((({content:n,parentCallback:t,parentAddress:i,isAddressNotFilled:l,onChange:r,name:d,apiError:a,setApiError:s,setFetchingLineCheck:c,checkAvailability:u,onData:p,FetchingLineCheck:m,setSelectedAddress:_,ref:v,Address:h,setIndivialOpen:g,indivialOpen:f,setAddressNotFilled:x})=>{var b,y,w,S,C,k;const[E,P]=e.useState(!1),[T,O]=e.useState(!1),[N,L]=e.useState(""),[D,A]=e.useState(""),[B,V]=e.useState(),[M,R]=e.useState(!1),F=e.useRef(),j=Ye();e.useEffect((()=>{E&&D?"differentAddress"===d&&"function"==typeof t&&t({}):L("")}),[D,E]),e.useEffect((()=>{"function"==typeof A&&A(i)}),[]),e.useEffect((()=>{T&&qn(null==n?void 0:n.errorMsg,Cn+" "+(null==n?void 0:n.title),wn,Sn),!D&&l&&qn(null==n?void 0:n.requiredFieldText,Cn+" "+(null==n?void 0:n.title),wn,Sn),N&&qn(N,Cn+" "+(null==n?void 0:n.title),wn,Sn),T&&Kn(Sn,wn,Cn+" | "+(null==n?void 0:n.title),null==n?void 0:n.errorMsg),!D&&l&&Kn(Sn,wn,Cn+" | "+(null==n?void 0:n.title),null==n?void 0:n.requiredFieldText),N&&Kn(Sn,wn,Cn+" | "+(null==n?void 0:n.title),N)}),[T,l,N]);return e.useEffect((()=>{a&&("function"==typeof R&&R(!0),"function"==typeof g&&g(Object.assign(Object.assign({},f),{indOpen:!0})),"mobile"===j&&M&&"function"==typeof g&&g(Object.assign(Object.assign({},f),{indErrorOpen:!0})))}),[a]),e.useEffect((()=>{M&&!E&&"function"==typeof g&&g(Object.assign(Object.assign({},f),{indErrorOpen:!0}))}),[M,E]),e.createElement(e.Fragment,null,!M&&e.createElement(Mt,{inputValue:D||"",setInputValue:A,dropdownValue:B,placeholder:null==n?void 0:n.placeholder,ref:v,onChange:e=>{var t,i,l;"function"==typeof r&&r(e),"function"==typeof A&&A(null===(t=null==e?void 0:e.currentTarget)||void 0===t?void 0:t.value);let d=!1;d=new RegExp(`[${null==n?void 0:n.regexp}]`).test(null===(i=null==e?void 0:e.currentTarget)||void 0===i?void 0:i.value),O(d);((e,n,t)=>I(void 0,void 0,void 0,(function*(){var i;if(!n&&(null==e?void 0:e.length)>=3){t.current&&t.current.abort(),t.current=new AbortController;const n=t.current.signal,l=null===(i=null==yt?void 0:yt.getInstance())||void 0===i?void 0:i.getBaseUrl();try{const t=yield fetch(`${l}${jt}${Qo.ADDR_ENDPOINT}?count=10&address=${e.replace(/,(?=[^\s])/g,", ")}`,{method:"GET",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded","x-correlation-id":o.v4(),"x-sunrise-channel":Qo.X_SUN_CHAL},signal:n}),i=yield t.json();if(i){const e=[];return(null==i?void 0:i.items)&&(null==i||i.items.forEach((n=>{(null==n?void 0:n.street)&&(null==n?void 0:n.houseNumber)&&(null==n?void 0:n.postCode)&&(null==n?void 0:n.city)&&(n.concatedAddress=`${null==n?void 0:n.street} ${null==n?void 0:n.houseNumber},${null==n?void 0:n.postCode} ${null==n?void 0:n.city}`,e.push(n))}))),e}}catch(e){console.log(e)}}})))(null===(l=null==e?void 0:e.currentTarget)||void 0===l?void 0:l.value,d,F).then((e=>{e&&(null==e?void 0:e.error)||(null==e?void 0:e.length)<=0?(V([]),P(!0)):(V(e),P(!1))})).catch((e=>console.log(e)))},selectedData:e=>{"function"==typeof A&&A(e.concatedAddress),"function"==typeof t&&t(e,{openIndividualLineCheck:!1,availabilityCheckClicked:!1})},inputClassName:`${l?$t:""} ${m||u?"":Yt} ${Ht} form-control `,minLength:null==n?void 0:n.linecheckMinLength,maxLength:null==n?void 0:n.linecheckMaxLength,name:d,content:n,addressNotFound:E,setApiError:s,setFetchingLineCheck:c,checkAvailability:u,FetchingLineCheck:m,setaddressNotFound:P}),T&&e.createElement("p",{className:Wt},null==n?void 0:n.errorMsg),e.createElement("div",{className:Gt},!D&&l&&e.createElement("p",{className:Wt},e.createElement("img",{src:null===(w=null===(y=null===(b=null==n?void 0:n.linecheckIcons)||void 0===b?void 0:b[0])||void 0===y?void 0:y.warning)||void 0===w?void 0:w.filename,height:"12px",width:"16px",alt:"alert"}),null==n?void 0:n.requiredFieldText)),a&&"mobile"==j&&!M&&!m&&e.createElement("p",{className:Kt,onClick:()=>{"function"==typeof R&&R(!0),"function"==typeof g&&g(Object.assign(Object.assign({},f),{indOpen:!0}))}},null==n?void 0:n.noAddress,e.createElement("span",null,e.createElement("img",{src:null===(S=null==n?void 0:n.arrowIcon)||void 0===S?void 0:S.filename,height:24,width:24,alt:"right-arrow"}))),E&&!M&&!m&&e.createElement("div",null,"mobile"===j&&e.createElement("p",{className:Kt,onClick:()=>{"function"==typeof R&&R(!0),"function"==typeof g&&g(Object.assign(Object.assign({},f),{indOpen:!0}))}},null==n?void 0:n.noAddress,e.createElement("span",null,e.createElement("img",{src:null===(C=null==n?void 0:n.arrowIcon)||void 0===C?void 0:C.filename,height:24,width:24,alt:"right-arrow"})))),M&&e.createElement(Ft,{parentCallBackIndividual:(e,n)=>{""!==(null==e?void 0:e.postCode)&&""!==e.city&&""!==e.houseNumber&&""!==e.street&&""!==e.concatedAddress&&"function"==typeof t&&t(e,{openIndividualLineCheck:M,availabilityCheckClicked:n})},content:n,apiError:a,setApiError:s,setFetchingLineCheck:c,setSelectedAddress:_,openIndividualLineCheck:M,FetchingLineCheck:m,addressRef:v,selected:h,addressNotFound:E,setaddressNotFound:P,isAddressNotFilled:l,setAddressNotFilled:x,setIndivialOpen:g}),(E&&!M||!m&&!E&&M)&&"mobile"!=j&&e.createElement(e.Fragment,null,!(!m&&!E&&M)&&e.createElement("div",{className:Jt},e.createElement("p",{className:`${qt} ${Xt} `,onClick:()=>{"function"==typeof R&&R(!0),"function"==typeof g&&g(Object.assign(Object.assign({},f),{indOpen:!0}))}},null==n?void 0:n.noAddress,e.createElement("span",null,e.createElement("img",{src:null===(k=null==n?void 0:n.arrowIcon)||void 0===k?void 0:k.filename,height:24,width:24,alt:"right-arrow"}))))))}));var Zt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ei(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ni={},oi={
1
+ "use strict";var e=require("react"),n=require("@sunrise-upc/ajax-lib"),o=require("uuid"),t=require("react-bootstrap"),i=require("storyblok-rich-text-react-renderer-ts"),l=require("react-select"),r=require("react-bootstrap/Modal"),d=require("react-bootstrap/CloseButton"),a=require("react-bootstrap/Container"),s=require("react-bootstrap/Row"),c=require("react-bootstrap/Col"),u=require("js-cookie"),p=require("react-multi-carousel"),m=require("react-bootstrap/Form"),_=require("react-loading-skeleton"),v=require("react-dom"),h=require("http"),g=require("https"),f=require("url"),x=require("stream"),b=require("assert"),y=require("zlib"),w=Object.freeze({__proto__:null,get BenefitWrapper(){return qa},get Breadcrumb(){return ns},get Button(){return L},get Card(){return gt},get CardEntitlement(){return at},get CarouselComp(){return ft},get CheckCoverage(){return vs},get CoverageCheckModal(){return Nl},get DpLinetable(){return Hs},get HeroLogin(){return ps},get LinecheckModal(){return Vi},get LoginModalV2(){return zo},get MultiItemAccessoriesWithProvider(){return dm},get NotificationToast(){return mm},get OttServiceOptionsSmallPopup(){return Ta},get PretoPostSubsPopup(){return ia},get ProductTableV3(){return fr},get ProductTeaser(){return Dl},get ProgressionBar(){return ac},get RecommendedOptions(){return Im},get StaticLineTable(){return Ma},get StickyBottomSheet(){return ec},get StickyProductAnchor(){return br}});function S(e,n){void 0===n&&(n={});var o=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===o&&t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}S(".Button {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n border-radius: 4px;\r\n cursor: pointer;\r\n min-width: 32px;\r\n min-height: 32px;\r\n background-color: aliceblue;\r\n}\r\n\r\n.Button-primary {\r\n background-color: aqua; \r\n}\r\n.Button-secondary{\r\n background-color: burlywood;\r\n}\r\n.Button-error {\r\n background-color: red;\r\n}");class C{constructor(e){this.config={baseURL:"",cartURL:"",storyBlokURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.getCartUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.cartURL)&&void 0!==n?n:""},this.getSBUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.storyBlokURL)&&void 0!==n?n:""},this.config=e}}C.getInstance=()=>C.instance,C.create=e=>{C.instance=new C(e)};class k{constructor(e){this.config={assetPath:"",basicConfigUrl:""},this.getAssetPath=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.assetPath)&&void 0!==n?n:""},this.getBasicConfigUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.basicConfigUrl)&&void 0!==n?n:""},this.config=e}}k.getInstance=()=>k.instance,k.create=e=>{k.instance=new k(e)};const E={ADDR_SUGG:"address-suggestion/",CATELOG_MGMT:"catalogue-management/",CART_MGMT:"basket-management/",CUSTOMER:"customer-management/",STORYBLOK:"storyblok-management/",LOGINMETHOD:"login-method",LOGIN:"login",MTANLOGIN:"login-mtan",LOGINPOLICY:"my.policy",LOGIN_OTP:"login-otp",LOGIN_MFA:"login-mfa"},P={X_SUN_CHAL:"ESHOP",LINE_TABLEV2:"v2/offer",LINE_TABLEV3:"v3/offer",CREATE_CARTV2:"carts/v2",CREATE_CARTV3:"carts/v3",SUBSCRIPTION:"?subscriptionType=",VOUCHER_PROMOTIONS:"v1/voucher-promotions",HARDWARES:"v1/hardwares?filterSearchOption.id=",HARDWARE_DEVICES:"v1/hardwares?filterSearchOption.id=parent__true&filterSearchOption.id=residual__true&filterSearchOption.id=category__sellableMobilePostpaidDevices&priceRequired=false&filterSearchOption.id=",TV_SERVICE_OPTIONS_V2:"v2/service-optionByCategory?category=category__popUpTvOptions",CUSTOMER_EVENTS:"events",THREE_SCALE_API_KEY:"THREE_SCALE_API_KEY",STORIES:"rest/cms/stories",RECOMMENDED_ACCESSORIES:"carts/v3/recommendation",UPDATE_CART:"carts/v3/"},T="rest/cms/singlestory",O="rest/cms/dsource_entries?datasource=one-ecommerce-constant-keys",N="rest/cms/stories",L=({type:n,text:o,onClick:t,content:i})=>e.createElement("button",{type:"button",className:`button Button-${null==i?void 0:i.type}`,onClick:t},null==i?void 0:i.text);function D(e,n){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(t=Object.getOwnPropertySymbols(e);i<t.length;i++)n.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i])&&(o[t[i]]=e[t[i]])}return o}function I(e,n,o,t){return new(o||(o=Promise))((function(i,l){function r(e){try{a(t.next(e))}catch(e){l(e)}}function d(e){try{a(t.throw(e))}catch(e){l(e)}}function a(e){var n;e.done?i(e.value):(n=e.value,n instanceof o?n:new o((function(e){e(n)}))).then(r,d)}a((t=t.apply(e,n||[])).next())}))}class A{constructor(e){this.config={baseURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.getAPIServiceObject=()=>{if(!this.apiServiceObject){const e={options:void 0,props:{incCsrf:!0,baseUrl:this.getBaseUrl()}};this.apiServiceObject=n.ApiServiceV2.getApiServiceInstance(e)}return this.apiServiceObject},this.config=e}}A.getInstance=()=>A.instance,A.create=e=>{A.instance=new A(e)};const B="none",V="falconDescription",M="falconAccordionList",R="spacer",F="fixnet",j="defaultWirelineBundle",U="defaultMobilePostpaidBundle",z="vctype",$="voucher",W="one-ecommerce-hardwareSummary",H="BASE",Y="CONTRACT",G="HARDWARE",q="one-ecommerce-internetSummary",K="hardwareGroupName",J="mobile",X="desktop",Q="large-desktop",Z="tablet",ee={EN:"English",FR:"Français",IT:"Italiano",DE:"Deutsch"},ne="TV_SERVICE_OPTION",oe="LOGIN_MFA",te="DEPRICATING_SMS",ie="DEPRICATING_EMAIL",le="DEPRICATED_EMAIL",re="OTP_NR_LIST",de="PW_CHANGED",ae="OTP_SMS_OLD",se="OTP_SMS_NEW",ce="OTP_SMS",ue="OTP_EMAIL",pe="OTP_NR_NEW",me="LOGIN_OTP",_e="PW_RESET",ve="OTP_NR_ADD",he="OTP_NR_CONFIRM",ge="OTP_NR_CHANGE",fe="PW_FORGOT",xe="monthly_24",be="ACCESSORY",ye="flowInitiated",we="monthlyFlashDiscount",Se="REMOVE",Ce="totalFlashDiscount",ke="mobileaccessories",Ee="accessoriesLabel",Pe="vasStepperLabel",Te="MOBILE",Oe="INTERNET",Ne="TV";var Le;!function(e){e.EMAIL="Email_Id",e.CLI="CLI",e.CUSTOMER_NUMBER="SiteID",e.MSISDN="MSISDN"}(Le||(Le={}));const De=e=>e?e.replace(/\s+/g,""):"",Ie=e=>(9===e.length&&/^[a|A]{0,1}[0-9]+$/.test(e)&&(e="0"+e),/^[a-zA-Z0-9.!#$%&’*+\=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(String(e).toLowerCase())||/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())?Le.EMAIL:/^07[5-9][0-9]{7}$/gi.test(e)||/^00417[6-9][0-9]{7}$/gi.test(e)||/^0417[6-9][0-9]{7}$/gi.test(e)||/^\+417[6-9][0-9]{7}$/gi.test(e)||/^004107[6-9][0-9]{7}$/gi.test(e)||/^04107[6-9][0-9]{7}$/gi.test(e)||/^\+4107[6-9][0-9]{7}$/gi.test(e)?Le.MSISDN:/^0[1-9][0-9]{8}$/gi.test(e)||/^0041[1-9][0-9]{8}$/gi.test(e)||/^041[1-9][0-9]{8}$/gi.test(e)||/^\+41[1-9][0-9]{8}$/gi.test(e)||/^00410[1-9][0-9]{8}$/gi.test(e)||/^0410[1-9][0-9]{8}$/gi.test(e)||/^\+410[1-9][0-9]{8}$/gi.test(e)?Le.CLI:e.toLowerCase().startsWith("a")&&/^A|a[0-9]{10}$/gi.test(e)||/^[0-9]{10}$/gi.test(e)?Le.CUSTOMER_NUMBER:void 0),Ae=e=>{e=e.replace(/\s/g,"");const n=Ie(e);if(n&&n!==Le.EMAIL){if(e.length>10&&e.startsWith("0041")){const n=e.replace("0041","");return n.startsWith("0")?n:"0"+n}if(e.length>10&&e.startsWith("+41")){const n=e.replace("+41","");return n.startsWith("0")?n:"0"+n}if(e.length>10&&e.startsWith("041")){const n=e.replace("041","");return n.startsWith("0")?n:"0"+n}return 9!==e.length||/^[a-zA-Z]/.test(e)||e.startsWith("0")||e.startsWith("0041")||e.startsWith("+41")||e.match(/^(?:00|\+)[0-9]{1,2}/)?/^[a-zA-Z]/.test(e)||Ie(e)!==Le.CUSTOMER_NUMBER||e.startsWith("+")&&(10!==e.length||!e.startsWith("00"))?e:"A"+e:"0"+e}return e},Be=(e,n)=>{const o=n?(e=>/^0041[1-9][0-9]{8}$/gi.test(e)?[4,6,9,11]:/^00410[1-9][0-9]{8}$/gi.test(e)?[4,7,10,12]:/^0410[1-9][0-9]{8}$/gi.test(e)||/^\+410[1-9][0-9]{8}$/gi.test(e)?[3,6,9,11]:[3,5,8,10])(e?e.replace(/\s+/g,""):""):9===(null==e?void 0:e.length)?[2,5,7]:[3,6,8];return Ve(e," ",o)},Ve=(e,n,o)=>{if("undefined"===e||!e)return"";const t=e.split(n).join("");let i="";for(let e=0;e<t.length;e++)o.includes(e)&&(i+=n),i+=t[e];return i},Me=(e,n,t)=>I(void 0,void 0,void 0,(function*(){var i;const l=null==A?void 0:A.getInstance(),r=null==l?void 0:l.getBaseUrl();t.current&&t.current.abort(),t.current=new AbortController;const d=t.current.signal;if(r){const t=new URLSearchParams;e&&t.append("action",e),n&&(null===(i=[ae,se,ce,ue])||void 0===i?void 0:i.includes(e))&&t.append("otp",n),n&&e===pe&&t.append("msisdn",n),n&&e===re&&t.append("recipient",n),n&&e===_e&&t.append("password",n);try{const e=yield fetch(`${r}${null==E?void 0:E.LOGINPOLICY}`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded","x-correlation-id":o.v4(),"x-sunrise-channel":P.X_SUN_CHAL},body:t.toString(),signal:d}),n=yield e.json();if(n&&(null==n?void 0:n.status))return n;return n&&((null==n?void 0:n.errorcode)||(null==n?void 0:n.errorCode))}catch(e){return e}}})),Re=(e,n,t,i,l,r,d)=>I(void 0,void 0,void 0,(function*(){l.current&&l.current.abort(),l.current=new AbortController;const a=l.current.signal,s=null==A?void 0:A.getInstance(),c=null==s?void 0:s.getBaseUrl();if(c){const l=new URLSearchParams;e&&l.append("action",e),t&&l.append("username",t),r&&l.append("language",r),i&&l.append("password",i),d&&l.append("remember",d.toString());try{const e=yield fetch(`${c}${n}`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded","x-correlation-id":o.v4(),"x-sunrise-channel":P.X_SUN_CHAL},body:l.toString(),signal:a}),t=yield e.json();if(t&&(null==t?void 0:t.status))return t;return t&&((null==t?void 0:t.errorcode)||(null==t?void 0:t.errorCode))}catch(e){return e}}})),Fe=e=>{switch(e){case"grey-600":return"falcon-grey-600";case"grey-500":return"falcon-grey-500";case"grey-100":return"falcon-grey-100";case"grey-400":return"falcon-grey-400";case"ice-white":return"falcon-ice-white";default:return""}},je=(e,n)=>{const o=[];let t,i,l=0;[...Array(n)].forEach((()=>{i=document.getElementById(`${e}${l}`),null!=i&&(i.style.height="unset",o.push(null==i?void 0:i.clientHeight),l++)})),t=Math.max(...o),l=0,[...Array(n)].forEach((()=>{i=document.getElementById(`${e}${l}`),null!=i&&(i.style.height=`${t}px`),l++}))},Ue=e=>{switch(e){case"rubyglow-diagonal":return"falcon-gradient-rubyglow-diagonal";case"rubyglow-inverted-diagonal":return"falcon-gradient-rubyglow-inverted-diagonal";case"rubyglow-vertical":return"falcon-gradient-rubyglow-vertical";case"pinksky-diagonal":return"falcon-gradient-pinksky-diagonal";case"pinksky-inverted-diagonal":return"falcon-gradient-pinksky-inverted-diagonal";case"pinksky-vertical":return"falcon-gradient-pinksky-vertical";case"bluehaze-diagonal":return"falcon-gradient-bluehaze-diagonal";case"bluehaze-vertical":return"falcon-gradient-bluehaze-vertical";case"greencloud-diagonal":return"falcon-gradient-greencloud-diagonal";case"greencloud-inverted-diagonal":return"falcon-gradient-greencloud-inverted-diagonal";case"greencloud-vertical":return"falcon-gradient-greencloud-vertical";case"peachfog-diagonal":return"falcon-gradient-peachfog-diagonal";case"peachfog-inverted-diagonal":return"falcon-gradient-peachfog-inverted-diagonal";case"peachfog-vertical":return"falcon-gradient-peachfog-vertical";case"darkblue-haze":return"falcon-gradient-dark-blue-haze";case"skyfuel-diagonal":return"falcon-gradient-skyfuel-diagonal";case"skyfuel-vertical":return"falcon-gradient-skyfuel-vertical";case"skyfuel-inverted-diagonal":return"falcon-gradient-skyfuel-inverted-diagonal";default:return""}},ze=e=>{e=Number(e);let n=0;return n=new RegExp("^[0-9][^.]*$").test(e.toString())?e+".-":e.toFixed(2).replace(/\.00$/,""),n},$e=(e,n,o)=>{let t=null;const i=new Date;t={value:n,expiry:o?i.getTime()+o:null},localStorage.setItem(e,JSON.stringify(t))},We=e=>{const n="undefined"!=typeof window&&localStorage.getItem(e),o=new Date;if(!n)return null;let t={};try{if(t=JSON.parse(n),t.expiry&&o.getTime()>t.expiry)return He(e),null}catch(e){return n}return null==t?void 0:t.value},He=e=>{localStorage.removeItem(e)},Ye=()=>{const[n,o]=e.useState(0);return e.useEffect((()=>{const e=()=>{o(window.innerWidth)};return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),n>=1440?"large-desktop":n<1440&&n>=1024?"desktop":n<1024&&n>=768?"tablet":n<768&&n>0?"mobile":""},Ge=()=>{const[n,o]=e.useState(!1),t=()=>{const e=window.matchMedia("(pointer:coarse)");o(e.matches)};return e.useEffect((()=>(t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t))),[]),n},qe=(e,n)=>null==e?void 0:e.replace(/{\w+}/g,(e=>n[e.substring(1,e.length-1)]||e)),Ke=e=>{switch(e){case"success":return"/icons/checksuccess.svg";case"error":return"/icons/error.svg";case"info":case"infoWhite":return"/icons/info.svg";case"warning":return"/icons/alert.svg";case"tip":return"/icons/tip.svg";default:return""}},Je=e=>"undefined"!=typeof window?e=="/"+window.document.documentElement.getAttribute("lang")+"/"?void 0:e:"#",Xe=(e,n)=>{const[o]=["https://a.storyblok.com/f/113473/"],[t]=[e+"asset/"];return n?n.replace(o,`${t}`):n||""},Qe=(e,n)=>{let o="";return o+=Xe(e,n),o+="/m/",o},Ze=e=>{let n=0;return n=(e=Number(e)).toFixed(2),n},en=n=>{var o;const l=Ye(),r=Ge(),d="mobile"===l||"tablet"===l||r,a=null===(o=null==k?void 0:k.getInstance())||void 0===o?void 0:o.getAssetPath();return e.createElement("div",null,i.render(n.content,{markResolvers:{link:(o,i)=>{const{href:l,target:r,linktype:s}=i;return"email"===s?e.createElement("a",{href:`mailto:${l}`,target:null===r||"_self"===r?"_top":"_blank"},o):n.isIFrame?e.createElement("a",{href:l,target:null===r||"_self"===r?"_top":"_blank"},o):e.createElement(e.Fragment,null,(null==n?void 0:n.linkAsTooltip)&&(null==n?void 0:n.toolTipText)?e.createElement(t.OverlayTrigger,{placement:"auto",rootClose:!0,trigger:d?"click":"hover",overlay:(null==n?void 0:n.toolTipText)?e.createElement(t.Popover,{id:"popover-basic"},e.createElement(t.Popover.Body,null,null==n?void 0:n.toolTipText,d&&a&&e.createElement("img",{src:`${a}/icons/overlay-close.svg`,alt:"close",style:{float:"right"},width:24,height:24,onClick:()=>{var e;return null===(e=null===document||void 0===document?void 0:document.body)||void 0===e?void 0:e.click()}}))):e.createElement(e.Fragment,null)},e.createElement("span",null,o)):e.createElement("a",{href:l,target:null===r?"":r},o))}}}))},nn="addtocart",on="Sunrise",tn="CHF",ln="Sticky Line Table",rn="select_promotion",dn="view_promotion",an="cta_button_click",sn="download_product_details",cn="gaEvent",un="Stage Teaser",pn="Line Table",mn="Line Table - Product",_n="Line Table - Device",vn="combine_with_device",hn="tab_click",gn="All",fn="promotion_popup",xn="click",bn="line_check_start",yn="line_check_results",wn="Missing or Invalid Error",Sn="error",Cn="fixnet",kn="sunriseAuth",En="error",Pn="login",Tn="Remember me | Selected",On="Remember me | not selected",Nn="unSuccess via password",Ln="LoginError",Dn="loginUnSuccessful",In="failed",An="Internet",Bn="Mobile",Vn="POSTPAID",Mn="INTERNET",Rn="Accessory",Fn="Device Accessories",jn="view_item_list",Un="view_item",zn="remove_from_cart",$n="add_to_cart",Wn=(e,n,o)=>{window.dataLayer.push(Object.assign({event:e,event_name:n},o))};let Hn;const Yn=(e,n,o)=>{window.dataLayer.push(Object.assign({event:e,event_name:n},o))},Gn=(e,n,o)=>{const t={eventAction:e,eventValue:n,timeStamp:Math.round(Date.now()/1e3),type:o};"dropDownClick/enter/leftClick"==o&&(o=xn);try{"view"==o?(Hn=[],window.appEventData.push({event:o,eventInfo:t,component:Hn})):window.appEventData.push({event:o,eventInfo:t})}catch(e){}},qn=(e,n,o,t,i,l)=>{const r={description:e,source:n,title:o,type:t,guid:i,errorID:l};"dropDownClick/enter/leftClick"==t&&(t=xn);try{const{guid:e,errorID:n}=r,o=D(r,["guid","errorID"]);"error"==t&&null==e&&null==n||"success"==t||"general"==t?window.appEventData.push({event:"message",message:o}):void 0!==e&&void 0!==n&&window.appEventData.push({event:"message",message:r})}catch(e){}},Kn=(e,n,o,t,i)=>{const l={message_type:e,message_title:n,message_source:o,message_reason:t,message_guid:i};try{if(void 0!==i)window.dataLayer.push(Object.assign({event:"gaEvent",event_name:"error_event"},l));else{const i={message_type:e,message_title:n,message_source:o,message_reason:t};window.dataLayer.push(Object.assign({event:"gaEvent",event_name:"error_event"},i))}}catch(e){}},Jn=e=>{var n,o,t,i,l,r,d,a,s,c,u;const p=null!==(o=(null==e?void 0:e.data)&&(null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.code))&&void 0!==o?o:null==e?void 0:e.status,m=null!==(i=(null==e?void 0:e.data)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.message))&&void 0!==i?i:null==e?void 0:e.statusText,_=null!==(r=(null==e?void 0:e.data)&&(null===(l=null==e?void 0:e.data)||void 0===l?void 0:l.id))&&void 0!==r?r:"",v=null!==(a=(null==e?void 0:e.data)&&(null===(d=null==e?void 0:e.data)||void 0===d?void 0:d.supplierCode))&&void 0!==a?a:"";let h="";try{h=null===(s=null==e?void 0:e.request)||void 0===s?void 0:s.responseURL,h=null===(u=null===(c=null==h?void 0:h.split("/"))||void 0===c?void 0:c.slice(5))||void 0===u?void 0:u.join("-")}catch(e){console.log("Error while formatting aPI",e)}const g={event:"gaEvent",event_name:"error_event",message_guid:p,message_reason:`MSA: ${m}`,message_source:`fixnet | ${h}`,message_title:"Api errror",message_type:"Error",message_apiinfo:`${_} | ${v}`};try{window.dataLayer.push(g)}catch(e){console.log("Error while inserting into datalayer",e)}},Xn=(e,n,o,t,i,l)=>{try{if(n&&o&&t&&i&&l){const r={loginType:e,accountID:n,language:o,lastLoginDate:t,type:i,existingUser:l};window.appEventData.push({user:r})}else{const n={loginType:e};window.appEventData.push({user:n})}}catch(e){}},Qn=(e,n,o)=>{var t;const i={item_id:null===(t=null==o?void 0:o.productId)||void 0===t?void 0:t.replace(/^0+/,""),item_name:null==o?void 0:o.displayName,affiliation:"",coupon:"",discount:0,index:o.index,item_brand:on,item_category:Rn,item_category2:"",item_category3:"",item_category4:"",item_category5:"",item_list_id:Fn,item_list_name:Fn,item_variant:(null==o?void 0:o.paymentType)+"|"+(null==o?void 0:o.variant),location_id:"",price:null==o?void 0:o.priceValue,promotion_id:"",quantity:1,item_available:"yes"};i&&window.dataLayer.push({event:e,event_name:n,ecommerce:{currency:"CHF",value:null==o?void 0:o.priceValue,items:[Object.assign({},i)]}})};var Zn="ReusableLogin-module_login-container__Ad6KQ",eo="ReusableLogin-module_icon-container__FGJQU",no="ReusableLogin-module_back-text__MKh1u",oo="ReusableLogin-module_loginmodal__XhQt-",to="ReusableLogin-module_inputSuccess__dK7Uz",io="ReusableLogin-module_iconcontainer__QpoFB",lo="ReusableLogin-module_logintitle__bnFYd",ro="ReusableLogin-module_loginmodalLabel__gakRq",ao="ReusableLogin-module_confirmbtn__woa5L",so="ReusableLogin-module_horizontalline__ew-1o",co="ReusableLogin-module_infotooltip__e3Al0",uo="ReusableLogin-module_eyeicon__XTxJn",po="ReusableLogin-module_credentialerror__T9TK0",mo="ReusableLogin-module_tempcode__rzrt5",_o="ReusableLogin-module_warningicon__3HIvk",vo="ReusableLogin-module_blockedcontent__OQn79",ho="ReusableLogin-module_warningcontent__KzTOC",go="ReusableLogin-module_technicalerror__n3C0N",fo="ReusableLogin-module_updatedetails__DHwPR",xo="ReusableLogin-module_loginmodalrem__GKQDm",bo="ReusableLogin-module_checkmark__XKH5n";S('/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.ReusableLogin-module_card__G6N3b.ReusableLogin-module_sr-card__79oCF {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.ReusableLogin-module_card__G6N3b.ReusableLogin-module_border-top__V2zp5 {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .ReusableLogin-module_sr-desk-card__KSJOc {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .ReusableLogin-module_sr-mob-card__DfJ-i {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .ReusableLogin-module_sr-md-card__4trTA {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.ReusableLogin-module_login-container__Ad6KQ {\n align-items: center;\n background-color: white;\n box-shadow: -1px 18px 25px 5px rgba(87, 84, 82, 0.4);\n display: flex;\n flex-direction: column;\n justify-content: center;\n max-width: 624px;\n padding: 24px 32px;\n position: absolute;\n width: 100%;\n border-radius: 4px;\n}\n@media (max-width: 767px) {\n .ReusableLogin-module_login-container__Ad6KQ {\n padding: 16px;\n }\n}\n\n.ReusableLogin-module_login-header__hzlgu {\n width: 100%;\n margin-bottom: 24px;\n display: flex;\n justify-content: space-between;\n}\n\n.ReusableLogin-module_login-header__hzlgu span {\n cursor: pointer;\n}\n\n.ReusableLogin-module_login-header__hzlgu img {\n cursor: pointer;\n}\n\n.ReusableLogin-module_icon-container__FGJQU {\n width: 24px;\n height: 24px;\n}\n\n.ReusableLogin-module_back-text__MKh1u {\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n color: #da291c;\n padding-left: 4px;\n}\n\n.ReusableLogin-module_channel-selection-title__0iFVE {\n font-weight: 700;\n line-height: 36px;\n font-size: 28px;\n text-align: center;\n margin-bottom: 24px;\n}\n\n.ReusableLogin-module_channel-selection-description__MFGOM {\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n text-align: left;\n color: #333333;\n margin-bottom: 24px;\n}\n\n.ReusableLogin-module_btn-primary__9w79K {\n background: #d9415c;\n border: none;\n border-radius: 28px;\n color: #ffffff;\n font-weight: 700;\n overflow: visible;\n padding: 14px 24px;\n}\n.ReusableLogin-module_btn-primary__9w79K:disabled {\n background-color: #e6e3df;\n color: #b3aeaa;\n cursor: default;\n}\n@media (max-width: 767px) {\n .ReusableLogin-module_btn-primary__9w79K {\n padding: 10px 24px;\n }\n}\n\n.ReusableLogin-module_errorMsg__pDhM4 {\n color: #bf0760;\n display: flex;\n font-size: 12px;\n font-weight: 400;\n line-height: 16px;\n margin-bottom: 4px;\n}\n\n.ReusableLogin-module_resend__DQ50C {\n font-size: 16px;\n font-weight: 700;\n line-height: 24px;\n text-align: center;\n color: #3d3935;\n}\n\n.ReusableLogin-module_loginmodal__XhQt- {\n align-items: center;\n background-color: rgba(87, 84, 82, 0.4);\n font-size: 16px;\n line-height: 24px;\n color: #333333;\n display: flex;\n height: 100%;\n justify-content: center;\n left: 0;\n padding: 16px;\n position: fixed;\n top: 0;\n transition: opacity 3s;\n width: 100%;\n z-index: 11;\n}\n.ReusableLogin-module_loginmodal__XhQt- input {\n background: #f7f6f5 !important;\n}\n.ReusableLogin-module_loginmodal__XhQt- input:focus {\n border: 2px solid #3D3935 !important;\n border-radius: 4px;\n}\n.ReusableLogin-module_loginmodal__XhQt- input:disabled {\n background: #e6e3df !important;\n}\n.ReusableLogin-module_loginmodal__XhQt- input.ReusableLogin-module_inputSuccess__dK7Uz {\n border-color: #8fd200 !important;\n box-shadow: 0 0 0 1px #8fd200 !important;\n}\n.ReusableLogin-module_loginmodal__XhQt- input::-webkit-outer-spin-button, .ReusableLogin-module_loginmodal__XhQt- input::-webkit-inner-spin-button {\n -webkit-appearance: none !important;\n margin: 0 !important;\n}\n.ReusableLogin-module_loginmodal__XhQt- input[type=number] {\n -moz-appearance: textfield !important;\n}\n\n.ReusableLogin-module_iconcontainer__QpoFB {\n bottom: 14px;\n position: absolute;\n right: 12.25px;\n}\n\n.ReusableLogin-module_logintitle__bnFYd {\n font-size: 24px;\n font-weight: 700;\n line-height: 32px;\n text-align: center;\n width: 100%;\n}\n\n.ReusableLogin-module_formControl__hBGQP {\n border: none;\n padding: 14px 0;\n}\n.ReusableLogin-module_formControl__hBGQP::-ms-reveal {\n display: none;\n}\n.ReusableLogin-module_formControl__hBGQP:focus, .ReusableLogin-module_formControl__hBGQP:not(:placeholder-shown) {\n border-color: black;\n box-shadow: none;\n}\n\n.ReusableLogin-module_loginmodalLabel__gakRq {\n overflow: hidden;\n right: 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ReusableLogin-module_confirmbtn__woa5L {\n height: 52px;\n width: 150px;\n}\n\n.ReusableLogin-module_horizontalline__ew-1o {\n border: 1px solid #e5e5e5;\n margin: 25px 0px;\n width: 70%;\n}\n\n.ReusableLogin-module_infotooltip__e3Al0 {\n font-size: 12px;\n line-height: 1.33;\n margin-top: 4px;\n}\n\n.ReusableLogin-module_eyeicon__XTxJn {\n display: inline-block;\n height: 24px;\n margin-left: 8px;\n width: 24px;\n}\n\n.ReusableLogin-module_credentialerror__T9TK0 {\n color: #bf0760;\n display: flex;\n font-size: 12px;\n font-weight: 400;\n height: 32px;\n line-height: 16px;\n margin-top: 4px;\n position: absolute;\n top: 52px;\n}\n\n.ReusableLogin-module_tempcode__rzrt5 {\n font-size: 16px;\n font-style: normal;\n font-weight: 700;\n line-height: 24px;\n padding: 16px 0 0;\n}\n\n.ReusableLogin-module_warningicon__3HIvk {\n content: "";\n display: inline-block;\n height: 16px;\n margin-right: 4px;\n margin-top: 2px;\n width: 16px;\n}\n\n.ReusableLogin-module_blockedcontent__OQn79 {\n align-items: flex-start;\n background: #f9e7f0;\n border: 1.5px solid #bf0760;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n height: 120px;\n justify-content: center;\n padding: 16px 16px 8px;\n}\n\n.ReusableLogin-module_warningcontent__KzTOC {\n align-items: flex-start;\n background: #FFFAE6;\n border: 1.5px solid #ffc805;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n height: 120px;\n justify-content: center;\n padding: 16px 16px 8px;\n}\n\n.ReusableLogin-module_technicalerror__n3C0N {\n height: 90px;\n}\n\n.ReusableLogin-module_updatedetails__DHwPR {\n color: #da291c;\n cursor: pointer;\n margin: 0 5px;\n text-decoration: underline;\n}\n\n.ReusableLogin-module_loginmodalrem__GKQDm {\n -moz-user-select: none;\n -ms-user-select: none;\n -webkit-user-select: none;\n cursor: pointer;\n display: block;\n font-weight: 700;\n padding-left: 28px;\n position: relative;\n text-align: left;\n user-select: none;\n}\n.ReusableLogin-module_loginmodalrem__GKQDm input {\n cursor: pointer;\n height: 0;\n opacity: 0;\n position: absolute;\n width: 0;\n}\n.ReusableLogin-module_loginmodalrem__GKQDm input:checked ~ .ReusableLogin-module_checkmark__XKH5n {\n background-color: #da291c;\n border: 2px solid #da291c;\n}\n.ReusableLogin-module_loginmodalrem__GKQDm input:checked ~ .ReusableLogin-module_checkmark__XKH5n:after {\n display: block;\n}\n.ReusableLogin-module_loginmodalrem__GKQDm .ReusableLogin-module_checkmark__XKH5n {\n border: 2px solid #5f5955;\n border-radius: 4px;\n height: 20px;\n left: 0;\n position: absolute;\n top: 2px;\n width: 20px;\n}\n.ReusableLogin-module_loginmodalrem__GKQDm .ReusableLogin-module_checkmark__XKH5n:after {\n -ms-transform: rotate(45deg);\n -webkit-transform: rotate(45deg);\n border: solid white;\n border-width: 0 3px 3px 0;\n height: 10px;\n left: 5px;\n top: 2px;\n transform: rotate(45deg);\n width: 5px;\n}');const yo=({content:n,changeCurrentView:o,metadata:i,onSuccess:l,loginIcons:r,userID:d,password:a,isProdEnv:s=!0})=>{var c,u,p,m,_,v,h,g;const[f,x]=e.useState({userName:d,password:a}),[b,y]=e.useState(!1),[w,S]=e.useState(!1),[C,k]=e.useState(!1),[P,T]=e.useState(!1),[O,N]=e.useState(!1),[L,D]=e.useState(1),[I,A]=e.useState(""),[B,V]=e.useState(!1),[M,R]=e.useState(!1),[F,j]=e.useState(!1),[U,z]=e.useState(!1),[$,W]=e.useState(!1),[H,Y]=e.useState(!1),G=e.useRef(),q=/^[0-9]+$/,K=e=>{k(!1),V(!1),R(!1),j(!1);const n=e.target.value,o=e.target.id;"userName"===o&&(z(!1),W(!1),x(Object.assign(Object.assign({},f),{userName:n})),n&&n&&q.test(n)?S(!0):S(!1)),"password"===o&&x(Object.assign(Object.assign({},f),{password:n}))},J=e=>{const o=/^(?:\+?\d+)$/,{userName:t,password:i}=f,l=(e=>{const n=Ae(e),o=Ie(n);if(o&&o!==Le.EMAIL&&o!==Le.CUSTOMER_NUMBER){const n=e.match(/^((?:0|00|\+)[0-9]{1,2})(\d{3})(\d{2})(\d{2})(\d{2})(\d{1,2})?$/);return Be(e,!!(n&&n.length>0))}return e})(t.replace(/\s/g,""));if(x(Object.assign(Object.assign({},f),{userName:l})),t){const l=Ae(De(t));(e=>{const n=/^[a|A]{0,1}[0-9]+$/;return!(e.length<10||10!==e.length&&!n.test(e))&&!!n.test(e)&&(e.startsWith("a")||e.startsWith("A")?11===e.length:n.test(e)&&10===e.length)})(l)||/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(l).toLowerCase())?e&&""!==i&&X(l,i):(S(!1),o.test(l)?(W(!0),Kn(Sn,wn,Pn,null==n?void 0:n.invalidNumberMessage)):(z(!0),Kn(Sn,wn,Pn,null==n?void 0:n.invalidEmailMessage)))}},X=(e,t)=>{y(!0);const r=Ie(e)+" | Password";Re(oe,null==E?void 0:E.LOGIN_MFA,e,t,G,null==i?void 0:i.lang,H).then((e=>{var t,i;"OK"===(null==e?void 0:e.status)?(localStorage.setItem("existingUser","true"),localStorage.setItem("userNameType",r),k(!1),l(),Gn("loginSuccessful","success via password",xn),Yn(cn,Pn,{result:"successful",message_title:"",login_type:r,selection:H?Tn:On})):(null===(t=[te,ie,le,ce])||void 0===t?void 0:t.includes(null==e?void 0:e.status))?(S(!1),o(null==f?void 0:f.userName,e)):"ERROR"===(null==e?void 0:e.status)?(R(!0),Gn(Dn,Nn,xn),qn(null==n?void 0:n.technicalError,Pn,Ln,En),Kn(Sn,wn,Pn,null==n?void 0:n.technicalError)):"NOK"===(null==e?void 0:e.status)&&(null===(i=null==e?void 0:e.status)||void 0===i?void 0:i.segment)?(j(!0),S(!1),qn(null==n?void 0:n.invalidSegmentError,Pn,Ln,En),Kn(Sn,wn,Pn,null==n?void 0:n.invalidSegmentError),Xn(r)):(k(!0),S(!1),Q(),Gn(Dn,Nn,xn),Yn(cn,Pn,{result:In,message_title:null==n?void 0:n.userNameError,login_type:r,selection:H?Tn:On}),qn(null==n?void 0:n.userNameError,Pn,Ln,En),Kn(Sn,wn,Pn,null==n?void 0:n.userNameError),Xn(r))})).catch((e=>{k(!0),S(!1),console.log(e,"--\x3eerror"),Gn(Dn,Nn,xn),qn(null==n?void 0:n.userNameError,Pn,Ln,En),Yn(cn,Pn,{result:In,message_title:null==n?void 0:n.userNameError,login_type:r,selection:"Remember me | "+(H?"Selected":"not selected")}),Kn(Sn,wn,Pn,null==n?void 0:n.userNameError),Xn(r)})).finally((()=>{y(!1)}))},Q=()=>{var e,o,t,i,l;if((null==f?void 0:f.userName)===I?D(L+1):(D(1),A(null==f?void 0:f.userName)),L>=2&&L<4)V(!0),qn(null==n?void 0:n.invalidAttemptError,Pn,Ln,En),Kn(Sn,wn,Pn,null==n?void 0:n.invalidAttemptError);else if(4===L){V(!1),N(!0);const r=null===(l=null===(i=null===(t=null===(o=null===(e=null==n?void 0:n.loginBlockedError)||void 0===e?void 0:e.content)||void 0===o?void 0:o[0])||void 0===t?void 0:t.content)||void 0===i?void 0:i[0])||void 0===l?void 0:l.text;qn(r,Pn,Ln,En),Kn(Sn,wn,Pn,r)}},Z=e=>{"Enter"!==e.key||C||J(!0)};return e.createElement(e.Fragment,null,e.createElement("div",{className:lo},null==n?void 0:n.title),e.createElement("div",{className:"mt-4"}),O&&e.createElement(e.Fragment,null,e.createElement("div",{className:vo},e.createElement("span",{style:{display:"inline-flex"}},e.createElement("div",{style:{paddingRight:"10px"}},e.createElement("img",{src:null===(c=null==r?void 0:r.error)||void 0===c?void 0:c.filename,alt:"error",width:24,height:24})," "),e.createElement(en,{content:null==n?void 0:n.loginBlockedError}))),e.createElement("div",{className:"mt-4"})),B&&e.createElement(e.Fragment,null,e.createElement("div",{className:ho},e.createElement("span",{style:{display:"inline-flex"}},e.createElement("div",{style:{paddingRight:"10px"}},e.createElement("img",{src:null===(u=null==r?void 0:r.warning)||void 0===u?void 0:u.filename,alt:"error",width:24,height:24})," "),e.createElement(en,{content:null==n?void 0:n.invalidAttemptError}))),e.createElement("div",{className:"mt-4"})),(M||F)&&e.createElement(e.Fragment,null,e.createElement("div",{className:`${ho} ${M&&go}`},e.createElement("span",{style:{display:"inline-flex"}},e.createElement("div",{style:{paddingRight:"10px"}},e.createElement("img",{src:null===(p=null==r?void 0:r.warning)||void 0===p?void 0:p.filename,alt:"error",width:24,height:24})," "),M?e.createElement(en,{content:null==n?void 0:n.technicalError}):e.createElement(en,{content:null==n?void 0:n.invalidSegmentError}))),e.createElement("div",{className:"mt-4"})),e.createElement("div",{className:"form-floating w-100"},e.createElement("input",{type:"text",className:`form-control ${(C||U||$)&&"error-border"}\n `,id:"userName",placeholder:null==n?void 0:n.userNameLabel,value:null==f?void 0:f.userName,onChange:K,autoComplete:"off",disabled:O,onBlur:()=>J(!1),onKeyDown:Z}),e.createElement("label",{className:`text-truncate w-100 ${ro}`},null==n?void 0:n.userNameLabel),w&&e.createElement("p",{className:co},null==n?void 0:n.infoText),(U||$)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(m=null==r?void 0:r.alertTriangle)||void 0===m?void 0:m.filename,alt:"alert",className:_o}),U?null==n?void 0:n.invalidEmailMessage:null==n?void 0:n.invalidNumberMessage)),e.createElement("div",{className:"mt-4"}),e.createElement("div",{className:"form-floating w-100"},e.createElement("input",{type:P?"text":"password",className:`form-control ${C&&"error-border"} pe-5`,id:"password",placeholder:null==n?void 0:n.passwordLabel,value:null==f?void 0:f.password,onChange:K,disabled:O,onKeyDown:Z}),e.createElement("label",{className:ro},null==n?void 0:n.passwordLabel),e.createElement("div",{className:io},e.createElement("span",{onClick:()=>!O&&T(!P)},P?e.createElement("img",{src:null===(_=null==r?void 0:r.eyeoff)||void 0===_?void 0:_.filename,alt:"eyeOff",className:uo}):e.createElement("img",{src:null===(v=null==r?void 0:r.eye)||void 0===v?void 0:v.filename,alt:"eye",className:uo}))),C&&e.createElement("p",{className:po},e.createElement("img",{src:null===(h=null==r?void 0:r.alertTriangle)||void 0===h?void 0:h.filename,alt:"alert",className:_o}),null==n?void 0:n.userNameError)),e.createElement("div",{className:"w-100 d-flex justify-content-between mt-4"},!(null==n?void 0:n.hideRemMe)&&e.createElement("label",{className:`${xo} me-auto`},e.createElement("input",{type:"checkbox",id:"remmberme",onChange:()=>Y(!H),checked:H}),null==n?void 0:n.remLabel,e.createElement("span",{className:bo},e.createElement("img",{src:null===(g=null==r?void 0:r.whiteTickmark)||void 0===g?void 0:g.filename,alt:"checkmark",role:"button",style:{marginBottom:"12px",marginLeft:"2px"}}))),(null==n?void 0:n.forgotPwdLink)&&e.createElement("a",{className:"text-decoration-none fw-bold ms-auto",onClick:()=>{G.current&&G.current.abort(),o(null==f?void 0:f.userName,{status:fe})}},null==n?void 0:n.forgotPwdLink)),e.createElement("div",null,e.createElement("button",{className:`primarybutton ${ao} mt-4`,onClick:()=>J(!0),disabled:C||!f.password||!f.userName||O||U||$||b},b?e.createElement(t.Spinner,{as:"span",animation:"border",size:"sm",role:"status","aria-hidden":"true"}):null==n?void 0:n.nextButton)),!s&&e.createElement(e.Fragment,null,e.createElement("div",{className:so}),e.createElement("a",{className:`mb-2 text-decoration-none ${mo}`,onClick:()=>{G.current&&G.current.abort(),o(null==f?void 0:f.userName,{status:me}),Gn(Pn,null==n?void 0:n.otpLink,xn),Yn(cn,"get_temporary_code",{click_text:null==n?void 0:n.otpLink})}},null==n?void 0:n.otpLink)))};var wo="ButtonStyles-module_Container__kud4M",So="ButtonStyles-module_changeButton__iri53",Co="ButtonStyles-module_continueButton__ymNDm",ko="ButtonStyles-module_inputField__4EF6W",Eo="ButtonStyles-module_outerBar__g1Iol",Po="ButtonStyles-module_innerBar__2kWNK",To="ButtonStyles-module_good__RWgrf",Oo="ButtonStyles-module_great__1RIOR",No="ButtonStyles-module_valid__RF6MZ",Lo="ButtonStyles-module_resendcontent__luDgO";S("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.ButtonStyles-module_card__33yGZ.ButtonStyles-module_sr-card__2QZyy {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.ButtonStyles-module_card__33yGZ.ButtonStyles-module_border-top__RMMxA {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .ButtonStyles-module_sr-desk-card__HfkBK {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .ButtonStyles-module_sr-mob-card__zdfKv {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .ButtonStyles-module_sr-md-card__acrtk {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.ButtonStyles-module_Container__kud4M {\n color: #3D3935;\n}\n\n.ButtonStyles-module_changeButton__iri53 {\n border: 0;\n color: #da291c;\n background: none;\n font-weight: 700;\n}\n.ButtonStyles-module_changeButton__iri53:disabled {\n color: #b3aeaa;\n}\n\n.ButtonStyles-module_continueButton__ymNDm {\n background-color: #da291c;\n font-weight: 700;\n color: #ffffff;\n border-radius: 28px;\n padding: 14px 24px;\n border: 0;\n}\n.ButtonStyles-module_continueButton__ymNDm:disabled {\n background-color: #e6e3df;\n color: #b3aeaa;\n}\n\n.ButtonStyles-module_inputField__4EF6W {\n margin-top: 24px;\n}\n.ButtonStyles-module_inputField__4EF6W input {\n border-radius: 4px;\n min-width: 100%;\n padding: 14px 12px;\n border: 1px solid #b3aeaa;\n}\n.ButtonStyles-module_inputField__4EF6W span {\n font-size: 12px;\n line-height: 16px;\n}\n\n.ButtonStyles-module_outerBar__g1Iol {\n width: 100%;\n height: 4px;\n border-radius: 4px;\n background: #e6e3df;\n margin-bottom: 24px;\n}\n.ButtonStyles-module_outerBar__g1Iol .ButtonStyles-module_innerBar__2kWNK {\n height: 100%;\n border-radius: 4px;\n}\n.ButtonStyles-module_outerBar__g1Iol .ButtonStyles-module_innerBar__2kWNK.ButtonStyles-module_good__RWgrf {\n background: #ffc805;\n}\n.ButtonStyles-module_outerBar__g1Iol .ButtonStyles-module_innerBar__2kWNK.ButtonStyles-module_great__1RIOR {\n background: #8fd200;\n}\n\n.ButtonStyles-module_valid__RF6MZ {\n color: #8fd200;\n}\n\n.ButtonStyles-module_resendcontent__luDgO {\n align-items: flex-start;\n background: #f4fbe6;\n border: 1.5px solid #8fd200;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n height: 90px;\n justify-content: center;\n padding: 16px;\n}");var Do="ReactInputSelect-module_selectcontainer__3qYm1",Io="ReactInputSelect-module_downArrowIcon__0aNJw",Ao="ReactInputSelect-module_transform180__LZhJD",Bo="ReactInputSelect-module_errormessage__b-fWF";S("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.ReactInputSelect-module_card__k6qOG.ReactInputSelect-module_sr-card__Sp5JR {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.ReactInputSelect-module_card__k6qOG.ReactInputSelect-module_border-top__trv4g {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .ReactInputSelect-module_sr-desk-card__-5yOi {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .ReactInputSelect-module_sr-mob-card__CmLYv {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .ReactInputSelect-module_sr-md-card__G8Zxs {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.ReactInputSelect-module_selectcontainer__3qYm1 {\n position: relative;\n}\n.ReactInputSelect-module_selectcontainer__3qYm1 .ReactInputSelect-module_downArrowIcon__0aNJw {\n display: inline-block;\n height: 24px;\n width: 24px;\n background-size: cover;\n background-position: center;\n margin-left: 8px;\n transform: rotate(0);\n transition: transform 0.3s;\n}\n.ReactInputSelect-module_selectcontainer__3qYm1 .ReactInputSelect-module_downArrowIcon__0aNJw.ReactInputSelect-module_transform180__LZhJD {\n transform: rotate(180deg);\n}\n.ReactInputSelect-module_selectcontainer__3qYm1 .ReactInputSelect-module_downArrowIcon__0aNJw:hover {\n cursor: pointer;\n}\n.ReactInputSelect-module_selectcontainer__3qYm1 .ReactInputSelect-module_errormessage__b-fWF {\n color: #c60047;\n font-size: 12px;\n line-height: 16px;\n margin-top: 4px;\n}");const Vo={},Mo=e.forwardRef((({name:n,options:o,content:t,disableValues:i=[],defaultValue:r=Vo,optionsValue:d="value",optionsLabel:a="label",disabled:s=!1,autoSelectValueFromOptions:c=!0,onChange:u,onSaveClicked:p=!1,menuPlacement:m,loginIcons:_=""},v)=>{var h;const[g,f]=e.useState(!1),[x,b]=e.useState(r),[y,w]=e.useState(!1),[S,C]=e.useState(!1),k=e=>{b(e),"function"==typeof u&&u(e?{name:n,value:e}:{name:n,value:{[d]:"",[a]:""}})};e.useEffect((()=>{for(let e=0;e<o.length;e++)if(o[e][d]===(null==x?void 0:x[d])){k({[d]:o[e][d],[a]:o[e][a]});break}}),[null===(h=o[0])||void 0===h?void 0:h[a]]),e.useEffect((()=>{r&&c&&b(r)}),[r]);Boolean(x)==S&&C(!S);return e.createElement("div",{className:Do},e.createElement(l,{className:`react-select-container ${S&&"errorborder"}`,name:n,instanceId:"React-select",classNamePrefix:"react-select",components:{DropdownIndicator:n=>{var o;return e.createElement(l.components.DropdownIndicator,Object.assign({},n),e.createElement("span",{className:`${Io} ${n.selectProps.menuIsOpen?Ao:""}`},e.createElement("img",{src:null===(o=null==_?void 0:_.chevronDown)||void 0===o?void 0:o.filename,alt:"chevronDown"})))},IndicatorSeparator:null},value:x,id:n,onChange:k,isClearable:!0,placeholder:"",menuPlacement:m,onFocus:()=>w(!0),onBlur:()=>{!g&&f(!0),w(!1)},backspaceRemovesValue:!0,options:o,ref:v,getOptionLabel:e=>e[a],getOptionValue:e=>e[d],filterOption:l.createFilter({ignoreCase:!0,ignoreAccents:!0,trim:!0,matchFrom:"start"}),isOptionDisabled:e=>i.includes(e[d]),isDisabled:s,isSearchable:!1}),!s&&(null==t?void 0:t.placeholder)&&e.createElement("label",{className:`${(x&&x[d]&&x[a]||y)&&"activeLabel"} selectcomplabel`},null==t?void 0:t.placeholder),S&&g&&""===(null==r?void 0:r.id)&&(null==t?void 0:t.errorMessage)&&e.createElement("span",{className:Bo},null==t?void 0:t.errorMessage))})),Ro=({useCase:n,mainContent:o,changeCurrentView:i,response:l,resetPwdSuccessContent:r,loginIcons:d,errorContent:a})=>{var s,c,u,p;const[m,_]=e.useState({}),[v,h]=e.useState([]),[g,f]=e.useState({}),[x,b]=e.useState(""),[y,w]=e.useState(""),[S,C]=e.useState(!1),[k,E]=e.useState(!1),P=e.useRef(),T=e=>{S&&P.current&&P.current.abort(),C(!0),E(!1),n===de?(i("",{status:oe}),C(!1)):e&&Me(e,null==g?void 0:g.value,P).then((e=>{(null==e?void 0:e.status)&&"NOK"!==(null==e?void 0:e.status)&&"ERROR"!==(null==e?void 0:e.status)?i("",e):E(!0),C(!1)})).catch((e=>{C(!1),E(!0),console.log(e)}))};return e.useEffect((()=>{var e,t,i,d,a,s,c,u,p;o&&(n===te&&(null===(e=null==o?void 0:o.depSmsSection)||void 0===e?void 0:e.length)>0&&_(null===(t=null==o?void 0:o.depSmsSection)||void 0===t?void 0:t[0]),n===ie&&((null==l?void 0:l.msisdn)&&(null===(i=null==o?void 0:o.depEmailSection)||void 0===i?void 0:i.length)>0?_(null===(d=null==o?void 0:o.depEmailSection)||void 0===d?void 0:d[0]):_(null===(a=null==o?void 0:o.depEmailSectionV2)||void 0===a?void 0:a[0])),n===le&&(null===(s=null==o?void 0:o.emailDeprecatedSection)||void 0===s?void 0:s.length)>0&&_(null===(c=null==o?void 0:o.emailDeprecatedSection)||void 0===c?void 0:c[0]),n===re&&(null===(u=null==o?void 0:o.otpNumListSection)||void 0===u?void 0:u.length)>0&&_(null===(p=null==o?void 0:o.otpNumListSection)||void 0===p?void 0:p[0]),n===de&&r&&_(r))}),[n,o,l]),e.useEffect((()=>{var e,o;if(n)switch(n){case te:w(ge),b(he);break;case ie:(null==l?void 0:l.msisdn)?(w(ge),b(he)):(w(ve),b("OTP_CONTINUE"));break;case le:b(ve);break;case re:w(ve),b(re);break;case de:b(de)}if(l&&(null==l?void 0:l.recipients)&&(null===(e=null==Object?void 0:Object.keys(null==l?void 0:l.recipients))||void 0===e?void 0:e.length)>0&&n===re){const e=null===(o=(null==Object?void 0:Object.values(null==l?void 0:l.recipients))||[])||void 0===o?void 0:o.map(((e,n)=>{var o;return{value:`${n+1}`,name:0===n?`${null!=e?e:""} ${null!==(o=null==m?void 0:m.currentLbl)&&void 0!==o?o:""}`:null!=e?e:""}}));(null==e?void 0:e.length)>0&&(h(e),f(null==e?void 0:e[0]))}}),[l,m]),e.createElement("div",null,n===de&&e.createElement("img",{src:null!==(c=null===(s=null==d?void 0:d.checkmark)||void 0===s?void 0:s.filename)&&void 0!==c?c:"",alt:"chekcmark",className:"mb-4 d-flex mx-auto",width:72,height:72}),(null==m?void 0:m.title)&&e.createElement("h2",{className:"text-center my-4 p-0"},null==m?void 0:m.title),(null==m?void 0:m.description)&&e.createElement("div",{className:""+(n===de?"text-center":"")},e.createElement(en,{content:JSON.parse(qe(JSON.stringify(null==m?void 0:m.description),n===ie?(null==l?void 0:l.msisdn)?[null==l?void 0:l.recipient,null==l?void 0:l.msisdn]:[null==l?void 0:l.date]:n===te?[null==l?void 0:l.recipient]:[]))})),(null==v?void 0:v.length)>0&&n===re&&e.createElement("div",{className:"my-4"},e.createElement(Mo,{name:"phone number",content:m,options:v,optionsValue:"value",defaultValue:g,optionsLabel:"name",autoSelectValueFromOptions:!1,onChange:e=>{var n,o,t,i;f({value:null!==(o=null===(n=null==e?void 0:e.value)||void 0===n?void 0:n.value)&&void 0!==o?o:"",name:null!==(i=null===(t=null==e?void 0:e.value)||void 0===t?void 0:t.name)&&void 0!==i?i:""})},disableValues:["empty"],loginIcons:d}),k&&(null==a?void 0:a.technicalError)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(u=null==d?void 0:d.alertTriangle)||void 0===u?void 0:u.filename,alt:"alert",className:_o}),null==a?void 0:a.technicalError)),((null==m?void 0:m.primaryBtnLbl)||(null==m?void 0:m.secondaryBtnLbl))&&e.createElement("div",{className:"mt-4"},S&&e.createElement(t.Spinner,{as:"span",animation:"border",size:"sm",role:"status","aria-hidden":"true",className:"d-block mx-auto mb-3"}),k&&(null==a?void 0:a.technicalError)&&e.createElement("p",{className:`${po} mb-2 mt-0 position-static h-auto justify-content-center`},e.createElement("img",{src:null===(p=null==d?void 0:d.alertTriangle)||void 0===p?void 0:p.filename,alt:"alert",className:_o}),null==a?void 0:a.technicalError),e.createElement("div",{className:"d-flex justify-content-center gap-4"},(null==m?void 0:m.secondaryBtnLbl)&&n!==le&&e.createElement("button",{className:So,onClick:()=>T(y),disabled:S},null==m?void 0:m.secondaryBtnLbl),(null==m?void 0:m.primaryBtnLbl)&&e.createElement("button",{className:Co,onClick:()=>T(x),disabled:S},null==m?void 0:m.primaryBtnLbl))))},Fo=({useCase:n,content:o,changeCurrentView:i,metadata:l,userID:r,loginIcons:d,response:a,errorContent:s})=>{var c,u,p;const m=/^[0-9]+$/,[_,v]=e.useState(!0),[h,g]=e.useState(null!=r?r:""),[f,x]=e.useState(!1),[b,y]=e.useState(!1),[w,S]=e.useState(!1),C=e.useRef(),k=e=>{g(e),y(!1),m.test(e)&&(null==e?void 0:e.length)>=10?v(!1):v(!0)},P=()=>{if(f&&C.current&&C.current.abort(),x(!0),S(!1),y(!1),n===pe&&Me(n,h,C).then((e=>{x(!1),(null==e?void 0:e.status)?"MSISDN_INVALID"===(null==e?void 0:e.error)||"NOK"===(null==e?void 0:e.status)?y(!0):"ERROR"!==(null==e?void 0:e.status)?i("",e):S(!0):S(!0)})).catch((e=>{x(!1),S(!0),console.log(e)})),n===me||n===fe){const e=Ae(De(h));Re(n,null==E?void 0:E.LOGIN_OTP,e,"",C,null==l?void 0:l.lang).then((e=>{x(!1),(null==e?void 0:e.status)&&"NOK"!==(null==e?void 0:e.status)&&"ERROR"!==(null==e?void 0:e.status)?i("",e):S(!0)})).catch((e=>{x(!1),S(!0),console.log(e)}))}};return e.useEffect((()=>{r&&k(r)}),[r]),e.useEffect((()=>{n===pe&&(null==a?void 0:a.msisdn)&&!isNaN(Number(null==a?void 0:a.msisdn))&&k(null==a?void 0:a.msisdn)}),[a,n]),e.createElement("div",{className:wo},(null==o?void 0:o.title)&&e.createElement("h2",{className:"text-center mb-4 mt-4"},null==o?void 0:o.title),(null==o?void 0:o.descriptionV2)&&e.createElement(en,{content:null==o?void 0:o.descriptionV2}),e.createElement("div",{className:`form-floating w-100 ${ko}`},e.createElement("input",{type:"number",id:n,placeholder:null!==(c=null==o?void 0:o.userNameLabel)&&void 0!==c?c:"",value:h,className:`form-control ${(w||b)&&"error-border mb-4"}`,onChange:e=>{var n;return k(null===(n=null==e?void 0:e.target)||void 0===n?void 0:n.value)},onKeyDown:e=>{"Enter"!==(null==e?void 0:e.key)||_||f||P()}}),(null==o?void 0:o.userNameLabel)&&e.createElement("label",{className:`text-truncate w-100 ${ro}`},null==o?void 0:o.userNameLabel),b&&(null==s?void 0:s.invalidNumberMessage)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(u=null==d?void 0:d.alertTriangle)||void 0===u?void 0:u.filename,alt:"alert",className:_o}),null==s?void 0:s.invalidNumberMessage),w&&(null==s?void 0:s.technicalError)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(p=null==d?void 0:d.alertTriangle)||void 0===p?void 0:p.filename,alt:"alert",className:_o}),null==s?void 0:s.technicalError),(null==o?void 0:o.infoText)&&e.createElement("span",null,null==o?void 0:o.infoText)),(null==o?void 0:o.buttonLabel)&&e.createElement("div",{className:"text-center mt-4"},f&&e.createElement(t.Spinner,{as:"span",animation:"border",size:"sm",role:"status","aria-hidden":"true",className:"d-block mx-auto mb-3"}),e.createElement("button",{className:Co,disabled:_||f,onClick:P},null==o?void 0:o.buttonLabel)))},jo=({useCase:n,mainContent:o,changeCurrentView:i,response:l,loginIcons:r,onSuccess:d,errorContent:a})=>{var s,c,u,p,m,_;const v=/^[0-9]+$/,[h,g]=e.useState(!0),[f,x]=e.useState(0),[b,y]=e.useState(!1),[w,S]=e.useState(""),[C,k]=e.useState({}),[E,P]=e.useState(!1),[T,O]=e.useState(!1),[N,L]=e.useState(!1),[D,I]=e.useState(!1),A=e.useRef();e.useEffect((()=>{var e,t,i,l,r,d,a,s;o&&(n===ae&&(null===(e=null==o?void 0:o.smsOldSection)||void 0===e?void 0:e.length)>0&&k(null===(t=null==o?void 0:o.smsOldSection)||void 0===t?void 0:t[0]),n===se&&(null===(i=null==o?void 0:o.smsNewSection)||void 0===i?void 0:i.length)>0&&k(null===(l=null==o?void 0:o.smsNewSection)||void 0===l?void 0:l[0]),n===ce&&(null===(r=null==o?void 0:o.otpSmsSection)||void 0===r?void 0:r.length)>0&&k(null===(d=null==o?void 0:o.otpSmsSection)||void 0===d?void 0:d[0]),n===ue&&(null===(a=null==o?void 0:o.otpEmailSection)||void 0===a?void 0:a.length)>0&&k(null===(s=null==o?void 0:o.otpEmailSection)||void 0===s?void 0:s[0]))}),[o]),e.useEffect((()=>{if(b){let e=(null==o?void 0:o.OTPResendCount)||60;x(e);const n=setInterval((()=>{x(--e),e<=0&&(clearInterval(n),y(!1))}),1e3);return()=>{y(!1),clearTimeout(n)}}}),[b]),e.useEffect((()=>{y(!0)}),[]);const B=()=>{E&&A.current&&A.current.abort(),I(!1),P(!0),L(!1),O(!1),Me(n,w,A).then((e=>{(null==e?void 0:e.status)?"OK"===(null==e?void 0:e.status)?(localStorage.setItem("existingUser","true"),d()):"OTP_WRONG"===(null==e?void 0:e.error)?O(!0):"NOK"!==(null==e?void 0:e.status)&&"ERROR"!==(null==e?void 0:e.status)?i("",e):L(!0):L(!0),P(!1)})).catch((e=>{P(!1),L(!0),console.log(e)}))};return e.createElement("div",{className:wo},(null==C?void 0:C.title)&&e.createElement("h2",{className:"text-center mb-4 mt-4"},null==C?void 0:C.title),D&&(null==C?void 0:C.resendInfo)&&e.createElement(e.Fragment,null,e.createElement("div",{className:Lo},e.createElement("span",{style:{display:"inline-flex"}},e.createElement("div",{style:{paddingRight:"10px"}},e.createElement("img",{src:null===(s=null==r?void 0:r.checkmark)||void 0===s?void 0:s.filename,alt:"error",width:24,height:24})," "),(null==C?void 0:C.resendInfo)&&e.createElement(en,{content:null==C?void 0:C.resendInfo}))),e.createElement("div",{className:"mt-4"})),e.createElement("p",null,(null==C?void 0:C.descriptionFirst)&&e.createElement("div",null,e.createElement(en,{content:JSON.parse(qe(JSON.stringify(null==C?void 0:C.descriptionFirst),[null!==(c=null==l?void 0:l.recipient)&&void 0!==c?c:" "]))})),e.createElement("div",null,(null==C?void 0:C.descSecStart)&&e.createElement(e.Fragment,null,e.createElement("br",null),null==C?void 0:C.descSecStart),(null==C?void 0:C.descSecSplitLink)&&e.createElement("span",{className:fo,onClick:()=>{A.current&&A.current.abort(),i("",{status:oe})}},null==C?void 0:C.descSecSplitLink),(null==C?void 0:C.descSecEnd)&&e.createElement(e.Fragment,null,null==C?void 0:C.descSecEnd))),e.createElement("div",{className:`form-floating w-100 ${ko}`},e.createElement("input",{type:"number",id:n,placeholder:"Temporary code",value:w,className:`form-control ${(N||T)&&"error-border mb-4"}`,onChange:e=>{var n,o,t,i;S(null===(n=null==e?void 0:e.target)||void 0===n?void 0:n.value),O(!1),I(!1),v.test(null===(o=null==e?void 0:e.target)||void 0===o?void 0:o.value)&&6===(null===(i=null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)||void 0===i?void 0:i.length)?g(!1):g(!0)},onKeyDown:e=>{"Enter"!==(null==e?void 0:e.key)||h||E||B()},maxLength:6,autoComplete:"one-time-code"}),(null==C?void 0:C.otpLabel)&&e.createElement("label",{className:`text-truncate w-100 ${ro}`},null==C?void 0:C.otpLabel),T&&(null==a?void 0:a.tempCodeError)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(u=null==r?void 0:r.alertTriangle)||void 0===u?void 0:u.filename,alt:"alert",className:_o}),null==a?void 0:a.tempCodeError),N&&(null==a?void 0:a.technicalError)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(p=null==r?void 0:r.alertTriangle)||void 0===p?void 0:p.filename,alt:"alert",className:_o}),null==a?void 0:a.technicalError)),0===f?e.createElement("div",{className:"text-center fw-bold mt-2",style:{color:"#da291c"},onClick:()=>{A.current&&A.current.abort(),I(!0),y(!0),Me("OTP_RESEND","",A).then((e=>{(null==e?void 0:e.status)&&"NOK"!==(null==e?void 0:e.status)&&"ERROR"!==(null==e?void 0:e.status)?i("",e):L(!0)}))}},null!==(m=null==C?void 0:C.resendCodeLabel)&&void 0!==m?m:""):e.createElement("div",{className:"text-center fw-bold mt-2"},null!==(_=qe(null==C?void 0:C.resendTimeLabel,[f]))&&void 0!==_?_:""),(null==C?void 0:C.buttonLabel)&&e.createElement("div",{className:"text-center mt-4"},E&&e.createElement(t.Spinner,{as:"span",animation:"border",size:"sm",role:"status","aria-hidden":"true",className:"d-block mx-auto mb-3"}),e.createElement("button",{className:Co,disabled:h||E,onClick:B},null==C?void 0:C.buttonLabel)))},Uo=({content:n,useCase:o,loginIcons:i,changeCurrentView:l,errorContent:r})=>{var d,a,s,c,u,p,m;const[_,v]=e.useState(""),[h,g]=e.useState(""),[f,x]=e.useState(!1),[b,y]=e.useState(!1),[w,S]=e.useState(!1),[C,k]=e.useState([]),[E,P]=e.useState(0),[T,O]=e.useState(!1),[N,L]=e.useState({showPswd:!1,showConfirmPswd:!1}),D=0===E?0:E/(null==C?void 0:C.length)*100,I=e.useRef(),A=e=>{var n,o,t,i;const l=null!==(o=null===(n=null==e?void 0:e.target)||void 0===n?void 0:n.value)&&void 0!==o?o:"",r=null!==(i=null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.id)&&void 0!==i?i:"";"password"===r&&v(l),"confirmPassword"===r&&g(l)},B=()=>{T&&I.current&&I.current.abort(),O(!0),S(!1),Me(o,_,I).then((e=>{(null==e?void 0:e.status)&&"NOK"!==(null==e?void 0:e.status)&&"ERROR"!==(null==e?void 0:e.status)?l("",e):S(!0),O(!1)})).catch((e=>{O(!1),S(!0),console.log(e)}))},V=e=>{"Enter"!==(null==e?void 0:e.key)||_!==h||""===_||""===h||T||E!==(null==C?void 0:C.length)||B()};return e.useEffect((()=>{var e,o;if((null===(e=null==n?void 0:n.pwdReqList)||void 0===e?void 0:e.length)>0){let e=0;const t=null===(o=(null==n?void 0:n.pwdReqList)||[])||void 0===o?void 0:o.map((n=>{var o,t;const i=null===(o=new RegExp(null==n?void 0:n.key))||void 0===o?void 0:o.test(_);return i&&(e+=1),{value:null!==(t=null==n?void 0:n.value)&&void 0!==t?t:"",isValid:i}}));P(e),k(t)}}),[_,n]),e.useEffect((()=>{y(""!==_&&""!==h&&_===h&&100===D),x(""!==h&&_!==h),w&&S(!1)}),[_,h]),e.createElement("div",null,n&&e.createElement(e.Fragment,null,(null==n?void 0:n.title)&&e.createElement("h2",{className:"p-0 my-4 text-center"},null==n?void 0:n.title),(null==n?void 0:n.description)&&e.createElement(en,{content:null==n?void 0:n.description}),e.createElement("div",{className:"form-floating w-100 mt-4"},e.createElement("input",{type:(null==N?void 0:N.showPswd)?"text":"password",className:`${b&&to} form-control ${f&&"error-border"} pe-5`,id:"password",placeholder:null==n?void 0:n.newPwdPlaceholder,value:_,onChange:A,onKeyDown:V}),e.createElement("label",{className:ro},null==n?void 0:n.newPwdPlaceholder),e.createElement("div",{className:io},e.createElement("span",{onClick:()=>L(Object.assign(Object.assign({},N),{showPswd:!(null==N?void 0:N.showPswd)}))},(null==N?void 0:N.showPswd)?e.createElement("img",{src:null===(d=null==i?void 0:i.eyeoff)||void 0===d?void 0:d.filename,alt:"eyeOff",className:uo}):e.createElement("img",{src:null===(a=null==i?void 0:i.eye)||void 0===a?void 0:a.filename,alt:"eye",className:uo})))),e.createElement("div",{className:`form-floating w-100 mt-4 ${f&&"mb-4"}`},e.createElement("input",{type:(null==N?void 0:N.showConfirmPswd)?"text":"password",className:`${b&&to} form-control ${f&&"error-border"} pe-5`,id:"confirmPassword",placeholder:null==n?void 0:n.cnfrmPwdPlaceholder,value:h,onChange:A,onKeyDown:V}),e.createElement("label",{className:ro},null==n?void 0:n.cnfrmPwdPlaceholder),e.createElement("div",{className:io},e.createElement("span",{onClick:()=>L(Object.assign(Object.assign({},N),{showConfirmPswd:!(null==N?void 0:N.showConfirmPswd)}))},(null==N?void 0:N.showConfirmPswd)?e.createElement("img",{src:null===(s=null==i?void 0:i.eyeoff)||void 0===s?void 0:s.filename,alt:"eyeOff",className:uo}):e.createElement("img",{src:null===(c=null==i?void 0:i.eye)||void 0===c?void 0:c.filename,alt:"eye",className:uo}))),f&&(null==r?void 0:r.resetPwdError)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(u=null==i?void 0:i.alertTriangle)||void 0===u?void 0:u.filename,alt:"alert",className:_o}),null==r?void 0:r.resetPwdError),w&&(null==r?void 0:r.technicalError)&&e.createElement("p",{className:po},e.createElement("img",{src:null===(p=null==i?void 0:i.alertTriangle)||void 0===p?void 0:p.filename,alt:"alert",className:_o}),null==r?void 0:r.technicalError)),e.createElement("div",null,(null==n?void 0:n.pwdStrngthLbl)&&e.createElement("div",{className:"mt-4 mb-1"},null==n?void 0:n.pwdStrngthLbl),e.createElement("div",{className:Eo},e.createElement("div",{className:`${Po} ${E===(null==C?void 0:C.length)?Oo:To}`,style:{width:`${D}%`}})),(null==C?void 0:C.length)>0&&(null===(m=C||[])||void 0===m?void 0:m.map((n=>{var o,t;return e.createElement("div",{className:`${(null==n?void 0:n.isValid)?No:""} d-flex align-items-center`},e.createElement("img",{src:(null==n?void 0:n.isValid)?null===(o=null==i?void 0:i.greenTickmark)||void 0===o?void 0:o.filename:null===(t=null==i?void 0:i.greyTickmark)||void 0===t?void 0:t.filename,alt:"tick",width:16,height:16,className:"me-1"}),null==n?void 0:n.value)})))),(null==n?void 0:n.cnfrmBtnLbl)&&e.createElement("div",{className:"text-center mt-4"},T&&e.createElement(t.Spinner,{as:"span",animation:"border",size:"sm",role:"status","aria-hidden":"true",className:"d-block mx-auto mb-3"}),e.createElement("button",{className:Co,onClick:B,disabled:_!==h||""===_||""===h||T||E!==(null==C?void 0:C.length)},null==n?void 0:n.cnfrmBtnLbl))))},zo=({content:n,closeLogin:o,metadata:t,onSuccess:i,isProdEnv:l=!0})=>{var r,d;const[a,s]=e.useState(n),[c,u]=e.useState(oe),[p,m]=e.useState(""),[_,v]=e.useState(n),[h,g]=e.useState(""),[f,x]=e.useState(""),[b,y]=e.useState(n),[w,S]=e.useState(n),[C,k]=e.useState(n),[E,P]=e.useState(n),T=e.useRef();e.useEffect((()=>{var e,o,t,i,l,r,d,a,c,u,p,m,_,h,g,f,x,b,w,C,E,T,O,N,L,D,I,A,B,V,M,R,F,j,U,z,$,W;n&&("loginPageTemplate"===(null===(o=null===(e=null==n?void 0:n.reference)||void 0===e?void 0:e.content)||void 0===o?void 0:o.component)?(s(null===(d=null===(r=null===(l=null===(i=null===(t=null==n?void 0:n.reference)||void 0===t?void 0:t.content)||void 0===i?void 0:i.body)||void 0===l?void 0:l[0])||void 0===r?void 0:r.popup)||void 0===d?void 0:d[0]),v(null===(m=null===(p=null===(u=null===(c=null===(a=null==n?void 0:n.reference)||void 0===a?void 0:a.content)||void 0===c?void 0:c.body)||void 0===u?void 0:u[0])||void 0===p?void 0:p.icons)||void 0===m?void 0:m[0]),y(null===(x=null===(f=null===(g=null===(h=null===(_=null==n?void 0:n.reference)||void 0===_?void 0:_.content)||void 0===h?void 0:h.body)||void 0===g?void 0:g[0])||void 0===f?void 0:f.mfaV2)||void 0===x?void 0:x[0]),S(null===(T=null===(E=null===(C=null===(w=null===(b=null==n?void 0:n.reference)||void 0===b?void 0:b.content)||void 0===w?void 0:w.body)||void 0===C?void 0:C[0])||void 0===E?void 0:E.forgotPwd)||void 0===T?void 0:T[0]),k(null===(I=null===(D=null===(L=null===(N=null===(O=null==n?void 0:n.reference)||void 0===O?void 0:O.content)||void 0===N?void 0:N.body)||void 0===L?void 0:L[0])||void 0===D?void 0:D.resetPwd)||void 0===I?void 0:I[0]),P(null===(R=null===(M=null===(V=null===(B=null===(A=null==n?void 0:n.reference)||void 0===A?void 0:A.content)||void 0===B?void 0:B.body)||void 0===V?void 0:V[0])||void 0===M?void 0:M.resetPwdSuccess)||void 0===R?void 0:R[0])):(s(null===(F=null==n?void 0:n.popup)||void 0===F?void 0:F[0]),v(null===(j=null==n?void 0:n.icons)||void 0===j?void 0:j[0]),y(null===(U=null==n?void 0:n.mfaV2)||void 0===U?void 0:U[0]),S(null===(z=null==n?void 0:n.forgotPwd)||void 0===z?void 0:z[0]),k(null===($=null==n?void 0:n.resetPwd)||void 0===$?void 0:$[0]),P(null===(W=null==n?void 0:n.resetPwdSuccess)||void 0===W?void 0:W[0])))}),[n]);const O=(e,n,o)=>{""!==e&&m(e),u(null==n?void 0:n.status),g(n),x(o)};return e.createElement("div",{className:oo},e.createElement("div",{className:"w-100 h-100 d-flex position-relative justify-content-center align-items-center"},e.createElement("div",{className:`${Zn}`},e.createElement("div",{className:"position-relative w-100",role:"button"},c!==oe&&c!==de&&e.createElement("span",{style:{display:"flex",width:"fit-content"},onClick:()=>{T.current&&T.current.abort(),Me("BACK","",T).then((e=>{(null==e?void 0:e.status)&&"NOK"!==(null==e?void 0:e.status)&&"ERROR"!==(null==e?void 0:e.status)?O("",e):O(p,{status:oe},f)})).catch((()=>O(p,{status:oe})))}},e.createElement("img",{src:null===(r=null==_?void 0:_.back)||void 0===r?void 0:r.filename,className:`${eo}`,alt:"back"}),e.createElement("div",{className:`${no}`},null==a?void 0:a.backTxt)),e.createElement("img",{src:null===(d=null==_?void 0:_.close)||void 0===d?void 0:d.filename,className:`${eo} position-absolute end-0 top-0`,alt:"close",onClick:o})),e.createElement("div",{className:"w-100 d-flex align-items-center flex-column"},(()=>{var n,o;switch(c){case oe:return e.createElement(yo,{content:a,changeCurrentView:O,metadata:t,onSuccess:i,loginIcons:_,userID:p,password:f,isProdEnv:l});case te:case ie:case le:case re:case de:return e.createElement(Ro,{useCase:c,mainContent:null!=b?b:{},changeCurrentView:O,response:h,resetPwdSuccessContent:E,loginIcons:_,errorContent:a});case ae:case se:case ce:case ue:return e.createElement(jo,{useCase:c,mainContent:null!=b?b:{},changeCurrentView:O,response:h,loginIcons:_,onSuccess:i,errorContent:a});case pe:return e.createElement(Fo,{useCase:c,content:null!==(o=null===(n=null==b?void 0:b.newNumberSection)||void 0===n?void 0:n[0])&&void 0!==o?o:{},changeCurrentView:O,loginIcons:_,response:h,errorContent:a});case me:case fe:return e.createElement(Fo,{useCase:c,content:null!=w?w:{},changeCurrentView:O,metadata:t,loginIcons:_,userID:p,errorContent:a});case _e:return e.createElement(Uo,{content:C,useCase:c,loginIcons:_,changeCurrentView:O,errorContent:a});default:return e.createElement(e.Fragment,null)}})()))))};S(".linetable-countryOverlay-linkTextNew {\r\n color: #da291c;\r\n margin-left: 32px;\r\n margin-bottom: 4px;\r\n text-decoration: underline;\r\n cursor: pointer;\r\n font-size: 16px;\r\n line-height: 24px;\r\n}\r\n\r\n.linetable-countryOverlay-utils-noWrap {\r\n white-space: nowrap;\r\n}\r\n\r\n.linetable-countryOverlay-utils-colWidth {\r\n max-width: 210px;\r\n}\r\n\r\n.linetable-countryOverlay-contain {\r\n display: flex;\r\n align-items: first baseline;\r\n padding-top: 10px;\r\n}\r\n\r\n.linetable-countryOverlay-image {\r\n width: 24px;\r\n height: 16px;\r\n}\r\n\r\n.linetable-countryOverlay-name {\r\n color: #000000;\r\n align-items: center;\r\n padding-left: 16px;\r\n font-style: normal;\r\n font-weight: 400;\r\n font-size: 14px;\r\n line-height: 32px;\r\n}\r\n.linetable-countryOverlay-blackthemecolor {\r\n color: #ffffff !important;\r\n}\r\n\r\n.linetable-countryOverlay-desktopView {\r\n display: block;\r\n}\r\n.linetable-countryOverlay-mobView {\r\n display: none;\r\n}\r\n@media (max-width: 767px) {\r\n .linetable-countryOverlay-linkTextNew {\r\n font-size: 14px;\r\n line-height: 24px;\r\n }\r\n}\r\n\r\n@media (min-width: 1440px) {\r\n .linetable-countryOverlay-desktopView {\r\n display: block;\r\n }\r\n .linetable-countryOverlay-mobView {\r\n display: none;\r\n }\r\n}\r\n@media (max-width: 1023px) {\r\n .linetable-countryOverlay-desktopView {\r\n display: none;\r\n }\r\n .linetable-countryOverlay-mobView {\r\n display: block;\r\n width: 100%;\r\n }\r\n}\r\n.reusbablelnetable-margin {\r\n margin-left: 0;\r\n}\r\n");S(".dbold {\r\n font-weight: 500;\r\n font-size: 40px;\r\n line-height: 60px;\r\n}\r\n");const $o=({content:n})=>{var o;const t=Fe((null==n?void 0:n.textColor)&&n.textColor),i=(null==n?void 0:n.textColor)&&n.textColor!=B?t:"",l=(null==n?void 0:n.textColor)&&n.textColor===B?{color:null===(o=n.textColorPicker)||void 0===o?void 0:o.color}:{};return e.createElement(e.Fragment,null,n.headingStyle&&n.text&&"h1"===n.headingStyle?e.createElement("h1",{className:i,style:Object.assign({},l)},n.text," "):"h2"===n.headingStyle?e.createElement("h2",{className:`${i}`,style:Object.assign({},l)},n.text):"h3"===n.headingStyle?e.createElement("h3",{className:i,style:Object.assign({},l)},n.text):"h4"===n.headingStyle?e.createElement("h4",{className:i,style:Object.assign({},l)},n.text):e.createElement("div",{className:"dbold",style:Object.assign({},l)},n.text))},Wo=({content:n})=>{var o;const t=Fe(n.textColor);return e.createElement(e.Fragment,null,e.createElement("div",{className:`d-inline-flex align-${n.textElementPosition}`},n.icon&&n.icon.filename&&e.createElement("img",{src:n.icon&&n.icon.filename,alt:n.icon&&n.icon.alt,title:n.icon&&n.icon.title,height:24,width:24}),n.text&&e.createElement("div",{className:`${n.icon&&n.icon.filename} ${n.textColor&&n.textColor!=B?t:""}`,style:Object.assign({},n.textColor&&n.textColor===B?{color:null===(o=n.textColorPicker)||void 0===o?void 0:o.color}:{})},e.createElement(en,{content:n.text}))))};S(".linetable-country-overlayModal {\r\n max-width: 900px;\r\n padding: 1rem 2rem;\r\n}\r\n");const Ho=({children:n,modalState:o,handler:t,noCloseButton:i,showBackBtn:l,overlay:a})=>{const[s,c]=e.useState(),[u,p]=e.useState();return e.useEffect((()=>{a.map((e=>{var n;null===(n=null==e?void 0:e.content)||void 0===n||n.body.map((e=>{"falconTitle"==(null==e?void 0:e.component)&&c(e),"falconDescription"==(null==e?void 0:e.component)&&p(e)}))}))}),[a]),e.createElement(e.Fragment,null,e.createElement(r,{centered:!0,show:o,onHide:t,keyboard:!1,dialogClassName:"linetable-country-overlayModal"},e.createElement(r.Header,null,e.createElement("div",{style:{display:i?"none":""}},e.createElement("div",{className:"d-flex align-items-center"},l&&e.createElement("div",{className:"me-sm-4 me-3 d-flex align-items-center",onClick:t},e.createElement("img",{src:"../../icons/left_arrow.svg",alt:"arrow"})),s&&e.createElement($o,{content:s}))),e.createElement("div",{style:{display:i?"none":""}},e.createElement(d,{className:"sr-modal-close",onClick:t}))),e.createElement(r.Body,null,n),e.createElement(r.Footer,null,u&&e.createElement(Wo,{content:u}))))};S(".linetable-dotLoader-loaderParent {\r\n width: 100%;\r\n position: fixed;\r\n z-index: 3;\r\n top: 0;\r\n left: 0;\r\n bottom: 0;\r\n right: 0;\r\n background-color: rgba(255, 255, 255, 0.8);\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.linetable-dotLoader-dotClass {\r\n justify-content: center;\r\n display: flex;\r\n z-index: 1;\r\n}\r\n.linetable-dotLoader-dotContent {\r\n display: flex;\r\n justify-content: center;\r\n animation: contentplay 2s linear 0s infinite;\r\n}\r\n@keyframes dotplay {\r\n 0%,\r\n 20% {\r\n transform: translateY(0);\r\n }\r\n 10% {\r\n transform: translateY(-20px);\r\n }\r\n}\r\n.linetable-dotLoader-dots:nth-child(1) {\r\n animation-delay: 0.4s;\r\n}\r\n.linetable-dotLoader-dots:nth-child(2) {\r\n animation-delay: 0.8s;\r\n}\r\n.linetable-dotLoader-dots:nth-child(3) {\r\n animation-delay: 1.2s;\r\n}\r\n.linetable-dotLoader-dots:nth-child(4) {\r\n animation-delay: 1.6s;\r\n}\r\n.linetable-dotLoader-dots {\r\n margin: 5px 2px;\r\n width: 12px;\r\n height: 12px;\r\n border-radius: 50%;\r\n background: linear-gradient(180deg, #e2271e 0%, #ef7c3c 100%);\r\n animation: dotplay 2s linear 0s infinite;\r\n}\r\n@keyframes contentplay {\r\n 0% {\r\n opacity: 0.2;\r\n }\r\n 30% {\r\n opacity: 1;\r\n }\r\n}\r\n");const Yo=({keyParams:n})=>{const[o,t]=e.useState(0),[i,l]=e.useState({}),r={checkout:[null==i?void 0:i.uspFreeShipping,null==i?void 0:i.uspBestService,null==i?void 0:i.uspCheckout],loading:[null==i?void 0:i.loading]},d=n?r[`${n}`]:r.checkout;return e.useEffect((()=>{l(We("sbstaticcontent"))}),[]),e.useEffect((()=>{let e=d.length-1;t(e);const n=setInterval((()=>{t(e--),e<0&&(e=d.length-1)}),2e3);return()=>{clearTimeout(n)}}),[]),e.createElement("div",{className:"d-flex align-items-center justify-content-center linetable-dotLoader-loaderParent"},e.createElement("div",{className:"linetable-dotLoader-dotClass"},e.createElement("div",{className:"linetable-dotLoader-dots"}),e.createElement("div",{className:"linetable-dotLoader-dots"}),e.createElement("div",{className:"linetable-dotLoader-dots"}),e.createElement("div",{className:"linetable-dotLoader-dots"})),e.createElement("div",null,e.createElement("h4",{className:"linetable-dotLoader-dotContent"},d[o]," ")))},Go=e=>{const n=[];return null==e||e.map((e=>{const o=Number(null==e?void 0:e.order)||999,t=null==e?void 0:e.cProd;t.sortOrder=o,null==n||n.push(t)})),null==n||n.sort(((e,n)=>(null==e?void 0:e.sortOrder)-(null==n?void 0:n.sortOrder))),n},qo=e=>{var n;const o=[];return null===(n=e||[])||void 0===n||n.forEach((e=>{o.push({id:e,name:e})})),o},Ko=(e,n,o,t,i,l)=>{var r,d,a,s,c,u,p,m,_,v,h,g,f,x,b,y,w,S,C,k,E,P,T,O,N,L;const D=null!==(c=null===(s=null===(a=null===(d=null===(r=null==t?void 0:t.selectedVarientDetails)||void 0===r?void 0:r.hardwarePrices)||void 0===d?void 0:d.smartUpgradeInstallments)||void 0===a?void 0:a.insurance)||void 0===s?void 0:s.value)&&void 0!==c?c:0,I=null!==(v=null===(_=null===(m=null===(p=null===(u=null==t?void 0:t.selectedVarientDetails)||void 0===u?void 0:u.hardwarePrices)||void 0===p?void 0:p.smartUpgradeInstallments)||void 0===m?void 0:m.upFrontPayment)||void 0===_?void 0:_.value)&&void 0!==v?v:"";let A="";if("undefined"!=typeof window){const e=window.location.href,n=window.document.documentElement.getAttribute("lang"),o=null==e?void 0:e.search(`/${n}`);A=null==e?void 0:e.slice(o)}const B={hardwareVariant:{id:null===(h=null==t?void 0:t.selectedVarientDetails)||void 0===h?void 0:h.id,note:Jo(t,I),hardwarePrices:null===(g=null==t?void 0:t.selectedVarientDetails)||void 0===g?void 0:g.hardwarePrices,selectedContractType:Y,deviceRedirectUrl:"",buyBackPrice:[],itemType:G,insuranceName:D&&null!==(f=null==e?void 0:e.insuranceId)&&void 0!==f?f:"",insurancePrice:D||""},checkSubscriptions:{simSelectedType:"",enableV2Layout:!0,enableNoSubscriptionFlow:!0,dpSubsidyRatePlanPromoId:"",flowType:"dpTable",enableRecommendedAccessory:JSON.parse(null!==(S=null===(w=null===(y=null===(b=null===(x=null==t?void 0:t.selectedVarientDetails)||void 0===x?void 0:x.classificationAttribute)||void 0===b?void 0:b.filter((e=>"recommendAccessory"===e.name)))||void 0===y?void 0:y[0])||void 0===w?void 0:w.value)&&void 0!==S?S:"false")},subscription:{mobileSubscription:null==n?void 0:n.mobProductId,mobileSubscriptionPromo:(null===(E=null===(k=null===(C=null==o?void 0:o[null==n?void 0:n.mobProductId])||void 0===C?void 0:C.promotionInfo)||void 0===k?void 0:k[0])||void 0===E?void 0:E.id)?null===(O=null===(T=null===(P=null==o?void 0:o[null==n?void 0:n.mobProductId])||void 0===P?void 0:P.promotionInfo)||void 0===T?void 0:T[0])||void 0===O?void 0:O.id:U,originalPrice:null!==(N=null==i?void 0:i.totalBasePrice)&&void 0!==N?N:0,discountedPrice:null!==(L=null==i?void 0:i.totalDiscountedPrice)&&void 0!==L?L:0,ubRedirectUrl:Je(A)}};B&&sessionStorage.setItem(W,JSON.stringify(B)),window.location.href=l},Jo=(e,n)=>{var o,t,i,l,r,d,a,s,c,u,p,m,_;const v=null===(t=null===(o=null==e?void 0:e.selectedVarientDetails)||void 0===o?void 0:o.hardwarePrices)||void 0===t?void 0:t.MARKET,h=Number(null===(d=null===(r=null===(l=null===(i=null==e?void 0:e.selectedVarientDetails)||void 0===i?void 0:i.hardwarePrices)||void 0===l?void 0:l.installments)||void 0===r?void 0:r.monthlyInstallment)||void 0===d?void 0:d.value)-Number(null===(u=null===(c=null===(s=null===(a=null==e?void 0:e.selectedVarientDetails)||void 0===a?void 0:a.hardwarePrices)||void 0===s?void 0:s.smartUpgradeInstallments)||void 0===c?void 0:c.monthlyInstallment)||void 0===u?void 0:u.value),g=[{author:"flowInitiated",text:G},{author:"hardwareConfiguration",text:`${null==e?void 0:e.selectedColor}, ${null==e?void 0:e.selectedStorage}`},{author:"hardwareImageUrl",text:null!==(p=null==e?void 0:e.selectedImageUrl)&&void 0!==p?p:""},{author:"hardwareGroupName",text:null==e?void 0:e.selectedDeviceModal},{author:"hardwareCategory",text:"smartphone"},{author:"upfront",text:n},{author:"ultimateBundle",text:"true"},{author:"RESIDUAL",text:"true"}];return(null==v?void 0:v.monthlyFlashDiscount)&&(null==g||g.push({author:"monthlyFlashDiscount",text:null===(m=null==v?void 0:v.monthlyFlashDiscount)||void 0===m?void 0:m.value})),(null==v?void 0:v.monthlyFlashDiscount)&&(null==g||g.push({author:"totalFlashDiscount",text:null===(_=null==v?void 0:v.totalFlashDiscount)||void 0===_?void 0:_.value})),h>0&&(null==g||g.push({author:"monthlySmartUpgradeDiscount",text:String(h)})),g},Xo=e=>{var n;const o={};return null===(n=e||[])||void 0===n||n.forEach((e=>{let n=null==e?void 0:e.priceCategory;0!==(null==e?void 0:e.duration)||(null==e?void 0:e.residual)||(null==e?void 0:e.priceCategory)!==H?24!==(null==e?void 0:e.duration)||(null==e?void 0:e.residual)||(null==e?void 0:e.priceCategory)!==Y?24===(null==e?void 0:e.duration)&&(null==e?void 0:e.residual)&&(null==e?void 0:e.priceCategory)===Y&&(n="smartUpgradeInstallments"):n="installments":n="basePrice",o[n]=e})),o},Qo={X_SUN_CHAL:"ESHOP",CUSTOMER:"/profile",ADDR_ENDPOINT:"/suggest/address",LINE_CHECK:"/v1/linecheck",CONSTANTSKEYS:"/rest/cms/dsource_entries?datasource=one-ecommerce-constant-keys",X_SUN_SITEID:"7230009036",SERVICE_OPTIONS_BY_OFFER:"v2/service-options?offerId="};let Zo=void 0!==typeof window&&u.get("sunriseAuth");Zo=Zo&&JSON.parse(Zo);const et=(e,t,i)=>I(void 0,void 0,void 0,(function*(){var l,r,d;try{localStorage.removeItem("entertainment");const l={headers:{"x-correlation-id":o.v4(),"x-sunrise-channel":P.X_SUN_CHAL},params:{}};i&&(l.params={returnPromo:!0});const r=t+P.LINE_TABLEV2,d=yield n.ApiServiceV2.getApiServiceInstance().post(r,e,l).then((e=>{if(200==e.status)return null==e?void 0:e.data}));if(d.error)return d.error;{const e=[];return null==d||d.forEach((n=>{e[n.id]=n})),e}}catch(e){((null===(r=null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.data)||void 0===r?void 0:r.code)||504===(null===(d=null==e?void 0:e.response)||void 0===d?void 0:d.status))&&Jn(null==e?void 0:e.response),console.log("error---\x3e",e)}})),nt=(e,t,i,l,r,d,a,s,c,p="",m,_,v,h)=>I(void 0,void 0,void 0,(function*(){var g,f,x,b,y,w,S,C,k,E,T,O,N,L,D,I,A,B,V,M,R,j,U,z,$,W,H,Y,q,K,X,Q,Z,ee,oe,te,ie,le,re,de,ae,se,ce,ue,pe,me,_e,ve,he,ge,fe,xe,be,ye,we;let Se={};if(r===F){let n="",o="";const l=null!==(g=u.get("one-commerce-linecheckcorrelationid"))&&void 0!==g?g:"",r=(e=>{var n,o,t;let i=[],l=void 0!==typeof window&&localStorage.getItem("lineCheckResponse");if(l){l=JSON.parse(l);const r=null===(n=null==l?void 0:l.originalLinecheckResponse)||void 0===n?void 0:n.sellableProducts;i=null===(t=null===(o=null==r?void 0:r.find((n=>(null==n?void 0:n.name)===e)))||void 0===o?void 0:o.access)||void 0===t?void 0:t[0]}return i})(null===(f=null==e?void 0:e[0])||void 0===f?void 0:f.id);Se={relatedParty:[{id:"anonymous",segment:"RESIDENTIAL"}],cartItem:[{itemType:"HOME",promotionId:i,items:[],note:[{author:"linecheckCorrelationId",text:l}]}]};const a={itemType:"MOBILE",promotionId:i,items:[]};if(null===(x=e[0])||void 0===x?void 0:x.isBundle)null===(y=null===(b=e[0])||void 0===b?void 0:b.bundledOffers)||void 0===y||y.map((e=>{var i,l,r,d,s,c,u,p,m,_,v,h,g,f,x,b,y,w,S;if(null===(l=null===(i=null==e?void 0:e.promotionInfo)||void 0===i?void 0:i[0])||void 0===l?void 0:l.id){const t=1==(null===(u=null===(c=null===(s=null===(d=null===(r=null==e?void 0:e.promotionInfo)||void 0===r?void 0:r[0])||void 0===d?void 0:d.hardwareGift)||void 0===s?void 0:s[0])||void 0===c?void 0:c.ids)||void 0===u?void 0:u.length)?null===(h=null===(v=null===(_=null===(m=null===(p=null==e?void 0:e.promotionInfo)||void 0===p?void 0:p[0])||void 0===m?void 0:m.hardwareGift)||void 0===_?void 0:_[0])||void 0===v?void 0:v.ids)||void 0===h?void 0:h[0]:"";"mobile"===(null===(g=null==e?void 0:e.productType)||void 0===g?void 0:g.toLowerCase())?(a.promotionId=null===(x=null===(f=null==e?void 0:e.promotionInfo)||void 0===f?void 0:f[0])||void 0===x?void 0:x.id,n=t):(Se.cartItem[0].promotionId=null===(y=null===(b=null==e?void 0:e.promotionInfo)||void 0===b?void 0:b[0])||void 0===y?void 0:y.id,o=t)}"tv"==(null===(w=null==e?void 0:e.productType)||void 0===w?void 0:w.toLowerCase())&&t?Se.cartItem[0].items.push({itemType:null==e?void 0:e.productType,id:t}):"mobile"===(null===(S=null==e?void 0:e.productType)||void 0===S?void 0:S.toLowerCase())?a.items.push({itemType:"RATEPLAN",id:null==e?void 0:e.id}):Se.cartItem[0].items.push({itemType:null==e?void 0:e.productType,id:null==e?void 0:e.id})})),o&&(null===(w=Se.cartItem[0].items)||void 0===w||w.push({itemType:"GIFT",id:o})),n&&a.items.push({itemType:"GIFT",id:n}),(null===(S=null==a?void 0:a.items)||void 0===S?void 0:S.length)>0&&(null===(C=null==Se?void 0:Se.cartItem)||void 0===C||C.push(a)),(null==_?void 0:_.length)>0&&(null==_||_.forEach((e=>{Se.cartItem[0].items.push({itemType:ne,id:null==e?void 0:e.id})})));else{const n=1==(null===(L=null===(N=null===(O=null===(T=null===(E=null===(k=null==e?void 0:e[0])||void 0===k?void 0:k.promotionInfo)||void 0===E?void 0:E[0])||void 0===T?void 0:T.hardwareGift)||void 0===O?void 0:O[0])||void 0===N?void 0:N.ids)||void 0===L?void 0:L.length)?null===(M=null===(V=null===(B=null===(A=null===(I=null===(D=null==e?void 0:e[0])||void 0===D?void 0:D.promotionInfo)||void 0===I?void 0:I[0])||void 0===A?void 0:A.hardwareGift)||void 0===B?void 0:B[0])||void 0===V?void 0:V.ids)||void 0===M?void 0:M[0]:"";Se.cartItem[0].items.push({itemType:null===(R=null==e?void 0:e[0])||void 0===R?void 0:R.productType,id:null===(j=null==e?void 0:e[0])||void 0===j?void 0:j.id}),n&&(null===(U=Se.cartItem[0].items)||void 0===U||U.push({itemType:"GIFT",id:n}))}d&&(null==d?void 0:d.length)>0&&(null==d||d.map((e=>{var n,o,t,i;"HOME"===(null==e?void 0:e.parentPoType)?null===(t=null===(o=null===(n=null==Se?void 0:Se.cartItem)||void 0===n?void 0:n[0])||void 0===o?void 0:o.items)||void 0===t||t.push({itemType:"GIFT",id:null==e?void 0:e.tuaProdId}):null===(i=a.items)||void 0===i||i.push({itemType:"GIFT",id:null==e?void 0:e.tuaProdId})}))),(null==r?void 0:r.accessType)&&(null===(W=null===($=null===(z=null==Se?void 0:Se.cartItem)||void 0===z?void 0:z[0])||void 0===$?void 0:$.note)||void 0===W||W.push({author:"lineCheckaccessType",text:null==r?void 0:r.accessType})),(null==r?void 0:r.timeSlot)&&(null===(q=null===(Y=null===(H=null==Se?void 0:Se.cartItem)||void 0===H?void 0:H[0])||void 0===Y?void 0:Y.note)||void 0===q||q.push({author:"lineCheckEarliestActivationDate",text:null===(K=null==r?void 0:r.timeSlot)||void 0===K?void 0:K.start}));try{const e=(e=>{const n=e+"=";let o;return document.cookie.split(";").some((e=>{for(;" "===e.charAt(0);)e=e.substring(1);return 0===e.indexOf(n)&&(o=JSON.parse(decodeURIComponent(e.substring(n.length,e.length))),!0)})),o})("chAddressJson"),n=[{characteristic:{installationAddress:!0,country:"CH",city:null===(X=null==e?void 0:e.selectedAdd)||void 0===X?void 0:X.city,street1:null===(Q=null==e?void 0:e.selectedAdd)||void 0===Q?void 0:Q.street,postCode:null===(Z=null==e?void 0:e.selectedAdd)||void 0===Z?void 0:Z.postCode,street2:null===(ee=null==e?void 0:e.selectedAdd)||void 0===ee?void 0:ee.houseNumber}}];Se.contactMedium=n}catch(e){console.log("issue at line check address addition in create cart ==>",e)}}else if(r===J){Se=a?{relatedParty:[{segment:"RESIDENTIAL"}],cartItem:[{itemType:"MOBILE",promotionId:i,items:[{itemType:"RATEPLAN",id:(null===(oe=null==e?void 0:e[0])||void 0===oe?void 0:oe.id)?null===(te=null==e?void 0:e[0])||void 0===te?void 0:te.id:e,subscribedInfo:{installedPlan:"Sunrise Prepaid Unlimited",id:s}}],processType:{id:"PRE_TO_POST"}}]}:{relatedParty:[{segment:"RESIDENTIAL"}],cartItem:[{itemType:"MOBILE",promotionId:i,items:[{itemType:"RATEPLAN",id:(null===(ie=null==e?void 0:e[0])||void 0===ie?void 0:ie.id)?null===(le=null==e?void 0:e[0])||void 0===le?void 0:le.id:e,clientDiscountInfo:v?[{discountRef:v,discountType:"DISCOUNT"}]:void 0}]}]};const n=1==(null===(ue=null===(ce=null===(se=null===(ae=null===(de=null===(re=null==e?void 0:e[0])||void 0===re?void 0:re.promotionInfo)||void 0===de?void 0:de[0])||void 0===ae?void 0:ae.hardwareGift)||void 0===se?void 0:se[0])||void 0===ce?void 0:ce.ids)||void 0===ue?void 0:ue.length)?null===(ge=null===(he=null===(ve=null===(_e=null===(me=null===(pe=null==e?void 0:e[0])||void 0===pe?void 0:pe.promotionInfo)||void 0===me?void 0:me[0])||void 0===_e?void 0:_e.hardwareGift)||void 0===ve?void 0:ve[0])||void 0===he?void 0:he.ids)||void 0===ge?void 0:ge[0]:"";n&&(null===(fe=Se.cartItem[0].items)||void 0===fe||fe.push({itemType:"GIFT",id:n})),d&&(null==d?void 0:d.length)>0&&(null==d||d.map((e=>{var n,o,t;"HOME"!==(null==e?void 0:e.parentPoType)&&(null===(t=null===(o=null===(n=null==Se?void 0:Se.cartItem)||void 0===n?void 0:n[0])||void 0===o?void 0:o.items)||void 0===t||t.push({itemType:"GIFT",id:null==e?void 0:e.tuaProdId}))})))}if(c){const e=[];e.push({author:"voucherType",text:"QoQa"}),""!==p&&(e.push({author:"voucherCode",text:p}),He("vctype")),Se.cartItem[0].note=e}else if(v&&h){const e=[];null==e||e.push({author:"offerType",text:"ATL"}),null==e||e.push({author:"externalPromotionName",text:v}),null==e||e.push({author:"offerVersion",text:h}),Se.cartItem[0].note=e}if(m){const e=(e=>{var n,o,t,i,l,r,d,a,s,c,u,p,m,_,v,h;let g=[];const f=null!==(i=null===(t=null===(o=null===(n=null==e?void 0:e.selectedVarientDetails)||void 0===n?void 0:n.hardwarePrices)||void 0===o?void 0:o.smartUpgradeInstallments)||void 0===t?void 0:t.duration)&&void 0!==i?i:0,x=null!==(s=null===(a=null===(d=null===(r=null===(l=null==e?void 0:e.selectedVarientDetails)||void 0===l?void 0:l.hardwarePrices)||void 0===r?void 0:r.smartUpgradeInstallments)||void 0===d?void 0:d.upFrontPayment)||void 0===a?void 0:a.value)&&void 0!==s?s:0,b=null!==(_=null===(m=null===(p=null===(u=null===(c=null==e?void 0:e.selectedVarientDetails)||void 0===c?void 0:c.hardwarePrices)||void 0===u?void 0:u.smartUpgradeInstallments)||void 0===p?void 0:p.insurance)||void 0===m?void 0:m.value)&&void 0!==_?_:0,y={itemType:G,id:null!==(h=null===(v=null==e?void 0:e.selectedVarientDetails)||void 0===v?void 0:v.id)&&void 0!==h?h:"",contractTerm:f,note:Jo(e,x)};if(y&&(null==g||g.push(y)),b){const n={itemType:"DEVICE_INSURANCE",id:null==e?void 0:e.insuranceName};null==g||g.push(n)}return(null==g?void 0:g.length)>0?g:null})(m);e&&(null===(ye=null===(be=null===(xe=null==Se?void 0:Se.cartItem)||void 0===xe?void 0:xe[0])||void 0===be?void 0:be.items)||void 0===ye||ye.push(...e))}const Ce={headers:{"x-correlation-id":o.v4(),"x-sunrise-channel":P.X_SUN_CHAL}},ke=l+P.CREATE_CARTV3;if((null===(we=Object.keys(Se))||void 0===we?void 0:we.length)>0){const e=yield n.ApiServiceV2.getApiServiceInstance().post(ke,Se,Ce).then((e=>{if(He("isB2BCustomer"),200==e.status)return null==e?void 0:e.data})).catch((e=>{var n,o,t;((null===(o=null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.data)||void 0===o?void 0:o.code)||504===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status))&&Jn(null==e?void 0:e.response)}));if(e.error)throw e.error;return e}})),ot=(e,t,i,l,r,d,a,s,c)=>I(void 0,void 0,void 0,(function*(){let u;localStorage.removeItem("entertainment"),u={headers:{"x-correlation-id":o.v4(),"x-sunrise-channel":P.X_SUN_CHAL}},d&&(u.params={returnPromo:!0}),a&&(u.params={journey:"P2P"}),c&&(u.params=Object.assign(Object.assign({},u.params),{journey:"FPB"}));let p=i+P.LINE_TABLEV2;s&&localStorage.getItem("prospectId")&&(u.headers["x-sunrise-prospect-id"]=localStorage.getItem("prospectId"),p=i+P.LINE_TABLEV3);const m=l?r?p+P.SUBSCRIPTION+r:p:p,_=yield n.ApiServiceV2.getApiServiceInstance().post(m,e,u).then((e=>{if(200==e.status)return null==e?void 0:e.data})).catch((e=>{var n,o,t;((null===(o=null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.data)||void 0===o?void 0:o.code)||504===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status))&&Jn(null==e?void 0:e.response)}));return _.error?_.error:{[t]:_}})),tt=(e,t)=>I(void 0,void 0,void 0,(function*(){let i;i={params:{},headers:{"x-correlation-id":o.v4(),"x-sunrise-channel":P.X_SUN_CHAL}},i.params={category:e};const l=t,r=yield n.ApiServiceV2.getApiServiceInstance().get(l,i).then((e=>200==e.status?null==e?void 0:e.data:null==e?void 0:e.status)).catch((e=>{var n,o,t;((null===(o=null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.data)||void 0===o?void 0:o.code)||504===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status))&&Jn(null==e?void 0:e.response)}));return(null==r?void 0:r.error)?null==r?void 0:r.error:{subscriptionData:r}})),it=(e,t)=>I(void 0,void 0,void 0,(function*(){var i;try{const l={headers:{"x-correlation-id":o.v4(),"x-sunrise-channel":P.X_SUN_CHAL},params:{offerIds:e,voucherCode:t}},r=(null===(i=null==C?void 0:C.getInstance())||void 0===i?void 0:i.getBaseUrl())+`${P.VOUCHER_PROMOTIONS}`;yield n.ApiServiceV2.getApiServiceInstance().get(r,l).then((e=>{if(200==e.status)return null==e?void 0:e.data}))}catch(e){}})),lt=(e,t={},i)=>I(void 0,void 0,void 0,(function*(){let l;l={headers:{"x-correlation-id":o.v4(),"x-sunrise-channel":Qo.X_SUN_CHAL,"x-sunrise-prospect-id":i}};let r=e+(null==P?void 0:P.CUSTOMER_EVENTS);yield n.ApiServiceV2.getApiServiceInstance().post(r,t,l).then((e=>{if(200==e.status)return console.log("trackPegaEvents result.data",e.data),null==e?void 0:e.data})).catch((e=>{var n,o,t;((null===(o=null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.data)||void 0===o?void 0:o.code)||504===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status))&&Jn(null==e?void 0:e.response)}))})),rt=({linkText:o,product:t,metadata:i,modalTriggered:l,reuseableLineTable:r})=>{var d,u,p,m;const[_,v]=e.useState(!1),[h,g]=e.useState([]),[f,x]=e.useState(!0),[b,y]=e.useState(),[w,S]=e.useState([]),k=(null===(u=null===(d=null==t?void 0:t.testProductReference)||void 0===d?void 0:d[0])||void 0===u?void 0:u.reference)?null===(m=null===(p=null==t?void 0:t.testProductReference)||void 0===p?void 0:p[0])||void 0===m?void 0:m.reference:null==t?void 0:t.reference;let E;e.useEffect((()=>{h&&h.length>0&&h.map((e=>{var n;null===(n=null==e?void 0:e.content)||void 0===n||n.body.map((e=>{"countryListComponent"==(null==e?void 0:e.component)&&S(null==e?void 0:e.countryValues)}))}))}),[h]),e.useEffect((()=>{(null==w?void 0:w.length)>0&&(E=w.length,y(Math.ceil(E/3)))}),[w]);return e.createElement(e.Fragment,null,e.createElement(Ho,{modalState:_,handler:()=>{v(!1),"function"==typeof l&&l()},overlay:h},f&&e.createElement(Yo,{keyParams:"loading"}),!f&&e.createElement(e.Fragment,null,e.createElement(a,{className:"linetable-countryOverlay-desktopView"},e.createElement("div",null,e.createElement(s,{className:"linetable-countryOverlay-utils-noWrap"},e.createElement(c,{className:"linetable-countryOverlay-utils-colWidth"},e.createElement(s,null,w.slice(0,b).map(((n,o)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:o},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name)))))),e.createElement(c,{className:"linetable-countryOverlay-utils-colWidth"},e.createElement(s,null,w.slice(b,2*b).map(((n,o)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:o},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name)))))),e.createElement(c,{className:"linetable-countryOverlay-utils-colWidth"},e.createElement(s,null,w.slice(2*b,3*b).map(((n,o)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:o},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name))))))))),e.createElement(a,{className:"linetable-countryOverlay-mobView"},e.createElement(s,null,e.createElement(c,null,e.createElement(s,null,w.map(((n,o)=>e.createElement("div",{className:"linetable-countryOverlay-contain",key:n.name?n.name:o},e.createElement("div",null,e.createElement("img",{src:n.icon.filename,alt:"",className:"linetable-countryOverlay-image"})),e.createElement("div",{className:"linetable-countryOverlay-name"},n.name)))))))))),e.createElement("span",{onClick:()=>{var e,o,t,d,a,s,c,u,p,m,h;v(!_),"function"==typeof l&&l();const f=(null===(d=null===(t=null===(o=null===(e=null==k?void 0:k.content)||void 0===e?void 0:e.body)||void 0===o?void 0:o[0])||void 0===t?void 0:t.countryList)||void 0===d?void 0:d.cached_url)?null===(p=null===(u=null===(c=null===(s=null===(a=null==k?void 0:k.content)||void 0===a?void 0:a.body)||void 0===s?void 0:s[0])||void 0===c?void 0:c.countryList)||void 0===u?void 0:u.cached_url)||void 0===p?void 0:p.replace(null==i?void 0:i.lang,""):null==k?void 0:k.replace(null==i?void 0:i.lang,""),b=null==f?void 0:f.replace("//",""),y=`${r?null===(m=null==C?void 0:C.getInstance())||void 0===m?void 0:m.getSBUrl():null===(h=null==C?void 0:C.getInstance())||void 0===h?void 0:h.getBaseUrl()}rest/cms/stories/?by_slugs=${b}`;((e,o,t,i)=>I(void 0,void 0,void 0,(function*(){var l;const r=We(`${e}_${o}_countryData`);if(r)return r;try{const r={language:o,type:"B2C"},d=null===(l=(yield n.CMSStoryblokServiceV2.get(t,r)).data)||void 0===l?void 0:l.stories;return d&&d.length>0&&$e(`${e}_${o}_countryData`,d,i),d}catch(e){return console.error(e),e}})))(null==k?void 0:k.name,null==i?void 0:i.lang,y,864e5).then((e=>{e&&e.length>0&&g(e),x(!1)}))},className:`linetable-countryOverlay-linkTextNew display-5 ${r&&"reusbablelnetable-margin"}`},o))};S(".linetable-CardEntitlement-mobileProductEntitlement {\r\n margin: 0;\r\n padding: 0 16px 0 16px;\r\n}\r\n.linetable-CardEntitlement-entitlementValue {\r\n display: flex;\r\n margin-bottom: 4px;\r\n align-items: center;\r\n font-size: 16px;\r\n}\r\n.linetable-CardEntitlement-entitlementIcon {\r\n align-self: flex-start;\r\n margin-right: 8px;\r\n}\r\n\r\n.linetable-CardEntitlement-entitlementIcon img {\r\n vertical-align: sub;\r\n}\r\n.linetable-CardEntitlement-animationTitle {\r\n font-size: 16px;\r\n line-height: 24px;\r\n color: #3d3935;\r\n font-weight: 700;\r\n margin-bottom: auto;\r\n}\r\n.linetable-CardEntitlement-entitlementContent {\r\n display: inline-flex;\r\n margin-bottom: 16px;\r\n}\r\n.linetable-CardEntitlement-entitlementDescription {\r\n color: #3d3935;\r\n margin-left: 32px;\r\n margin-bottom: 4px;\r\n font-size: 16px;\r\n font-weight: 500;\r\n width: calc(100% - 32px);\r\n}\r\n");const dt=e.createContext({indexKey:0,listLength:0,arrowUpIcon:"",arrowDownIcon:"",arrowLeftRed:""}),at=({content:n,product:o,indexKey:t,showEntitleValue:i,metadata:l,modalTriggered:r})=>{var d,a,s,c;const u=e.useRef(null),p=e.useContext(dt),m=()=>{je(`linetable-CardEntitlement-entitlementSection${p.indexKey}`,p.listLength)};return e.useEffect((()=>{setTimeout((()=>{(null==u?void 0:u.current)&&m()}),200),window.addEventListener("resize",m)}),[n]),e.createElement("div",{className:"linetable-CardEntitlement-mobileProductEntitlement",id:`linetable-CardEntitlement-entitlementSection${t}${p.indexKey}`,ref:u},e.createElement("div",{className:"row linetable-CardEntitlement-entitlementContent"},e.createElement("div",{className:"linetable-CardEntitlement-entitlementValue "},e.createElement(e.Fragment,null,(null==n?void 0:n.isblacktheme)?e.createElement(e.Fragment,null,(null===(d=null==n?void 0:n.blackFridayentitlementIcon)||void 0===d?void 0:d.filename)&&e.createElement("div",{className:"linetable-CardEntitlement-entitlementIcon"},e.createElement("img",{src:null===(a=null==n?void 0:n.blackFridayentitlementIcon)||void 0===a?void 0:a.filename,width:20,height:20,alt:"blackFridayentitlementIcon"}))):e.createElement(e.Fragment,null,(null===(s=null==n?void 0:n.entitlementIcon)||void 0===s?void 0:s.filename)&&e.createElement("div",{className:"linetable-CardEntitlement-entitlementIcon"},e.createElement("img",{src:null===(c=null==n?void 0:n.entitlementIcon)||void 0===c?void 0:c.filename,width:20,height:20,alt:"entitlementIcon"}))),e.createElement("span",{className:"linetable-CardEntitlement-animationTitle entitlementDisplay"},null==n?void 0:n.entitlementName))),e.createElement("div",{className:"d-block"},n.entitlementDescription&&i&&e.createElement("div",{className:"linetable-CardEntitlement-entitlementDescription"},null==n?void 0:n.entitlementDescription),(null==n?void 0:n.linkText)&&e.createElement(rt,{product:o,linkText:null==n?void 0:n.linkText,metadata:l,modalTriggered:r,reuseableLineTable:!1}))))};S(".linetable-card-linetable-card-flexGrid {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.linetable-card-productContainer {\r\n background-color: #fff;\r\n padding: 24px 0 16px;\r\n text-align: left;\r\n height: 100%;\r\n border-radius: 8px;\r\n}\r\n.linetable-card-productContainer hr {\r\n margin: 16px;\r\n}\r\n.linetable-card-introText {\r\n padding-left: 16px;\r\n padding-right: 16px;\r\n font-size: 16px;\r\n line-height: 24px;\r\n font-weight: 500;\r\n color: #587467;\r\n}\r\n.linetable-card-productTeaser {\r\n background-color: #fff;\r\n border-radius: 8px;\r\n height: 100%;\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n box-shadow: 0px 4px 12px 0px #57545233;\r\n}\r\n.linetable-card-prodHeading {\r\n font-size: 14px;\r\n line-height: 20px;\r\n color: #606060;\r\n font-weight: bold;\r\n margin-bottom: 4px;\r\n}\r\n.linetable-card-titleContainer {\r\n padding-left: 16px;\r\n padding-right: 16px;\r\n}\r\n.linetable-card-productTitle {\r\n color: #1e1e1e;\r\n font-weight: bold;\r\n margin-bottom: 4px;\r\n display: flex;\r\n align-items: baseline;\r\n justify-content: space-between;\r\n}\r\n.linetable-card-productTitle > h1,\r\n.linetable-card-productTitle > h2,\r\n.linetable-card-productTitle > h3,\r\n.linetable-card-productTitle > h4,\r\n.linetable-card-productTitle > h5,\r\n.linetable-card-productTitle > h6 {\r\n color: #1e1e1e !important;\r\n}\r\n.linetable-card-productTitle > h3 {\r\n font-size: 24px;\r\n line-height: 32px;\r\n}\r\n.linetable-card-productTitle > h2 {\r\n margin-right: 8px;\r\n}\r\n.linetable-card-prodDescription {\r\n font-size: 16px;\r\n line-height: 24px;\r\n color: #333333;\r\n display: flex;\r\n font-weight: 400;\r\n}\r\n\r\n@media (max-width: 767px) {\r\n .linetable-card-productTitle {\r\n height: auto;\r\n }\r\n}\r\n\r\n.linetable-card-productDetailSection{\r\n margin: 0 16px;\r\n}\r\n.linetable-card-productDetailSection img {\r\n vertical-align: bottom;\r\n margin-right: 8px;\r\n}\r\n.linetable-card-bottomConatiner {\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: end;\r\n}");const st=({modalState:n,handler:o,showFooter:i,footerNode:l,children:r,width:d,height:a,noCloseButton:s,backButton:c})=>{const u=e.useContext(dt);return e.useEffect((()=>{const e=document.querySelector(".linetable-product-modal .footer-main");e&&(e.style.zIndex="10");const n=document&&document.querySelector(".modal-dialog.linetable-product-modal");n&&(n.style.maxWidth=d,n.style.padding="0",n.style.transform="none");const o=document.querySelector(".linetable-product-modal .modal-content");o&&(o.style.height=a,o.style.backgroundColor="#F7F6F5");const t=document.querySelector(".linetable-product-modal .modal-header");t&&(t.style.position="absolute",t.style.top="0",t.style.zIndex="1",t.style.maxWidth="100%",t.style.background="#f8f8f8",t.style.width="100%");const i=document.querySelector(".linetable-product-modal .modal-body");i&&(i.style.background="#f8f8f8",i.style.paddingTop="70px")}),[a]),e.createElement(t.Modal,{scrollable:!1,show:n,onHide:o,keyboard:!1,dialogClassName:"linetable-product-modal"},e.createElement(t.Modal.Header,null,c&&e.createElement("div",{style:{justifyContent:"start",cursor:"pointer"},onClick:o},e.createElement(e.Fragment,null,(null==u?void 0:u.arrowLeftRed)&&e.createElement("img",{src:null==u?void 0:u.arrowLeftRed,width:24,height:24,alt:"arrowLeft"}),e.createElement("span",{style:{color:"#DA291C"}}," ",c))),e.createElement("div",{style:{display:s?"none":"",justifyContent:"end"}},e.createElement(t.CloseButton,{className:"sr-modal-close",onClick:o}))),e.createElement(t.Modal.Body,null,r),i&&e.createElement(t.Modal.Footer,null,l))};S(".linetable-sr-def-row {\r\n margin-left: auto;\r\n margin-right: auto;\r\n padding-left: 16px;\r\n padding-right: 16px;\r\n max-width: 1308px;\r\n width: 100%;\r\n}\r\n\r\n.resusable-linetable {\r\n padding-left: 0;\r\n padding-right: 0;\r\n}\r\n\r\n@media (min-width: 1024px) and (max-width: 1439px) {\r\n .linetable-sr-def-row {\r\n max-width: 972px;\r\n }\r\n}\r\n\r\n@media (min-width: 768px) and (max-width: 1023px) {\r\n .linetable-sr-def-row {\r\n max-width: 720px;\r\n }\r\n}\r\n\r\n@media (max-width: 767px) {\r\n .linetable-sr-def-row {\r\n max-width: 972px;\r\n }\r\n}\r\n\r\n.linetable-sr-def-row .linetable-sr-def-row {\r\n padding: 0px;\r\n max-width: 100%;\r\n}");const ct=({children:n,resuablelineTable:o})=>e.createElement("div",{className:`linetable-sr-def-row linetable-sr-responsive-row\n ${o&&"resusable-linetable"}\n `},n);S(".linetable-falconAccordion-section {\r\n text-align: center;\r\n}\r\n\r\n.linetable-falconAccordion-description {\r\n color: #3d3935;\r\n padding-bottom: 32px;\r\n text-align: center;\r\n}\r\n\r\n.linetable-falconAccordion-description p a {\r\n color: #da291c;\r\n}\r\n\r\n.linetable-falconAccordion-container {\r\n box-shadow: 0 2px 4px rgba(87, 84, 82, 0.2);\r\n border-radius: 8px;\r\n overflow: hidden;\r\n padding: 0;\r\n}\r\n\r\n.linetable-falconAccordion-current-item {\r\n overflow: hidden;\r\n}\r\n\r\n.linetable-falconAccordion-current-item:first-child {\r\n border-radius: 8px 8px 0 0;\r\n overflow: hidden;\r\n}\r\n\r\n.linetable-falconAccordion-current-item:last-child {\r\n border-bottom: none;\r\n border-radius: 0 0 8px 8px;\r\n overflow: hidden;\r\n}\r\n\r\n.linetable-falconAccordion-item:hover {\r\n background-color: #f7f6f5;\r\n}\r\n\r\n.linetable-falconAccordion-wrapper {\r\n margin-left: 32px;\r\n margin-right: 32px;\r\n border-bottom: 1px solid #e6e3df;\r\n}\r\n\r\n.linetable-falconAccordion-title {\r\n color: #3d3935;\r\n font-style: normal;\r\n font-weight: bold;\r\n font-size: 16px;\r\n line-height: 24px;\r\n margin-right: 28px;\r\n min-height: 24px;\r\n}\r\n\r\n.prod-card .accordion-flush .linetable-falconAccordion-item .accordion-button {\r\n padding: 24px 0;\r\n}\r\n\r\n.prod-card .accordion-body {\r\n padding: 8px 0 32px 0;\r\n color: #3d3935;\r\n text-align: left;\r\n font-size: 16px;\r\n line-height: 24px;\r\n}\r\n\r\n.prod-card .accordion-button::after {\r\n position: absolute;\r\n top: 24px;\r\n right: 0;\r\n background-image: url('/ecom-int/icons/falcon-arrow-down.svg') !important;\r\n background-size: 24px 24px !important;\r\n background-size: unset;\r\n}\r\n\r\n.prod-card .accordion-button:not(.collapsed)::after {\r\n background-image: url('/ecom-int/icons/falcon-arrow-up.svg') !important;\r\n}\r\n\r\n.linetable-falconAccordion-disabled {\r\n opacity: 0.8;\r\n pointer-events: none;\r\n background-color: #e6e3df;\r\n}\r\n\r\n/* for mobile view */\r\n@media (max-width: 767px) {\r\n .prod-card .description {\r\n padding-bottom: 24px;\r\n }\r\n\r\n .linetable-falconAccordion-item:hover {\r\n background-color: none;\r\n }\r\n\r\n .linetable-falconAccordion-wrapper {\r\n margin-left: 16px;\r\n margin-right: 16px;\r\n }\r\n\r\n .prod-card .accordion-flush .linetable-falconAccordion-item .accordion-button {\r\n padding: 16px 0;\r\n }\r\n\r\n .prod-card .accordion-body {\r\n padding-bottom: 24px;\r\n }\r\n\r\n .prod-card .accordion-button::after {\r\n top: 16px;\r\n }\r\n}\r\n\r\n/* For tablet view */\r\n@media (max-width: 1023px) {\r\n .linetable-falconAccordion-wrapper {\r\n margin-left: 24px;\r\n margin-right: 24px;\r\n }\r\n}");const ut=({content:n})=>{const o=null==n?void 0:n._uid;return e.createElement("div",{className:"prod-card"},e.createElement(t.Accordion,{flush:!0,defaultActiveKey:(null==n?void 0:n.alwaysOpen)?o:""},e.createElement(t.Accordion.Item,{eventKey:o,className:`${(null==n?void 0:n.disabled)&&"linetable-falconAccordion-disabled"} linetable-falconAccordion-item`},e.createElement("div",{className:"linetable-falconAccordion-wrapper"},e.createElement(t.Accordion.Header,null,e.createElement("span",{className:"linetable-falconAccordion-title"},null==n?void 0:n.title)),e.createElement(t.Accordion.Body,null,(null==n?void 0:n.bodyText)&&e.createElement(en,{content:null==n?void 0:n.bodyText}))))))},pt=({content:n})=>{var o,t,i,l,r,d,a;return e.createElement("section",{className:"linetable-falconAccordion-section"},e.createElement(ct,null,e.createElement(e.Fragment,null,(null==n?void 0:n.title)&&(null===(o=null==n?void 0:n.title)||void 0===o?void 0:o.length)>0&&e.createElement($o,{content:null===(t=null==n?void 0:n.title)||void 0===t?void 0:t[0]}),(null==n?void 0:n.description)&&(null===(i=null==n?void 0:n.description)||void 0===i?void 0:i.length)>0&&e.createElement("div",{className:"linetable-falconAccordion-description"},e.createElement(Wo,{content:null===(l=null==n?void 0:n.description)||void 0===l?void 0:l[0]})),(null==n?void 0:n.accordions)&&(null===(r=null==n?void 0:n.accordions)||void 0===r?void 0:r.length)>0&&(null===(d=null==n?void 0:n.accordions[0])||void 0===d?void 0:d.title)&&e.createElement("div",{className:"linetable-falconAccordion-container"},null===(a=null==n?void 0:n.accordions)||void 0===a?void 0:a.map((n=>e.createElement("div",{tabIndex:0,key:null==n?void 0:n._uid,className:"linetable-falconAccordion-current-item"},e.createElement(ut,{content:Object.assign({},n)}))))))))},mt=({content:n})=>{const o=(e=>{switch(e){case"grey-100":return"falcon-background-grey-100";case"ice-white":return"falcon-background-ice-white";case"transparent":return"falcon-background-transparent";default:return""}})(null==n?void 0:n.backgroundColor),t=Ue(null==n?void 0:n.gradientBackground),i=(null==n?void 0:n.gradientBackground)===B?o:t;return e.createElement("div",null,n.height?e.createElement("div",{className:`d-none d-sm-block ${i}`,style:{height:`${n.height}px`}}):e.createElement("div",{className:`d-none d-sm-block ${i}`,style:{height:`${n.desktopHeight}px`}}),e.createElement("div",{className:`d-block d-sm-none ${i} `,style:{height:`${n.mobHeight}px`}}))};S(".linetable-productDetailsText {\r\n color: #da291c;\r\n text-decoration: underline;\r\n cursor: pointer;\r\n}");S('.linetable-staticPrice-priceWrapper {\r\n\tborder-radius: 8px;\r\n\tborder: 1px solid #E6E3DF;\r\n\tmargin: 16px 16px 0 16px;\r\n\tpadding: 8px 16px;\r\n\tfont-size: 14px;\r\n\tfont-weight: 400;\r\n\tline-height: 20px;\r\n}\r\n\r\n.linetable-staticPrice-discountPriceSection {\r\n\tcolor: #2E6199;\r\n\tmargin-right: 8px;\r\n}\r\n\r\n.linetable-staticPrice-discountedPrice {\r\n\tfont-size: 32px;\r\n\tfont-weight: 700;\r\n\tline-height: 40px;\r\n}\r\n\r\n.linetable-staticPrice-basePrice {\r\n\tfont-size: 20px;\r\n\tfont-weight: 700;\r\n\tline-height: 28px;\r\n\tposition: relative;\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.linetable-staticPrice-priceStrikeout::after {\r\n\tcontent: "";\r\n\tposition: absolute;\r\n\tright: -1px;\r\n\tleft: -2px;\r\n\ttop: 50%;\r\n\twidth: 100%;\r\n\tborder-bottom: 2px solid #da291c;\r\n\ttransform: rotate(-18.22deg);\r\n}\r\n\r\n.linetable-staticPrice-noDiscountPrice {\r\n\tfont-size: 32px;\r\n\tfont-weight: 700;\r\n\tline-height: 40px;\r\n}\r\n\r\n.linetable-staticPrice-contractDescription {\r\n\tmargin-top: 6px;\r\n}\r\n\r\n.linetable-staticPrice-addToCart {\r\n\tmargin-top: 8px;\r\n\twidth: 100%;\r\n\tpadding: 10px 24px;\r\n\tborder-radius: 25px;\r\n\tbackground: #DA291C;\r\n\tcolor: #FFFFFF;\r\n\tfont-size: 16px;\r\n\tfont-weight: 700;\r\n\tline-height: 24px;\r\n\tborder: 0px;\r\n}\r\n\r\n.linetable-staticPrice-productDetails-priceWrapper {\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n}\r\n\r\n@media (min-width: 425px) {\r\n\t.linetable-staticPrice-productDetails-addToCart {\r\n\t\tmin-width: 120px;\r\n\t}\r\n}');const _t=({content:n,addToCart:o,variant:t})=>{const i=e.useContext(dt),l=()=>{je("linetable-staticPrice-priceSection",i.listLength)};e.useEffect((()=>{setTimeout((()=>{l()}),200),window.addEventListener("resize",l)}),[n]);return e.createElement("div",{className:`linetable-staticPrice-priceWrapper ${"productDetails"===t&&"linetable-staticPrice-productDetails-priceWrapper"}`},e.createElement("div",{id:`linetable-staticPrice-priceSection${null==i?void 0:i.indexKey}`},e.createElement("div",{className:"linetable-staticPrice-priceSection"},(null==n?void 0:n.isEnableDiscountPrice)&&e.createElement("span",{className:"linetable-staticPrice-discountPriceSection"},e.createElement("span",{className:"linetable-staticPrice-discountedPrice"},null==n?void 0:n.discountPriceValue),null==n?void 0:n.priceDuration),e.createElement("span",null,e.createElement("span",{className:"linetable-staticPrice-basePrice "+((null==n?void 0:n.isEnableDiscountPrice)?"linetable-staticPrice-priceStrikeout":"linetable-staticPrice-noDiscountPrice")},ze(null==n?void 0:n.priceValue)),!(null==n?void 0:n.isEnableDiscountPrice)&&e.createElement(e.Fragment,null,null==n?void 0:n.priceDuration))),e.createElement("div",{className:"linetable-staticPrice-contractDescription"},null==n?void 0:n.contractDescription)),e.createElement("div",null,e.createElement("button",{className:`linetable-staticPrice-addToCart ${"productDetails"===t&&"linetable-staticPrice-productDetails-addToCart"}`,onClick:()=>{"function"==typeof o&&o(n)}},null==n?void 0:n.addButton)))},vt=({content:n,updatedContent:o,modalTriggered:t,addToCart:i})=>{var l;const[r,d]=e.useState(!1),a=null==n?void 0:n.subscriptionDetailModal;let s=[],c="";a&&(null==a?void 0:a.length)>0&&(null==a||a.map((e=>{s=null==e?void 0:e.modalBody,null==e||e.productPriceVariant,c=null==e?void 0:e.backButton,null==e||e.priceChangeContent})));const u=()=>{d(!r),"function"==typeof t&&t()};return e.createElement(e.Fragment,null,r&&e.createElement(st,{modalState:r,handler:u,showFooter:!1,height:"100%",width:"883px",backButton:c},e.createElement(e.Fragment,null,null==s?void 0:s.map(((n,o)=>e.createElement(ct,null,e.createElement(e.Fragment,null,(null==n?void 0:n.component)===V&&e.createElement(Wo,{content:n,key:o}),(null==n?void 0:n.component)===R&&e.createElement(mt,{content:n}),(null==n?void 0:n.component)===M&&e.createElement(pt,{content:n}))))),(null==n?void 0:n.isEnablePrice)&&e.createElement(_t,{content:n,addToCart:i,variant:"productDetails"}))),e.createElement("span",{onClick:u,className:"linetable-productDetailsText"},null!==(l=null==o?void 0:o.subscription)&&void 0!==l?l:null==o?void 0:o.subscriptionText))},ht=({content:n,showPrice:o,addToCart:t})=>{var i,l,r,d,a;const s=null!==(i=null==o?void 0:o.base)&&void 0!==i?i:0;let c=null!==(d=null===(r=null===(l=null==o?void 0:o.discount)||void 0===l?void 0:l[0])||void 0===r?void 0:r.value)&&void 0!==d?d:0;null===(a=null==o?void 0:o.discount)||void 0===a||a.map((e=>{1==(null==e?void 0:e.cycleStart)&&(c=null==e?void 0:e.value)}));const u=null==o?void 0:o.contractDuration;return e.createElement("div",{className:"linetable-staticPrice-priceWrapper"},(null==o?void 0:o.base)?e.createElement(e.Fragment,null,c>0&&e.createElement("span",{className:"linetable-staticPrice-discountPriceSection"},e.createElement("span",{className:"linetable-staticPrice-discountedPrice"},ze(c)),null==n?void 0:n.priceDuration),e.createElement("span",null,e.createElement("span",{className:"linetable-staticPrice-basePrice "+(c>0?"linetable-staticPrice-priceStrikeout":"linetable-staticPrice-noDiscountPrice")},ze(s)),0===c&&(null==n?void 0:n.priceDuration)),e.createElement("div",{className:"linetable-staticPrice-contractDescription"},u&&0!==u?e.createElement("div",null):e.createElement("div",null,null==n?void 0:n.contractDescription))):"",e.createElement("div",null,e.createElement("button",{className:"linetable-staticPrice-addToCart",onClick:t},null==n?void 0:n.addButton)))},gt=({content:n,updatedContent:o,indexKey:t,listLength:i,addToCart:l,metadata:r,modalTriggered:d,showPrice:a})=>{var s,c,u,p,m,_,v,h,g,f,x,b,y,w,S,C,k,E,P,T,O,N,L,D,I,A,B,V,M,R,F,j,U,z,$,W,H,Y,G,q,K,J,X,Q,Z,ee,ne,oe,te,ie,le,re,de,ae,se;const ce=Object.assign({},null!==(u=null===(c=null===(s=null==n?void 0:n.testProductReference)||void 0===s?void 0:s[0])||void 0===c?void 0:c.reference)&&void 0!==u?u:null==n?void 0:n.reference),ue={listLength:i,indexKey:t,arrowUpIcon:null===(v=null===(_=null===(m=null===(p=null==ce?void 0:ce.content)||void 0===p?void 0:p.body)||void 0===m?void 0:m[0])||void 0===_?void 0:_.arrowUp)||void 0===v?void 0:v.filename,arrowDownIcon:null===(x=null===(f=null===(g=null===(h=null==ce?void 0:ce.content)||void 0===h?void 0:h.body)||void 0===g?void 0:g[0])||void 0===f?void 0:f.arrowDown)||void 0===x?void 0:x.filename,arrowLeftRed:null===(S=null===(w=null===(y=null===(b=null==ce?void 0:ce.content)||void 0===b?void 0:b.body)||void 0===y?void 0:y[0])||void 0===w?void 0:w.arrowLeftRed)||void 0===S?void 0:S.filename},pe=null!==(C=null==o?void 0:o.enableNewAddToCart)&&void 0!==C&&C,me=e.useRef(null),_e=e.useRef(null),ve=e.useMemo((()=>ue),[ue]),he=()=>{je("linetable-card-title",i),je("linetable-card-tooltiptxt",i),je("linetable-card-bottomConatiner",i)};return e.useEffect((()=>{setTimeout((()=>{he()}),100),null===window||void 0===window||window.addEventListener("resize",he)}),[n]),e.createElement(dt.Provider,{value:ve},e.createElement("div",{className:"linetable-card-productTeaser"},e.createElement("div",{className:"linetable-card-productContainer "},ce.content&&e.createElement(e.Fragment,null,e.createElement("div",{className:"linetable-card-titleContainer",id:`linetable-card-title${t}`,ref:me},e.createElement("div",{className:"linetable-card-prodHeading"},null===(E=null===(k=null==ce?void 0:ce.content)||void 0===k?void 0:k.body[0])||void 0===E?void 0:E.name),e.createElement("div",{className:"linetable-card-productTitle"},e.createElement("h3",null,null===(T=null===(P=null==ce?void 0:ce.content)||void 0===P?void 0:P.body[0])||void 0===T?void 0:T.displayName),(null===(L=null===(N=null===(O=null==ce?void 0:ce.content)||void 0===O?void 0:O.body[0])||void 0===N?void 0:N.prodImage)||void 0===L?void 0:L.filename)&&e.createElement("img",{src:null===(A=null===(I=null===(D=null==ce?void 0:ce.content)||void 0===D?void 0:D.body[0])||void 0===I?void 0:I.prodImage)||void 0===A?void 0:A.filename,height:15,width:20,alt:"card"})),e.createElement("div",{className:"linetable-card-prodDescription"},e.createElement(en,{content:null===(V=null===(B=null==ce?void 0:ce.content)||void 0===B?void 0:B.body[0])||void 0===V?void 0:V.description}))),!(null==o?void 0:o.isPrepaidFlow)&&e.createElement("hr",null)),(null==ce?void 0:ce.content)&&(null===(R=null===(M=null==ce?void 0:ce.content)||void 0===M?void 0:M.body[0])||void 0===R?void 0:R.introText)&&e.createElement(e.Fragment,null,e.createElement("div",{className:""+(pe?"d-block":"d-none d-sm-block")},e.createElement("div",{className:"linetable-card-introText",id:`linetable-card-tooltiptxt${t}`,ref:_e},e.createElement(en,{content:null===(j=null===(F=null==ce?void 0:ce.content)||void 0===F?void 0:F.body[0])||void 0===j?void 0:j.introText})),e.createElement("hr",null))),null===($=(null===(z=null===(U=null==ce?void 0:ce.content)||void 0===U?void 0:U.body[0])||void 0===z?void 0:z.entitlementConfig)||[])||void 0===$?void 0:$.map(((o,t)=>e.createElement(at,{content:o,product:n,key:t,indexKey:t,showEntitleValue:pe,metadata:r,modalTriggered:d}))),e.createElement("hr",null),e.createElement("div",{id:`linetable-card-bottomConatiner${t}`,className:"linetable-card-bottomConatiner"},e.createElement("div",{className:"linetable-card-productDetailSection"},(null===(G=null===(Y=null===(H=null===(W=null==ce?void 0:ce.content)||void 0===W?void 0:W.body)||void 0===H?void 0:H[0])||void 0===Y?void 0:Y.productDetailIcon)||void 0===G?void 0:G.filename)&&e.createElement("img",{src:null===(X=null===(J=null===(K=null===(q=null==ce?void 0:ce.content)||void 0===q?void 0:q.body)||void 0===K?void 0:K[0])||void 0===J?void 0:J.productDetailIcon)||void 0===X?void 0:X.filename,width:24,height:24,alt:"productDetailIcon"}),e.createElement(vt,{content:null===(Z=null===(Q=null==ce?void 0:ce.content)||void 0===Q?void 0:Q.body)||void 0===Z?void 0:Z[0],updatedContent:o,modalTriggered:d,addToCart:l})),e.createElement("div",null,(null===(oe=null===(ne=null===(ee=null==ce?void 0:ce.content)||void 0===ee?void 0:ee.body)||void 0===ne?void 0:ne[0])||void 0===oe?void 0:oe.isEnablePrice)&&e.createElement(_t,{content:null===(ie=null===(te=null==ce?void 0:ce.content)||void 0===te?void 0:te.body)||void 0===ie?void 0:ie[0],addToCart:l,variant:"productCard"})),e.createElement("div",null,!(null===(de=null===(re=null===(le=null==ce?void 0:ce.content)||void 0===le?void 0:le.body)||void 0===re?void 0:re[0])||void 0===de?void 0:de.isEnablePrice)&&!(null==o?void 0:o.staticPrice)&&e.createElement(ht,{content:null===(se=null===(ae=null==ce?void 0:ce.content)||void 0===ae?void 0:ae.body)||void 0===se?void 0:se[0],showPrice:a,addToCart:l}))))))},ft=n=>e.createElement(e.Fragment,null,e.createElement(p,{responsive:{desktop:{breakpoint:{max:7e3,min:1440},items:4},tabletLarge:{breakpoint:{max:1439,min:1024},items:3},tabletMedium:{breakpoint:{max:1023,min:768},items:2},mobile:{breakpoint:{max:767,min:0},items:1}},deviceType:"desktop",ssr:!0,renderButtonGroupOutside:!0,partialVisible:!0,swipeable:!0,autoPlay:!1,shouldResetAutoplay:!1,arrows:!0},n.children),e.createElement("p",null,"compo"));var xt={card:"ProductTeaser-module_card__HsPC5","sr-card":"ProductTeaser-module_sr-card__dLVqa","border-top":"ProductTeaser-module_border-top__uS5i7","sr-desk-card":"ProductTeaser-module_sr-desk-card__m3F0X","sr-mob-card":"ProductTeaser-module_sr-mob-card__3w9z8","sr-md-card":"ProductTeaser-module_sr-md-card__AsnJ8",carouselContainer:"ProductTeaser-module_carouselContainer__RzBpK",arrowButton:"ProductTeaser-module_arrowButton__-AkY4",leftArrow:"ProductTeaser-module_leftArrow__Ybrjm",rightArrow:"ProductTeaser-module_rightArrow__MYs5F",stageTeaserTab:"ProductTeaser-module_stageTeaserTab__VYRxL",stageTeaserTabActive:"ProductTeaser-module_stageTeaserTabActive__Wu5nT",carousel_dot:"ProductTeaser-module_carousel_dot__zxG-A",carouselItemNew:"ProductTeaser-module_carouselItemNew__TTklX",teaserImageLeft:"ProductTeaser-module_teaserImageLeft__dIk-h",teaserImageRight:"ProductTeaser-module_teaserImageRight__hHvry",carouselItem:"ProductTeaser-module_carouselItem__vtLwf",teaserImage:"ProductTeaser-module_teaserImage__sQ3ed",productDetailsWrapperNew:"ProductTeaser-module_productDetailsWrapperNew__DfLax",productDetailsWrapperTransparent:"ProductTeaser-module_productDetailsWrapperTransparent__ES5iK",productDetailsWrapper:"ProductTeaser-module_productDetailsWrapper__0jFlz",titleSection:"ProductTeaser-module_titleSection__YqXUJ",featureSection:"ProductTeaser-module_featureSection__T-YzP",contentWrapper:"ProductTeaser-module_contentWrapper__3GKwX",contentWrapperLeft:"ProductTeaser-module_contentWrapperLeft__tGGEs",priceContainer:"ProductTeaser-module_priceContainer__CzBhB",priceContainerNew:"ProductTeaser-module_priceContainerNew__hn6rW",contentWrapperRight:"ProductTeaser-module_contentWrapperRight__8FP0u",contentMobWrapper:"ProductTeaser-module_contentMobWrapper__9rRLQ",heading:"ProductTeaser-module_heading__Xim2-",fadeOutText:"ProductTeaser-module_fadeOutText__nKr5i",fadeInText:"ProductTeaser-module_fadeInText__Ux98m",paragraph:"ProductTeaser-module_paragraph__hUonu",description:"ProductTeaser-module_description__s-lyV",extraSpace:"ProductTeaser-module_extraSpace__HFJ2A",toolTip:"ProductTeaser-module_toolTip__KL7Xx",gradiantBox:"ProductTeaser-module_gradiantBox__Eys-K",addOnSection:"ProductTeaser-module_addOnSection__G4zhX",featureList:"ProductTeaser-module_featureList__gmPS1",features:"ProductTeaser-module_features__o2jMu",featureIcon:"ProductTeaser-module_featureIcon__PbcQN",horizontalLine:"ProductTeaser-module_horizontalLine__Nfj9U",horizontalLineDark:"ProductTeaser-module_horizontalLineDark__Sg-Ou",addOnSectionIcon:"ProductTeaser-module_addOnSectionIcon__9-EoX",toggleSection:"ProductTeaser-module_toggleSection__2az0R",toggle:"ProductTeaser-module_toggle__GClvg",serviceUnavail:"ProductTeaser-module_serviceUnavail__Pe52H",leftWrapper:"ProductTeaser-module_leftWrapper__pj0yj",priceWrapper:"ProductTeaser-module_priceWrapper__7TC6y",slider:"ProductTeaser-module_slider__-V4R1",line:"ProductTeaser-module_line__mbJxT",pricetxt:"ProductTeaser-module_pricetxt__YYSmd",sliderNew:"ProductTeaser-module_sliderNew__ZnCAh",clicked:"ProductTeaser-module_clicked__A9jUK",priceDuration:"ProductTeaser-module_priceDuration__TeeO9",callCartNew:"ProductTeaser-module_callCartNew__AksMY",arrowIcon:"ProductTeaser-module_arrowIcon__OFm89",callCart:"ProductTeaser-module_callCart__YLJSL",disableCallcart:"ProductTeaser-module_disableCallcart__-M8Od",priceDesc:"ProductTeaser-module_priceDesc__8Er0h",priceDescCenter:"ProductTeaser-module_priceDescCenter__hhZUS",priceDescNew:"ProductTeaser-module_priceDescNew__ghXo4",priceLeftCenter:"ProductTeaser-module_priceLeftCenter__SVC5R"};S('/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.ProductTeaser-module_card__HsPC5.ProductTeaser-module_sr-card__dLVqa {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.ProductTeaser-module_card__HsPC5.ProductTeaser-module_border-top__uS5i7 {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .ProductTeaser-module_sr-desk-card__m3F0X {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_sr-mob-card__3w9z8 {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .ProductTeaser-module_sr-md-card__AsnJ8 {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.ProductTeaser-module_carouselContainer__RzBpK {\n position: static;\n margin-top: 32px;\n border-radius: 24px;\n}\n@media (min-width: 768px) {\n .ProductTeaser-module_carouselContainer__RzBpK {\n box-shadow: 0px 20px 30px -8px rgba(87, 84, 82, 0.4);\n }\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_arrowButton__-AkY4, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n background: #ffffff;\n box-shadow: 0px 4px 12px rgba(87, 84, 82, 0.2);\n border-radius: 24px;\n font-size: 16px;\n height: 44px;\n width: 44px;\n padding: 10px;\n position: absolute;\n border: none;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_arrowButton__-AkY4::before, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm::before, .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F::before {\n color: #da291c;\n font-size: 20px;\n display: block;\n font-family: revicons;\n text-align: center;\n z-index: 1;\n position: relative;\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n right: 22px;\n top: 253px;\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n right: 16px;\n top: 263px;\n }\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F {\n right: -32px;\n top: 278px;\n }\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F::before {\n content: "\\e825";\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_rightArrow__MYs5F:disabled {\n background: #e6e3df;\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm {\n left: 22px;\n top: 253px;\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm {\n left: 16px;\n top: 263px;\n }\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm {\n left: -32px;\n top: 278px;\n }\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm::before {\n content: "\\e824";\n}\n.ProductTeaser-module_carouselContainer__RzBpK .ProductTeaser-module_leftArrow__Ybrjm:disabled {\n background: #e6e3df;\n}\n\n.ProductTeaser-module_stageTeaserTab__VYRxL, .ProductTeaser-module_stageTeaserTabActive__Wu5nT {\n border-radius: 40px;\n border: none;\n color: #5f5955;\n background-color: #ffffff;\n font-size: 16px;\n line-height: 24px;\n font-weight: 700;\n padding: 10px 24px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_stageTeaserTab__VYRxL, .ProductTeaser-module_stageTeaserTabActive__Wu5nT {\n max-width: 158px;\n }\n}\n\n.ProductTeaser-module_stageTeaserTabActive__Wu5nT {\n color: #ffffff;\n background: #da291c;\n}\n\n.ProductTeaser-module_carousel_dot__zxG-A {\n border-radius: 50px;\n background-color: #ffffff;\n border: 2px solid rgba(61, 57, 53, 0.25);\n padding: 1px;\n width: fit-content;\n margin: 0 auto;\n position: absolute;\n top: -24px;\n height: fit-content;\n}\n\n.ProductTeaser-module_carouselItemNew__TTklX {\n position: fixed;\n top: -24px;\n width: 100%;\n}\n\n.ProductTeaser-module_teaserImageLeft__dIk-h {\n object-fit: contain;\n object-position: right;\n position: relative;\n left: 600px;\n}\n\n.ProductTeaser-module_teaserImageRight__hHvry {\n object-fit: contain;\n object-position: left;\n position: relative;\n}\n\n.ProductTeaser-module_carouselItem__vtLwf {\n position: relative;\n width: 100%;\n}\n.ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_teaserImage__sQ3ed {\n object-fit: cover;\n object-position: center;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_carouselItem__vtLwf {\n display: flex;\n justify-content: center;\n }\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_teaserImage__sQ3ed {\n border-radius: 24px;\n position: absolute;\n }\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperNew__DfLax, .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperTransparent__ES5iK, .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapper__0jFlz {\n min-width: 520px;\n }\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperNew__DfLax .ProductTeaser-module_titleSection__YqXUJ, .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperTransparent__ES5iK .ProductTeaser-module_titleSection__YqXUJ, .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapper__0jFlz .ProductTeaser-module_titleSection__YqXUJ {\n position: relative;\n left: unset;\n top: unset;\n height: fit-content;\n margin: auto 0;\n font-size: 28px;\n }\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperNew__DfLax .ProductTeaser-module_featureSection__T-YzP, .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperTransparent__ES5iK .ProductTeaser-module_featureSection__T-YzP, .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapper__0jFlz .ProductTeaser-module_featureSection__T-YzP {\n position: relative;\n right: 0px;\n top: 0;\n }\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapper__0jFlz {\n position: absolute;\n display: flex;\n justify-content: space-between;\n left: 107px;\n right: 107px;\n top: 129px;\n }\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperTransparent__ES5iK {\n position: relative;\n display: flex;\n justify-content: space-between;\n padding: 0 50px;\n top: 129px;\n height: 550px;\n }\n .ProductTeaser-module_carouselItem__vtLwf .ProductTeaser-module_productDetailsWrapperTransparent__ES5iK .ProductTeaser-module_titleSection__YqXUJ {\n position: relative;\n left: unset;\n top: unset;\n bottom: 170px;\n height: fit-content;\n margin: auto 0;\n font-size: 28px;\n }\n}\n\n.ProductTeaser-module_contentWrapper__3GKwX, .ProductTeaser-module_contentWrapperLeft__tGGEs {\n position: absolute;\n top: 40px;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_contentWrapper__3GKwX, .ProductTeaser-module_contentWrapperLeft__tGGEs {\n left: 30px;\n }\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_contentWrapper__3GKwX, .ProductTeaser-module_contentWrapperLeft__tGGEs {\n max-width: 460px;\n }\n}\n@media (min-width: 768px) {\n .ProductTeaser-module_contentWrapper__3GKwX, .ProductTeaser-module_contentWrapperLeft__tGGEs {\n left: 24px;\n max-width: 400px;\n }\n}\n.ProductTeaser-module_contentWrapper__3GKwX .ProductTeaser-module_titleSection__YqXUJ, .ProductTeaser-module_contentWrapperLeft__tGGEs .ProductTeaser-module_titleSection__YqXUJ {\n position: relative;\n text-align: center;\n left: unset;\n top: unset;\n}\n.ProductTeaser-module_contentWrapper__3GKwX .ProductTeaser-module_featureSection__T-YzP, .ProductTeaser-module_contentWrapperLeft__tGGEs .ProductTeaser-module_featureSection__T-YzP {\n position: relative;\n right: unset;\n top: unset;\n margin-top: 24px;\n}\n.ProductTeaser-module_contentWrapper__3GKwX .ProductTeaser-module_priceContainer__CzBhB, .ProductTeaser-module_contentWrapper__3GKwX .ProductTeaser-module_priceContainerNew__hn6rW, .ProductTeaser-module_contentWrapperLeft__tGGEs .ProductTeaser-module_priceContainer__CzBhB, .ProductTeaser-module_contentWrapperLeft__tGGEs .ProductTeaser-module_priceContainerNew__hn6rW {\n position: relative;\n top: unset;\n bottom: unset;\n margin-top: 24px;\n}\n\n@media (min-width: 1440px) {\n .ProductTeaser-module_contentWrapperLeft__tGGEs {\n left: 107px;\n }\n}\n\n.ProductTeaser-module_contentWrapperRight__8FP0u {\n position: absolute;\n max-width: 400px;\n top: 40px;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_contentWrapperRight__8FP0u {\n right: 107px;\n }\n}\n.ProductTeaser-module_contentWrapperRight__8FP0u .ProductTeaser-module_titleSection__YqXUJ {\n position: relative;\n text-align: center;\n right: unset;\n top: unset;\n}\n.ProductTeaser-module_contentWrapperRight__8FP0u .ProductTeaser-module_featureSection__T-YzP {\n position: relative;\n right: unset;\n top: unset;\n margin-top: 24px;\n}\n.ProductTeaser-module_contentWrapperRight__8FP0u .ProductTeaser-module_priceContainer__CzBhB, .ProductTeaser-module_contentWrapperRight__8FP0u .ProductTeaser-module_priceContainerNew__hn6rW {\n position: relative;\n top: unset;\n bottom: unset;\n margin-top: 24px;\n}\n\n@media (max-width: 767px) {\n .ProductTeaser-module_contentMobWrapper__9rRLQ {\n position: relative;\n margin: 0 16px;\n width: 100%;\n }\n}\n@media (max-width: 320px) {\n .ProductTeaser-module_contentMobWrapper__9rRLQ {\n margin: 0 8px;\n }\n}\n\n.ProductTeaser-module_titleSection__YqXUJ {\n position: absolute;\n top: 173px;\n left: 107px;\n color: #ffffff;\n font-weight: 700;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_titleSection__YqXUJ {\n max-width: 412px;\n }\n}\n@media (min-width: 1024px) and (max-width: 1439px) {\n .ProductTeaser-module_titleSection__YqXUJ {\n position: relative;\n top: unset;\n left: unset;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_titleSection__YqXUJ {\n text-align: center;\n top: 32px;\n left: unset;\n width: 100%;\n }\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_heading__Xim2- {\n font-size: 16px;\n line-height: 24px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_heading__Xim2- {\n font-size: 14px;\n line-height: 20px;\n }\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_fadeOutText__nKr5i {\n opacity: 0;\n transition: opacity 1s ease;\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_fadeInText__Ux98m {\n opacity: 1;\n transition: opacity 1s ease;\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_paragraph__hUonu {\n font-size: 28px;\n line-height: 36px;\n margin: 8px 0 12px 0;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_paragraph__hUonu {\n font-size: 20px;\n line-height: 28px;\n max-width: 100%;\n }\n}\n.ProductTeaser-module_titleSection__YqXUJ .ProductTeaser-module_description__s-lyV {\n font-weight: 700;\n font-size: 24px;\n line-height: 32px;\n}\n\n@media (max-width: 767px) {\n .ProductTeaser-module_extraSpace__HFJ2A {\n top: 62px;\n }\n}\n\n.ProductTeaser-module_featureSection__T-YzP {\n position: absolute;\n right: 107px;\n top: 129px;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_featureSection__T-YzP {\n max-width: 412px;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureSection__T-YzP {\n right: unset;\n top: unset;\n margin-top: 397px;\n font-size: 14px;\n line-height: 20px;\n background-color: #ffffff;\n color: #3D3935;\n border-radius: 12px;\n position: relative;\n height: fit-content;\n }\n}\n.ProductTeaser-module_featureSection__T-YzP .ProductTeaser-module_toolTip__KL7Xx {\n filter: brightness(0) invert(1);\n margin-left: 16px;\n display: flex;\n align-items: center;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureSection__T-YzP .ProductTeaser-module_toolTip__KL7Xx {\n filter: none;\n }\n}\n\n.ProductTeaser-module_gradiantBox__Eys-K, .ProductTeaser-module_addOnSection__G4zhX, .ProductTeaser-module_featureList__gmPS1 {\n border-radius: 12px;\n background: rgba(0, 0, 0, 0.2);\n backdrop-filter: blur(12.5px);\n color: #ffffff;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_gradiantBox__Eys-K, .ProductTeaser-module_addOnSection__G4zhX, .ProductTeaser-module_featureList__gmPS1 {\n background: none;\n color: unset;\n backdrop-filter: unset;\n }\n}\n\n.ProductTeaser-module_featureList__gmPS1 {\n padding: 4px 20px;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu {\n display: flex;\n align-items: center;\n margin: 12px 0;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu a {\n color: #ffffff;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu .ProductTeaser-module_featureIcon__PbcQN {\n margin-right: 10px;\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu span {\n color: #ffffff;\n text-decoration: underline;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_features__o2jMu span {\n color: #3d3935;\n }\n}\n.ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_horizontalLine__Nfj9U, .ProductTeaser-module_featureList__gmPS1 .ProductTeaser-module_horizontalLineDark__Sg-Ou {\n opacity: 0.5;\n background: linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 100%);\n height: 1px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_featureList__gmPS1 {\n border-radius: 12px 12px 0px 0px;\n }\n}\n\n.ProductTeaser-module_addOnSection__G4zhX {\n padding: 16px 20px;\n margin-top: 16px;\n display: flex;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_addOnSectionIcon__9-EoX {\n margin-right: 10px;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R {\n margin-left: auto;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R .ProductTeaser-module_toggle__GClvg {\n margin-right: 10px;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R input {\n cursor: pointer;\n margin-top: unset;\n}\n.ProductTeaser-module_addOnSection__G4zhX .ProductTeaser-module_toggleSection__2az0R input:focus {\n border: unset !important;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_addOnSection__G4zhX {\n border-radius: 0px 0px 12px 12px;\n margin-top: 0px;\n padding: 12px 20px;\n align-items: center;\n }\n}\n\n.ProductTeaser-module_priceContainer__CzBhB, .ProductTeaser-module_priceContainerNew__hn6rW {\n position: absolute;\n bottom: 40px;\n width: 100%;\n color: #ffffff;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_serviceUnavail__Pe52H, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_serviceUnavail__Pe52H {\n text-align: center;\n margin-bottom: 10px;\n font-size: 16px;\n line-height: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_serviceUnavail__Pe52H img, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_serviceUnavail__Pe52H img {\n margin-right: 8px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB, .ProductTeaser-module_priceContainerNew__hn6rW {\n color: #3D3935;\n position: static;\n display: flex;\n justify-content: center;\n flex-direction: column;\n padding: 16px;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_leftWrapper__pj0yj, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_leftWrapper__pj0yj {\n position: relative;\n right: 38px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y {\n font-size: 24px;\n line-height: 32px;\n font-weight: 700;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y {\n margin-right: unset;\n flex-direction: column;\n font-size: 20px;\n line-height: 28px;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 {\n height: 32px;\n overflow: hidden;\n margin-right: 12px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 .ProductTeaser-module_line__mbJxT, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 .ProductTeaser-module_line__mbJxT {\n transition: transform 0.5s ease;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 .ProductTeaser-module_line__mbJxT .ProductTeaser-module_pricetxt__YYSmd, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 .ProductTeaser-module_line__mbJxT .ProductTeaser-module_pricetxt__YYSmd {\n font-size: 16px;\n line-height: 24px;\n font-weight: 400;\n margin-right: 6px;\n display: inline-block;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_slider__-V4R1 {\n margin-bottom: 8px;\n margin-right: unset;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh {\n height: 32px;\n min-width: 158px;\n overflow: hidden;\n margin-right: 12px;\n position: relative;\n bottom: 16px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh .ProductTeaser-module_line__mbJxT, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh .ProductTeaser-module_line__mbJxT {\n transition: transform 0.5s ease;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh .ProductTeaser-module_line__mbJxT .ProductTeaser-module_pricetxt__YYSmd, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh .ProductTeaser-module_line__mbJxT .ProductTeaser-module_pricetxt__YYSmd {\n font-size: 16px;\n line-height: 24px;\n font-weight: 400;\n margin-right: 6px;\n display: inline-block;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_sliderNew__ZnCAh {\n margin-bottom: 8px;\n margin-right: unset;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_clicked__A9jUK .ProductTeaser-module_line__mbJxT, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_clicked__A9jUK .ProductTeaser-module_line__mbJxT {\n transform: translateY(-100%);\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_priceDuration__TeeO9, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_priceDuration__TeeO9 {\n font-size: 16px;\n line-height: 24px;\n font-weight: 400;\n display: inline-block;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY {\n padding: 10px 24px;\n font-weight: 700;\n border: none;\n background-color: #da291c;\n color: #ffffff;\n border-radius: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 338px;\n height: 52px;\n font-size: 16px;\n line-height: 24px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY .ProductTeaser-module_arrowIcon__OFm89, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY .ProductTeaser-module_arrowIcon__OFm89 {\n margin-left: 8px;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY {\n padding: 14px 24px;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCartNew__AksMY {\n padding: 10px 24px;\n max-width: 100%;\n display: flex;\n justify-content: center;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL {\n padding: 10px 24px;\n font-weight: 700;\n border: none;\n background-color: #da291c;\n color: #ffffff;\n border-radius: 28px;\n display: flex;\n align-items: center;\n font-size: 16px;\n line-height: 24px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL .ProductTeaser-module_arrowIcon__OFm89, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL .ProductTeaser-module_arrowIcon__OFm89 {\n margin-left: 8px;\n}\n@media (min-width: 1440px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL {\n padding: 14px 24px;\n }\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_callCart__YLJSL {\n padding: 10px 24px;\n max-width: 100%;\n display: flex;\n justify-content: center;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_disableCallcart__-M8Od, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceWrapper__7TC6y .ProductTeaser-module_disableCallcart__-M8Od {\n background-color: #e6e3df;\n color: #b3aeaa;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDesc__8Er0h, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDesc__8Er0h, .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDescCenter__hhZUS, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDescCenter__hhZUS, .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDescNew__ghXo4, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDescNew__ghXo4, .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceLeftCenter__SVC5R, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceLeftCenter__SVC5R {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 10px;\n}\n@media (max-width: 767px) {\n .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDesc__8Er0h, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDesc__8Er0h, .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDescCenter__hhZUS, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDescCenter__hhZUS, .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDescNew__ghXo4, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDescNew__ghXo4, .ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceLeftCenter__SVC5R, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceLeftCenter__SVC5R {\n font-size: 14px;\n line-height: 20px;\n margin-top: 8px;\n }\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceLeftCenter__SVC5R, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceLeftCenter__SVC5R {\n position: relative;\n right: 52px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDescNew__ghXo4, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDescNew__ghXo4 {\n justify-content: flex-start;\n position: relative;\n bottom: 30px;\n}\n.ProductTeaser-module_priceContainer__CzBhB .ProductTeaser-module_priceDescCenter__hhZUS, .ProductTeaser-module_priceContainerNew__hn6rW .ProductTeaser-module_priceDescCenter__hhZUS {\n justify-content: flex-start;\n position: relative;\n bottom: 30px;\n right: 40px;\n}\n\n.ProductTeaser-module_priceContainerNew__hn6rW {\n bottom: 0px;\n top: 400px;\n}\n\n@media (max-width: 767px) {\n .ProductTeaser-module_horizontalLineDark__Sg-Ou {\n margin: 0 16px;\n height: 1px;\n background-color: #e6e3df;\n }\n}');class bt{constructor(e){this.config={baseURL:"",cartURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.getCartUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.cartURL)&&void 0!==n?n:""},this.config=e}}bt.getInstance=()=>bt.instance,bt.create=e=>{bt.instance=new bt(e)};class yt{constructor(e){this.config={baseURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.config=e}}yt.getInstance=()=>yt.instance,yt.create=e=>{yt.instance=new yt(e)};class wt{constructor(e){this.config={baseURL:"",cartURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.getCartUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.cartURL)&&void 0!==n?n:""},this.config=e}}wt.getInstance=()=>wt.instance,wt.create=e=>{wt.instance=new wt(e)};class St{constructor(e){this.config={baseURL:"",cartURL:"",storyBlokURL:""},this.getConfig=()=>this.config,this.getBaseUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.baseURL)&&void 0!==n?n:""},this.getCartUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.cartURL)&&void 0!==n?n:""},this.getSBUrl=()=>{var e,n;return null!==(n=null===(e=this.config)||void 0===e?void 0:e.storyBlokURL)&&void 0!==n?n:""},this.config=e}}St.getInstance=()=>St.instance,St.create=e=>{St.instance=new St(e)};var Ct="ToolTip-module_tooltipicon__U5Rvt",kt="ToolTip-module_benefits__-gI-y";S("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.ToolTip-module_card__eq9Pj.ToolTip-module_sr-card__AL8-i {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.ToolTip-module_card__eq9Pj.ToolTip-module_border-top__owz6e {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .ToolTip-module_sr-desk-card__ss7EA {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .ToolTip-module_sr-mob-card__iNYOk {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .ToolTip-module_sr-md-card__TrrAG {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.ToolTip-module_tooltipicon__U5Rvt {\n height: 24px;\n margin-left: 4px;\n min-width: 20px;\n width: 24px;\n cursor: pointer;\n}\n@media (max-width: 767px) {\n .ToolTip-module_tooltipicon__U5Rvt img {\n width: inherit;\n height: inherit;\n }\n}\n\n.ToolTip-module_benefits__-gI-y img {\n width: 20px !important;\n height: 20px !important;\n}");const Et=({content:n,heading:o="",tooltipClass:i="",isBenefit:l=!1})=>{var r;const d=Ye(),a=Ge(),s=null===(r=null==k?void 0:k.getInstance())||void 0===r?void 0:r.getAssetPath();return n&&e.createElement(t.OverlayTrigger,{placement:"auto",rootClose:!0,trigger:""+("mobile"===d||"tablet"===d||a?"click":"hover"),overlay:n&&e.createElement(t.Popover,{id:"popover-basic"},""!==o&&e.createElement(t.Popover.Header,null,o),e.createElement(t.Popover.Body,null,n))},e.createElement("div",{className:`${Ct} ${i} ${l&&kt}`},s&&e.createElement("img",{src:`${s}/icons/tooltip_icon.svg`,width:24,height:24,alt:""})))},Pt=(e,n)=>{var o,t,i,l,r,d,a,s,c,u,p,m,_,v,h,g,f,x,b,y;const{itemCategory:w,location:S}=n,C=null!==(r=null===(l=null===(i=null===(t=null===(o=null==e?void 0:e.prices)||void 0===o?void 0:o[0])||void 0===t?void 0:t.priceAlteration)||void 0===i?void 0:i[0])||void 0===l?void 0:l.value)&&void 0!==r?r:0,k=null!==(s=null===(a=null===(d=null==e?void 0:e.prices)||void 0===d?void 0:d[0])||void 0===a?void 0:a.value)&&void 0!==s?s:0;return{item_id:null!==(c=null==e?void 0:e.id)&&void 0!==c?c:"",item_name:null!==(u=null==e?void 0:e.id)&&void 0!==u?u:"",affiliation:null!==(_=null===(m=null===(p=null==e?void 0:e.promotionInfo)||void 0===p?void 0:p[0])||void 0===m?void 0:m.campaignId)&&void 0!==_?_:"",coupon:"",discount:C&&Number(C),index:0,item_brand:on,item_category:null!==(h=null!==(v=null==w?void 0:w.productName)&&void 0!==v?v:null==w?void 0:w.id)&&void 0!==h?h:"MOBILE",item_category2:w?"BUNDLE":"MOBILE",item_category3:"",item_category4:"",item_category5:"",item_list_id:w?"Fixnet":"Mobile",item_list_name:w?"Fixnet":"Mobile",item_variant:null!==(f=null!==(g=null==w?void 0:w.productName)&&void 0!==g?g:null==w?void 0:w.id)&&void 0!==f?f:null==e?void 0:e.id,location_id:S,price:k&&Number(k),quantity:1,promotion_id:null!==(y=null===(b=null===(x=null==e?void 0:e.promotionInfo)||void 0===x?void 0:x[0])||void 0===b?void 0:b.campaignId)&&void 0!==y?y:""}},Tt=(e,n,o)=>{const t=[];return null==e||e.map((e=>{var i;(null==e?void 0:e.bundledOffers)?null===(i=null==e?void 0:e.bundledOffers)||void 0===i||i.map((i=>{const l=""==n?e:n;t.push(Pt(i,{itemCategory:l,location:o}))})):t.push(Pt(e,{location:o}))})),t},Ot=(e,n,o)=>{var t,i,l,r;const d=null===(l=null===(i=null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.derivedPrice)||void 0===i?void 0:i[0])||void 0===l?void 0:l.value;return{currency:tn,value:null!==(r=d&&Number(d))&&void 0!==r?r:0,items:Tt(e,n,o)}},Nt=e=>{const n={prodCategory:"",prodsubCategory:"",prodsubscription:""};if("MOBILE"===(null==e?void 0:e.productType))n.prodCategory="Mobile",n.prodsubCategory="Postpaid",n.prodsubscription="Subscription only";else if("MOBILEPREPAID_RATEPLAN"===(null==e?void 0:e.productType))n.prodCategory="Mobile",n.prodsubCategory="Prepaid",n.prodsubscription="No subscription";else{switch(n.prodCategory="Home",null==e?void 0:e.productType){case"INTERNET":n.prodsubCategory="Internet";break;case"TV":n.prodsubCategory="TV";break;case"VOICE":n.prodsubCategory="Phone";break;default:n.prodsubCategory=""}n.prodsubscription="Subscription only"}return n},Lt=(e,n,o)=>{var t,i,l,r,d,a,s,c,u,p,m,_,v,h,g,f,x,b,y,w,S,C;const{itemCategory:k,location:E}=n,P=null!==(d=null===(r=null===(l=null===(i=null===(t=null==e?void 0:e.prices)||void 0===t?void 0:t[0])||void 0===i?void 0:i.priceAlteration)||void 0===l?void 0:l[0])||void 0===r?void 0:r.value)&&void 0!==d?d:0,T=null!==(c=null===(s=null===(a=null==e?void 0:e.prices)||void 0===a?void 0:a[0])||void 0===s?void 0:s.value)&&void 0!==c?c:0,O={item_id:null!==(u=null==e?void 0:e.id)&&void 0!==u?u:"",item_name:null!==(p=null==e?void 0:e.id)&&void 0!==p?p:"",affiliation:null!==(v=null===(_=null===(m=null==e?void 0:e.promotionInfo)||void 0===m?void 0:m[0])||void 0===_?void 0:_.campaignId)&&void 0!==v?v:"",coupon:"",discount:P&&Number(P),index:0,item_brand:on,item_category:null===(h=Nt(e))||void 0===h?void 0:h.prodCategory,item_category2:null===(g=Nt(e))||void 0===g?void 0:g.prodsubCategory,item_category3:"",item_category4:null===(f=Nt(e))||void 0===f?void 0:f.prodsubscription,item_category5:"",item_list_id:k?"Fixnet":"Mobile",item_list_name:k?"Fixnet":"Mobile",item_variant:null!==(y=null!==(b=null!==(x=null==k?void 0:k.title)&&void 0!==x?x:null==k?void 0:k.productName)&&void 0!==b?b:null==k?void 0:k.id)&&void 0!==y?y:null==e?void 0:e.id,location_id:E,price:T&&Number(T),quantity:1,promotion_id:null!==(C=null===(S=null===(w=null==e?void 0:e.promotionInfo)||void 0===w?void 0:w[0])||void 0===S?void 0:S.campaignId)&&void 0!==C?C:""};return o&&(O.item_available=o),O},Dt=(e,n,o,t)=>{const i=[];let l="";return null==e||e.map((e=>{var r;if(null==e?void 0:e.bundledOffers)null===(r=null==e?void 0:e.bundledOffers)||void 0===r||r.map((r=>{var d;const a=""==n?e:n;t&&(l=(null==t?void 0:t.includes(null==e?void 0:e.id))?"yes":"no");const s=Lt(r,{itemCategory:a,location:o},l);s.item_category3=`${null===(d=null==e?void 0:e.bundledOffers)||void 0===d?void 0:d.length}P Subscription`,i.push(s)}));else if("INTERNET"!==(null==e?void 0:e.productType)||(null==e?void 0:e.bundledOffers)){const n=Lt(e,{location:o});"MOBILEPREPAID_RATEPLAN"===(null==e?void 0:e.productType)?n.item_category3="":n.item_category3="1P Subscription",i.push(n)}else{const n={id:null==e?void 0:e.id};t&&(l=(null==t?void 0:t.includes(null==e?void 0:e.id))?"yes":"no");const r=Lt(e,{itemCategory:n,location:o},l);r.item_category3="1P Subscription",i.push(r)}})),i},It=(e,n,o)=>{let t;null==e||e.map((e=>{t=(null==e?void 0:e.bundledOffers)?"Fixnet":"INTERNET"!==(null==e?void 0:e.productType)||(null==e?void 0:e.bundledOffers)?"Mobile":"Internet"}));return{item_list_id:t,item_list_name:t,items:Dt(e,n,o)}},At=(e,n,o,t)=>{var i,l,r,d;const a=null===(r=null===(l=null===(i=null==e?void 0:e[0])||void 0===i?void 0:i.derivedPrice)||void 0===l?void 0:l[0])||void 0===r?void 0:r.value;return{currency:tn,value:null!==(d=a&&Number(a))&&void 0!==d?d:0,items:Dt(e,n,o,t)}},Bt=(e,n,o,t,i,l)=>{var r,d;"view"===e?null===window||void 0===window||window.dataLayer.push({event:"view_item_list",event_name:"view_item_list",ecommerce:It(n,o,t),isPegaEnabled:!!l}):"addtocart"===e?null===window||void 0===window||window.dataLayer.push({event:"add_to_cart",event_name:"add_to_cart",ecommerce:At(n,o,t),transaction_type:"MOBILE"===(null===(r=null==n?void 0:n[0])||void 0===r?void 0:r.productType)?"MOBILE_ORDER":"HOME_ORDER",isPegaEnabled:!!l,fromPopup:!!(null===(d=null==n?void 0:n[0])||void 0===d?void 0:d.fromPopup)}):"available"===e&&window.dataLayer.push({event:"view_item",event_name:"view_item",ecommerce:At(n,o,t,i),isPegaEnabled:!!l})};var Vt={card:"AutoComplete-module_card__E-C0L","sr-card":"AutoComplete-module_sr-card__xY0rf","border-top":"AutoComplete-module_border-top__DqIXt","sr-desk-card":"AutoComplete-module_sr-desk-card__oJCzb","sr-mob-card":"AutoComplete-module_sr-mob-card__i0v1J","sr-md-card":"AutoComplete-module_sr-md-card__A87lh",inputcontainer:"AutoComplete-module_inputcontainer__VORIB","cross-icon":"AutoComplete-module_cross-icon__7SIoo",addresscontainer:"AutoComplete-module_addresscontainer__za7ZE",suggestionactive:"AutoComplete-module_suggestionactive__4cjbE"};S("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.AutoComplete-module_card__E-C0L.AutoComplete-module_sr-card__xY0rf {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.AutoComplete-module_card__E-C0L.AutoComplete-module_border-top__DqIXt {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .AutoComplete-module_sr-desk-card__oJCzb {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .AutoComplete-module_sr-mob-card__i0v1J {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .AutoComplete-module_sr-md-card__A87lh {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.AutoComplete-module_inputcontainer__VORIB {\n position: relative;\n top: 27px;\n margin-right: 16px;\n}\n.AutoComplete-module_inputcontainer__VORIB input {\n font-size: 16px;\n line-height: 24px;\n border: 1px solid #B3AEAA !important;\n border-radius: 4px;\n height: 52px;\n padding: 14px 12px;\n width: 100%;\n background: #F7F6F5;\n}\n@media (max-width: 767px) {\n .AutoComplete-module_inputcontainer__VORIB {\n margin: 0 !important;\n }\n}\n.AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_cross-icon__7SIoo {\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n padding: 14px;\n}\n.AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_addresscontainer__za7ZE {\n background: #ffffff;\n box-shadow: 0px 8px 24px rgba(51, 51, 51, 0.2);\n cursor: pointer;\n list-style: none;\n padding: 12px;\n position: absolute;\n text-align: left;\n width: 100%;\n z-index: 1000;\n transition: all 1s ease-in;\n}\n@media (max-width: 767px) {\n .AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_addresscontainer__za7ZE {\n margin-top: 0px;\n background: #f7f6f5;\n }\n}\n.AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_addresscontainer__za7ZE .AutoComplete-module_addresscontainer__za7ZE :hover {\n background: #e5e5e5;\n border-radius: 4px;\n text-align: left;\n width: 100%;\n z-index: 100;\n}\n.AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_suggestionactive__4cjbE,\n.AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_addresscontainer__za7ZE li:hover {\n background-color: #f7f6f5;\n cursor: pointer;\n}\n.AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_suggestionactive__4cjbE,\n.AutoComplete-module_inputcontainer__VORIB .AutoComplete-module_addresscontainer__za7ZE li {\n padding: 10px 12px;\n}\n\ninput:disabled {\n background-color: #e6e3df !important;\n}\n\ninput[type=text]:disabled {\n color: #86807C !important;\n}\n\nlabel:disabled {\n color: #86807C !important;\n}");const Mt=e.forwardRef(((n,o)=>{var t,i,l;const{inputValue:r,setInputValue:d,dropdownValue:a,placeholder:s,onChange:c,name:u,inputClassName:p,selectedData:m,minLength:_,maxLength:v,content:h,setApiError:g,setFetchingLineCheck:f,checkAvailability:x,FetchingLineCheck:b,setaddressNotFound:y}=n,[w,S]=e.useState(-1),[C,k]=e.useState(!0),[E,P]=e.useState(!1);Ye();return e.useEffect((()=>{a&&a.length>0&&(null==r?void 0:r.length)>=3?P(!0):P(!1)}),[a]),e.createElement(e.Fragment,null,e.createElement("div",{id:"dropdownselect",className:`${Vt.inputcontainer} form-floating ${b&&Vt["box-disabled"]}`},e.createElement("input",{type:"text",disabled:b||!C||x,placeholder:s,onChange:c,name:u,onKeyDown:e=>{if(a&&Object.keys(a).length>0)if("Enter"===(null==e?void 0:e.key)||13===(null==e?void 0:e.keyCode)){if(-1===w)return;S(-1),k(!0),P(!1),d(a[w].concatedAddress),m(a[w])}else if("ArrowUp"===(null==e?void 0:e.key)||38===(null==e?void 0:e.keyCode)){if(-1===w)return void S((null==a?void 0:a.length)-1);S(w-1)}else if("ArrowDown"===(null==e?void 0:e.key)||40===(null==e?void 0:e.keyCode)){if(w===(null==a?void 0:a.length)-1)return void S(-1);S(w+1)}else S(-1)},value:r,autoComplete:"off","aria-autocomplete":"none",className:p,spellCheck:"false",minLength:_,maxLength:v}),e.createElement("label",{htmlFor:"address",className:"input-label"},s),!(b||!C||x)&&0!==(null==r?void 0:r.length)&&e.createElement("div",{className:Vt["cross-icon"],onClick:()=>{var e,n;(null===(e=null==o?void 0:o.current)||void 0===e?void 0:e.focus())||P(!1),d(""),null===(n=null==o?void 0:o.current)||void 0===n||n.focus(),g(!1),f(!1),y(!1)}},e.createElement("img",{src:null===(l=null===(i=null===(t=null==h?void 0:h.linecheckIcons)||void 0===t?void 0:t[0])||void 0===i?void 0:i.close)||void 0===l?void 0:l.filename,height:14,width:14,alt:"cross-icon"})),E&&(null==a?void 0:a.length)&&e.createElement("ul",{className:Vt.addresscontainer},a.map(((n,o)=>{let t;return o===w&&(t="active"),e.createElement(e.Fragment,null,e.createElement("li",{className:"active"===t?Vt.suggestionactive:Vt.suggestionInactive,key:o,onClick:e=>((e,n)=>{var o;S(-1),P(!1),k(!0),d((null==n?void 0:n.currentTarget)&&(null===(o=null==n?void 0:n.currentTarget)||void 0===o?void 0:o.innerText)),m(e)})(n,e)},n&&n.concatedAddress))})))))}));var Rt={card:"IndividualLineCheck-module_card__-FJvi","sr-card":"IndividualLineCheck-module_sr-card__TLdZx","border-top":"IndividualLineCheck-module_border-top__1r7TF","sr-desk-card":"IndividualLineCheck-module_sr-desk-card__9WNE6","sr-mob-card":"IndividualLineCheck-module_sr-mob-card__6CPcd","sr-md-card":"IndividualLineCheck-module_sr-md-card__1oFTu",inputcontainer:"IndividualLineCheck-module_inputcontainer__RzNgl","comman-css":"IndividualLineCheck-module_comman-css__Ih8mD",errorInputs:"IndividualLineCheck-module_errorInputs__VLMc5",individuallinecheck:"IndividualLineCheck-module_individuallinecheck__S0DaG","individuallinecheck-bottom":"IndividualLineCheck-module_individuallinecheck-bottom__mHELS",errorbutton:"IndividualLineCheck-module_errorbutton__YhCHC",btn:"IndividualLineCheck-module_btn__aCYjV",smallerinputcontainer:"IndividualLineCheck-module_smallerinputcontainer__HjSk0",cityinputcontainer:"IndividualLineCheck-module_cityinputcontainer__tMbW1","error-section":"IndividualLineCheck-module_error-section__y69YQ","errorinput-small":"IndividualLineCheck-module_errorinput-small__zu3mE","errorinput-small-mobile":"IndividualLineCheck-module_errorinput-small-mobile__3P158"};S("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.IndividualLineCheck-module_card__-FJvi.IndividualLineCheck-module_sr-card__TLdZx {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.IndividualLineCheck-module_card__-FJvi.IndividualLineCheck-module_border-top__1r7TF {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .IndividualLineCheck-module_sr-desk-card__9WNE6 {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .IndividualLineCheck-module_sr-mob-card__6CPcd {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .IndividualLineCheck-module_sr-md-card__1oFTu {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.IndividualLineCheck-module_inputcontainer__RzNgl {\n position: relative;\n margin: 18px 16px 32px 0;\n top: 18px;\n}\n.IndividualLineCheck-module_inputcontainer__RzNgl .form-floating {\n margin-right: 0;\n}\n.IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_comman-css__Ih8mD {\n border: 1px solid #B3AEAA;\n background-color: #F7F6F5;\n border-radius: 4px;\n padding: 13px 12px 13px 12px;\n gap: 4px;\n}\n.IndividualLineCheck-module_inputcontainer__RzNgl input {\n border: 1px solid #B3AEAA !important;\n font-size: 16px;\n line-height: 24px;\n border-radius: 4px;\n height: 52px;\n padding: 14px 12px;\n width: 100%;\n background: #F7F6F5;\n}\n@media (max-width: 767px) {\n .IndividualLineCheck-module_inputcontainer__RzNgl {\n margin: 0 16px;\n top: 0px;\n }\n}\n.IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_errorInputs__VLMc5 {\n border: 2px solid #BF0760 !important;\n}\n.IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_individuallinecheck__S0DaG, .IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_individuallinecheck-bottom__mHELS {\n display: inline-flex;\n width: 100%;\n margin-bottom: 24px;\n gap: 12px;\n}\n@media (max-width: 767px) {\n .IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_individuallinecheck__S0DaG, .IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_individuallinecheck-bottom__mHELS {\n display: block;\n margin: 16px 0;\n text-align: center;\n }\n}\n.IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_errorbutton__YhCHC {\n background-color: #ffffff;\n padding: 0 16px 0 12px;\n border-radius: 12px;\n color: #da291c;\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n}\n@media (max-width: 767px) {\n .IndividualLineCheck-module_inputcontainer__RzNgl .IndividualLineCheck-module_errorbutton__YhCHC {\n background-color: transparent;\n padding: 0 16px 0 8px;\n }\n}\n\n@media (max-width: 767px) {\n .IndividualLineCheck-module_btn__aCYjV {\n width: 100% !important;\n }\n}\n\n.IndividualLineCheck-module_smallerinputcontainer__HjSk0 {\n min-width: 145px;\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .IndividualLineCheck-module_smallerinputcontainer__HjSk0 {\n min-width: 120px !important;\n }\n}\n@media (max-width: 767px) {\n .IndividualLineCheck-module_smallerinputcontainer__HjSk0 {\n min-width: 88px !important;\n margin-bottom: 32px;\n }\n}\n\n.IndividualLineCheck-module_cityinputcontainer__tMbW1 {\n min-width: 365px !important;\n}\n@media (min-width: 768px) and (max-width: 1023px) {\n .IndividualLineCheck-module_cityinputcontainer__tMbW1 {\n min-width: 230px !important;\n }\n}\n@media (max-width: 767px) {\n .IndividualLineCheck-module_cityinputcontainer__tMbW1 {\n min-width: 88px !important;\n margin-bottom: 32px;\n }\n}\n\n.IndividualLineCheck-module_error-section__y69YQ {\n font-size: 16px;\n line-height: 24px;\n color: #BF0760;\n font-weight: 400;\n}\n.IndividualLineCheck-module_error-section__y69YQ > img {\n margin-right: 4px;\n}\n@media (max-width: 767px) {\n .IndividualLineCheck-module_error-section__y69YQ {\n text-align: left;\n }\n}\n\n.IndividualLineCheck-module_errorinput-small__zu3mE {\n margin-bottom: 0 !important;\n}\n\n.IndividualLineCheck-module_individuallinecheck-bottom__mHELS {\n margin-bottom: 0 !important;\n}\n\n@media (max-width: 767px) {\n .IndividualLineCheck-module_errorinput-small-mobile__3P158 {\n margin-bottom: 8px;\n }\n}");const Ft=e.forwardRef((({parentCallBackIndividual:n,content:o,apiError:t,setApiError:i,setFetchingLineCheck:l,setSelectedAddress:r,FetchingLineCheck:d,addressRef:a,openIndividualLineCheck:s,selected:c,addressNotFound:u,setaddressNotFound:p,isAddressNotFilled:m,setAddressNotFilled:_,setIndivialOpen:v},h)=>{const[g,f]=e.useState({street:"",city:"",postCode:"",houseNumber:"",concatedAddress:""}),[x,b]=e.useState(""),y=Ye(),[w,S]=e.useState(!1);e.useEffect((()=>{"function"==typeof i&&i(!1),"function"==typeof l&&l(!1),"function"==typeof r&&r("")}),[]);const C=e=>{p(!0),f(Object.assign(Object.assign({},g),{[e.target.name]:e.target.value}));const n=Object.assign(Object.assign({},g),{[e.target.name]:e.target.value});k(Object.assign({},n)),i(!1),l(!1),v((e=>Object.assign(Object.assign({},e),{indErrorOpen:!1})))};e.useEffect((()=>{f(c)}),[u]);const k=e=>{let n="";""!==(null==e?void 0:e.postCode)&&""!==e.city&&""!==e.houseNumber&&""!==e.street?(n=e.street+" "+e.houseNumber+", "+e.postCode+" "+e.city,b(n)):(n="",b(""))};e.useEffect((()=>{const e=Object.assign(Object.assign({},g),{concatedAddress:x});f(Object.assign(Object.assign({},g),{concatedAddress:x})),"mobile"!==y&&n(e,w)}),[x]);const E=()=>e.createElement("p",{className:Rt["error-section"]},e.createElement("img",{src:"/ecom-int/icons/error-msg-icon.svg",height:14,width:14,alt:"error"}),null==o?void 0:o.requiredFieldText);return e.createElement("div",{className:`${Rt.inputcontainer} ${m&&Rt["errorinput-container"]}`},e.createElement("div",{className:`${m&&u&&(""===(null==g?void 0:g.postCode)||""===(null==g?void 0:g.city))&&Rt["errorinput-small"]} ${Rt.individuallinecheck}`},e.createElement("div",{className:`${Rt.smallerinputcontainer} form-floating ${m&&u&&""===(null==g?void 0:g.postCode)&&Rt["errorinput-small-mobile"]}`},e.createElement("input",{required:!0,placeholder:(null==o?void 0:o.zip)+"*",name:"postCode",onChange:C,value:d||u?null==g?void 0:g.postCode:null==c?void 0:c.postCode,className:`form-control\n ${(m||w)&&u&&""===(null==g?void 0:g.postCode)?Rt.errorInputs:Rt["comman-css"]} `}),e.createElement("label",{htmlFor:"address"},(null==o?void 0:o.zip)+"*"),(m||w)&&""===(null==g?void 0:g.postCode)&&u&&E()),e.createElement("div",{className:`${Rt.cityinputcontainer} form-floating ${m&&u&&""===(null==g?void 0:g.city)&&Rt["errorinput-small-mobile"]}`},e.createElement("input",{placeholder:(null==o?void 0:o.city)+"*",name:"city",onChange:C,value:d||u?null==g?void 0:g.city:null==c?void 0:c.city,className:`form-control\n ${(m||w)&&u&&""===(null==g?void 0:g.city)?Rt.errorInputs:Rt["comman-css"]}`}),e.createElement("label",{htmlFor:"address"},(null==o?void 0:o.city)+"*"),(m||w)&&""===(null==g?void 0:g.city)&&u&&E())),e.createElement("div",{className:`${Rt["individuallinecheck-bottom"]}`},e.createElement("div",{className:`${Rt.cityinputcontainer} form-floating ${m&&u&&""===(null==g?void 0:g.street)&&Rt["errorinput-small-mobile"]}`},e.createElement("input",{placeholder:(null==o?void 0:o.street)+"*",name:"street",onChange:C,value:d||u?null==g?void 0:g.street:null==c?void 0:c.street,className:`form-control\n ${(m||w)&&u&&""===(null==g?void 0:g.street)?Rt.errorInputs:Rt["comman-css"]}`}),e.createElement("label",{htmlFor:"address"},(null==o?void 0:o.street)+"*"),(m||w)&&""===(null==g?void 0:g.street)&&u&&E()),e.createElement("div",{className:`${Rt.smallerinputcontainer} form-floating ${m&&u&&""===(null==g?void 0:g.houseNumber)&&Rt["errorinput-small-mobile"]}`},e.createElement("input",{placeholder:(null==o?void 0:o.houseNumber)+"*",name:"houseNumber",onChange:C,value:d||u?null==g?void 0:g.houseNumber:null==c?void 0:c.houseNumber,className:`form-control\n ${(m||w)&&u&&""===(null==g?void 0:g.houseNumber)?Rt.errorInputs:Rt["comman-css"]}`}),e.createElement("label",{htmlFor:"address"},(null==o?void 0:o.houseNumber)+"*"),(m||w)&&""===(null==g?void 0:g.houseNumber)&&u&&E())),"mobile"===y&&e.createElement(e.Fragment,null,e.createElement("div",{className:Rt.individuallinecheck},e.createElement("button",{name:"check address button",type:"button",className:`primarybutton ${Rt.btn}`,disabled:!1,onClick:()=>{S(!0),""!==(null==g?void 0:g.postCode)&&""!==(null==g?void 0:g.city)&&""!==(null==g?void 0:g.houseNumber)&&""!==(null==g?void 0:g.street)?"function"==typeof n&&n(g,!0):"function"==typeof _&&_(!m)},style:{width:"50%"}},null==o?void 0:o.buttonvalue))))})),jt="address-suggestion",Ut="catalogue-management",zt=e=>I(void 0,void 0,void 0,(function*(){var t,i,l,r,d,a,s;const c=yield(e=>{var t;const i=null===(t=null==yt?void 0:yt.getInstance())||void 0===t?void 0:t.getBaseUrl(),l={params:{},headers:{"x-sunrise-channel":Qo.X_SUN_CHAL,"x-correlation-id":o.v4()}},r={address:e,segment:"Residential"};try{const e=`${i}${Ut}${Qo.LINE_CHECK}`;return n.ApiServiceV2.getApiServiceInstance().post(e,r,l).then((e=>{var n,o;if(200==e.status){const t=null===(o=null===(n=null==e?void 0:e.config)||void 0===n?void 0:n.headers)||void 0===o?void 0:o["x-correlation-id"];try{"undefined"!=typeof window&&localStorage.removeItem("one-commerce-linecheckcorrelationid"),"undefined"!=typeof window&&localStorage.setItem("one-commerce-linecheckcorrelationid",t)}catch(e){}return"undefined"!=typeof window&&u.remove("one-commerce-linecheckcorrelationid",{path:"/"}),"undefined"!=typeof window&&u.set("one-commerce-linecheckcorrelationid",t,{path:"/",expires:3}),{response:null==e?void 0:e.data,corelationaId:t}}return[]})).catch((e=>{var n,o,t;((null===(o=null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.data)||void 0===o?void 0:o.code)||504===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status))&&Jn(null==e?void 0:e.response)}))}catch(e){return e}})(e),p=yield((null===(t=null==c?void 0:c.response)||void 0===t?void 0:t.sellableProducts)||[]).map((e=>e.name)),m=[];for(const e of null===(i=null==c?void 0:c.response)||void 0===i?void 0:i.eligibleCombinations)for(const n of null==e?void 0:e.rateplans)m.push(null==n?void 0:n.name);const _=null===(r=null===(l=null==c?void 0:c.response)||void 0===l?void 0:l.eligibleSpeed)||void 0===r?void 0:r.maxSpeed,v=null===(a=null===(d=null==c?void 0:c.response)||void 0===d?void 0:d.eligibleSpeed)||void 0===a?void 0:a.plannedUpgrades,h=null===(s=null==c?void 0:c.response)||void 0===s?void 0:s.eligibleAccess;try{"undefined"!=typeof window&&localStorage.setItem("lineCheckResponse",JSON.stringify({eligibleBundle:p,configEligibleBundle:m,maxUploadDownloadSpeed:_,plannedUpgrade:v,originalLinecheckResponse:null==c?void 0:c.response}));try{"undefined"!=typeof window&&localStorage.setItem("one-commerce-access-type",JSON.stringify(h))}catch(e){}"undefined"!=typeof window&&u.set("one-commerce-access-type",JSON.stringify(h),{path:"/",expires:3})}catch(e){}return{corelationaId:c.corelationaId,lineCheckResponse:null==c?void 0:c.response,eligibleBundle:p,maxUploadDownloadSpeed:_,configEligibleBundle:m,plannedUpgrade:v}}));var $t="LineCheckInput-module_errorfield__hEZF5",Wt="LineCheckInput-module_errormsg__SVc94",Ht="LineCheckInput-module_truncation__80rK4",Yt="LineCheckInput-module_checking__aIxIH",Gt="LineCheckInput-module_address__oRhfO",qt="LineCheckInput-module_secondarybutton__5iCpn",Kt="LineCheckInput-module_secondarybutton-mobile__USH6B",Jt="LineCheckInput-module_ul-disabled__oA7jV",Xt="LineCheckInput-module_list__JA3Jx";S("/* center a block element */\n/* use this to any of the pseudo elements as these are the mandatory properties */\n/* setting styles in separate formats for cross browser support */\n/* specify the max width for an element and apply ellipses and truncate the overflow */\n/* vertically center alilgn any HTML element */\n/* add basePath to assets */\n.LineCheckInput-module_card__SgvSo.LineCheckInput-module_sr-card__8NuIB {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.LineCheckInput-module_card__SgvSo.LineCheckInput-module_border-top__3Es-U {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n box-shadow: 0px -2px 20px 0px rgba(61, 57, 53, 0.2);\n border: none;\n}\n\n@media (min-width: 768px) {\n .LineCheckInput-module_sr-desk-card__spu1x {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (max-width: 767px) {\n .LineCheckInput-module_sr-mob-card__rtkNa {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n@media (min-width: 1024px) {\n .LineCheckInput-module_sr-md-card__GGFdg {\n border-radius: 8px;\n box-shadow: 0px 2px 4px 0px rgba(87, 84, 82, 0.2);\n border: none;\n background-color: white;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n}\n.LineCheckInput-module_errorfield__hEZF5 {\n border: 2px solid #c60047 !important;\n}\n\n.LineCheckInput-module_errormsg__SVc94 {\n color: #c60047;\n font-size: 12px;\n line-height: 16px;\n font-weight: 500;\n padding-top: 4px;\n}\n@media (max-width: 767px) {\n .LineCheckInput-module_errormsg__SVc94 {\n margin-left: 16px;\n }\n}\n\n.LineCheckInput-module_truncation__80rK4 {\n text-overflow: ellipsis;\n}\n\n.LineCheckInput-module_checking__aIxIH {\n padding-right: 28px !important;\n}\n\n@media (max-width: 767px) {\n .LineCheckInput-module_address__oRhfO {\n position: relative;\n top: 10px;\n }\n}\n\n.LineCheckInput-module_secondarybutton__5iCpn {\n font-size: 16px;\n font-style: normal;\n font-weight: 700;\n line-height: 24px;\n color: #da291c;\n padding: 16px 0px 0px;\n background-color: #ffffff;\n cursor: pointer;\n}\n@media (max-width: 767px) {\n .LineCheckInput-module_secondarybutton__5iCpn {\n background-color: #ffffff;\n padding: 16px;\n border-radius: 12px;\n margin: 16px 20px;\n height: 52px;\n }\n}\n\n.LineCheckInput-module_secondarybutton-mobile__USH6B {\n font-size: 16px;\n font-style: normal;\n font-weight: 700;\n line-height: 24px;\n color: #da291c;\n padding: 16px 0px 0px;\n background-color: #ffffff;\n cursor: pointer;\n}\n@media (max-width: 767px) {\n .LineCheckInput-module_secondarybutton-mobile__USH6B {\n background-color: #ffffff;\n padding: 16px 0px;\n border-radius: 12px;\n margin: 16px 0px;\n height: 52px;\n }\n}\n\n@media (min-width: 768px) {\n .LineCheckInput-module_ul-disabled__oA7jV {\n position: relative;\n top: 29px;\n background-color: #FFFFFF;\n margin-right: 16px;\n left: -1px;\n }\n .LineCheckInput-module_ul-disabled__oA7jV .LineCheckInput-module_list__JA3Jx {\n box-shadow: 0px 8px 24px rgba(51, 51, 51, 0.2);\n cursor: pointer;\n padding: 12px;\n text-align: left;\n width: 100%;\n z-index: 1000;\n transition: all 1s ease-in;\n }\n}\n.LineCheckInput-module_errorbutton__wd49l {\n background-color: #ffffff;\n padding: 0 16px 0 12px;\n border-radius: 12px;\n color: #da291c;\n font-size: 16px;\n font-style: normal;\n font-weight: 700;\n line-height: 24px;\n margin-top: 16px;\n margin-bottom: 8px;\n}\n@media (max-width: 767px) {\n .LineCheckInput-module_errorbutton__wd49l {\n background-color: transparent;\n padding: 0 16px 0 8px;\n }\n}");const Qt=e.forwardRef((({content:n,parentCallback:t,parentAddress:i,isAddressNotFilled:l,onChange:r,name:d,apiError:a,setApiError:s,setFetchingLineCheck:c,checkAvailability:u,onData:p,FetchingLineCheck:m,setSelectedAddress:_,ref:v,Address:h,setIndivialOpen:g,indivialOpen:f,setAddressNotFilled:x})=>{var b,y,w,S,C,k;const[E,P]=e.useState(!1),[T,O]=e.useState(!1),[N,L]=e.useState(""),[D,A]=e.useState(""),[B,V]=e.useState(),[M,R]=e.useState(!1),F=e.useRef(),j=Ye();e.useEffect((()=>{E&&D?"differentAddress"===d&&"function"==typeof t&&t({}):L("")}),[D,E]),e.useEffect((()=>{"function"==typeof A&&A(i)}),[]),e.useEffect((()=>{T&&qn(null==n?void 0:n.errorMsg,Cn+" "+(null==n?void 0:n.title),wn,Sn),!D&&l&&qn(null==n?void 0:n.requiredFieldText,Cn+" "+(null==n?void 0:n.title),wn,Sn),N&&qn(N,Cn+" "+(null==n?void 0:n.title),wn,Sn),T&&Kn(Sn,wn,Cn+" | "+(null==n?void 0:n.title),null==n?void 0:n.errorMsg),!D&&l&&Kn(Sn,wn,Cn+" | "+(null==n?void 0:n.title),null==n?void 0:n.requiredFieldText),N&&Kn(Sn,wn,Cn+" | "+(null==n?void 0:n.title),N)}),[T,l,N]);return e.useEffect((()=>{a&&("function"==typeof R&&R(!0),"function"==typeof g&&g(Object.assign(Object.assign({},f),{indOpen:!0})),"mobile"===j&&M&&"function"==typeof g&&g(Object.assign(Object.assign({},f),{indErrorOpen:!0})))}),[a]),e.useEffect((()=>{M&&!E&&"function"==typeof g&&g(Object.assign(Object.assign({},f),{indErrorOpen:!0}))}),[M,E]),e.createElement(e.Fragment,null,!M&&e.createElement(Mt,{inputValue:D||"",setInputValue:A,dropdownValue:B,placeholder:null==n?void 0:n.placeholder,ref:v,onChange:e=>{var t,i,l;"function"==typeof r&&r(e),"function"==typeof A&&A(null===(t=null==e?void 0:e.currentTarget)||void 0===t?void 0:t.value);let d=!1;d=new RegExp(`[${null==n?void 0:n.regexp}]`).test(null===(i=null==e?void 0:e.currentTarget)||void 0===i?void 0:i.value),O(d);((e,n,t)=>I(void 0,void 0,void 0,(function*(){var i;if(!n&&(null==e?void 0:e.length)>=3){t.current&&t.current.abort(),t.current=new AbortController;const n=t.current.signal,l=null===(i=null==yt?void 0:yt.getInstance())||void 0===i?void 0:i.getBaseUrl();try{const t=yield fetch(`${l}${jt}${Qo.ADDR_ENDPOINT}?count=10&address=${e.replace(/,(?=[^\s])/g,", ")}`,{method:"GET",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded","x-correlation-id":o.v4(),"x-sunrise-channel":Qo.X_SUN_CHAL},signal:n}),i=yield t.json();if(i){const e=[];return(null==i?void 0:i.items)&&(null==i||i.items.forEach((n=>{(null==n?void 0:n.street)&&(null==n?void 0:n.houseNumber)&&(null==n?void 0:n.postCode)&&(null==n?void 0:n.city)&&(n.concatedAddress=`${null==n?void 0:n.street} ${null==n?void 0:n.houseNumber},${null==n?void 0:n.postCode} ${null==n?void 0:n.city}`,e.push(n))}))),e}}catch(e){console.log(e)}}})))(null===(l=null==e?void 0:e.currentTarget)||void 0===l?void 0:l.value,d,F).then((e=>{e&&(null==e?void 0:e.error)||(null==e?void 0:e.length)<=0?(V([]),P(!0)):(V(e),P(!1))})).catch((e=>console.log(e)))},selectedData:e=>{"function"==typeof A&&A(e.concatedAddress),"function"==typeof t&&t(e,{openIndividualLineCheck:!1,availabilityCheckClicked:!1})},inputClassName:`${l?$t:""} ${m||u?"":Yt} ${Ht} form-control `,minLength:null==n?void 0:n.linecheckMinLength,maxLength:null==n?void 0:n.linecheckMaxLength,name:d,content:n,addressNotFound:E,setApiError:s,setFetchingLineCheck:c,checkAvailability:u,FetchingLineCheck:m,setaddressNotFound:P}),T&&e.createElement("p",{className:Wt},null==n?void 0:n.errorMsg),e.createElement("div",{className:Gt},!D&&l&&e.createElement("p",{className:Wt},e.createElement("img",{src:null===(w=null===(y=null===(b=null==n?void 0:n.linecheckIcons)||void 0===b?void 0:b[0])||void 0===y?void 0:y.warning)||void 0===w?void 0:w.filename,height:"12px",width:"16px",alt:"alert"}),null==n?void 0:n.requiredFieldText)),a&&"mobile"==j&&!M&&!m&&e.createElement("p",{className:Kt,onClick:()=>{"function"==typeof R&&R(!0),"function"==typeof g&&g(Object.assign(Object.assign({},f),{indOpen:!0}))}},null==n?void 0:n.noAddress,e.createElement("span",null,e.createElement("img",{src:null===(S=null==n?void 0:n.arrowIcon)||void 0===S?void 0:S.filename,height:24,width:24,alt:"right-arrow"}))),E&&!M&&!m&&e.createElement("div",null,"mobile"===j&&e.createElement("p",{className:Kt,onClick:()=>{"function"==typeof R&&R(!0),"function"==typeof g&&g(Object.assign(Object.assign({},f),{indOpen:!0}))}},null==n?void 0:n.noAddress,e.createElement("span",null,e.createElement("img",{src:null===(C=null==n?void 0:n.arrowIcon)||void 0===C?void 0:C.filename,height:24,width:24,alt:"right-arrow"})))),M&&e.createElement(Ft,{parentCallBackIndividual:(e,n)=>{""!==(null==e?void 0:e.postCode)&&""!==e.city&&""!==e.houseNumber&&""!==e.street&&""!==e.concatedAddress&&"function"==typeof t&&t(e,{openIndividualLineCheck:M,availabilityCheckClicked:n})},content:n,apiError:a,setApiError:s,setFetchingLineCheck:c,setSelectedAddress:_,openIndividualLineCheck:M,FetchingLineCheck:m,addressRef:v,selected:h,addressNotFound:E,setaddressNotFound:P,isAddressNotFilled:l,setAddressNotFilled:x,setIndivialOpen:g}),(E&&!M||!m&&!E&&M)&&"mobile"!=j&&e.createElement(e.Fragment,null,!(!m&&!E&&M)&&e.createElement("div",{className:Jt},e.createElement("p",{className:`${qt} ${Xt} `,onClick:()=>{"function"==typeof R&&R(!0),"function"==typeof g&&g(Object.assign(Object.assign({},f),{indOpen:!0}))}},null==n?void 0:n.noAddress,e.createElement("span",null,e.createElement("img",{src:null===(k=null==n?void 0:n.arrowIcon)||void 0===k?void 0:k.filename,height:24,width:24,alt:"right-arrow"}))))))}));var Zt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ei(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ni={},oi={
2
2
  /*!
3
3
  * cookie
4
4
  * Copyright(c) 2012-2014 Roman Shtylman