@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,58 +1,68 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-b8ed19ca.js');
3
+ var tslib_es6 = require('./tslib.es6-23ee393d.js');
4
4
  var React = require('react');
5
- var index$4 = require('./index-04d733ac.js');
5
+ var index$4 = require('./index-70f9ff0e.js');
6
6
  var core = require('@mantine/core');
7
7
  require('@mantine/dates');
8
- var index$6 = require('./index-9ef87a42.js');
9
- require('./index-6488fa2a.js');
10
- var index$a = require('./index-d2f0016a.js');
11
- require('./index-28c0c07b.js');
12
- var index$2 = require('./index-8e012c2d.js');
13
- var index$e = require('./index-53087815.js');
14
- require('./index-c9fea751.js');
15
- require('./index.styles-5ea3e194.js');
16
- require('./translationsContext-63f9475c.js');
17
- require('@mantine/hooks');
18
- var utils = require('./utils-7b13808f.js');
19
- require('./index-a886bf9b.js');
20
- var SiteWideBanner = require('./SiteWideBanner-0a8bb37a.js');
8
+ var index$6 = require('./index-189ee940.js');
9
+ require('./index-d821c3f0.js');
10
+ var index$a = require('./index-99834b8d.js');
11
+ require('./index-3952067d.js');
12
+ var index$2 = require('./index-e8b2623f.js');
13
+ var index$g = require('./index-31cd5a23.js');
14
+ var index$e = require('./index-7b1fabeb.js');
15
+ require('./index.styles-cb786859.js');
16
+ require('./translationsContext-f7171033.js');
17
+ var hooks = require('@mantine/hooks');
18
+ var utils = require('./utils-5d61c1bc.js');
19
+ require('./index-135df1f0.js');
20
+ var SiteWideBanner = require('./SiteWideBanner-72a3cdcc.js');
21
21
  var styled = require('@emotion/styled');
22
22
  var miscTheme = require('./miscTheme.js');
23
- var index$3 = require('./index-f739830c.js');
23
+ var index$3 = require('./index-9e6f849f.js');
24
24
  var dateFns = require('date-fns');
25
25
  var DayPickerInput = require('react-day-picker/DayPickerInput');
26
- var index$5 = require('./index-87c41679.js');
26
+ var index$5 = require('./index-ae63284b.js');
27
27
  var throttle = require('lodash/throttle');
28
28
  var parse = require('html-react-parser');
29
29
  var constantsDomainLocales = require('./constantsDomainLocales.js');
30
30
  var constantsIsProduction = require('./constantsIsProduction.js');
31
- var useOutsideClick = require('./useOutsideClick-830d0ef0.js');
31
+ var useOutsideClick = require('./useOutsideClick-742ba261.js');
32
32
  var enUS = require('date-fns/locale/en-US');
33
33
  var id = require('date-fns/locale/id');
34
34
  var vi = require('date-fns/locale/vi');
35
35
  var zhTW = require('date-fns/locale/zh-TW');
36
- var index$9 = require('./index-c2f9216c.js');
37
- var index$7 = require('./index-2031ac01.js');
38
- var index$8 = require('./index-f4b3f00b.js');
36
+ var index$9 = require('./index-64c64404.js');
37
+ var index$7 = require('./index-b41e8a8e.js');
38
+ var index$8 = require('./index-60792db5.js');
39
39
  var classNames = require('classnames');
40
- var index$b = require('./index-650dd3c0.js');
40
+ var index$b = require('./index-e6af4610.js');
41
41
  var miscGetSocialList = require('./miscGetSocialList.js');
42
- var index$d = require('./index-373bf93c.js');
43
- var index$c = require('./index-dff724c3.js');
42
+ var index$d = require('./index-8d03d824.js');
43
+ var index$c = require('./index-971b2cdb.js');
44
+ var index$h = require('./index-823b9326.js');
45
+ var index$i = require('./index-a1321425.js');
46
+ var dataTransform = require('./dataTransform-90042446.js');
47
+ var togetherApiPaths = require('./togetherApiPaths.js');
48
+ var togetherComponentGlobalContext = require('./utils-63a88554.js');
49
+ var innertext = require('innertext');
50
+ var Locale = require('./Locale-76638afe.js');
51
+ var index$f = require('./index-f7de0729.js');
52
+ var constants = require('./constants-362d1299.js');
53
+ var dayjs = require('dayjs');
54
+ var moleculesArticleCard = require('./moleculesArticleCard.js');
44
55
  var uuid = require('uuid');
45
- var Locale = require('./Locale-43df1985.js');
46
56
  var arrow = require('@hhgtech/icons/arrow');
47
57
  var other = require('@hhgtech/icons/other');
48
58
  var Lottie = require('lottie-light-react');
49
- var index$f = require('./index-c9f8f9a4.js');
50
- var index$g = require('./index-8cf17774.js');
59
+ var index$j = require('./index-f5c98be1.js');
60
+ var index$k = require('./index-93ec4fbc.js');
51
61
  var get = require('lodash/get');
52
62
  var debounce = require('lodash/debounce');
53
- var Close = require('./Close-481b1188.js');
63
+ var index$l = require('./index-11131b6a.js');
54
64
  var carousel = require('@mantine/carousel');
55
- var constants = require('./constants-41d2f9b3.js');
65
+ var constants$1 = require('./constants-e17e808f.js');
56
66
 
57
67
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
58
68
 
@@ -84,6 +94,8 @@ var id__default = /*#__PURE__*/_interopDefault(id);
84
94
  var vi__default = /*#__PURE__*/_interopDefault(vi);
85
95
  var zhTW__default = /*#__PURE__*/_interopDefault(zhTW);
86
96
  var classNames__default = /*#__PURE__*/_interopDefault(classNames);
97
+ var innertext__default = /*#__PURE__*/_interopDefault(innertext);
98
+ var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
87
99
  var Lottie__default = /*#__PURE__*/_interopDefault(Lottie);
88
100
  var get__default = /*#__PURE__*/_interopDefault(get);
89
101
  var debounce__default = /*#__PURE__*/_interopDefault(debounce);
@@ -2825,6 +2837,631 @@ const ShareDrawer = (_a) => {
2825
2837
  }
