@hhgtech/hhg-components 1.29.535 → 1.29.537-beta-1

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 (583) hide show
  1. package/build/{InputDate-3427be78.js → InputDate-19ce6c32.js} +5 -5
  2. package/build/{LastPeriod-1446b769.js → LastPeriod-e03a0c85.js} +1 -1
  3. package/build/{MobileBottomNavigationIcon-6fe8c437.js → MobileBottomNavigationIcon-5bbac21d.js} +3 -3
  4. package/build/{SiteWideBanner-0a8bb37a.js → SiteWideBanner-72a3cdcc.js} +11 -11
  5. package/build/{Spinner-1131034f.js → Spinner-221c2cb1.js} +1 -1
  6. package/build/{WhatsApp-43f3cbb3.js → WhatsApp-79dbfddf.js} +1 -1
  7. package/build/adapters.js +20 -20
  8. package/build/atoms.js +54 -54
  9. package/build/babyGrowth.js +86 -86
  10. package/build/cache.js +2 -2
  11. package/build/care.js +22 -22
  12. package/build/careBookingSearchBar.js +14 -14
  13. package/build/careBookingSearchBarV2.js +19 -19
  14. package/build/components/atoms/drawerBottom/index.d.ts +6 -3
  15. package/build/components/mantine/modal/index.d.ts +3 -3
  16. package/build/components/molecules/healthTools/form/bmiForm/UnitPicker.d.ts +4 -5
  17. package/build/components/molecules/healthTools/form/bmiForm/index.d.ts +2 -1
  18. package/build/components/molecules/index.d.ts +5 -1
  19. package/build/components/molecules/popupBoostArticleCard/boostCardArticleAuthorName.d.ts +10 -0
  20. package/build/components/molecules/popupBoostArticleCard/getAuthorForBoostCard.d.ts +19 -0
  21. package/build/components/molecules/popupBoostArticleCard/index.d.ts +11 -0
  22. package/build/components/molecules/popupBoostArticleCard/index.styled.d.ts +16 -0
  23. package/build/components/molecules/popupBoostArticleCard/renderBoostUploadTime.d.ts +2 -0
  24. package/build/components/molecules/popupBoostPageView/index.d.ts +33 -0
  25. package/build/components/molecules/popupBoostPageView/tracking.d.ts +13 -0
  26. package/build/components/molecules/productDetail/generalInfo/constants.d.ts +1 -0
  27. package/build/components/molecules/productDetail/generalInfo/index.styled.d.ts +1 -0
  28. package/build/components/organisms/collectPhoneNumber/index.styled.d.ts +1 -0
  29. package/build/components/organisms/popupRequestConsultation/index.styled.d.ts +1 -0
  30. package/build/components.js +157 -154
  31. package/build/{constants-f6241cd0.js → constants-362d1299.js} +3 -2
  32. package/build/{constants-a3ede3a6.js → constants-7487e6fd.js} +1 -1
  33. package/build/constants.js +3 -3
  34. package/build/constantsDomainLocales.js +1 -1
  35. package/build/constantsRiskScreener.js +2 -2
  36. package/build/constantsSite.js +2 -2
  37. package/build/{core-bcd6170d.js → core-65b00c19.js} +1 -1
  38. package/build/{dataTransform-d8bdb5d6.js → dataTransform-90042446.js} +1 -1
  39. package/build/ecom.js +5 -5
  40. package/build/{editor-5d66a3a4.js → editor-cedf6a19.js} +11 -11
  41. package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
  42. package/build/embeddedHeathToolCards_babyPoop.js +22 -22
  43. package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
  44. package/build/embeddedHeathToolCards_bmi_bmi.js +28 -28
  45. package/build/embeddedHeathToolCards_bmrBmr.js +29 -29
  46. package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
  47. package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
  48. package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
  49. package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
  50. package/build/esm/{InputDate-948c7279.js → InputDate-e0ddb571.js} +5 -5
  51. package/build/esm/{LastPeriod-fa56d43c.js → LastPeriod-d35f20e0.js} +1 -1
  52. package/build/esm/{MobileBottomNavigationIcon-af2cca24.js → MobileBottomNavigationIcon-d3f63232.js} +3 -3
  53. package/build/esm/{SiteWideBanner-01ff6f25.js → SiteWideBanner-e5ec5bce.js} +11 -11
  54. package/build/esm/{Spinner-98bd4461.js → Spinner-32d7f162.js} +1 -1
  55. package/build/esm/{WhatsApp-5c39b7d4.js → WhatsApp-b50480a1.js} +1 -1
  56. package/build/esm/adapters.js +20 -20
  57. package/build/esm/atoms.js +53 -53
  58. package/build/esm/babyGrowth.js +86 -86
  59. package/build/esm/cache.js +2 -2
  60. package/build/esm/care.js +22 -22
  61. package/build/esm/careBookingSearchBar.js +14 -14
  62. package/build/esm/careBookingSearchBarV2.js +19 -19
  63. package/build/esm/components/atoms/drawerBottom/index.d.ts +6 -3
  64. package/build/esm/components/mantine/modal/index.d.ts +3 -3
  65. package/build/esm/components/molecules/healthTools/form/bmiForm/UnitPicker.d.ts +4 -5
  66. package/build/esm/components/molecules/healthTools/form/bmiForm/index.d.ts +2 -1
  67. package/build/esm/components/molecules/index.d.ts +5 -1
  68. package/build/esm/components/molecules/popupBoostArticleCard/boostCardArticleAuthorName.d.ts +10 -0
  69. package/build/esm/components/molecules/popupBoostArticleCard/getAuthorForBoostCard.d.ts +19 -0
  70. package/build/esm/components/molecules/popupBoostArticleCard/index.d.ts +11 -0
  71. package/build/esm/components/molecules/popupBoostArticleCard/index.styled.d.ts +16 -0
  72. package/build/esm/components/molecules/popupBoostArticleCard/renderBoostUploadTime.d.ts +2 -0
  73. package/build/esm/components/molecules/popupBoostPageView/index.d.ts +33 -0
  74. package/build/esm/components/molecules/popupBoostPageView/tracking.d.ts +13 -0
  75. package/build/esm/components/molecules/productDetail/generalInfo/constants.d.ts +1 -0
  76. package/build/esm/components/molecules/productDetail/generalInfo/index.styled.d.ts +1 -0
  77. package/build/esm/components/organisms/collectPhoneNumber/index.styled.d.ts +1 -0
  78. package/build/esm/components/organisms/popupRequestConsultation/index.styled.d.ts +1 -0
  79. package/build/esm/components.js +110 -110
  80. package/build/esm/{constants-bca49486.js → constants-2398da08.js} +3 -3
  81. package/build/esm/{constants-0ff9e2c6.js → constants-fb2d85b7.js} +1 -1
  82. package/build/esm/constants.js +3 -3
  83. package/build/esm/constantsDomainLocales.js +1 -1
  84. package/build/esm/constantsRiskScreener.js +2 -2
  85. package/build/esm/constantsSite.js +2 -2
  86. package/build/esm/{core-039176c1.js → core-6784eea3.js} +1 -1
  87. package/build/esm/{dataTransform-31be9d98.js → dataTransform-1cf6bd7f.js} +2 -2
  88. package/build/esm/ecom.js +5 -5
  89. package/build/esm/{editor-c6123809.js → editor-4f27faa4.js} +11 -11
  90. package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
  91. package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
  92. package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
  93. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +28 -28
  94. package/build/esm/embeddedHeathToolCards_bmrBmr.js +29 -29
  95. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
  96. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
  97. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
  98. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
  99. package/build/esm/footer.js +22 -22
  100. package/build/esm/gAssets.js +2 -2
  101. package/build/esm/{healthTools-ba3cfbff.js → healthTools-587af33d.js} +1 -1
  102. package/build/esm/healthToolsCardWrapper.js +20 -20
  103. package/build/esm/healthToolsForm.js +36 -36
  104. package/build/esm/hooks.js +14 -14
  105. package/build/esm/i18n/translationKeys.d.ts +1 -1
  106. package/build/esm/i18n-values/en-PH.js +12 -0
  107. package/build/esm/i18n-values/hi-IN.js +12 -0
  108. package/build/esm/i18n-values/id-ID.js +12 -0
  109. package/build/esm/i18n-values/km-KH.js +12 -0
  110. package/build/esm/i18n-values/ms-MY.js +12 -0
  111. package/build/esm/i18n-values/my-MM.js +12 -0
  112. package/build/esm/i18n-values/th-TH.js +12 -0
  113. package/build/esm/i18n-values/tl-PH.js +12 -0
  114. package/build/esm/i18n-values/vi-VN.js +12 -0
  115. package/build/esm/i18n-values/vi-VN_MB.js +12 -0
  116. package/build/esm/i18n-values/zh-SG.js +12 -0
  117. package/build/esm/i18n-values/zh-TW.js +12 -0
  118. package/build/esm/i18n.js +2 -2
  119. package/build/esm/i18nV2.js +2 -2
  120. package/build/esm/{index-d1d6192f.js → index-00c1029f.js} +3 -3
  121. package/build/esm/{index-8bde61e4.js → index-0142d22a.js} +3 -3
  122. package/build/esm/{index-81155d65.js → index-09f6ef1e.js} +11 -11
  123. package/build/esm/{index-9587bce9.js → index-0ba6e582.js} +2 -2
  124. package/build/esm/{index-c026f5c8.js → index-0e32619b.js} +9 -9
  125. package/build/esm/{index-560abde8.js → index-0f306c2c.js} +2 -2
  126. package/build/esm/{index-bd830446.js → index-157ac67c.js} +1 -1
  127. package/build/esm/{index-2a6aac91.js → index-19ee9e8f.js} +8 -3
  128. package/build/esm/{index-7a953a92.js → index-1a817f23.js} +25 -24
  129. package/build/esm/{index-3cff246c.js → index-22c474de.js} +8 -8
  130. package/build/esm/{index-70c594ce.js → index-258a0f64.js} +6 -6
  131. package/build/esm/{index-3477fe0a.js → index-268f9404.js} +3 -3
  132. package/build/esm/{index-619190b6.js → index-271395d2.js} +1 -1
  133. package/build/esm/{index-2c729872.js → index-2e041ba1.js} +2 -2
  134. package/build/esm/index-2fb9d703.js +120 -0
  135. package/build/esm/{index-21fa110f.js → index-307b43b4.js} +13 -13
  136. package/build/esm/{index-21ca5a54.js → index-327ef6b3.js} +32 -32
  137. package/build/esm/{index-570af628.js → index-36070e8a.js} +2 -2
  138. package/build/esm/{index-129e6e82.js → index-3a0b12b5.js} +34 -34
  139. package/build/esm/{index-41ffc38e.js → index-3a5eaf24.js} +14 -14
  140. package/build/esm/{index-63dafe5b.js → index-416b0279.js} +16 -16
  141. package/build/esm/{index-f4f00ca5.js → index-4916f94a.js} +12 -12
  142. package/build/esm/{index-733b3482.js → index-4c4d22c7.js} +1 -1
  143. package/build/esm/{index-8fcd05f8.js → index-514d24db.js} +32 -32
  144. package/build/esm/{index-4e5ca389.js → index-538e8cd2.js} +18 -18
  145. package/build/esm/{index-79aff428.js → index-5529ebed.js} +3 -3
  146. package/build/esm/{index-ab91bcc6.js → index-557cec93.js} +3 -3
  147. package/build/esm/{index-3ab20bcc.js → index-5f8525e0.js} +18 -18
  148. package/build/esm/{index-3e97c2e1.js → index-649ac860.js} +1 -1
  149. package/build/esm/{index-c2d2601e.js → index-65f0d350.js} +16 -16
  150. package/build/esm/{index-b0ab4d59.js → index-6b03daea.js} +14 -14
  151. package/build/esm/{index-2144f0d9.js → index-723442ee.js} +2 -2
  152. package/build/esm/{index-83058912.js → index-75b1470c.js} +15 -15
  153. package/build/esm/{index-6286381d.js → index-776e9af1.js} +22 -22
  154. package/build/esm/{index-1151b9b1.js → index-7deaccf5.js} +15 -15
  155. package/build/esm/{index-7267f522.js → index-82e4c85c.js} +3 -3
  156. package/build/esm/{index-877b68ac.js → index-861983a5.js} +26 -26
  157. package/build/esm/{index-dcfa0484.js → index-87e6d4d7.js} +2 -2
  158. package/build/esm/{index-82bd811a.js → index-88af445b.js} +2 -2
  159. package/build/esm/{index-4faae617.js → index-9519f3a5.js} +5 -5
  160. package/build/esm/{index-75af317c.js → index-9897596d.js} +6 -6
  161. package/build/esm/{index-350a2179.js → index-9c3e78a9.js} +4 -4
  162. package/build/esm/{index-8d9fd526.js → index-9d859c38.js} +2 -2
  163. package/build/esm/{index-b5cb43be.js → index-9f068e82.js} +13 -13
  164. package/build/esm/{index-782d07dd.js → index-a0f53a60.js} +6 -6
  165. package/build/esm/{index-5ebe77e1.js → index-ab982b84.js} +25 -25
  166. package/build/esm/{index-d864ad10.js → index-af9c7faa.js} +2 -2
  167. package/build/esm/{index-c5e586a7.js → index-b1d5d780.js} +14 -14
  168. package/build/esm/{index-0840ce77.js → index-b29b69af.js} +15 -15
  169. package/build/esm/{index-6045ff70.js → index-b91873a4.js} +7 -7
  170. package/build/esm/{index-63eaf38b.js → index-bd700402.js} +2 -2
  171. package/build/esm/{index-d7adbd8c.js → index-be940957.js} +3 -3
  172. package/build/esm/{index-4bed6d97.js → index-bf5f9c8a.js} +17 -17
  173. package/build/esm/{index-6c2f1f11.js → index-c5bb5e9d.js} +21 -21
  174. package/build/esm/{index-f6da221e.js → index-cd656759.js} +9 -9
  175. package/build/esm/{index-07cff58f.js → index-cdc53951.js} +2 -2
  176. package/build/esm/{index-8efcbfda.js → index-d1241d2e.js} +2 -2
  177. package/build/esm/{index-ed2192ef.js → index-d213dade.js} +2 -2
  178. package/build/esm/{index-2c81a088.js → index-d55f39c4.js} +6 -6
  179. package/build/esm/{index-52919b50.js → index-d7de0fac.js} +3 -111
  180. package/build/esm/{index-326c69bb.js → index-db23aa37.js} +3 -3
  181. package/build/esm/{index-4c3d7535.js → index-e28977c2.js} +3 -3
  182. package/build/esm/{index-8545dfd2.js → index-e8688d7d.js} +1 -1
  183. package/build/esm/{index-1c6a96de.js → index-e880f40e.js} +2 -2
  184. package/build/esm/{index-826143cb.js → index-ed4d86d2.js} +7 -7
  185. package/build/esm/{index-53ceacfd.js → index-f0a9ebe8.js} +16 -16
  186. package/build/esm/{index-8c303676.js → index-f2d22d03.js} +16 -16
  187. package/build/esm/{index-6000efaf.js → index-f3039502.js} +2 -2
  188. package/build/esm/{index-328686fe.js → index-f49d6b72.js} +2 -2
  189. package/build/esm/{index-7bea1647.js → index-faa0c8a9.js} +29 -6
  190. package/build/esm/{index-4cd240df.js → index-fb958c00.js} +1 -1
  191. package/build/esm/{index-9b269038.js → index-fe82ec92.js} +3 -3
  192. package/build/esm/index.js +131 -131
  193. package/build/esm/{labelSorting-8ba44e64.js → labelSorting-ed4161eb.js} +4 -4
  194. package/build/esm/lead.js +37 -38
  195. package/build/esm/{logoIcon-39bb2792.js → logoIcon-eafea823.js} +2 -2
  196. package/build/esm/mantine.js +27 -27
  197. package/build/esm/misc.js +19 -19
  198. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  199. package/build/esm/miscGetSocialList.js +8 -8
  200. package/build/esm/miscScreenSizeContext.js +1 -1
  201. package/build/esm/mobileBottomNavigation.js +5 -5
  202. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  203. package/build/esm/molecules.js +88 -85
  204. package/build/esm/moleculesArticleCard.js +6 -6
  205. package/build/esm/moleculesArticleCardV2.js +17 -17
  206. package/build/esm/navigation.js +51 -50
  207. package/build/esm/navigationLogoutPopup.js +11 -11
  208. package/build/esm/navigationProfileButton.js +27 -27
  209. package/build/esm/onboardingV2.js +30 -30
  210. package/build/esm/organisms.js +65 -65
  211. package/build/esm/{post-032c21c3.js → post-90fc50a4.js} +2 -2
  212. package/build/esm/profileNavigation.js +20 -20
  213. package/build/esm/progressBar.js +1 -1
  214. package/build/esm/pwg.js +23 -23
  215. package/build/esm/ssoV2/api/index.d.ts +2 -0
  216. package/build/esm/ssoV2/api/paths.d.ts +1 -0
  217. package/build/esm/ssoV2/api/whatsapp.d.ts +5 -1
  218. package/build/esm/ssoV2/screens/components/progressBar.utils.d.ts +1 -0
  219. package/build/esm/ssoV2/screens/whatsAppOTP.d.ts +13 -0
  220. package/build/esm/ssoV2/screens/whatsAppPhoneVerify.d.ts +9 -0
  221. package/build/esm/ssoV2/ssoStateManager/store.d.ts +16 -0
  222. package/build/esm/ssoV2/stepsManager/index.d.ts +2 -0
  223. package/build/esm/ssoV2.js +312 -47
  224. package/build/esm/{store-1f700d5c.js → store-16651a70.js} +66 -4
  225. package/build/esm/subot.js +40 -40
  226. package/build/esm/surveyOrPremiumBanner.js +35 -34
  227. package/build/esm/surveyQuestionCard.js +11 -11
  228. package/build/esm/{surveyThankyouCard-cb68e35b.js → surveyThankyouCard-985011dc.js} +5 -5
  229. package/build/esm/together/api/paths.d.ts +1 -0
  230. package/build/esm/together.js +58 -57
  231. package/build/esm/togetherApiPaths.js +1 -0
  232. package/build/esm/togetherApiUtils.js +6 -6
  233. package/build/esm/togetherAtoms.js +31 -31
  234. package/build/esm/togetherComponentGlobalContext.js +6 -6
  235. package/build/esm/togetherMolecules.js +53 -52
  236. package/build/esm/togetherMoleculesCardAuthor.js +29 -29
  237. package/build/esm/togetherMoleculesPostImagePreview.js +13 -13
  238. package/build/esm/togetherMoleculesProfileDetail.js +41 -40
  239. package/build/esm/togetherOrganisms.js +52 -51
  240. package/build/esm/togetherRichTextEditor.js +20 -20
  241. package/build/esm/togetherShareBox.js +12 -12
  242. package/build/esm/{transform-213aeec0.js → transform-31c4d3f9.js} +677 -37
  243. package/build/esm/{translationsProvider-ac3ca133.js → translationsProvider-b7bd0d66.js} +1 -1
  244. package/build/esm/{treePopoverMenu-73251d0f.js → treePopoverMenu-2e8f2376.js} +19 -19
  245. package/build/esm/types.js +2 -2
  246. package/build/esm/{useCartCareService-f3cf6ad8.js → useCartCareService-4239020d.js} +1 -1
  247. package/build/esm/{useHealthToolCache-33c882e6.js → useHealthToolCache-39c405e4.js} +1 -1
  248. package/build/esm/{usePhoneValidator-b80b46bd.js → usePhoneValidator-4b9b7fea.js} +5 -5
  249. package/build/esm/{usePlacesAutocomplete-ac231c8d.js → usePlacesAutocomplete-0639eae9.js} +1 -1
  250. package/build/esm/useTogetherAuthRequiredAction.js +11 -10
  251. package/build/esm/{utils-ae3038d0.js → utils-01d7bd5f.js} +5 -5
  252. package/build/esm/{utils-4ee1af8f.js → utils-0a1d6790.js} +2 -2
  253. package/build/esm/{utils-f3753abb.js → utils-2e4a3855.js} +2 -2
  254. package/build/esm/{utils-e2a73a44.js → utils-9f1de9e6.js} +4 -4
  255. package/build/esm/{utils-5f0dc921.js → utils-ab3bb43d.js} +4 -4
  256. package/build/esm/vaccination.js +22 -22
  257. package/build/footer.js +22 -22
  258. package/build/gAssets.js +2 -2
  259. package/build/{healthTools-b5177f59.js → healthTools-3b6c6294.js} +1 -1
  260. package/build/healthToolsCardWrapper.js +20 -20
  261. package/build/healthToolsForm.js +36 -36
  262. package/build/hooks.js +14 -14
  263. package/build/i18n/translationKeys.d.ts +1 -1
  264. package/build/i18n-values/en-PH.js +12 -0
  265. package/build/i18n-values/hi-IN.js +12 -0
  266. package/build/i18n-values/id-ID.js +12 -0
  267. package/build/i18n-values/km-KH.js +12 -0
  268. package/build/i18n-values/ms-MY.js +12 -0
  269. package/build/i18n-values/my-MM.js +12 -0
  270. package/build/i18n-values/th-TH.js +12 -0
  271. package/build/i18n-values/tl-PH.js +12 -0
  272. package/build/i18n-values/vi-VN.js +12 -0
  273. package/build/i18n-values/vi-VN_MB.js +12 -0
  274. package/build/i18n-values/zh-SG.js +12 -0
  275. package/build/i18n-values/zh-TW.js +12 -0
  276. package/build/i18n.js +2 -2
  277. package/build/i18nV2.js +1 -1
  278. package/build/{index-4ed10482.js → index-021aebf5.js} +25 -25
  279. package/build/{index-4ea58bb5.js → index-03511f85.js} +16 -16
  280. package/build/{index-708d5d53.js → index-04add9dd.js} +1 -1
  281. package/build/{index-cbdc44f1.js → index-0dfbd196.js} +3 -3
  282. package/build/{index-96ee02a6.js → index-0ff2e63a.js} +17 -17
  283. package/build/{index-9699bfa6.js → index-11131b6a.js} +32 -9
  284. package/build/{index-a886bf9b.js → index-135df1f0.js} +3 -3
  285. package/build/{index-9ef87a42.js → index-189ee940.js} +2 -2
  286. package/build/{index-f501ca9a.js → index-202e1e1c.js} +16 -16
  287. package/build/{index-8109c7c0.js → index-25e608da.js} +68 -67
  288. package/build/{index-f72b0a9a.js → index-26f56c09.js} +2 -2
  289. package/build/{index-0e3e839d.js → index-2b33e137.js} +18 -18
  290. package/build/{index-34be4a1b.js → index-30ba3421.js} +2 -2
  291. package/build/{index-53087815.js → index-31cd5a23.js} +3 -3
  292. package/build/{index-8f25a809.js → index-3264d87e.js} +2 -2
  293. package/build/{index-6afa25cb.js → index-33856b60.js} +29 -5
  294. package/build/{index-ac47cabb.js → index-364a35aa.js} +14 -14
  295. package/build/{index-3a3c7223.js → index-389de256.js} +4 -4
  296. package/build/{index-28c0c07b.js → index-3952067d.js} +8 -8
  297. package/build/{index-56a444ab.js → index-39956db2.js} +18 -18
  298. package/build/{index-ccff099d.js → index-3edff2b5.js} +12 -12
  299. package/build/{index-4b75f01a.js → index-3f8f54c3.js} +13 -13
  300. package/build/{index-81dc039f.js → index-408de451.js} +6 -6
  301. package/build/{index-c2d77523.js → index-51355cb8.js} +1 -1
  302. package/build/{index-d5c4759f.js → index-5b758033.js} +22 -22
  303. package/build/{index-29cb99a7.js → index-5c8d5fbd.js} +10 -10
  304. package/build/{index-8b6959c3.js → index-5def0110.js} +2 -2
  305. package/build/{index-f4b3f00b.js → index-60792db5.js} +2 -1
  306. package/build/{index-c2f9216c.js → index-64c64404.js} +2 -2
  307. package/build/{index-3f2344ca.js → index-6b2bc60b.js} +1 -1
  308. package/build/{index-04d733ac.js → index-70f9ff0e.js} +9 -9
  309. package/build/{index-5571d903.js → index-75d901d0.js} +7 -7
  310. package/build/{index-d92170e8.js → index-77661dad.js} +14 -14
  311. package/build/{index-aa1c12d9.js → index-777c0603.js} +2 -2
  312. package/build/{index-754106e7.js → index-7abd2785.js} +26 -25
  313. package/build/{index-edcf8907.js → index-7b341291.js} +16 -16
  314. package/build/index-823b9326.js +127 -0
  315. package/build/{index-1d6a906d.js → index-826e675d.js} +3 -3
  316. package/build/{index-a155cd7b.js → index-8a764efc.js} +16 -16
  317. package/build/{index-373bf93c.js → index-8d03d824.js} +2 -2
  318. package/build/{index-0c6c079c.js → index-8e990811.js} +2 -2
  319. package/build/{index-8cf17774.js → index-93ec4fbc.js} +2 -2
  320. package/build/{index-dff724c3.js → index-971b2cdb.js} +3 -3
  321. package/build/{index-f739830c.js → index-9e6f849f.js} +16 -16
  322. package/build/{index-27222656.js → index-a1321425.js} +2 -2
  323. package/build/{index-bd29a75f.js → index-a64ba2a9.js} +2 -2
  324. package/build/{index-fe2f3511.js → index-a9d6b7b1.js} +6 -6
  325. package/build/{index-26e5b308.js → index-aad2e511.js} +1 -1
  326. package/build/{index-e6216e46.js → index-acc3ce39.js} +34 -34
  327. package/build/{index-41a4c2e2.js → index-ace4bc84.js} +15 -15
  328. package/build/{index-87c41679.js → index-ae63284b.js} +6 -6
  329. package/build/{index-f4298d46.js → index-b20a1694.js} +15 -15
  330. package/build/{index-9f2ef351.js → index-b3869ea6.js} +3 -3
  331. package/build/{index-2031ac01.js → index-b41e8a8e.js} +2 -2
  332. package/build/{index-66c4d3d2.js → index-b5d4ae40.js} +21 -21
  333. package/build/{index-25dab138.js → index-c19e54c8.js} +1 -1
  334. package/build/{index-f16f4998.js → index-c2e8a80f.js} +14 -14
  335. package/build/{index-7c9b4421.js → index-cc127230.js} +2 -111
  336. package/build/{index-03196425.js → index-ccfe3773.js} +3 -3
  337. package/build/{index-2d012bb6.js → index-d1ea79b2.js} +2 -2
  338. package/build/{index-d8b17a4b.js → index-d48dcf89.js} +32 -32
  339. package/build/{index-61c0e140.js → index-d6fea011.js} +7 -7
  340. package/build/{index-6488fa2a.js → index-d821c3f0.js} +1 -1
  341. package/build/{index-24ad96e8.js → index-dc3a66a6.js} +32 -32
  342. package/build/{index-3bc52d52.js → index-dd6a5461.js} +6 -6
  343. package/build/{index-05e4b1ab.js → index-dfd0679d.js} +13 -13
  344. package/build/{index-0dc9b5ef.js → index-e17b35d9.js} +5 -5
  345. package/build/{index-8e012c2d.js → index-e8b2623f.js} +2 -2
  346. package/build/{index-c7a90b78.js → index-f500863c.js} +11 -11
  347. package/build/{index-c9f8f9a4.js → index-f5c98be1.js} +3 -3
  348. package/build/{index-c55ae5b1.js → index-f7de0729.js} +3 -3
  349. package/build/{index-d9f35748.js → index-fa2c9740.js} +3 -3
  350. package/build/index.js +219 -216
  351. package/build/{labelSorting-95f3645e.js → labelSorting-8193bccd.js} +4 -4
  352. package/build/lead.js +38 -39
  353. package/build/{logoIcon-18c1561d.js → logoIcon-7a263cd5.js} +2 -2
  354. package/build/mantine.js +25 -25
  355. package/build/misc.js +19 -19
  356. package/build/miscGetDynamicHealthTool.js +4 -4
  357. package/build/miscGetSocialList.js +8 -8
  358. package/build/miscScreenSizeContext.js +1 -1
  359. package/build/mobileBottomNavigation.js +5 -5
  360. package/build/mobileBottomNavigationIcon.js +5 -5
  361. package/build/molecules.js +91 -85
  362. package/build/moleculesArticleCard.js +6 -6
  363. package/build/moleculesArticleCardV2.js +17 -17
  364. package/build/navigation.js +51 -50
  365. package/build/navigationLogoutPopup.js +11 -11
  366. package/build/navigationProfileButton.js +27 -27
  367. package/build/onboardingV2.js +29 -29
  368. package/build/organisms.js +65 -65
  369. package/build/{post-2732df9d.js → post-f603fb4e.js} +2 -2
  370. package/build/profileNavigation.js +20 -20
  371. package/build/progressBar.js +1 -1
  372. package/build/pwg.js +23 -23
  373. package/build/ssoV2/api/index.d.ts +2 -0
  374. package/build/ssoV2/api/paths.d.ts +1 -0
  375. package/build/ssoV2/api/whatsapp.d.ts +5 -1
  376. package/build/ssoV2/screens/components/progressBar.utils.d.ts +1 -0
  377. package/build/ssoV2/screens/whatsAppOTP.d.ts +13 -0
  378. package/build/ssoV2/screens/whatsAppPhoneVerify.d.ts +9 -0
  379. package/build/ssoV2/ssoStateManager/store.d.ts +16 -0
  380. package/build/ssoV2/stepsManager/index.d.ts +2 -0
  381. package/build/ssoV2.js +325 -60
  382. package/build/{store-6dfc8a9c.js → store-483c56d4.js} +66 -3
  383. package/build/subot.js +39 -39
  384. package/build/surveyOrPremiumBanner.js +35 -34
  385. package/build/surveyQuestionCard.js +11 -11
  386. package/build/{surveyThankyouCard-60038fca.js → surveyThankyouCard-680e630d.js} +5 -5
  387. package/build/together/api/paths.d.ts +1 -0
  388. package/build/together.js +58 -57
  389. package/build/togetherApiPaths.js +1 -0
  390. package/build/togetherApiUtils.js +6 -6
  391. package/build/togetherAtoms.js +31 -31
  392. package/build/togetherComponentGlobalContext.js +6 -6
  393. package/build/togetherMolecules.js +53 -52
  394. package/build/togetherMoleculesCardAuthor.js +29 -29
  395. package/build/togetherMoleculesPostImagePreview.js +13 -13
  396. package/build/togetherMoleculesProfileDetail.js +41 -40
  397. package/build/togetherOrganisms.js +52 -51
  398. package/build/togetherRichTextEditor.js +20 -20
  399. package/build/togetherShareBox.js +12 -12
  400. package/build/{transform-bfd7a500.js → transform-e15a4a9a.js} +683 -39
  401. package/build/{translationsProvider-88fce3af.js → translationsProvider-b46bf413.js} +1 -1
  402. package/build/{treePopoverMenu-0052aac2.js → treePopoverMenu-f26f78d5.js} +19 -19
  403. package/build/types.js +2 -2
  404. package/build/{useCartCareService-c40b7b9e.js → useCartCareService-74e2b733.js} +1 -1
  405. package/build/{useHealthToolCache-cc8fdabe.js → useHealthToolCache-1373169e.js} +1 -1
  406. package/build/{usePhoneValidator-518992e1.js → usePhoneValidator-adedb390.js} +5 -5
  407. package/build/{usePlacesAutocomplete-a4fd01b4.js → usePlacesAutocomplete-70a88d05.js} +1 -1
  408. package/build/useTogetherAuthRequiredAction.js +11 -10
  409. package/build/{utils-5740f62f.js → utils-2c14adf6.js} +2 -2
  410. package/build/{utils-80b5ee93.js → utils-2d3c7c56.js} +4 -4
  411. package/build/{utils-b9a07f10.js → utils-63a88554.js} +3 -3
  412. package/build/{utils-b7f70a01.js → utils-b944235c.js} +2 -2
  413. package/build/{utils-ee598e4a.js → utils-d524ad36.js} +5 -5
  414. package/build/vaccination.js +22 -22
  415. package/package.json +1 -1
  416. package/build/Close-481b1188.js +0 -29
  417. package/build/esm/Close-95af7d68.js +0 -7
  418. /package/build/{BMI_BOYS.percentile.monthly-7765cd83.js → BMI_BOYS.percentile.monthly-14873292.js} +0 -0
  419. /package/build/{BMI_BOYS.percentile.weekly-c84a018e.js → BMI_BOYS.percentile.weekly-67196bbd.js} +0 -0
  420. /package/build/{BMI_BOYS.percentile.yearly-187efb16.js → BMI_BOYS.percentile.yearly-2d701710.js} +0 -0
  421. /package/build/{BMI_BOYS.zscore.monthly-ba673729.js → BMI_BOYS.zscore.monthly-ed14fd10.js} +0 -0
  422. /package/build/{BMI_BOYS.zscore.weekly-f3b80109.js → BMI_BOYS.zscore.weekly-9f45a35d.js} +0 -0
  423. /package/build/{BMI_BOYS.zscore.yearly-988e4ccb.js → BMI_BOYS.zscore.yearly-78fbc926.js} +0 -0
  424. /package/build/{BMI_GIRLS.percentile.monthly-a32fd123.js → BMI_GIRLS.percentile.monthly-36446645.js} +0 -0
  425. /package/build/{BMI_GIRLS.percentile.weekly-1e09b385.js → BMI_GIRLS.percentile.weekly-73c73536.js} +0 -0
  426. /package/build/{BMI_GIRLS.percentile.yearly-78e97925.js → BMI_GIRLS.percentile.yearly-c58b1032.js} +0 -0
  427. /package/build/{BMI_GIRLS.zscore.monthly-d68a56dd.js → BMI_GIRLS.zscore.monthly-d8d73827.js} +0 -0
  428. /package/build/{BMI_GIRLS.zscore.weekly-e45f2065.js → BMI_GIRLS.zscore.weekly-d46682c5.js} +0 -0
  429. /package/build/{BMI_GIRLS.zscore.yearly-1ea6ced1.js → BMI_GIRLS.zscore.yearly-944f77b1.js} +0 -0
  430. /package/build/{ChevronDown-9b97784a.js → ChevronDown-e0b91cc1.js} +0 -0
  431. /package/build/{Google-1ea12bee.js → Google-a5347711.js} +0 -0
  432. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-97d39389.js → HEAD CIRCUM_BOYS.percentile.monthly-fee16754.js} +0 -0
  433. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-c2362a75.js → HEAD CIRCUM_BOYS.percentile.weekly-17bb70ed.js} +0 -0
  434. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-2bd28907.js → HEAD CIRCUM_BOYS.percentile.yearly-ae93b0e0.js} +0 -0
  435. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-5f625d6b.js → HEAD CIRCUM_BOYS.zscore.monthly-ca793df6.js} +0 -0
  436. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-75070e4c.js → HEAD CIRCUM_BOYS.zscore.weekly-84796e9d.js} +0 -0
  437. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-97d4a757.js → HEAD CIRCUM_BOYS.zscore.yearly-ba9e3b42.js} +0 -0
  438. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-516121fa.js → HEAD CIRCUM_GIRLS.percentile.monthly-f5060610.js} +0 -0
  439. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-eaf15748.js → HEAD CIRCUM_GIRLS.percentile.weekly-87642825.js} +0 -0
  440. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-d0f4f898.js → HEAD CIRCUM_GIRLS.percentile.yearly-2091b708.js} +0 -0
  441. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-67760729.js → HEAD CIRCUM_GIRLS.zscore.monthly-67d33731.js} +0 -0
  442. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e2a5961f.js → HEAD CIRCUM_GIRLS.zscore.weekly-b76a5c71.js} +0 -0
  443. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-40de7251.js → HEAD CIRCUM_GIRLS.zscore.yearly-1fad9a4e.js} +0 -0
  444. /package/build/{HEIGHT_BOYS.percentile.monthly-4100dba0.js → HEIGHT_BOYS.percentile.monthly-4990bcbe.js} +0 -0
  445. /package/build/{HEIGHT_BOYS.percentile.weekly-fa2b3234.js → HEIGHT_BOYS.percentile.weekly-a464b0dc.js} +0 -0
  446. /package/build/{HEIGHT_BOYS.percentile.yearly-188ef54d.js → HEIGHT_BOYS.percentile.yearly-c5e1e85f.js} +0 -0
  447. /package/build/{HEIGHT_BOYS.zscore.monthly-1159425d.js → HEIGHT_BOYS.zscore.monthly-8d1bb61c.js} +0 -0
  448. /package/build/{HEIGHT_BOYS.zscore.weekly-91e40279.js → HEIGHT_BOYS.zscore.weekly-12dbea5c.js} +0 -0
  449. /package/build/{HEIGHT_BOYS.zscore.yearly-28f83679.js → HEIGHT_BOYS.zscore.yearly-2b82faf8.js} +0 -0
  450. /package/build/{HEIGHT_GIRLS.percentile.monthly-f2ee3a93.js → HEIGHT_GIRLS.percentile.monthly-a74914c3.js} +0 -0
  451. /package/build/{HEIGHT_GIRLS.percentile.weekly-188b9e9f.js → HEIGHT_GIRLS.percentile.weekly-8df25f32.js} +0 -0
  452. /package/build/{HEIGHT_GIRLS.percentile.yearly-885e6c9a.js → HEIGHT_GIRLS.percentile.yearly-07b39ddc.js} +0 -0
  453. /package/build/{HEIGHT_GIRLS.zscore.monthly-c3486aa2.js → HEIGHT_GIRLS.zscore.monthly-3e8e9286.js} +0 -0
  454. /package/build/{HEIGHT_GIRLS.zscore.weekly-75f70e7b.js → HEIGHT_GIRLS.zscore.weekly-8f287400.js} +0 -0
  455. /package/build/{HEIGHT_GIRLS.zscore.yearly-58c98edc.js → HEIGHT_GIRLS.zscore.yearly-0e8795ac.js} +0 -0
  456. /package/build/{Locale-43df1985.js → Locale-76638afe.js} +0 -0
  457. /package/build/{Visible-7152ca76.js → Visible-0b931bd5.js} +0 -0
  458. /package/build/{WEIGHT_BOYS.percentile.monthly-88e5fa67.js → WEIGHT_BOYS.percentile.monthly-9e3411a9.js} +0 -0
  459. /package/build/{WEIGHT_BOYS.percentile.weekly-97487c84.js → WEIGHT_BOYS.percentile.weekly-63796d56.js} +0 -0
  460. /package/build/{WEIGHT_BOYS.percentile.yearly-23c67d07.js → WEIGHT_BOYS.percentile.yearly-9741641b.js} +0 -0
  461. /package/build/{WEIGHT_BOYS.zscore.monthly-8c01c78a.js → WEIGHT_BOYS.zscore.monthly-dcd9c35c.js} +0 -0
  462. /package/build/{WEIGHT_BOYS.zscore.weekly-58c6a750.js → WEIGHT_BOYS.zscore.weekly-43bf5c92.js} +0 -0
  463. /package/build/{WEIGHT_BOYS.zscore.yearly-9cdfa18f.js → WEIGHT_BOYS.zscore.yearly-b07533f8.js} +0 -0
  464. /package/build/{WEIGHT_GIRLS.percentile.monthly-b6aded0c.js → WEIGHT_GIRLS.percentile.monthly-02ec8c09.js} +0 -0
  465. /package/build/{WEIGHT_GIRLS.percentile.weekly-b4769138.js → WEIGHT_GIRLS.percentile.weekly-fd9a4c0d.js} +0 -0
  466. /package/build/{WEIGHT_GIRLS.percentile.yearly-f09552da.js → WEIGHT_GIRLS.percentile.yearly-e3f4bdf1.js} +0 -0
  467. /package/build/{WEIGHT_GIRLS.zscore.monthly-4974b14f.js → WEIGHT_GIRLS.zscore.monthly-421dd235.js} +0 -0
  468. /package/build/{WEIGHT_GIRLS.zscore.weekly-35602ab5.js → WEIGHT_GIRLS.zscore.weekly-d15509b3.js} +0 -0
  469. /package/build/{WEIGHT_GIRLS.zscore.yearly-4695ad6d.js → WEIGHT_GIRLS.zscore.yearly-4c36f452.js} +0 -0
  470. /package/build/{ageGenerate-d57a2a14.js → ageGenerate-a2c34efa.js} +0 -0
  471. /package/build/{animation-86c0dd05.js → animation-56bca183.js} +0 -0
  472. /package/build/{constants-6eb78cd1.js → constants-421ff351.js} +0 -0
  473. /package/build/{constants-52d3c2a4.js → constants-82e354f7.js} +0 -0
  474. /package/build/{constants-41d2f9b3.js → constants-e17e808f.js} +0 -0
  475. /package/build/{context-15b56707.js → context-f3c58a1e.js} +0 -0
  476. /package/build/{dataTransform-9a17546c.js → dataTransform-c36ec863.js} +0 -0
  477. /package/build/esm/{BMI_BOYS.percentile.monthly-78640359.js → BMI_BOYS.percentile.monthly-e94014ac.js} +0 -0
  478. /package/build/esm/{BMI_BOYS.percentile.weekly-defd8e02.js → BMI_BOYS.percentile.weekly-cf3b26ca.js} +0 -0
  479. /package/build/esm/{BMI_BOYS.percentile.yearly-e43716a1.js → BMI_BOYS.percentile.yearly-4e776553.js} +0 -0
  480. /package/build/esm/{BMI_BOYS.zscore.monthly-d6b3450c.js → BMI_BOYS.zscore.monthly-96a79a05.js} +0 -0
  481. /package/build/esm/{BMI_BOYS.zscore.weekly-ae701367.js → BMI_BOYS.zscore.weekly-bba7c87a.js} +0 -0
  482. /package/build/esm/{BMI_BOYS.zscore.yearly-ef820b3b.js → BMI_BOYS.zscore.yearly-5b3d410c.js} +0 -0
  483. /package/build/esm/{BMI_GIRLS.percentile.monthly-a0cdac1b.js → BMI_GIRLS.percentile.monthly-5b2bb8df.js} +0 -0
  484. /package/build/esm/{BMI_GIRLS.percentile.weekly-eb361b60.js → BMI_GIRLS.percentile.weekly-83635a0e.js} +0 -0
  485. /package/build/esm/{BMI_GIRLS.percentile.yearly-37bf4a25.js → BMI_GIRLS.percentile.yearly-f8ded313.js} +0 -0
  486. /package/build/esm/{BMI_GIRLS.zscore.monthly-fc309a81.js → BMI_GIRLS.zscore.monthly-14c03f4c.js} +0 -0
  487. /package/build/esm/{BMI_GIRLS.zscore.weekly-5c5df811.js → BMI_GIRLS.zscore.weekly-baf805fc.js} +0 -0
  488. /package/build/esm/{BMI_GIRLS.zscore.yearly-d89a5813.js → BMI_GIRLS.zscore.yearly-f9ca2fa6.js} +0 -0
  489. /package/build/esm/{ChevronDown-bc6d4198.js → ChevronDown-8322b610.js} +0 -0
  490. /package/build/esm/{Google-394c451b.js → Google-4e1d0b33.js} +0 -0
  491. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-510a8ff1.js → HEAD CIRCUM_BOYS.percentile.monthly-7e56cd6a.js} +0 -0
  492. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-502a9fb7.js → HEAD CIRCUM_BOYS.percentile.weekly-ccdf0d8a.js} +0 -0
  493. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-887174fc.js → HEAD CIRCUM_BOYS.percentile.yearly-bad968e5.js} +0 -0
  494. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-0075acf6.js → HEAD CIRCUM_BOYS.zscore.monthly-8630e4dd.js} +0 -0
  495. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-6cc809c7.js → HEAD CIRCUM_BOYS.zscore.weekly-2a585297.js} +0 -0
  496. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-8ed18f00.js → HEAD CIRCUM_BOYS.zscore.yearly-67e76c4c.js} +0 -0
  497. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4c3daeff.js → HEAD CIRCUM_GIRLS.percentile.monthly-72d0d4a4.js} +0 -0
  498. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-b2db86a8.js → HEAD CIRCUM_GIRLS.percentile.weekly-b78f88a6.js} +0 -0
  499. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b44c7825.js → HEAD CIRCUM_GIRLS.percentile.yearly-52503bbb.js} +0 -0
  500. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-c0b185fc.js → HEAD CIRCUM_GIRLS.zscore.monthly-eb0b758b.js} +0 -0
  501. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-aac6b030.js → HEAD CIRCUM_GIRLS.zscore.weekly-2575340b.js} +0 -0
  502. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-c7eea373.js → HEAD CIRCUM_GIRLS.zscore.yearly-c9cad9ec.js} +0 -0
  503. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-d90bd8a6.js → HEIGHT_BOYS.percentile.monthly-4b1605a8.js} +0 -0
  504. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-adc3e255.js → HEIGHT_BOYS.percentile.weekly-0b1ac81e.js} +0 -0
  505. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f52f52b7.js → HEIGHT_BOYS.percentile.yearly-d6bef504.js} +0 -0
  506. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-4ea9bd18.js → HEIGHT_BOYS.zscore.monthly-53d3127e.js} +0 -0
  507. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-c41bea3a.js → HEIGHT_BOYS.zscore.weekly-1fc39bd8.js} +0 -0
  508. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-7ed02a79.js → HEIGHT_BOYS.zscore.yearly-aa54e984.js} +0 -0
  509. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-7d274122.js → HEIGHT_GIRLS.percentile.monthly-b8f49a69.js} +0 -0
  510. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-ac8d1134.js → HEIGHT_GIRLS.percentile.weekly-e6c9119e.js} +0 -0
  511. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-3babe617.js → HEIGHT_GIRLS.percentile.yearly-ef33f74f.js} +0 -0
  512. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-9f4c9dd8.js → HEIGHT_GIRLS.zscore.monthly-514a9a1e.js} +0 -0
  513. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-76dbffa4.js → HEIGHT_GIRLS.zscore.weekly-55a8cc67.js} +0 -0
  514. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-1d649480.js → HEIGHT_GIRLS.zscore.yearly-adc7e668.js} +0 -0
  515. /package/build/esm/{Locale-7d1c6b26.js → Locale-8aeb6d32.js} +0 -0
  516. /package/build/esm/{Visible-afb3d9b1.js → Visible-9440460c.js} +0 -0
  517. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-59673d76.js → WEIGHT_BOYS.percentile.monthly-db77618e.js} +0 -0
  518. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-21abf048.js → WEIGHT_BOYS.percentile.weekly-32ccfe09.js} +0 -0
  519. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-d2e398cc.js → WEIGHT_BOYS.percentile.yearly-616433ca.js} +0 -0
  520. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-ee4655d2.js → WEIGHT_BOYS.zscore.monthly-84f77528.js} +0 -0
  521. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-17fc146c.js → WEIGHT_BOYS.zscore.weekly-f1bf771c.js} +0 -0
  522. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-37c77a37.js → WEIGHT_BOYS.zscore.yearly-6d9c5302.js} +0 -0
  523. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d5403a88.js → WEIGHT_GIRLS.percentile.monthly-fb7baf2a.js} +0 -0
  524. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-940a8478.js → WEIGHT_GIRLS.percentile.weekly-f1a5f920.js} +0 -0
  525. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0e56cbc7.js → WEIGHT_GIRLS.percentile.yearly-fb25d9ef.js} +0 -0
  526. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-28900de5.js → WEIGHT_GIRLS.zscore.monthly-d9292e66.js} +0 -0
  527. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-4d9e1a65.js → WEIGHT_GIRLS.zscore.weekly-5f05a9c4.js} +0 -0
  528. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d2e6658c.js → WEIGHT_GIRLS.zscore.yearly-d6fd4762.js} +0 -0
  529. /package/build/esm/{ageGenerate-d750c310.js → ageGenerate-c04259b8.js} +0 -0
  530. /package/build/esm/{animation-79e8c15b.js → animation-6b523976.js} +0 -0
  531. /package/build/esm/{constants-99982074.js → constants-4fcb4107.js} +0 -0
  532. /package/build/esm/{constants-c69968dd.js → constants-78ff1d26.js} +0 -0
  533. /package/build/esm/{constants-e62c892a.js → constants-fd31b544.js} +0 -0
  534. /package/build/esm/{context-dcf2f50a.js → context-a127c10a.js} +0 -0
  535. /package/build/esm/{dataTransform-b577cf3e.js → dataTransform-2286bd06.js} +0 -0
  536. /package/build/esm/{index-294e58af.js → index-37e16100.js} +0 -0
  537. /package/build/esm/{index-1be18719.js → index-389ca966.js} +0 -0
  538. /package/build/esm/{index-580b9497.js → index-8515713a.js} +0 -0
  539. /package/build/esm/{index-90b70591.js → index-887abcf4.js} +0 -0
  540. /package/build/esm/{index-9a8419ed.js → index-b77c05a5.js} +0 -0
  541. /package/build/esm/{index-a34daac2.js → index-d455df81.js} +0 -0
  542. /package/build/esm/{index-2b013c48.js → index-d7e6093a.js} +0 -0
  543. /package/build/esm/{index-e745537d.js → index-ed9488db.js} +0 -0
  544. /package/build/esm/{index-959917ac.js → index-f2c34602.js} +0 -0
  545. /package/build/esm/{index.styles-2ff6ebfe.js → index.styles-0a7b8af0.js} +0 -0
  546. /package/build/esm/{localizeNumberFormat-60f7ee2b.js → localizeNumberFormat-ca8e7c34.js} +0 -0
  547. /package/build/esm/{normalizeLink-156c5870.js → normalizeLink-233a9807.js} +0 -0
  548. /package/build/esm/{number-422d542f.js → number-acd68aba.js} +0 -0
  549. /package/build/esm/{paths-8345bde5.js → paths-258d8e08.js} +0 -0
  550. /package/build/esm/{shared-d06a9253.js → shared-bc0427be.js} +0 -0
  551. /package/build/esm/{translationsContext-e6c3e73e.js → translationsContext-9687e179.js} +0 -0
  552. /package/build/esm/{tslib.es6-a0384612.js → tslib.es6-21073c93.js} +0 -0
  553. /package/build/esm/{types-983d2f6a.js → types-89309471.js} +0 -0
  554. /package/build/esm/{types-fd449320.js → types-ddc0d134.js} +0 -0
  555. /package/build/esm/{useOutsideClick-0a274f76.js → useOutsideClick-6a06a79e.js} +0 -0
  556. /package/build/esm/{useScrollbarSize-53636dd3.js → useScrollbarSize-42408f21.js} +0 -0
  557. /package/build/esm/{useUniqueId-e8c5f49b.js → useUniqueId-65a759d1.js} +0 -0
  558. /package/build/esm/{utils-75979f59.js → utils-0c1f4154.js} +0 -0
  559. /package/build/esm/{utils-7812f9d4.js → utils-3fc4ae39.js} +0 -0
  560. /package/build/{index-adc4d46b.js → index-1b04c7e3.js} +0 -0
  561. /package/build/{index-03dadaf6.js → index-2db9ec51.js} +0 -0
  562. /package/build/{index-1319db01.js → index-5c743544.js} +0 -0
  563. /package/build/{index-c9fea751.js → index-7b1fabeb.js} +0 -0
  564. /package/build/{index-d2f0016a.js → index-99834b8d.js} +0 -0
  565. /package/build/{index-3d01beb9.js → index-9ec7a152.js} +0 -0
  566. /package/build/{index-4cac7c29.js → index-d3ee5b19.js} +0 -0
  567. /package/build/{index-650dd3c0.js → index-e6af4610.js} +0 -0
  568. /package/build/{index-2193dd3d.js → index-fe1844ea.js} +0 -0
  569. /package/build/{index.styles-5ea3e194.js → index.styles-cb786859.js} +0 -0
  570. /package/build/{localizeNumberFormat-163d8505.js → localizeNumberFormat-63e33fcd.js} +0 -0
  571. /package/build/{normalizeLink-744086e1.js → normalizeLink-2d9e4263.js} +0 -0
  572. /package/build/{number-fc662762.js → number-35f3e68f.js} +0 -0
  573. /package/build/{paths-3fe516a0.js → paths-95a8bcbe.js} +0 -0
  574. /package/build/{shared-bf743bec.js → shared-b5dd4ebe.js} +0 -0
  575. /package/build/{translationsContext-63f9475c.js → translationsContext-f7171033.js} +0 -0
  576. /package/build/{tslib.es6-b8ed19ca.js → tslib.es6-23ee393d.js} +0 -0
  577. /package/build/{types-5299e7aa.js → types-79ede9c1.js} +0 -0
  578. /package/build/{types-dbe51e36.js → types-d7711350.js} +0 -0
  579. /package/build/{useOutsideClick-830d0ef0.js → useOutsideClick-742ba261.js} +0 -0
  580. /package/build/{useScrollbarSize-a7ca29c4.js → useScrollbarSize-78521a3f.js} +0 -0
  581. /package/build/{useUniqueId-ded8627b.js → useUniqueId-52e6f76d.js} +0 -0
  582. /package/build/{utils-1ddb71a3.js → utils-2cdd5fb0.js} +0 -0
  583. /package/build/{utils-7b13808f.js → utils-5d61c1bc.js} +0 -0
