@hhgtech/hhg-components 1.27.106 → 1.27.108

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 (338) hide show
  1. package/build/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components/atoms/icons/ArrowRightTail.d.ts +4 -0
  5. package/build/components/atoms/icons/index.d.ts +1 -0
  6. package/build/components/molecules/index.d.ts +2 -1
  7. package/build/components/molecules/premiumNewsletterBanner/bannerLayout.d.ts +11 -0
  8. package/build/components/molecules/premiumNewsletterBanner/bannerWithOption/index.d.ts +17 -0
  9. package/build/components/molecules/premiumNewsletterBanner/bannerWithOption/index.styles.d.ts +10 -0
  10. package/build/components/molecules/premiumNewsletterBanner/constants.d.ts +167 -0
  11. package/build/components/molecules/premiumNewsletterBanner/context.d.ts +13 -9
  12. package/build/components/molecules/premiumNewsletterBanner/handlerBanner.d.ts +3 -0
  13. package/build/components/molecules/premiumNewsletterBanner/index.d.ts +8 -1
  14. package/build/components/molecules/premiumNewsletterBanner/toolBanner.d.ts +11 -7
  15. package/build/components/molecules/premiumNewsletterBanner/types.d.ts +43 -0
  16. package/build/components/onboardingV2/index.d.ts +2 -2
  17. package/build/components/onboardingV2/onboardingForm/index.d.ts +2 -1
  18. package/build/components/onboardingV2/otpForm/phone.d.ts +2 -1
  19. package/build/components/ui/onboarding/index.d.ts +1 -1
  20. package/build/components.js +1 -1
  21. package/build/constants.js +1 -1
  22. package/build/{core-6777448c.js → core-c7a75018.js} +1 -1
  23. package/build/ecom.js +1 -1
  24. package/build/esm/babyGrowth.js +5 -5
  25. package/build/esm/cache.js +1 -1
  26. package/build/esm/care.js +1 -1
  27. package/build/esm/components/atoms/icons/ArrowRightTail.d.ts +4 -0
  28. package/build/esm/components/atoms/icons/index.d.ts +1 -0
  29. package/build/esm/components/molecules/index.d.ts +2 -1
  30. package/build/esm/components/molecules/premiumNewsletterBanner/bannerLayout.d.ts +11 -0
  31. package/build/esm/components/molecules/premiumNewsletterBanner/bannerWithOption/index.d.ts +17 -0
  32. package/build/esm/components/molecules/premiumNewsletterBanner/bannerWithOption/index.styles.d.ts +10 -0
  33. package/build/esm/components/molecules/premiumNewsletterBanner/constants.d.ts +167 -0
  34. package/build/esm/components/molecules/premiumNewsletterBanner/context.d.ts +13 -9
  35. package/build/esm/components/molecules/premiumNewsletterBanner/handlerBanner.d.ts +3 -0
  36. package/build/esm/components/molecules/premiumNewsletterBanner/index.d.ts +8 -1
  37. package/build/esm/components/molecules/premiumNewsletterBanner/toolBanner.d.ts +11 -7
  38. package/build/esm/components/molecules/premiumNewsletterBanner/types.d.ts +43 -0
  39. package/build/esm/components/onboardingV2/index.d.ts +2 -2
  40. package/build/esm/components/onboardingV2/onboardingForm/index.d.ts +2 -1
  41. package/build/esm/components/onboardingV2/otpForm/phone.d.ts +2 -1
  42. package/build/esm/components/ui/onboarding/index.d.ts +1 -1
  43. package/build/esm/components.js +1 -1
  44. package/build/esm/constants.js +1 -1
  45. package/build/esm/{core-7199dd40.js → core-4fa1377d.js} +1 -1
  46. package/build/esm/ecom.js +1 -1
  47. package/build/esm/fixedBottomAdBlock-bf030cc6.js +1 -0
  48. package/build/esm/footer.js +1 -1
  49. package/build/esm/gAssets.js +1 -1
  50. package/build/esm/getDynamicHealthTool-4a9008e6.js +1 -0
  51. package/build/esm/{getSocialList-8def722a.js → getSocialList-10b0890f.js} +1 -1
  52. package/build/esm/hooks.js +1 -1
  53. package/build/esm/i18n/translationKeys.d.ts +1 -1
  54. package/build/esm/i18n-values/en-PH.js +1 -1
  55. package/build/esm/i18n-values/hi-IN.js +1 -1
  56. package/build/esm/i18n-values/id-ID.js +1 -1
  57. package/build/esm/i18n-values/km-KH.js +1 -1
  58. package/build/esm/i18n-values/ms-MY.js +1 -1
  59. package/build/esm/i18n-values/my-MM.js +1 -1
  60. package/build/esm/i18n-values/th-TH.js +1 -1
  61. package/build/esm/i18n-values/tl-PH.js +1 -1
  62. package/build/esm/i18n-values/vi-VN.js +1 -1
  63. package/build/esm/i18n-values/vi-VN_MB.js +1 -1
  64. package/build/esm/i18n-values/zh-TW.js +1 -1
  65. package/build/esm/i18n.js +1 -1
  66. package/build/esm/i18nV2.js +1 -1
  67. package/build/esm/index-06d78c13.js +1 -0
  68. package/build/esm/{index-5ff2d3ca.js → index-079b076a.js} +1 -1
  69. package/build/esm/{index-d50c2330.js → index-1fcd21d6.js} +1 -1
  70. package/build/esm/{index-cf323724.js → index-207bfc46.js} +1 -1
  71. package/build/esm/{index-c0b4791d.js → index-3205cae2.js} +1 -1
  72. package/build/esm/index-40286727.js +1 -0
  73. package/build/esm/{index-8a43a259.js → index-487b5955.js} +1 -1
  74. package/build/esm/index-4fb56101.js +6897 -0
  75. package/build/esm/{index-4aa9bd18.js → index-7313938c.js} +1 -1
  76. package/build/esm/{index-28f63afa.js → index-88d1f21a.js} +1 -1
  77. package/build/esm/index-8bf9f4b7.js +113 -0
  78. package/build/esm/index-9dc72ef6.js +1 -0
  79. package/build/esm/{index-450899bd.js → index-a1ad59eb.js} +6 -6
  80. package/build/esm/{index-10eafdee.js → index-afc34144.js} +1 -1
  81. package/build/esm/{index-23e57e34.js → index-b0fb8848.js} +1 -1
  82. package/build/esm/index-bc29ba16.js +1 -0
  83. package/build/esm/{index-b91f88a9.js → index-c08468c8.js} +1 -1
  84. package/build/esm/index-d0c85d18.js +1 -0
  85. package/build/esm/{index-7fe906e6.js → index-dc038260.js} +1 -1
  86. package/build/esm/{index-44f86fa4.js → index-e34aff32.js} +1 -1
  87. package/build/esm/{index-46ca4767.js → index-f41ca02d.js} +1 -1
  88. package/build/esm/index.js +1 -1
  89. package/build/esm/{index.styled-3fd8255b.js → index.styled-455cec24.js} +1 -1
  90. package/build/esm/{index.styled-e2634b67.js → index.styled-68620508.js} +1 -1
  91. package/build/esm/{index.styled-5a7758ac.js → index.styled-8cac0670.js} +3 -3
  92. package/build/esm/{index.styles-8a242f95.js → index.styles-054791eb.js} +2 -2
  93. package/build/esm/interfaces/constants/index.d.ts +1 -0
  94. package/build/esm/interfaces/constants/riskScreener.d.ts +9 -0
  95. package/build/esm/lead.js +1 -1
  96. package/build/esm/mantine.js +1 -1
  97. package/build/esm/misc.js +1 -1
  98. package/build/esm/navigation.js +1 -1
  99. package/build/esm/{routing-01f1d0a2.js → normalizeLink-b09aeaef.js} +1 -1
  100. package/build/esm/onboarding.js +1 -1
  101. package/build/esm/onboardingV2.js +30 -30
  102. package/build/esm/{paths-72ad2c5a.js → paths-f06f4b77.js} +1 -1
  103. package/build/esm/pwg.js +3 -3
  104. package/build/esm/together.js +1 -1
  105. package/build/esm/{types-60538526.js → types-2168a8be.js} +18 -18
  106. package/build/esm/types-4341a1ad.js +1 -0
  107. package/build/esm/types.js +1 -1
  108. package/build/esm/{useCategory-7d8609bc.js → useCategory-93c085f5.js} +1 -1
  109. package/build/esm/useHealthToolCache-4d6f85a4.js +1 -0
  110. package/build/esm/{useRafState-957e3f4f.js → useRafState-82ac303c.js} +1 -1
  111. package/build/esm/{useTranslations-30aaa435.js → useTranslations-3e087ef1.js} +1 -1
  112. package/build/esm/{utils-de53cba3.js → utils-5d3141da.js} +1 -1
  113. package/build/esm/vaccination.js +5 -5
  114. package/build/fixedBottomAdBlock-868addc2.js +1 -0
  115. package/build/footer.js +1 -1
  116. package/build/gAssets.js +1 -1
  117. package/build/getDynamicHealthTool-f4f91c99.js +1 -0
  118. package/build/{getSocialList-a979b7f7.js → getSocialList-b6402502.js} +1 -1
  119. package/build/hooks.js +1 -1
  120. package/build/i18n/translationKeys.d.ts +1 -1
  121. package/build/i18n-values/en-PH.js +1 -1
  122. package/build/i18n-values/hi-IN.js +1 -1
  123. package/build/i18n-values/id-ID.js +1 -1
  124. package/build/i18n-values/km-KH.js +1 -1
  125. package/build/i18n-values/ms-MY.js +1 -1
  126. package/build/i18n-values/my-MM.js +1 -1
  127. package/build/i18n-values/th-TH.js +1 -1
  128. package/build/i18n-values/tl-PH.js +1 -1
  129. package/build/i18n-values/vi-VN.js +1 -1
  130. package/build/i18n-values/vi-VN_MB.js +1 -1
  131. package/build/i18n-values/zh-TW.js +1 -1
  132. package/build/i18n.js +1 -1
  133. package/build/i18nV2.js +1 -1
  134. package/build/{index-c133ec54.js → index-07e01103.js} +1 -1
  135. package/build/index-09f4655b.js +1 -0
  136. package/build/{index-37056abd.js → index-0e741262.js} +1 -1
  137. package/build/{index-d9ff9e9d.js → index-12645a3d.js} +1 -1
  138. package/build/{index-efe8b5e5.js → index-14681c4d.js} +1 -1
  139. package/build/{index-2fa72c33.js → index-20eabad1.js} +1 -1
  140. package/build/{index-e04e8fce.js → index-2ee389bd.js} +1 -1
  141. package/build/{index-beef7f31.js → index-488aa7af.js} +1 -1
  142. package/build/{index-9297b09d.js → index-53cc2e2c.js} +1 -1
  143. package/build/{index-a6bb5f04.js → index-578006ad.js} +1 -1
  144. package/build/index-7462232a.js +113 -0
  145. package/build/{index-4e5f40e8.js → index-753cbbd7.js} +1 -1
  146. package/build/{index-e4a7ec87.js → index-8fd2a2ec.js} +1 -1
  147. package/build/index-93ef21b1.js +1 -0
  148. package/build/{_topic-8311bc5c.js → index-a1283613.js} +419 -419
  149. package/build/index-a39b5b8a.js +1 -0
  150. package/build/{index-74437525.js → index-b9c7f584.js} +1 -1
  151. package/build/{index-4f70f571.js → index-e062aec1.js} +1 -1
  152. package/build/{index-a037afcb.js → index-e152635d.js} +1 -1
  153. package/build/{index-6aea0955.js → index-eba3089e.js} +1 -1
  154. package/build/{index-08f5063b.js → index-ef0a72ff.js} +1 -1
  155. package/build/index.js +1 -1
  156. package/build/{index.styled-796d2028.js → index.styled-03aeb5ef.js} +5 -5
  157. package/build/{index.styled-bbaf897e.js → index.styled-0604b625.js} +1 -1
  158. package/build/{index.styled-d5862b70.js → index.styled-06324a5c.js} +1 -1
  159. package/build/{index.styles-3a22482d.js → index.styles-f9cad0ed.js} +2 -2
  160. package/build/interfaces/constants/index.d.ts +1 -0
  161. package/build/interfaces/constants/riskScreener.d.ts +9 -0
  162. package/build/lead.js +1 -1
  163. package/build/mantine.js +1 -1
  164. package/build/misc.js +1 -1
  165. package/build/navigation.js +1 -1
  166. package/build/normalizeLink-daac000f.js +1 -0
  167. package/build/onboarding.js +1 -1
  168. package/build/onboardingV2.js +16 -16
  169. package/build/{paths-9cc0f16a.js → paths-8f4ffd24.js} +1 -1
  170. package/build/pwg.js +2 -2
  171. package/build/together.js +1 -1
  172. package/build/{types-9661d5dc.js → types-d450b397.js} +1 -1
  173. package/build/types-e0dcc9af.js +1 -0
  174. package/build/types.js +1 -1
  175. package/build/{useCategory-42261fa9.js → useCategory-e50d02d4.js} +1 -1
  176. package/build/useHealthToolCache-77cd8a15.js +1 -0
  177. package/build/{useRafState-42bef5db.js → useRafState-86f9a0f3.js} +1 -1
  178. package/build/{useTranslations-23124ee9.js → useTranslations-ec44216d.js} +1 -1
  179. package/build/utils-f426008b.js +1 -0
  180. package/build/vaccination.js +1 -1
  181. package/package.json +1 -1
  182. package/build/components/molecules/premiumNewsletterBanner/bannerWithOption.d.ts +0 -10
  183. package/build/esm/_topic-395d4a03.js +0 -6897
  184. package/build/esm/components/molecules/premiumNewsletterBanner/bannerWithOption.d.ts +0 -10
  185. package/build/esm/getDynamicHealthTool-ef95b800.js +0 -1
  186. package/build/esm/index-1a89e915.js +0 -1
  187. package/build/esm/index-5791bb5e.js +0 -113
  188. package/build/esm/index-78790272.js +0 -1
  189. package/build/esm/index-9a421306.js +0 -1
  190. package/build/esm/index-aaf1cab1.js +0 -1
  191. package/build/esm/index-bfa78c44.js +0 -1
  192. package/build/esm/index-df2f8e37.js +0 -1
  193. package/build/esm/normalizeLink-6cfea88f.js +0 -1
  194. package/build/esm/types-0e440a32.js +0 -1
  195. package/build/esm/useHealthToolCache-fe647031.js +0 -1
  196. package/build/getDynamicHealthTool-586c30e6.js +0 -1
  197. package/build/index-2bb0e0c9.js +0 -113
  198. package/build/index-36c9f0d1.js +0 -1
  199. package/build/index-66418518.js +0 -1
  200. package/build/index-9a32846d.js +0 -1
  201. package/build/index-d4ed5be5.js +0 -1
  202. package/build/normalizeLink-67428231.js +0 -1
  203. package/build/routing-e3573c96.js +0 -1
  204. package/build/types-98be8e9e.js +0 -1
  205. package/build/useHealthToolCache-5c729cfa.js +0 -1
  206. package/build/utils-e75d6abb.js +0 -1
  207. /package/build/{BMI_BOYS.percentile.monthly-9d1ba7da.js → BMI_BOYS.percentile.monthly-6474acf1.js} +0 -0
  208. /package/build/{BMI_BOYS.percentile.weekly-3f266cf3.js → BMI_BOYS.percentile.weekly-d1359d99.js} +0 -0
  209. /package/build/{BMI_BOYS.percentile.yearly-6b6c6244.js → BMI_BOYS.percentile.yearly-86df8b65.js} +0 -0
  210. /package/build/{BMI_BOYS.zscore.monthly-b9418db1.js → BMI_BOYS.zscore.monthly-753a10e8.js} +0 -0
  211. /package/build/{BMI_BOYS.zscore.weekly-61f71c62.js → BMI_BOYS.zscore.weekly-f052b3b6.js} +0 -0
  212. /package/build/{BMI_BOYS.zscore.yearly-8a960206.js → BMI_BOYS.zscore.yearly-b1fd06c9.js} +0 -0
  213. /package/build/{BMI_GIRLS.percentile.monthly-b0dc7872.js → BMI_GIRLS.percentile.monthly-9a5f26d6.js} +0 -0
  214. /package/build/{BMI_GIRLS.percentile.weekly-4b9ba4aa.js → BMI_GIRLS.percentile.weekly-31ad199d.js} +0 -0
  215. /package/build/{BMI_GIRLS.percentile.yearly-4b7e3683.js → BMI_GIRLS.percentile.yearly-79419770.js} +0 -0
  216. /package/build/{BMI_GIRLS.zscore.monthly-7f1d852c.js → BMI_GIRLS.zscore.monthly-d0d104d6.js} +0 -0
  217. /package/build/{BMI_GIRLS.zscore.weekly-a682d4ef.js → BMI_GIRLS.zscore.weekly-933c4ae5.js} +0 -0
  218. /package/build/{BMI_GIRLS.zscore.yearly-5de8191c.js → BMI_GIRLS.zscore.yearly-33455e67.js} +0 -0
  219. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4a66eebc.js → HEAD CIRCUM_BOYS.percentile.monthly-6eaa2256.js} +0 -0
  220. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-f9c6cd92.js → HEAD CIRCUM_BOYS.percentile.weekly-899c1da1.js} +0 -0
  221. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-783e5835.js → HEAD CIRCUM_BOYS.percentile.yearly-7daa91f5.js} +0 -0
  222. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-a26e665d.js → HEAD CIRCUM_BOYS.zscore.monthly-d2d51c9c.js} +0 -0
  223. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-f094b730.js → HEAD CIRCUM_BOYS.zscore.weekly-28335f4f.js} +0 -0
  224. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-01341dde.js → HEAD CIRCUM_BOYS.zscore.yearly-5df395b7.js} +0 -0
  225. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-6937f140.js → HEAD CIRCUM_GIRLS.percentile.monthly-7d4466f9.js} +0 -0
  226. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-402f61b6.js → HEAD CIRCUM_GIRLS.percentile.weekly-3dd5083f.js} +0 -0
  227. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c18abd88.js → HEAD CIRCUM_GIRLS.percentile.yearly-0711f890.js} +0 -0
  228. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-b7c2764f.js → HEAD CIRCUM_GIRLS.zscore.monthly-8ae1120d.js} +0 -0
  229. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-9b88d3d8.js → HEAD CIRCUM_GIRLS.zscore.weekly-3f6446e8.js} +0 -0
  230. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b281bbc3.js → HEAD CIRCUM_GIRLS.zscore.yearly-187cd1e7.js} +0 -0
  231. /package/build/{HEIGHT_BOYS.percentile.monthly-ffd291ab.js → HEIGHT_BOYS.percentile.monthly-6a71dd8c.js} +0 -0
  232. /package/build/{HEIGHT_BOYS.percentile.weekly-c52febdc.js → HEIGHT_BOYS.percentile.weekly-ab26c647.js} +0 -0
  233. /package/build/{HEIGHT_BOYS.percentile.yearly-ba7ae630.js → HEIGHT_BOYS.percentile.yearly-b8d9f7ca.js} +0 -0
  234. /package/build/{HEIGHT_BOYS.zscore.monthly-e20208e7.js → HEIGHT_BOYS.zscore.monthly-2f50713f.js} +0 -0
  235. /package/build/{HEIGHT_BOYS.zscore.weekly-0f91e1b3.js → HEIGHT_BOYS.zscore.weekly-ab219f56.js} +0 -0
  236. /package/build/{HEIGHT_BOYS.zscore.yearly-8447f8b9.js → HEIGHT_BOYS.zscore.yearly-5c3fee13.js} +0 -0
  237. /package/build/{HEIGHT_GIRLS.percentile.monthly-816746e9.js → HEIGHT_GIRLS.percentile.monthly-b8e9cd11.js} +0 -0
  238. /package/build/{HEIGHT_GIRLS.percentile.weekly-b95c11be.js → HEIGHT_GIRLS.percentile.weekly-f5e06b9e.js} +0 -0
  239. /package/build/{HEIGHT_GIRLS.percentile.yearly-985166ef.js → HEIGHT_GIRLS.percentile.yearly-7cbff2d7.js} +0 -0
  240. /package/build/{HEIGHT_GIRLS.zscore.monthly-d3b5fa19.js → HEIGHT_GIRLS.zscore.monthly-7ccd7739.js} +0 -0
  241. /package/build/{HEIGHT_GIRLS.zscore.weekly-f468db5d.js → HEIGHT_GIRLS.zscore.weekly-09810d49.js} +0 -0
  242. /package/build/{HEIGHT_GIRLS.zscore.yearly-ea3908a9.js → HEIGHT_GIRLS.zscore.yearly-9324bb7e.js} +0 -0
  243. /package/build/{Onboarding-bd1701e2.js → Onboarding-09a0b8b8.js} +0 -0
  244. /package/build/{Visible-0336b939.js → Visible-f4da1058.js} +0 -0
  245. /package/build/{WEIGHT_BOYS.percentile.monthly-303e75e2.js → WEIGHT_BOYS.percentile.monthly-93492d7a.js} +0 -0
  246. /package/build/{WEIGHT_BOYS.percentile.weekly-4ee352cd.js → WEIGHT_BOYS.percentile.weekly-97297594.js} +0 -0
  247. /package/build/{WEIGHT_BOYS.percentile.yearly-51881010.js → WEIGHT_BOYS.percentile.yearly-6c493e93.js} +0 -0
  248. /package/build/{WEIGHT_BOYS.zscore.monthly-e4ec3492.js → WEIGHT_BOYS.zscore.monthly-db2d38e3.js} +0 -0
  249. /package/build/{WEIGHT_BOYS.zscore.weekly-1824bba4.js → WEIGHT_BOYS.zscore.weekly-2467da43.js} +0 -0
  250. /package/build/{WEIGHT_BOYS.zscore.yearly-583d0b6c.js → WEIGHT_BOYS.zscore.yearly-f861d638.js} +0 -0
  251. /package/build/{WEIGHT_GIRLS.percentile.monthly-fb2632bb.js → WEIGHT_GIRLS.percentile.monthly-8b45494e.js} +0 -0
  252. /package/build/{WEIGHT_GIRLS.percentile.weekly-7951e61a.js → WEIGHT_GIRLS.percentile.weekly-2144c3a8.js} +0 -0
  253. /package/build/{WEIGHT_GIRLS.percentile.yearly-c070044a.js → WEIGHT_GIRLS.percentile.yearly-2effedc3.js} +0 -0
  254. /package/build/{WEIGHT_GIRLS.zscore.monthly-9b3ede19.js → WEIGHT_GIRLS.zscore.monthly-8973c4f2.js} +0 -0
  255. /package/build/{WEIGHT_GIRLS.zscore.weekly-bbdc0386.js → WEIGHT_GIRLS.zscore.weekly-73d16170.js} +0 -0
  256. /package/build/{WEIGHT_GIRLS.zscore.yearly-4da42650.js → WEIGHT_GIRLS.zscore.yearly-e71c80ae.js} +0 -0
  257. /package/build/{constants-56c2d623.js → constants-26c603a9.js} +0 -0
  258. /package/build/{cookieHelper-43c69161.js → cookieHelper-f7f170bd.js} +0 -0
  259. /package/build/{dataTransform-ef45b5fa.js → dataTransform-6b83d29b.js} +0 -0
  260. /package/build/esm/{BMI_BOYS.percentile.monthly-4b700f4a.js → BMI_BOYS.percentile.monthly-f694b480.js} +0 -0
  261. /package/build/esm/{BMI_BOYS.percentile.weekly-20c2eefa.js → BMI_BOYS.percentile.weekly-a13f6584.js} +0 -0
  262. /package/build/esm/{BMI_BOYS.percentile.yearly-6883e3fa.js → BMI_BOYS.percentile.yearly-35a253c5.js} +0 -0
  263. /package/build/esm/{BMI_BOYS.zscore.monthly-b88c6169.js → BMI_BOYS.zscore.monthly-f1727824.js} +0 -0
  264. /package/build/esm/{BMI_BOYS.zscore.weekly-6aee76d6.js → BMI_BOYS.zscore.weekly-cbc0b3ed.js} +0 -0
  265. /package/build/esm/{BMI_BOYS.zscore.yearly-af704c7b.js → BMI_BOYS.zscore.yearly-bbe45b72.js} +0 -0
  266. /package/build/esm/{BMI_GIRLS.percentile.monthly-a99383b0.js → BMI_GIRLS.percentile.monthly-57992bbb.js} +0 -0
  267. /package/build/esm/{BMI_GIRLS.percentile.weekly-cf329c96.js → BMI_GIRLS.percentile.weekly-fabdfca2.js} +0 -0
  268. /package/build/esm/{BMI_GIRLS.percentile.yearly-bc1d8805.js → BMI_GIRLS.percentile.yearly-57d5d7de.js} +0 -0
  269. /package/build/esm/{BMI_GIRLS.zscore.monthly-24e0906d.js → BMI_GIRLS.zscore.monthly-967d3822.js} +0 -0
  270. /package/build/esm/{BMI_GIRLS.zscore.weekly-3c7534cb.js → BMI_GIRLS.zscore.weekly-f29ba0b5.js} +0 -0
  271. /package/build/esm/{BMI_GIRLS.zscore.yearly-e86dc9d6.js → BMI_GIRLS.zscore.yearly-b3e1f421.js} +0 -0
  272. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-26ade6d1.js → HEAD CIRCUM_BOYS.percentile.monthly-a2ab1762.js} +0 -0
  273. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-bcca6572.js → HEAD CIRCUM_BOYS.percentile.weekly-ad8891e1.js} +0 -0
  274. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-d3981988.js → HEAD CIRCUM_BOYS.percentile.yearly-da5c3247.js} +0 -0
  275. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-983a3346.js → HEAD CIRCUM_BOYS.zscore.monthly-37664fc1.js} +0 -0
  276. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-d6c9a013.js → HEAD CIRCUM_BOYS.zscore.weekly-43847232.js} +0 -0
  277. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-c8d65a4d.js → HEAD CIRCUM_BOYS.zscore.yearly-b8b548e2.js} +0 -0
  278. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-94badee7.js → HEAD CIRCUM_GIRLS.percentile.monthly-79b0ab3b.js} +0 -0
  279. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-aff2bcfd.js → HEAD CIRCUM_GIRLS.percentile.weekly-d760f0f6.js} +0 -0
  280. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-aa570380.js → HEAD CIRCUM_GIRLS.percentile.yearly-14c5089d.js} +0 -0
  281. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-309e7ffc.js → HEAD CIRCUM_GIRLS.zscore.monthly-de366fa2.js} +0 -0
  282. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-6686bbb8.js → HEAD CIRCUM_GIRLS.zscore.weekly-d2704b26.js} +0 -0
  283. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-bccdfc66.js → HEAD CIRCUM_GIRLS.zscore.yearly-483fc5c5.js} +0 -0
  284. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-798b348f.js → HEIGHT_BOYS.percentile.monthly-3799366e.js} +0 -0
  285. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-fdc8e3eb.js → HEIGHT_BOYS.percentile.weekly-3c818bda.js} +0 -0
  286. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-61fce2ce.js → HEIGHT_BOYS.percentile.yearly-46d85627.js} +0 -0
  287. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9c122b80.js → HEIGHT_BOYS.zscore.monthly-c2d0a10d.js} +0 -0
  288. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-44a84440.js → HEIGHT_BOYS.zscore.weekly-9a9dc3fa.js} +0 -0
  289. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a3bf010e.js → HEIGHT_BOYS.zscore.yearly-7c42e8c0.js} +0 -0
  290. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-49060f92.js → HEIGHT_GIRLS.percentile.monthly-b4617cb6.js} +0 -0
  291. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-6f27a8c5.js → HEIGHT_GIRLS.percentile.weekly-a57372b1.js} +0 -0
  292. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-fd4e0e67.js → HEIGHT_GIRLS.percentile.yearly-42a759fb.js} +0 -0
  293. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-1cc8e864.js → HEIGHT_GIRLS.zscore.monthly-77f9982b.js} +0 -0
  294. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-1a065039.js → HEIGHT_GIRLS.zscore.weekly-8b36344b.js} +0 -0
  295. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-0eef5ca0.js → HEIGHT_GIRLS.zscore.yearly-6f72e0e4.js} +0 -0
  296. /package/build/esm/{Onboarding-76dc8304.js → Onboarding-485d3188.js} +0 -0
  297. /package/build/esm/{Visible-bb7d4602.js → Visible-7f242e5b.js} +0 -0
  298. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-6004c002.js → WEIGHT_BOYS.percentile.monthly-fd15d691.js} +0 -0
  299. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-31a5de7c.js → WEIGHT_BOYS.percentile.weekly-47e3be0b.js} +0 -0
  300. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-af22a345.js → WEIGHT_BOYS.percentile.yearly-d4819cc4.js} +0 -0
  301. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-18342763.js → WEIGHT_BOYS.zscore.monthly-33e08b56.js} +0 -0
  302. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-5f3e180c.js → WEIGHT_BOYS.zscore.weekly-85ad74c4.js} +0 -0
  303. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-7a0a4df4.js → WEIGHT_BOYS.zscore.yearly-9e35b7db.js} +0 -0
  304. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-5acc8efc.js → WEIGHT_GIRLS.percentile.monthly-de3c7336.js} +0 -0
  305. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-bbe2d7e2.js → WEIGHT_GIRLS.percentile.weekly-c0e60d8a.js} +0 -0
  306. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-6990e028.js → WEIGHT_GIRLS.percentile.yearly-b8d83e40.js} +0 -0
  307. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-64bd4a57.js → WEIGHT_GIRLS.zscore.monthly-7621d4ed.js} +0 -0
  308. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-08e06f6a.js → WEIGHT_GIRLS.zscore.weekly-6819de4d.js} +0 -0
  309. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-4a64e6fa.js → WEIGHT_GIRLS.zscore.yearly-ff07da9d.js} +0 -0
  310. /package/build/esm/{constants-bb7e4df3.js → constants-0f67755b.js} +0 -0
  311. /package/build/esm/{cookieHelper-bb639635.js → cookieHelper-f207d4d4.js} +0 -0
  312. /package/build/esm/{dataTransform-b6476cb8.js → dataTransform-e317a055.js} +0 -0
  313. /package/build/esm/{index-d8eac6d8.js → index-5241ad7e.js} +0 -0
  314. /package/build/esm/{isProduction-cc02dbe1.js → isProduction-d1277896.js} +0 -0
  315. /package/build/esm/{localizeNumberFormat-0cc4b319.js → localizeNumberFormat-ca035a83.js} +0 -0
  316. /package/build/esm/{number-e4e40587.js → number-8eccff99.js} +0 -0
  317. /package/build/esm/{screenSizeContext-5c82841a.js → screenSizeContext-41ddf2d8.js} +0 -0
  318. /package/build/esm/{theme-de986140.js → theme-de7144fa.js} +0 -0
  319. /package/build/esm/{translationsContext-6ad83b5e.js → translationsContext-ecfcfef5.js} +0 -0
  320. /package/build/esm/{tslib.es6-5c131ae0.js → tslib.es6-d7ea3995.js} +0 -0
  321. /package/build/esm/{types-704a9e2a.js → types-e5a752c4.js} +0 -0
  322. /package/build/esm/{useIsInit-23476738.js → useIsInit-e69680cc.js} +0 -0
  323. /package/build/esm/{useOutsideClick-a507db78.js → useOutsideClick-0953f9a5.js} +0 -0
  324. /package/build/esm/{useScrollbarSize-240c7e05.js → useScrollbarSize-d202bf4e.js} +0 -0
  325. /package/build/esm/{useUniqueId-fa69a40e.js → useUniqueId-d57b41d6.js} +0 -0
  326. /package/build/{index-ab9d297e.js → index-4ed3a08f.js} +0 -0
  327. /package/build/{isProduction-911a33de.js → isProduction-847c662c.js} +0 -0
  328. /package/build/{localizeNumberFormat-0b70619f.js → localizeNumberFormat-33f385c8.js} +0 -0
  329. /package/build/{number-c0d99f18.js → number-fe2cebb7.js} +0 -0
  330. /package/build/{screenSizeContext-dca63fab.js → screenSizeContext-dc4a704c.js} +0 -0
  331. /package/build/{theme-c5ccafe7.js → theme-6dc2706a.js} +0 -0
  332. /package/build/{translationsContext-125f6a93.js → translationsContext-06042b8f.js} +0 -0
  333. /package/build/{tslib.es6-b485694c.js → tslib.es6-aff53c48.js} +0 -0
  334. /package/build/{types-e6692e7f.js → types-b6efde8f.js} +0 -0
  335. /package/build/{useIsInit-3a88f63a.js → useIsInit-c6da49b9.js} +0 -0
  336. /package/build/{useOutsideClick-e8092367.js → useOutsideClick-725582fb.js} +0 -0
  337. /package/build/{useScrollbarSize-ff1dd2fd.js → useScrollbarSize-8e27d707.js} +0 -0
  338. /package/build/{useUniqueId-8ea6c9e7.js → useUniqueId-8a0a6118.js} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react"),t=require("./index-753cbbd7.js"),a=require("./index.styles-f9cad0ed.js"),l=require("./screenSizeContext-dc4a704c.js"),n=require("./useUniqueId-8a0a6118.js"),r=require("./gAssets.js"),o=require("./theme-6dc2706a.js"),i=require("./index-a1283613.js"),s=require("./tslib.es6-aff53c48.js"),d=require("@mantine/core"),c=require("innertext");require("@mantine/dates");var u=require("./index-a39b5b8a.js");require("./Onboarding-09a0b8b8.js");var m=require("dayjs");require("styled-components");var g=require("./isProduction-847c662c.js");require("./translationsContext-06042b8f.js"),require("string-format"),require("./index-b9c7f584.js"),require("@mantine/hooks");var f=require("./index-09f4655b.js"),p=require("lodash/throttle"),h=require("./useTranslations-ec44216d.js"),v=require("date-fns"),y=require("./index-2ee389bd.js"),E=require("./index-7462232a.js");require("lodash/debounce"),require("./useCategory-e50d02d4.js");var b=require("./types-b6efde8f.js"),C=require("./index-8fd2a2ec.js"),w=require("./index-488aa7af.js"),k=require("react-hook-form"),S=require("./useHealthToolCache-77cd8a15.js"),x=require("./index.styled-06324a5c.js"),T=require("./useOutsideClick-725582fb.js"),N=require("date-fns/locale/en-US"),B=require("date-fns/locale/id"),D=require("date-fns/locale/vi"),L=require("date-fns/locale/zh-TW"),A=require("./index-e062aec1.js"),M=require("./getSocialList-b6402502.js"),I=require("uuid");function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var z=_(e),P=_(c),O=_(m),F=_(p),j=_(N),H=_(B),G=_(D),$=_(L),R="CHw-fZZ",W="_03U6VRS",V="EO828Vv";const U=({pagesAmount:t,activePage:n,handlePageChange:r,handleClick:o,href:i,queryPageName:s="page"})=>{const d=[...Array(t)].map(((e,t)=>t+1)),[c,u]=e.useState(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return e.useEffect((()=>{n<=4?u(d.slice(0,5)):n>=d.length-3?u(d.slice(d.length-5,d.length)):u(d.slice(n-2,n+1))}),[n]),z.default.createElement(e.Fragment,null,n>4&&z.default.createElement(e.Fragment,null,z.default.createElement(a.StyledPaginationBlock,{onClick:()=>r(1)},i?z.default.createElement("a",{href:i,onClick:o},1):1),z.default.createElement(a.StyledPaginationBlock,null,"...")),c.map((e=>z.default.createElement(a.StyledPaginationBlock,{key:`pagination+${e}`,"data-page-active":e===n||void 0,onClick:()=>r(e)},i?z.default.createElement("a",{href:l.formatUrlWithPageParam(i,e,s),onClick:o},e):e))),n<d.length-3&&z.default.createElement(e.Fragment,null,z.default.createElement(a.StyledPaginationBlock,null,"..."),z.default.createElement(a.StyledPaginationBlock,{onClick:()=>r(d.length)},i?z.default.createElement("a",{href:l.formatUrlWithPageParam(i,d.length,s),onClick:o},d.length):d.length)))},q=({label:e,name:t,checked:l,className:n,isDisabled:r,onChange:o,value:i,isRectangle:s,inputDataTestId:d,siteType:c})=>z.default.createElement(a.StyledCheckbox,{className:n,"data-disabled":r||void 0,"data-is-rectangle":s||void 0,"data-label-text":e,"data-theme":c},z.default.createElement("input",{type:"checkbox",checked:l,name:t,onChange:()=>o(i,!l),disabled:r,value:i,id:`${t}-${i}`,"data-label-text":e,"data-testid":d}),!s&&z.default.createElement("label",{htmlFor:`${t}-${i}`},e)),Z=e=>z.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),z.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),Y=e=>z.default.createElement("svg",Object.assign({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),z.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),Q=e=>{const t=n.useUniqueId();return z.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),z.default.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),z.default.createElement("mask",{id:t,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},z.default.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),z.default.createElement("g",{mask:`url(#${t})`},z.default.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},K=t=>{var{label:l,availableValue:n,styles:o}=t,i=s.__rest(t,["label","availableValue","styles"]);const{t:c}=h.useTranslations(),{classes:u,cx:m}=a.useStyles(void 0,{name:"GenderOptionControl",styles:o}),[g,f]=e.useState(),p=e.useRef(null),v=e.useMemo((()=>[{value:"male",label:c("gender.male"),icon:r.CommonGAssets.getAssetPath("health-tools/male-icon.svg")},{value:"female",label:c("gender.female"),icon:r.CommonGAssets.getAssetPath("health-tools/female-icon.svg")}]),[]);return e.useEffect((()=>{f(n)}),[n]),z.default.createElement(d.Box,{ref:p,className:u.root},z.default.createElement(d.Radio.Group,Object.assign({className:"radio-group",label:z.default.createElement(a.Text,{size:"s4",weight:"semiBold",span:!0,color:"gray.6"},l),size:"lg"},i,{classNames:{error:u.groupErr}}),z.default.createElement(d.Flex,{className:m(u.wrapper)},v.map((e=>z.default.createElement(d.Radio,Object.assign({className:"gender-item",classNames:{root:u.itemRoot,labelWrapper:u.itemLabelWrapper,label:u.itemLabel,inner:u.itemInner},key:e.value,value:e.value},g&&e.value!==g&&{disabled:!0},{label:z.default.createElement(d.Flex,{gap:d.rem(8),align:"center",justify:"center",sx:{zIndex:0}},z.default.createElement("img",{src:e.icon,className:"gender-image",alt:"female",loading:"lazy"}),z.default.createElement(a.Text,{size:"p3"},e.label))})))))))};var X="PiqKaXk",J="HgbW6-m",ee="_6lkfLYy",te="j7c-onH";const ae=({avatarImg:e,authorName:a,authorLink:l,uploadTime:n,size:r})=>z.default.createElement("div",{className:te},z.default.createElement("div",{className:"author"},z.default.createElement("div",{className:"avatar","data-size":r},e),z.default.createElement("div",{className:"poster","data-is-disabled-url":!l},z.default.createElement(t.Text,{size:"lg"===r?"p3":"p4"},z.default.createElement("a",{href:l},z.default.createElement("span",{className:"name"},a),"•"," "),z.default.createElement("span",null,n))))),le=({isMobile:e,avatarImg:l,name:n,link:r,size:i="lg",specialty:s})=>z.default.createElement("div",{className:te},z.default.createElement("div",{className:"author"},z.default.createElement("div",{className:"expert-avatar","data-size":i},l),z.default.createElement("div",{className:"expert","data-is-disabled-url":!r},e?z.default.createElement("a",{href:r},"lg"===i?z.default.createElement(z.default.Fragment,null,z.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:o.theme.colors.gray600},n),z.default.createElement(t.Text,{color:o.theme.colors.gray500,size:"p3",className:"specialty"},s)):z.default.createElement(z.default.Fragment,null,z.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:o.theme.colors.gray600},n))):z.default.createElement("a",{href:r},"lg"===i?z.default.createElement(z.default.Fragment,null,z.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:o.theme.colors.gray600},n),z.default.createElement(t.Text,{color:o.theme.colors.gray500,size:"p3",className:"specialty"},s)):z.default.createElement(z.default.Fragment,null,z.default.createElement("h6",{color:o.theme.colors.gray600,className:`${X} expert__name`},n),z.default.createElement(t.Text,{color:o.theme.colors.gray500,size:"p4",className:"specialty"},s)))))),ne=e=>{var t,l,n,{article:r,author:o,authorAvatar:i,badge:c="",hideDescription:u=!1,isBookmarked:m=!1,onBookmark:g,time:f,tracking:p}=e,h=s.__rest(e,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:v}=a.useScreenSize();return console.log({article:r}),z.default.createElement(d.Card,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},h),z.default.createElement(d.Card.Section,{w:"100%",h:"100%",miw:264,m:0},z.default.createElement("img",{src:(v?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{width:"100%"},loading:"lazy"})),z.default.createElement(d.Card.Section,null,z.default.createElement(d.Group,{position:"apart",mt:16,mb:4},z.default.createElement(a.Anchor,{href:(null===(t=null==r?void 0:r.primaryCategory)||void 0===t?void 0:t.permalink)||"#"},z.default.createElement(a.Text,{size:"p4",color:"blue.6"},null===(l=null==r?void 0:r.primaryCategory)||void 0===l?void 0:l.displayName)),z.default.createElement(d.Box,{sx:{cursor:"pointer"},role:"button",onClick:g},m?z.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},null==p?void 0:p.bookmark),z.default.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):z.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},null==p?void 0:p.bookmark),z.default.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),z.default.createElement(a.Text,{size:u?"s2":"s1",mb:8,weight:"semiBold"},r.postTitle||r.postName||""),!u&&z.default.createElement(a.Text,{size:"p2",mb:16,lineClamp:3},P.default(r.excerpt||r.description||(null===(n=r.postContent)||void 0===n?void 0:n.split("\r\n")[0])||"")),z.default.createElement(d.Flex,{gap:12,align:"center"},z.default.createElement(a.Avatar,{size:32,src:i,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:z.default.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),z.default.createElement(a.Text,{size:"n1",c:"gray.6"},o," • ",f))))},re=648/440,oe=1.5,ie=t=>{var l,n,r,{article:o,author:c,authorAvatar:u,badge:m="",bannerImageWrapProps:g,hideDescription:f=!1,isBookmarked:p=!1,onBookmark:h,time:v,tracking:y,classNames:E,styles:b,unstyled:C,className:w}=t,k=s.__rest(t,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:S}=a.useScreenSize(),{classes:x,cx:T}=i.useStyles({},{name:"ArticleCard",classNames:E,styles:b,unstyled:C});console.log({article:o});const N=e.useMemo((()=>f?oe:re),[f]);return z.default.createElement(d.Card,Object.assign({className:T(x.root,w),padding:"lg",radius:0},k),z.default.createElement(d.Card.Section,{className:x.image},z.default.createElement(a.AspectRatio,Object.assign({ratio:N},g),z.default.createElement("img",{src:(S?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{objectFit:"cover"}}))),z.default.createElement(d.Card.Section,null,z.default.createElement(d.Group,{position:"apart",mt:16,mb:4},z.default.createElement(a.Anchor,{className:x.category,href:(null===(l=null==o?void 0:o.primaryCategory)||void 0===l?void 0:l.permalink)||"#"},z.default.createElement(a.Text,{size:"p4",color:"blue.6"},null===(n=null==o?void 0:o.primaryCategory)||void 0===n?void 0:n.displayName)),z.default.createElement(d.Box,{sx:{cursor:"pointer"},role:"button",onClick:h},p?z.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},null==y?void 0:y.bookmark),z.default.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):z.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},null==y?void 0:y.bookmark),z.default.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),z.default.createElement(a.Text,{className:x.title,size:f?"s2":"s1",mb:8,weight:"semiBold"},o.postTitle||o.postName||""),!f&&z.default.createElement(a.Text,{className:x.description,size:"p2",mb:16,lineClamp:3},P.default(o.excerpt||o.description||(null===(r=o.postContent)||void 0===r?void 0:r.split("\r\n")[0])||"")),z.default.createElement(d.Flex,{className:x.author,gap:12,align:"center"},z.default.createElement(a.Avatar,{size:32,src:u,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:z.default.createElement("img",{loading:"lazy",src:m,alt:""})}},"A"),z.default.createElement(a.Text,{size:"n1",c:"gray.6"},c," • ",v))))};var se=Object.freeze({__proto__:null,SideMenu:i.SideMenu,SideHeader:i.SideHeader,UserInfo:i.UserInfo,MenuLink:i.MenuLink});const de=({status:e})=>"inActive"===e?z.default.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z.default.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"})):"active"===e?z.default.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z.default.createElement("circle",{cx:"6",cy:"6",r:"4",fill:"#2D87F3"}),z.default.createElement("circle",{cx:"6",cy:"6",r:"5.5",stroke:"#2D87F3"})):"done"===e?z.default.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z.default.createElement("path",{d:"M6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12Z",fill:"#00B16A"}),z.default.createElement("path",{d:"M8.76061 4.20029L4.80061 7.80029L3.00061 6.16392",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})):z.default.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z.default.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"}));var ce=Object.freeze({__proto__:null,Table:i.Table,Cell:i.Cell,Head:i.Head,Row:i.Row,Body:i.Body});const ue=({locale:t,onClick:l,siteType:n,pageUrl:r})=>{const{t:s}=h.useTranslations(),[d,c]=e.useState(new Date);return z.default.createElement(z.default.Fragment,null,z.default.createElement(i.StyledLastPeriodFormContainer,{className:"input-form","data-is-side":!0},"marryBaby"===n?z.default.createElement(i.StyledTextField,{label:s("dueDatePage.conceptionDate"),name:"date",size:"md",value:i.DateToInputValue(d),CustomInput:z.default.createElement(i.DatePicker,{onChange:e=>{c(e)},placeholder:"dd/mm/yyyy",pickedDate:d,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:e=>z.default.createElement(y.Input,Object.assign({className:"due-date-input",name:"birthday",size:"md"},e,{value:d&&O.default(d).format(a.DUE_DATE_FORMAT)}))}),actionIcon:z.default.createElement(E.Icon.CalendarMB,{size:32})}):z.default.createElement(y.Input,{label:z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray600,style:{marginBottom:"9px",flex:"1"}},s("dueDatePage.conceptionDate")),value:i.DateToInputValue(d),name:"date",size:"md",className:"due-date-input",CustomInput:z.default.createElement(i.DatePicker,{customInput:e=>z.default.createElement("input",Object.assign({type:"date",className:"due-date-input"},e,{value:i.DateToInputValue(d)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:t,pickedDate:d,displayDateFormat:b.DATE_FORMAT,onChange:e=>{c(e)},placeholder:"placeholder"})})),z.default.createElement(a.Button,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===n?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,onClick:()=>{l(i.getDueDateConception(d),`${u.QUERY_HEALTH_TOOL.type}=1&sd=${v.format(d,i.API_DATE_FORMAT)}&${u.QUERY_HEALTH_TOOL.additional}= `)},role:"button"},s("dueDatePage.lastPeriod.calculate")))},me=({locale:t,onClick:l,siteType:n,pageUrl:r})=>{const{t:s}=h.useTranslations(),[d,c]=e.useState(new Date),[m,g]=e.useState("3");return z.default.createElement(z.default.Fragment,null,z.default.createElement(i.StyledLastPeriodFormContainer,{className:"input-form","data-is-side":!0},"marryBaby"===n?z.default.createElement(i.StyledTextField,{label:s("dueDatePage.ivf.transferDate"),name:"date",size:"md",value:i.DateToInputValue(d),CustomInput:z.default.createElement(i.DatePicker,{onChange:e=>{c(e)},placeholder:"dd/mm/yyyy",pickedDate:d,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:e=>z.default.createElement(y.Input,Object.assign({className:"due-date-input",name:"birthday",size:"md"},e,{value:d&&O.default(d).format(a.DUE_DATE_FORMAT)}))}),actionIcon:z.default.createElement(E.Icon.CalendarMB,{size:32})}):z.default.createElement(y.Input,{label:z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray700,style:{marginBottom:"9px",flex:"1"}},s("dueDatePage.ivf.transferDate")),value:i.DateToInputValue(d),name:"date",size:"md",className:"due-date-input",CustomInput:z.default.createElement(i.DatePicker,{customInput:e=>z.default.createElement("input",Object.assign({type:"date",className:"due-date-input"},e,{value:i.DateToInputValue(d)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:t,pickedDate:d,displayDateFormat:b.DATE_FORMAT,onChange:e=>{c(e)},placeholder:"placeholder"})})),z.default.createElement("div",{style:{width:"100%"}},z.default.createElement(i.RadioGroup,{id:"radio-transfer-date",type:"circle",direction:"vertical",size:"small",group:"group1",value:m,onChange:e=>g(e),options:[{value:"3",label:s("dueDatePage.ivf.transferDateRadio",{number:3})},{value:"5",label:s("dueDatePage.ivf.transferDateRadio",{number:5})}]})),z.default.createElement(a.Button,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===n?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,onClick:()=>{l(i.getDueDateIVF(d,Number(m)),`${u.QUERY_HEALTH_TOOL.type}=2&${u.QUERY_HEALTH_TOOL.startDate}=${v.format(d,i.API_DATE_FORMAT)}&${u.QUERY_HEALTH_TOOL.additional}=${m}`)},role:"button"},s("dueDatePage.lastPeriod.calculate")))},ge=({locale:t,onClick:l,siteType:n,pageUrl:r})=>{const{t:s}=h.useTranslations(),[d,c]=e.useState(28),[m,g]=e.useState(new Date);return z.default.createElement(z.default.Fragment,null,z.default.createElement(i.StyledLastPeriodFormContainer,{className:"input-form","data-is-side":!0},"marryBaby"===n?z.default.createElement(i.StyledTextField,{label:s("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:i.DateToInputValue(m),CustomInput:z.default.createElement(i.DatePicker,{onChange:e=>{g(e)},placeholder:"dd/mm/yyyy",pickedDate:m,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:e=>z.default.createElement(y.Input,Object.assign({name:"birthday",size:"md"},e,{value:m&&O.default(m).format(a.DUE_DATE_FORMAT)}))}),actionIcon:z.default.createElement(E.Icon.CalendarMB,{size:32})}):z.default.createElement(y.Input,{className:"input-section due-date-input",label:z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray600,style:{marginBottom:"9px",flex:"1"}},s("dueDatePage.lastPeriod.lastPeriodLabel")),value:i.DateToInputValue(m),name:"date",size:"md",CustomInput:z.default.createElement(i.DatePicker,{customInput:e=>z.default.createElement("input",Object.assign({type:"date",className:"due-date-input"},e,{value:i.DateToInputValue(m)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:t,pickedDate:m,displayDateFormat:b.DATE_FORMAT,onChange:e=>{g(e)},placeholder:"placeholder"})})),z.default.createElement("div",{className:"slider-due-date","data-theme":"marryBaby"===n?"marryBaby":""},"marryBaby"===n?z.default.createElement(C.MarryBabyText,{type:"bodytext-3",color:o.theme.mbColors.midGray},s("dueDatePage.lastPeriod.periodLengthLabel")):z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray600,style:{marginBottom:"0.5rem"}},s("dueDatePage.lastPeriod.periodLengthLabel")),z.default.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===n&&z.default.createElement(a.Text,{size:"s3",weight:"semiBold",color:o.theme.colors.gray600},d),z.default.createElement(w.Slider,{containerStyle:{flex:1},min:20,max:40,step:1,labelAlwaysOn:"marryBaby"!==n,withControl:"marryBaby"!==n,onChange:c,value:d,label:"marryBaby"!==n?void 0:null}))),z.default.createElement(a.Button,{dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===n?"secondary":"primary",onClick:()=>l(i.getDueDateLastPeriod(m,d),`${u.QUERY_HEALTH_TOOL.type}=0&${u.QUERY_HEALTH_TOOL.startDate}=${v.format(m,i.API_DATE_FORMAT)}&${u.QUERY_HEALTH_TOOL.additional}=${d}`),role:"button"},s("dueDatePage.lastPeriod.calculate")))},fe=({onSubmitDueDate:t,locale:l,isSide:n,siteType:r})=>{const{t:s}=h.useTranslations(),[d,c]=e.useState(i.DueDateCalculatorType.lastPeriod),u=[{value:i.DueDateCalculatorType.lastPeriod,label:s("dueDatePage.lastPeriod")},{value:i.DueDateCalculatorType.conception,label:s("dueDatePage.conceptionDate")},{value:i.DueDateCalculatorType.IVF,label:s("dueDatePage.ivf")}],m=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);return z.default.createElement(i.StyledInputWrapper,null,z.default.createElement(i.StyledMethodContainer,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?z.default.createElement(i.StyledDropDown,{groupedWithLabel:s("dueDatePage.calculationMethod"),options:u,placeholder:s("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:u[d],onChange:e=>{c(e.value)}}):z.default.createElement(z.default.Fragment,null,z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray600,style:{marginBottom:"9px",flex:"1"}},s("dueDatePage.calculationMethod")),z.default.createElement(i.StyledMethodSwitcherContainer,{"data-is-side":n},z.default.createElement(i.Dropdown,{options:u,placeholder:s("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"md",value:u[d],onChange:e=>{c(e.value)}})))),d===i.DueDateCalculatorType.lastPeriod?z.default.createElement(ge,{locale:l,onClick:t,isSide:n,siteType:r,pageUrl:m}):null,d===i.DueDateCalculatorType.conception?z.default.createElement(ue,{locale:l,onClick:t,isSide:n,siteType:r,pageUrl:m}):null,d===i.DueDateCalculatorType.IVF?z.default.createElement(me,{locale:l,onClick:t,isSide:n,siteType:r,pageUrl:m}):null)};function pe({weight:e,height:t}){const a=t/100,l=e;return Math.round(l/(a*a)*10)/10}const he=({value:t,onChange:l,onSubmit:n,disabled:r,bmiGenerated:c,bmiUnit:m,locale:g,isSide:f})=>{var p,v,y,E;const[b,C]=e.useState(!1),{control:w,handleSubmit:x,setValue:T,watch:N}=k.useForm(),B=N(),{t:D}=h.useTranslations(),{gender:L=!1,age:A=!1,height:M=!1,weight:I=!1,objective:_=!0}=r||{},{getHealthToolLink:P}=S.useHealthToolsCache(g),O=e.useMemo((()=>P(a.HEALTH_TOOL_TYPE.OVULATION)),[P]),F=e.useMemo((()=>[{value:"lose-weight",label:D("bmi.objective.loseWeight")},{value:"maintain-weight",label:D("bmi.objective.maintainWeight")},{value:"gain-weight",label:D("bmi.objective.gainWeight")}]),[]),j=()=>{C(!0)};return e.useEffect((()=>{Object.keys(t||{}).forEach((e=>{T(e,null==t?void 0:t[e],{shouldTouch:!1,shouldDirty:!1,shouldValidate:!1})}))}),[t]),e.useEffect((()=>{l&&l(B)}),[B]),z.default.createElement(i.StyledContainer$1,null,z.default.createElement("form",{onSubmit:x((e=>s.__awaiter(void 0,void 0,void 0,(function*(){const t=m.heightConvert(e.height),a=m.weightConvert(e.weight),l={gender:e.gender,age:e.age,height:t,weight:a,bmi:pe({height:t,weight:a})};_||(l.objective=e.objective),j(),n&&n(l)}))),j)},!L&&z.default.createElement(i.FormControl,{"data-is-side":f},z.default.createElement(k.Controller,{name:"gender",control:w,defaultValue:"male",render:({field:{onChange:e}})=>z.default.createElement(K,{label:D("bmi.selectGender"),defaultValue:"male",onChange:t=>e(t),styles:e=>({root:!f&&{[e.fn.largerThan("sm")]:{width:"calc((100% - 24px) * 2/3 + 12px)"}},wrapper:{[e.fn.largerThan("sm")]:{gap:d.rem(12)}}})})})),z.default.createElement(i.StyledRow,{"data-is-side":f},!A&&z.default.createElement(i.FormControl,null,z.default.createElement(k.Controller,{name:"age",control:w,rules:null===(p=c.age)||void 0===p?void 0:p.rule,render:({field:{name:e,value:t,onChange:l},fieldState:{error:n}})=>z.default.createElement(a.Input.Number,{label:z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray600},D("bmi.ageInput")," ",z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray300,as:"span"},D("bmi.ageInput.desc"))),placeholder:D("healthtool.placeholder.age"),name:e,value:t,onChange:l,error:b?null==n?void 0:n.message:"",min:0})})),!M&&z.default.createElement(i.FormControl,null,z.default.createElement(k.Controller,{name:"height",control:w,rules:null===(v=c.height)||void 0===v?void 0:v.rule,render:({field:{name:e,value:t,onChange:l},fieldState:{error:n}})=>z.default.createElement(a.Input.Number,{label:z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray600},D("bmi.heightInput")," ",z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray300,as:"span"},D("bmi.heightInput.desc"))),placeholder:D("pwg.placeholder.height"),name:e,value:t,onChange:l,error:b?null==n?void 0:n.message:"",min:0})})),!I&&z.default.createElement(i.FormControl,null,z.default.createElement(k.Controller,{name:"weight",control:w,rules:null===(y=c.weight)||void 0===y?void 0:y.rule,render:({field:{name:e,value:t,onChange:l},fieldState:{error:n}})=>z.default.createElement(a.Input.Number,{label:z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray600},D("bmi.weightInput")," ",z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray300,as:"span"},D("bmi.weightInput.desc"))),placeholder:D("pwg.placeholder.weight"),name:e,value:t,onChange:l,error:b?null==n?void 0:n.message:"",precision:1,min:0})})),!_&&z.default.createElement(i.FormControl,null,z.default.createElement(k.Controller,{name:"objective",control:w,defaultValue:"lose-weight",rules:null===(E=c.objective)||void 0===E?void 0:E.rule,render:({field:{name:e,value:t,onChange:a},fieldState:{error:l}})=>z.default.createElement(i.StyledInput,{size:"md",name:e,label:c.objective.label,CustomInput:z.default.createElement(i.RadioGroup,{id:"bmi-objective",className:"bmi-objective",type:"circle",direction:"vertical",size:"small",group:"group1",options:F,value:t,onChange:a}),errorMessage:b?null==l?void 0:l.message:"",className:"bmi--input bmi--input-objective"})}))),z.default.createElement("div",{style:{display:"flex"}},z.default.createElement(i.StyledButton,{size:"lg",fullWidth:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMI",dataEventLabel:`https://${u.domainLocales[g]}/${O}`,type:"submit"},D("bmi.submit")))))},ve=({value:a,options:l,className:n,direction:r="horizontal",onChange:o,isDisabled:s})=>{const[d,c]=e.useState(a);return z.default.createElement(i.StyledRadioImageGroup,{className:n,"data-direction":r},l.map(((e,l)=>z.default.createElement(i.StyledRadioImageItem,{"data-selected":(a||d)===e.value,"data-disabled":s,key:`health-tool${l}`,onClick:()=>{var t;t=e.value,s||(c(t),o&&o(t))}},z.default.createElement("div",null,z.default.createElement("img",{src:(a||d)===e.value?e.imageActive:e.image,className:"gender-image",alt:"",loading:"lazy"}),e.label&&z.default.createElement(t.Text,{type:"bold",className:"radio-group-item-heading",size:"label1"},e.label))))))},ye=({info:t,className:l,style:n,onChange:r,errorMessage:s={},locale:d})=>{const{t:c}=h.useTranslations(),[u,m]=e.useState(new Date),[g,f]=e.useState({age:!1,rate:!1});return e.useEffect((()=>{f({age:!1,rate:!1})}),[s]),z.default.createElement(i.StyledContainer$2,{style:n,className:l},z.default.createElement(y.Input,{className:"input-section due-date-input",label:z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray600,style:{marginBottom:"9px",flex:"1"}},c("targetHeartRate.ageInput")),value:i.DateToInputValue(u),name:"date",size:"md",CustomInput:z.default.createElement(i.DatePicker,{customInput:e=>z.default.createElement("input",Object.assign({type:"date",className:"due-date-input"},e,{value:i.DateToInputValue(u)})),disabledDays:{after:new Date(v.addDays(new Date,0))},locale:d,pickedDate:u,displayDateFormat:"dd/MM/yyyy",onChange:e=>{(e=>{m(e),f((e=>Object.assign(Object.assign({},e),{age:!0})));const a=Object.assign(Object.assign({},t),{age:v.format(new Date(e),i.API_DATE_FORMAT)});r&&r(a)})(e)},placeholder:"placeholder"}),errorMessage:g.age?"":s.age}))},Ee=({info:t,className:l,style:n,onChange:r,errorMessage:s={},locale:c,onClick:m,isSide:g})=>{const{t:f}=h.useTranslations(),[p,v]=e.useState({age:!1,height:!1,weight:!1}),{getHealthToolLink:y}=S.useHealthToolsCache(c),E=e.useMemo((()=>y(a.HEALTH_TOOL_TYPE.OVULATION)),[y]),[b,C]=e.useState("male"),w=(e,t)=>{""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},k=e=>{var a,l;l=e=>{v((e=>Object.assign(Object.assign({},e),{age:!0})));const a=Object.assign(Object.assign({},t),{age:e});r&&r(a)},""!==(a=e)&&(isNaN(a)||isNaN(parseFloat(a))||a.includes("."))||l(a)};return e.useEffect((()=>{r&&r(Object.assign(Object.assign({},t),{objective:"lose-fat",activeLevel:"sedentary"}))}),[]),e.useEffect((()=>{v({age:!1,height:!1,weight:!1})}),[s]),z.default.createElement(i.StyledContainer$3,{style:n,className:l},z.default.createElement(i.FormControl$2,{"data-is-side":g},z.default.createElement(K,{label:f("bmi.selectGender"),defaultValue:"male",onChange:e=>C(e),styles:e=>({root:!g&&{[e.fn.largerThan("sm")]:{width:"calc((100% - 24px) * 2/3 + 12px)"}},wrapper:{[e.fn.largerThan("sm")]:{gap:d.rem(12)}}})})),z.default.createElement(i.StyledRow$2,{"data-is-side":g},z.default.createElement(i.FormControl$2,null,z.default.createElement(a.Input.Number,{label:z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray600},f("bmi.ageInput")," ",z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray300,as:"span"},f("bmi.ageInput.desc"))),placeholder:f("healthtool.placeholder.age"),value:Number(t.age),onChange:e=>k(String(e)),error:p.age?"":s.age,min:0})),z.default.createElement(i.FormControl$2,null,z.default.createElement(a.Input.Number,{label:z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray600},f("bmi.heightInput")," ",z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray300,as:"span"},f("bmi.heightInput.desc"))),placeholder:f("pwg.placeholder.height"),value:Number(t.height),onChange:e=>{return a=String(e),void w(a,(e=>{v((e=>Object.assign(Object.assign({},e),{height:!0})));const a=Object.assign(Object.assign({},t),{height:e});r&&r(a)}));var a},error:p.height?"":s.height,min:0})),z.default.createElement(i.FormControl$2,null,z.default.createElement(a.Input.Number,{label:z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray600},f("bmi.weightInput")," ",z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray300,as:"span"},f("bmi.weightInput.desc"))),placeholder:f("pwg.placeholder.weight"),value:Number(t.weight),onChange:e=>{return a=String(e),v((e=>Object.assign(Object.assign({},e),{weight:!0}))),void w(a,(e=>{const a=Object.assign(Object.assign({},t),{weight:e});r&&r(a)}));var a},error:p.weight?"":s.weight,min:0,precision:1}))),z.default.createElement("div",{style:{display:"flex"}},z.default.createElement(i.StyledButton$2,{size:"lg",fullWidth:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMR",dataEventLabel:`https://${u.domainLocales[c]}/${E}`,onClick:()=>{m(b)}},f("bmi.submit"))))},be=({siteType:t,info:l,onChange:n,errorMessage:r={}})=>{const{t:s}=h.useTranslations(),[d,c]=e.useState({weightBefore:!1,height:!1,weight:!1}),[u,m]=e.useState(0),g=e.useRef(null);e.useEffect((()=>{var e;m(null===(e=g.current)||void 0===e?void 0:e.clientHeight)}));const f=(e,t)=>{""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},p=e=>{f(e,(e=>{c((e=>Object.assign(Object.assign({},e),{weightBefore:!0})));const t=Object.assign(Object.assign({},l),{weightBefore:e});n&&n(t)}))},v=e=>{f(e,(e=>{c((e=>Object.assign(Object.assign({},e),{height:!0})));const t=Object.assign(Object.assign({},l),{height:e});n&&n(t)}))},E=e=>{f(e,(e=>{c((e=>Object.assign(Object.assign({},e),{weight:!0})));const t=Object.assign(Object.assign({},l),{weight:e});n&&n(t)}))};return e.useEffect((()=>{n&&n(Object.assign({},l))}),[]),e.useEffect((()=>{c({weightBefore:!1,height:!1,weight:!1})}),[r]),"marryBaby"===t?z.default.createElement(z.default.Fragment,null,z.default.createElement("div",{className:"input-form-pwg input-section"},z.default.createElement(i.StyledTextField,{label:s("pregnancyWeightGain.heightInput"),name:"pwg-height",size:"md",value:null==l?void 0:l.height,CustomInput:z.default.createElement(y.Input,{className:(null==d?void 0:d.height)?"":"error-input",name:"pwg-height",size:"md",placeholder:"Nhập thông tin",value:null==l?void 0:l.height,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==d?void 0:d.height)?"":null==r?void 0:r.height,showErrorMessage:!1,onChange:v})})),z.default.createElement("div",{className:"input-form-pwg input-section"},z.default.createElement(i.StyledTextField,{label:s("pregnancyWeightGain.weightBeforeInput"),name:"pwg-weightBefore",size:"md",value:null==l?void 0:l.weightBefore,CustomInput:z.default.createElement(y.Input,{className:(null==d?void 0:d.weightBefore)?"":"error-input",name:"pwg-weightBefore",size:"md",placeholder:"Nhập thông tin",value:null==l?void 0:l.weightBefore,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==d?void 0:d.weightBefore)?"":null==r?void 0:r.height,showErrorMessage:!1,onChange:p})})),z.default.createElement("div",{className:"input-form-pwg input-section"},z.default.createElement(i.StyledTextField,{label:s("pregnancyWeightGain.weightInput"),name:"pwg-weight",size:"md",value:null==l?void 0:l.weight,CustomInput:z.default.createElement(y.Input,{className:(null==d?void 0:d.weight)?"":"error-input",name:"pwg-weight",size:"md",placeholder:"Nhập thông tin",value:null==l?void 0:l.weight,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==d?void 0:d.weight)?"":null==r?void 0:r.weight,showErrorMessage:!1,onChange:E})}))):z.default.createElement(z.default.Fragment,null,z.default.createElement("div",{className:"input-form-pwg"},z.default.createElement(a.PureInput,{placeholder:s("pwg.placeholder.height"),className:"input-section",label:z.default.createElement("span",{style:{color:o.theme.colors.gray600,fontWeight:"bold",marginBottom:"9px"},className:"label-text"},s("pregnancyWeightGain.heightInput")," ",z.default.createElement("span",{style:{color:`${o.theme.colors.gray300}`}},s("bmi.heightInput.desc"))),errorMessage:d.height?"":null==r?void 0:r.height,size:"sm",isNumerousKeyboard:!0,name:"pwg-height",value:null==l?void 0:l.height,onChange:v})),z.default.createElement("div",{className:"input-form-pwg"},z.default.createElement(a.PureInput,{placeholder:s("pwg.placeholder.weight"),className:"input-section",label:z.default.createElement("span",{style:{color:o.theme.colors.gray600,fontWeight:"bold",marginBottom:"9px"},ref:g,className:"label-text"},s("pregnancyWeightGain.weightBeforeInput")," ",z.default.createElement("span",{style:{color:`${o.theme.colors.gray300}`}},s("pregnancyWeightGain.weightInput.desc"))),errorMessage:d.weightBefore?"":null==r?void 0:r.weightBefore,size:"sm",isNumerousKeyboard:!0,name:"pwg-weightBefore",onChange:p,value:null==l?void 0:l.weightBefore})),z.default.createElement("div",{className:"input-form-pwg"},z.default.createElement(a.PureInput,{placeholder:s("pwg.placeholder.weight"),className:"input-section",label:z.default.createElement("span",{style:{color:o.theme.colors.gray600,fontWeight:"bold",marginBottom:"9px",minHeight:u},className:"label-text"},s("pregnancyWeightGain.weightInput")," ",z.default.createElement("span",{style:{color:`${o.theme.colors.gray300}`}},s("pregnancyWeightGain.weightInput.desc"))),errorMessage:d.weight?"":null==r?void 0:r.weight,size:"sm",isNumerousKeyboard:!0,name:"pwg-weight",value:null==l?void 0:l.weight,onChange:E})))};const Ce={"en-PH":j.default,"vi-VN":G.default,"zh-TW":$.default,"id-ID":H.default};function we(t){const{value:l={from:null,to:null}}=t,[n,r]=e.useState(null),{isMobile:o}=a.useScreenSize(),[s,d]=e.useState((()=>l)),[c,u]=e.useState((()=>{var e;return v.startOfMonth(null!==(e=l.from)&&void 0!==e?e:new Date)})),m=e.useMemo((()=>v.addMonths(c,1)),[c]);const g=Object.assign(Object.assign({},t),{goToNextMonth:function(){u((e=>v.addMonths(e,1)))},goToPreviousMonth:function(){u((e=>v.subMonths(e,1)))},range:s,setRange:d,hoverDay:n,setHoverDay:r});return z.default.createElement(z.default.Fragment,null,z.default.createElement(ke,Object.assign({},g,{date:c})),!o&&z.default.createElement(i.StyledCalendarMonthSeparator,null),!o&&z.default.createElement(ke,Object.assign({},g,{date:m})))}function ke({date:t,range:a,setRange:l,onChange:n,goToPreviousMonth:o,goToNextMonth:s,minDate:d,maxDate:c,close:u=(()=>{}),autoClose:m=!1,hoverDay:g,setHoverDay:f}){const{locale:p}=h.useTranslations(),y=e.useMemo((()=>{var e;return null!==(e=Ce[p])&&void 0!==e?e:Ce["en-PH"]}),[p]),E=e.useMemo((()=>v.format(t,"MMMM",{locale:y})),[t,y]),b=e.useMemo((()=>y?[1,2,3,4,5,6,0].map((e=>y.localize.day(e,{width:"narrow"}))):[]),[y]);function C(e,t){if(null===e)return z.default.createElement(i.StyledCalendarDayNumberWrapper,{key:`idx-${t}`,"data-empty":"true"});const n=e.getDate(),r=v.isToday(e),o=!!a.from&&v.isSameDay(a.from,e),s=!!a.to&&v.isSameDay(a.to,e),p=o||s;let h=!1;null!==g&&a.from&&v.isBefore(a.from,g)&&!a.to?h=v.isWithinInterval(e,{start:a.from,end:g}):a.from&&a.to&&(h=v.isWithinInterval(e,{start:a.from,end:a.to}));let y=!1;return d&&c?y=!v.isWithinInterval(e,{start:d,end:c}):d?y=v.isBefore(e,d):c&&(y=v.isAfter(e,c)),z.default.createElement(i.StyledCalendarDayNumberWrapper,{key:n,"data-is-today":r,"data-is-past":!r&&v.isPast(e),"data-is-selected":p,"data-is-disabled":y,"data-in-range":h,"data-is-from":o,"data-is-to":s,onMouseEnter:()=>{f(e)},onMouseLeave:()=>f(null),onClick:()=>{y||l((t=>(m&&a.from&&!a.to&&u(),function(e,t){return t.from||t.to?t.from&&t.to?{from:e,to:null}:t.from?v.isBefore(e,t.from)?Object.assign(Object.assign({},t),{from:e}):Object.assign(Object.assign({},t),{to:e}):t:Object.assign(Object.assign({},t),{from:e})}(e,t))))}},z.default.createElement(i.StyledCalendarDayNumber,{onClick:()=>{}},z.default.createElement("p",null,n)))}return e.useEffect((()=>{a.from&&a.to&&n(a)}),[a]),z.default.createElement(i.StyledCalendarWrapper,{className:"calendar-wrapper"},z.default.createElement(i.StyledCalendarHead,null,z.default.createElement(A.Button,{onClick:o,size:"md",color:"ghost",icon:z.default.createElement("img",{src:r.CommonGAssets.getAssetPath("calendarArrowLeft.svg"),loading:"lazy"})}),z.default.createElement("div",{className:"calendar-month"},E,z.default.createElement("strong",null,v.format(t,"yyyy"))),z.default.createElement(A.Button,{onClick:s,size:"md",color:"ghost",icon:z.default.createElement("img",{src:r.CommonGAssets.getAssetPath("calendarArrowRight.svg"),loading:"lazy"})})),z.default.createElement(i.StyledCalendarCellsWrapper,null,z.default.createElement("div",null,z.default.createElement(i.StyledCalendarDaysOfWeek,null,b.map(((e,t)=>z.default.createElement(i.StyledCalendarDayLabel,{key:`${e}-${t}`},e))))),z.default.createElement("div",null,function(){const e=t.getFullYear(),l=t.getMonth(),n=v.getDaysInMonth(t),r=[];for(let t=1;t<=n;t++)r.push(new Date(e,l,t));const o=r[0]?r[0].getDay():0;if(1!==o){const e=0===o?6:o-1;for(let t=0;t<e;t++)r.unshift(null)}return z.default.createElement(i.StyledCalendarMonthWrapper,{key:`month-${l}`,"data-month-index":l,"data-has-range":Boolean(a.from&&a.to)},z.default.createElement(i.StyledCalendarDaysWrapper,null,z.default.createElement(i.StyledCalendarDateGrid,null,r.map(C))))}())))}var Se="WUqzfRb",xe="MnVGtSY",Te="NclbhXQ";const Ne=({LinkComponent:e,page:t,isLast:a,onChangePage:l})=>{const{label:n,value:r,isDropdown:o,dropdownItems:s,dataEventCategory:d,dataEventAction:c,dataEventLabel:u}=t;return o?z.default.createElement(i.Dropdown,{options:s,placeholder:"...",id:"",placeholderIcon:null,onChange:l,className:"collapsed-breadcrumb"}):z.default.createElement("div",{className:Te,title:"string"!=typeof n?r:n,"data-last":a},e&&z.default.createElement(e,{"data-event-category":d,"data-event-action":c,"data-event-label":u,href:r||"#"},n))},Be=()=>z.default.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z.default.createElement("path",{d:"M6.86364 10.6666H5.22727C4.86912 10.6666 4.51448 10.5977 4.18359 10.4637C3.8527 10.3296 3.55205 10.1332 3.2988 9.8856C2.78734 9.3855 2.5 8.70722 2.5 7.99998C2.5 7.29274 2.78734 6.61446 3.2988 6.11436C3.81026 5.61426 4.50396 5.33331 5.22727 5.33331H6.86364M9.78374 5.33331H11.7727C12.1309 5.33331 12.4855 5.40229 12.8164 5.5363C13.1473 5.67031 13.4479 5.86674 13.7012 6.11436C13.9545 6.36198 14.1553 6.65596 14.2924 6.97949C14.4295 7.30303 14.5 7.64979 14.5 7.99998C14.5 8.35017 14.4295 8.69693 14.2924 9.02047C14.1553 9.344 13.9545 9.63798 13.7012 9.8856C13.4479 10.1332 13.1473 10.3296 12.8164 10.4637C12.4855 10.5977 12.1309 10.6666 11.7727 10.6666H9.78374",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"}),z.default.createElement("path",{d:"M6.5 8H10.5",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"})),De=()=>z.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"copy"},z.default.createElement("path",{d:"M4 2.5C3.17125 2.5 2.5 3.17125 2.5 4V13.75C2.5 14.164 2.836 14.5 3.25 14.5C3.664 14.5 4 14.164 4 13.75V4H13.75C14.164 4 14.5 3.664 14.5 3.25C14.5 2.836 14.164 2.5 13.75 2.5H4ZM7 5.5C6.17125 5.5 5.5 6.17125 5.5 7V16C5.5 16.8287 6.17125 17.5 7 17.5H16C16.8287 17.5 17.5 16.8287 17.5 16V7C17.5 6.17125 16.8287 5.5 16 5.5H7ZM7 7H16V16H7V7Z",fill:"#595959"}));exports.Alert=({style:e,onClose:a,text:l,type:n,contentIcon:r,closeIcon:o,className:i,description:s})=>z.default.createElement("div",{className:`${R} ${i||""}`,style:e,"data-alert-type":n},z.default.createElement("div",{className:W},z.default.createElement("div",{className:"icon-title"},r,z.default.createElement(t.Text,{type:"bold",size:"label1"},l)),z.default.createElement(t.Text,{type:"regular",size:"p3"},s)),z.default.createElement("div",{className:V,onClick:a},o)),exports.ArticleCard=({articleLink:e,authorLink:l,authorName:n,avatarImg:o,banner:s,categoryLink:d,categoryName:c,className:u,dataEventActionForBanner:m,dataEventActionForBookmark:g,dataEventActionForCategory:f,dataEventActionForTitle:p,dataEventCategoryForBanner:h,dataEventCategoryForBookmark:v,dataEventCategoryForCategory:y,dataEventCategoryForTitle:E,dataEventLabelForBanner:b,dataEventLabelForBookmark:C,dataEventLabelForCategory:w,dataEventLabelForTitle:k,direction:S="horizontal",hasAffiliate:x,isBookmark:T=!1,isBookmarkDisplayed:N=!0,isMobile:B=!0,onBookmark:D,onClickCategoryName:L,section:A="normal",size:M="md",specialty:I,style:_,styleBanner:P,styleLabel:O,styleTitle:F,text:j,title:H,type:G="author",uploadTime:$,articleLinkTarget:R,isPremium:W})=>{const V=e=>{e.stopPropagation(),null==D||D()},U="lg"===M&&"expert"===G?"h4":"lg"===M&&"home"===A?B?"h4":"h3":"lg"===M?"h4":"h5",q="lg"===M?"p3":"p4",Z=B||"home"!==A||"lg"!==M||"author"!==G?"c2":"c1";return z.default.createElement("article",{className:`${ee} ${u||""}`,"data-size":M,style:_,"data-direction":S,"data-is-expert":"expert"===G||void 0},z.default.createElement("div",{className:"banner",style:P},z.default.createElement("a",{className:J,"data-event-category":h,"data-event-action":m,"data-event-label":b,href:e||"#",target:R},s),W&&z.default.createElement("img",{loading:"lazy",className:"premium",src:r.CommonGAssets.getAssetPath("premium-crown.svg")}),x&&z.default.createElement(i.AffiliateIcon,null)),z.default.createElement("div",{className:"content"},z.default.createElement("div",{className:"inner-content"},z.default.createElement(t.Text,{style:O,className:"label",size:Z,type:"caption"},z.default.createElement("a",{className:J,"data-event-category":y,"data-event-action":f,"data-event-label":w,href:d||"#",onClick:L},c),N&&z.default.createElement("a",{className:"bookmark",onClick:V},T?z.default.createElement(i.BookmarkedIcon,{dataEventCategoryForBookmark:v,dataEventActionForBookmark:g,dataEventLabelForBookmark:C}):z.default.createElement(i.UnbookmarkedIcon,{dataEventCategoryForBookmark:v,dataEventActionForBookmark:g,dataEventLabelForBookmark:C}))),z.default.createElement(a.Heading,{tag:U,style:F,className:"title",as:"lg"===M?"h2":"h3"},z.default.createElement("a",{className:J,"data-event-category":E,"data-event-action":p,"data-event-label":k,href:e||"#",target:R},H)),j&&z.default.createElement("a",{href:e||"#",target:R},z.default.createElement(t.Text,{size:q,className:"text"},j))),z.default.createElement("div",{className:"footer"},"author"===G?z.default.createElement(ae,{size:M,avatarImg:o,authorName:n,authorLink:l,uploadTime:$,handleClick:V,isBookmarked:T,dataEventCategoryForBookmark:v,dataEventActionForBookmark:g,dataEventLabelForBookmark:C}):z.default.createElement(le,{size:M,isMobile:B,avatarImg:o,specialty:I,name:n,link:l,handleClick:V,isBookmarked:T,dataEventCategoryForBookmark:v,dataEventActionForBookmark:g,dataEventLabelForBookmark:C}))))},exports.ArticleCard$1=e=>{var{variant:t="vertical"}=e,a=s.__rest(e,["variant"]);return"horizontal"===t?z.default.createElement(ne,Object.assign({},a)):z.default.createElement(ie,Object.assign({},a))},exports.BMICardEmbed=({isMobile:e,onSubmit:t,bmiContent:a,isSide:l,bmiGenerated:n,bmiUnit:o,bmiLink:s,locale:d})=>{var c,u,m;const{t:g}=h.useTranslations();return z.default.createElement(i.StyledContainer,{"data-is-side":l},z.default.createElement(i.ToolsBannerCard,{isSide:l,icon:z.default.createElement("img",{alt:"health-tool-icon",src:(null==a?void 0:a.featured_image)||r.CommonGAssets.getAssetPath("health-tools/bmi.svg"),loading:"lazy"}),heading:g("bmi.heading"),medicalReview:{link:null===(c=null==a?void 0:a.reviewBy)||void 0===c?void 0:c.link,reviewer:null===(u=null==a?void 0:a.reviewBy)||void 0===u?void 0:u.reviewer,date:null===(m=null==a?void 0:a.reviewBy)||void 0===m?void 0:m.date},isMobile:e}),z.default.createElement(E.Container,null,z.default.createElement(i.StyledContent,{as:"div","data-is-side":l},s&&z.default.createElement(he,{onSubmit:t,bmiGenerated:n,locale:d,bmiUnit:o,isSide:l}))))},exports.BMRCardEmbed=({isSide:e,locale:t,bmrContent:a,isMobile:l,info:n,inputErrorMessage:o,onFormChange:s,onSubmit:d})=>{var c,u,m;const{t:g}=h.useTranslations();return z.default.createElement(i.StyledContainer,{"data-is-side":e},z.default.createElement(i.ToolsBannerCard,{isSide:e,icon:z.default.createElement("img",{alt:"health-tool-icon",src:(null==a?void 0:a.featured_image)||r.CommonGAssets.getAssetPath("health-tools/bmr.svg"),loading:"lazy"}),heading:g("bmr.heading"),medicalReview:{link:null===(c=null==a?void 0:a.reviewBy)||void 0===c?void 0:c.link,reviewer:null===(u=null==a?void 0:a.reviewBy)||void 0===u?void 0:u.reviewer,date:null===(m=null==a?void 0:a.reviewBy)||void 0===m?void 0:m.date},isMobile:l}),z.default.createElement(E.Container,null,z.default.createElement(i.StyledContent,{onSubmit:e=>e.preventDefault(),"data-is-side":e},z.default.createElement(i.StyledInputForm,null,z.default.createElement(Ee,{info:n,locale:t,errorMessage:o,onChange:s,onClick:d,isSide:e})))))},exports.BabyGrowthCardEmbed=({isMobile:e,className:t,onSubmit:a,onError:l,schema:n,babyGrowthContent:s,siteType:d})=>{var c,u,m;return h.useTranslations(),z.default.createElement(i.StyledContainer,{"babyGrowthContent-is-mobile":e,"data-site":d},z.default.createElement(i.ToolsBannerCard,{siteType:d,bannerUrl:r.CommonGAssets.getAssetPath("embedToolBannerBlue.svg"),bannerUrlLarge:r.CommonGAssets.getAssetPath("embedToolBannerBlue.svg"),bannerColor:"marryBaby"===d&&o.theme.mbColors.mint,isEmbeded:!0,icon:z.default.createElement("img",{className:"embedded-icon",alt:"health-tool-icon",src:(null==s?void 0:s.featuredImage)||r.CommonGAssets.getAssetPath("health-tools/toolsIconBabyGrowth.svg"),loading:"lazy"}),heading:(null==s?void 0:s.title)||"",medicalReview:{link:null===(c=null==s?void 0:s.reviewBy)||void 0===c?void 0:c.link,reviewer:null===(u=null==s?void 0:s.reviewBy)||void 0===u?void 0:u.reviewer.trim(),date:null===(m=null==s?void 0:s.reviewBy)||void 0===m?void 0:m.date},isMobile:e}),z.default.createElement(i.StyledBabyGrowthWrapper,{"data-theme":d},z.default.createElement(i.StyleForm,{siteType:d,schema:n,className:t,onSubmit:a,onError:l})))},exports.BabyPoopEmbed=({babyPoopPage:e,onClickFindOut:t,currentUrl:l,isSide:n,direction:s="auto",sponsorLogo:c})=>{const{t:u}=h.useTranslations(),m="mb"===d.useMantineTheme().other.template,{classes:g}=i.useStyles$2({isMarryBaby:m,isSide:n,direction:s},{name:"BabyPoopEmbed"}),{reviewedBy:f,reviewedDate:p}=e||{};return z.default.createElement("div",{className:g.root},z.default.createElement("div",{className:g.inner},z.default.createElement(a.Heading,{tag:"h3",as:"h2",color:!m&&"#284A75"},e.title),z.default.createElement("div",{className:g.content,"data-is-side":n},z.default.createElement(a.Text,{size:"p3",className:"description"},e.description),!!f&&z.default.createElement("div",{className:g.reviewText},z.default.createElement("img",{src:r.CommonGAssets.getAssetPath("reviewerCheck.svg"),alt:"check",className:g.reviewTextIcon,loading:"lazy"}),z.default.createElement(a.Text,{size:"p4",color:o.theme.colors.gray600},u("categoryPage.info.reviewed")," ",z.default.createElement("a",{href:f.profile_url},f.display_name)," ",u("categoryPage.onDate",{date:p||""}))),z.default.createElement("div",{className:g.action},z.default.createElement(a.Button,{className:g.btn,size:m?"lg":"md",variant:m?"secondary":"primary",onClick:t,dataEventCategory:"Health Tool",dataEventAction:"Baby Stool Inquiry",dataEventLabel:l,style:{visibility:Boolean(t)?"visible":"hidden"}},u("babyPoop.findOut"))))),z.default.createElement("div",{className:g.thumbnail},z.default.createElement("img",{src:m?r.CommonGAssets.getAssetPath("baby-poop.svg"):null==e?void 0:e.featuredImage,alt:e.title,loading:"lazy"})),c&&z.default.createElement("img",{loading:"lazy",src:c,alt:"sponsor",className:g.sponsorLogo}))},exports.Badge=({amount:e,type:t,size:l="medium",color:n="primary",icon:r,className:o})=>z.default.createElement(a.StyledBadge,{"data-notification-type":t,"data-notification-size":l,"data-notification-color":n,"data-has-icon":!!r||void 0,notificationType:t,notificationSize:l,notificationColor:n,hasIcon:!!r,className:o},z.default.createElement("div",null,e&&z.default.createElement("span",null,e)," ",r&&z.default.createElement("div",null,r))),exports.BorderHeading=({style:e,children:t,className:l,size:n="lg",type:r="bold",upperCase:o,as:i="h4",color:s})=>z.default.createElement(a.StyledBorderHeading,{style:Object.assign({color:s},e),className:l,"data-size":n,"data-type":r,"data-uppercase":o,as:i},t),exports.Breadcrumbs=({className:t,pages:a,size:l,LinkComponent:n="a",onChangePage:r,separator:o})=>{const i=e.useMemo((()=>a.map(((e,t)=>a.length>4?t>1&&t<a.length-2?null:1===t?Object.assign(Object.assign({},e),{isDropdown:1===t,dropdownItems:a.slice(1,a.length-2)}):e:e)).filter(Boolean)),[a]);return z.default.createElement("div",{"data-size":l,className:`${Se} ${t||""}`},i.map(((t,a)=>{const s=a+1===i.length;return z.default.createElement(e.Fragment,{key:a},z.default.createElement(Ne,{LinkComponent:n,page:t,isLast:s,onChangePage:r}),!s&&(t.separator||o||z.default.createElement("div",{className:xe,"data-size":l})))})))},exports.CategoryCard=e=>{var{category:t,imgBanner:l,label:n,className:r,style:o,href:d="",dataEventCategory:c,dataEventAction:u,dataEventLabel:m}=e,g=s.__rest(e,["category","imgBanner","label","className","style","href","dataEventCategory","dataEventAction","dataEventLabel"]);const p=(null==t?void 0:t.customizedUrl)||(null==t?void 0:t.permalink)||d||"";return z.default.createElement(i.StyledCategoryCard,Object.assign({"data-event-category":c,"data-event-action":u,"data-event-label":m,className:r,style:o,href:p},(null==t?void 0:t.customizedUrl)&&!f.isInternalLink(t.customizedUrl)&&{target:"_blank"},{onClick:e=>{""===p&&e.preventDefault()}},g),z.default.createElement("div",{className:"banner"},l),z.default.createElement("div",{className:"content"},z.default.createElement(a.Text,{className:"category_name",size:"sm",weight:"bold"},(null==t?void 0:t.displayName)||n||"")))},exports.Checkbox=q,exports.CheckboxGroup=({name:e,values:t=[],onChanges:a,options:l=[],className:n,type:r="vertical",isDisabled:o,isRectangle:s})=>{const d=(e,l)=>{const n=t.slice();if(l)n.push(e);else{const t=n.findIndex((t=>t===e));n.splice(t,1)}a&&a(n)};return z.default.createElement(i.StyledCheckboxGroup,{className:n,"data-type":r,"data-is-rectangle":s||void 0},l.map(((a,l)=>z.default.createElement(q,{label:a.label,name:e,key:`${l}-${a.value}`,checked:t.includes(a.value),value:a.value,isDisabled:o||a.disabled,onChange:!o&&d,isRectangle:s}))))},exports.CookieAcceptConfirm=({className:e,policiesUrl:t,onAcceptClick:a,translations:l={acceptButton:"Accept",policiesButton:"Our Policies"},title:n="",description:r="",theme:o="helloSites",isOpen:s=!0,useDefaultPosition:d=!0,trackingAttributes:c})=>z.default.createElement(i.StyledAcceptCardContainer,{className:e,"data-theme":o,"data-is-open":s,"data-default-position":d},z.default.createElement(i.StyledTitleSection,{"data-has-content":!!n},n),z.default.createElement(i.StyledDescription,{dangerouslySetInnerHTML:{__html:r}}),z.default.createElement(i.StyledButtonGroup,null,z.default.createElement(i.StyledAcceptButton,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:a,"data-event-category":null==c?void 0:c.dataEventCategory,"data-event-action":null==c?void 0:c.dataEventAction,"data-event-label":null==c?void 0:c.dataEventLabel},l.acceptButton),z.default.createElement(i.StyledPoliciesButton,{href:t},l.policiesButton))),exports.DateRangePicker=function({inputSize:t="md",name:l="date-range-picker",value:n,minDate:o,maxDate:s,onChange:d,className:c,autoClose:u=!1}){n||(n={from:null,to:null});const[m,g]=e.useState(!1);function f(){g(!1)}const p=e.useRef(null);function h(e){d&&d(e)}function y(e){return v.format(e,"dd/MM/yyyy")}T.useOutsideClick(p,(()=>{f()}));const E=e.useMemo((()=>n.from&&n.to?v.isSameDay(n.from,n.to)?y(n.from):`${y(n.from)} - ${y(n.to)}`:""),[n.from,n.to]);return z.default.createElement(i.StyledWrapper,{className:[c,m&&"focused"].filter(Boolean).join(" "),ref:p},z.default.createElement("label",{htmlFor:l},z.default.createElement(a.PureInput,{size:t,value:E,name:l,actionIcon:z.default.createElement("img",{src:r.CommonGAssets.getAssetPath("calendar.svg"),loading:"lazy"}),onFocus:()=>g(!0)})),m?z.default.createElement(i.StyledCalendarWrapper$1,{onMouseDown:e=>{e.stopPropagation()}},z.default.createElement(we,{value:n,onChange:h,minDate:o,maxDate:s,close:f,autoClose:u})):null)},exports.DueDateCardEmbed=({isMobile:e,locale:t,onSubmitDueDate:a,dueDatePageInfo:l,expertUrl:n,isSide:s,siteType:d})=>{var c;const{t:u}=h.useTranslations();return z.default.createElement(i.StyledContainer,{"data-is-side":s,"data-site":d},z.default.createElement(i.ToolsBannerCard,{isSide:s,siteType:d,bannerColor:"marryBaby"===d&&o.theme.mbColors.mint,isEmbeded:!0,color:"pink",icon:z.default.createElement("img",{alt:"health-tool-icon",src:(null==l?void 0:l.featured_image)||r.CommonGAssets.getAssetPath("health-tools/due-date-icon.svg"),loading:"lazy"}),heading:u("healthTools.dueDateCalculator"),medicalReview:{link:n,reviewer:null===(c=null==l?void 0:l.reviewed_by)||void 0===c?void 0:c.display_name,date:null==l?void 0:l.reviewed_date},isMobile:e}),z.default.createElement(i.StyledContent,{onSubmit:e=>e.preventDefault(),className:"due-date-cal","data-is-side":s},z.default.createElement(fe,{siteType:d,locale:t,onSubmitDueDate:a,isSide:s})))},exports.FileDropdown=({className:t,value:l,options:n,onUploadSelected:r,id:o,placeholderIcon:i,placeholder:s,style:d})=>{const[c,u]=e.useState(!1),m=()=>u(!c),g=e.useRef(n.map((e=>"upload"===e.type&&z.default.createElement("input",{id:"uploader-dropdown-input-"+o+"-"+e.value,key:"uploader-dropdown-input-"+o+"-"+e.value,accept:e.fileAcceptedType,multiple:e.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),r(e.target.files)}})))),f=z.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.17 14.83"},z.default.createElement("defs",null,z.default.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},z.default.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"})),z.default.createElement("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),z.default.createElement("title",null,"File"),z.default.createElement("g",{clipPath:"url(#prefix__clip-path)"},z.default.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),z.default.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),p=z.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},z.default.createElement("defs",null,z.default.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),z.default.createElement("title",null,"download"),z.default.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),h=z.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},z.default.createElement("defs",null,z.default.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),z.default.createElement("title",null,"upload"),z.default.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"}));return z.default.createElement(a.StyledDropdown,{className:t,"data-dropdown-open":!!c,id:o,"data-has-icons":!0,style:d,onBlur:()=>u(!1),tabIndex:0},z.default.createElement(a.StyledDropdownName,{onClick:m},i||f," ",z.default.createElement("span",null,l&&l.value?l.label:s)),c&&z.default.createElement(a.StyledDropdownList,{onClick:m,"data-has-icons":!0},n.map((e=>z.default.createElement(a.StyledDropdownOption,{key:`${o}-${e.value}`,"data-selected":l&&l.value===e.value||void 0,onClick:()=>{return"upload"===e.type?(a="#uploader-dropdown-input-"+o+"-"+e.value,void(null===(l=document.querySelector(a))||void 0===l||l.click())):void((t=e.url)&&window.open(t,"_blank"));var t,a,l}},z.default.createElement(a.StyledIcon,null,e.icon||"download"===e.type?p:h),e.label)))),z.default.createElement(z.default.Fragment,null,g.current))},exports.FixedBottomAdBlock=({className:t,adUnitPath:a,divId:l,isMobile:n,contentId:r,customTargetings:o,locale:s,isMarryBaby:d})=>{const[c,u]=e.useState(!0),[m,g]=e.useState(!1),[f,p]=e.useState(!0),h=e.useRef(null),v=e.useRef(I.v4()),y=e.useRef(null),E=e.useRef(),b=e.useRef();return e.useEffect((()=>{const e=()=>{b.current&&clearTimeout(b.current),b.current=setTimeout((()=>{var t;document.getElementById("subot--container")?u(!0):(u(!1),(null===(t=h.current)||void 0===t?void 0:t.clientHeight)?p(!1):p(!0)),e()}),4e3)};return e(),()=>{E.current&&clearTimeout(E.current),b.current&&clearTimeout(b.current)}}),[]),c||m?null:z.default.createElement(i.StyledFixedAdBlock,{key:n?"mobile":"desktop",ref:y,className:t,"data-visible":!f},a&&z.default.createElement(i.AdBlock,{wrapperProps:{m:0},ref:h,adUnitPath:a,size:n?[[320,50],[320,100]]:[728,90],divId:(l||"div-gpt-ad-sticky")+(n?"-mobile":"")+r+String(v.current),pos:["Sticky"],contentId:r,hideIfHasSubot:n,customTargetings:o,adDefaultSize:n?[320,50]:[728,90],showCloseBtn:!0,onCloseAd:()=>g(!0),refreshInterval:60,locale:s,isMarryBaby:d}))},exports.FloatButtonGroup=({items:t,className:a,style:l,backgroundPanelStyle:n,isOpen:r,onOpen:o,onClose:s,disableBackdropClick:d,siteType:c="hb",animationType:u="zoom",zIndex:m=300})=>{const[g,f]=e.useState(!!r);e.useEffect((()=>{f(!!r)}),[r]);const p=()=>{f(!1),s&&s()};return z.default.createElement(i.StyledFloatButtonGroup,{style:l,className:a,"data-floatmenu-open":g,"data-site-type":c,"data-animation-type":u},z.default.createElement(i.StyledFloatButtonGroupBackgroundPanel,{className:"float-button-group__panel",style:Object.assign({zIndex:m},n),onClick:d?void 0:p}),z.default.createElement(i.StyledFloatButtonGroupContent,{className:"float-button-group___content",style:{zIndex:m}},z.default.createElement(i.StyledFloatButtonGroupItemsWrapper,null,t.map(((e,a)=>z.default.createElement(i.StyledFloatButtonGroupButton,{className:`float-item-button-${a}`,style:Object.assign(Object.assign({},"zoom"===u&&{bottom:64*(t.length-1-a),transitionDelay:i.TRANSITION_TIMING/t.length*(g?t.length-1-a:a)+"ms"}),"slide"===u&&{bottom:64*(t.length-1-a),transitionDelay:i.TRANSITION_TIMING/t.length*(g?a:t.length-1-a)+"ms"}),key:a,onClick:()=>{e.onClick(),e.keepMenuOnClick||f(!1)}},z.default.createElement(i.StyledFloatButtonGroupButtonLabel,{style:Object.assign({},"zoom"===u&&{transitionDelay:i.TRANSITION_TIMING/t.length*(g?t.length-1-a:a)+"ms"})},e.label),z.default.createElement(i.StyledFloatButtonGroupButtonIcon,{className:"float-item-button__icon-wrapper",style:Object.assign({},("zoom"===u||"slide"===u)&&{transitionDelay:i.TRANSITION_TIMING/t.length*(g?t.length-1-a:a)+"ms"})},e.icon))))),z.default.createElement(i.StyledFloatButtonGroupToggleIcon,{onClick:g?p:()=>{f(!0),o&&o()}})))},exports.GenderOptionControl=K,exports.Grid=({className:e,columns:t,columnsDesktop:l,gridTemplateColumns:n,gridTemplateColumnsDesktop:r,gap:o,children:i,justifyChildren:s,style:d,alignItems:c})=>z.default.createElement(a.StyledGrid,{className:e,style:d,theme:{columns:t,columnsDesktop:l,gap:o,justifyChildren:s,gridTemplateColumns:n,gridTemplateColumnsDesktop:r,alignItems:c}},i),exports.IconText=({size:e,iconPosition:t,className:a,children:l,icon:n})=>z.default.createElement(i.StyledIconText,{className:a,"data-size":e,"data-icon-position":t},"left"===t&&n,l,"right"===t&&n),exports.OvulationCardEmbed=({onSubmitOvulation:e,locale:t,ovulationPageInfo:a,expertUrl:l,isSide:n=!1,siteType:s,isMobile:d})=>{var c;const{t:u}=h.useTranslations();return z.default.createElement(i.StyledContainer,{"data-is-side":n,"data-site":s},z.default.createElement(i.ToolsBannerCard,{isSide:n,bannerUrl:r.CommonGAssets.getAssetPath("embedToolBannerPink.svg"),siteType:s,bannerColor:"marryBaby"===s&&o.theme.mbColors.mint,isEmbeded:!0,color:"pink",icon:z.default.createElement("img",{alt:"health-tool-icon",src:(null==a?void 0:a.featured_image)||r.CommonGAssets.getAssetPath("health-tools/ovulation-icon.svg"),loading:"lazy"}),heading:u("healthTools.ovulationCalculator"),medicalReview:{link:l,reviewer:null===(c=null==a?void 0:a.reviewed_by)||void 0===c?void 0:c.display_name,date:null==a?void 0:a.reviewed_date},isMobile:d}),z.default.createElement(i.StyledContent,{onSubmit:e=>e.preventDefault(),className:"ovulation-cal","data-is-side":n},z.default.createElement(i.OvulationCalculator,{siteType:s,locale:t,onSubmitOvulation:e,isSide:n})))},exports.PWGCardEmbed=({locale:t,onClick:l,inputErrorMessage:n,pwgContent:s,onFormChange:d,info:c,isMobile:m,isSide:g=!1,siteType:f})=>{var p;const{t:v}=h.useTranslations(),[y,b]=e.useState("notwins"),[C,w]=e.useState({label:"1",value:1}),k=e.useMemo((()=>[...Array(40)].map(((e,t)=>({label:`${t+1}`,value:`${t+1}`})))),[]),{getHealthToolLink:T}=S.useHealthToolsCache(t),N=e.useMemo((()=>T(a.HEALTH_TOOL_TYPE.PWG)),[T]);return z.default.createElement(i.StyledContainer,{"data-is-side":g,"data-site":f},z.default.createElement(i.ToolsBannerCard,{siteType:f,bannerColor:"marryBaby"===f&&o.theme.mbColors.mint,isEmbeded:!0,color:"pink",icon:z.default.createElement("img",{alt:"health-tool-icon",src:(null==s?void 0:s.featuredImage)||r.CommonGAssets.getAssetPath("health-tools/pwg-icon.svg"),loading:"lazy"}),heading:v("pregnancyWeightGain.heading"),medicalReview:{link:x.formatUserProfileUrl(null==s?void 0:s.reviewedBy),reviewer:null===(p=null==s?void 0:s.reviewedBy)||void 0===p?void 0:p.display_name,date:null==s?void 0:s.reviewedDate},isMobile:m,isSide:g}),z.default.createElement(E.Container,null,z.default.createElement(i.StyledContent,{onSubmit:e=>e.preventDefault(),className:"pwg-view-mobile","data-is-side":g},"marryBaby"!==f&&z.default.createElement(i.StyledTwins,{className:"hide-asking-mobile","data-is-side":g},z.default.createElement(a.Text,{size:"s4",weight:"semiBold",style:{display:"block",color:o.theme.colors.gray600},className:"label"},v("pregnancyWeightGain.havingTwins")),z.default.createElement(i.StyledRadioGroup,{options:[{value:"twins",label:v("switchBtn.yes")},{value:"notwins",label:v("switchBtn.no")}],value:y,onChange:e=>b(e),className:"gender-selector",id:"twins-check",type:"circle",direction:"horizontal",size:"small",group:"group1"})),z.default.createElement(i.StyledInputWrapper,null,z.default.createElement(i.StyledFormInput,{className:"input-section input-form-pwg","data-is-side":g},"marryBaby"===f?z.default.createElement(i.StyledDropDown,{groupedWithLabel:v("pregnancyWeightGain.weekInput"),options:k,placeholder:"28 days",id:"due-date-dropdown",size:"lg",value:C,onChange:e=>w({label:e.label,value:e.value})}):z.default.createElement(z.default.Fragment,null,z.default.createElement(a.Text,{size:"s4",weight:"semiBold",style:{display:"inline-block",marginBottom:"9px",color:o.theme.colors.gray600}},v("pregnancyWeightGain.weekInput")),z.default.createElement(i.Dropdown,{options:k,placeholder:String(C.label),id:"weight-gain-dropdown",size:"md",value:C,onChange:e=>w({label:e.label,value:e.value})}))),z.default.createElement(be,{siteType:f,info:c,errorMessage:n,onChange:d})),"marryBaby"!==f&&z.default.createElement(i.StyledTwins,{className:"hide-asking-desk","data-is-side":g},z.default.createElement(a.Text,{size:"s4",weight:"semiBold",style:{display:"block",color:o.theme.colors.gray600},className:"label"},v("pregnancyWeightGain.havingTwins")),z.default.createElement(i.StyledRadioGroup,{options:[{value:"twins",label:v("switchBtn.yes")},{value:"notwins",label:v("switchBtn.no")}],value:y,onChange:e=>b(e),className:"gender-selector",id:"twins-check-mobile",type:"circle",direction:"horizontal",size:"small",group:"group1"})),"marryBaby"===f&&z.default.createElement(q,{name:"twins",label:v("pregnancyWeightGain.havingTwins"),checked:"twins"===y,siteType:"marryBaby",onChange:()=>{b("twins"===y?"notwins":"twins")},value:"twins"}),z.default.createElement(i.StyledSubmitButton,{"data-is-side":g,"data-site":f},z.default.createElement(a.Button,{dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${u.domainLocales["marryBaby"===f?"vi-VN_MB":t]}/${N}`,className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===f?"secondary":"primary",onClick:()=>l(y,C.value),role:"button"},v("dueDatePage.lastPeriod.calculate"))))))},exports.Pagination=({className:t,pagesAmount:n,currentPage:r,onChange:o,onClick:i,style:s,href:d,queryPageName:c="page"})=>{const u=[...Array(n)].map(((e,t)=>t+1)),[m,g]=e.useState(r),f=e.useMemo((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),p=n-1,h=e=>{e<=n&&e>0&&(g(e),o(e))},v=e=>{i&&i(e)};return e.useEffect((()=>{g(r)}),[r]),z.default.createElement(a.StyledPagination,{className:t,style:s},z.default.createElement(a.StyledPageBlock,{className:"prev-page",onClick:()=>h(m-1),"data-last-page":1===m||void 0},f?z.default.createElement("a",{href:l.formatUrlWithPageParam(f,m,c),onClick:v},z.default.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z.default.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):z.default.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z.default.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),u.length>8?z.default.createElement(U,{pagesAmount:n,activePage:m,handlePageChange:h,handleClick:v,href:f,queryPageName:c}):u.map((e=>z.default.createElement(a.StyledPaginationBlock,{key:`pagination+${e}`,"data-page-active":e===m||void 0,onClick:()=>h(e)},f?z.default.createElement("a",{href:l.formatUrlWithPageParam(f,e,c),onClick:v},e):e))),z.default.createElement(a.StyledPageBlock,{className:"next-page",onClick:()=>h(m+1),"data-last-page":m===p+1||void 0},f?z.default.createElement("a",{href:l.formatUrlWithPageParam(f,m,c),onClick:v},z.default.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z.default.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):z.default.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z.default.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},exports.ProgressBar=({type:t,numberOfStep:a,activeStep:l,labelPrefix:n,detailSteps:r,className:o,onChange:d})=>{const[c,u]=e.useState(0),m=e=>{var{trackClassName:t}=e,a=s.__rest(e,["trackClassName"]);return z.default.createElement(i.StyledTrackContainer,Object.assign({},a,{className:t}),z.default.createElement(i.StyledTrack,null))},g=z.default.createElement(i.StyledSlider,{className:o+" progress-bar"},z.default.createElement(m,null),z.default.createElement((({trackLength:e,activeStep:t,labelPrefix:l="Step",onChange:n})=>z.default.createElement(z.default.Fragment,null,Array.from({length:a},((e,t)=>t)).map(((r,o)=>z.default.createElement(i.StyledStep,{"data-is-active":o===t,"data-label":o,style:{left:o*e/(a-1)},onClick:()=>{n&&n(o)},key:o},o+1,z.default.createElement(i.StyledStepLabel,{"data-step-passed":o<=t},l+" "+(o+1))))))),{trackLength:c,activeStep:l,labelPrefix:n,onChange:d})),f=z.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.5 9.5"},z.default.createElement("title",null,"chevron-right"),z.default.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),p=z.default.createElement(i.StyledBreadcrumbContainer,null,r&&Array.from({length:r.length},((e,t)=>t)).map(((e,t)=>{var a;return z.default.createElement(i.StyledBreadcrumbWrapper,{key:t,"data-selected":t===l,onClick:()=>{d&&d(t)}},null===(a=r[t])||void 0===a?void 0:a.text," ",t<r.length-1&&f)}))),h=z.default.createElement(i.StyledSlider,{className:o+" progress-bar"},z.default.createElement((({detailSteps:e,activeStep:t,onChange:a})=>z.default.createElement(z.default.Fragment,null,Array.from({length:e.length},((e,t)=>t)).map(((l,n)=>z.default.createElement(i.StyledDetailStep,{key:n,style:{left:100/e.length*n+"%",width:100/e.length+"%"},onClick:()=>{a&&a(n)}},e[n].icon?z.default.createElement(i.StyledDetailStepIndicatorExternal,{onClick:()=>{a&&a(n)}},e[n].icon):z.default.createElement(i.StyledDetailStepIndicator,{"data-is-active":n===t,"data-label":l,onClick:()=>{a&&a(n)},key:n},n+1),z.default.createElement(i.StyledDetailStepLabel,{"data-step-passed":n<t+1},e[n].text,z.default.createElement(i.StyledDetailStepDescription,null,e[n].description)),n<e.length-1&&z.default.createElement(m,{"data-step-passed":n<t,trackClassName:"progress-track","data-track-type":"detail"})))))),{activeStep:l,detailSteps:r,onChange:d})),v=e.useCallback(F.default((()=>{const e=document.querySelector(".progress-bar");e&&u(e.offsetWidth)}),1e3),[]);return e.useEffect((()=>{const e=document.querySelector(".progress-bar");return u(null==e?void 0:e.offsetWidth),window.addEventListener("resize",v,{passive:!0}),()=>{window.removeEventListener("resize",v)}}),[]),"step-track"===t&&g||"breadcrumb"===t&&p||"detail-track"===t&&h},exports.RateStars=({gap:t=2,size:l=24,star:n,totalStars:r=5,onSelect:o,hideEmptyStars:i,style:s,className:d})=>{const c=Math.floor(n),u=n-c>=.5?1:0,[m,g]=e.useState(null),f=m||c,p=m?0:u;return z.default.createElement(a.StyledRateStars,{"data-selectable":!!o,style:Object.assign({"--gap":t,"--star-size":l},s),className:d},Array.from({length:i?c+u:r}).map(((e,t)=>{const a=()=>!!o&&g(t+1),l=()=>!!o&&g(null);return t+1<=f?z.default.createElement(Y,{key:t,onClick:()=>null==o?void 0:o(t+1),onMouseOver:a,onMouseLeave:l}):t+1===f+p?z.default.createElement(Q,{key:t,onClick:()=>null==o?void 0:o(t+1),onMouseOver:a,onMouseLeave:l}):z.default.createElement(Z,{key:t,onClick:()=>null==o?void 0:o(t+1),onMouseOver:a,onMouseLeave:l})})))},exports.ScrollList=({row:t=2,column:a=3,isDotsShown:l=!0,isImageGalleryShown:n=!1,mode:r="infinity",type:o="separated",distanceOverlappedLeft:s={amount:0,unit:"pixel"},children:d,className:c,isProgressShown:u=!1,statusChildren:m,isArrowShown:g=!1,classNameLeftArrow:f,classNameRightArrow:p,dataEventCategory:h,dataEventAction:v,dataEventLabel:y,onChangePage:E,page:b,customPageWidth:C,scheme:w="hellosites",arrowType:k="Discover"})=>{const S="number"==typeof b,[x,T]=e.useState(S?b:0),N=[];z.default.Children.map(d,((e,l)=>{l%(t*a)==0&&N.push([]),N[N.length-1].push(z.default.cloneElement(e))}));const B=e.useRef(),D=e.useRef(0),L=e=>{if(!B.current)return;const{clientWidth:t}=B.current,a=C||t,l="intertwined"===o?"percentage"===s.unit?e*a+s.amount/100*a*e:e*a+s.amount*a*e:e*a;B.current.scrollTo({top:0,left:l,behavior:"smooth"}),D.current=e,T(e),E&&E(e)};e.useEffect((()=>{"number"==typeof b&&(e=>{if(!B.current)return;const{clientWidth:t}=B.current,a=C||t,l="intertwined"===o?"percentage"===s.unit?e*a+s.amount/100*a*e:e*a+s.amount*a*e:e*a;B.current.scrollTo({top:0,left:l,behavior:"smooth"}),D.current=e,T(e)})(b)}),[b]);const A=e=>{if(!B.current)return;const{clientWidth:t}=B.current,a=C||t;let l;l=0===x?0:x*a,"forward"===e&&(l===a*(N.length-1)?(T(N.length-1),l=a*(N.length-1),E&&E(N.length-1)):(T(x+1),l+=a,E&&E(x+1)),B.current.scrollTo({top:0,left:l,behavior:"smooth"})),"back"===e&&(0===l?(T(0),E&&E(0),l=0):(T(x-1),E&&E(x-1),l-=a),B.current.scrollTo({top:0,left:l,behavior:"smooth"}))},M=F.default((()=>{if("infinity"===r){if(!B.current)return;const{clientWidth:e,scrollLeft:t}=B.current,a=C||e,l=Math.floor(t/a);T(l),E&&E(l)}}),400);return e.useEffect((()=>{if("snapped"===r){let e,t,a,l,n,r,i=!1;const d=B.current,c=(r,o)=>{i=!0,a=!1,l=!1,e=r-d.offsetLeft,t=o-d.offsetTop,n=d.scrollLeft},u=e=>{c(e.pageX,e.pageY)},m=e=>{c(e.touches[0].pageX,e.touches[0].pageY)},g=()=>{if(i=!1,a=!1,l=!1,!B.current)return;const{clientWidth:e}=B.current,t=C||e,n="ltr"===r?0!==D.current?D.current-1:D.current:"rtl"===r&&D.current<N.length-1?D.current+1:D.current,d="intertwined"===o?"percentage"===s.unit?n*t+s.amount/100*t*n:n*t+s.amount*t*n:n*t;B.current.scrollTo({top:0,left:d,behavior:"smooth"}),r="none",D.current!==n&&(D.current=n,T(n),E&&E(n))},f=(o,s)=>{if(!i)return;const c=o-d.offsetLeft,u=s-d.offsetTop,m=c-e,g=u-t;a||l||!(g>20||g<-20)||(a=!0),!a&&(m>20||m<-20)&&(l=!0,d.scrollLeft=n-m,m>0&&(r="ltr"),m<0&&(r="rtl"),0===m&&(r="none"))},p=e=>{l&&e.preventDefault(),f(e.pageX,e.pageY)},h=e=>{l&&e.preventDefault(),f(e.touches[0].pageX,e.touches[0].pageY)};return null==d||d.addEventListener("mousedown",u,{passive:!0}),null==d||d.addEventListener("touchstart",m,{passive:!0}),window.addEventListener("mouseup",g,{passive:!0}),window.addEventListener("touchend",g,{passive:!0}),null==d||d.addEventListener("mousemove",p,{passive:!0}),null==d||d.addEventListener("touchmove",h,{passive:!0}),()=>{null==d||d.removeEventListener("mousedown",u),null==d||d.removeEventListener("touchstart",m),window.removeEventListener("mouseup",g),window.removeEventListener("touchend",g),null==d||d.removeEventListener("mousemove",p),null==d||d.removeEventListener("touchmove",h)}}}),[]),z.default.createElement(i.StyledScrollList,{className:c,"data-row":t,onScroll:M},g&&x>0&&z.default.createElement("div",{className:`${f} arrow-left`,onClick:()=>A("back"),"data-event-category":h,"data-event-action":v,"data-event-label":y},"Care"===k?z.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},z.default.createElement("g",{filter:"url(#filter0_dd_12599_34420)"},z.default.createElement("path",{d:"M7.00024 19C7.00024 10.1634 14.1637 3 23.0002 3V3C31.8368 3 39.0002 10.1634 39.0002 19V19C39.0002 27.8366 31.8368 35 23.0002 35V35C14.1637 35 7.00024 27.8366 7.00024 19V19Z",fill:"white"}),z.default.createElement("path",{d:"M20.9293 19L24.7503 15.179C25.1643 14.765 25.1643 14.093 24.7503 13.679C24.3363 13.265 23.6643 13.265 23.2503 13.679L18.6363 18.293C18.2453 18.684 18.2453 19.317 18.6363 19.707L23.2503 24.321C23.6643 24.735 24.3363 24.735 24.7503 24.321C25.1643 23.907 25.1643 23.235 24.7503 22.821L20.9293 19Z",fill:"#595959"}),z.default.createElement("path",{d:"M23.0002 34C14.716 34 8.00024 27.2843 8.00024 19H6.00024C6.00024 28.3888 13.6114 36 23.0002 36V34ZM38.0002 19C38.0002 27.2843 31.2845 34 23.0002 34V36C32.3891 36 40.0002 28.3888 40.0002 19H38.0002ZM23.0002 4C31.2845 4 38.0002 10.7157 38.0002 19H40.0002C40.0002 9.61116 32.3891 2 23.0002 2V4ZM23.0002 2C13.6114 2 6.00024 9.61116 6.00024 19H8.00024C8.00024 10.7157 14.716 4 23.0002 4V2Z",fill:"#DBDFE5"})),z.default.createElement("defs",null,z.default.createElement("filter",{id:"filter0_dd_12599_34420",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},z.default.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),z.default.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),z.default.createElement("feOffset",{dx:"-2",dy:"2"}),z.default.createElement("feGaussianBlur",{stdDeviation:"2.5"}),z.default.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.263201 0 0 0 0 0.335725 0 0 0 0 0.393257 0 0 0 0.123689 0"}),z.default.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12599_34420"}),z.default.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),z.default.createElement("feOffset",{dx:"-1",dy:"1"}),z.default.createElement("feGaussianBlur",{stdDeviation:"1"}),z.default.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.264489 0 0 0 0 0.275745 0 0 0 0 0.28861 0 0 0 0.01 0"}),z.default.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12599_34420",result:"effect2_dropShadow_12599_34420"}),z.default.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12599_34420",result:"shape"})))):z.default.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z.default.createElement("path",{d:"M15.9996 28.2218C22.7497 28.2218 28.2218 22.7497 28.2218 15.9996C28.2218 9.24942 22.7497 3.77734 15.9996 3.77734C9.24942 3.77734 3.77734 9.24942 3.77734 15.9996C3.77734 22.7497 9.24942 28.2218 15.9996 28.2218Z",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),z.default.createElement("path",{d:"M15.9997 11.1109L11.1108 15.9998L15.9997 20.8887",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),z.default.createElement("path",{d:"M20.8886 15.999L11.1108 15.999",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),z.default.createElement("div",{ref:B,className:"container",style:{overflowX:"snapped"===r||g?"hidden":"scroll"}},N.map(((e,l)=>{let n=0;for(let e=0;e<l;e++)n+=N[e].length;return z.default.createElement("div",{key:l,className:"section",style:{marginLeft:"intertwined"===o&&0!==l?s.amount+""+("percentage"===s.unit?"%":"px"):"0px"}},1===t&&u&&z.default.createElement("div",{className:"progress-bar",style:{gridTemplateColumns:`repeat(${a}, 1fr)`}},e.map(((t,a)=>{const r=n+a,o=m.find((e=>e.index===r));return z.default.createElement("div",{className:"items-progress",key:a},0===a&&0===l?z.default.createElement("div",{className:"line",style:{visibility:"hidden"}}):z.default.createElement("div",{className:"line"}),z.default.createElement("div",{className:"icon-status"},z.default.createElement(de,{status:null==o?void 0:o.status})),l===N.length-1&&a===e.length-1?z.default.createElement("div",{className:"line",style:{visibility:"hidden"}}):z.default.createElement("div",{className:"line"}))}))),z.default.createElement("div",{className:"grid-layout","data-index":l,style:{gridTemplateColumns:`repeat(${a}, 1fr)`,gridTemplateRows:`repeat(${t}, 1fr)`}},e.map(((e,t)=>z.default.createElement(z.default.Fragment,{key:t},z.default.createElement("div",{className:"item-grid",key:t},e))))))}))),g&&x<N.length-1&&z.default.createElement("div",{className:`${p} arrow-right`,onClick:()=>A("forward"),"data-event-category":h,"data-event-action":v,"data-event-label":y}," ","Care"===k?z.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},z.default.createElement("g",{filter:"url(#filter0_dd_12597_34423)"},z.default.createElement("path",{d:"M7.00024 19C7.00024 10.1634 14.1637 3 23.0002 3C31.8368 3 39.0002 10.1634 39.0002 19C39.0002 27.8366 31.8368 35 23.0002 35C14.1637 35 7.00024 27.8366 7.00024 19Z",fill:"white"}),z.default.createElement("path",{d:"M24.0712 19L20.2502 15.179C19.8362 14.765 19.8362 14.093 20.2502 13.679C20.6642 13.265 21.3362 13.265 21.7502 13.679L26.3642 18.293C26.7552 18.684 26.7552 19.317 26.3642 19.707L21.7502 24.321C21.3362 24.735 20.6642 24.735 20.2502 24.321C19.8362 23.907 19.8362 23.235 20.2502 22.821L24.0712 19Z",fill:"#595959"}),z.default.createElement("path",{d:"M23.0002 34C14.716 34 8.00024 27.2843 8.00024 19H6.00024C6.00024 28.3888 13.6114 36 23.0002 36V34ZM38.0002 19C38.0002 27.2843 31.2845 34 23.0002 34V36C32.3891 36 40.0002 28.3888 40.0002 19H38.0002ZM23.0002 4C31.2845 4 38.0002 10.7157 38.0002 19H40.0002C40.0002 9.61116 32.3891 2 23.0002 2V4ZM23.0002 2C13.6114 2 6.00024 9.61116 6.00024 19H8.00024C8.00024 10.7157 14.716 4 23.0002 4V2Z",fill:"#DBDFE5"})),z.default.createElement("defs",null,z.default.createElement("filter",{id:"filter0_dd_12597_34423",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},z.default.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),z.default.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),z.default.createElement("feOffset",{dx:"-2",dy:"2"}),z.default.createElement("feGaussianBlur",{stdDeviation:"2.5"}),z.default.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.263201 0 0 0 0 0.335725 0 0 0 0 0.393257 0 0 0 0.123689 0"}),z.default.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12597_34423"}),z.default.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),z.default.createElement("feOffset",{dx:"-1",dy:"1"}),z.default.createElement("feGaussianBlur",{stdDeviation:"1"}),z.default.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.264489 0 0 0 0 0.275745 0 0 0 0 0.28861 0 0 0 0.01 0"}),z.default.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12597_34423",result:"effect2_dropShadow_12597_34423"}),z.default.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12597_34423",result:"shape"})))):z.default.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z.default.createElement("path",{d:"M15.9996 28.2218C22.7497 28.2218 28.2218 22.7497 28.2218 15.9996C28.2218 9.24942 22.7497 3.77734 15.9996 3.77734C9.24942 3.77734 3.77734 9.24942 3.77734 15.9996C3.77734 22.7497 9.24942 28.2218 15.9996 28.2218Z",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),z.default.createElement("path",{d:"M15.9998 20.8891L20.8887 16.0002L15.9998 11.1113",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),z.default.createElement("path",{d:"M11.1109 16L20.8887 16",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),l&&z.default.createElement("ul",{className:"bullet-nav"},N.map(((e,t)=>z.default.createElement("li",{key:t,className:"bullet-nav__item "},z.default.createElement("p",{onClick:()=>L(t),className:`bullet-nav__link scroll ${x==t?"active":null}`,"data-scheme":w}))))),n&&z.default.createElement("div",{className:"image-gallery-wrapper","data-test":N.length},N.slice(0,3).map(((e,t)=>z.default.createElement("div",{className:`image-block ${x==t?"active":null}`,key:t,onClick:()=>L(t),"data-scheme":w},e)))))},exports.SeoHead=({SEOData:t={},locale:a="vi-VN",routerPathname:l,routerQuery:n,nextHead:r,siteType:o,seoCustom:s,userId:d,forcedCanonicalUrl:c})=>{var m,f,p,h,v,y,E,b,C,w,k,S;const{totalPages:x,currentPage:T,SEOTitle:N="",SEODescription:B="",SEOImage:D,seoType:L,SEOImageWidth:A,SEOImageHeight:M,customMetaData:I=[],isIndexable:_=!0,hasNoCanonical:P=!1}=t,O=_&&g.isProduction?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",{NEXT_PUBLIC_BASE_API_URL:F}=process.env;let j=t.canonicalUrl||l;Object.keys(n).forEach((e=>{const t=n[e];t&&Array.isArray(t)&&(j=j.replace(`[...${e}]`,t.join("/")))}));const H=a||"en-PH",G="helloSites"===o?u.domainLocales[H]:"www.marrybaby.vn",$=j.endsWith("/")?"":"/",R=e.useMemo((()=>{var e,l,n,r,o,s,d;let c="";if(t.apiMetaData&&"string"==typeof t.apiMetaData){const u=null===(e=t.apiMetaData)||void 0===e?void 0:e.match(/<title.*?>(.*)<\/title>/),m=` - Page ${T} of ${x}`,g=T&&1!==T&&u?t.apiMetaData.replace(u[0],u[0].includes("-")?u[0].replace("-",m+" - "):`<title>${u[1].concat(m)}</title>`).replace(`<link rel="canonical" href="https://${G}${j}${$}" />`,`<link rel="canonical" href="https://${G}${j}${$}?page=${T}" />`):t.apiMetaData;if(c=i.htmlReactParser(g,{trim:!0}),!c.find((e=>{var t,a;return"og:image"===(null===(t=e.props)||void 0===t?void 0:t.property)||"og:image:secure_url"===(null===(a=e.props)||void 0===a?void 0:a.property)}))){const e=`https://${G}/images/${a}.png`;c=[...c,z.default.createElement("meta",{key:"og:image",property:"og:image",content:(null===(l=t.openGraph)||void 0===l?void 0:l.image)||D||e||""}),z.default.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(n=t.openGraph)||void 0===n?void 0:n.image)||D||e}),z.default.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(r=t.openGraph)||void 0===r?void 0:r.imageWidth)&&String(null===(o=t.openGraph)||void 0===o?void 0:o.imageWidth)||A&&String(A)||"1200"}),z.default.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(s=t.openGraph)||void 0===s?void 0:s.imageHeight)&&String(null===(d=t.openGraph)||void 0===d?void 0:d.imageHeight)||M&&String(M)||"630"})]}}return c}),[t.apiMetaData,t.openGraph,D,M,A,T,j,x,a,G]),W=`https://${G}/images/${a}.png`;return z.default.createElement(r,null,z.default.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===o&&z.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===a?z.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===a||"ms-MY"===a?z.default.createElement(z.default.Fragment,null):z.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),z.default.createElement("link",{rel:"preconnect",href:F}),z.default.createElement("meta",{charSet:"UTF-8"}),z.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),z.default.createElement("meta",{name:"google",content:"notranslate"}),z.default.createElement("meta",{name:"robots",content:O}),z.default.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),I.map(((e,t)=>z.default.createElement("meta",Object.assign({key:t},e)))),z.default.createElement("meta",{name:"theme-color",content:"helloSites"===o?"#2c87f3":"#e85388"}),z.default.createElement("meta",{name:"page_type",content:"Home"}),z.default.createElement("meta",{name:"page_platform",content:"WEB"}),z.default.createElement("meta",{name:"page_language",content:H}),z.default.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),!R&&z.default.createElement(z.default.Fragment,null,"helloSites"===o?z.default.createElement("title",null,s?N:N+" - "+(null===(m=u.LOCALE_SPECS[a])||void 0===m?void 0:m.SITE_NAME)):z.default.createElement("title",null,N),!P&&z.default.createElement("link",{rel:"canonical",href:`https://${G}${j}`}),z.default.createElement("meta",{name:"description",content:B||(null===(f=t.openGraph)||void 0===f?void 0:f.description)}),t.schemaData&&z.default.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:t.schemaData}}),z.default.createElement("meta",{property:"og:locale",content:a}),z.default.createElement("meta",{property:"og:type",content:L||"website"}),z.default.createElement("meta",{property:"og:title",content:(null===(p=t.openGraph)||void 0===p?void 0:p.title)||N}),z.default.createElement("meta",{property:"og:description",content:(null===(h=t.openGraph)||void 0===h?void 0:h.description)||B}),z.default.createElement("meta",{property:"og:url",content:`https://${G}${j}`}),z.default.createElement("meta",{property:"og:site_name",content:`https://${G}`}),z.default.createElement("meta",{property:"og:image",content:(null===(v=t.openGraph)||void 0===v?void 0:v.image)||D||W||""}),z.default.createElement("meta",{property:"og:image:secure_url",content:(null===(y=t.openGraph)||void 0===y?void 0:y.image)||D||W}),z.default.createElement("meta",{property:"og:image:width",content:(null===(E=t.openGraph)||void 0===E?void 0:E.imageWidth)&&String(null===(b=t.openGraph)||void 0===b?void 0:b.imageWidth)||A&&String(A)||"1200"}),z.default.createElement("meta",{property:"og:image:height",content:(null===(C=t.openGraph)||void 0===C?void 0:C.imageHeight)&&String(null===(w=t.openGraph)||void 0===w?void 0:w.imageHeight)||M&&String(M)||"630"}),z.default.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),z.default.createElement("meta",{name:"twitter:title",content:(null===(k=t.twitter)||void 0===k?void 0:k.title)||N}),z.default.createElement("meta",{name:"twitter:description",content:B}),z.default.createElement("meta",{name:"twitter:image",content:(null===(S=t.twitter)||void 0===S?void 0:S.image)||D})),("helloSites"===o?u.FAVICONS[H]||[]:u.FAVICONS.marryBaby).map(((e,t)=>"link"===e.type?z.default.createElement("link",{key:`favicon-${t}`,rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?z.default.createElement("meta",{key:t,name:e.name,content:e.content}):null)),Array.isArray(R)&&c?R.filter((e=>"canonical"!==e.props.name&&"canonical"!==e.props.rel)):R,c&&z.default.createElement("link",{rel:"canonical",href:c}),!t.hasNoAmp&&"vi-VN"!==a&&z.default.createElement("link",{rel:"amphtml",href:`https://${G}${j}${$}?amp=1`}),d&&"undefined"!=typeof window?z.default.createElement("script",{dangerouslySetInnerHTML:{__html:`window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '${d}'});`}}):null)},exports.ShareContainer=({url:a,onCopied:l,locale:n,siteType:r})=>{const{t:d}=h.useTranslations(),c=M.getSocialList(a||"").filter((e=>!e.allowedLocales||e.allowedLocales.includes(n))),u=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);return z.default.createElement(i.StyledShareContainer,null,z.default.createElement(t.Text,{size:"p3",color:o.theme.colors.gray800},d("shareContainer.title")),z.default.createElement("div",{className:"icon-group"},c.map(((e,t)=>z.default.createElement("a",{key:t,href:e.href,target:"_blank",rel:"noreferrer","data-event-category":"Health Tool","data-event-action":`Social Share - ${e.name}`,"data-event-label":u},e.icon))),z.default.createElement(A.Button,{theme:r,size:"sm",type:"button",color:"tertiary",className:"share",style:{},icon:z.default.createElement(Be,null),onClick:()=>s.__awaiter(void 0,void 0,void 0,(function*(){var e;yield null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(a),null==l||l()})),"data-event-category":"Health Tool","data-event-action":"Copy Link","data-event-label":u})))},exports.ShareDrawer=a=>{var{open:l,title:n,onClose:r,onCopied:d,onShared:c,url:u,locale:m}=a,g=s.__rest(a,["open","title","onClose","onCopied","onShared","url","locale"]);const{t:f}=h.useTranslations(),p=e.useCallback((()=>s.__awaiter(void 0,void 0,void 0,(function*(){var e;yield null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(u),null==d||d()}))),[u,d]),v=M.getSocialList(u||"").filter((e=>!e.allowedLocales||e.allowedLocales.includes(m)));return e.useEffect((()=>{l&&navigator.share&&navigator.share({title:null!=n?n:"Read This Post",url:u}).then((()=>{null==c||c()})).catch((()=>{null==r||r()}))}),[u,n,c,l]),"undefined"!=typeof navigator&&navigator.share?null:z.default.createElement(i.StyledShareDrawer,Object.assign({title:f("share.title"),onClose:r,open:l,placement:"bottom"},g),z.default.createElement("div",{className:"share-container"},z.default.createElement("div",{className:"icon-container"},z.default.createElement(t.Text,{type:"semiBold",size:"s3",color:o.theme.colors.gray600},f("share.title")),z.default.createElement("div",{className:"icon-group"},v.map(((e,t)=>z.default.createElement("a",{key:t,href:e.href,target:"_blank",rel:"noreferrer"},e.icon))))),z.default.createElement("div",{className:"link-container"},z.default.createElement(t.Text,{type:"semiBold",size:"s3",color:o.theme.colors.gray600},f("share.copyLink")),z.default.createElement("div",{className:"input-group"},z.default.createElement(y.Input,{name:"link",size:"md",value:u,isDisabled:!0}),z.default.createElement(A.Button,{size:"md",type:"button",color:"tertiary",icon:z.default.createElement(De,null),onClick:p})))))},exports.StatisticCard=({type:e,description:t,value:a,withIcon:l,isInACard:n,cardColor:r,className:o})=>z.default.createElement(i.StyledStatisticContainer,{className:o,"data-size":e,"data-is-in-card":"big"===e&&n,"data-card-color":r},z.default.createElement(i.StyledDescriptionWrapper,null,"small"===e&&z.default.createElement(i.StyledDot,{"data-color":r}),t),z.default.createElement(i.StyledStatisticNumberWrapper,{"data-size":e},"small"!==e&&l,a)),exports.SurveyThankyouCard=({thankyou:e,thankyouSubtitle:l,className:n,style:r})=>z.default.createElement(i.StyledSurveyQuestionCard,{className:n,style:r},z.default.createElement("div",{className:"survey-inner-wrapper"},z.default.createElement(i.StyledSurveyThankyouCard,null,z.default.createElement("div",{className:"survey-thankyou-wrapper-inner"},z.default.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},z.default.createElement("path",{d:"M61.5 122c33.137 0 60-26.863 60-60S94.637 2 61.5 2s-60 26.863-60 60 26.863 60 60 60Z",fill:o.theme.colors.primary50}),z.default.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),z.default.createElement("path",{d:"M82.905 72.666H101.5L87.597 40H35.403L21.5 72.666h18.595V91H83.08l-.174-18.334Z",fill:"#2C74DF"}),z.default.createElement("path",{d:"M74.4 15H39.863a5.364 5.364 0 0 0-5.363 5.363v52.214a5.364 5.364 0 0 0 5.363 5.363h43.273a5.364 5.364 0 0 0 5.363-5.363V21a6 6 0 0 0-6-6H74.4Z",fill:"#fff"}),z.default.createElement("path",{d:"M88.853 80.108H34.147a4.055 4.055 0 0 1-4.087-4.074v-10.65c0-2.27 1.81-4.074 4.087-4.074h54.706a4.055 4.055 0 0 1 4.087 4.074v10.65c0 2.27-1.81 4.074-4.087 4.074Z",fill:"#E4E8EC"}),z.default.createElement("path",{d:"M90.838 85.451H32.162a4.055 4.055 0 0 1-4.087-4.074v-10.65c0-2.27 1.81-4.074 4.087-4.074H90.78a4.055 4.055 0 0 1 4.087 4.074v10.65c.058 2.27-1.81 4.074-4.029 4.074Z",fill:"#fff"}),z.default.createElement("path",{d:"M103.748 75.492v30.263c0 1.92-1.576 3.492-3.503 3.492H23.003c-1.927 0-3.503-1.572-3.503-3.492V75.492c0-1.92 1.576-3.492 3.503-3.492h19.384c1.926 0 3.503 1.571 3.503 3.492v5.354c0 .35.233.582.584.582h30.3c.351 0 .585-.233.585-.582v-5.354c0-1.92 1.576-3.492 3.503-3.492h19.383c1.927 0 3.503 1.571 3.503 3.492Z",fill:"#45A4FF"}),z.default.createElement("path",{stroke:"#2C74DF",d:"M51.954 91.377v3.084c0 1.63 1.285 2.91 2.92 2.91h12.844c1.635 0 2.92-1.28 2.92-2.91v-3.084"}),z.default.createElement("path",{d:"M120.5 38.025c-2-.246-3.25 1.352-2.375 3.195l.25.737c.75 1.844-.375 3.441-2.375 3.195l-.75-.123c-2-.245-3.25 1.352-2.375 3.195l.375.738c.75 1.843-.375 3.44-2.375 3.195l-.75-.123c-1.5-.123-2.625.737-2.625 1.966",stroke:"#FE921D"}),z.default.createElement("path",{d:"M1.533 62c-.269 1.413 1.142 2.337 2.82 1.848l.672-.218c1.678-.543 3.089.38 2.82 1.848l-.134.544c-.269 1.413 1.141 2.337 2.82 1.848l.671-.218c1.68-.543 3.09.38 2.82 1.848l-.134.543c-.201 1.087.538 1.848 1.612 1.957M118 92a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM82 3.187l1.188 4.348 4.347-1.188L86.347 2 82 3.187Z",stroke:"#00B16A"}),z.default.createElement("path",{stroke:"#FE921D",d:"M17 28a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"}),z.default.createElement("path",{d:"M61.5 26.667c-7.364 0-13.333 5.97-13.333 13.333 0 7.364 5.969 13.333 13.333 13.333S74.833 47.364 74.833 40 68.864 26.667 61.5 26.667Zm7.61 10.276-9.334 9.333a1.33 1.33 0 0 1-1.885 0l-4-4a1.332 1.332 0 1 1 1.885-1.885l3.057 3.057 8.391-8.39a1.332 1.332 0 1 1 1.885 1.885Z",fill:"#00CB8A"})),e&&z.default.createElement(a.Heading,{className:"survey-thankyou-title",tag:"h3"},e),l&&z.default.createElement(t.Text,{className:"survey-thankyou-subtitle",size:"p3"},l))))),exports.THRCardEmbed=({isSide:t,locale:l,thrContent:n,isMobile:s,info:c,inputErrorMessage:m,onFormChange:g,onSubmit:f})=>{var p,v,y;const{t:b}=h.useTranslations(),{getHealthToolLink:C}=S.useHealthToolsCache(l),k=e.useMemo((()=>C(a.HEALTH_TOOL_TYPE.THR)),[C]),[T,N]=e.useState(!1),[B,D]=e.useState("low_intensity"),[L,A]=e.useState("male"),[M,I]=e.useState(60),[_,P]=e.useState({idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40}),O=[{idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40},{idAge:1,minAge:18,maxAge:25,rangeMale:49,rangeFemale:54},{idAge:2,minAge:25,maxAge:35,rangeMale:49,rangeFemale:54},{idAge:3,minAge:35,maxAge:45,rangeMale:50,rangeFemale:54},{idAge:4,minAge:45,maxAge:55,rangeMale:50,rangeFemale:54},{idAge:5,minAge:55,maxAge:65,rangeMale:51,rangeFemale:54},{idAge:6,minAge:65,maxAge:120,rangeMale:50,rangeFemale:54}],F=[{value:"low_intensity",label:b("targetHeartRate.lowIntensity.title"),image:r.CommonGAssets.getAssetPath("/low.svg"),imageActive:r.CommonGAssets.getAssetPath("/low-active.svg"),content:b("targetHeartRate.lowIntensity.note")},{value:"moderate_intensity",label:b("targetHeartRate.moderateIntensity.title"),image:r.CommonGAssets.getAssetPath("/moderate.svg"),imageActive:r.CommonGAssets.getAssetPath("/moderate-active.svg"),content:b("targetHeartRate.moderateIntensity.note")},{value:"aerobic_zone",label:b("targetHeartRate.aerobicZone.title"),image:r.CommonGAssets.getAssetPath("/aerobic.svg"),imageActive:r.CommonGAssets.getAssetPath("/aerobic-active.svg"),content:b("targetHeartRate.aerobicZone.note")},{value:"vigorous_intensity",label:b("targetHeartRate.vigorousIntensity.title"),image:r.CommonGAssets.getAssetPath("/vigorous.svg"),imageActive:r.CommonGAssets.getAssetPath("/vigorous-active.svg"),content:b("targetHeartRate.vigorousIntensity.note")},{value:"maximum_intensity",label:b("targetHeartRate.maximumIntensity.title"),image:r.CommonGAssets.getAssetPath("/maximum.svg"),imageActive:r.CommonGAssets.getAssetPath("/maximum-active.svg"),content:b("targetHeartRate.maximumIntensity.note")}];return e.useEffect((()=>{const e=((new Date).getTime()-new Date(null==c?void 0:c.age).getTime())/1e3;N(e>=567648e3);const t=O.find((t=>e>=365*t.minAge*24*60*60&&e<365*t.maxAge*24*60*60))||O[0];P(t),I(60)}),[null==c?void 0:c.age]),z.default.createElement(i.StyledContainer,{"data-is-side":t},z.default.createElement(i.ToolsBannerCard,{isSide:t,icon:z.default.createElement("img",{alt:"health-tool-icon",src:(null==n?void 0:n.featured_image)||r.CommonGAssets.getAssetPath("health-tools/target-heart-rate-icon.svg"),loading:"lazy"}),heading:b("targetHearRate.heading"),medicalReview:(null===(p=null==n?void 0:n.reviewedBy)||void 0===p?void 0:p.display_name)?{link:x.formatUserProfileUrl(null==n?void 0:n.reviewedBy),reviewer:null===(v=null==n?void 0:n.reviewedBy)||void 0===v?void 0:v.display_name,date:null==n?void 0:n.reviewedDate}:void 0,isMobile:s}),z.default.createElement(E.Container,null,z.default.createElement(i.StyledContent,{className:"heart-rate-cal",onSubmit:e=>e.preventDefault(),"data-is-side":t},z.default.createElement(i.StyledRow$1,{"data-is-side":t},z.default.createElement(i.FormControl$1,null,z.default.createElement(K,{label:b("bmi.selectGender"),defaultValue:"male",onChange:e=>{A(e),I(60)},styles:e=>({root:!t&&{[e.fn.largerThan("sm")]:{width:"calc((100% - 24px) * 2/3 + 12px)"}},wrapper:{[e.fn.largerThan("sm")]:{gap:d.rem(12)}}})}))),z.default.createElement(i.StyledRow$1,null,z.default.createElement(ye,{info:c,locale:l,errorMessage:m,onChange:g})),z.default.createElement("div",{className:"slider-heart-rate"},z.default.createElement(a.Text,{size:"s4",weight:"semiBold",color:o.theme.colors.gray600},b("targetHeartRate.heartRateInput")),z.default.createElement("div",{className:"slider-outer-wrapper"},z.default.createElement(w.Slider,{containerStyle:{flex:1},min:"male"===L?_.rangeMale:_.rangeFemale,max:200,step:1,value:M,withControl:!0,onChange:I}))),T&&z.default.createElement(i.FormControl$1,null,z.default.createElement(i.StyledActive,null,z.default.createElement(a.Text,{size:"s4",style:{display:"inline-block",fontWeight:"bold",color:o.theme.colors.gray600,marginBottom:"9px"}},b("targetHeartRate.selectActive")),z.default.createElement("div",{className:"card"},z.default.createElement(ve,{options:F.map((e=>({value:e.value,label:e.label,image:e.image,imageActive:e.imageActive}))),value:B,onChange:e=>{D(e)},className:"gender-selector"})),B&&z.default.createElement("div",{className:"note"},z.default.createElement("img",{style:{height:"16px",width:"16px"},src:r.CommonGAssets.getAssetPath("/infoIcon.svg"),alt:"",loading:"lazy"}),z.default.createElement(a.Text,{size:"s4",color:"#595959"},null===(y=F[F.findIndex((e=>e.value==B))||0])||void 0===y?void 0:y.content)),!B&&z.default.createElement("span",{style:{color:"#e64728"}},m.intensity)))),z.default.createElement("div",{style:{display:"flex"}},z.default.createElement(i.StyledButton$1,{size:"lg",onClick:()=>{f(L,B,[M])},dataEventCategory:"Health Tool",dataEventAction:"THR",dataEventLabel:`https://${u.domainLocales[l]}/${k}`},b("bmi.submit")))))},exports.Tabs=({style:t,initialTab:l,tabContent:n,onChange:r,className:o,dataEventCategory:s,dataEventAction:d,dataEventLabel:c,id:u,styles:m})=>{const{classes:g,cx:f,theme:p}=i.useStyles$1(void 0,{name:"Tabs",styles:m}),[h,v]=e.useState(l||0);return e.useEffect((()=>{v(l)}),[l]),z.default.createElement("ul",{style:t,className:f(g.root,o),role:"tablist",id:u},n.map(((e,t)=>z.default.createElement("li",{className:`${g.item} ${h===t?"active":""}`,"aria-selected":h===t,role:"tab",onClick:()=>{v(t),r&&r(t)},onKeyDown:e=>{"Enter"===e.key&&(v(t),r&&r(t))},key:t,"data-event-category":e.dataEventCategory||s,"data-event-action":e.dataEventAction||d,"data-event-label":e.dataEventLabel||c,tabIndex:0,"data-testid":e.dataTestid},z.default.createElement("div",{className:g.itemInner},e.icon&&z.default.createElement("div",{className:g.icon},e.icon),z.default.createElement(a.Text,{className:g.label,size:e.textSize||"sm",weight:e.textType||"bold",color:h===t?p.fn.primaryColor():e.textColor||p.colors.gray[4],dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel},e.name))))))},exports.Tag=({type:e,children:l,style:n,isInline:r,isSquared:o=!1,className:i,isLight:s,hasMorePadding:d,isLink:c,isSelected:u,textProps:m={size:"sm"}})=>{const g=m.color?{"--text-props-color":m.color}:{};return z.default.createElement(a.StyledTag,{"data-is-squared":o||void 0,"data-tag-type":e,"data-is-light":s||void 0,"data-has-more-padding":d||void 0,"data-is-inline":r||void 0,style:Object.assign(Object.assign({},n),g),className:i,"data-is-selected":u||void 0,"data-is-link":c||void 0,tagType:e,isInline:r,tagHasMorePadding:d,tagIsLight:s,tagIsSquared:o,tagIsALink:c},z.default.createElement(t.Text,Object.assign({},m),l))},exports.Toggle=({className:e,id:t,onChange:l,checked:n,style:r,label:o})=>z.default.createElement(a.StyledToggle,{className:e,style:r},z.default.createElement("input",{type:"checkbox",id:t,onChange:l,checked:n}),z.default.createElement("label",{htmlFor:t},z.default.createElement(a.StyledToggleIcon,null),o&&z.default.createElement(a.StyledToggleLabel,null,o))),exports.index=se,exports.index$1=ce;