2826
2838
  };
2827
2839
 
2840
+ const BoostCardArticleAuthorName = (props) => {
2841
+ const { intlKey, formatOptions, formatOptionsProps } = props;
2842
+ const { author_name, expert_display_name, fact_check_display_name, specialty, organisation, post_modified, } = formatOptions || {};
2843
+ const { author_name: formatOptionsPropsAuthorName, expert_display_name: formatOptionsPropsExpertDisplayName, fact_check_display_name: formatOptionsPropsFactCheckDisplayName, specialty: formatOptionsPropsSpecialty, organisation: formatOptionsPropsOrganisation, post_modified: formatOptionsPropsPostModified, } = formatOptionsProps || {};
2844
+ const { t } = index$8.useTranslations();
2845
+ const theme = core.useMantineTheme();
2846
+ const formatOptionsComp = React.useCallback((p = {}) => {
2847
+ const href = p.href;
2848
+ const Comp = href ? 'a' : 'span';
2849
+ const propsComp = Object.assign({}, p);
2850
+ if (!href) {
2851
+ delete propsComp.href;
2852
+ delete propsComp['data-event-category'];
2853
+ delete propsComp['data-event-action'];
2854
+ delete propsComp['data-event-label'];
2855
+ }
2856
+ return React__namespace["default"].createElement(Comp, Object.assign({}, propsComp));
2857
+ }, []);
2858
+ return (React__namespace["default"].createElement(React__namespace["default"].Fragment, null, index$8.format(t(intlKey), {
2859
+ author_name: (React__namespace["default"].createElement("span", { style: {
2860
+ fontWeight: index$e.FontWeight.halfBold,
2861
+ color: theme.colors.gray[8],
2862
+ } }, formatOptionsComp(Object.assign(Object.assign({}, author_name), formatOptionsPropsAuthorName)))),
2863
+ expert_display_name: (React__namespace["default"].createElement("span", { style: {
2864
+ fontWeight: index$e.FontWeight.halfBold,
2865
+ color: theme.colors.gray[8],
2866
+ } }, formatOptionsComp(Object.assign(Object.assign({}, expert_display_name), formatOptionsPropsExpertDisplayName)))),
2867
+ fact_check_display_name: (React__namespace["default"].createElement("span", { style: {
2868
+ fontWeight: index$e.FontWeight.halfBold,
2869
+ color: theme.colors.gray[8],
2870
+ } }, formatOptionsComp(Object.assign(Object.assign({}, fact_check_display_name), formatOptionsPropsFactCheckDisplayName)))),
2871
+ specialty: formatOptionsComp(Object.assign(Object.assign({}, specialty), formatOptionsPropsSpecialty)),
2872
+ organisation: formatOptionsComp(Object.assign(Object.assign({}, organisation), formatOptionsPropsOrganisation)),
2873
+ post_modified: formatOptionsComp(Object.assign(Object.assign({}, post_modified), formatOptionsPropsPostModified)),
2874
+ })));
2875
+ };
2876
+
2877
+ const getAuthorFormatOptionsProps = (reviewedUser) => {
2878
+ if (!reviewedUser) {
2879
+ return { children: '' };
2880
+ }
2881
+ if ((reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.profile_url) && (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.turn_off_profile)) {
2882
+ return { children: (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.display_name) || (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.name) || '' };
2883
+ }
2884
+ return {
2885
+ href: reviewedUser.profile_url || '',
2886
+ children: reviewedUser.display_name || reviewedUser.name || '',
2887
+ };
2888
+ };
2889
+ const authorConfigForAssetBase = (assetImageBase) => {
2890
+ const base = assetImageBase.replace(/\/$/, '');
2891
+ return {
2892
+ medical: {
2893
+ intlKey: {
2894
+ long: 'articlePage.reviewed_by.expert.medical',
2895
+ short: 'articlePage.reviewed_by.expert.medical.short',
2896
+ },
2897
+ indicator: `${base}/reviewer-medical.svg`,
2898
+ },
2899
+ expert: {
2900
+ intlKey: {
2901
+ long: 'articlePage.reviewed_by.expert',
2902
+ short: 'articlePage.reviewed_by.expert.short',
2903
+ },
2904
+ indicator: `${base}/reviewer-expert.svg`,
2905
+ },
2906
+ written_by: {
2907
+ intlKey: {
2908
+ long: 'articlePage.written_by.author',
2909
+ short: 'articlePage.written_by.author.short',
2910
+ },
2911
+ indicator: `${base}/reviewer-editor.svg`,
2912
+ },
2913
+ fact_checked_by: {
2914
+ intlKey: {
2915
+ long: 'articlePage.fact_checked_by.author',
2916
+ short: 'articlePage.fact_checked_by.author.short',
2917
+ },
2918
+ indicator: `${base}/reviewer-fact-check.svg`,
2919
+ },
2920
+ };
2921
+ };
2922
+ function getAuthorForBoostCard({ article, locale, assetImageBase, version = 'short', }) {
2923
+ const AUTHOR_CONFIG = authorConfigForAssetBase(assetImageBase);
2924
+ const { expert, author, fact_check, is_author } = article.articleReviewed || {};
2925
+ const articlePostModified = article.postModified || article.modifiedTime;
2926
+ const { avatar: fcAvatar = '', avatar_thumbnail: fcAvatarThumb = '', display_name: fcDisplayName = '', name: fcName = '', profile_url: fcProfileUrl = '', turn_off_profile: fcTurnOffProfile, } = fact_check || {};
2927
+ const modifiedDate = dayjs__default["default"](articlePostModified);
2928
+ let authorConfig = AUTHOR_CONFIG.fact_checked_by;
2929
+ let avatar = fcAvatarThumb || fcAvatar;
2930
+ let avatar_alt = fcDisplayName || fcName;
2931
+ let avatar_permalink = !fcTurnOffProfile ? fcProfileUrl : '';
2932
+ const post_modified = modifiedDate.isValid()
2933
+ ? modifiedDate.format(index$6.ISO_FORMAT[locale].dateFormat)
2934
+ : '';
2935
+ const formatOptions = {
2936
+ expert_display_name: getAuthorFormatOptionsProps(expert),
2937
+ author_name: getAuthorFormatOptionsProps(author),
2938
+ fact_check_display_name: getAuthorFormatOptionsProps(fact_check),
2939
+ post_modified: { children: post_modified },
2940
+ };
2941
+ if (expert) {
2942
+ const ex = expert;
2943
+ const { avatar: exAvatar = '', avatar_thumbnail: exAvatarThumb = '', display_name: exDisplayName = '', name: exName = '', profile_url: exProfileUrl = '', specialty = '', organisation = '', turn_off_profile: exTurnOffProfile, } = ex;
2944
+ formatOptions.specialty = { children: specialty };
2945
+ formatOptions.organisation = { children: organisation };
2946
+ avatar = exAvatarThumb || exAvatar || avatar;
2947
+ avatar_alt = exDisplayName || exName || avatar_alt;
2948
+ avatar_permalink = !exTurnOffProfile ? exProfileUrl || avatar_permalink : '';
2949
+ if (is_author) {
2950
+ authorConfig = AUTHOR_CONFIG.written_by;
2951
+ }
2952
+ else {
2953
+ authorConfig = AUTHOR_CONFIG.expert;
2954
+ }
2955
+ }
2956
+ return {
2957
+ intlKey: authorConfig.intlKey[version],
2958
+ indicator: authorConfig.indicator,
2959
+ avatar,
2960
+ avatar_alt,
2961
+ avatar_permalink,
2962
+ formatOptions,
2963
+ };
2964
+ }
2965
+
2966
+ const StyledAvatarReviewer = styled__default["default"].div `
2967
+ position: relative;
2968
+ width: 100%;
2969
+ height: 100%;
2970
+ img {
2971
+ border-radius: 50%;
2972
+ object-fit: cover;
2973
+ }
2974
+ .badge {
2975
+ position: absolute;
2976
+ right: 0;
2977
+ bottom: 0;
2978
+ display: flex;
2979
+ }
2980
+ `;
2981
+ styled__default["default"].div `
2982
+ width: 12px;
2983
+ height: 12px;
2984
+ `;
2985
+ const StyledArticleCard = styled__default["default"](moleculesArticleCard.ArticleCard) `
2986
+ .author .poster p span:not(.author-name) {
2987
+ font-weight: 400;
2988
+ }
2989
+
2990
+ .author .poster p span:not(.name) {
2991
+ color: ${miscTheme.theme.colors.gray800};
2992
+ }
2993
+
2994
+ .author-name {
2995
+ font-weight: 600;
2996
+ }
2997
+ `;
2998
+ const StyledItemImageContain = styled__default["default"].div `
2999
+ width: 100%;
3000
+ height: 100%;
3001
+ position: relative;
3002
+ `;
3003
+
3004
+ function renderBoostUploadTime(locale, date) {
3005
+ if (!date)
3006
+ return '';
3007
+ if (dayjs__default["default"](date, constants.POST_DATE_FORMAT).isValid()) {
3008
+ return dayjs__default["default"](date, constants.POST_DATE_FORMAT).format(index$6.ISO_FORMAT[locale].dateFormat);
3009
+ }
3010
+ return date;
3011
+ }
3012
+
3013
+ function PopupBoostArticleCard({ article, isMobile, className = 'article-card', hideBookmark = true, assetImageBase = '/images', }) {
3014
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
3015
+ const { locale: translationsLocale } = index$8.useTranslations();
3016
+ const locale = translationsLocale === 'vi-VN_MB'
3017
+ ? Locale.LOCALE.Vietnam
3018
+ : translationsLocale;
3019
+ const authorV2 = getAuthorForBoostCard({
3020
+ article,
3021
+ locale,
3022
+ assetImageBase,
3023
+ version: 'short',
3024
+ });
3025
+ const authorUrlDomain = authorV2.avatar_permalink
3026
+ ? `${index$f.getHelloSitesUrl(translationsLocale, true)}${authorV2.avatar_permalink}`
3027
+ : '';
3028
+ const domain = constantsDomainLocales.domainLocales[translationsLocale];
3029
+ const articleUrlLabel = domain && article.permalink
3030
+ ? `https://${domain}${article.permalink}`
3031
+ : article.permalink || '';
3032
+ const uploadRendered = renderBoostUploadTime(locale, article.modifiedTime);
3033
+ const loc = translationsLocale;
3034
+ const isPremiumUi = loc !== 'vi-VN' && loc !== 'vi-VN_MB' && article.isPremium;
3035
+ const avatarInner = (React__namespace["default"].createElement(StyledAvatarReviewer, null,
3036
+ React__namespace["default"].createElement(StyledItemImageContain, null,
3037
+ React__namespace["default"].createElement("img", { className: "avatar", src: authorV2.avatar || constants.DEFAULT_AVATAR_IMG, alt: authorV2.avatar_alt, width: 24, height: 24, style: {
3038
+ borderRadius: '50%',
3039
+ objectFit: 'cover',
3040
+ display: 'block',
3041
+ } }))));
3042
+ return (React__namespace["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
3043
+ ? `https://${domain}${article.category.permalink}`
3044
+ : ((_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) ||
3045
+ ((_e = article.category) === null || _e === void 0 ? void 0 : _e.name) ||
3046
+ ((_g = (_f = article.categories) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.displayName) ||
3047
+ ((_j = (_h = article.categories) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.name) ||
3048
+ '', banner: React__namespace["default"].createElement("img", { src: (isMobile ? article.featureImageMobile : article.featureImage) ||
3049
+ article.featureImage ||
3050
+ constants.DEFAULT_IMG, alt: article.postName, loading: "lazy", style: {
3051
+ width: '100%',
3052
+ height: '100%',
3053
+ objectFit: 'cover',
3054
+ display: 'block',
3055
+ } }), 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__default["default"](article.postTitle || article.postName || '') || '', text: article.excerpt || article.description || article.postContent
3056
+ ? innertext__default["default"](article.excerpt ||
3057
+ article.description ||
3058
+ ((_m = article.postContent) === null || _m === void 0 ? void 0 : _m.split('\r\n')[0]) ||
3059
+ '')
3060
+ : '', avatarImg: authorV2.avatar_permalink ? (React__namespace["default"].createElement("a", { href: authorV2.avatar_permalink, className: "pointer-event-child-none", "data-event-label": authorUrlDomain }, avatarInner)) : (React__namespace["default"].createElement("span", { className: "pointer-event-child-none" }, avatarInner)), authorName: React__namespace["default"].createElement("span", { "data-event-label": authorUrlDomain, className: "pointer-event-child-none" },
3061
+ React__namespace["default"].createElement(BoostCardArticleAuthorName, Object.assign({}, authorV2, { formatOptionsProps: {
3062
+ expert_display_name: {
3063
+ href: '',
3064
+ },
3065
+ } })),
3066
+ "\u00A0"), authorLink: authorV2.avatar_permalink, isBookmarkDisplayed: !hideBookmark, isBookmark: false, onBookmark: hideBookmark ? undefined : () => undefined, styleLabel: {
3067
+ color: ((_o = article.category) === null || _o === void 0 ? void 0 : _o.textColor) || '#008C50',
3068
+ } }));
3069
+ }
3070
+
3071
+ const BOOST_POPUP_TRACKING_CATEGORY = 'Popup Suggest Article';
3072
+ const BOOST_POPUP_GTAG_EVENTS = {
3073
+ swipeToClose: 'swipe_to_close',
3074
+ };
3075
+ const BOOST_POPUP_TRACKING_ACTION = {
3076
+ closeCard: 'Close card',
3077
+ viewDetail: 'View detail',
3078
+ };
3079
+ /** Prefer prop/ref URL; if missing (stale parent, first paint), use live location at send time. */
3080
+ function resolveBoostPopupEventLabel(propUrl) {
3081
+ var _a;
3082
+ const trimmed = typeof propUrl === 'string' ? propUrl.trim() : '';
3083
+ if (trimmed)
3084
+ return trimmed;
3085
+ if (typeof window !== 'undefined' && ((_a = window.location) === null || _a === void 0 ? void 0 : _a.href)) {
3086
+ return window.location.href;
3087
+ }
3088
+ return '';
3089
+ }
3090
+ function pushBoostPopupDataLayerEvent(eventName, eventAction, eventLabel) {
3091
+ if (typeof window === 'undefined')
3092
+ return;
3093
+ const w = window;
3094
+ const event_label = resolveBoostPopupEventLabel(eventLabel);
3095
+ if (!event_label)
3096
+ return;
3097
+ if (Array.isArray(w.dataLayer)) {
3098
+ w.dataLayer.push({
3099
+ event: eventName,
3100
+ event_category: BOOST_POPUP_TRACKING_CATEGORY,
3101
+ event_label,
3102
+ event_action: eventAction,
3103
+ });
3104
+ }
3105
+ }
3106
+ function boostPopupTrackingData(action, label) {
3107
+ return {
3108
+ 'data-event-category': BOOST_POPUP_TRACKING_CATEGORY,
3109
+ 'data-event-action': action,
3110
+ 'data-event-label': (label === null || label === void 0 ? void 0 : label.trim()) || '',
3111
+ };
3112
+ }
3113
+
3114
+ function PopupBoostPageView({ source, articleId, primaryCategoryId, postId, community, isMobile, basePath, currentUrl, getSpotlightTitle, getSpotlightImage, getSpotlightPermalink, getSpotlightContent, }) {
3115
+ const { t, locale } = index$8.useTranslations();
3116
+ const modalHeading = t('popupBoostPageView.modalHeading');
3117
+ const viewDetailText = t('popupBoostPageView.viewDetail');
3118
+ const [requestState, setRequestState] = React.useState('idle');
3119
+ const [boostType, setBoostType] = React.useState(null);
3120
+ const [boostArticle, setBoostArticle] = React.useState(null);
3121
+ const [boostCarePath, setBoostCarePath] = React.useState(null);
3122
+ const [boostCustom, setBoostCustom] = React.useState(null);
3123
+ const [delaySeconds, setDelaySeconds] = React.useState(0);
3124
+ const [sessionPopupShown, setSessionPopupShown] = React.useState(false);
3125
+ const [opened, { open, close }] = hooks.useDisclosure(false);
3126
+ const pendingOpenDeadlineRef = React.useRef(null);
3127
+ const suppressNextOpenRef = React.useRef(false);
3128
+ const getSpotlightTitleRef = React.useRef(getSpotlightTitle);
3129
+ const getSpotlightImageRef = React.useRef(getSpotlightImage);
3130
+ const getSpotlightPermalinkRef = React.useRef(getSpotlightPermalink);
3131
+ const getSpotlightContentRef = React.useRef(getSpotlightContent);
3132
+ getSpotlightTitleRef.current = getSpotlightTitle;
3133
+ getSpotlightImageRef.current = getSpotlightImage;
3134
+ getSpotlightPermalinkRef.current = getSpotlightPermalink;
3135
+ getSpotlightContentRef.current = getSpotlightContent;
3136
+ const currentUrlRef = React.useRef(currentUrl);
3137
+ currentUrlRef.current = currentUrl;
3138
+ const hasSourceId = source === 'article' ? !!articleId : !!postId;
3139
+ React.useEffect(() => {
3140
+ if (!hasSourceId) {
3141
+ close();
3142
+ pendingOpenDeadlineRef.current = null;
3143
+ setSessionPopupShown(false);
3144
+ setRequestState('idle');
3145
+ setBoostType(null);
3146
+ setBoostArticle(null);
3147
+ setBoostCarePath(null);
3148
+ setBoostCustom(null);
3149
+ setDelaySeconds(0);
3150
+ return;
3151
+ }
3152
+ if (sessionPopupShown) {
3153
+ return;
3154
+ }
3155
+ close();
3156
+ setBoostType(null);
3157
+ setBoostArticle(null);
3158
+ setBoostCarePath(null);
3159
+ setBoostCustom(null);
3160
+ setDelaySeconds(0);
3161
+ const requestedSourceId = source === 'article' ? articleId : postId;
3162
+ let isActive = true;
3163
+ setRequestState('loading');
3164
+ (() => tslib_es6.__awaiter(this, void 0, void 0, function* () {
3165
+ var _a, _b, _c;
3166
+ const res = yield togetherComponentGlobalContext.callApi(togetherComponentGlobalContext.getDiscoverApiPath(togetherApiPaths.DISCOVER_PATHS.GET_BOOST_POPUP_CARD, {
3167
+ type: source,
3168
+ articleId: source === 'article' ? requestedSourceId !== null && requestedSourceId !== void 0 ? requestedSourceId : '' : '',
3169
+ primaryCategoryId: source === 'article' ? primaryCategoryId !== null && primaryCategoryId !== void 0 ? primaryCategoryId : '' : '',
3170
+ community: source === 'community' ? community !== null && community !== void 0 ? community : '' : '',
3171
+ postId: source === 'community' ? requestedSourceId !== null && requestedSourceId !== void 0 ? requestedSourceId : '' : '',
3172
+ }), 'get');
3173
+ if (!isActive)
3174
+ return;
3175
+ const boostPayload = res === null || res === void 0 ? void 0 : res.data;
3176
+ const nextType = (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'article' ||
3177
+ (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'carepath' ||
3178
+ (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'custom'
3179
+ ? boostPayload.type
3180
+ : null;
3181
+ const nextDelaySeconds = typeof (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.delay_time) === 'number' &&
3182
+ boostPayload.delay_time > 0
3183
+ ? boostPayload.delay_time
3184
+ : 0;
3185
+ setBoostType(nextType);
3186
+ setDelaySeconds(nextDelaySeconds);
3187
+ if (nextType === 'article' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
3188
+ setBoostArticle(dataTransform.formatArticle(boostPayload.boost_data));
3189
+ setBoostCarePath(null);
3190
+ setBoostCustom(null);
3191
+ }
3192
+ else if (nextType === 'carepath' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
3193
+ const raw = boostPayload.boost_data;
3194
+ const title = getSpotlightTitleRef.current(raw) || '';
3195
+ const image = getSpotlightImageRef.current(raw) || '';
3196
+ const permalink = ((_a = getSpotlightPermalinkRef.current) === null || _a === void 0 ? void 0 : _a.call(getSpotlightPermalinkRef, raw)) ||
3197
+ String((raw === null || raw === void 0 ? void 0 : raw.permalink) || '');
3198
+ 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) || '');
3199
+ setBoostCarePath({ permalink, title, image, content });
3200
+ setBoostArticle(null);
3201
+ setBoostCustom(null);
3202
+ }
3203
+ else if (nextType === 'custom' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
3204
+ const raw = boostPayload.boost_data;
3205
+ setBoostCustom({
3206
+ link: raw.link || '',
3207
+ title: raw.title || '',
3208
+ description: raw.description || '',
3209
+ image: typeof raw.image === 'string' && raw.image ? raw.image : null,
3210
+ });
3211
+ setBoostArticle(null);
3212
+ setBoostCarePath(null);
3213
+ }
3214
+ else {
3215
+ setBoostArticle(null);
3216
+ setBoostCarePath(null);
3217
+ setBoostCustom(null);
3218
+ }
3219
+ const hasPayloadBoost = (nextType === 'article' && !!(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) ||
3220
+ (nextType === 'carepath' && !!(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) ||
3221
+ (nextType === 'custom' &&
3222
+ !!((_c = boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data) === null || _c === void 0 ? void 0 : _c.link));
3223
+ if (!hasPayloadBoost) {
3224
+ pendingOpenDeadlineRef.current = null;
3225
+ }
3226
+ setRequestState('ready');
3227
+ }))();
3228
+ return () => {
3229
+ isActive = false;
3230
+ };
3231
+ }, [
3232
+ source,
3233
+ articleId,
3234
+ primaryCategoryId,
3235
+ postId,
3236
+ community,
3237
+ close,
3238
+ sessionPopupShown,
3239
+ ]);
3240
+ React.useEffect(() => {
3241
+ const hasBoostData = (boostType === 'article' && !!boostArticle) ||
3242
+ (boostType === 'carepath' && !!boostCarePath) ||
3243
+ (boostType === 'custom' && !!(boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link));
3244
+ if (!hasSourceId ||
3245
+ sessionPopupShown ||
3246
+ requestState !== 'ready' ||
3247
+ !hasBoostData) {
3248
+ return;
3249
+ }
3250
+ if (pendingOpenDeadlineRef.current === null) {
3251
+ pendingOpenDeadlineRef.current = Date.now() + delaySeconds * 1000;
3252
+ }
3253
+ const remainingMs = Math.max(0, pendingOpenDeadlineRef.current - Date.now());
3254
+ const timer = window.setTimeout(() => {
3255
+ pendingOpenDeadlineRef.current = null;
3256
+ setSessionPopupShown(true);
3257
+ open();
3258
+ }, remainingMs);
3259
+ return () => {
3260
+ window.clearTimeout(timer);
3261
+ };
3262
+ }, [
3263
+ articleId,
3264
+ sessionPopupShown,
3265
+ requestState,
3266
+ boostType,
3267
+ boostArticle,
3268
+ boostCarePath,
3269
+ boostCustom,
3270
+ delaySeconds,
3271
+ open,
3272
+ ]);
3273
+ const handleBoostDrawerRelease = React.useCallback((_event, openAfterRelease) => {
3274
+ if (openAfterRelease)
3275
+ return;
3276
+ pushBoostPopupDataLayerEvent(BOOST_POPUP_GTAG_EVENTS.swipeToClose, BOOST_POPUP_TRACKING_ACTION.closeCard, currentUrlRef.current);
3277
+ }, []);
3278
+ const targetUrl = boostType === 'article'
3279
+ ? boostArticle === null || boostArticle === void 0 ? void 0 : boostArticle.permalink
3280
+ : boostType === 'carepath'
3281
+ ? boostCarePath === null || boostCarePath === void 0 ? void 0 : boostCarePath.permalink
3282
+ : boostType === 'custom'
3283
+ ? boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link
3284
+ : null;
3285
+ const boostingUrl = targetUrl
3286
+ ? targetUrl.startsWith('http')
3287
+ ? targetUrl
3288
+ : `${window.location.origin}${basePath}${targetUrl.startsWith('/') ? targetUrl : `/${targetUrl}`}`
3289
+ : null;
3290
+ const hasBoostData = (boostType === 'article' && !!boostArticle) ||
3291
+ (boostType === 'carepath' && !!boostCarePath) ||
3292
+ (boostType === 'custom' && !!(boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link));
3293
+ if (!hasSourceId ||
3294
+ requestState !== 'ready' ||
3295
+ !hasBoostData ||
3296
+ !boostingUrl) {
3297
+ return null;
3298
+ }
3299
+ const trimmedBase = basePath.replace(/\/$/, '');
3300
+ const assetImageBasePath = trimmedBase ? `${trimmedBase}/images` : '/images';
3301
+ const handleDismiss = () => {
3302
+ // Drag-close/overlay-close can emit a trailing click; ignore it once.
3303
+ suppressNextOpenRef.current = true;
3304
+ pendingOpenDeadlineRef.current = null;
3305
+ setSessionPopupShown(true);
3306
+ if (!isMobile) {
3307
+ window.open(boostingUrl, '_blank', 'noopener,noreferrer');
3308
+ close();
3309
+ return;
3310
+ }
3311
+ close();
3312
+ };
3313
+ const handleBoostOverlayClick = (event) => {
3314
+ if (suppressNextOpenRef.current) {
3315
+ event.preventDefault();
3316
+ suppressNextOpenRef.current = false;
3317
+ return;
3318
+ }
3319
+ pendingOpenDeadlineRef.current = null;
3320
+ setSessionPopupShown(true);
3321
+ close();
3322
+ };
3323
+ const contentEle = (React__namespace["default"].createElement(core.Box, { sx: { position: 'relative' } },
3324
+ React__namespace["default"].createElement(core.Stack, { "data-boost-type": boostType, sx: (theme) => ({
3325
+ gap: 12,
3326
+ [theme.fn.largerThan('sm')]: { gap: 16 },
3327
+ '.article-card': {
3328
+ // Clicks go to the boost overlay `<a>`; keep ArticleCard markup unchanged.
3329
+ a: {
3330
+ pointerEvents: 'none',
3331
+ },
3332
+ '&[data-size=md][data-direction=horizontal]': {
3333
+ padding: 0,
3334
+ '.footer': {
3335
+ marginTop: 0,
3336
+ '& > div': {
3337
+ marginTop: 16,
3338
+ },
3339
+ },
3340
+ },
3341
+ '&[data-direction=vertical] .banner': {
3342
+ height: 192,
3343
+ },
3344
+ '.author .poster': {
3345
+ p: {
3346
+ fontSize: '12px',
3347
+ lineHeight: '16px',
3348
+ 'span:not(.name)': {
3349
+ color: '#8c8c8c',
3350
+ },
3351
+ },
3352
+ a: {
3353
+ color: '#8c8c8c',
3354
+ 'span:not(:has(span))': {
3355
+ color: '#000 !important',
3356
+ },
3357
+ },
3358
+ },
3359
+ 'h3 + a': {
3360
+ display: 'none',
3361
+ },
3362
+ },
3363
+ }) },
3364
+ boostType === 'article' && boostArticle ? (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
3365
+ React__namespace["default"].createElement(PopupBoostArticleCard, { article: boostArticle, isMobile: isMobile, assetImageBase: assetImageBasePath }),
3366
+ React__namespace["default"].createElement(index$2.Text, { size: "p3", as: "div", dangerouslySetInnerHTML: {
3367
+ __html: boostArticle.excerpt || boostArticle.postContent || '',
3368
+ }, lineClamp: 8 }))) : null,
3369
+ boostType === 'carepath' && boostCarePath ? (React__namespace["default"].createElement(core.Box, { sx: {
3370
+ display: 'grid',
3371
+ gap: 12,
3372
+ } },
3373
+ React__namespace["default"].createElement(core.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__namespace["default"].createElement("img", { src: boostCarePath.image || '', alt: boostCarePath.title, loading: "lazy", style: {
3382
+ width: '100%',
3383
+ height: '100%',
3384
+ objectFit: 'cover',
3385
+ display: 'block',
3386
+ } })),
3387
+ React__namespace["default"].createElement(core.Stack, { spacing: 3 },
3388
+ React__namespace["default"].createElement(core.Box, { sx: {
3389
+ textTransform: 'uppercase',
3390
+ fontWeight: 'normal',
3391
+ fontSize: '12px',
3392
+ lineHeight: '15px',
3393
+ } }, constantsDomainLocales.domainLocales[locale]),
3394
+ React__namespace["default"].createElement(core.Box, { sx: {
3395
+ fontSize: '16px',
3396
+ lineHeight: '19px',
3397
+ fontWeight: 500,
3398
+ } }, boostCarePath.title)),
3399
+ !!boostCarePath.content && (React__namespace["default"].createElement(index$2.Text, { size: "p3", lineClamp: 2, sx: {
3400
+ fontSize: '14px',
3401
+ lineHeight: '19px',
3402
+ color: '#65676B',
3403
+ }, dangerouslySetInnerHTML: {
3404
+ __html: boostCarePath.content,
3405
+ } })))) : null,
3406
+ boostType === 'custom' && boostCustom ? (React__namespace["default"].createElement(core.Box, { sx: {
3407
+ display: 'grid',
3408
+ gap: 12,
3409
+ } },
3410
+ boostCustom.image ? (React__namespace["default"].createElement(core.Box, { sx: (theme) => ({
3411
+ marginLeft: -16,
3412
+ marginRight: -16,
3413
+ [theme.fn.largerThan('sm')]: { marginTop: -16 },
3414
+ width: 'calc(100% + 32px)',
3415
+ aspectRatio: '16 / 8',
3416
+ overflow: 'hidden',
3417
+ }) },
3418
+ React__namespace["default"].createElement("img", { src: boostCustom.image, alt: boostCustom.title, loading: "lazy", style: {
3419
+ width: '100%',
3420
+ height: '100%',
3421
+ objectFit: 'cover',
3422
+ display: 'block',
3423
+ } }))) : null,
3424
+ React__namespace["default"].createElement(core.Stack, { spacing: 5 },
3425
+ React__namespace["default"].createElement(core.Stack, { spacing: 3 },
3426
+ React__namespace["default"].createElement(core.Box, { sx: {
3427
+ textTransform: 'uppercase',
3428
+ fontWeight: 'normal',
3429
+ fontSize: '12px',
3430
+ lineHeight: '15px',
3431
+ color: '#65676B',
3432
+ } }, constantsDomainLocales.domainLocales[locale]),
3433
+ React__namespace["default"].createElement(core.Box, { sx: {
3434
+ fontSize: '16px',
3435
+ lineHeight: '19px',
3436
+ fontWeight: 500,
3437
+ } }, boostCustom.title)),
3438
+ !!boostCustom.description && (React__namespace["default"].createElement(index$2.Text, { size: "p3", lineClamp: 2, sx: {
3439
+ fontSize: '14px',
3440
+ lineHeight: '19px',
3441
+ color: '#65676B',
3442
+ }, dangerouslySetInnerHTML: {
3443
+ __html: boostCustom.description,
3444
+ } }))))) : null,
3445
+ React__namespace["default"].createElement(index$g.Button, { variant: "primary", fullWidth: true }, viewDetailText)),
3446
+ React__namespace["default"].createElement(core.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: {
3447
+ position: 'absolute',
3448
+ inset: 0,
3449
+ zIndex: 2,
3450
+ cursor: 'pointer',
3451
+ backgroundColor: 'transparent',
3452
+ } }))));
3453
+ return isMobile ? (React__namespace["default"].createElement(index$h.DrawerBottom, { isMobile: true, isOpen: opened, onClose: handleDismiss, onRelease: handleBoostDrawerRelease, drawerOverlayProps: boostPopupTrackingData(BOOST_POPUP_TRACKING_ACTION.closeCard, currentUrl) },
3454
+ React__namespace["default"].createElement(core.Stack, { spacing: 16, sx: { padding: 16, paddingTop: 0 } },
3455
+ React__namespace["default"].createElement(index$2.Text, { size: "s2" }, modalHeading),
3456
+ contentEle))) : (React__namespace["default"].createElement(index$i.Modal, { title: React__namespace["default"].createElement(index$2.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: {
3457
+ body: {
3458
+ '&:not(:only-child)': {
3459
+ paddingTop: 16,
3460
+ },
3461
+ },
3462
+ } }, contentEle));
3463
+ }
3464
+
2828
3465
  const StyledFixedAdBlock = styled__default["default"].div `
2829
3466
  position: fixed;
2830
3467
  z-index: 48;
@@ -4701,7 +5338,7 @@ const WidgetChatbotAi = ({}) => {
4701
5338
  React__namespace["default"].createElement("form", { onSubmit: handleSubmit },
4702
5339
  React__namespace["default"].createElement(StyleInput, { type: "text", value: value, onChange: (e) => setValue(e.target.value), name: "input-message", placeholder: "Ask anything..." }),
4703
5340
  React__namespace["default"].createElement(core.Box, { className: "rightSection" },
4704
- React__namespace["default"].createElement(index$e.Button, { className: "submitBtn", type: "submit", variant: value ? 'primary' : 'ghost', leftIcon: React__namespace["default"].createElement(arrow.ArrowRight, { size: 16, color: value ? '#fff' : '#595959' }) }))))));
5341
+ React__namespace["default"].createElement(index$g.Button, { className: "submitBtn", type: "submit", variant: value ? 'primary' : 'ghost', leftIcon: React__namespace["default"].createElement(arrow.ArrowRight, { size: 16, color: value ? '#fff' : '#595959' }) }))))));
4705
5342
  };
4706
5343
 
4707
5344
  const StyledBox = styled__default["default"].div `
@@ -4814,7 +5451,7 @@ const HPVScreener = ({ onClick, className, style, image, as = 'span', }) => {
4814
5451
  React__namespace["default"].createElement(index$9.Button, { className: "hpv-screener-button", onClick: onClick, size: "lg", color: "secondary" },
4815
5452
  React__namespace["default"].createElement(StyledTextButtonBox, null,
4816
5453
  React__namespace["default"].createElement(index$2.Text, { size: "title2", color: "primaryBase", weight: "semiBold" }, t('detail.hpvScreenerButton')),
4817
- React__namespace["default"].createElement(index$f.ArrowRightBlue, { style: { width: '0.5rem', height: '0.5rem' } }))))));
5454
+ React__namespace["default"].createElement(index$j.ArrowRightBlue, { style: { width: '0.5rem', height: '0.5rem' } }))))));
4818
5455
  };