@@ -1,57 +1,67 @@
1
- import { _ as __rest, a as __awaiter } from './tslib.es6-a0384612.js';
1
+ import { _ as __rest, a as __awaiter } from './tslib.es6-21073c93.js';
2
2
  import * as React from 'react';
3
3
  import React__default, { useRef, useState, useEffect, useImperativeHandle, useMemo, Fragment, useCallback, forwardRef, memo, createContext, useContext } from 'react';
4
- import { R as Radio, a as Carousel } from './index-f6da221e.js';
5
- import { Stack, Group, createStyles, getStylesRef, Box, Badge, rem, Divider, clsx, Button as Button$2, AspectRatio, Modal, Grid } from '@mantine/core';
4
+ import { R as Radio, a as Carousel } from './index-cd656759.js';
5
+ import { Stack, Group, createStyles, getStylesRef, useMantineTheme, Box, Badge, rem, Divider, clsx, Button as Button$2, AspectRatio, Modal as Modal$1, Grid } from '@mantine/core';
6
6
  import '@mantine/dates';
7
- import { L as LOCALE_SPECS, F as FAVICONS, Z as ZINDEX_SSO } from './index-07cff58f.js';
8
- import './index-bd830446.js';
9
- import { C as CommonGAssets } from './index-294e58af.js';
10
- import './index-3cff246c.js';
11
- import { T as Text } from './index-6000efaf.js';
12
- import { B as Button$1 } from './index-d7adbd8c.js';
13
- import './index-2b013c48.js';
14
- import './index.styles-2ff6ebfe.js';
15
- import './translationsContext-e6c3e73e.js';
16
- import '@mantine/hooks';
17
- import { M as MediaQueries } from './utils-75979f59.js';
18
- import './index-4c3d7535.js';
19
- import { i as isInternalLink } from './SiteWideBanner-01ff6f25.js';
7
+ import { L as LOCALE_SPECS, F as FAVICONS, I as ISO_FORMAT, Z as ZINDEX_SSO } from './index-cdc53951.js';
8
+ import './index-157ac67c.js';
9
+ import { C as CommonGAssets } from './index-37e16100.js';
10
+ import './index-22c474de.js';
11
+ import { T as Text } from './index-f3039502.js';
12
+ import { B as Button$1 } from './index-be940957.js';
13
+ import { F as FontWeight } from './index-d7e6093a.js';
14
+ import './index.styles-0a7b8af0.js';
15
+ import './translationsContext-9687e179.js';
16
+ import { useDisclosure } from '@mantine/hooks';
17
+ import { M as MediaQueries } from './utils-0c1f4154.js';
18
+ import './index-e28977c2.js';
19
+ import { i as isInternalLink } from './SiteWideBanner-e5ec5bce.js';
20
20
  import styled from '@emotion/styled';