package/build/footer.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-4f70f571.js"),a=require("./index-2bb0e0c9.js"),l=require("dayjs"),n=require("./index-36c9f0d1.js"),r=require("./theme-c5ccafe7.js"),i=require("./index.styles-3a22482d.js"),o=require("@mantine/core");require("@mantine/dates"),require("./Onboarding-bd1701e2.js"),require("./gAssets.js"),require("./screenSizeContext-dca63fab.js"),require("styled-components"),require("./isProduction-911a33de.js");var d=require("./useTranslations-23124ee9.js");require("./index-74437525.js"),require("@mantine/hooks");var c=require("./index-c133ec54.js"),s=require("./index-e4a7ec87.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./translationsContext-125f6a93.js"),require("string-format"),require("./tslib.es6-b485694c.js"),require("./useUniqueId-8ea6c9e7.js"),require("date-fns/locale"),require("./index-4e5f40e8.js"),require("react-keyed-flatten-children"),require("@mantine/carousel"),require("lodash/debounce"),require("./useCategory-42261fa9.js"),require("./cookieHelper-43c69161.js"),require("slugify"),require("lodash/throttle");var m=u(e),v=u(l),f="Lj0qoTD",E="OO-qFWT";const g=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>m.default.createElement("div",{className:E,"data-is-mobile":t},m.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),y=({className:e,type:l="main",footerInfo:o,isMobile:c,locale:s})=>{var u,E,y,p,b,h,N,x,k,T,q,F,z,$,j,L,C,M,_,S,H,w,I,A,B,G,D,O;const{t:U}=d.useTranslations(),J=null==o?void 0:o.menu,K=(null===(E=null===(u=null==o?void 0:o.general)||void 0===u?void 0:u.verified)||void 0===E?void 0:E.filter(Boolean))||[];return m.default.createElement("footer",{className:`${f} ${e||""}`,style:"mini"===l?{backgroundColor:r.theme.colors.neutral50}:{}},m.default.createElement(a.Container,null,m.default.createElement("div",{className:"inner","data-type":l},"main"===l?m.default.createElement(m.default.Fragment,null,m.default.createElement("a",{href:"/"},m.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==o?void 0:o.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===s})),m.default.createElement("div",{className:"columns"},m.default.createElement("div",{className:"newsletter"},m.default.createElement(i.Text,{size:"p1",weight:"bold"},null===(p=null==o?void 0:o.general)||void 0===p?void 0:p.content),m.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},U("footer.signUp")),m.default.createElement("div",{className:"social"},m.default.createElement(i.Text,{size:"sm"},null===(b=null==o?void 0:o.social)||void 0===b?void 0:b.title),m.default.createElement("div",{className:"icons"},null===(N=null===(h=null==o?void 0:o.social)||void 0===h?void 0:h.socials)||void 0===N?void 0:N.map(((e,t)=>m.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},m.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),m.default.createElement("hr",{className:"hrMobile"}))),m.default.createElement("div",null,J&&m.default.createElement(m.default.Fragment,null,m.default.createElement("div",{className:"biglinks"},null===(k=null===(x=J[0])||void 0===x?void 0:x.items)||void 0===k?void 0:k.map(((e,t)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"mHalf"},m.default.createElement(i.Text,{size:"sm",className:"linkTitle"},null===(T=J[1])||void 0===T?void 0:T.menu_title),null===(F=null===(q=J[1])||void 0===q?void 0:q.items)||void 0===F?void 0:F.map(((e,t)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`,className:"link",href:e.url,key:t},m.default.createElement(i.Text,{size:"sm",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[s]}${e.url}`},e.title))))),m.default.createElement("div",{className:"mHalf"},m.default.createElement(i.Text,{size:"sm",className:"linkTitle"},null===(z=J[2])||void 0===z?void 0:z.menu_title),null===(j=null===($=J[2])||void 0===$?void 0:$.items)||void 0===j?void 0:j.map(((e,t)=>e.url&&m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},m.default.createElement(i.Text,{size:"sm",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"otherSites"},m.default.createElement(i.Text,{size:"sm",className:"linkTitle"},null===(L=null==o?void 0:o.branch)||void 0===L?void 0:L.title),m.default.createElement("div",{className:"flags"},null===(M=null===(C=null==o?void 0:o.branch)||void 0===C?void 0:C.branch)||void 0===M?void 0:M.map(((e,t)=>m.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},m.default.createElement(g,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),m.default.createElement("hr",null),m.default.createElement("div",{className:"copyright"},m.default.createElement("div",{className:"copyright-image-wrapper"},K.length?K.map(((e,t)=>m.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},m.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),m.default.createElement(i.Text,{size:"xs",className:"copyright-content",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null===(_=null==o?void 0:o.general)||void 0===_?void 0:_.copyright.replace(/{currentYear}/gi,v.default().get("year").toString())}})))):m.default.createElement(m.default.Fragment,null,(null==o?void 0:o.menu)&&m.default.createElement("div",{className:"columns"},m.default.createElement("div",{className:"mHalf"},m.default.createElement(i.Text,{size:"sm",className:"linkTitle"},null===(S=null==o?void 0:o.menu[1])||void 0===S?void 0:S.menu_title),null===(w=null===(H=null==o?void 0:o.menu[1])||void 0===H?void 0:H.items)||void 0===w?void 0:w.map((e=>m.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${n.domainLocales[s]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`},m.default.createElement(i.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[s]}${e.url}`,size:"sm",style:{color:r.theme.colors.gray800}},e.title))))),m.default.createElement("div",{className:"mHalf"},m.default.createElement(i.Text,{size:"sm",className:"linkTitle"},null===(I=null==o?void 0:o.menu[2])||void 0===I?void 0:I.menu_title),null===(B=null===(A=null==o?void 0:o.menu[2])||void 0===A?void 0:A.items)||void 0===B?void 0:B.map(((e,t)=>m.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},m.default.createElement(i.Text,{size:"sm",color:r.theme.colors.gray800,dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==l&&m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"newsletter"},m.default.createElement("div",{className:"social"},m.default.createElement(i.Text,{size:"sm"},null===(G=null==o?void 0:o.social)||void 0===G?void 0:G.title),m.default.createElement("div",{className:"icons"},null===(O=null===(D=null==o?void 0:o.social)||void 0===D?void 0:D.socials)||void 0===O?void 0:O.map(((e,t)=>m.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},m.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var p="B6-KmWK",b="GS-7mbG",h="qc5bEb3",N="CQGVeuT",x="_8eUT8Jr",k="_6JMoel-",T="pFG7UH3";const q=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:d,menu:u,socials:f}=t;return m.default.createElement("footer",{className:p,style:{backgroundColor:l||"none"}},m.default.createElement(a.Container,null,m.default.createElement("div",{className:b},null==u?void 0:u.map((({menu_title:e,items:t},a)=>m.default.createElement("div",{className:h,key:`mbf${a}`},m.default.createElement(s.MarryBabyText,{className:"title",type:"subtitle-1",color:r.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},m.default.createElement("div",{className:N,key:`mbitem${a}`},m.default.createElement(s.MarryBabyText,{type:"bodytext-2",color:r.theme.mbColors.gray},e)))))))))),m.default.createElement(a.Container,null,m.default.createElement("div",{className:k},m.default.createElement(o.Flex,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},m.default.createElement(o.Stack,{spacing:"24px",className:"info-item"},m.default.createElement(c.Logo,{className:"logo",type:e}),m.default.createElement(i.Text,{size:"p4",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.content}})),m.default.createElement("div",{className:T},null==f?void 0:f.map((({icon:e,name:t,url:a},l)=>m.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},m.default.createElement("img",{className:"social-logo",loading:"lazy",src:e,alt:t})))))),m.default.createElement(o.Box,{className:"info-item",sx:{paddingTop:"7px"}},m.default.createElement(i.Text,{size:"p4",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.information}})))))),m.default.createElement("div",{className:x},m.default.createElement(a.Container,null,m.default.createElement("div",{className:"content"},m.default.createElement(i.Text,{size:"p5",color:"#fff",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.copyright.replace(/{currentYear}/gi,v.default().get("year").toString())}})),m.default.createElement("div",{className:"verify"},null===(n=null==d?void 0:d.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>m.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t}))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:r})=>"helloSites"===n?m.default.createElement(y,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):m.default.createElement(q,{footerMenu:l,background:r});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-e062aec1.js"),a=require("./index-7462232a.js"),l=require("dayjs"),n=require("./index-a39b5b8a.js"),r=require("./theme-6dc2706a.js"),i=require("./index.styles-f9cad0ed.js"),o=require("@mantine/core");require("@mantine/dates"),require("./Onboarding-09a0b8b8.js"),require("./gAssets.js"),require("./screenSizeContext-dc4a704c.js"),require("styled-components"),require("./isProduction-847c662c.js");var d=require("./useTranslations-ec44216d.js");require("./index-b9c7f584.js"),require("@mantine/hooks");var c=require("./index-07e01103.js"),s=require("./index-8fd2a2ec.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./translationsContext-06042b8f.js"),require("string-format"),require("./tslib.es6-aff53c48.js"),require("./useUniqueId-8a0a6118.js"),require("date-fns/locale"),require("./index-753cbbd7.js"),require("react-keyed-flatten-children"),require("@mantine/carousel"),require("lodash/debounce"),require("./useCategory-e50d02d4.js"),require("./cookieHelper-f7f170bd.js"),require("slugify"),require("lodash/throttle");var m=u(e),v=u(l),f="Lj0qoTD",E="OO-qFWT";const g=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>m.default.createElement("div",{className:E,"data-is-mobile":t},m.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),y=({className:e,type:l="main",footerInfo:o,isMobile:c,locale:s})=>{var u,E,y,b,p,h,N,x,k,T,q,F,z,$,j,L,C,M,_,S,H,w,I,A,B,G,D,O;const{t:U}=d.useTranslations(),J=null==o?void 0:o.menu,K=(null===(E=null===(u=null==o?void 0:o.general)||void 0===u?void 0:u.verified)||void 0===E?void 0:E.filter(Boolean))||[];return m.default.createElement("footer",{className:`${f} ${e||""}`,style:"mini"===l?{backgroundColor:r.theme.colors.neutral50}:{}},m.default.createElement(a.Container,null,m.default.createElement("div",{className:"inner","data-type":l},"main"===l?m.default.createElement(m.default.Fragment,null,m.default.createElement("a",{href:"/"},m.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==o?void 0:o.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===s})),m.default.createElement("div",{className:"columns"},m.default.createElement("div",{className:"newsletter"},m.default.createElement(i.Text,{size:"p1",weight:"bold"},null===(b=null==o?void 0:o.general)||void 0===b?void 0:b.content),m.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},U("footer.signUp")),m.default.createElement("div",{className:"social"},m.default.createElement(i.Text,{size:"sm"},null===(p=null==o?void 0:o.social)||void 0===p?void 0:p.title),m.default.createElement("div",{className:"icons"},null===(N=null===(h=null==o?void 0:o.social)||void 0===h?void 0:h.socials)||void 0===N?void 0:N.map(((e,t)=>m.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},m.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),m.default.createElement("hr",{className:"hrMobile"}))),m.default.createElement("div",null,J&&m.default.createElement(m.default.Fragment,null,m.default.createElement("div",{className:"biglinks"},null===(k=null===(x=J[0])||void 0===x?void 0:x.items)||void 0===k?void 0:k.map(((e,t)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"mHalf"},m.default.createElement(i.Text,{size:"sm",className:"linkTitle"},null===(T=J[1])||void 0===T?void 0:T.menu_title),null===(F=null===(q=J[1])||void 0===q?void 0:q.items)||void 0===F?void 0:F.map(((e,t)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`,className:"link",href:e.url,key:t},m.default.createElement(i.Text,{size:"sm",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[s]}${e.url}`},e.title))))),m.default.createElement("div",{className:"mHalf"},m.default.createElement(i.Text,{size:"sm",className:"linkTitle"},null===(z=J[2])||void 0===z?void 0:z.menu_title),null===(j=null===($=J[2])||void 0===$?void 0:$.items)||void 0===j?void 0:j.map(((e,t)=>e.url&&m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},m.default.createElement(i.Text,{size:"sm",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"otherSites"},m.default.createElement(i.Text,{size:"sm",className:"linkTitle"},null===(L=null==o?void 0:o.branch)||void 0===L?void 0:L.title),m.default.createElement("div",{className:"flags"},null===(M=null===(C=null==o?void 0:o.branch)||void 0===C?void 0:C.branch)||void 0===M?void 0:M.map(((e,t)=>m.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},m.default.createElement(g,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),m.default.createElement("hr",null),m.default.createElement("div",{className:"copyright"},m.default.createElement("div",{className:"copyright-image-wrapper"},K.length?K.map(((e,t)=>m.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},m.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),m.default.createElement(i.Text,{size:"xs",className:"copyright-content",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null===(_=null==o?void 0:o.general)||void 0===_?void 0:_.copyright.replace(/{currentYear}/gi,v.default().get("year").toString())}})))):m.default.createElement(m.default.Fragment,null,(null==o?void 0:o.menu)&&m.default.createElement("div",{className:"columns"},m.default.createElement("div",{className:"mHalf"},m.default.createElement(i.Text,{size:"sm",className:"linkTitle"},null===(S=null==o?void 0:o.menu[1])||void 0===S?void 0:S.menu_title),null===(w=null===(H=null==o?void 0:o.menu[1])||void 0===H?void 0:H.items)||void 0===w?void 0:w.map((e=>m.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${n.domainLocales[s]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`},m.default.createElement(i.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[s]}${e.url}`,size:"sm",style:{color:r.theme.colors.gray800}},e.title))))),m.default.createElement("div",{className:"mHalf"},m.default.createElement(i.Text,{size:"sm",className:"linkTitle"},null===(I=null==o?void 0:o.menu[2])||void 0===I?void 0:I.menu_title),null===(B=null===(A=null==o?void 0:o.menu[2])||void 0===A?void 0:A.items)||void 0===B?void 0:B.map(((e,t)=>m.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},m.default.createElement(i.Text,{size:"sm",color:r.theme.colors.gray800,dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==l&&m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"newsletter"},m.default.createElement("div",{className:"social"},m.default.createElement(i.Text,{size:"sm"},null===(G=null==o?void 0:o.social)||void 0===G?void 0:G.title),m.default.createElement("div",{className:"icons"},null===(O=null===(D=null==o?void 0:o.social)||void 0===D?void 0:D.socials)||void 0===O?void 0:O.map(((e,t)=>m.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},m.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var b="B6-KmWK",p="GS-7mbG",h="qc5bEb3",N="CQGVeuT",x="_8eUT8Jr",k="_6JMoel-",T="pFG7UH3";const q=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:d,menu:u,socials:f}=t;return m.default.createElement("footer",{className:b,style:{backgroundColor:l||"none"}},m.default.createElement(a.Container,null,m.default.createElement("div",{className:p},null==u?void 0:u.map((({menu_title:e,items:t},a)=>m.default.createElement("div",{className:h,key:`mbf${a}`},m.default.createElement(s.MarryBabyText,{className:"title",type:"subtitle-1",color:r.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},m.default.createElement("div",{className:N,key:`mbitem${a}`},m.default.createElement(s.MarryBabyText,{type:"bodytext-2",color:r.theme.mbColors.gray},e)))))))))),m.default.createElement(a.Container,null,m.default.createElement("div",{className:k},m.default.createElement(o.Flex,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},m.default.createElement(o.Stack,{spacing:"24px",className:"info-item"},m.default.createElement(c.Logo,{className:"logo",type:e}),m.default.createElement(i.Text,{size:"p4",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.content}})),m.default.createElement("div",{className:T},null==f?void 0:f.map((({icon:e,name:t,url:a},l)=>m.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},m.default.createElement("img",{className:"social-logo",loading:"lazy",src:e,alt:t})))))),m.default.createElement(o.Box,{className:"info-item",sx:{paddingTop:"7px"}},m.default.createElement(i.Text,{size:"p4",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.information}})))))),m.default.createElement("div",{className:x},m.default.createElement(a.Container,null,m.default.createElement("div",{className:"content"},m.default.createElement(i.Text,{size:"p5",color:"#fff",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.copyright.replace(/{currentYear}/gi,v.default().get("year").toString())}})),m.default.createElement("div",{className:"verify"},null===(n=null==d?void 0:d.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>m.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t}))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:r})=>"helloSites"===n?m.default.createElement(y,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):m.default.createElement(q,{footerMenu:l,background:r});
package/build/gAssets.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-36c9f0d1.js"),s=require("./isProduction-911a33de.js");require("date-fns/locale"),require("./Onboarding-bd1701e2.js");const o="hellosehat.com";class t{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,o,t)=>{const i="https://hhg-common."+[o||this.getBaseDomain(),t||this.subPath,e].join("/");return s.isProduction||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:s}=window.location,t=s.split("."),i=e.domainLocales[Object.keys(e.domainLocales).find((o=>s.includes(e.domainLocales[o])))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every((e=>{return s=e,!isNaN(parseFloat(s))&&isFinite(s);var s}))||!i?o:i}return o}}const i=new t;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=i,exports.GAssets=t;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-a39b5b8a.js"),s=require("./isProduction-847c662c.js");require("date-fns/locale"),require("./Onboarding-09a0b8b8.js");const o="hellosehat.com";class t{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,o,t)=>{const i="https://hhg-common."+[o||this.getBaseDomain(),t||this.subPath,e].join("/");return s.isProduction||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:s}=window.location,t=s.split("."),i=e.domainLocales[Object.keys(e.domainLocales).find((o=>s.includes(e.domainLocales[o])))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every((e=>{return s=e,!isNaN(parseFloat(s))&&isFinite(s);var s}))||!i?o:i}return o}}const i=new t;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=i,exports.GAssets=t;
@@ -0,0 +1 @@
1
+ "use strict";var t=require("./tslib.es6-aff53c48.js"),i=require("./core-c7a75018.js"),e=require("./normalizeLink-daac000f.js");const l=(t,i)=>{var e,l;if(!t)return{};const o="tl-PH"===i?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(e=t.link)||void 0===e?void 0:e.startsWith("http"))?t.link:`${o}/health-tools`+(null===(l=t.link)||void 0===l?void 0:l.replace(`${o}/`,"/")),subtitle:t.subtitle,title:t.title}},o=i=>t.__awaiter(void 0,void 0,void 0,(function*(){var t,o;try{const a="tl-PH"===i?"lang=fil":"";let n=[];try{const r=yield fetch(e.normalizeLinkSlash(`${e.getDiscoverApiDomain(i)}/wp-json/api/healthtools?ismenu=0${a?"&"+a:""}`)).then((t=>t.json()));n=(null===(o=null===(t=null==r?void 0:r.data)||void 0===t?void 0:t.map)||void 0===o?void 0:o.call(t,(t=>l(t,i))))||[]}catch(t){}return n}catch(t){console.error(t)}}));exports.formatHealthTool=l,exports.getDynamicHealthTool=o,exports.getDynamicHealthToolWithCache=e=>t.__awaiter(void 0,void 0,void 0,(function*(){return(yield i.getDataWithCache("all-health-tools",(()=>o(e||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./Onboarding-bd1701e2.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32},loading:"lazy"}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
1
+ "use strict";var e=require("react"),t=require("./Onboarding-09a0b8b8.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32},loading:"lazy"}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
package/build/hooks.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-23124ee9.js"),s=require("./useScrollbarSize-ff1dd2fd.js"),r=require("./useRafState-42bef5db.js"),i=require("./useHealthToolCache-5c729cfa.js"),u=require("./useIsInit-3a88f63a.js"),t=require("./useOutsideClick-e8092367.js"),a=require("./useUniqueId-8ea6c9e7.js"),o=require("./useCategory-42261fa9.js");require("react"),require("./translationsContext-125f6a93.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-b485694c.js"),require("./cookieHelper-43c69161.js"),require("./getDynamicHealthTool-586c30e6.js"),require("./core-6777448c.js"),require("./isProduction-911a33de.js"),require("./normalizeLink-67428231.js"),require("./routing-e3573c96.js"),require("./index-36c9f0d1.js"),require("date-fns/locale"),require("./Onboarding-bd1701e2.js"),exports.useTranslations=e.useTranslations,exports.MEASURE_ELEMENT_CLASS=s.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=s.useScrollbarSize,exports.useFbDataLayer=r.useFbDataLayer,exports.usePrevious=r.usePrevious,exports.useRafState=r.useRafState,exports.useHealthToolsCache=i.useHealthToolsCache,exports.useIsInit=u.useIsInit,exports.initSharedOutSideClickListener=t.initSharedOutSideClickListener,exports.useOutsideClick=t.useOutsideClick,exports.useSharedOutsideClick=t.useSharedOutsideClick,exports.useInitialMount=a.useInitialMount,exports.useUniqueId=a.useUniqueId,exports.MAPPED_CATEGORY_SLUGS=o.MAPPED_CATEGORY_SLUGS,exports.PREGNANCY_SLUG=o.PREGNANCY_SLUG,exports.useCategory=o.useCategory;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-ec44216d.js"),s=require("./useScrollbarSize-8e27d707.js"),r=require("./useRafState-86f9a0f3.js"),i=require("./useHealthToolCache-77cd8a15.js"),u=require("./useIsInit-c6da49b9.js"),t=require("./useOutsideClick-725582fb.js"),a=require("./useUniqueId-8a0a6118.js"),o=require("./useCategory-e50d02d4.js");require("react"),require("./translationsContext-06042b8f.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-aff53c48.js"),require("./cookieHelper-f7f170bd.js"),require("./getDynamicHealthTool-f4f91c99.js"),require("./core-c7a75018.js"),require("./isProduction-847c662c.js"),require("./normalizeLink-daac000f.js"),require("./index-a39b5b8a.js"),require("date-fns/locale"),require("./Onboarding-09a0b8b8.js"),exports.useTranslations=e.useTranslations,exports.MEASURE_ELEMENT_CLASS=s.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=s.useScrollbarSize,exports.useFbDataLayer=r.useFbDataLayer,exports.usePrevious=r.usePrevious,exports.useRafState=r.useRafState,exports.useHealthToolsCache=i.useHealthToolsCache,exports.useIsInit=u.useIsInit,exports.initSharedOutSideClickListener=t.initSharedOutSideClickListener,exports.useOutsideClick=t.useOutsideClick,exports.useSharedOutsideClick=t.useSharedOutsideClick,exports.useInitialMount=a.useInitialMount,exports.useUniqueId=a.useUniqueId,exports.MAPPED_CATEGORY_SLUGS=o.MAPPED_CATEGORY_SLUGS,exports.PREGNANCY_SLUG=o.PREGNANCY_SLUG,exports.useCategory=o.useCategory;
@@ -1 +1 @@
1
- export type TranslationKeys = 'actionPopover.delete' | 'actionPopover.deleteNotification' | 'actionPopover.edit' | 'actionPopover.inviteShareCommunity' | 'actionPopover.joinCommunity' | 'actionPopover.leaveCommunit' | 'actionPopover.leaveCommunity' | 'actionPopover.leaveCommunity.accept' | 'actionPopover.leaveCommunity.cancel' | 'actionPopover.leaveCommunity.description' | 'actionPopover.leaveCommunity.title' | 'actionPopover.report' | 'actionPopover.turnOffNotification' | 'actionPopover.turnOffNotificationAbout' | 'actionPopover.turnOnNotification' | 'adBanner.title' | 'admin.comments' | 'admin.communities' | 'admin.community' | 'article.shareOn' | 'articleAuthor.title.expert' | 'articleAuthor.title.fact-check' | 'articleAuthor.title.medical' | 'articleAuthor.title.written-by' | 'articlePage.articleReviewerBy' | 'articlePage.readMore' | 'articlePage.showLess' | 'babyGrowth.alert.bmi' | 'babyGrowth.alert.head' | 'babyGrowth.alert.weight' | 'babyGrowth.chartTitle' | 'babyGrowth.chartTitle.noName' | 'babyGrowth.cm' | 'babyGrowth.drawer.addMeasurement' | 'babyGrowth.drawer.createBaby' | 'babyGrowth.drawer.switchProfile' | 'babyGrowth.emptyName' | 'babyGrowth.error.atLeastOneOf' | 'babyGrowth.error.birthdayRequired' | 'babyGrowth.error.invalidAge' | 'babyGrowth.error.invalidMeasurementDate' | 'babyGrowth.error.invalidValue' | 'babyGrowth.error.measurementDateLowerThanBirthday' | 'babyGrowth.error.outOfRange' | 'babyGrowth.error.title' | 'babyGrowth.head' | 'babyGrowth.headCircumference' | 'babyGrowth.height' | 'babyGrowth.input.babyName' | 'babyGrowth.input.birthday' | 'babyGrowth.input.bmi' | 'babyGrowth.input.bodyMass' | 'babyGrowth.input.checkSubmit' | 'babyGrowth.input.measurementDate' | 'babyGrowth.input.submit' | 'babyGrowth.kg' | 'babyGrowth.kg.m2' | 'babyGrowth.monthly' | 'babyGrowth.nickname' | 'babyGrowth.optional' | 'babyGrowth.pageTitle' | 'babyGrowth.percentiles' | 'babyGrowth.placeholder.babyName' | 'babyGrowth.popup.heading' | 'babyGrowth.reCalculate' | 'babyGrowth.record' | 'babyGrowth.save' | 'babyGrowth.save.loggedIn' | 'babyGrowth.weekly' | 'babyGrowth.weight' | 'babyGrowth.xLabel' | 'babyGrowth.yearly' | 'babyPoop.findOut' | 'babyPoopTool.name' | 'babyVaccine.banner.readmore' | 'babyVaccine.immunization.vaccineName' | 'babyVaccine.immunization.warning' | 'babyVaccine.popup.button' | 'babyVaccine.popup.button.submit' | 'babyVaccine.popup.checkbox.suggestedDate' | 'babyVaccine.popup.confirm.close' | 'babyVaccine.popup.confirm.description' | 'babyVaccine.popup.confirm.ok' | 'babyVaccine.popup.confirm.title' | 'babyVaccine.popup.input.suggestedDate' | 'babyVaccine.popup.label.doses' | 'babyVaccine.popup.tab.benefits' | 'babyVaccine.popup.tab.contraindication' | 'babyVaccine.popup.tab.detail' | 'babyVaccine.popup.tab.schedule' | 'babyVaccine.popup.title' | 'babyVaccine.status.all' | 'babyVaccine.status.missed' | 'babyVaccine.status.next' | 'babyVaccine.status.upcoming' | 'babyVaccine.status.vaccinated' | 'babyVaccine.timeline.antigen' | 'babyVaccine.timeline.atBirth' | 'babyVaccine.timeline.total' | 'babyVaccine.timeline.totalNext' | 'babyVaccine.timeline.totalPast' | 'babyVaccine.vaccineCard.injected' | 'babyVaccine.vaccineCard.markAsInjected' | 'babyVaccine.vaccineInfo.dose' | 'babyVaccine.vaccineInfo.injectedDate' | 'babyVaccine.vaccineInfo.mandatory' | 'babyVaccine.vaccineInfo.optional' | 'babyVaccine.vaccineInfo.suggested' | 'babyVaccineTool.selectGender' | 'bmi.ageInput' | 'bmi.ageInput.desc' | 'bmi.ageInput.error' | 'bmi.heading' | 'bmi.heightInput' | 'bmi.heightInput.desc' | 'bmi.heightInput.error' | 'bmi.objective' | 'bmi.objective.gainWeight' | 'bmi.objective.loseWeight' | 'bmi.objective.maintainWeight' | 'bmi.result.healthy' | 'bmi.result.overweight' | 'bmi.result.underweight' | 'bmi.selectGender' | 'bmi.submit' | 'bmi.weightInput' | 'bmi.weightInput.desc' | 'bmi.weightInput.error' | 'bmr.heading' | 'booking.searchBar.allLocations' | 'booking.searchBar.allSpecialties' | 'booking.searchBar.currentLocation' | 'booking.searchBar.grantLocation' | 'booking.searchBar.locationPlaceholder' | 'booking.searchBar.noResults' | 'booking.searchBar.placeholder.doctor' | 'booking.searchBar.placeholder.hospital' | 'booking.searchBar.placeholder.service' | 'booking.searchBar.placeholder.specialty' | 'booking.searchBar.popularKey' | 'booking.searchBar.searchButton' | 'booking.searchBar.searchInput.placeholder' | 'booking.searchBar.useCurrentLocation' | 'booking.searchBar.viewAll' | 'booking.searchPopup.doctors' | 'booking.searchPopup.hospitals' | 'booking.searchPopup.searchIn.doctors' | 'booking.searchPopup.searchIn.hospitals' | 'booking.searchPopup.searchIn.services' | 'booking.searchPopup.searchIn.specialties' | 'booking.searchPopup.seeAll' | 'booking.searchPopup.seeLessSpecialties' | 'booking.searchPopup.seeMoreSpecialties' | 'booking.searchPopup.services' | 'booking.searchPopup.specialties' | 'booking.searchResult.description' | 'bottomBar.share' | 'cardAuthor.admin' | 'cardAuthor.ambassador' | 'cardAuthor.expert' | 'cardAuthor.guide' | 'cardAuthor.influencer' | 'cardAuthor.localAdmin' | 'cardAuthor.moderator' | 'cardAuthor.sponsor' | 'cardPost.anonymous' | 'cardReactions.comment' | 'cardReactions.repliesCount' | 'cardReactions.reply' | 'cardReply.disclaimer' | 'cardReply.endorse' | 'cardReply.opposePopup.content' | 'cardReply.opposePopup.submit' | 'cardReply.pppose' | 'cardReply.recommentCategories.heading' | 'cardReply.source' | 'cardReply.verifyBy' | 'careBooking.bookAnAppointment' | 'categoryPage.info.reviewed' | 'categoryPage.onDate' | 'character' | 'childCard.age.months' | 'childCard.age.oneMonth' | 'childCard.age.oneWeek' | 'childCard.age.oneYear' | 'childCard.age.oneYearMonth' | 'childCard.age.oneYearOneMonth' | 'childCard.age.week' | 'childCard.age.yearMonth' | 'childCard.age.yearNoMonth' | 'childCard.age.yearOneMonth' | 'childCard.boy' | 'childCard.girl' | 'childCard.menu.add' | 'childCard.menu.edit' | 'childCard.menu.remove' | 'childCard.menu.switch' | 'childCard.noName' | 'choicePopover.ambassadorPosts' | 'choicePopover.expertPosts' | 'choicePopover.lastestPost' | 'choicePopover.latest' | 'choicePopover.newest' | 'choicePopover.oldest' | 'choicePopover.popular' | 'choicePopover.popularPost' | 'choicePopover.sort' | 'chooseBaby.button' | 'chooseBaby.new' | 'chooseBaby.placeholder' | 'chooseBaby.title' | 'comment.count' | 'comment.seeMoreComments' | 'comment.seeMoreReplies' | 'commentPopup.warning.newPost' | 'common.profileNavigator.newsletterSubscription' | 'community.choose' | 'community.notification.joined' | 'community.notification.left' | 'copied' | 'copy' | 'createPost.askDoctor' | 'createPost.askDoctorChoice.no' | 'createPost.askDoctorChoice.yes' | 'createPost.message.askDoctorRequire' | 'createPost.popup.description' | 'createPost.popup.guideSelectMonthTopics' | 'createPost.popup.guideSelectTopics' | 'createPost.popup.primary' | 'createPost.popup.selectMonthTopicBtn' | 'createPost.popup.specialCharErr' | 'createPost.popup.submit' | 'createPost.popup.success' | 'createPost.popup.warning' | 'createPost.popup.warningImage' | 'createPost.popup.wordCount' | 'createPost.postAnonymous' | 'createPost.title' | 'createPost.urlText' | 'dueDatePage.calculationMethod' | 'dueDatePage.conceptionDate' | 'dueDatePage.daysText' | 'dueDatePage.ivf' | 'dueDatePage.ivf.transferDate' | 'dueDatePage.ivf.transferDateRadio' | 'dueDatePage.lastPeriod' | 'dueDatePage.lastPeriod.calculate' | 'dueDatePage.lastPeriod.lastPeriodLabel' | 'dueDatePage.lastPeriod.periodLengthLabel' | 'expert.content.description' | 'expert.content.experiences' | 'footer.signUp' | 'gender.female' | 'gender.male' | 'healthToolPNModal.back' | 'healthToolPNModal.findMore.chooseFav' | 'healthToolPNModal.finish' | 'healthToolPNModal.heading' | 'healthToolPNModal.mainForm.requireName' | 'healthToolPNModal.mainForm.tailorTopicsHeading' | 'healthToolPNModal.next' | 'healthToolPNModal.register' | 'healthToolPNModal.yourPre' | 'healthTools.dueDateCalculator' | 'healthTools.ovulationCalculator' | 'healthtool.placeholder.age' | 'home.menu.category.view' | 'home.navigator.menu.care.homeButton' | 'home.navigator.menu.care.noDatas.cta' | 'home.navigator.menu.care.noDatas.description' | 'home.navigator.menu.care.noDatas.title' | 'home.navigator.menu.category.noDatas.cta' | 'home.navigator.menu.category.noDatas.description' | 'home.navigator.menu.category.noDatas.title' | 'home.navigator.menu.healthTools.noDatas.cta' | 'home.navigator.menu.healthTools.noDatas.description' | 'home.navigator.menu.healthTools.noDatas.title' | 'home.navigator.menu.spotlightHospitals' | 'home.navigator.menu.spotlightTools' | 'home.navigator.menu.spotlights' | 'home.navigator.menu.spotlights.seeAll' | 'home.navigator.menu.together.noPosts.cta' | 'home.navigator.menu.together.noPosts.description' | 'home.navigator.menu.together.noPosts.title' | 'home.navigator.menu.trendingPosts' | 'home.navigator.menu.trendingPosts.seeMore' | 'home.navigator.menuItem.allCategories' | 'home.navigator.menuItem.allCommunities' | 'home.navigator.menuItem.allCommunitiesheadingTitle' | 'home.navigator.menuItem.allHealthTools' | 'home.navigator.menuItem.allSpecialties' | 'home.navigator.menuItem.allSpotlight' | 'home.navigator.menuItem.discover' | 'home.navigator.menuItem.healthCategories' | 'home.navigator.menuItem.healthTools' | 'home.navigator.menuItem.healthToolsList' | 'home.navigator.menuItem.helloCare' | 'home.navigator.menuItem.helloEcom' | 'home.navigator.menuItem.helloTogether' | 'home.navigator.menuItem.language' | 'home.navigator.menuItem.new' | 'home.navigator.menuItem.specialties' | 'home.navigator.menuItem.spotlights' | 'home.search' | 'home.seeAll' | 'home.seeAllCategories' | 'home.seeExpert' | 'home.seeHospital' | 'home.seeMore' | 'home.seeMoreExperts' | 'hospital.content.description' | 'inputComment.replyTo' | 'insert' | 'label.latestPost' | 'label.pinnedPost' | 'loading' | 'login.booking' | 'logout.popup.ask.mb' | 'logout.popup.ask1' | 'logout.popup.ask2' | 'logout.popup.button.cancel' | 'logout.popup.button.logout' | 'menu.care.searchBySpecialties' | 'morePopover.report' | 'morePopover.report.description' | 'morePopover.report.falseNews' | 'morePopover.report.offensive' | 'morePopover.report.other' | 'morePopover.report.prohibited' | 'morePopover.report.scam' | 'morePopover.report.sex' | 'morePopover.report.spam' | 'morePopover.report.title' | 'morePopover.report.violence' | 'morePopover.reportSubmit.description' | 'morePopover.reportSubmit.title' | 'morePopover.savePost' | 'morePopover.share' | 'morePopover.shareOn' | 'morePopover.turnOffNotifications' | 'morePopover.turnOnNotifications' | 'morePopover.unsavePost' | 'navigation.loginJoin' | 'navigation.search.input.placeholder' | 'navigation.signUp' | 'newsletter.error.minCotennt' | 'newsletter.error.minTitle' | 'newsletter.topic.title' | 'newsletter.welcome.description' | 'notification.comment.blocked.message' | 'notification.comment.blocked.title' | 'notification.comment.premod' | 'notification.comment.rejected' | 'notification.comment.reportFailed' | 'notification.comment.reportSuccess' | 'notification.comment.somethingWrong' | 'notification.comment.suspect.message' | 'notification.comment.suspect.title' | 'notification.comment.systemWithheld' | 'notification.failure' | 'notification.limitUrlDomain' | 'notification.post.blocked.message' | 'notification.post.blocked.title' | 'notification.post.delete' | 'notification.post.suspect.message' | 'notification.post.suspect.title' | 'notification.success' | 'notification.suspend.message' | 'notification.urlWrongFormat' | 'onboarding.button.continue' | 'onboarding.button.skip' | 'onboarding.errorMessage.invalidEmail' | 'onboarding.errorMessage.minLength' | 'onboarding.errorMessage.passNotMatch' | 'onboarding.errorMessage.passWithPattern' | 'onboarding.errorMessage.requiredConfirmPassword' | 'onboarding.errorMessage.requiredEmail' | 'onboarding.errorMessage.requiredName' | 'onboarding.errorMessage.requiredPassword' | 'onboarding.formEmail.description' | 'onboarding.formEmail.genderFemale' | 'onboarding.formEmail.genderMale' | 'onboarding.formEmail.heading' | 'onboarding.formEmail.yourBirthday' | 'onboarding.formEmail.yourEmail' | 'onboarding.formEmail.yourName' | 'onboarding.label.fullName' | 'onboarding.otpForm.description' | 'onboarding.otpForm.descriptionEmail' | 'onboarding.otpForm.error' | 'onboarding.otpForm.heading' | 'onboarding.otpForm.notReceiveOTP' | 'onboarding.otpForm.resendCode' | 'onboarding.similac.address.error' | 'onboarding.similac.input.address' | 'onboarding.similac.input.city' | 'onboarding.similac.input.district' | 'onboarding.similac.input.no' | 'onboarding.similac.input.phone' | 'onboarding.similac.input.ward' | 'onboarding.similac.term.error' | 'onboarding.updatePassword.confirmPassword' | 'onboarding.updatePassword.description' | 'onboarding.updatePassword.heading' | 'onboarding.updatePassword.password' | 'onboarding.updatePasswordResult.description' | 'onboarding.updatePasswordResult.heading' | 'onboarding.updatePhone.description' | 'onboarding.updatePhone.error' | 'onboarding.updatePhone.heading' | 'onboarding.welcomeScreen.content' | 'onboarding.welcomeScreen.heading' | 'orCopyLink' | 'ovulationPage.avoidPregnancy' | 'ovulationPage.conceive' | 'ovulationPage.cycleLength' | 'ovulationPage.dayUnit' | 'ovulationPage.objectives' | 'ovulationPage.periodDuration' | 'ovulationPage.trackPeriod' | 'placeholder.enterTitleHere' | 'placeholder.enterUrlHere' | 'placeholder.enterUrlTextHere' | 'placeholder.newCmt' | 'placeholder.newPost' | 'pnBanner.both' | 'pnBanner.teenager' | 'pnBanner.toddlers' | 'pnBannerWithOption.caclNow' | 'pnBannerWithOption.dueDateTool.btnLabel' | 'pnBannerWithOption.dueDateTool.desc' | 'pnBannerWithOption.dueDateTool.heading' | 'pnBannerWithOption.parenting.desc' | 'pnBannerWithOption.parenting.heading' | 'pnBannerWithOption.pregnancy.desc' | 'pnBannerWithOption.pregnancy.heading' | 'pnBannerWithOption.vaccination.desc' | 'pnBannerWithOption.vaccination.heading' | 'pnModal.disclaimer' | 'pnTopicSection.maxSelectError.desc' | 'pnTopicSection.maxSelectError.detail' | 'pnTopicSection.maxSelectError.title' | 'pnTopicSection.notFound' | 'pnTopicSection.plsEnterFavTopics' | 'pnTopicSection.ppAlsoInterested' | 'pnTopicSection.recentView' | 'pnTopicSection.trending' | 'popup.allTopics' | 'popup.createPost.confirmCloseDescription' | 'popup.createPost.confirmCloseTitle' | 'popup.deleteComment.description' | 'popup.deleteComment.title' | 'popup.deletePost.accept' | 'popup.deletePost.cancel' | 'popup.deletePost.description' | 'popup.deletePost.title' | 'popup.discardPost' | 'popup.discardPostEdit' | 'popup.editPost' | 'popup.keepEditing' | 'popup.startANewPost' | 'post.commentCount' | 'post.likesCount' | 'post.seeMore' | 'post.shareCount' | 'pregnancy.week' | 'pregnancyTool.description' | 'pregnancyTool.title' | 'pregnancyTool.weightSuggested' | 'pregnancyWeightGain.havingTwins' | 'pregnancyWeightGain.heading' | 'pregnancyWeightGain.heightInput' | 'pregnancyWeightGain.weekInput' | 'pregnancyWeightGain.weightBeforeInput' | 'pregnancyWeightGain.weightInput' | 'pregnancyWeightGain.weightInput.desc' | 'previewPhotos.title' | 'profilePanel.anserwing.viewFull' | 'profilePanel.awards' | 'profilePanel.createPost' | 'profilePanel.education' | 'profilePanel.emptyCareMess.content' | 'profilePanel.emptyPostMess.content' | 'profilePanel.experience' | 'profilePanel.joined' | 'profilePanel.modal.heading' | 'profilePanel.publishcation' | 'profilePanel.publishedArticles' | 'profilePanel.question' | 'profilePanel.questionNotClear' | 'profilePanel.skipQuestion.content' | 'profilePanel.skipQuestion.heading' | 'profilePanel.socialLinks' | 'profilePanel.tabs.care' | 'profilePanel.tabs.expertAnswer' | 'profilePanel.tabs.highlight' | 'profilePanel.tabs.posts' | 'profilePanel.tabs.relevantArticles' | 'pwg.placeholder.height' | 'pwg.placeholder.weight' | 'sensitiveMask.blur' | 'sensitiveMask.contentWarningDescription' | 'sensitiveMask.contentWarningMessage' | 'sensitiveMask.unblur' | 'share.copyLink' | 'share.letsJoinCommunity' | 'share.letsJoinTopic' | 'share.linkCopied' | 'share.linkShared' | 'share.title' | 'shareContainer.title' | 'similac.thankYou.done' | 'submit' | 'switchBtn.no' | 'switchBtn.yes' | 'tab.about' | 'tab.discussion' | 'tab.topic' | 'tagTopic.moreTopics' | 'targetHearRate.heading' | 'targetHeartRate.aerobicZone.note' | 'targetHeartRate.aerobicZone.title' | 'targetHeartRate.ageInput' | 'targetHeartRate.ageInput.desc' | 'targetHeartRate.ageInput.error' | 'targetHeartRate.heartRateInput' | 'targetHeartRate.heartRateInput.desc' | 'targetHeartRate.heartRateInput.error' | 'targetHeartRate.lowIntensity.note' | 'targetHeartRate.lowIntensity.title' | 'targetHeartRate.maximumIntensity.note' | 'targetHeartRate.maximumIntensity.title' | 'targetHeartRate.moderateIntensity.note' | 'targetHeartRate.moderateIntensity.title' | 'targetHeartRate.optional' | 'targetHeartRate.selectActive' | 'targetHeartRate.vigorousIntensity.note' | 'targetHeartRate.vigorousIntensity.title' | 'tool.askChecking' | 'tool.selectPerson' | 'tool.selectPerson.other' | 'tool.selectPerson.yourSelf' | 'toolPage.toolReviewer' | 'tools.heading.on' | 'userProfile.nav.card.eCom' | 'userProfile.nav.card.myBooking' | 'userProfile.nav.card.myCommunity' | 'userProfile.nav.card.myFamily' | 'userProfile.nav.card.myHealth' | 'userProfile.nav.card.mySaved' | 'userProfile.nav.header.count.comments' | 'userProfile.nav.header.count.posts' | 'userProfile.nav.header.count.tools' | 'userProfile.nav.header.points' | 'userProfile.nav.header.viewProfile' | 'userProfile.nav.menu.accountSettings' | 'userProfile.nav.menu.disableAccount' | 'userProfile.nav.menu.help' | 'userProfile.nav.menu.logout' | 'userProfile.nav.menu.password' | 'userProfile.userRank.ambassador' | 'userProfile.userRank.doctor' | 'userProfile.userRank.expert' | 'userProfile.userRank.influencer' | 'userProfile.userRank.member' | 'verifyBotAnswer.confirmEndorse.accept' | 'verifyBotAnswer.confirmEndorse.cancel' | 'verifyBotAnswer.confirmEndorse.description' | 'verifyBotAnswer.confirmEndorse.heading';
1
+ export type TranslationKeys = 'actionPopover.delete' | 'actionPopover.deleteNotification' | 'actionPopover.edit' | 'actionPopover.inviteShareCommunity' | 'actionPopover.joinCommunity' | 'actionPopover.leaveCommunit' | 'actionPopover.leaveCommunity' | 'actionPopover.leaveCommunity.accept' | 'actionPopover.leaveCommunity.cancel' | 'actionPopover.leaveCommunity.description' | 'actionPopover.leaveCommunity.title' | 'actionPopover.report' | 'actionPopover.turnOffNotification' | 'actionPopover.turnOffNotificationAbout' | 'actionPopover.turnOnNotification' | 'adBanner.title' | 'admin.comments' | 'admin.communities' | 'admin.community' | 'article.shareOn' | 'articleAuthor.title.expert' | 'articleAuthor.title.fact-check' | 'articleAuthor.title.medical' | 'articleAuthor.title.written-by' | 'articlePage.articleReviewerBy' | 'articlePage.readMore' | 'articlePage.showLess' | 'babyGrowth.alert.bmi' | 'babyGrowth.alert.head' | 'babyGrowth.alert.weight' | 'babyGrowth.chartTitle' | 'babyGrowth.chartTitle.noName' | 'babyGrowth.cm' | 'babyGrowth.drawer.addMeasurement' | 'babyGrowth.drawer.createBaby' | 'babyGrowth.drawer.switchProfile' | 'babyGrowth.emptyName' | 'babyGrowth.error.atLeastOneOf' | 'babyGrowth.error.birthdayRequired' | 'babyGrowth.error.invalidAge' | 'babyGrowth.error.invalidMeasurementDate' | 'babyGrowth.error.invalidValue' | 'babyGrowth.error.measurementDateLowerThanBirthday' | 'babyGrowth.error.outOfRange' | 'babyGrowth.error.title' | 'babyGrowth.head' | 'babyGrowth.headCircumference' | 'babyGrowth.height' | 'babyGrowth.input.babyName' | 'babyGrowth.input.birthday' | 'babyGrowth.input.bmi' | 'babyGrowth.input.bodyMass' | 'babyGrowth.input.checkSubmit' | 'babyGrowth.input.measurementDate' | 'babyGrowth.input.submit' | 'babyGrowth.kg' | 'babyGrowth.kg.m2' | 'babyGrowth.monthly' | 'babyGrowth.nickname' | 'babyGrowth.optional' | 'babyGrowth.pageTitle' | 'babyGrowth.percentiles' | 'babyGrowth.placeholder.babyName' | 'babyGrowth.popup.heading' | 'babyGrowth.reCalculate' | 'babyGrowth.record' | 'babyGrowth.save' | 'babyGrowth.save.loggedIn' | 'babyGrowth.weekly' | 'babyGrowth.weight' | 'babyGrowth.xLabel' | 'babyGrowth.yearly' | 'babyPoop.findOut' | 'babyPoopTool.name' | 'babyVaccine.banner.readmore' | 'babyVaccine.immunization.vaccineName' | 'babyVaccine.immunization.warning' | 'babyVaccine.popup.button' | 'babyVaccine.popup.button.submit' | 'babyVaccine.popup.checkbox.suggestedDate' | 'babyVaccine.popup.confirm.close' | 'babyVaccine.popup.confirm.description' | 'babyVaccine.popup.confirm.ok' | 'babyVaccine.popup.confirm.title' | 'babyVaccine.popup.input.suggestedDate' | 'babyVaccine.popup.label.doses' | 'babyVaccine.popup.tab.benefits' | 'babyVaccine.popup.tab.contraindication' | 'babyVaccine.popup.tab.detail' | 'babyVaccine.popup.tab.schedule' | 'babyVaccine.popup.title' | 'babyVaccine.status.all' | 'babyVaccine.status.missed' | 'babyVaccine.status.next' | 'babyVaccine.status.upcoming' | 'babyVaccine.status.vaccinated' | 'babyVaccine.timeline.antigen' | 'babyVaccine.timeline.atBirth' | 'babyVaccine.timeline.total' | 'babyVaccine.timeline.totalNext' | 'babyVaccine.timeline.totalPast' | 'babyVaccine.vaccineCard.injected' | 'babyVaccine.vaccineCard.markAsInjected' | 'babyVaccine.vaccineInfo.dose' | 'babyVaccine.vaccineInfo.injectedDate' | 'babyVaccine.vaccineInfo.mandatory' | 'babyVaccine.vaccineInfo.optional' | 'babyVaccine.vaccineInfo.suggested' | 'babyVaccineTool.selectGender' | 'bmi.ageInput' | 'bmi.ageInput.desc' | 'bmi.ageInput.error' | 'bmi.heading' | 'bmi.heightInput' | 'bmi.heightInput.desc' | 'bmi.heightInput.error' | 'bmi.objective' | 'bmi.objective.gainWeight' | 'bmi.objective.loseWeight' | 'bmi.objective.maintainWeight' | 'bmi.result.healthy' | 'bmi.result.overweight' | 'bmi.result.underweight' | 'bmi.selectGender' | 'bmi.submit' | 'bmi.weightInput' | 'bmi.weightInput.desc' | 'bmi.weightInput.error' | 'bmr.heading' | 'booking.searchBar.allLocations' | 'booking.searchBar.allSpecialties' | 'booking.searchBar.currentLocation' | 'booking.searchBar.grantLocation' | 'booking.searchBar.locationPlaceholder' | 'booking.searchBar.noResults' | 'booking.searchBar.placeholder.doctor' | 'booking.searchBar.placeholder.hospital' | 'booking.searchBar.placeholder.service' | 'booking.searchBar.placeholder.specialty' | 'booking.searchBar.popularKey' | 'booking.searchBar.searchButton' | 'booking.searchBar.searchInput.placeholder' | 'booking.searchBar.useCurrentLocation' | 'booking.searchBar.viewAll' | 'booking.searchPopup.doctors' | 'booking.searchPopup.hospitals' | 'booking.searchPopup.searchIn.doctors' | 'booking.searchPopup.searchIn.hospitals' | 'booking.searchPopup.searchIn.services' | 'booking.searchPopup.searchIn.specialties' | 'booking.searchPopup.seeAll' | 'booking.searchPopup.seeLessSpecialties' | 'booking.searchPopup.seeMoreSpecialties' | 'booking.searchPopup.services' | 'booking.searchPopup.specialties' | 'booking.searchResult.description' | 'bottomBar.share' | 'cardAuthor.admin' | 'cardAuthor.ambassador' | 'cardAuthor.expert' | 'cardAuthor.guide' | 'cardAuthor.influencer' | 'cardAuthor.localAdmin' | 'cardAuthor.moderator' | 'cardAuthor.sponsor' | 'cardPost.anonymous' | 'cardReactions.comment' | 'cardReactions.repliesCount' | 'cardReactions.reply' | 'cardReply.disclaimer' | 'cardReply.endorse' | 'cardReply.opposePopup.content' | 'cardReply.opposePopup.submit' | 'cardReply.pppose' | 'cardReply.recommentCategories.heading' | 'cardReply.source' | 'cardReply.verifyBy' | 'careBooking.bookAnAppointment' | 'categoryPage.info.reviewed' | 'categoryPage.onDate' | 'character' | 'childCard.age.months' | 'childCard.age.oneMonth' | 'childCard.age.oneWeek' | 'childCard.age.oneYear' | 'childCard.age.oneYearMonth' | 'childCard.age.oneYearOneMonth' | 'childCard.age.week' | 'childCard.age.yearMonth' | 'childCard.age.yearNoMonth' | 'childCard.age.yearOneMonth' | 'childCard.boy' | 'childCard.girl' | 'childCard.menu.add' | 'childCard.menu.edit' | 'childCard.menu.remove' | 'childCard.menu.switch' | 'childCard.noName' | 'choicePopover.ambassadorPosts' | 'choicePopover.expertPosts' | 'choicePopover.lastestPost' | 'choicePopover.latest' | 'choicePopover.newest' | 'choicePopover.oldest' | 'choicePopover.popular' | 'choicePopover.popularPost' | 'choicePopover.sort' | 'chooseBaby.button' | 'chooseBaby.new' | 'chooseBaby.placeholder' | 'chooseBaby.title' | 'comment.count' | 'comment.seeMoreComments' | 'comment.seeMoreReplies' | 'commentPopup.warning.newPost' | 'common.profileNavigator.newsletterSubscription' | 'community.choose' | 'community.notification.joined' | 'community.notification.left' | 'copied' | 'copy' | 'createPost.askDoctor' | 'createPost.askDoctorChoice.no' | 'createPost.askDoctorChoice.yes' | 'createPost.message.askDoctorRequire' | 'createPost.popup.description' | 'createPost.popup.guideSelectMonthTopics' | 'createPost.popup.guideSelectTopics' | 'createPost.popup.primary' | 'createPost.popup.selectMonthTopicBtn' | 'createPost.popup.specialCharErr' | 'createPost.popup.submit' | 'createPost.popup.success' | 'createPost.popup.warning' | 'createPost.popup.warningImage' | 'createPost.popup.wordCount' | 'createPost.postAnonymous' | 'createPost.title' | 'createPost.urlText' | 'dueDatePage.calculationMethod' | 'dueDatePage.conceptionDate' | 'dueDatePage.daysText' | 'dueDatePage.ivf' | 'dueDatePage.ivf.transferDate' | 'dueDatePage.ivf.transferDateRadio' | 'dueDatePage.lastPeriod' | 'dueDatePage.lastPeriod.calculate' | 'dueDatePage.lastPeriod.lastPeriodLabel' | 'dueDatePage.lastPeriod.periodLengthLabel' | 'expert.content.description' | 'expert.content.experiences' | 'footer.signUp' | 'gender.female' | 'gender.male' | 'healthToolPNModal.back' | 'healthToolPNModal.findMore.chooseFav' | 'healthToolPNModal.finish' | 'healthToolPNModal.heading' | 'healthToolPNModal.mainForm.requireName' | 'healthToolPNModal.mainForm.tailorTopicsHeading' | 'healthToolPNModal.next' | 'healthToolPNModal.register' | 'healthToolPNModal.yourPre' | 'healthTools.dueDateCalculator' | 'healthTools.ovulationCalculator' | 'healthtool.placeholder.age' | 'home.menu.category.view' | 'home.navigator.menu.care.homeButton' | 'home.navigator.menu.care.noDatas.cta' | 'home.navigator.menu.care.noDatas.description' | 'home.navigator.menu.care.noDatas.title' | 'home.navigator.menu.category.noDatas.cta' | 'home.navigator.menu.category.noDatas.description' | 'home.navigator.menu.category.noDatas.title' | 'home.navigator.menu.healthTools.noDatas.cta' | 'home.navigator.menu.healthTools.noDatas.description' | 'home.navigator.menu.healthTools.noDatas.title' | 'home.navigator.menu.spotlightHospitals' | 'home.navigator.menu.spotlightTools' | 'home.navigator.menu.spotlights' | 'home.navigator.menu.spotlights.seeAll' | 'home.navigator.menu.together.noPosts.cta' | 'home.navigator.menu.together.noPosts.description' | 'home.navigator.menu.together.noPosts.title' | 'home.navigator.menu.trendingPosts' | 'home.navigator.menu.trendingPosts.seeMore' | 'home.navigator.menuItem.allCategories' | 'home.navigator.menuItem.allCommunities' | 'home.navigator.menuItem.allCommunitiesheadingTitle' | 'home.navigator.menuItem.allHealthTools' | 'home.navigator.menuItem.allSpecialties' | 'home.navigator.menuItem.allSpotlight' | 'home.navigator.menuItem.discover' | 'home.navigator.menuItem.healthCategories' | 'home.navigator.menuItem.healthTools' | 'home.navigator.menuItem.healthToolsList' | 'home.navigator.menuItem.helloCare' | 'home.navigator.menuItem.helloEcom' | 'home.navigator.menuItem.helloTogether' | 'home.navigator.menuItem.language' | 'home.navigator.menuItem.new' | 'home.navigator.menuItem.specialties' | 'home.navigator.menuItem.spotlights' | 'home.search' | 'home.seeAll' | 'home.seeAllCategories' | 'home.seeExpert' | 'home.seeHospital' | 'home.seeMore' | 'home.seeMoreExperts' | 'hospital.content.description' | 'inputComment.replyTo' | 'insert' | 'label.latestPost' | 'label.pinnedPost' | 'loading' | 'login.booking' | 'logout.popup.ask.mb' | 'logout.popup.ask1' | 'logout.popup.ask2' | 'logout.popup.button.cancel' | 'logout.popup.button.logout' | 'menu.care.searchBySpecialties' | 'morePopover.report' | 'morePopover.report.description' | 'morePopover.report.falseNews' | 'morePopover.report.offensive' | 'morePopover.report.other' | 'morePopover.report.prohibited' | 'morePopover.report.scam' | 'morePopover.report.sex' | 'morePopover.report.spam' | 'morePopover.report.title' | 'morePopover.report.violence' | 'morePopover.reportSubmit.description' | 'morePopover.reportSubmit.title' | 'morePopover.savePost' | 'morePopover.share' | 'morePopover.shareOn' | 'morePopover.turnOffNotifications' | 'morePopover.turnOnNotifications' | 'morePopover.unsavePost' | 'navigation.loginJoin' | 'navigation.search.input.placeholder' | 'navigation.signUp' | 'newsletter.error.minCotennt' | 'newsletter.error.minTitle' | 'newsletter.topic.title' | 'newsletter.welcome.description' | 'notification.comment.blocked.message' | 'notification.comment.blocked.title' | 'notification.comment.premod' | 'notification.comment.rejected' | 'notification.comment.reportFailed' | 'notification.comment.reportSuccess' | 'notification.comment.somethingWrong' | 'notification.comment.suspect.message' | 'notification.comment.suspect.title' | 'notification.comment.systemWithheld' | 'notification.failure' | 'notification.limitUrlDomain' | 'notification.post.blocked.message' | 'notification.post.blocked.title' | 'notification.post.delete' | 'notification.post.suspect.message' | 'notification.post.suspect.title' | 'notification.success' | 'notification.suspend.message' | 'notification.urlWrongFormat' | 'onboarding.button.continue' | 'onboarding.button.skip' | 'onboarding.errorMessage.invalidEmail' | 'onboarding.errorMessage.minLength' | 'onboarding.errorMessage.passNotMatch' | 'onboarding.errorMessage.passWithPattern' | 'onboarding.errorMessage.requiredConfirmPassword' | 'onboarding.errorMessage.requiredEmail' | 'onboarding.errorMessage.requiredName' | 'onboarding.errorMessage.requiredPassword' | 'onboarding.formEmail.description' | 'onboarding.formEmail.genderFemale' | 'onboarding.formEmail.genderMale' | 'onboarding.formEmail.heading' | 'onboarding.formEmail.yourBirthday' | 'onboarding.formEmail.yourEmail' | 'onboarding.formEmail.yourName' | 'onboarding.label.fullName' | 'onboarding.otpForm.description' | 'onboarding.otpForm.descriptionEmail' | 'onboarding.otpForm.error' | 'onboarding.otpForm.heading' | 'onboarding.otpForm.notReceiveOTP' | 'onboarding.otpForm.resendCode' | 'onboarding.otpWhatsapps.description' | 'onboarding.otpWhatsapps.heading' | 'onboarding.similac.address.error' | 'onboarding.similac.input.address' | 'onboarding.similac.input.city' | 'onboarding.similac.input.district' | 'onboarding.similac.input.no' | 'onboarding.similac.input.phone' | 'onboarding.similac.input.ward' | 'onboarding.similac.term.error' | 'onboarding.updatePassword.confirmPassword' | 'onboarding.updatePassword.description' | 'onboarding.updatePassword.heading' | 'onboarding.updatePassword.password' | 'onboarding.updatePasswordResult.description' | 'onboarding.updatePasswordResult.heading' | 'onboarding.updatePhone.description' | 'onboarding.updatePhone.error' | 'onboarding.updatePhone.heading' | 'onboarding.updateWhatsapp.description' | 'onboarding.updateWhatsapp.submitLabel' | 'onboarding.welcomeScreen.content' | 'onboarding.welcomeScreen.heading' | 'orCopyLink' | 'ovulationPage.avoidPregnancy' | 'ovulationPage.conceive' | 'ovulationPage.cycleLength' | 'ovulationPage.dayUnit' | 'ovulationPage.objectives' | 'ovulationPage.periodDuration' | 'ovulationPage.trackPeriod' | 'placeholder.enterTitleHere' | 'placeholder.enterUrlHere' | 'placeholder.enterUrlTextHere' | 'placeholder.newCmt' | 'placeholder.newPost' | 'pnBanner.both' | 'pnBanner.both.desc' | 'pnBanner.both.heading' | 'pnBanner.caclNow' | 'pnBanner.checkNow' | 'pnBanner.dueDateTool.desc' | 'pnBanner.dueDateTool.heading' | 'pnBanner.hpv.desc' | 'pnBanner.hpv.heading' | 'pnBanner.parenting.desc' | 'pnBanner.parenting.heading' | 'pnBanner.pn.btnLabel' | 'pnBanner.pregnancy.desc' | 'pnBanner.pregnancy.heading' | 'pnBanner.submit' | 'pnBanner.teenager' | 'pnBanner.teenager.heading' | 'pnBanner.toddlers' | 'pnBanner.vaccination.desc' | 'pnBanner.vaccination.heading' | 'pnBanner.vaccine.btnLabel' | 'pnModal.disclaimer' | 'pnTopicSection.maxSelectError.desc' | 'pnTopicSection.maxSelectError.detail' | 'pnTopicSection.maxSelectError.title' | 'pnTopicSection.notFound' | 'pnTopicSection.plsEnterFavTopics' | 'pnTopicSection.ppAlsoInterested' | 'pnTopicSection.recentView' | 'pnTopicSection.trending' | 'popup.allTopics' | 'popup.createPost.confirmCloseDescription' | 'popup.createPost.confirmCloseTitle' | 'popup.deleteComment.description' | 'popup.deleteComment.title' | 'popup.deletePost.accept' | 'popup.deletePost.cancel' | 'popup.deletePost.description' | 'popup.deletePost.title' | 'popup.discardPost' | 'popup.discardPostEdit' | 'popup.editPost' | 'popup.keepEditing' | 'popup.startANewPost' | 'post.commentCount' | 'post.likesCount' | 'post.seeMore' | 'post.shareCount' | 'pregnancy.week' | 'pregnancyTool.description' | 'pregnancyTool.title' | 'pregnancyTool.weightSuggested' | 'pregnancyWeightGain.havingTwins' | 'pregnancyWeightGain.heading' | 'pregnancyWeightGain.heightInput' | 'pregnancyWeightGain.weekInput' | 'pregnancyWeightGain.weightBeforeInput' | 'pregnancyWeightGain.weightInput' | 'pregnancyWeightGain.weightInput.desc' | 'previewPhotos.title' | 'profilePanel.anserwing.viewFull' | 'profilePanel.awards' | 'profilePanel.createPost' | 'profilePanel.education' | 'profilePanel.emptyCareMess.content' | 'profilePanel.emptyPostMess.content' | 'profilePanel.experience' | 'profilePanel.joined' | 'profilePanel.modal.heading' | 'profilePanel.publishcation' | 'profilePanel.publishedArticles' | 'profilePanel.question' | 'profilePanel.questionNotClear' | 'profilePanel.skipQuestion.content' | 'profilePanel.skipQuestion.heading' | 'profilePanel.socialLinks' | 'profilePanel.tabs.care' | 'profilePanel.tabs.expertAnswer' | 'profilePanel.tabs.highlight' | 'profilePanel.tabs.posts' | 'profilePanel.tabs.relevantArticles' | 'pwg.placeholder.height' | 'pwg.placeholder.weight' | 'sensitiveMask.blur' | 'sensitiveMask.contentWarningDescription' | 'sensitiveMask.contentWarningMessage' | 'sensitiveMask.unblur' | 'share.copyLink' | 'share.letsJoinCommunity' | 'share.letsJoinTopic' | 'share.linkCopied' | 'share.linkShared' | 'share.title' | 'shareContainer.title' | 'similac.thankYou.done' | 'submit' | 'switchBtn.no' | 'switchBtn.yes' | 'tab.about' | 'tab.discussion' | 'tab.topic' | 'tagTopic.moreTopics' | 'targetHearRate.heading' | 'targetHeartRate.aerobicZone.note' | 'targetHeartRate.aerobicZone.title' | 'targetHeartRate.ageInput' | 'targetHeartRate.ageInput.desc' | 'targetHeartRate.ageInput.error' | 'targetHeartRate.heartRateInput' | 'targetHeartRate.heartRateInput.desc' | 'targetHeartRate.heartRateInput.error' | 'targetHeartRate.lowIntensity.note' | 'targetHeartRate.lowIntensity.title' | 'targetHeartRate.maximumIntensity.note' | 'targetHeartRate.maximumIntensity.title' | 'targetHeartRate.moderateIntensity.note' | 'targetHeartRate.moderateIntensity.title' | 'targetHeartRate.optional' | 'targetHeartRate.selectActive' | 'targetHeartRate.vigorousIntensity.note' | 'targetHeartRate.vigorousIntensity.title' | 'tool.askChecking' | 'tool.selectPerson' | 'tool.selectPerson.other' | 'tool.selectPerson.yourSelf' | 'toolPage.toolReviewer' | 'tools.heading.on' | 'userProfile.nav.card.eCom' | 'userProfile.nav.card.myBooking' | 'userProfile.nav.card.myCommunity' | 'userProfile.nav.card.myFamily' | 'userProfile.nav.card.myHealth' | 'userProfile.nav.card.mySaved' | 'userProfile.nav.header.count.comments' | 'userProfile.nav.header.count.posts' | 'userProfile.nav.header.count.tools' | 'userProfile.nav.header.points' | 'userProfile.nav.header.viewProfile' | 'userProfile.nav.menu.accountSettings' | 'userProfile.nav.menu.disableAccount' | 'userProfile.nav.menu.help' | 'userProfile.nav.menu.logout' | 'userProfile.nav.menu.password' | 'userProfile.userRank.ambassador' | 'userProfile.userRank.doctor' | 'userProfile.userRank.expert' | 'userProfile.userRank.influencer' | 'userProfile.userRank.member' | 'verifyBotAnswer.confirmEndorse.accept' | 'verifyBotAnswer.confirmEndorse.cancel' | 'verifyBotAnswer.confirmEndorse.description' | 'verifyBotAnswer.confirmEndorse.heading';