4819
5456
 
4820
5457
  const StyledTwoItemHorizontalContainer = styled__default["default"].div `
@@ -4917,7 +5554,7 @@ function Content({ className, children, customLoading, customEmpty, }) {
4917
5554
  const { loading, items } = useListContext();
4918
5555
  const { t } = index$8.useTranslations();
4919
5556
  if (loading) {
4920
- return customLoading ? React__namespace["default"].createElement(React__namespace["default"].Fragment, null, customLoading) : React__namespace["default"].createElement(index$g.Loading, null);
5557
+ return customLoading ? React__namespace["default"].createElement(React__namespace["default"].Fragment, null, customLoading) : React__namespace["default"].createElement(index$k.Loading, null);
4921
5558
  }
4922
5559
  if (!items.length) {
4923
5560
  return customEmpty ? React__namespace["default"].createElement(React__namespace["default"].Fragment, null, customEmpty) : React__namespace["default"].createElement("div", null, t('common.noResult'));
@@ -5383,7 +6020,8 @@ function CardListItem({ title, href, description, logo, defaultImage, LinkCompon
5383
6020
 
5384
6021
  const HERO_IMAGE_TO_TOP_CONTENT = 251;
5385
6022
  const OVERLAP_CONTENT_RADIUS = 22;
5386
- const HERO_IMAGE_HEIGHT = OVERLAP_CONTENT_RADIUS + HERO_IMAGE_TO_TOP_CONTENT;
6023
+ const HERO_IMAGE_HEIGHT = OVERLAP_CONTENT_RADIUS + HERO_IMAGE_TO_TOP_CONTENT;
6024
+ const HERO_IMAGE_RATIO = 375 / HERO_IMAGE_HEIGHT;
5387
6025
 
5388
6026
  // import CalendarDayIcon from '@/public/svg/calendar-days.svg'
5389
6027
  // import UsersIcon from '@/public/svg/users.svg'
@@ -5541,7 +6179,7 @@ const StyledImageCarousel = styled__default["default"](index$4.Carousel) `
5541
6179
 