21
21
  import { theme } from './miscTheme.js';
22
- import { C as Checkbox, a as PureInput, P as Pagination$1, b as SearchInput, I as ImageWrapV2 } from './index-1151b9b1.js';
22
+ import { C as Checkbox, a as PureInput, P as Pagination$1, b as SearchInput, I as ImageWrapV2 } from './index-7deaccf5.js';
23
23
  import { format, isBefore, startOfMonth, addMonths, subMonths, getDaysInMonth, isToday, isSameDay, isWithinInterval, isAfter, isPast } from 'date-fns';
24
24
  import DayPickerInput from 'react-day-picker/DayPickerInput';
25
- import { L as Logo } from './index-75af317c.js';
25
+ import { L as Logo } from './index-9897596d.js';
26
26
  import throttle from 'lodash/throttle';
27
27
  import parse from 'html-react-parser';
28
28
  import { domainLocales } from './constantsDomainLocales.js';
29
29
  import { isProduction } from './constantsIsProduction.js';
30
- import { a as useOutsideClick } from './useOutsideClick-0a274f76.js';
30
+ import { a as useOutsideClick } from './useOutsideClick-6a06a79e.js';
31
31
  import enUS from 'date-fns/locale/en-US';
32
32
  import id from 'date-fns/locale/id';