5542
6180
  .mantine-Carousel-indicators {
5543
6181
  gap: 0.375rem;
5544
- bottom: ${({ isCarouselParallax }) => isCarouselParallax ? '38%' : '0.5rem'};
6182
+ bottom: ${({ isCarouselParallax }) => isCarouselParallax ? '14.65%' : '0.5rem'};
5545
6183
  }
5546
6184
 
5547
6185
  .mantine-Carousel-indicator {
@@ -5592,12 +6230,13 @@ const FixedHeroSection = styled__default["default"].div `
5592
6230
 
5593
6231
  ${utils.MediaQueries.mbDown} {
5594
6232
  position: fixed;
5595
- top: var(--header-height, ${constants.DEFAULT_HEADER_HEIGHT_MOBILE}px);
6233
+ top: var(--header-height, ${constants$1.DEFAULT_HEADER_HEIGHT_MOBILE}px);
5596
6234
  left: 0;
5597
6235
  right: 0;
5598
6236
  z-index: 0;
5599
6237
  overflow: hidden;
5600
- display: flex;
6238
+ /* display: flex; */
6239
+ display: ${({ hidden }) => (hidden ? 'none' : 'flex')};
5601
6240
  flex-direction: column;
5602
6241
 
5603
6242
  width: 100vw;
@@ -5605,7 +6244,7 @@ const FixedHeroSection = styled__default["default"].div `
5605
6244
 
5606
6245
  & > div {
5607
6246
  width: 100vw;
5608
- height: var(--heroImageHeight);
6247
+ height: calc(100vw / var(--heroImageRatio));
5609
6248
  }
5610
6249
  }