33
33
  import vi from 'date-fns/locale/vi';
34
34
  import zhTW from 'date-fns/locale/zh-TW';
35
- import { B as Button } from './index-2144f0d9.js';
36
- import { u as useScreenSize, I as ImageWrap } from './index-9587bce9.js';
37
- import { u as useTranslations } from './index-570af628.js';
35
+ import { B as Button } from './index-723442ee.js';
36
+ import { u as useScreenSize, I as ImageWrap } from './index-0ba6e582.js';
37
+ import { u as useTranslations, f as format$1 } from './index-36070e8a.js';
38
38
  import classNames from 'classnames';
39
- import { D as Dropdown } from './index-580b9497.js';
39
+ import { D as Dropdown } from './index-8515713a.js';
40
40
  import { getSocialList } from './miscGetSocialList.js';
41
- import { I as Input } from './index-1c6a96de.js';
42
- import { D as Drawer } from './index-ab91bcc6.js';
41
+ import { I as Input } from './index-e880f40e.js';
42
+ import { D as Drawer } from './index-557cec93.js';
43
+ import { D as DrawerBottom } from './index-2fb9d703.js';
44
+ import { M as Modal } from './index-87e6d4d7.js';
45
+ import { b as formatArticle } from './dataTransform-1cf6bd7f.js';
46
+ import { DISCOVER_PATHS } from './togetherApiPaths.js';
47
+ import { c as callApi, g as getDiscoverApiPath } from './utils-ab3bb43d.js';
48
+ import innertext from 'innertext';
49
+ import { L as LOCALE } from './Locale-8aeb6d32.js';
50
+ import { g as getHelloSitesUrl } from './index-fe82ec92.js';
51
+ import { P as POST_DATE_FORMAT, D as DEFAULT_AVATAR_IMG, a as DEFAULT_IMG } from './constants-2398da08.js';
52
+ import dayjs from 'dayjs';
53
+ import { ArticleCard } from './moleculesArticleCard.js';
43
54
  import { v4 } from 'uuid';
44
- import { L as LOCALE } from './Locale-7d1c6b26.js';
45
55
  import { ArrowRight } from '@hhgtech/icons/arrow';
46
56
  import { MultiStar, Question } from '@hhgtech/icons/other';
47
57
  import Lottie from 'lottie-light-react';
48
- import { A as ArrowRightBlue } from './index-7267f522.js';
49
- import { L as Loading } from './index-560abde8.js';
58
+ import { A as ArrowRightBlue } from './index-82e4c85c.js';
59
+ import { L as Loading } from './index-0f306c2c.js';
50
60
  import get from 'lodash/get';
51
61
  import debounce from 'lodash/debounce';
52
- import { C as Close } from './Close-95af7d68.js';
62
+ import { C as Close } from './index-19ee9e8f.js';
53
63
  import { useAnimationOffsetEffect } from '@mantine/carousel';
54
- import { D as DEFAULT_HEADER_HEIGHT_MOBILE } from './constants-99982074.js';
64
+ import { D as DEFAULT_HEADER_HEIGHT_MOBILE } from './constants-4fcb4107.js';
55
65
 
56
66
  const StarFull = (_a) => {
57
67
  var { color, stroke } = _a, props = __rest(_a, ["color", "stroke"]);
@@ -2790,6 +2800,631 @@ const ShareDrawer = (_a) => {
2790
2800
  }
2791
2801
  };
2792
2802
 