5611
6250
  `;
@@ -5632,18 +6271,21 @@ const ContentOverlayWrapperParallax = styled__default["default"].div `
5632
6271
  function FixedParallaxHeroSection({ children }) {
5633
6272
  const heroSectionRef = React.useRef(null);
5634
6273
  const [scrollIndex, setScrollIndex] = React.useState(0);
6274
+ const [hideHeroSection, setHideHeroSection] = React.useState(false);
5635
6275
  React.useEffect(() => {
5636
6276
  const el = heroSectionRef.current;
5637
6277
  if (!el)
5638
6278
  return;
5639
6279
  const checkHasReachedTop = () => {
5640
6280
  setScrollIndex(window.scrollY);
6281
+ const displayHeight = window.innerWidth / HERO_IMAGE_RATIO;
6282
+ setHideHeroSection(window.scrollY > displayHeight);
5641
6283
  };
5642
6284
  checkHasReachedTop();
5643
6285
  window.addEventListener('scroll', checkHasReachedTop, { passive: true });
5644
6286
  return () => window.removeEventListener('scroll', checkHasReachedTop);
5645
6287
  }, []);
5646
- return (React__namespace["default"].createElement(FixedHeroSection, { ref: heroSectionRef, "data-section": "FixedParallaxHeroSection_FixedHeroSection", scrollIndex: scrollIndex },
6288
+ return (React__namespace["default"].createElement(FixedHeroSection, { ref: heroSectionRef, "data-section": "FixedParallaxHeroSection_FixedHeroSection", scrollIndex: scrollIndex, hidden: hideHeroSection },
5647
6289
  React__namespace["default"].createElement("div", { "data-section": "FixedHeroSection_Content" }, children)));
5648
6290
  }
5649
6291
  function GeneralInfo({ generalInfo, backupSrc, className, contentClassName, bannerProps = {}, imagesSelect, children, isMobile: isMobileProp = false, imageCarousel = [], carouselSlotProps, isCarouselParallax = false, onCarouselImageClick, }) {
@@ -6061,7 +6703,7 @@ function ModalGallery({ generalInfo, imageCarousel = [], backupSrc, isMobile = f
6061
6703
  };
6062
6704
  const modalTitle = isMobile ? title : undefined;
6063
6705
  return (React__namespace["default"].createElement(StyledModal, Object.assign({ opened: isOpen, onClose: handleClose, zIndex: index$6.ZINDEX_SSO, withCloseButton: isMobile, centered: true, size: "auto", fullScreen: isMobile, title: modalTitle, autoFocus: false }, modalProps, { transitionProps: Object.assign({ duration: TRANSITION_DURATION }, modalProps.transitionProps) }),
6064
- !isMobile && (React__namespace["default"].createElement(Close.Close, { onClick: handleClose, className: "closeModal", width: 24, height: 24, fill: "#212121" })),
6706
+ !isMobile && (React__namespace["default"].createElement(index$l.Close, { onClick: handleClose, className: "closeModal", width: 24, height: 24, fill: "#212121" })),
6065
6707
  React__namespace["default"].createElement(ModalGalleryProvider, { generalInfo: generalInfo, imageCarousel: imageCarousel, backupSrc: backupSrc, initialSlide: initialSlide, isMobile: isMobile },
6066
6708
  React__namespace["default"].createElement(ModalGalleryContent, null))));
6067
6709
  }
@@ -6311,6 +6953,8 @@ exports.ListContext = ListContext;
6311
6953
  exports.MAX_RATING = MAX_RATING;
6312
6954
  exports.ModalGallery = ModalGallery;
6313
6955
  exports.ModalGalleryProvider = ModalGalleryProvider;
6956
+ exports.PopupBoostArticleCard = PopupBoostArticleCard;
6957
+ exports.PopupBoostPageView = PopupBoostPageView;
6314
6958
  exports.QuickFilter = QuickFilter;
6315
6959
  exports.QuickFilterWrapLine = QuickFilterWrapLine;
6316
6960
  exports.RadioGroup = RadioGroup;