2803
+ const BoostCardArticleAuthorName = (props) => {
2804
+ const { intlKey, formatOptions, formatOptionsProps } = props;
2805
+ const { author_name, expert_display_name, fact_check_display_name, specialty, organisation, post_modified, } = formatOptions || {};
2806
+ const { author_name: formatOptionsPropsAuthorName, expert_display_name: formatOptionsPropsExpertDisplayName, fact_check_display_name: formatOptionsPropsFactCheckDisplayName, specialty: formatOptionsPropsSpecialty, organisation: formatOptionsPropsOrganisation, post_modified: formatOptionsPropsPostModified, } = formatOptionsProps || {};
2807
+ const { t } = useTranslations();
2808
+ const theme = useMantineTheme();
2809
+ const formatOptionsComp = useCallback((p = {}) => {
2810
+ const href = p.href;
2811
+ const Comp = href ? 'a' : 'span';
2812
+ const propsComp = Object.assign({}, p);
2813
+ if (!href) {
2814
+ delete propsComp.href;
2815
+ delete propsComp['data-event-category'];
2816
+ delete propsComp['data-event-action'];
2817
+ delete propsComp['data-event-label'];
2818
+ }
2819
+ return React__default.createElement(Comp, Object.assign({}, propsComp));
2820
+ }, []);
2821
+ return (React__default.createElement(React__default.Fragment, null, format$1(t(intlKey), {
2822
+ author_name: (React__default.createElement("span", { style: {
2823
+ fontWeight: FontWeight.halfBold,
2824
+ color: theme.colors.gray[8],
2825
+ } }, formatOptionsComp(Object.assign(Object.assign({}, author_name), formatOptionsPropsAuthorName)))),
2826
+ expert_display_name: (React__default.createElement("span", { style: {
2827
+ fontWeight: FontWeight.halfBold,
2828
+ color: theme.colors.gray[8],
2829
+ } }, formatOptionsComp(Object.assign(Object.assign({}, expert_display_name), formatOptionsPropsExpertDisplayName)))),
2830
+ fact_check_display_name: (React__default.createElement("span", { style: {
2831
+ fontWeight: FontWeight.halfBold,
2832
+ color: theme.colors.gray[8],
2833
+ } }, formatOptionsComp(Object.assign(Object.assign({}, fact_check_display_name), formatOptionsPropsFactCheckDisplayName)))),
2834
+ specialty: formatOptionsComp(Object.assign(Object.assign({}, specialty), formatOptionsPropsSpecialty)),
2835
+ organisation: formatOptionsComp(Object.assign(Object.assign({}, organisation), formatOptionsPropsOrganisation)),
2836
+ post_modified: formatOptionsComp(Object.assign(Object.assign({}, post_modified), formatOptionsPropsPostModified)),
2837
+ })));
2838
+ };
2839
+
2840
+ const getAuthorFormatOptionsProps = (reviewedUser) => {
2841
+ if (!reviewedUser) {
2842
+ return { children: '' };
2843
+ }
2844
+ if ((reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.profile_url) && (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.turn_off_profile)) {
2845
+ return { children: (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.display_name) || (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.name) || '' };
2846
+ }
2847
+ return {
2848
+ href: reviewedUser.profile_url || '',
2849
+ children: reviewedUser.display_name || reviewedUser.name || '',
2850
+ };
2851
+ };
2852
+ const authorConfigForAssetBase = (assetImageBase) => {
2853
+ const base = assetImageBase.replace(/\/$/, '');
2854
+ return {
2855
+ medical: {
2856
+ intlKey: {
2857
+ long: 'articlePage.reviewed_by.expert.medical',
2858
+ short: 'articlePage.reviewed_by.expert.medical.short',
2859
+ },
2860
+ indicator: `${base}/reviewer-medical.svg`,
2861
+ },
2862
+ expert: {
2863
+ intlKey: {
2864
+ long: 'articlePage.reviewed_by.expert',
2865
+ short: 'articlePage.reviewed_by.expert.short',
2866
+ },
2867
+ indicator: `${base}/reviewer-expert.svg`,
2868
+ },
2869
+ written_by: {
2870
+ intlKey: {
2871
+ long: 'articlePage.written_by.author',
2872
+ short: 'articlePage.written_by.author.short',
2873
+ },
2874
+ indicator: `${base}/reviewer-editor.svg`,
2875
+ },
2876
+ fact_checked_by: {
2877
+ intlKey: {
2878
+ long: 'articlePage.fact_checked_by.author',
2879
+ short: 'articlePage.fact_checked_by.author.short',
2880
+ },
2881
+ indicator: `${base}/reviewer-fact-check.svg`,
2882
+ },
2883
+ };
2884
+ };
2885
+ function getAuthorForBoostCard({ article, locale, assetImageBase, version = 'short', }) {
2886
+ const AUTHOR_CONFIG = authorConfigForAssetBase(assetImageBase);
2887
+ const { expert, author, fact_check, is_author } = article.articleReviewed || {};
2888
+ const articlePostModified = article.postModified || article.modifiedTime;
2889
+ const { avatar: fcAvatar = '', avatar_thumbnail: fcAvatarThumb = '', display_name: fcDisplayName = '', name: fcName = '', profile_url: fcProfileUrl = '', turn_off_profile: fcTurnOffProfile, } = fact_check || {};
2890
+ const modifiedDate = dayjs(articlePostModified);
2891
+ let authorConfig = AUTHOR_CONFIG.fact_checked_by;
2892
+ let avatar = fcAvatarThumb || fcAvatar;
2893
+ let avatar_alt = fcDisplayName || fcName;
2894
+ let avatar_permalink = !fcTurnOffProfile ? fcProfileUrl : '';
2895
+ const post_modified = modifiedDate.isValid()
2896
+ ? modifiedDate.format(ISO_FORMAT[locale].dateFormat)
2897
+ : '';
2898
+ const formatOptions = {
2899
+ expert_display_name: getAuthorFormatOptionsProps(expert),
2900
+ author_name: getAuthorFormatOptionsProps(author),
2901
+ fact_check_display_name: getAuthorFormatOptionsProps(fact_check),
2902
+ post_modified: { children: post_modified },
2903
+ };
2904
+ if (expert) {
2905
+ const ex = expert;
2906
+ const { avatar: exAvatar = '', avatar_thumbnail: exAvatarThumb = '', display_name: exDisplayName = '', name: exName = '', profile_url: exProfileUrl = '', specialty = '', organisation = '', turn_off_profile: exTurnOffProfile, } = ex;
2907
+ formatOptions.specialty = { children: specialty };
2908
+ formatOptions.organisation = { children: organisation };
2909
+ avatar = exAvatarThumb || exAvatar || avatar;
2910
+ avatar_alt = exDisplayName || exName || avatar_alt;
2911
+ avatar_permalink = !exTurnOffProfile ? exProfileUrl || avatar_permalink : '';
2912
+ if (is_author) {
2913
+ authorConfig = AUTHOR_CONFIG.written_by;
2914
+ }
2915
+ else {
2916
+ authorConfig = AUTHOR_CONFIG.expert;
2917
+ }
2918
+ }
2919
+ return {
2920
+ intlKey: authorConfig.intlKey[version],
2921
+ indicator: authorConfig.indicator,
2922
+ avatar,
2923
+ avatar_alt,
2924
+ avatar_permalink,
2925
+ formatOptions,
2926
+ };
2927
+ }
2928
+
2929
+ const StyledAvatarReviewer = styled.div `
2930
+ position: relative;
2931
+ width: 100%;
2932
+ height: 100%;
2933
+ img {
2934
+ border-radius: 50%;
2935
+ object-fit: cover;
2936
+ }
2937
+ .badge {
2938
+ position: absolute;
2939
+ right: 0;
2940
+ bottom: 0;
2941
+ display: flex;
2942
+ }
2943
+ `;
2944
+ styled.div `
2945
+ width: 12px;
2946
+ height: 12px;
2947
+ `;
2948
+ const StyledArticleCard = styled(ArticleCard) `
2949
+ .author .poster p span:not(.author-name) {
2950
+ font-weight: 400;
2951
+ }
2952
+
2953
+ .author .poster p span:not(.name) {
2954
+ color: ${theme.colors.gray800};
2955
+ }
2956
+
2957
+ .author-name {
2958
+ font-weight: 600;
2959
+ }
2960
+ `;
2961
+ const StyledItemImageContain = styled.div `
2962
+ width: 100%;
2963
+ height: 100%;
2964
+ position: relative;
2965
+ `;
2966
+
2967
+ function renderBoostUploadTime(locale, date) {
2968
+ if (!date)
2969
+ return '';
2970
+ if (dayjs(date, POST_DATE_FORMAT).isValid()) {
2971
+ return dayjs(date, POST_DATE_FORMAT).format(ISO_FORMAT[locale].dateFormat);
2972
+ }
2973
+ return date;
2974
+ }
2975
+
2976
+ function PopupBoostArticleCard({ article, isMobile, className = 'article-card', hideBookmark = true, assetImageBase = '/images', }) {
2977
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
2978
+ const { locale: translationsLocale } = useTranslations();
2979
+ const locale = translationsLocale === 'vi-VN_MB'
2980
+ ? LOCALE.Vietnam
2981
+ : translationsLocale;
2982
+ const authorV2 = getAuthorForBoostCard({
2983
+ article,
2984
+ locale,
2985
+ assetImageBase,
2986
+ version: 'short',
2987
+ });
2988
+ const authorUrlDomain = authorV2.avatar_permalink
2989
+ ? `${getHelloSitesUrl(translationsLocale, true)}${authorV2.avatar_permalink}`
2990
+ : '';
2991
+ const domain = domainLocales[translationsLocale];
2992
+ const articleUrlLabel = domain && article.permalink
2993
+ ? `https://${domain}${article.permalink}`
2994
+ : article.permalink || '';
2995
+ const uploadRendered = renderBoostUploadTime(locale, article.modifiedTime);
2996
+ const loc = translationsLocale;
2997
+ const isPremiumUi = loc !== 'vi-VN' && loc !== 'vi-VN_MB' && article.isPremium;
2998
+ const avatarInner = (React__default.createElement(StyledAvatarReviewer, null,
2999
+ React__default.createElement(StyledItemImageContain, null,
3000
+ React__default.createElement("img", { className: "avatar", src: authorV2.avatar || DEFAULT_AVATAR_IMG, alt: authorV2.avatar_alt, width: 24, height: 24, style: {
3001
+ borderRadius: '50%',
3002
+ objectFit: 'cover',
3003
+ display: 'block',
3004
+ } }))));
3005
+ return (React__default.createElement(StyledArticleCard, { isPremium: isPremiumUi, isMobile: isMobile, className: className, dataEventCategoryForBookmark: "Bookmark", dataEventActionForBookmark: "Click", dataEventLabelForBookmark: articleUrlLabel, dataEventLabelForTitle: articleUrlLabel, dataEventLabelForCategory: ((_a = article.category) === null || _a === void 0 ? void 0 : _a.permalink) && domain
3006
+ ? `https://${domain}${article.category.permalink}`
3007
+ : ((_b = article.category) === null || _b === void 0 ? void 0 : _b.permalink) || '', dataEventLabelForBanner: articleUrlLabel, hasAffiliate: article.hasAffiliate, articleLink: article.permalink, categoryLink: ((_c = article.category) === null || _c === void 0 ? void 0 : _c.permalink) || '#', categoryName: ((_d = article.category) === null || _d === void 0 ? void 0 : _d.displayName) ||
3008
+ ((_e = article.category) === null || _e === void 0 ? void 0 : _e.name) ||
3009
+ ((_g = (_f = article.categories) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.displayName) ||
3010
+ ((_j = (_h = article.categories) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.name) ||
3011
+ '', banner: React__default.createElement("img", { src: (isMobile ? article.featureImageMobile : article.featureImage) ||
3012
+ article.featureImage ||
3013
+ DEFAULT_IMG, alt: article.postName, loading: "lazy", style: {
3014
+ width: '100%',
3015
+ height: '100%',
3016
+ objectFit: 'cover',
3017
+ display: 'block',
3018
+ } }), specialty: ((_k = article.expert) === null || _k === void 0 ? void 0 : _k.specialty) || ((_l = article.author) === null || _l === void 0 ? void 0 : _l.specialty) || '', type: "author", size: "md", direction: isMobile ? 'vertical' : 'horizontal', uploadTime: uploadRendered || article.modifiedTime || article.postModified || '', title: innertext(article.postTitle || article.postName || '') || '', text: article.excerpt || article.description || article.postContent
3019
+ ? innertext(article.excerpt ||
3020
+ article.description ||
3021
+ ((_m = article.postContent) === null || _m === void 0 ? void 0 : _m.split('\r\n')[0]) ||
3022
+ '')
3023
+ : '', avatarImg: authorV2.avatar_permalink ? (React__default.createElement("a", { href: authorV2.avatar_permalink, className: "pointer-event-child-none", "data-event-label": authorUrlDomain }, avatarInner)) : (React__default.createElement("span", { className: "pointer-event-child-none" }, avatarInner)), authorName: React__default.createElement("span", { "data-event-label": authorUrlDomain, className: "pointer-event-child-none" },
3024
+ React__default.createElement(BoostCardArticleAuthorName, Object.assign({}, authorV2, { formatOptionsProps: {
3025
+ expert_display_name: {
3026
+ href: '',
3027
+ },
3028
+ } })),
3029
+ "\u00A0"), authorLink: authorV2.avatar_permalink, isBookmarkDisplayed: !hideBookmark, isBookmark: false, onBookmark: hideBookmark ? undefined : () => undefined, styleLabel: {
3030
+ color: ((_o = article.category) === null || _o === void 0 ? void 0 : _o.textColor) || '#008C50',
3031
+ } }));
3032
+ }
3033
+
3034
+ const BOOST_POPUP_TRACKING_CATEGORY = 'Popup Suggest Article';
3035
+ const BOOST_POPUP_GTAG_EVENTS = {
3036
+ swipeToClose: 'swipe_to_close',
3037
+ };
3038
+ const BOOST_POPUP_TRACKING_ACTION = {
3039
+ closeCard: 'Close card',
3040
+ viewDetail: 'View detail',
3041
+ };
3042
+ /** Prefer prop/ref URL; if missing (stale parent, first paint), use live location at send time. */
3043
+ function resolveBoostPopupEventLabel(propUrl) {
3044
+ var _a;
3045
+ const trimmed = typeof propUrl === 'string' ? propUrl.trim() : '';
3046
+ if (trimmed)
3047
+ return trimmed;
3048
+ if (typeof window !== 'undefined' && ((_a = window.location) === null || _a === void 0 ? void 0 : _a.href)) {
3049
+ return window.location.href;
3050
+ }
3051
+ return '';
3052
+ }
3053
+ function pushBoostPopupDataLayerEvent(eventName, eventAction, eventLabel) {
3054
+ if (typeof window === 'undefined')
3055
+ return;
3056
+ const w = window;
3057
+ const event_label = resolveBoostPopupEventLabel(eventLabel);
3058
+ if (!event_label)
3059
+ return;
3060
+ if (Array.isArray(w.dataLayer)) {
3061
+ w.dataLayer.push({
3062
+ event: eventName,
3063
+ event_category: BOOST_POPUP_TRACKING_CATEGORY,
3064
+ event_label,
3065
+ event_action: eventAction,
3066
+ });
3067
+ }
3068
+ }
3069
+ function boostPopupTrackingData(action, label) {
3070
+ return {
3071
+ 'data-event-category': BOOST_POPUP_TRACKING_CATEGORY,
3072
+ 'data-event-action': action,
3073
+ 'data-event-label': (label === null || label === void 0 ? void 0 : label.trim()) || '',
3074
+ };
3075
+ }
3076
+
3077
+ function PopupBoostPageView({ source, articleId, primaryCategoryId, postId, community, isMobile, basePath, currentUrl, getSpotlightTitle, getSpotlightImage, getSpotlightPermalink, getSpotlightContent, }) {
3078
+ const { t, locale } = useTranslations();
3079
+ const modalHeading = t('popupBoostPageView.modalHeading');
3080
+ const viewDetailText = t('popupBoostPageView.viewDetail');
3081
+ const [requestState, setRequestState] = useState('idle');
3082
+ const [boostType, setBoostType] = useState(null);
3083
+ const [boostArticle, setBoostArticle] = useState(null);
3084
+ const [boostCarePath, setBoostCarePath] = useState(null);
3085
+ const [boostCustom, setBoostCustom] = useState(null);
3086
+ const [delaySeconds, setDelaySeconds] = useState(0);
3087
+ const [sessionPopupShown, setSessionPopupShown] = useState(false);
3088
+ const [opened, { open, close }] = useDisclosure(false);
3089
+ const pendingOpenDeadlineRef = useRef(null);
3090
+ const suppressNextOpenRef = useRef(false);
3091
+ const getSpotlightTitleRef = useRef(getSpotlightTitle);
3092
+ const getSpotlightImageRef = useRef(getSpotlightImage);
3093
+ const getSpotlightPermalinkRef = useRef(getSpotlightPermalink);
3094
+ const getSpotlightContentRef = useRef(getSpotlightContent);
3095
+ getSpotlightTitleRef.current = getSpotlightTitle;
3096
+ getSpotlightImageRef.current = getSpotlightImage;
3097
+ getSpotlightPermalinkRef.current = getSpotlightPermalink;
3098
+ getSpotlightContentRef.current = getSpotlightContent;
3099
+ const currentUrlRef = useRef(currentUrl);
3100
+ currentUrlRef.current = currentUrl;
3101
+ const hasSourceId = source === 'article' ? !!articleId : !!postId;
3102
+ useEffect(() => {
3103
+ if (!hasSourceId) {
3104
+ close();
3105
+ pendingOpenDeadlineRef.current = null;
3106
+ setSessionPopupShown(false);
3107
+ setRequestState('idle');
3108
+ setBoostType(null);
3109
+ setBoostArticle(null);
3110
+ setBoostCarePath(null);
3111
+ setBoostCustom(null);
3112
+ setDelaySeconds(0);
3113
+ return;
3114
+ }
3115
+ if (sessionPopupShown) {
3116
+ return;
3117
+ }
3118
+ close();
3119
+ setBoostType(null);
3120
+ setBoostArticle(null);
3121
+ setBoostCarePath(null);
3122
+ setBoostCustom(null);
3123
+ setDelaySeconds(0);
3124
+ const requestedSourceId = source === 'article' ? articleId : postId;
3125
+ let isActive = true;
3126
+ setRequestState('loading');
3127
+ (() => __awaiter(this, void 0, void 0, function* () {
3128
+ var _a, _b, _c;
3129
+ const res = yield callApi(getDiscoverApiPath(DISCOVER_PATHS.GET_BOOST_POPUP_CARD, {
3130
+ type: source,
3131
+ articleId: source === 'article' ? requestedSourceId !== null && requestedSourceId !== void 0 ? requestedSourceId : '' : '',
3132
+ primaryCategoryId: source === 'article' ? primaryCategoryId !== null && primaryCategoryId !== void 0 ? primaryCategoryId : '' : '',
3133
+ community: source === 'community' ? community !== null && community !== void 0 ? community : '' : '',
3134
+ postId: source === 'community' ? requestedSourceId !== null && requestedSourceId !== void 0 ? requestedSourceId : '' : '',
3135
+ }), 'get');
3136
+ if (!isActive)
3137
+ return;
3138
+ const boostPayload = res === null || res === void 0 ? void 0 : res.data;
3139
+ const nextType = (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'article' ||
3140
+ (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'carepath' ||
3141
+ (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'custom'
3142
+ ? boostPayload.type
3143
+ : null;
3144
+ const nextDelaySeconds = typeof (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.delay_time) === 'number' &&
3145
+ boostPayload.delay_time > 0
3146
+ ? boostPayload.delay_time
3147
+ : 0;
3148
+ setBoostType(nextType);
3149
+ setDelaySeconds(nextDelaySeconds);
3150
+ if (nextType === 'article' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
3151
+ setBoostArticle(formatArticle(boostPayload.boost_data));
3152
+ setBoostCarePath(null);
3153
+ setBoostCustom(null);
3154
+ }
3155
+ else if (nextType === 'carepath' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
3156
+ const raw = boostPayload.boost_data;
3157
+ const title = getSpotlightTitleRef.current(raw) || '';
3158
+ const image = getSpotlightImageRef.current(raw) || '';
3159
+ const permalink = ((_a = getSpotlightPermalinkRef.current) === null || _a === void 0 ? void 0 : _a.call(getSpotlightPermalinkRef, raw)) ||
3160
+ String((raw === null || raw === void 0 ? void 0 : raw.permalink) || '');
3161
+ const content = ((_b = getSpotlightContentRef.current) === null || _b === void 0 ? void 0 : _b.call(getSpotlightContentRef, raw)) || String((raw === null || raw === void 0 ? void 0 : raw.content) || '');
3162
+ setBoostCarePath({ permalink, title, image, content });
3163
+ setBoostArticle(null);
3164
+ setBoostCustom(null);
3165
+ }
3166
+ else if (nextType === 'custom' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
3167
+ const raw = boostPayload.boost_data;
3168
+ setBoostCustom({
3169
+ link: raw.link || '',
3170
+ title: raw.title || '',
3171
+ description: raw.description || '',
3172
+ image: typeof raw.image === 'string' && raw.image ? raw.image : null,
3173
+ });
3174
+ setBoostArticle(null);
3175
+ setBoostCarePath(null);
3176
+ }
3177
+ else {
3178
+ setBoostArticle(null);
3179
+ setBoostCarePath(null);
3180
+ setBoostCustom(null);
3181
+ }
3182
+ const hasPayloadBoost = (nextType === 'article' && !!(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) ||
3183
+ (nextType === 'carepath' && !!(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) ||
3184
+ (nextType === 'custom' &&
3185
+ !!((_c = boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data) === null || _c === void 0 ? void 0 : _c.link));
3186
+ if (!hasPayloadBoost) {
3187
+ pendingOpenDeadlineRef.current = null;
3188
+ }
3189
+ setRequestState('ready');
3190
+ }))();
3191
+ return () => {
3192
+ isActive = false;
3193
+ };
3194
+ }, [
3195
+ source,
3196
+ articleId,
3197
+ primaryCategoryId,
3198
+ postId,
3199
+ community,
3200
+ close,
3201
+ sessionPopupShown,
3202
+ ]);
3203
+ useEffect(() => {
3204
+ const hasBoostData = (boostType === 'article' && !!boostArticle) ||
3205
+ (boostType === 'carepath' && !!boostCarePath) ||
3206
+ (boostType === 'custom' && !!(boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link));
3207
+ if (!hasSourceId ||
3208
+ sessionPopupShown ||
3209
+ requestState !== 'ready' ||
3210
+ !hasBoostData) {
3211
+ return;
3212
+ }
3213
+ if (pendingOpenDeadlineRef.current === null) {
3214
+ pendingOpenDeadlineRef.current = Date.now() + delaySeconds * 1000;
3215
+ }
3216
+ const remainingMs = Math.max(0, pendingOpenDeadlineRef.current - Date.now());
3217
+ const timer = window.setTimeout(() => {
3218
+ pendingOpenDeadlineRef.current = null;
3219
+ setSessionPopupShown(true);
3220
+ open();
3221
+ }, remainingMs);
3222
+ return () => {
3223
+ window.clearTimeout(timer);
3224
+ };
3225
+ }, [
3226
+ articleId,
3227
+ sessionPopupShown,
3228
+ requestState,
3229
+ boostType,
3230
+ boostArticle,
3231
+ boostCarePath,
3232
+ boostCustom,
3233
+ delaySeconds,
3234
+ open,
3235
+ ]);
3236
+ const handleBoostDrawerRelease = useCallback((_event, openAfterRelease) => {
3237
+ if (openAfterRelease)
3238
+ return;
3239
+ pushBoostPopupDataLayerEvent(BOOST_POPUP_GTAG_EVENTS.swipeToClose, BOOST_POPUP_TRACKING_ACTION.closeCard, currentUrlRef.current);
3240
+ }, []);
3241
+ const targetUrl = boostType === 'article'
3242
+ ? boostArticle === null || boostArticle === void 0 ? void 0 : boostArticle.permalink
3243
+ : boostType === 'carepath'
3244
+ ? boostCarePath === null || boostCarePath === void 0 ? void 0 : boostCarePath.permalink
3245
+ : boostType === 'custom'
3246
+ ? boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link
3247
+ : null;
3248
+ const boostingUrl = targetUrl
3249
+ ? targetUrl.startsWith('http')
3250
+ ? targetUrl
3251
+ : `${window.location.origin}${basePath}${targetUrl.startsWith('/') ? targetUrl : `/${targetUrl}`}`
3252
+ : null;
3253
+ const hasBoostData = (boostType === 'article' && !!boostArticle) ||
3254
+ (boostType === 'carepath' && !!boostCarePath) ||
3255
+ (boostType === 'custom' && !!(boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link));
3256
+ if (!hasSourceId ||
3257
+ requestState !== 'ready' ||
3258
+ !hasBoostData ||
3259
+ !boostingUrl) {
3260
+ return null;
3261
+ }
3262
+ const trimmedBase = basePath.replace(/\/$/, '');
3263
+ const assetImageBasePath = trimmedBase ? `${trimmedBase}/images` : '/images';
3264
+ const handleDismiss = () => {
3265
+ // Drag-close/overlay-close can emit a trailing click; ignore it once.
3266
+ suppressNextOpenRef.current = true;
3267
+ pendingOpenDeadlineRef.current = null;
3268
+ setSessionPopupShown(true);
3269
+ if (!isMobile) {
3270
+ window.open(boostingUrl, '_blank', 'noopener,noreferrer');
3271
+ close();
3272
+ return;
3273
+ }
3274
+ close();
3275
+ };
3276
+ const handleBoostOverlayClick = (event) => {
3277
+ if (suppressNextOpenRef.current) {
3278
+ event.preventDefault();
3279
+ suppressNextOpenRef.current = false;
3280
+ return;
3281
+ }
3282
+ pendingOpenDeadlineRef.current = null;
3283
+ setSessionPopupShown(true);
3284
+ close();
3285
+ };
3286
+ const contentEle = (React__default.createElement(Box, { sx: { position: 'relative' } },
3287
+ React__default.createElement(Stack, { "data-boost-type": boostType, sx: (theme) => ({
3288
+ gap: 12,
3289
+ [theme.fn.largerThan('sm')]: { gap: 16 },
3290
+ '.article-card': {
3291
+ // Clicks go to the boost overlay `<a>`; keep ArticleCard markup unchanged.
3292
+ a: {
3293
+ pointerEvents: 'none',
3294
+ },
3295
+ '&[data-size=md][data-direction=horizontal]': {
3296
+ padding: 0,
3297
+ '.footer': {
3298
+ marginTop: 0,
3299
+ '& > div': {
3300
+ marginTop: 16,
3301
+ },
3302
+ },
3303
+ },
3304
+ '&[data-direction=vertical] .banner': {
3305
+ height: 192,
3306
+ },
3307
+ '.author .poster': {
3308
+ p: {
3309
+ fontSize: '12px',
3310
+ lineHeight: '16px',
3311
+ 'span:not(.name)': {
3312
+ color: '#8c8c8c',
3313
+ },
3314
+ },
3315
+ a: {
3316
+ color: '#8c8c8c',
3317
+ 'span:not(:has(span))': {
3318
+ color: '#000 !important',
3319
+ },
3320
+ },
3321
+ },
3322
+ 'h3 + a': {
3323
+ display: 'none',
3324
+ },
3325
+ },
3326
+ }) },
3327
+ boostType === 'article' && boostArticle ? (React__default.createElement(React__default.Fragment, null,
3328
+ React__default.createElement(PopupBoostArticleCard, { article: boostArticle, isMobile: isMobile, assetImageBase: assetImageBasePath }),
3329
+ React__default.createElement(Text, { size: "p3", as: "div", dangerouslySetInnerHTML: {
3330
+ __html: boostArticle.excerpt || boostArticle.postContent || '',
3331
+ }, lineClamp: 8 }))) : null,
3332
+ boostType === 'carepath' && boostCarePath ? (React__default.createElement(Box, { sx: {
3333
+ display: 'grid',
3334
+ gap: 12,
3335
+ } },
3336
+ React__default.createElement(Box, { sx: (theme) => ({
3337
+ marginLeft: -16,
3338
+ marginRight: -16,
3339
+ [theme.fn.largerThan('sm')]: { marginTop: -16 },
3340
+ width: 'calc(100% + 32px)',
3341
+ aspectRatio: '16 / 8',
3342
+ overflow: 'hidden',
3343
+ }) },
3344
+ React__default.createElement("img", { src: boostCarePath.image || '', alt: boostCarePath.title, loading: "lazy", style: {
3345
+ width: '100%',
3346
+ height: '100%',
3347
+ objectFit: 'cover',
3348
+ display: 'block',
3349
+ } })),
3350
+ React__default.createElement(Stack, { spacing: 3 },
3351
+ React__default.createElement(Box, { sx: {
3352
+ textTransform: 'uppercase',
3353
+ fontWeight: 'normal',
3354
+ fontSize: '12px',
3355
+ lineHeight: '15px',
3356
+ } }, domainLocales[locale]),
3357
+ React__default.createElement(Box, { sx: {
3358
+ fontSize: '16px',
3359
+ lineHeight: '19px',
3360
+ fontWeight: 500,
3361
+ } }, boostCarePath.title)),
3362
+ !!boostCarePath.content && (React__default.createElement(Text, { size: "p3", lineClamp: 2, sx: {
3363
+ fontSize: '14px',
3364
+ lineHeight: '19px',
3365
+ color: '#65676B',
3366
+ }, dangerouslySetInnerHTML: {
3367
+ __html: boostCarePath.content,
3368
+ } })))) : null,
3369
+ boostType === 'custom' && boostCustom ? (React__default.createElement(Box, { sx: {
3370
+ display: 'grid',
3371
+ gap: 12,
3372
+ } },
3373
+ boostCustom.image ? (React__default.createElement(Box, { sx: (theme) => ({
3374
+ marginLeft: -16,
3375
+ marginRight: -16,
3376
+ [theme.fn.largerThan('sm')]: { marginTop: -16 },
3377
+ width: 'calc(100% + 32px)',
3378
+ aspectRatio: '16 / 8',
3379
+ overflow: 'hidden',
3380
+ }) },
3381
+ React__default.createElement("img", { src: boostCustom.image, alt: boostCustom.title, loading: "lazy", style: {
3382
+ width: '100%',
3383
+ height: '100%',
3384
+ objectFit: 'cover',
3385
+ display: 'block',
3386
+ } }))) : null,
3387
+ React__default.createElement(Stack, { spacing: 5 },
3388
+ React__default.createElement(Stack, { spacing: 3 },
3389
+ React__default.createElement(Box, { sx: {
3390
+ textTransform: 'uppercase',
3391
+ fontWeight: 'normal',
3392
+ fontSize: '12px',
3393
+ lineHeight: '15px',
3394
+ color: '#65676B',
3395
+ } }, domainLocales[locale]),
3396
+ React__default.createElement(Box, { sx: {
3397
+ fontSize: '16px',
3398
+ lineHeight: '19px',
3399
+ fontWeight: 500,
3400
+ } }, boostCustom.title)),
3401
+ !!boostCustom.description && (React__default.createElement(Text, { size: "p3", lineClamp: 2, sx: {
3402
+ fontSize: '14px',
3403
+ lineHeight: '19px',
3404
+ color: '#65676B',
3405
+ }, dangerouslySetInnerHTML: {
3406
+ __html: boostCustom.description,
3407
+ } }))))) : null,
3408
+ React__default.createElement(Button$1, { variant: "primary", fullWidth: true }, viewDetailText)),
3409
+ React__default.createElement(Box, Object.assign({ component: "a", href: boostingUrl }, boostPopupTrackingData(BOOST_POPUP_TRACKING_ACTION.viewDetail, currentUrl), { target: "_blank", rel: "noopener noreferrer", "aria-label": viewDetailText, onClick: handleBoostOverlayClick, sx: {
3410
+ position: 'absolute',
3411
+ inset: 0,
3412
+ zIndex: 2,
3413
+ cursor: 'pointer',
3414
+ backgroundColor: 'transparent',
3415
+ } }))));
3416
+ return isMobile ? (React__default.createElement(DrawerBottom, { isMobile: true, isOpen: opened, onClose: handleDismiss, onRelease: handleBoostDrawerRelease, drawerOverlayProps: boostPopupTrackingData(BOOST_POPUP_TRACKING_ACTION.closeCard, currentUrl) },
3417
+ React__default.createElement(Stack, { spacing: 16, sx: { padding: 16, paddingTop: 0 } },
3418
+ React__default.createElement(Text, { size: "s2" }, modalHeading),
3419
+ contentEle))) : (React__default.createElement(Modal, { title: React__default.createElement(Text, { size: "s2" }, modalHeading), size: 568, opened: opened, onClose: handleDismiss, closeButtonProps: boostPopupTrackingData(BOOST_POPUP_TRACKING_ACTION.closeCard, currentUrl), overlayProps: boostPopupTrackingData(BOOST_POPUP_TRACKING_ACTION.closeCard, currentUrl), zIndex: 500, styles: {
3420
+ body: {
3421
+ '&:not(:only-child)': {
3422
+ paddingTop: 16,
3423
+ },
3424
+ },
3425
+ } }, contentEle));
3426
+ }
3427
+
2793
3428
  const StyledFixedAdBlock = styled.div `
2794
3429
  position: fixed;
2795
3430
  z-index: 48;
@@ -5348,7 +5983,8 @@ function CardListItem({ title, href, description, logo, defaultImage, LinkCompon
5348
5983
 
5349
5984
  const HERO_IMAGE_TO_TOP_CONTENT = 251;
5350
5985
  const OVERLAP_CONTENT_RADIUS = 22;
5351
- const HERO_IMAGE_HEIGHT = OVERLAP_CONTENT_RADIUS + HERO_IMAGE_TO_TOP_CONTENT;
5986
+ const HERO_IMAGE_HEIGHT = OVERLAP_CONTENT_RADIUS + HERO_IMAGE_TO_TOP_CONTENT;
5987
+ const HERO_IMAGE_RATIO = 375 / HERO_IMAGE_HEIGHT;
5352
5988
 
5353
5989
  // import CalendarDayIcon from '@/public/svg/calendar-days.svg'
5354
5990
  // import UsersIcon from '@/public/svg/users.svg'
@@ -5506,7 +6142,7 @@ const StyledImageCarousel = styled(Carousel) `
5506
6142
 
5507
6143
  .mantine-Carousel-indicators {
5508
6144
  gap: 0.375rem;
5509
- bottom: ${({ isCarouselParallax }) => isCarouselParallax ? '38%' : '0.5rem'};
6145
+ bottom: ${({ isCarouselParallax }) => isCarouselParallax ? '14.65%' : '0.5rem'};
5510
6146
  }
5511
6147
 
5512
6148
  .mantine-Carousel-indicator {
@@ -5562,7 +6198,8 @@ const FixedHeroSection = styled.div `
5562
6198
  right: 0;
5563
6199
  z-index: 0;
5564
6200
  overflow: hidden;
5565
- display: flex;
6201
+ /* display: flex; */
6202
+ display: ${({ hidden }) => (hidden ? 'none' : 'flex')};
5566
6203
  flex-direction: column;
5567
6204
 
5568
6205
  width: 100vw;
@@ -5570,7 +6207,7 @@ const FixedHeroSection = styled.div `
5570
6207
 
5571
6208
  & > div {
5572
6209
  width: 100vw;
5573
- height: var(--heroImageHeight);
6210
+ height: calc(100vw / var(--heroImageRatio));
5574
6211
  }
5575
6212
  }
5576
6213
  `;
@@ -5597,18 +6234,21 @@ const ContentOverlayWrapperParallax = styled.div `
5597
6234
  function FixedParallaxHeroSection({ children }) {
5598
6235
  const heroSectionRef = useRef(null);
5599
6236
  const [scrollIndex, setScrollIndex] = useState(0);
6237
+ const [hideHeroSection, setHideHeroSection] = useState(false);
5600
6238
  useEffect(() => {
5601
6239
  const el = heroSectionRef.current;
5602
6240
  if (!el)
5603
6241
  return;
5604
6242
  const checkHasReachedTop = () => {
5605
6243
  setScrollIndex(window.scrollY);
6244
+ const displayHeight = window.innerWidth / HERO_IMAGE_RATIO;
6245
+ setHideHeroSection(window.scrollY > displayHeight);
5606
6246
  };
5607
6247
  checkHasReachedTop();
5608
6248
  window.addEventListener('scroll', checkHasReachedTop, { passive: true });
5609
6249
  return () => window.removeEventListener('scroll', checkHasReachedTop);
5610
6250
  }, []);
5611
- return (React__default.createElement(FixedHeroSection, { ref: heroSectionRef, "data-section": "FixedParallaxHeroSection_FixedHeroSection", scrollIndex: scrollIndex },
6251
+ return (React__default.createElement(FixedHeroSection, { ref: heroSectionRef, "data-section": "FixedParallaxHeroSection_FixedHeroSection", scrollIndex: scrollIndex, hidden: hideHeroSection },
5612
6252
  React__default.createElement("div", { "data-section": "FixedHeroSection_Content" }, children)));
5613
6253
  }
5614
6254
  function GeneralInfo({ generalInfo, backupSrc, className, contentClassName, bannerProps = {}, imagesSelect, children, isMobile: isMobileProp = false, imageCarousel = [], carouselSlotProps, isCarouselParallax = false, onCarouselImageClick, }) {
@@ -5778,7 +6418,7 @@ const EmptyState = styled.div `
5778
6418
  min-height: 240px;
5779
6419
  text-align: center;
5780
6420
  `;
5781
- const StyledModal = styled(Modal) `
6421
+ const StyledModal = styled(Modal$1) `
5782
6422
  .mantine-Modal-header {
5783
6423
  padding: 12px 16px;
5784
6424
  border-bottom: 1px solid #0000001a;
@@ -6255,4 +6895,4 @@ const formatSiteWideBanner = (sitewideBanner, type = 'home') => {
6255
6895
  };
6256
6896
  };
6257
6897
 
6258
- export { AdBlock as A, Breadcrumbs as B, CategoryCard as C, DatePicker as D, StarHalf as E, FloatButtonGroup as F, GeneralInfo as G, HPVScreener as H, IconText as I, StarUpgrade as J, List as L, ModalGallery as M, QuickFilter as Q, RadioGroup as R, ScrollList as S, Tabs as T, VoucherItem as V, WidgetChatbotAi as W, CheckboxGroup as a, StatisticCard as b, index as c, DoctorInfo as d, CookieAcceptConfirm as e, SeoHead as f, DateRangePicker as g, ShareContainer as h, index$1 as i, ShareDrawer as j, FixedBottomAdBlock as k, SummaryInfo as l, ListContext as m, useList as n, QuickFilterWrapLine as o, CardListItem as p, useModalGalleryContext as q, ModalGalleryProvider as r, CertificateItem as s, RatingStars as t, useListContext as u, RatingStarsInput as v, MAX_RATING as w, AnsweredByDoctor as x, formatSiteWideBanner as y, StarFull as z };
6898
+ export { AdBlock as A, Breadcrumbs as B, CategoryCard as C, DatePicker as D, StarFull as E, FloatButtonGroup as F, GeneralInfo as G, HPVScreener as H, IconText as I, StarHalf as J, StarUpgrade as K, List as L, ModalGallery as M, PopupBoostArticleCard as P, QuickFilter as Q, RadioGroup as R, ScrollList as S, Tabs as T, VoucherItem as V, WidgetChatbotAi as W, CheckboxGroup as a, StatisticCard as b, index as c, DoctorInfo as d, CookieAcceptConfirm as e, SeoHead as f, DateRangePicker as g, ShareContainer as h, index$1 as i, ShareDrawer as j, PopupBoostPageView as k, FixedBottomAdBlock as l, SummaryInfo as m, ListContext as n, useList as o, QuickFilterWrapLine as p, CardListItem as q, useModalGalleryContext as r, ModalGalleryProvider as s, CertificateItem as t, useListContext as u, RatingStars as v, RatingStarsInput as w, MAX_RATING as x, AnsweredByDoctor as y, formatSiteWideBanner as z };