@hhgtech/hhg-components 1.22.33 → 1.22.35-beta-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/build/babyGrowth.js +1 -1
  2. package/build/cache.js +1 -1
  3. package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
  4. package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
  5. package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
  6. package/build/care.js +1 -1
  7. package/build/components/atoms/checkbox/index.d.ts +2 -1
  8. package/build/components/atoms/text/index.d.ts +1 -2
  9. package/build/components/molecules/tabs/index.d.ts +1 -0
  10. package/build/components.js +1 -1
  11. package/build/constants.js +1 -1
  12. package/build/{core-e6a29d83.js → core-333aa98d.js} +1 -1
  13. package/build/{defaultClassWrapper-a222d084.js → defaultClassWrapper-fc5878e8.js} +1 -1
  14. package/build/ecom.js +1 -1
  15. package/build/esm/babyGrowth.js +1 -1
  16. package/build/esm/cache.js +1 -1
  17. package/build/esm/care.js +1 -1
  18. package/build/esm/components.js +1 -1
  19. package/build/esm/constants.js +1 -1
  20. package/build/esm/{core-6e924d14.js → core-33f8ec8e.js} +1 -1
  21. package/build/esm/defaultClassWrapper-d0ba6b04.js +1 -0
  22. package/build/esm/ecom.js +1 -1
  23. package/build/esm/footer.js +1 -1
  24. package/build/esm/gAssets.js +1 -1
  25. package/build/esm/{getDynamicHealthTool-b1a08883.js → getDynamicHealthTool-965daf6f.js} +1 -1
  26. package/build/esm/{getSocialList-c6556bcd.js → getSocialList-f416d4e5.js} +1 -1
  27. package/build/esm/hooks.js +1 -1
  28. package/build/esm/i18n.js +1 -1
  29. package/build/esm/{index-d9eeae90.js → index-04222e73.js} +1 -1
  30. package/build/esm/{index-749708a4.js → index-0f99661c.js} +1 -1
  31. package/build/esm/index-1b961f29.js +1 -0
  32. package/build/esm/index-1d79f3b0.js +1 -0
  33. package/build/esm/index-23411e1f.js +1 -0
  34. package/build/esm/{index-f62ee0af.js → index-3011309a.js} +1 -1
  35. package/build/esm/{index-e1487bae.js → index-4a826aff.js} +1 -1
  36. package/build/esm/{index-607ffd44.js → index-64a0842a.js} +1 -1
  37. package/build/esm/index-6a2e11c0.js +1 -0
  38. package/build/esm/{index-22818d55.js → index-6bcd451d.js} +1 -1
  39. package/build/esm/index-6dd889d6.js +1 -0
  40. package/build/esm/{index-aaaae8f3.js → index-90fdda95.js} +1 -1
  41. package/build/esm/index-99e5b83a.js +1 -0
  42. package/build/esm/index-b3930eaf.js +1 -0
  43. package/build/esm/{index-84b9d2a7.js → index-c53586e4.js} +1 -1
  44. package/build/esm/{index-06186051.js → index-d8f23162.js} +1 -1
  45. package/build/esm/{index-be749962.js → index-dba60333.js} +1 -1
  46. package/build/esm/index-df865fe5.js +1 -0
  47. package/build/esm/{index-9c9eb3ce.js → index-e1cbd003.js} +1 -1
  48. package/build/esm/{index-ff33527b.js → index-efeff0d3.js} +1 -1
  49. package/build/esm/index.css +9 -0
  50. package/build/esm/index.js +1 -1
  51. package/build/esm/{index.styled-7a561061.js → index.styled-1d27156b.js} +1 -1
  52. package/build/esm/lead.js +1 -1
  53. package/build/esm/mantine.js +1 -1
  54. package/build/esm/misc.js +1 -1
  55. package/build/esm/navigation.js +1 -1
  56. package/build/esm/pwg.js +1 -1
  57. package/build/esm/routing-b9c4898b.js +1 -0
  58. package/build/esm/{screenSizeContext-a0192e3a.js → screenSizeContext-b2aaef3e.js} +1 -1
  59. package/build/esm/together.js +1 -1
  60. package/build/esm/{translationsProvider-2857dc12.js → translationsProvider-c55cc457.js} +1 -1
  61. package/build/esm/types-2584a694.js +1 -0
  62. package/build/esm/{types-1000c6c5.js → types-91c741f3.js} +1 -1
  63. package/build/esm/types.js +1 -1
  64. package/build/esm/{useFbDataLayer-39219288.js → useFbDataLayer-64a31d6d.js} +1 -1
  65. package/build/esm/useHealthToolCache-84064383.js +1 -0
  66. package/build/esm/{useTranslations-e769d6fe.js → useTranslations-507f6ec3.js} +1 -1
  67. package/build/footer.js +1 -1
  68. package/build/gAssets.js +1 -1
  69. package/build/{getDynamicHealthTool-95168d7e.js → getDynamicHealthTool-50161259.js} +1 -1
  70. package/build/{getSocialList-6c91c6d2.js → getSocialList-15c7e6ec.js} +1 -1
  71. package/build/hooks.js +1 -1
  72. package/build/i18n.js +1 -1
  73. package/build/index-06f9004e.js +1 -0
  74. package/build/index-076d2eb8.js +1 -0
  75. package/build/{index-7f1e8b1d.js → index-163ab2be.js} +1 -1
  76. package/build/{index-950ef85a.js → index-281d5158.js} +1 -1
  77. package/build/index-3b18f38a.js +1 -0
  78. package/build/{index-f6abdc3f.js → index-4049c725.js} +1 -1
  79. package/build/{index-33724b3a.js → index-41564c23.js} +1 -1
  80. package/build/{index-01fbb796.js → index-42c16c50.js} +1 -1
  81. package/build/index-549360d9.js +1 -0
  82. package/build/{index-ada7449f.js → index-5c9028f7.js} +1 -1
  83. package/build/{index-4de18a39.js → index-727b494f.js} +1 -1
  84. package/build/{index-eb5e4bd6.js → index-77367a5a.js} +1 -1
  85. package/build/{index-8a9914ab.js → index-78ceeb6e.js} +1 -1
  86. package/build/{index-62bd569d.js → index-801290be.js} +1 -1
  87. package/build/{index-d68fe494.js → index-a9f68de3.js} +1 -1
  88. package/build/index-cc39a16d.js +1 -0
  89. package/build/{index-9c65be48.js → index-ce59b19d.js} +1 -1
  90. package/build/{index-91465581.js → index-d64f388b.js} +1 -1
  91. package/build/index-f0be7ea5.js +1 -0
  92. package/build/index-f40e766d.js +1 -0
  93. package/build/index.css +9 -0
  94. package/build/index.js +1 -1
  95. package/build/{index.styled-622d0725.js → index.styled-df356ab0.js} +1 -1
  96. package/build/lead.js +1 -1
  97. package/build/mantine.js +1 -1
  98. package/build/misc.js +1 -1
  99. package/build/navigation.js +1 -1
  100. package/build/pwg.js +1 -1
  101. package/build/{routing-9b0aa164.js → routing-0f10b8f2.js} +1 -1
  102. package/build/{screenSizeContext-5d49a18f.js → screenSizeContext-8718eb2d.js} +1 -1
  103. package/build/together/components/atoms/cardReactions/index.styled.d.ts +1 -1
  104. package/build/together/components/molecules/cardAuthor/index.d.ts +2 -2
  105. package/build/together/components/molecules/postContent/index.d.ts +3 -3
  106. package/build/together.js +1 -1
  107. package/build/{translationsProvider-4fe7a551.js → translationsProvider-26cd2b46.js} +1 -1
  108. package/build/{types-db41e662.js → types-2cc1c96d.js} +1 -1
  109. package/build/types-9ddfc7f2.js +1 -0
  110. package/build/types.js +1 -1
  111. package/build/{useFbDataLayer-eedaa95c.js → useFbDataLayer-7cd85ac5.js} +1 -1
  112. package/build/{useHealthToolCache-38f50452.js → useHealthToolCache-f771ee07.js} +1 -1
  113. package/build/{useTranslations-231429a4.js → useTranslations-c45bd644.js} +1 -1
  114. package/package.json +1 -1
  115. package/build/components/atoms/button/index.styled.d.ts +0 -9
  116. package/build/components/atoms/container/index.styled.d.ts +0 -1
  117. package/build/components/atoms/flag/index.styled.d.ts +0 -1
  118. package/build/components/atoms/heading/index.styled.d.ts +0 -7
  119. package/build/components/atoms/text/index.styled.d.ts +0 -1
  120. package/build/components/molecules/articleCard/index.styled.d.ts +0 -4
  121. package/build/components/molecules/breadcrumbs/index.styled.d.ts +0 -3
  122. package/build/components/organisms/footer/discoverFooter/index.styled.d.ts +0 -2
  123. package/build/components/organisms/footer/maryBabyFooter/index.styled.d.ts +0 -7
  124. package/build/esm/defaultClassWrapper-7a9672a6.js +0 -1
  125. package/build/esm/index-27d646df.js +0 -1
  126. package/build/esm/index-43dc3915.js +0 -1
  127. package/build/esm/index-4ba866f2.js +0 -1
  128. package/build/esm/index-613cf5d4.js +0 -1
  129. package/build/esm/index-99c3440f.js +0 -1
  130. package/build/esm/index-bb559d1f.js +0 -1
  131. package/build/esm/index-bbbe135a.js +0 -1
  132. package/build/esm/index-c58d0993.js +0 -1
  133. package/build/esm/routing-405df031.js +0 -1
  134. package/build/esm/types-8cfc7d74.js +0 -1
  135. package/build/esm/useHealthToolCache-bd293ae2.js +0 -1
  136. package/build/index-1a21b05f.js +0 -1
  137. package/build/index-6ddadbf0.js +0 -1
  138. package/build/index-793a504b.js +0 -1
  139. package/build/index-a6aa1a98.js +0 -1
  140. package/build/index-bfa673ca.js +0 -1
  141. package/build/index-cc4f7e3b.js +0 -1
  142. package/build/index-d9ed29f2.js +0 -1
  143. package/build/types-59bd78a7.js +0 -1
  144. /package/build/{BMI_BOYS.percentile.monthly-1ad1666c.js → BMI_BOYS.percentile.monthly-79c4ce6f.js} +0 -0
  145. /package/build/{BMI_BOYS.percentile.weekly-87103966.js → BMI_BOYS.percentile.weekly-927c1e97.js} +0 -0
  146. /package/build/{BMI_BOYS.percentile.yearly-37b67c96.js → BMI_BOYS.percentile.yearly-23ce6aaa.js} +0 -0
  147. /package/build/{BMI_BOYS.zscore.monthly-f1d840db.js → BMI_BOYS.zscore.monthly-2e26420b.js} +0 -0
  148. /package/build/{BMI_BOYS.zscore.weekly-b50aedd3.js → BMI_BOYS.zscore.weekly-d970cf25.js} +0 -0
  149. /package/build/{BMI_BOYS.zscore.yearly-274f1e3e.js → BMI_BOYS.zscore.yearly-526e1ae2.js} +0 -0
  150. /package/build/{BMI_GIRLS.percentile.monthly-6f30dd37.js → BMI_GIRLS.percentile.monthly-72e657ca.js} +0 -0
  151. /package/build/{BMI_GIRLS.percentile.weekly-e575c948.js → BMI_GIRLS.percentile.weekly-5d47596c.js} +0 -0
  152. /package/build/{BMI_GIRLS.percentile.yearly-167b2fa9.js → BMI_GIRLS.percentile.yearly-8340958d.js} +0 -0
  153. /package/build/{BMI_GIRLS.zscore.monthly-a1fcbc6d.js → BMI_GIRLS.zscore.monthly-79f137da.js} +0 -0
  154. /package/build/{BMI_GIRLS.zscore.weekly-3214a7ba.js → BMI_GIRLS.zscore.weekly-a722cc8c.js} +0 -0
  155. /package/build/{BMI_GIRLS.zscore.yearly-21188b2d.js → BMI_GIRLS.zscore.yearly-629d7dbb.js} +0 -0
  156. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-f578ad99.js → HEAD CIRCUM_BOYS.percentile.monthly-0f9a5dad.js} +0 -0
  157. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-0a11085d.js → HEAD CIRCUM_BOYS.percentile.weekly-6efc6e9e.js} +0 -0
  158. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-236ac50e.js → HEAD CIRCUM_BOYS.percentile.yearly-fd963810.js} +0 -0
  159. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-f637a5d5.js → HEAD CIRCUM_BOYS.zscore.monthly-41f1db45.js} +0 -0
  160. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-f97928b0.js → HEAD CIRCUM_BOYS.zscore.weekly-9c34cfe7.js} +0 -0
  161. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-8ace6ff5.js → HEAD CIRCUM_BOYS.zscore.yearly-caa74ea6.js} +0 -0
  162. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-77aac3a7.js → HEAD CIRCUM_GIRLS.percentile.monthly-6351910a.js} +0 -0
  163. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-f3659921.js → HEAD CIRCUM_GIRLS.percentile.weekly-772495c6.js} +0 -0
  164. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-d8f5ab6b.js → HEAD CIRCUM_GIRLS.percentile.yearly-68864ede.js} +0 -0
  165. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-3aeab786.js → HEAD CIRCUM_GIRLS.zscore.monthly-db1370df.js} +0 -0
  166. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-ecc8659c.js → HEAD CIRCUM_GIRLS.zscore.weekly-8bfa3561.js} +0 -0
  167. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-4500f318.js → HEAD CIRCUM_GIRLS.zscore.yearly-96846f78.js} +0 -0
  168. /package/build/{HEIGHT_BOYS.percentile.monthly-634c92b7.js → HEIGHT_BOYS.percentile.monthly-9cff8d39.js} +0 -0
  169. /package/build/{HEIGHT_BOYS.percentile.weekly-326b8a6c.js → HEIGHT_BOYS.percentile.weekly-3a6c61a8.js} +0 -0
  170. /package/build/{HEIGHT_BOYS.percentile.yearly-67bcf8d4.js → HEIGHT_BOYS.percentile.yearly-75eb775f.js} +0 -0
  171. /package/build/{HEIGHT_BOYS.zscore.monthly-75ddebd0.js → HEIGHT_BOYS.zscore.monthly-bc7aa84e.js} +0 -0
  172. /package/build/{HEIGHT_BOYS.zscore.weekly-5405469d.js → HEIGHT_BOYS.zscore.weekly-3d29b701.js} +0 -0
  173. /package/build/{HEIGHT_BOYS.zscore.yearly-8b2f6f3f.js → HEIGHT_BOYS.zscore.yearly-a5cd9686.js} +0 -0
  174. /package/build/{HEIGHT_GIRLS.percentile.monthly-5b3aac94.js → HEIGHT_GIRLS.percentile.monthly-3adcf162.js} +0 -0
  175. /package/build/{HEIGHT_GIRLS.percentile.weekly-1a88ee9c.js → HEIGHT_GIRLS.percentile.weekly-90cfb336.js} +0 -0
  176. /package/build/{HEIGHT_GIRLS.percentile.yearly-33d011e3.js → HEIGHT_GIRLS.percentile.yearly-24de0507.js} +0 -0
  177. /package/build/{HEIGHT_GIRLS.zscore.monthly-4cd6fe77.js → HEIGHT_GIRLS.zscore.monthly-ab07a4d7.js} +0 -0
  178. /package/build/{HEIGHT_GIRLS.zscore.weekly-0072a73a.js → HEIGHT_GIRLS.zscore.weekly-9910508e.js} +0 -0
  179. /package/build/{HEIGHT_GIRLS.zscore.yearly-ee1372f8.js → HEIGHT_GIRLS.zscore.yearly-d4bc3ba6.js} +0 -0
  180. /package/build/{Locale-a817e0b3.js → Locale-ddb9cbd0.js} +0 -0
  181. /package/build/{WEIGHT_BOYS.percentile.monthly-02f12da2.js → WEIGHT_BOYS.percentile.monthly-5b06ed8c.js} +0 -0
  182. /package/build/{WEIGHT_BOYS.percentile.weekly-093b6285.js → WEIGHT_BOYS.percentile.weekly-2e4164f8.js} +0 -0
  183. /package/build/{WEIGHT_BOYS.percentile.yearly-4611aebe.js → WEIGHT_BOYS.percentile.yearly-429eecd0.js} +0 -0
  184. /package/build/{WEIGHT_BOYS.zscore.monthly-e8e0cbbd.js → WEIGHT_BOYS.zscore.monthly-f55d1bbc.js} +0 -0
  185. /package/build/{WEIGHT_BOYS.zscore.weekly-58f4d069.js → WEIGHT_BOYS.zscore.weekly-6121ff28.js} +0 -0
  186. /package/build/{WEIGHT_BOYS.zscore.yearly-32c78cd8.js → WEIGHT_BOYS.zscore.yearly-51bf872a.js} +0 -0
  187. /package/build/{WEIGHT_GIRLS.percentile.monthly-c5dae03a.js → WEIGHT_GIRLS.percentile.monthly-ed68dabc.js} +0 -0
  188. /package/build/{WEIGHT_GIRLS.percentile.weekly-e6a664ad.js → WEIGHT_GIRLS.percentile.weekly-132addf3.js} +0 -0
  189. /package/build/{WEIGHT_GIRLS.percentile.yearly-ba4e3120.js → WEIGHT_GIRLS.percentile.yearly-22c2b53a.js} +0 -0
  190. /package/build/{WEIGHT_GIRLS.zscore.monthly-fa683dd4.js → WEIGHT_GIRLS.zscore.monthly-f6f2a906.js} +0 -0
  191. /package/build/{WEIGHT_GIRLS.zscore.weekly-a9d44aff.js → WEIGHT_GIRLS.zscore.weekly-db616dfe.js} +0 -0
  192. /package/build/{WEIGHT_GIRLS.zscore.yearly-6a6fef2b.js → WEIGHT_GIRLS.zscore.yearly-721ccee6.js} +0 -0
  193. /package/build/{constants-b4dc5a05.js → constants-7a8d2b25.js} +0 -0
  194. /package/build/{cookieHelper-54048238.js → cookieHelper-5216ed63.js} +0 -0
  195. /package/build/{dataTransform-0d8a1f88.js → dataTransform-edd81a4a.js} +0 -0
  196. /package/build/esm/{BMI_BOYS.percentile.monthly-9613fc5c.js → BMI_BOYS.percentile.monthly-5652317d.js} +0 -0
  197. /package/build/esm/{BMI_BOYS.percentile.weekly-0f2a9be9.js → BMI_BOYS.percentile.weekly-0710c453.js} +0 -0
  198. /package/build/esm/{BMI_BOYS.percentile.yearly-a0f66dad.js → BMI_BOYS.percentile.yearly-3b353167.js} +0 -0
  199. /package/build/esm/{BMI_BOYS.zscore.monthly-45590518.js → BMI_BOYS.zscore.monthly-0212445c.js} +0 -0
  200. /package/build/esm/{BMI_BOYS.zscore.weekly-4b7bf951.js → BMI_BOYS.zscore.weekly-ea447666.js} +0 -0
  201. /package/build/esm/{BMI_BOYS.zscore.yearly-e3305dc1.js → BMI_BOYS.zscore.yearly-6904fabd.js} +0 -0
  202. /package/build/esm/{BMI_GIRLS.percentile.monthly-5832380f.js → BMI_GIRLS.percentile.monthly-7577b1ed.js} +0 -0
  203. /package/build/esm/{BMI_GIRLS.percentile.weekly-2cc558b4.js → BMI_GIRLS.percentile.weekly-e01c9c97.js} +0 -0
  204. /package/build/esm/{BMI_GIRLS.percentile.yearly-39ab9a50.js → BMI_GIRLS.percentile.yearly-987f935b.js} +0 -0
  205. /package/build/esm/{BMI_GIRLS.zscore.monthly-7aa5e382.js → BMI_GIRLS.zscore.monthly-79553b68.js} +0 -0
  206. /package/build/esm/{BMI_GIRLS.zscore.weekly-4ea758d9.js → BMI_GIRLS.zscore.weekly-c6c6b0f2.js} +0 -0
  207. /package/build/esm/{BMI_GIRLS.zscore.yearly-95662df7.js → BMI_GIRLS.zscore.yearly-f5208aab.js} +0 -0
  208. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-87bd0acc.js → HEAD CIRCUM_BOYS.percentile.monthly-039b203d.js} +0 -0
  209. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-7f6e6778.js → HEAD CIRCUM_BOYS.percentile.weekly-cce6caf6.js} +0 -0
  210. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-3fe405d7.js → HEAD CIRCUM_BOYS.percentile.yearly-b172a990.js} +0 -0
  211. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-7591e909.js → HEAD CIRCUM_BOYS.zscore.monthly-8a74a634.js} +0 -0
  212. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-6d099b56.js → HEAD CIRCUM_BOYS.zscore.weekly-ec3573b8.js} +0 -0
  213. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-016dd217.js → HEAD CIRCUM_BOYS.zscore.yearly-0a1c3d2a.js} +0 -0
  214. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-e7991ddc.js → HEAD CIRCUM_GIRLS.percentile.monthly-9d20a7ba.js} +0 -0
  215. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-46b0f9dd.js → HEAD CIRCUM_GIRLS.percentile.weekly-fcd33a72.js} +0 -0
  216. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b760ffde.js → HEAD CIRCUM_GIRLS.percentile.yearly-91fad884.js} +0 -0
  217. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-3b6345ef.js → HEAD CIRCUM_GIRLS.zscore.monthly-9cbb5938.js} +0 -0
  218. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-0f0a3f73.js → HEAD CIRCUM_GIRLS.zscore.weekly-075ebbe6.js} +0 -0
  219. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-21dfba78.js → HEAD CIRCUM_GIRLS.zscore.yearly-eb9ec5ca.js} +0 -0
  220. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f638ffed.js → HEIGHT_BOYS.percentile.monthly-59e18574.js} +0 -0
  221. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-43a0c3b0.js → HEIGHT_BOYS.percentile.weekly-ac420d5f.js} +0 -0
  222. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-1921695e.js → HEIGHT_BOYS.percentile.yearly-55947ef4.js} +0 -0
  223. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-318a412c.js → HEIGHT_BOYS.zscore.monthly-c6654735.js} +0 -0
  224. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-197c21de.js → HEIGHT_BOYS.zscore.weekly-46d99821.js} +0 -0
  225. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-38e92801.js → HEIGHT_BOYS.zscore.yearly-78f44ed0.js} +0 -0
  226. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-13ce64a2.js → HEIGHT_GIRLS.percentile.monthly-0e78952b.js} +0 -0
  227. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-dfcc1da5.js → HEIGHT_GIRLS.percentile.weekly-bf5e6abf.js} +0 -0
  228. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-5781220e.js → HEIGHT_GIRLS.percentile.yearly-2a4ccdfe.js} +0 -0
  229. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-21cd4f77.js → HEIGHT_GIRLS.zscore.monthly-dd55baea.js} +0 -0
  230. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-16b9d785.js → HEIGHT_GIRLS.zscore.weekly-dfbdd090.js} +0 -0
  231. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-e1fa1181.js → HEIGHT_GIRLS.zscore.yearly-eb88b2bf.js} +0 -0
  232. /package/build/esm/{Locale-597e8a2f.js → Locale-4c73b469.js} +0 -0
  233. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-3ded879f.js → WEIGHT_BOYS.percentile.monthly-a1e62ee8.js} +0 -0
  234. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-67dc9cf9.js → WEIGHT_BOYS.percentile.weekly-9fa83745.js} +0 -0
  235. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-17c9b304.js → WEIGHT_BOYS.percentile.yearly-02ce2fd4.js} +0 -0
  236. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-aad5e2a9.js → WEIGHT_BOYS.zscore.monthly-8553e162.js} +0 -0
  237. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-dd4fdda8.js → WEIGHT_BOYS.zscore.weekly-edabaf62.js} +0 -0
  238. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-2e331ddf.js → WEIGHT_BOYS.zscore.yearly-963f7bb6.js} +0 -0
  239. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-229f4a35.js → WEIGHT_GIRLS.percentile.monthly-5a94e572.js} +0 -0
  240. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-064496ed.js → WEIGHT_GIRLS.percentile.weekly-cbdac5e3.js} +0 -0
  241. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-397329b9.js → WEIGHT_GIRLS.percentile.yearly-9e5ffecd.js} +0 -0
  242. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-09a6fc32.js → WEIGHT_GIRLS.zscore.monthly-9ed81c3d.js} +0 -0
  243. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-fe79a902.js → WEIGHT_GIRLS.zscore.weekly-4d3545fa.js} +0 -0
  244. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-71ad793d.js → WEIGHT_GIRLS.zscore.yearly-102f1cd9.js} +0 -0
  245. /package/build/esm/{constants-8bd53831.js → constants-78fc7b33.js} +0 -0
  246. /package/build/esm/{cookieHelper-8dd17c53.js → cookieHelper-b86eea34.js} +0 -0
  247. /package/build/esm/{dataTransform-a2d43770.js → dataTransform-b6680f16.js} +0 -0
  248. /package/build/esm/{isProduction-0f7c16f9.js → isProduction-2b826845.js} +0 -0
  249. /package/build/esm/{lazyLoad-97f7dbd4.js → lazyLoad-1cbfb6f3.js} +0 -0
  250. /package/build/esm/{localizeNumberFormat-33e5e811.js → localizeNumberFormat-1f129a34.js} +0 -0
  251. /package/build/esm/{theme-4a36a09c.js → theme-5b7443ca.js} +0 -0
  252. /package/build/esm/{translationsContext-c5cf6a09.js → translationsContext-e8a3b06e.js} +0 -0
  253. /package/build/esm/{tslib.es6-c7fb770c.js → tslib.es6-cb599e83.js} +0 -0
  254. /package/build/esm/{types-c068aafa.js → types-d6ee09c2.js} +0 -0
  255. /package/build/esm/{useOutsideClick-d2703f2e.js → useOutsideClick-410f2919.js} +0 -0
  256. /package/build/esm/{useScrollbarSize-988623e5.js → useScrollbarSize-0584d7dc.js} +0 -0
  257. /package/build/esm/{utils-a4496303.js → utils-f1c42bae.js} +0 -0
  258. /package/build/{isProduction-69fc41c0.js → isProduction-ff337100.js} +0 -0
  259. /package/build/{lazyLoad-76f23903.js → lazyLoad-22d03412.js} +0 -0
  260. /package/build/{localizeNumberFormat-e4a3a145.js → localizeNumberFormat-3f89f9c9.js} +0 -0
  261. /package/build/{theme-ee07bb4b.js → theme-789ac6c7.js} +0 -0
  262. /package/build/{translationsContext-8d6c61df.js → translationsContext-4f724422.js} +0 -0
  263. /package/build/{tslib.es6-0065074f.js → tslib.es6-4e0178b0.js} +0 -0
  264. /package/build/{types-1895ef72.js → types-e2b2e9c0.js} +0 -0
  265. /package/build/{useOutsideClick-c0e4fa4d.js → useOutsideClick-18786017.js} +0 -0
  266. /package/build/{useScrollbarSize-f805c30e.js → useScrollbarSize-ea23beb1.js} +0 -0
  267. /package/build/{utils-950aead5.js → utils-23712f58.js} +0 -0
@@ -1 +1 @@
1
- import{b as e,c as n,_ as r}from"./tslib.es6-c7fb770c.js";import l,{createContext as t,useContext as i,useRef as o,useState as c,useEffect as d}from"react";import{Carousel as a}from"@mantine/carousel";import{useResizeObserver as u}from"@mantine/hooks";import s from"styled-components";var p,f=s(a.Slide)(p||(p=e([""],[""]))),m=t({}),v=function(e,n){return e>=n?e-n:e},h=function(e){var t=e.children,i=e.blurFromCenter,s=e.blurFromIndex,p=e.blurLength,f=void 0===p?3:p,h=e.maxBlurOpacity,x=void 0===h?.5:h,S=e.onSlideChange,b=e.selectSlideWhenClick,g=n(e,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]),y=u(),C=y[0],k=y[1],w=o(null),E=c(0),F=E[0],I=E[1],L=function(){var e,n,r,l=null===(e=null==w?void 0:w.current)||void 0===e?void 0:e.selectedScrollSnap();I(l);var t=(null===(n=null==w?void 0:w.current)||void 0===n?void 0:n.slideNodes())||[],o=t.length,c=(null===(r=null==w?void 0:w.current)||void 0===r?void 0:r.slidesInView()).length,d=Math.floor(c/2),a=i?s+f-1:d,u=l+a,p=u===o?0:u>o?u-o:u,m=l-a,h=m<0?o+m:m>0?l-a:0,S=Array(2*a+1).fill("").map((function(e,n){return v(h+n,o)}));t.map((function(e,n){if(n===l?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==S.indexOf(n))for(var r=x/f,t=0;t<f;t++){if(n===v(h+t,o)||n===(c=o,(i=p-t)<0?c+i:i)){e.style.opacity=String((t+1)*r);break}e.style.opacity="1"}else e.style.opacity="0";var i,c}))},W={getEmblaApi:function(e){w.current=e},onSlideChange:function(e){L(),null==S||S(e)}};return d((function(){(null==w?void 0:w.current)&&L()}),[k]),l.createElement(m.Provider,{value:{slider:null==w?void 0:w.current,centerSlide:F,selectSlideWhenClick:b}},l.createElement(a,r({ref:C,slideSize:"auto",containScroll:"trimSnaps"},W,g,{loop:!0}),"function"==typeof t?t(F):t))};h.Slide=function(e){var t=e.children,a=e.onClick,u=n(e,["children","onClick"]),s=i(m),p=s.slider,v=s.selectSlideWhenClick,h=o(),x=o(""),S=c(0),b=S[0],g=S[1];d((function(){x.current=String(Math.round(1e4*Math.random()))}),[]),d((function(){var e=(null==p?void 0:p.slideNodes())||[];g(e.findIndex((function(e){return e.dataset.key===x.current})))}),[p]);var y={ref:h,"data-key":x.current,"data-index":b,styles:function(){return{control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}}}};return l.createElement(f,r({},y,u),l.createElement("div",{onClick:function(){v&&(null==p||p.scrollTo(b)),null==a||a(b)}},t))};export{h as C};
1
+ import{b as e,c as n,_ as r}from"./tslib.es6-cb599e83.js";import l,{createContext as t,useContext as i,useRef as o,useState as c,useEffect as d}from"react";import{Carousel as a}from"@mantine/carousel";import{useResizeObserver as u}from"@mantine/hooks";import s from"styled-components";var p,f=s(a.Slide)(p||(p=e([""],[""]))),m=t({}),v=function(e,n){return e>=n?e-n:e},h=function(e){var t=e.children,i=e.blurFromCenter,s=e.blurFromIndex,p=e.blurLength,f=void 0===p?3:p,h=e.maxBlurOpacity,x=void 0===h?.5:h,S=e.onSlideChange,b=e.selectSlideWhenClick,g=n(e,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]),y=u(),C=y[0],k=y[1],w=o(null),E=c(0),F=E[0],I=E[1],L=function(){var e,n,r,l=null===(e=null==w?void 0:w.current)||void 0===e?void 0:e.selectedScrollSnap();I(l);var t=(null===(n=null==w?void 0:w.current)||void 0===n?void 0:n.slideNodes())||[],o=t.length,c=(null===(r=null==w?void 0:w.current)||void 0===r?void 0:r.slidesInView()).length,d=Math.floor(c/2),a=i?s+f-1:d,u=l+a,p=u===o?0:u>o?u-o:u,m=l-a,h=m<0?o+m:m>0?l-a:0,S=Array(2*a+1).fill("").map((function(e,n){return v(h+n,o)}));t.map((function(e,n){if(n===l?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==S.indexOf(n))for(var r=x/f,t=0;t<f;t++){if(n===v(h+t,o)||n===(c=o,(i=p-t)<0?c+i:i)){e.style.opacity=String((t+1)*r);break}e.style.opacity="1"}else e.style.opacity="0";var i,c}))},W={getEmblaApi:function(e){w.current=e},onSlideChange:function(e){L(),null==S||S(e)}};return d((function(){(null==w?void 0:w.current)&&L()}),[k]),l.createElement(m.Provider,{value:{slider:null==w?void 0:w.current,centerSlide:F,selectSlideWhenClick:b}},l.createElement(a,r({ref:C,slideSize:"auto",containScroll:"trimSnaps"},W,g,{loop:!0}),"function"==typeof t?t(F):t))};h.Slide=function(e){var t=e.children,a=e.onClick,u=n(e,["children","onClick"]),s=i(m),p=s.slider,v=s.selectSlideWhenClick,h=o(),x=o(""),S=c(0),b=S[0],g=S[1];d((function(){x.current=String(Math.round(1e4*Math.random()))}),[]),d((function(){var e=(null==p?void 0:p.slideNodes())||[];g(e.findIndex((function(e){return e.dataset.key===x.current})))}),[p]);var y={ref:h,"data-key":x.current,"data-index":b,styles:function(){return{control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}}}};return l.createElement(f,r({},y,u),l.createElement("div",{onClick:function(){v&&(null==p||p.scrollTo(b)),null==a||a(b)}},t))};export{h as C};
@@ -1 +1 @@
1
- import{b as e}from"./tslib.es6-c7fb770c.js";import n from"react";import t from"styled-components";var a,i=t.label(a||(a=e(["\n &[data-size='label1'] {\n font-size: 14px;\n line-height: 22px;\n }\n &[data-size='label2'] {\n font-size: 13px;\n line-height: 19px;\n }\n"],["\n &[data-size='label1'] {\n font-size: 14px;\n line-height: 22px;\n }\n &[data-size='label2'] {\n font-size: 13px;\n line-height: 19px;\n }\n"]))),l=function(e){var t=e.children,a=e.className,l=e.style,s=e.htmlFor,o=e.size;return n.createElement(i,{"data-size":o,className:a,style:l,htmlFor:s},t)};export{l as L};
1
+ import{b as e}from"./tslib.es6-cb599e83.js";import n from"react";import t from"styled-components";var a,i=t.label(a||(a=e(["\n &[data-size='label1'] {\n font-size: 14px;\n line-height: 22px;\n }\n &[data-size='label2'] {\n font-size: 13px;\n line-height: 19px;\n }\n"],["\n &[data-size='label1'] {\n font-size: 14px;\n line-height: 22px;\n }\n &[data-size='label2'] {\n font-size: 13px;\n line-height: 19px;\n }\n"]))),l=function(e){var t=e.children,a=e.className,l=e.style,s=e.htmlFor,o=e.size;return n.createElement(i,{"data-size":o,className:a,style:l,htmlFor:s},t)};export{l as L};
@@ -0,0 +1 @@
1
+ import{b as n,c as e,_ as t}from"./tslib.es6-cb599e83.js";import o,{useState as i}from"react";import{L as a}from"./index-dba60333.js";import{M as r}from"./utils-f1c42bae.js";import s from"styled-components";var l=s.div(p||(p=n(["\n position: relative;\n width: 100%;\n\n &[data-has-error] {\n input {\n border-color: ",";\n }\n }\n\n input {\n width: 100%;\n padding: 12px 16px;\n border: solid 1px ",";\n border-radius: 6px;\n\n &:active,\n &:focus,\n .focused & {\n border-color: ",";\n box-shadow: 0px 0px 2px 2px ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: not-allowed;\n }\n }\n\n &[data-has-action-icon] {\n input {\n padding: 12px 48px 12px 16px;\n }\n }\n &[data-has-display-icon] {\n input {\n padding: 12px 16px 12px 48px;\n }\n }\n\n &[data-has-action-icon][data-has-display-icon] {\n input {\n padding: 12px 48px;\n }\n }\n\n &[data-size='lg'] {\n input {\n font-size: 16px;\n font-weight: ",";\n "," {\n font-size: 22px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 26px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='md'] {\n input {\n font-weight: ",";\n "," {\n font-size: 14px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 16px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='sm'] {\n input {\n font-weight: ",";\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n }\n }\n"],["\n position: relative;\n width: 100%;\n\n &[data-has-error] {\n input {\n border-color: ",";\n }\n }\n\n input {\n width: 100%;\n padding: 12px 16px;\n border: solid 1px ",";\n border-radius: 6px;\n\n &:active,\n &:focus,\n .focused & {\n border-color: ",";\n box-shadow: 0px 0px 2px 2px ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: not-allowed;\n }\n }\n\n &[data-has-action-icon] {\n input {\n padding: 12px 48px 12px 16px;\n }\n }\n &[data-has-display-icon] {\n input {\n padding: 12px 16px 12px 48px;\n }\n }\n\n &[data-has-action-icon][data-has-display-icon] {\n input {\n padding: 12px 48px;\n }\n }\n\n &[data-size='lg'] {\n input {\n font-size: 16px;\n font-weight: ",";\n "," {\n font-size: 22px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 26px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='md'] {\n input {\n font-weight: ",";\n "," {\n font-size: 14px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 16px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='sm'] {\n input {\n font-weight: ",";\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n }\n }\n"])),(function(n){return n.theme.colors.red700}),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.gray100}),(function(n){return n.theme.sizes.fwRegular}),r.mbDown,r.mbUp,(function(n){return n.theme.sizes.fwRegular}),r.mbDown,r.mbUp,(function(n){return n.theme.sizes.fwRegular}),r.mbDown,r.mbUp);s.label(d||(d=n(["\n display: inline-block;\n margin-bottom: 4px;\n color: ",";\n font-weight: ",";\n"],["\n display: inline-block;\n margin-bottom: 4px;\n color: ",";\n font-weight: ",";\n"])),(function(n){return n.theme.colors.gray600}),(function(n){return n.theme.sizes.fwBold}));var p,d,c,u,h,f=s.label(c||(c=n(["\n color: ",";\n font-weight: ",";\n"],["\n color: ",";\n font-weight: ",";\n"])),(function(n){return n.theme.colors.red700}),(function(n){return n.theme.sizes.fwRegular})),m=s.div(u||(u=n(["\n position: absolute;\n top: 50%;\n right: 16px;\n display: inline-flex;\n cursor: pointer;\n transform: translateY(-50%);\n"],["\n position: absolute;\n top: 50%;\n right: 16px;\n display: inline-flex;\n cursor: pointer;\n transform: translateY(-50%);\n"]))),x=s.div(h||(h=n(["\n position: absolute;\n top: 50%;\n left: 16px;\n display: inline-flex;\n cursor: default;\n transform: translateY(-50%);\n"],["\n position: absolute;\n top: 50%;\n left: 16px;\n display: inline-flex;\n cursor: default;\n transform: translateY(-50%);\n"]))),g=o.forwardRef((function(n,r){var s=n.name,p=n.errorMessage,d=n.autoComplete,c=void 0===d?"off":d,u=n.defaultValue,h=n.actionIcon,g=n.displayIcon,b=n.isDeleteAction,y=n.onActionClick,z=n.label,w=n.placeholder,v=n.className,C=n.onChange,N=n.onKeyPress,I=n.isDisabled,K=n.CustomInput,k=n.size,D=n.style,E=n.autoFocus,F=n.type,P=void 0===F?"text":F,R=n.isNumerousKeyboard,A=void 0!==R&&R,M=n.onFocus,Y=n.enterKeyHint,j=n.nativeOnChange,H=e(n,["name","errorMessage","autoComplete","defaultValue","actionIcon","displayIcon","isDeleteAction","onActionClick","label","placeholder","className","onChange","onKeyPress","isDisabled","CustomInput","size","style","autoFocus","type","isNumerousKeyboard","onFocus","enterKeyHint","nativeOnChange"]),L=i(u),U=L[0],B=L[1];return o.createElement(l,{"data-size":k,className:v,"data-has-action-icon":!!h||void 0,"data-has-display-icon":!!g||void 0,"data-has-error":p&&p.length>0||void 0,style:D},z&&o.createElement(a,{size:"label2",htmlFor:s,className:"inputLabel"},z),o.createElement("div",{style:{position:"relative"}},K||o.createElement("input",t({id:s,name:s,placeholder:w,onChange:null!=j?j:function(n){return e=n.target.value,B(e),void C(e);var e},onKeyPress:N,type:P,"aria-label":P,disabled:I,value:U,autoComplete:c,ref:r,autoFocus:E,inputMode:A||"number"===P?"numeric":P,pattern:A?"[0-9]*":".*",onFocus:M,enterKeyHint:Y},H)),g&&o.createElement(x,{className:"displayIcon"},g),h&&o.createElement(m,{className:"actionIcon",onClick:function(){var n;b&&(B(""),null===(n=r.current)||void 0===n||n.focus()),y&&y()}},h)),p&&p.length>0&&o.createElement(f,{className:"errorLabel"},p))}));g.displayName="PureInput";export{g as P};
@@ -1 +1 @@
1
- import{_ as e,b as t,d as i,e as o}from"./tslib.es6-c7fb770c.js";import n,{useState as r,useEffect as a,createContext as l,useContext as s}from"react";import{S as u}from"./index-27d646df.js";import{M as d}from"./utils-a4496303.js";import c from"styled-components";import{g as m}from"./cookieHelper-8dd17c53.js";import p from"slugify";import _ from"string-format";var v,g,h={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},E=function(t){var i=t.type,o=void 0===i?"square":i,l=t.size,s=t.avatarImg,d=t.avatarUrl,c=t.firstLetter,m=t.backgroundColor,p=t.onClick,_=t.style,v=t.className,g=t.isAmp,E=void 0!==g&&g,T=t.width,f=t.height,b=l?h[l]:void 0,y=r(!1),A=y[0],w=y[1];a((function(){if(d){var e=document.createElement("img");e.setAttribute("src",d),e.addEventListener("error",(function(){w(!0)}))}}),[d,w]);var O=(!d&&!s||A)&&c;return n.createElement(u,{style:e(e({},_),{"--size":!E&&b?b+"px":void 0,"--width-prop":T?T+"px":void 0,"--height-prop":f?f+"px":void 0,"--background-color":m}),"data-has-max":!(!T||!f),"data-avatar-type":o,onClick:p,className:v,avatarUrl:d,"data-is-amp":E,"data-custom-size":!!l},s,d&&!A&&n.createElement("img",{src:d}),O&&c)},T=c.div(v||(v=t(["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.gray200}),d.mbDown,d.mbDown,d.mbUp),f=c.div(g||(g=t(["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"]))),b=function(e){var t=e.type,i=void 0===t?"lead":t,o=e.closeIcon,r=e.isOpen,a=void 0===r||r,l=e.onClose,s=e.children,u=e.className,d=void 0===u?"":u,c=e.enableAnimation,m=void 0===c||c;return n.createElement(n.Fragment,null,n.createElement(T,{"data-open":a,"data-type":i,"data-animation":m},n.createElement("div",{className:"".concat(d||""," popup-content")},!!o&&n.createElement("div",{className:"close-button",onClick:l},o),s)),n.createElement(f,{"data-open":a,onClick:l}))},y="DD/MM/YYYY",A="/images/avatar.jpg",w="/images/default-image.jpg",O={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR"},I={"id-ID":{"kalkulator-bmi":O.BMI,"kebutuhan-kalori":O.BMR,"kalkulator-hari-perkiraan-lahir":O.DUE_DATE,"kalkulator-masa-subur-2":O.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":O.PWG,"kalkulator-detak-jantung-saat-olahraga":O.THR},"ms-MY":{"kalkulator-bmi":O.BMI,"kalkulator-bmr":O.BMR,"kalkulator-tarikh-bersalin":O.DUE_DATE,"kalkulator-kesuburan":O.OVULATION,"kalkulator-tambah-berat-badan-hamil":O.PWG,"target-heart-rate-calculator":O.THR},"vi-VN":{"cach-tinh-chi-so-bmi":O.BMI,"tinh-chi-so-bmr":O.BMR,"cong-cu-tinh-ngay-du-sinh":O.DUE_DATE,"tinh-ngay-rung-trung":O.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":O.PWG,"cong-cu-do-nhip-tim":O.THR},"zh-TW":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"en-PH":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":O.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":O.BMR,"เครื่องมือคำนวณกำหนดคลอด":O.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":O.OVULATION,"เครื่องคำนวณน้ำหนักตัว":O.PWG,"เครื่องวัดอัตราการเต้น":O.THR},"hi-IN":{"bmi-calculator-en":O.BMI,"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"delivery-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"km-KH":{"គណនា-bmi":O.BMI,"គណនា-bmr":O.BMR,"គណនាថ្ងៃសម្រាលកូន":O.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":O.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":O.PWG,"គណនារកចង្វាក់បេះដូងល្អ":O.THR},"my-MM":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calendar":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnaancy-weight-calculator":O.PWG,"target-heartrate":O.THR,"pregnancy-weight-calculator":O.PWG,"target-heart-rate":O.THR}},L="hhg_user_token",S="together_admin_token",R={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},k=20,P={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}},D=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:y,DEFAULT_AVATAR_IMG:A,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:w,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:O,LOCALE_HEALTH_TOOLS:I,BEARER_TOKEN_COOKIE:L,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:S,Z_INDEX:{adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:R,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:P}),x=function(e){return e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||""}:{}},C=function(e){return e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{}},N=function(t){var i,o,n,r;return t?{id:t.ID,postName:t.post_name,sponsor:t.sponsor?M(t.sponsor):null,isSponsored:t.is_sponsored||null,postTitle:t.post_title||"",postModified:t.post_modified||"",postDate:t.post_date||"",modifiedTime:t.modified_time||"",permalink:t.permalink||"",featureImage:t.image||null,featureImageMobile:t.image_medium||null,featureImageMobileXs:t.image_thumbnail||null,author:x(t.author),reviewer:t.reviewed_by&&x(t.reviewed_by)||null,articleReviewed:(null==t?void 0:t.reviewed)?e(e({},null==t?void 0:t.reviewed),{author:G(null===(i=null==t?void 0:t.reviewed)||void 0===i?void 0:i.author),editor:G(null===(o=null==t?void 0:t.reviewed)||void 0===o?void 0:o.editor),expert:G(null===(n=null==t?void 0:t.reviewed)||void 0===n?void 0:n.expert),fact_check:G(null===(r=null==t?void 0:t.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:B(t.category),postContent:t.post_content||null,sections:t.sections||null,categories:(t.categories||[]).map(B),sources:t.sources||null,description:t.description||null,excerpt:t.excerpt||null,expert:C(t.expert),metaTag:t.meta_tag||null}:{}},G=function(t){return void 0!==t&&t?e(e({},t),{profile_url:(null==t?void 0:t.slug)?["expert","medical"].includes((null==t?void 0:t.role)||"")?"/expert/".concat(null==t?void 0:t.slug):"/author/".concat(null==t?void 0:t.slug):t.profile_url}):null},M=function(e){return e?{title:e.title,logo:e.logo,link:e.link}:{}},U=function(e){return{postTitle:e.post_title,permalink:e.permalink}},B=function(e){var t,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?M(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((function(e){return B(e)})))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(i=e.cat_parent)||void 0===i?void 0:i.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?U(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return H(e)})):null}:{}},H=function(e){return{title:e.title,content:e.content}},F=function(e){return e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{}},V=function(e){return e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},K=function(e){var t,i,o,n;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(i=e.community)||void 0===i?void 0:i.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.slug,communityName:null===(n=e.community)||void 0===n?void 0:n.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},Y=function(e){var t,i,o,n,r,a,l,s,u,d,c,m,p,_,v,g,h,E,T,f,b;return e?{id:e.id,topics:(null===(t=e.topics)||void 0===t?void 0:t.map((function(t){var i,o,n,r;return{id:t.id||0,name:t.name||"",slug:t.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+t.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",communityName:(null===(r=e.community)||void 0===r?void 0:r.name)||"",isHidden:Boolean(t.is_hidden),isActive:!0}})))||[],community:{id:(null===(i=e.community)||void 0===i?void 0:i.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.name)||"",slug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",isActive:!0,isHidden:Boolean(null===(r=e.community)||void 0===r?void 0:r.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(l=e.user)||void 0===l?void 0:l.user_name)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(d=e.user)||void 0===d?void 0:d.avatar)||"",role:(null===(c=e.user)||void 0===c?void 0:c.role)?null===(p=null===(m=e.user)||void 0===m?void 0:m.role)||void 0===p?void 0:p.toLowerCase():"",type:(null===(_=e.user)||void 0===_?void 0:_.type)||"",partnerId:(null===(v=e.user)||void 0===v?void 0:v.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(h=e.user)||void 0===h?void 0:h.title)||"",doctorId:(null===(E=e.user)||void 0===E?void 0:E.doctor_id)?String(null===(T=e.user)||void 0===T?void 0:T.doctor_id):"",hospitalId:(null===(f=e.user)||void 0===f?void 0:f.hospital_id)?String(null===(b=e.user)||void 0===b?void 0:b.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||""}:{}},j=function(e){return e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.info||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{}},z=function(e){var t,i,o,n,r,a,l,s,u,d,c,m,p,_,v,g,h,E,T,f,b,y,A,w,O,I,L,S,R,k,P,D;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(z):[],author:{id:(null===(t=e.user)||void 0===t?void 0:t.id)||0,username:(null===(i=e.user)||void 0===i?void 0:i.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.name)||"",role:(null===(n=e.user)||void 0===n?void 0:n.role)?null===(a=null===(r=e.user)||void 0===r?void 0:r.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(l=e.user)||void 0===l?void 0:l.avatar)||"",type:(null===(s=e.user)||void 0===s?void 0:s.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(d=e.user)||void 0===d?void 0:d.partner_id)?String(null===(c=e.user)||void 0===c?void 0:c.partner_id):"",title:(null===(m=e.user)||void 0===m?void 0:m.title)||"",doctorId:(null===(p=e.user)||void 0===p?void 0:p.doctor_id)?String(null===(_=e.user)||void 0===_?void 0:_.doctor_id):"",hospitalId:(null===(v=e.user)||void 0===v?void 0:v.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(h=e.mentioned)||void 0===h?void 0:h.id)||0,username:(null===(E=e.mentioned)||void 0===E?void 0:E.user_name)||"",name:(null===(T=e.mentioned)||void 0===T?void 0:T.name)||"",role:(null===(f=e.mentioned)||void 0===f?void 0:f.role)?null===(y=null===(b=e.mentioned)||void 0===b?void 0:b.role)||void 0===y?void 0:y.toLowerCase():"",avatar:(null===(A=e.mentioned)||void 0===A?void 0:A.avatar)||"",type:(null===(w=e.mentioned)||void 0===w?void 0:w.type)||"",email:(null===(O=e.mentioned)||void 0===O?void 0:O.email)||"",partnerId:(null===(I=e.mentioned)||void 0===I?void 0:I.partner_id)?String(null===(L=e.mentioned)||void 0===L?void 0:L.partner_id):"",doctorId:(null===(S=e.mentioned)||void 0===S?void 0:S.doctor_id)?String(null===(R=e.mentioned)||void 0===R?void 0:R.doctor_id):"",hospitalId:(null===(k=e.mentioned)||void 0===k?void 0:k.hospital_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.hospital_id):"",title:(null===(D=e.mentioned)||void 0===D?void 0:D.title)||""}:null,mentions:e.mentions||[]}:{}},W=function(e){return void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?"/expert/".concat(null==e?void 0:e.slug):"/author/".concat(null==e?void 0:e.slug):(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":""},X=Object.freeze({__proto__:null,formatAuthor:x,formatArticleExpert:C,formatArticle:N,formatUserProfile:G,formatBMIResult:function(e){var t,i,o,n,r,a,l,s,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(t=null==e?void 0:e.comparison)&&void 0!==t?t:"",assessmentData:[{tab:"tools.condition",content:null!==(i=null==e?void 0:e.condition)&&void 0!==i?i:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{tab:"tools.suggestion",content:null!==(n=null==e?void 0:e.suggestion)&&void 0!==n?n:""}],chartData:(null===(r=null==e?void 0:e.chart_data)||void 0===r?void 0:r.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(l=null==e?void 0:e.illustrator)&&void 0!==l?l:"",faqs:null!==(s=null==e?void 0:e.faqs)&&void 0!==s?s:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:M,formatReviewedCategory:U,formatCategory:B,formatCategoryApi:function(e){return e?{categoryInfo:B(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(N),subCategories:(e.data.sub_categories||[]).map(B)}:{}},formatFaqsCategory:H,formatHealthTool:F,formatHealthToolTypeCategory:function(e){var t,i;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(i=null===(t=null==e?void 0:e.health_tools)||void 0===t?void 0:t.map((function(e){return F(e)})))&&void 0!==i?i:[]}:{}},formatCommunity:V,formatTopic:K,formatPost:Y,formatPostPagination:function(e){return e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{}},formatNotification:function(e){var t,i,o;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(t=e.from_user)||void 0===t?void 0:t.name,id:null===(i=e.from_user)||void 0===i?void 0:i.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:function(e){return e?e.map((function(e){return{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}})):[]},formatOvulationInfo:j,formatSuggestedArticle:function(e){return e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{}},formatTopicHealthTool:function(e){return e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{}},formatComment:z,formatReportedPostToPostDetail:function(e){return e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{}},formatTopicSubot:function(e){return e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{}},formatSiteWideBanner:function(e,t){return void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:t||"other"}:null},formatPWGContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?G(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatUserProfileUrl:W,formatTHRContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?G(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatBabyGrowthContent:function(e){var t,i,o;return e&&e.information?{information:null!==(t=e.information.map((function(e){return{title:e.title,description:e.description}})))&&void 0!==t?t:[],reviewBy:{reviewer:(null===(i=e.reviewed_by)||void 0===i?void 0:i.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:W(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}}),q={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info"},$={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},J={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},Z={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Q=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||oe,n=0;for(;n<e.length;){var r=e.indexOf("=",n);if(-1===r)break;var a=e.indexOf(";",n);if(-1===a)a=e.length;else if(a<r){n=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(n,r).trim();if(void 0===i[l]){var s=e.slice(r+1,a).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[l]=re(s,o)}n=a+1}return i},ee=function(e,t,i){var o=i||{},n=o.encode||ne;if("function"!=typeof n)throw new TypeError("option encode is invalid");if(!ie.test(e))throw new TypeError("argument name is invalid");var r=n(t);if(r&&!ie.test(r))throw new TypeError("argument val is invalid");var a=e+"="+r;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(l)}if(o.domain){if(!ie.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain="+o.domain}if(o.path){if(!ie.test(o.path))throw new TypeError("option path is invalid");a+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===te.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");a+="; Expires="+s.toUTCString()}o.httpOnly&&(a+="; HttpOnly");o.secure&&(a+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":a+="; Priority=Low";break;case"medium":a+="; Priority=Medium";break;case"high":a+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},te=Object.prototype.toString,ie=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function oe(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function ne(e){return encodeURIComponent(e)}function re(e,t){try{return t(e)}catch(t){return e}}var ae={parse:Q,serialize:ee},le={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},se={"vi-VN":"marrybaby.vn"},ue=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",de=function(e){var t=Re.env.isMarryBaby;return"https://".concat(t?se[e]:le[e])},ce=function(e){var t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},me=function(e){var t=Re.env.isMarryBaby;if("undefined"!=typeof window)return window.location.origin;var i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":"https://".concat(i?t?"fe.":"discover.":t?"www.":"").concat(le[e])},pe=function(t,i,o){var n="";o&&(n=Object.keys(o).map((function(e){return e+"="+o[e]})).join("&"));var r=((null==Re?void 0:Re.env)||{}).togetherBaseApiUrl,a=void 0===r?"":r,l=_(t,e(e({},(null==i?void 0:i._locale)?{website_url:de(String(i._locale))}:{}),i));return l+="".concat(l.includes("?")?"&":"?").concat(n),a+"api/v1/"+ce(l)},_e=function(t,i){var o=((null==Re?void 0:Re.env)||{}).discoverBaseApiUrl;return(void 0===o?"":o)+"wp-json/api/"+ce(_(t,e({},i)))},ve=function(t,i){var o=((null==Re?void 0:Re.env)||{}).careBaseApiUrl;return((void 0===o?"":o)||"https://service-health-care.hellohealthgroup.com/")+ce(_(t,e({},i)))},ge=function(e){return(null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e},he=function(t,n,r,a){return void 0===a&&(a=!1),i(void 0,void 0,void 0,(function(){var i,l,s,u,d;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,fetch(a?t:(c=t,encodeURI(c).replace(/%5B/g,"[").replace(/%5D/g,"]")),e(e({method:n},ge(r)),{headers:e({},null==r?void 0:r.headers)})).then((function(e){return e.json()}))];case 1:return(i=o.sent())?[2,i]:[3,3];case 2:return l=o.sent(),console.log(l),console.log({url:t,status:null===(s=null==l?void 0:l.response)||void 0===s?void 0:s.status,statusText:null===(u=null==l?void 0:l.response)||void 0===u?void 0:u.statusText}),[2,(null===(d=null==l?void 0:l.response)||void 0===d?void 0:d.data)||null];case 3:return[2,null]}var c}))}))},Ee=function(t,n,r,a){return void 0===n&&(n="GET"),i(void 0,void 0,void 0,(function(){var i,l,s,u,d,c,p,_,v,g,h,E,T,f;return o(this,(function(o){switch(o.label){case 0:if(o.trys.push([0,7,,8]),i="string"==typeof t?t:t.url,l="string"==typeof t?t:t.backupUrl,s=ae.parse(a||""),u=s[L],!(d=u||m(L))||!d.length)return[3,5];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,fetch(i,e(e({method:n},ge(r)),{headers:e({Authorization:"Bearer "+d},null==r?void 0:r.headers)})).then((function(e){return e.json()}))];case 2:return c=o.sent(),(null===(v=null==c?void 0:c.messages)||void 0===v?void 0:v.find((function(e){return"Unauthenticated"===(null==e?void 0:e.toLowerCase())})))?[2,he(l||i,n,r)]:c?[2,c]:[3,4];case 3:return p=o.sent(),console.log({status:null===(g=null==p?void 0:p.response)||void 0===g?void 0:g.status,statusText:null===(h=null==p?void 0:p.response)||void 0===h?void 0:h.statusText}),[2,he(l||i,n,r)];case 4:return[3,6];case 5:return[2,he(l||i,n,r)];case 6:return[3,8];case 7:return _=o.sent(),console.log({status:null===(E=null==_?void 0:_.response)||void 0===E?void 0:E.status,statusText:null===(T=null==_?void 0:_.response)||void 0===T?void 0:T.statusText}),[2,(null===(f=null==_?void 0:_.response)||void 0===f?void 0:f.data)||null];case 8:return[2,null]}}))}))},Te=function(t,n,r,a){return i(void 0,void 0,void 0,(function(){var i,l,s,u;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),i=ae.parse(a||""),l=i[L],(s=l||m(L))&&s.length?[4,fetch(t,e(e({method:n},ge(r)),{headers:e({Authorization:"Bearer "+s},null==r?void 0:r.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=o.sent())return[2,u];o.label=2;case 2:return[3,4];case 3:return o.sent(),[2,null];case 4:return[2,null]}}))}))},fe=function(t,n,r,a){return i(void 0,void 0,void 0,(function(){var i,l,s,u;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),i=ae.parse(a||""),l=i[S],(s=l||m(S))&&s.length?[4,fetch(t,e(e({method:n},ge(r)),{headers:e({Authorization:"Bearer "+s},null==r?void 0:r.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=o.sent())return[2,u];o.label=2;case 2:return[3,4];case 3:return o.sent(),[2,null];case 4:return[2,null]}}))}))};function be(e,t,i){var o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),n=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+n+t+"="+i}var ye,Ae=function(e,t,i){void 0===i&&(i="/community");var o=e||("undefined"!=typeof window?window.location.href:"/"),n="undefined"!=typeof window?window.location.origin:"";return n||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(n=e.split("/").slice(0,3).join("/")),function(e,t){var i=Re.env.publicSSO,o=e||window.location.href;return t&&Object.keys(t).map((function(e){be(o,e,t[e])})),be(o,"source","communities"),i?"".concat(i,"?returnUrl=").concat(encodeURIComponent(o.toString())):o}("".concat(n).concat(i,"/on-boarding?return=").concat(encodeURIComponent(o)),t)},we=function(e,t,i,o){return i&&t?"".concat(i,"-").concat(t):"".concat(p(e||"",{lower:!0,locale:o||ue}),"-").concat(t)},Oe=function(e){var t,i=e.name,o=e.id,n=e.locale;return"/care/".concat(null===(t=P[n||"vi-VN"])||void 0===t?void 0:t.DOCTOR,"/").concat(we(i,o))},Ie=function(e){var t,i=e.name,o=e.id,n=e.slug,r=e.locale;return"/care/".concat(null===(t=P[r||"vi-VN"])||void 0===t?void 0:t.HOSPITAL,"/").concat(we(i,o,n))},Le={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},Se=l({data:Le,action:{pushNotifications:function(e){return e},sanitizeFunction:function(e){return e}}}),Re=Le,ke=function(e){var t=e.locale,i=void 0===t?"vi-VN":t,o=e.children,l=e.userInfo,s=e.router,u=e.env,d=void 0===u?{isMarryBaby:!1,togetherBasePath:"/community"}:u,c=e.sanitizeFunction,m=void 0===c?function(e){return e}:c,p=e.pushNotifications,_=void 0===p?function(){return!1}:p,v=r(),g=v[0],h=v[1];return Re={userInfo:l,locale:i,togetherUserId:g,router:s,env:d},a((function(){(null==l?void 0:l.id)&&Te(pe(q.PROFILE,{_locale:i}),"GET").then((function(e){var t;h(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==l?void 0:l.id]),n.createElement(Se.Provider,{value:{data:{userInfo:l,locale:i,togetherUserId:g,router:s,env:d},action:{pushNotifications:_,sanitizeFunction:m}}},o)},Pe=c.div(ye||(ye=t(["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"],["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.colors.secondaryBase}),(function(e){return e.theme.mbColors.pink})),De=function(e){var t=e.className,i=e.isMarryBaby,o=e.style,l=e.avatar,u=e.username,d=e.isLazy,c=s(Se).data.env.isMarryBaby,m="boolean"==typeof i?i:c,p=r(!1),_=p[0],v=p[1];return a((function(){var e=new Image;e.onerror=function(){v(!0)},e.src=l}),[]),n.createElement(Pe,{"data-is-marrybaby":m,className:t,style:o},l&&!_?n.createElement("img",{src:d?void 0:l,"data-src":d?l:void 0,className:"avatar ".concat(d?"lazy":""),alt:"avatar",onError:function(){v(!0)}}):n.createElement("div",{className:"avatar avatar-default"},u&&(null==u?void 0:u.length)>0?u[0].toUpperCase():"A"))};export{E as A,L as B,$ as C,Le as D,Ee as E,Re as G,O as H,k as M,b as P,R,Se as T,De as U,ke as a,y as b,D as c,X as d,j as e,W as f,V as g,Y as h,Ae as i,w as j,he as k,pe as l,q as m,me as n,ve as o,le as p,Ie as q,Oe as r,_e as s,J as t,Z as u,fe as v,Te as w,K as x,A as y,z};
1
+ import{_ as e,b as t,d as i,e as o}from"./tslib.es6-cb599e83.js";import n,{useState as r,useEffect as a,createContext as l,useContext as s}from"react";import{S as u}from"./index-23411e1f.js";import{M as d}from"./utils-f1c42bae.js";import c from"styled-components";import{g as m}from"./cookieHelper-b86eea34.js";import p from"slugify";import _ from"string-format";var v,g,h={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},E=function(t){var i=t.type,o=void 0===i?"square":i,l=t.size,s=t.avatarImg,d=t.avatarUrl,c=t.firstLetter,m=t.backgroundColor,p=t.onClick,_=t.style,v=t.className,g=t.isAmp,E=void 0!==g&&g,T=t.width,f=t.height,b=l?h[l]:void 0,y=r(!1),A=y[0],w=y[1];a((function(){if(d){var e=document.createElement("img");e.setAttribute("src",d),e.addEventListener("error",(function(){w(!0)}))}}),[d,w]);var O=(!d&&!s||A)&&c;return n.createElement(u,{style:e(e({},_),{"--size":!E&&b?b+"px":void 0,"--width-prop":T?T+"px":void 0,"--height-prop":f?f+"px":void 0,"--background-color":m}),"data-has-max":!(!T||!f),"data-avatar-type":o,onClick:p,className:v,avatarUrl:d,"data-is-amp":E,"data-custom-size":!!l},s,d&&!A&&n.createElement("img",{src:d}),O&&c)},T=c.div(v||(v=t(["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.gray200}),d.mbDown,d.mbDown,d.mbUp),f=c.div(g||(g=t(["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"]))),b=function(e){var t=e.type,i=void 0===t?"lead":t,o=e.closeIcon,r=e.isOpen,a=void 0===r||r,l=e.onClose,s=e.children,u=e.className,d=void 0===u?"":u,c=e.enableAnimation,m=void 0===c||c;return n.createElement(n.Fragment,null,n.createElement(T,{"data-open":a,"data-type":i,"data-animation":m},n.createElement("div",{className:"".concat(d||""," popup-content")},!!o&&n.createElement("div",{className:"close-button",onClick:l},o),s)),n.createElement(f,{"data-open":a,onClick:l}))},y="DD/MM/YYYY",A="/images/avatar.jpg",w="/images/default-image.jpg",O={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR"},I={"id-ID":{"kalkulator-bmi":O.BMI,"kebutuhan-kalori":O.BMR,"kalkulator-hari-perkiraan-lahir":O.DUE_DATE,"kalkulator-masa-subur-2":O.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":O.PWG,"kalkulator-detak-jantung-saat-olahraga":O.THR},"ms-MY":{"kalkulator-bmi":O.BMI,"kalkulator-bmr":O.BMR,"kalkulator-tarikh-bersalin":O.DUE_DATE,"kalkulator-kesuburan":O.OVULATION,"kalkulator-tambah-berat-badan-hamil":O.PWG,"target-heart-rate-calculator":O.THR},"vi-VN":{"cach-tinh-chi-so-bmi":O.BMI,"tinh-chi-so-bmr":O.BMR,"cong-cu-tinh-ngay-du-sinh":O.DUE_DATE,"tinh-ngay-rung-trung":O.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":O.PWG,"cong-cu-do-nhip-tim":O.THR},"zh-TW":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"en-PH":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":O.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":O.BMR,"เครื่องมือคำนวณกำหนดคลอด":O.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":O.OVULATION,"เครื่องคำนวณน้ำหนักตัว":O.PWG,"เครื่องวัดอัตราการเต้น":O.THR},"hi-IN":{"bmi-calculator-en":O.BMI,"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"delivery-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"km-KH":{"គណនា-bmi":O.BMI,"គណនា-bmr":O.BMR,"គណនាថ្ងៃសម្រាលកូន":O.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":O.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":O.PWG,"គណនារកចង្វាក់បេះដូងល្អ":O.THR},"my-MM":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calendar":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnaancy-weight-calculator":O.PWG,"target-heartrate":O.THR,"pregnancy-weight-calculator":O.PWG,"target-heart-rate":O.THR}},L="hhg_user_token",S="together_admin_token",R={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},k=20,P={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}},D=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:y,DEFAULT_AVATAR_IMG:A,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:w,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:O,LOCALE_HEALTH_TOOLS:I,BEARER_TOKEN_COOKIE:L,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:S,Z_INDEX:{adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:R,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:P}),x=function(e){return e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||""}:{}},C=function(e){return e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{}},N=function(t){var i,o,n,r;return t?{id:t.ID,postName:t.post_name,sponsor:t.sponsor?M(t.sponsor):null,isSponsored:t.is_sponsored||null,postTitle:t.post_title||"",postModified:t.post_modified||"",postDate:t.post_date||"",modifiedTime:t.modified_time||"",permalink:t.permalink||"",featureImage:t.image||null,featureImageMobile:t.image_medium||null,featureImageMobileXs:t.image_thumbnail||null,author:x(t.author),reviewer:t.reviewed_by&&x(t.reviewed_by)||null,articleReviewed:(null==t?void 0:t.reviewed)?e(e({},null==t?void 0:t.reviewed),{author:G(null===(i=null==t?void 0:t.reviewed)||void 0===i?void 0:i.author),editor:G(null===(o=null==t?void 0:t.reviewed)||void 0===o?void 0:o.editor),expert:G(null===(n=null==t?void 0:t.reviewed)||void 0===n?void 0:n.expert),fact_check:G(null===(r=null==t?void 0:t.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:B(t.category),postContent:t.post_content||null,sections:t.sections||null,categories:(t.categories||[]).map(B),sources:t.sources||null,description:t.description||null,excerpt:t.excerpt||null,expert:C(t.expert),metaTag:t.meta_tag||null}:{}},G=function(t){return void 0!==t&&t?e(e({},t),{profile_url:(null==t?void 0:t.slug)?["expert","medical"].includes((null==t?void 0:t.role)||"")?"/expert/".concat(null==t?void 0:t.slug):"/author/".concat(null==t?void 0:t.slug):t.profile_url}):null},M=function(e){return e?{title:e.title,logo:e.logo,link:e.link}:{}},U=function(e){return{postTitle:e.post_title,permalink:e.permalink}},B=function(e){var t,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?M(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((function(e){return B(e)})))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(i=e.cat_parent)||void 0===i?void 0:i.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?U(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return H(e)})):null}:{}},H=function(e){return{title:e.title,content:e.content}},F=function(e){return e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{}},V=function(e){return e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},K=function(e){var t,i,o,n;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(i=e.community)||void 0===i?void 0:i.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.slug,communityName:null===(n=e.community)||void 0===n?void 0:n.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},Y=function(e){var t,i,o,n,r,a,l,s,u,d,c,m,p,_,v,g,h,E,T,f,b;return e?{id:e.id,topics:(null===(t=e.topics)||void 0===t?void 0:t.map((function(t){var i,o,n,r;return{id:t.id||0,name:t.name||"",slug:t.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+t.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",communityName:(null===(r=e.community)||void 0===r?void 0:r.name)||"",isHidden:Boolean(t.is_hidden),isActive:!0}})))||[],community:{id:(null===(i=e.community)||void 0===i?void 0:i.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.name)||"",slug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",isActive:!0,isHidden:Boolean(null===(r=e.community)||void 0===r?void 0:r.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(l=e.user)||void 0===l?void 0:l.user_name)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(d=e.user)||void 0===d?void 0:d.avatar)||"",role:(null===(c=e.user)||void 0===c?void 0:c.role)?null===(p=null===(m=e.user)||void 0===m?void 0:m.role)||void 0===p?void 0:p.toLowerCase():"",type:(null===(_=e.user)||void 0===_?void 0:_.type)||"",partnerId:(null===(v=e.user)||void 0===v?void 0:v.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(h=e.user)||void 0===h?void 0:h.title)||"",doctorId:(null===(E=e.user)||void 0===E?void 0:E.doctor_id)?String(null===(T=e.user)||void 0===T?void 0:T.doctor_id):"",hospitalId:(null===(f=e.user)||void 0===f?void 0:f.hospital_id)?String(null===(b=e.user)||void 0===b?void 0:b.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||""}:{}},j=function(e){return e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.info||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{}},z=function(e){var t,i,o,n,r,a,l,s,u,d,c,m,p,_,v,g,h,E,T,f,b,y,A,w,O,I,L,S,R,k,P,D;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(z):[],author:{id:(null===(t=e.user)||void 0===t?void 0:t.id)||0,username:(null===(i=e.user)||void 0===i?void 0:i.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.name)||"",role:(null===(n=e.user)||void 0===n?void 0:n.role)?null===(a=null===(r=e.user)||void 0===r?void 0:r.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(l=e.user)||void 0===l?void 0:l.avatar)||"",type:(null===(s=e.user)||void 0===s?void 0:s.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(d=e.user)||void 0===d?void 0:d.partner_id)?String(null===(c=e.user)||void 0===c?void 0:c.partner_id):"",title:(null===(m=e.user)||void 0===m?void 0:m.title)||"",doctorId:(null===(p=e.user)||void 0===p?void 0:p.doctor_id)?String(null===(_=e.user)||void 0===_?void 0:_.doctor_id):"",hospitalId:(null===(v=e.user)||void 0===v?void 0:v.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(h=e.mentioned)||void 0===h?void 0:h.id)||0,username:(null===(E=e.mentioned)||void 0===E?void 0:E.user_name)||"",name:(null===(T=e.mentioned)||void 0===T?void 0:T.name)||"",role:(null===(f=e.mentioned)||void 0===f?void 0:f.role)?null===(y=null===(b=e.mentioned)||void 0===b?void 0:b.role)||void 0===y?void 0:y.toLowerCase():"",avatar:(null===(A=e.mentioned)||void 0===A?void 0:A.avatar)||"",type:(null===(w=e.mentioned)||void 0===w?void 0:w.type)||"",email:(null===(O=e.mentioned)||void 0===O?void 0:O.email)||"",partnerId:(null===(I=e.mentioned)||void 0===I?void 0:I.partner_id)?String(null===(L=e.mentioned)||void 0===L?void 0:L.partner_id):"",doctorId:(null===(S=e.mentioned)||void 0===S?void 0:S.doctor_id)?String(null===(R=e.mentioned)||void 0===R?void 0:R.doctor_id):"",hospitalId:(null===(k=e.mentioned)||void 0===k?void 0:k.hospital_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.hospital_id):"",title:(null===(D=e.mentioned)||void 0===D?void 0:D.title)||""}:null,mentions:e.mentions||[]}:{}},W=function(e){return void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?"/expert/".concat(null==e?void 0:e.slug):"/author/".concat(null==e?void 0:e.slug):(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":""},X=Object.freeze({__proto__:null,formatAuthor:x,formatArticleExpert:C,formatArticle:N,formatUserProfile:G,formatBMIResult:function(e){var t,i,o,n,r,a,l,s,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(t=null==e?void 0:e.comparison)&&void 0!==t?t:"",assessmentData:[{tab:"tools.condition",content:null!==(i=null==e?void 0:e.condition)&&void 0!==i?i:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{tab:"tools.suggestion",content:null!==(n=null==e?void 0:e.suggestion)&&void 0!==n?n:""}],chartData:(null===(r=null==e?void 0:e.chart_data)||void 0===r?void 0:r.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(l=null==e?void 0:e.illustrator)&&void 0!==l?l:"",faqs:null!==(s=null==e?void 0:e.faqs)&&void 0!==s?s:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:M,formatReviewedCategory:U,formatCategory:B,formatCategoryApi:function(e){return e?{categoryInfo:B(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(N),subCategories:(e.data.sub_categories||[]).map(B)}:{}},formatFaqsCategory:H,formatHealthTool:F,formatHealthToolTypeCategory:function(e){var t,i;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(i=null===(t=null==e?void 0:e.health_tools)||void 0===t?void 0:t.map((function(e){return F(e)})))&&void 0!==i?i:[]}:{}},formatCommunity:V,formatTopic:K,formatPost:Y,formatPostPagination:function(e){return e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{}},formatNotification:function(e){var t,i,o;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(t=e.from_user)||void 0===t?void 0:t.name,id:null===(i=e.from_user)||void 0===i?void 0:i.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:function(e){return e?e.map((function(e){return{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}})):[]},formatOvulationInfo:j,formatSuggestedArticle:function(e){return e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{}},formatTopicHealthTool:function(e){return e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{}},formatComment:z,formatReportedPostToPostDetail:function(e){return e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{}},formatTopicSubot:function(e){return e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{}},formatSiteWideBanner:function(e,t){return void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:t||"other"}:null},formatPWGContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?G(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatUserProfileUrl:W,formatTHRContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?G(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatBabyGrowthContent:function(e){var t,i,o;return e&&e.information?{information:null!==(t=e.information.map((function(e){return{title:e.title,description:e.description}})))&&void 0!==t?t:[],reviewBy:{reviewer:(null===(i=e.reviewed_by)||void 0===i?void 0:i.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:W(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}}),q={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info"},$={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},J={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},Z={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Q=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||oe,n=0;for(;n<e.length;){var r=e.indexOf("=",n);if(-1===r)break;var a=e.indexOf(";",n);if(-1===a)a=e.length;else if(a<r){n=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(n,r).trim();if(void 0===i[l]){var s=e.slice(r+1,a).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[l]=re(s,o)}n=a+1}return i},ee=function(e,t,i){var o=i||{},n=o.encode||ne;if("function"!=typeof n)throw new TypeError("option encode is invalid");if(!ie.test(e))throw new TypeError("argument name is invalid");var r=n(t);if(r&&!ie.test(r))throw new TypeError("argument val is invalid");var a=e+"="+r;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(l)}if(o.domain){if(!ie.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain="+o.domain}if(o.path){if(!ie.test(o.path))throw new TypeError("option path is invalid");a+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===te.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");a+="; Expires="+s.toUTCString()}o.httpOnly&&(a+="; HttpOnly");o.secure&&(a+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":a+="; Priority=Low";break;case"medium":a+="; Priority=Medium";break;case"high":a+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},te=Object.prototype.toString,ie=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function oe(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function ne(e){return encodeURIComponent(e)}function re(e,t){try{return t(e)}catch(t){return e}}var ae={parse:Q,serialize:ee},le={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},se={"vi-VN":"marrybaby.vn"},ue=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",de=function(e){var t=Re.env.isMarryBaby;return"https://".concat(t?se[e]:le[e])},ce=function(e){var t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},me=function(e){var t=Re.env.isMarryBaby;if("undefined"!=typeof window)return window.location.origin;var i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":"https://".concat(i?t?"fe.":"discover.":t?"www.":"").concat(le[e])},pe=function(t,i,o){var n="";o&&(n=Object.keys(o).map((function(e){return e+"="+o[e]})).join("&"));var r=((null==Re?void 0:Re.env)||{}).togetherBaseApiUrl,a=void 0===r?"":r,l=_(t,e(e({},(null==i?void 0:i._locale)?{website_url:de(String(i._locale))}:{}),i));return l+="".concat(l.includes("?")?"&":"?").concat(n),a+"api/v1/"+ce(l)},_e=function(t,i){var o=((null==Re?void 0:Re.env)||{}).discoverBaseApiUrl;return(void 0===o?"":o)+"wp-json/api/"+ce(_(t,e({},i)))},ve=function(t,i){var o=((null==Re?void 0:Re.env)||{}).careBaseApiUrl;return((void 0===o?"":o)||"https://service-health-care.hellohealthgroup.com/")+ce(_(t,e({},i)))},ge=function(e){return(null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e},he=function(t,n,r,a){return void 0===a&&(a=!1),i(void 0,void 0,void 0,(function(){var i,l,s,u,d;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,fetch(a?t:(c=t,encodeURI(c).replace(/%5B/g,"[").replace(/%5D/g,"]")),e(e({method:n},ge(r)),{headers:e({},null==r?void 0:r.headers)})).then((function(e){return e.json()}))];case 1:return(i=o.sent())?[2,i]:[3,3];case 2:return l=o.sent(),console.log(l),console.log({url:t,status:null===(s=null==l?void 0:l.response)||void 0===s?void 0:s.status,statusText:null===(u=null==l?void 0:l.response)||void 0===u?void 0:u.statusText}),[2,(null===(d=null==l?void 0:l.response)||void 0===d?void 0:d.data)||null];case 3:return[2,null]}var c}))}))},Ee=function(t,n,r,a){return void 0===n&&(n="GET"),i(void 0,void 0,void 0,(function(){var i,l,s,u,d,c,p,_,v,g,h,E,T,f;return o(this,(function(o){switch(o.label){case 0:if(o.trys.push([0,7,,8]),i="string"==typeof t?t:t.url,l="string"==typeof t?t:t.backupUrl,s=ae.parse(a||""),u=s[L],!(d=u||m(L))||!d.length)return[3,5];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,fetch(i,e(e({method:n},ge(r)),{headers:e({Authorization:"Bearer "+d},null==r?void 0:r.headers)})).then((function(e){return e.json()}))];case 2:return c=o.sent(),(null===(v=null==c?void 0:c.messages)||void 0===v?void 0:v.find((function(e){return"Unauthenticated"===(null==e?void 0:e.toLowerCase())})))?[2,he(l||i,n,r)]:c?[2,c]:[3,4];case 3:return p=o.sent(),console.log({status:null===(g=null==p?void 0:p.response)||void 0===g?void 0:g.status,statusText:null===(h=null==p?void 0:p.response)||void 0===h?void 0:h.statusText}),[2,he(l||i,n,r)];case 4:return[3,6];case 5:return[2,he(l||i,n,r)];case 6:return[3,8];case 7:return _=o.sent(),console.log({status:null===(E=null==_?void 0:_.response)||void 0===E?void 0:E.status,statusText:null===(T=null==_?void 0:_.response)||void 0===T?void 0:T.statusText}),[2,(null===(f=null==_?void 0:_.response)||void 0===f?void 0:f.data)||null];case 8:return[2,null]}}))}))},Te=function(t,n,r,a){return i(void 0,void 0,void 0,(function(){var i,l,s,u;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),i=ae.parse(a||""),l=i[L],(s=l||m(L))&&s.length?[4,fetch(t,e(e({method:n},ge(r)),{headers:e({Authorization:"Bearer "+s},null==r?void 0:r.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=o.sent())return[2,u];o.label=2;case 2:return[3,4];case 3:return o.sent(),[2,null];case 4:return[2,null]}}))}))},fe=function(t,n,r,a){return i(void 0,void 0,void 0,(function(){var i,l,s,u;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),i=ae.parse(a||""),l=i[S],(s=l||m(S))&&s.length?[4,fetch(t,e(e({method:n},ge(r)),{headers:e({Authorization:"Bearer "+s},null==r?void 0:r.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=o.sent())return[2,u];o.label=2;case 2:return[3,4];case 3:return o.sent(),[2,null];case 4:return[2,null]}}))}))};function be(e,t,i){var o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),n=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+n+t+"="+i}var ye,Ae=function(e,t,i){void 0===i&&(i="/community");var o=e||("undefined"!=typeof window?window.location.href:"/"),n="undefined"!=typeof window?window.location.origin:"";return n||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(n=e.split("/").slice(0,3).join("/")),function(e,t){var i=Re.env.publicSSO,o=e||window.location.href;return t&&Object.keys(t).map((function(e){be(o,e,t[e])})),be(o,"source","communities"),i?"".concat(i,"?returnUrl=").concat(encodeURIComponent(o.toString())):o}("".concat(n).concat(i,"/on-boarding?return=").concat(encodeURIComponent(o)),t)},we=function(e,t,i,o){return i&&t?"".concat(i,"-").concat(t):"".concat(p(e||"",{lower:!0,locale:o||ue}),"-").concat(t)},Oe=function(e){var t,i=e.name,o=e.id,n=e.locale;return"/care/".concat(null===(t=P[n||"vi-VN"])||void 0===t?void 0:t.DOCTOR,"/").concat(we(i,o))},Ie=function(e){var t,i=e.name,o=e.id,n=e.slug,r=e.locale;return"/care/".concat(null===(t=P[r||"vi-VN"])||void 0===t?void 0:t.HOSPITAL,"/").concat(we(i,o,n))},Le={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},Se=l({data:Le,action:{pushNotifications:function(e){return e},sanitizeFunction:function(e){return e}}}),Re=Le,ke=function(e){var t=e.locale,i=void 0===t?"vi-VN":t,o=e.children,l=e.userInfo,s=e.router,u=e.env,d=void 0===u?{isMarryBaby:!1,togetherBasePath:"/community"}:u,c=e.sanitizeFunction,m=void 0===c?function(e){return e}:c,p=e.pushNotifications,_=void 0===p?function(){return!1}:p,v=r(),g=v[0],h=v[1];return Re={userInfo:l,locale:i,togetherUserId:g,router:s,env:d},a((function(){(null==l?void 0:l.id)&&Te(pe(q.PROFILE,{_locale:i}),"GET").then((function(e){var t;h(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==l?void 0:l.id]),n.createElement(Se.Provider,{value:{data:{userInfo:l,locale:i,togetherUserId:g,router:s,env:d},action:{pushNotifications:_,sanitizeFunction:m}}},o)},Pe=c.div(ye||(ye=t(["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"],["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.colors.secondaryBase}),(function(e){return e.theme.mbColors.pink})),De=function(e){var t=e.className,i=e.isMarryBaby,o=e.style,l=e.avatar,u=e.username,d=e.isLazy,c=s(Se).data.env.isMarryBaby,m="boolean"==typeof i?i:c,p=r(!1),_=p[0],v=p[1];return a((function(){var e=new Image;e.onerror=function(){v(!0)},e.src=l}),[]),n.createElement(Pe,{"data-is-marrybaby":m,className:t,style:o},l&&!_?n.createElement("img",{src:d?void 0:l,"data-src":d?l:void 0,className:"avatar ".concat(d?"lazy":""),alt:"avatar",onError:function(){v(!0)}}):n.createElement("div",{className:"avatar avatar-default"},u&&(null==u?void 0:u.length)>0?u[0].toUpperCase():"A"))};export{E as A,L as B,$ as C,Le as D,Ee as E,Re as G,O as H,k as M,b as P,R,Se as T,De as U,ke as a,y as b,D as c,X as d,j as e,W as f,V as g,Y as h,Ae as i,w as j,he as k,pe as l,q as m,me as n,ve as o,le as p,Ie as q,Oe as r,_e as s,J as t,Z as u,fe as v,Te as w,K as x,A as y,z};
@@ -1 +1 @@
1
- import e,{useMemo as a}from"react";import{CommonGAssets as t}from"./gAssets.js";import{i as s,L as l,a as r,b as n,S as o,c as i,d as g}from"./index-c58d0993.js";var m=function(m){var c=m.type,h=m.className,d=m.style,u=m.isLightLogo,w=m.customSize,N=m.badge,y=m.locale,f=m.dateForSeasonal,p=m.isPro,E=a((function(){if(!f||isNaN(new Date(f).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};var e=new Date(f),a=s(e),t=l.includes(y)&&r(e);return{isChristmas:a,isLunarNewYear:t,isNewYear:!t&&n(e)}}),[y,new Date(f).getDate()]);return e.createElement(o,{className:h,style:d,"data-logo-is-light":u||void 0,"data-has-badge":!!N,"data-christmas":E.isChristmas,"data-new-year":E.isNewYear,"data-lunar-new-year":E.isLunarNewYear},E.isChristmas?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):E.isNewYear?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):E.isLunarNewYear?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,e.createElement(i,{type:c,width:null==w?void 0:w.width,height:null==w?void 0:w.height}),p?e.createElement(g,{src:t.getAssetPath("logo/pro-suffix.svg")}):null,N)};export{m as L};
1
+ import e,{useMemo as a}from"react";import{CommonGAssets as t}from"./gAssets.js";import{i as s,L as l,a as r,b as n,S as o,c as i,d as g}from"./index-99e5b83a.js";var m=function(m){var c=m.type,h=m.className,d=m.style,u=m.isLightLogo,w=m.customSize,N=m.badge,y=m.locale,f=m.dateForSeasonal,p=m.isPro,E=a((function(){if(!f||isNaN(new Date(f).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};var e=new Date(f),a=s(e),t=l.includes(y)&&r(e);return{isChristmas:a,isLunarNewYear:t,isNewYear:!t&&n(e)}}),[y,new Date(f).getDate()]);return e.createElement(o,{className:h,style:d,"data-logo-is-light":u||void 0,"data-has-badge":!!N,"data-christmas":E.isChristmas,"data-new-year":E.isNewYear,"data-lunar-new-year":E.isLunarNewYear},E.isChristmas?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):E.isNewYear?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):E.isLunarNewYear?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,e.createElement(i,{type:c,width:null==w?void 0:w.width,height:null==w?void 0:w.height}),p?e.createElement(g,{src:t.getAssetPath("logo/pro-suffix.svg")}):null,N)};export{m as L};
@@ -0,0 +1,9 @@
1
+ .style-module_text__wIj6f{color:var(--custom-color,#262626);font-weight:400;letter-spacing:0}.style-module_text__wIj6f[data-size=lg],.style-module_text__wIj6f[data-size=md]{font-size:16px;line-height:28px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=lg],.style-module_text__wIj6f[data-size=md]{font-size:18px;letter-spacing:-.2px;line-height:32px}}.style-module_text__wIj6f[data-size=base]{font-size:16px;line-height:24px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=base]{font-size:16px;line-height:24px}}.style-module_text__wIj6f[data-size=sm]{font-size:14px;letter-spacing:-.2px;line-height:22px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=sm]{font-size:16px;line-height:24px}}.style-module_text__wIj6f[data-size=xs]{font-size:12px;line-height:18px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=xs]{font-size:14px;line-height:24px}}.style-module_text__wIj6f[data-size=s1]{font-size:18px;letter-spacing:-.6px;line-height:26px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=s1]{font-size:22px;letter-spacing:-.6px;line-height:32px}}.style-module_text__wIj6f[data-size=s2]{font-size:16px;letter-spacing:-.2px;line-height:24px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=s2]{font-size:18px;letter-spacing:-.4px;line-height:28px}}.style-module_text__wIj6f[data-size=s3]{font-size:14px;letter-spacing:-.2px;line-height:24px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=s3]{font-size:16px;line-height:24px}}.style-module_text__wIj6f[data-size=s4]{font-size:12px;letter-spacing:-.2px;line-height:18px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=s4]{font-size:14px;letter-spacing:0;line-height:22px}}.style-module_text__wIj6f[data-size=s5]{font-size:12px;line-height:18px}.style-module_text__wIj6f[data-size=p1]{font-size:16px;letter-spacing:-.2px;line-height:28px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=p1]{font-size:18px;line-height:32px}}.style-module_text__wIj6f[data-size=p2]{font-size:16px;letter-spacing:-.2px;line-height:24px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=p2]{letter-spacing:0}}.style-module_text__wIj6f[data-size=p3]{font-size:14px;letter-spacing:-.2px;line-height:22px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=p3]{font-size:16px;letter-spacing:0;line-height:24px}}.style-module_text__wIj6f[data-size=p4]{font-size:12px;line-height:18px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=p4]{font-size:14px;letter-spacing:-.2px;line-height:22px}}.style-module_text__wIj6f[data-size=c1]{font-size:14px;line-height:22px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=c1]{font-size:16px;line-height:24px}}.style-module_text__wIj6f[data-size=c2]{font-size:12px;line-height:18px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=c2]{font-size:14px;line-height:22px}}.style-module_text__wIj6f[data-size=n1]{font-size:12px;line-height:18px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=n1]{font-size:12px;line-height:18px}}.style-module_text__wIj6f[data-size=label1]{font-size:14px;letter-spacing:-.2px;line-height:22px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=label1]{letter-spacing:0}}.style-module_text__wIj6f[data-size=label2]{font-size:12px;line-height:18px}.style-module_text__wIj6f[data-type=bold],.style-module_text__wIj6f[data-type=caption]{font-weight:700}.style-module_text__wIj6f[data-type=semiBold]{font-weight:600}.style-module_text__wIj6f[data-word-wrap=break-all]{word-break:break-all}.style-module_text__wIj6f[data-word-wrap=break-word]{word-break:break-word}.style-module_text__wIj6f[data-is-uppercase],.style-module_text__wIj6f[data-type=caption]{text-transform:uppercase}
2
+ @keyframes style-module_circle__GIMLN{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.style-module_loader__P03rc{animation:style-module_circle__GIMLN 1.2s linear infinite}.style-module_spinner__Lsvyk{align-items:center;display:flex;position:relative}.style-module_spinner__Lsvyk svg+svg{left:0;position:absolute}.style-module_buttonInner__fAwTd,.style-module_buttonText__S2kaD{align-items:center;display:flex;justify-content:center}.style-module_button__ITgol{border-radius:6px;cursor:pointer;font-weight:700;transition:background-color .3s,border-color .3s;width:auto}.style-module_button__ITgol[data-theme=marryBaby]{border-radius:16px}.style-module_button__ITgol .style-module_buttonIcon__cD-HM{align-items:center;display:flex}.style-module_button__ITgol .style-module_buttonIcon__cD-HM+.style-module_buttonText__S2kaD{margin-left:8px}.style-module_button__ITgol[data-size=lg]{font-size:16px;line-height:24px;padding:12px 24px}.style-module_button__ITgol[data-size=lg] .style-module_buttonIcon__cD-HM img,.style-module_button__ITgol[data-size=lg] .style-module_buttonIcon__cD-HM svg{max-height:24px}.style-module_button__ITgol[data-size=md]{font-size:14px;line-height:22px;padding:9px 24px}.style-module_button__ITgol[data-size=md] .style-module_buttonIcon__cD-HM img,.style-module_button__ITgol[data-size=md] .style-module_buttonIcon__cD-HM svg{max-height:22px}.style-module_button__ITgol[data-size=sm]{font-size:14px;font-weight:700;line-height:22px;padding:5px 24px}.style-module_button__ITgol[data-size=sm] .style-module_buttonIcon__cD-HM img,.style-module_button__ITgol[data-size=sm] .style-module_buttonIcon__cD-HM svg{max-height:22px}.style-module_button__ITgol[data-color=primary]{background-color:#2d87f3;border:1px solid #2d87f3;color:#fff}.style-module_button__ITgol[data-color=primary][data-has-icon=true] svg path{fill:#fff}.style-module_button__ITgol[data-color=primary][data-theme=marryBaby]{background-color:#e85388;border:2px solid #e85388}.style-module_button__ITgol[data-color=primary][data-theme=marryBaby][data-has-icon=true]:hover[data-is-loading=false] svg path{fill:#e85388}.style-module_button__ITgol[data-color=primary]:hover:not(:disabled)[data-is-loading=false]{background-color:#2c74df}.style-module_button__ITgol[data-color=primary]:hover:not(:disabled)[data-is-loading=false][data-theme=marryBaby]{background-color:#fff;border:2px solid #e85388;color:#e85388}.style-module_button__ITgol[data-color=primary]:not(:is([disabled],[data-is-loading=true])):active{background-color:#2b62cd}.style-module_button__ITgol[data-color=primary][data-theme=marryBaby]:not(:is([disabled],[data-is-loading=true])):active{background-color:#e85388}.style-module_button__ITgol[data-color=primary][data-is-loading=true][data-theme=marryBaby] .style-module_loaderPath__oAG2-{stroke:#fff}.style-module_button__ITgol[data-color=primary][data-is-loading=true][data-theme=marryBaby] .style-module_spinnerCircle__Y9fGC{stroke:transparent}.style-module_button__ITgol[data-color=secondary]{background-color:#fff;border:2px solid #2d87f3;color:#2d87f3}.style-module_button__ITgol[data-color=secondary][data-has-icon=true] svg path{fill:#2d87f3}.style-module_button__ITgol[data-color=secondary][data-has-icon=true]:hover[data-is-loading=false] svg path{fill:#fff}.style-module_button__ITgol[data-color=secondary][data-theme=marryBaby]{background-color:transparent;border-color:#e85388;color:#e85388}.style-module_button__ITgol[data-color=secondary][data-theme=marryBaby][data-has-icon=true] svg path{fill:#e85388}.style-module_button__ITgol[data-color=secondary][data-theme=marryBaby][data-has-icon=true]:hover[data-is-loading=false] svg path{fill:#fff}.style-module_button__ITgol[data-color=secondary][data-size=md]{border-width:1.5px}.style-module_button__ITgol[data-color=secondary][data-size=sm]{border-width:1px;font-size:13px;line-height:20px}.style-module_button__ITgol[data-color=secondary]:hover[data-is-loading=false]{background-color:#2c74df;border-color:#2c74df;color:#fff}.style-module_button__ITgol[data-color=secondary]:hover[data-is-loading=false][data-theme=marryBaby]{background-color:#e85388;border-color:#e85388}.style-module_button__ITgol[data-color=secondary]:not(:is([disabled],[data-is-loading=true])):active{background-color:#2b62cd;border-color:#2b62cd;color:#fff}.style-module_button__ITgol[data-color=secondary][data-theme=marryBaby]:not(:is([disabled],[data-is-loading=true])):active{background-color:#e85388;border-color:#e85388}.style-module_button__ITgol[data-color=tertiary]{background-color:transparent;border:2px solid #bfbfbf;color:#262626}.style-module_button__ITgol[data-color=tertiary][data-size=md]{border-width:1.5px;font-weight:700}.style-module_button__ITgol[data-color=tertiary][data-size=sm]{border-width:1px;font-size:13px;line-height:20px}.style-module_button__ITgol[data-color=tertiary]:hover[data-is-loading=false][data-theme=marryBaby]{background-color:#e85388;color:#fff}.style-module_button__ITgol[data-color=tertiary][data-theme=marryBaby]{border-color:#e85388;color:#e85388}.style-module_button__ITgol[data-color=tertiary][data-theme=marryBaby][data-has-icon=true] svg path{fill:#e85388}.style-module_button__ITgol[data-color=tertiary][data-theme=marryBaby][data-has-icon=true]:hover[data-is-loading=false] svg path{fill:#fff}.style-module_button__ITgol[data-color=tertiary][data-is-loading=true][data-theme=marryBaby] .style-module_loaderPath__oAG2-{stroke:#e85388}.style-module_button__ITgol[data-color=ghost]{background-color:transparent;border:0;color:#2d87f3}.style-module_button__ITgol[data-color=ghost][data-size=sm]{font-size:12px;line-height:18px;padding:5px 12px}.style-module_button__ITgol[data-color=ghost]:disabled{background-color:transparent;border-color:0;color:#bfbfbf;cursor:not-allowed}.style-module_button__ITgol[data-color=transparent]{background-color:transparent;border:none}.style-module_button__ITgol[data-color=transparent][data-size=lg]{font-size:16px;line-height:24px;padding:0}.style-module_button__ITgol[data-color=transparent][data-size=md]{font-size:14px;line-height:24px;padding:0}.style-module_button__ITgol[data-color=transparent][data-size=sm]{font-size:13px;line-height:20px;padding:0}.style-module_button__ITgol[data-color=danger]{background-color:#f44d2c;border:2px solid #f44d2c;color:#fff}.style-module_button__ITgol[data-color=danger][data-size=md]{border-width:1.5px}.style-module_button__ITgol[data-color=danger][data-size=sm]{border-width:1px;font-size:13px;line-height:20px}.style-module_button__ITgol[data-color=danger]:hover[data-is-loading=false]{background-color:#feaa96;border-color:#feaa96;color:#fff}.style-module_button__ITgol[data-color=danger][data-has-icon=true] svg path{fill:#fff}.style-module_button__ITgol[data-color=danger][data-is-loading=true] .style-module_loaderPath__oAG2-{stroke:#fff}.style-module_button__ITgol[data-color=danger][data-is-loading=true] .style-module_spinnerCircle__Y9fGC{stroke:transparent}.style-module_button__ITgol[data-color=success]{background-color:#e0f8ee;color:#008c50}.style-module_button__ITgol[data-color=success][data-has-icon=true] svg path{fill:#008c50}.style-module_button__ITgol[data-color=success][data-theme=marryBaby]{color:#5ec08f}.style-module_button__ITgol[data-color=success][data-theme=marryBaby][data-has-icon=true] svg path{fill:#5ec08f}.style-module_button__ITgol[data-color=success][data-is-loading=true] .style-module_loaderPath__oAG2-{stroke:#008c50}.style-module_button__ITgol[data-color=success][data-is-loading=true] .style-module_spinnerCircle__Y9fGC{stroke:transparent}.style-module_button__ITgol[data-color=success][data-is-loading=true][data-theme=marryBaby] .style-module_loaderPath__oAG2-{stroke:#5ec08f}.style-module_button__ITgol:disabled,.style-module_button__ITgol[data-theme=marryBaby]:disabled{background-color:#bfbfbf;border-color:#bfbfbf;color:#fff;cursor:not-allowed}.style-module_button__ITgol[data-block=true]{padding:12px auto;width:100%}.style-module_button__ITgol[data-event-category]>*{pointer-events:none}.style-module_button__ITgol:focus-visible{outline:2px solid #000}
3
+ .style-module_flag__pfaLG,.style-module_flag__pfaLG img,.style-module_flag__pfaLG svg{height:calc(var(--height)*1px);width:calc(var(--width)*1px)}.style-module_flag__pfaLG img{-o-object-fit:contain;object-fit:contain}
4
+ .style-module_heading__xzO2I{color:var(--custom-heading-color,#262626);font-weight:700}.style-module_heading__xzO2I[data-tag=h1]{font-size:26px;letter-spacing:-.9px;line-height:34px}@media (min-width:1024px){.style-module_heading__xzO2I[data-tag=h1]{font-size:40px;letter-spacing:-1.2px;line-height:52px}}.style-module_heading__xzO2I[data-tag=h2]{font-size:24px;letter-spacing:-.8px;line-height:32px}@media (min-width:1024px){.style-module_heading__xzO2I[data-tag=h2]{font-size:32px;letter-spacing:-1px;line-height:42px}}.style-module_heading__xzO2I[data-tag=h3]{font-size:20px;letter-spacing:-.7px;line-height:26px}@media (min-width:1024px){.style-module_heading__xzO2I[data-tag=h3]{font-size:26px;letter-spacing:-.8px;line-height:36px}}.style-module_heading__xzO2I[data-tag=h4]{font-size:18px;letter-spacing:-.6px;line-height:26px}@media (min-width:1024px){.style-module_heading__xzO2I[data-tag=h4]{font-size:22px;line-height:32px}}.style-module_heading__xzO2I[data-tag=h5]{font-size:16px;letter-spacing:-.2px;line-height:24px}@media (min-width:1024px){.style-module_heading__xzO2I[data-tag=h5]{font-size:18px;line-height:28px}}.style-module_heading__xzO2I[data-tag=h6]{font-size:14px;letter-spacing:-.2px;line-height:22px}@media (min-width:1024px){.style-module_heading__xzO2I[data-tag=h6]{font-size:16px;letter-spacing:0;line-height:24px}}.style-module_heading__xzO2I[data-font-weight=bold]{font-weight:400}.style-module_heading__xzO2I[data-font-weight=semibold]{font-weight:600}
5
+ .style-module_container__d76E4{margin:0 auto;width:100%}@media (max-width:767px){.style-module_container__d76E4{padding:0 16px}}@media (min-width:1024px){.style-module_container__d76E4{max-width:1170px}.style-module_container__d76E4[data-type=marryBaby]{max-width:1064px}}
6
+ .style-module_expertName__PiqKa{color:#595959;font-size:14px;font-weight:700;line-height:22px}.style-module_anchor__HgbW6{color:inherit;display:inline-block;height:100%;text-decoration:none;width:100%}.style-module_anchor__HgbW6 *{pointer-events:none}.style-module_card__6lkfL{background-color:#fff;box-sizing:border-box;cursor:pointer;display:flex;padding:16px 16px 16px 0;width:100%}.style-module_card__6lkfL [data-event-category]>*{pointer-events:none}.style-module_card__6lkfL .content{display:flex;flex-direction:column;width:100%}.style-module_card__6lkfL .content .inner-content{display:flex;flex-direction:column}.style-module_card__6lkfL .content .inner-content p{align-items:center;display:flex}.style-module_card__6lkfL .content .inner-content a{text-decoration:none}.style-module_card__6lkfL .content .inner-content .bookmark{height:18px;width:18px}.style-module_card__6lkfL .content .inner-content .title a{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;margin-top:2px;overflow:hidden}.style-module_card__6lkfL .content .inner-content .text{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;margin-top:4px;max-width:100%;overflow:hidden}.style-module_card__6lkfL .footer{display:flex}.style-module_card__6lkfL .footer .author{width:calc(100% - 20px)}.style-module_card__6lkfL .footer .bookmark{cursor:pointer;display:flex;height:16px;margin-left:8px;width:12px}.style-module_card__6lkfL .footer .bookmark svg{height:100%;width:100%}.style-module_card__6lkfL .banner{border-radius:6px;height:100%;max-height:100%;max-width:100px;max-width:100%;min-width:100px;position:relative}.style-module_card__6lkfL .banner img{border-radius:6px;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;pointer-events:none;width:100%}.style-module_card__6lkfL .banner .premium{height:28px;left:6px;position:absolute;top:6px;width:28px}.style-module_card__6lkfL .shoppable{bottom:4px;left:6px;position:absolute}.style-module_card__6lkfL[data-size=sm][data-direction=horizontal]{padding:20px 0}.style-module_card__6lkfL[data-size=sm][data-direction=horizontal] .label{margin-bottom:0}.style-module_card__6lkfL[data-size=sm][data-direction=horizontal] .banner{height:100px;margin:0 16px 0 0;width:100px}@media (max-width:767px){.style-module_card__6lkfL[data-size=sm][data-direction=horizontal] .banner{height:100px;margin:0 16px 0 0;max-width:100px;min-width:100px}}.style-module_card__6lkfL[data-size=sm][data-direction=horizontal] .text{display:none}.style-module_card__6lkfL[data-direction=horizontal] .footer{margin-top:auto}.style-module_card__6lkfL[data-size=md][data-direction=horizontal]{padding:16px 0}.style-module_card__6lkfL[data-size=md][data-direction=horizontal] .banner{height:150px;margin:0 24px 0 0;max-width:200px;min-width:200px}@media (max-width:767px){.style-module_card__6lkfL[data-size=md][data-direction=horizontal] .text{display:none}.style-module_card__6lkfL[data-size=md][data-direction=horizontal] .banner{height:100px;margin:0 16px 0 0;max-width:100px;min-width:100px}.style-module_card__6lkfL[data-size=md][data-direction=horizontal] .specialty{display:none}}.style-module_card__6lkfL[data-direction=vertical]{flex-direction:column;padding:0}.style-module_card__6lkfL[data-direction=vertical] .label{display:flex;margin-top:16px}.style-module_card__6lkfL[data-direction=vertical][data-size=sm] .banner{height:150px}.style-module_card__6lkfL[data-direction=vertical][data-size=sm] .text{display:none}.style-module_card__6lkfL[data-direction=vertical][data-size=sm] .title{margin-bottom:12px;margin-top:0}.style-module_card__6lkfL[data-direction=vertical][data-size=lg] .banner{max-height:312px}@media (max-width:767px){.style-module_card__6lkfL[data-direction=vertical][data-size=lg] .banner{max-height:192px}}.style-module_card__6lkfL[data-direction=vertical][data-size=lg] .text{-webkit-box-orient:vertical;-webkit-line-clamp:3;display:-webkit-box;margin-bottom:16px;margin-top:8px;word-break:break-word}.style-module_card__6lkfL[data-direction=vertical] .banner{height:468px;margin:0;min-width:100%}.style-module_card__6lkfL[data-is-expert] .inner-content label.text{display:none}.style-module_card__6lkfL[data-is-expert] .specialty>[data-tag=h6]{font-size:13px;font-weight:400;line-height:19px}.style-module_card__6lkfL[data-is-expert][data-size=md] .footer .author .avatar{margin-right:8px}@media (min-width:1024px){.style-module_card__6lkfL[data-is-expert][data-size=md] .footer .author .avatar{height:40px;margin-right:16px;width:40px}}.style-module_card__6lkfL[data-is-expert] .title{margin-bottom:16px}@media (max-width:767px){.style-module_card__6lkfL[data-is-expert] .title{margin-bottom:8px}}.style-module_card__6lkfL[data-is-expert][data-direction=horizontal] .footer{margin-top:auto}.style-module_author__j7c-o{flex-direction:row;justify-content:space-between;margin-top:8px;width:100%}.style-module_author__j7c-o,.style-module_author__j7c-o .author{align-items:center;display:flex}.style-module_author__j7c-o .author .avatar,.style-module_author__j7c-o .author .expert-avatar{flex-shrink:0}.style-module_author__j7c-o .author .avatar img,.style-module_author__j7c-o .author .expert-avatar img{border-radius:50%;height:100%;width:100%}.style-module_author__j7c-o .author .name{font-weight:600}.style-module_author__j7c-o .author .poster{align-items:center;display:flex;white-space:pre-wrap}.style-module_author__j7c-o .author .poster[data-is-disabled-url=true]{cursor:default}.style-module_author__j7c-o .author .poster[data-is-disabled-url=true] a{pointer-events:none}.style-module_author__j7c-o .author .poster p{-webkit-box-orient:vertical;-webkit-line-clamp:3;display:-webkit-box;font-weight:400;overflow:hidden}.style-module_author__j7c-o .author .poster p a{color:#262626;text-decoration:none}.style-module_author__j7c-o .author .poster p span:not(.name){color:#8c8c8c}.style-module_author__j7c-o .author .expert{align-items:flex-start;display:flex;flex-direction:column;justify-content:center}.style-module_author__j7c-o .author .expert a{text-decoration:none}.style-module_author__j7c-o .author .expert[data-is-disabled-url=true]{cursor:default}.style-module_author__j7c-o .author .expert[data-is-disabled-url=true] a{pointer-events:none}.style-module_author__j7c-o .author .avatar{height:24px;margin-right:8px;width:24px}@media (max-width:767px){.style-module_author__j7c-o .author .avatar{margin-right:4px}}@media (min-width:1024px){.style-module_author__j7c-o .author .avatar[data-size=lg]{height:32px;margin-right:12px;width:32px}}@media (min-width:768px){.style-module_author__j7c-o .author .expert-avatar{height:40px;margin-right:16px;width:40px}}@media (max-width:767px){.style-module_author__j7c-o .author .expert-avatar{height:32px;margin-right:8px;width:32px}}@media (min-width:768px){.style-module_author__j7c-o .author .expert-avatar[data-size=lg]{height:64px;margin-right:16px;width:64px}}@media (max-width:767px){.style-module_author__j7c-o .author .expert-avatar[data-size=lg]{height:40px;margin-right:16px;width:40px}}
7
+ .style-module_breadcrumb__lKjhv{display:flex;position:relative}.style-module_breadcrumb__lKjhv>.collapsed-breadcrumb{border:none}.style-module_breadcrumb__lKjhv>.collapsed-breadcrumb>div{padding:0}.style-module_breadcrumb__lKjhv>.collapsed-breadcrumb>ul{min-width:-moz-max-content;min-width:max-content}.style-module_breadcrumb__lKjhv[data-size=lg]{font-size:16px;font-weight:700;line-height:24px}.style-module_breadcrumb__lKjhv[data-size=md]{font-size:14px;font-weight:400;line-height:22px}.style-module_breadcrumb__lKjhv[data-size=sm]{font-size:13px;font-weight:400;line-height:20px}.style-module_separator__HGYlQ{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 4 4-4 4' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:contain}.style-module_separator__HGYlQ,.style-module_separator__HGYlQ[data-size=lg]{margin-left:8px;margin-right:8px;width:6px}.style-module_separator__HGYlQ[data-size=md]{margin-left:7px;margin-right:7px;width:5px}.style-module_separator__HGYlQ[data-size=sm]{margin-left:6px;margin-right:6px;width:4px}.style-module_textLink__AyUUQ{max-width:12em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-module_textLink__AyUUQ>a{color:#262626;cursor:pointer;text-decoration:none}.style-module_textLink__AyUUQ[data-last=true]>a{color:#737373}.style-module_textLink__AyUUQ>a:focus,.style-module_textLink__AyUUQ>a:hover{color:#2c74df;outline:none}.style-module_textLink__AyUUQ>a:focus .style-module_arrowLeft__8aMpq,.style-module_textLink__AyUUQ>a:focus .style-module_arrowRight__yj7nJ,.style-module_textLink__AyUUQ>a:hover .style-module_arrowLeft__8aMpq,.style-module_textLink__AyUUQ>a:hover .style-module_arrowRight__yj7nJ{stroke:#2b62cd}.style-module_textLink__AyUUQ>a:active{color:#2b62cd}.style-module_textLink__AyUUQ[data-disabled]>a{color:#bfbfbf;cursor:not-allowed}
8
+ .style-module_footer__Lj0qo{background-color:#1b3250}.style-module_footer__Lj0qo .inner{margin:0 auto;padding:64px 24px 98px}@media (max-width:767px){.style-module_footer__Lj0qo .inner{padding:64px 0}}.style-module_footer__Lj0qo .inner[data-type=mini]{padding:24px 0}.style-module_footer__Lj0qo .footer-logo{margin-bottom:24px;max-height:32px;max-width:132px}.style-module_footer__Lj0qo .footer-logo[data-is-sehat=true]{max-width:250px}.style-module_footer__Lj0qo .footer-logo img{-o-object-fit:contain;object-fit:contain}.style-module_footer__Lj0qo .social{margin-top:24px}@media (max-width:767px){.style-module_footer__Lj0qo .social{margin-top:32px}.style-module_footer__Lj0qo .social p{font-size:13px}}@media (min-width:768px){.style-module_footer__Lj0qo .social p{font-size:12px}}.style-module_footer__Lj0qo .social p{color:#9aa2ac}.style-module_footer__Lj0qo .icons{margin-bottom:20px;margin-top:12px}.style-module_footer__Lj0qo .icons>a:not(:last-child){margin-right:16px}.style-module_footer__Lj0qo .icons .social-icon{height:32px;width:32px}.style-module_footer__Lj0qo .newsletter>p{color:#9aa2ac;font-size:14px;line-height:22px}@media (min-width:768px){.style-module_footer__Lj0qo .newsletter>p{line-height:28.5px;max-width:380px}}.style-module_footer__Lj0qo hr{background:#9aa2ac;border:none;height:1px;margin:16px 0;opacity:.1;outline:none}@media (max-width:767px){.style-module_footer__Lj0qo hr{margin-top:0}}@media (min-width:768px){.style-module_footer__Lj0qo .hrMobile{display:none}}.style-module_footer__Lj0qo .copyright{padding-top:8px}@media (min-width:768px){.style-module_footer__Lj0qo .copyright{align-items:center;display:flex;flex-direction:row-reverse;justify-content:space-between}}.style-module_footer__Lj0qo .copyright .copyright-content{color:#9aa2ac;font-size:12px;width:90%}.style-module_footer__Lj0qo .copyright .copyright-image-wrapper{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;max-width:35%}@media (max-width:767px){.style-module_footer__Lj0qo .copyright .copyright-image-wrapper{justify-content:flex-start;max-width:unset}}.style-module_footer__Lj0qo .copyright .copyright-image-wrapper .copyright-image{align-self:flex-start}.style-module_footer__Lj0qo .copyright .copyright-image-wrapper .copyright-image:not(:last-child){margin-right:.5rem}.style-module_footer__Lj0qo .copyright .copyright-image-wrapper .copyright-image img{margin-bottom:16px;max-width:100px}.style-module_footer__Lj0qo .copyright[data-is-amp=true] img{margin-bottom:0}.style-module_footer__Lj0qo .copyright-certificate{color:#9aa2ac}@media (max-width:767px){.style-module_footer__Lj0qo .copyright-certificate{font-size:11px}}@media (min-width:768px){.style-module_footer__Lj0qo .copyright-certificate{font-size:12px}}.style-module_footer__Lj0qo .biglinks{margin-bottom:12px}.style-module_footer__Lj0qo .bigLink{color:#fff;display:block;font-size:14px;font-weight:700;text-decoration:none;word-break:break-word}.style-module_footer__Lj0qo .bigLink:not(:last-child){margin-bottom:12px}@media (max-width:767px){.style-module_footer__Lj0qo .bigLink{display:inline-block;font-size:16px;width:50%}}.style-module_footer__Lj0qo .mHalf{display:inline-block;margin-bottom:24px;padding-right:24px;vertical-align:top;width:50%}.style-module_footer__Lj0qo .mHalf p{color:#9aa2ac}@media (max-width:767px){.style-module_footer__Lj0qo .mHalf p{font-size:13px;line-height:20px;margin-bottom:8px}}@media (min-width:768px){.style-module_footer__Lj0qo .mHalf p{font-size:14px;margin-bottom:12px}}.style-module_footer__Lj0qo .otherSites p{color:#9aa2ac;font-size:12px;margin-bottom:12px}@media (max-width:767px){.style-module_footer__Lj0qo .otherSites p{font-size:13px}}@media (min-width:768px){.style-module_footer__Lj0qo .otherSites p{font-size:13px}}.style-module_footer__Lj0qo .otherSites .flags{display:flex;margin-bottom:8px}.style-module_footer__Lj0qo .otherSites .flags div{margin-right:10px}.style-module_footer__Lj0qo .link{display:block;text-decoration:none}.style-module_footer__Lj0qo .link p{color:#fff;font-weight:700;word-break:break-word}.style-module_footer__Lj0qo .link:not(:last-child){margin-bottom:12px}@media (min-width:768px){.style-module_footer__Lj0qo .columns{display:flex;flex-direction:row;width:100%}.style-module_footer__Lj0qo .columns>div:first-child{display:flex;flex-basis:40%;flex-direction:column;justify-content:space-between}.style-module_footer__Lj0qo .columns>div:nth-child(2){display:flex;flex-basis:60%;flex-direction:row;flex-wrap:wrap}.style-module_footer__Lj0qo .columns>div:nth-child(2)>div:first-child{flex-basis:45%}.style-module_footer__Lj0qo .columns>div:nth-child(2)>div:not(:last-child){flex-basis:27.5%}.style-module_footer__Lj0qo .columns>div:nth-child(2)>div:last-child{flex-basis:0}}.style-module_footer__Lj0qo .signupButton{border:none;display:none;margin-top:16px;outline:none;text-transform:uppercase}.style-module_flag__OO-qF{height:32px;margin-right:10px;width:32px}.style-module_flag__OO-qF[data-is-mobile=true]{height:24px;width:24px}.style-module_flag__OO-qF .country-flag{height:100%;width:100%}
9
+ .style-module_footerContainer__B6-Km{overflow:hidden;position:relative}.style-module_footerContainer__B6-Km .icons{margin-bottom:20px;margin-top:12px}.style-module_footerContainer__B6-Km .icons>a:not(:last-child){margin-right:16px}.style-module_footerContainer__B6-Km a{text-decoration:none}.style-module_footerContainer__B6-Km a :hover{color:#2661ad}.style-module_menuContainer__GS-7m{align-items:flex-start;border-bottom:1px solid #d2d6dc;display:flex;justify-content:space-between;margin:auto 68px;padding:80px 0 40px;position:relative}@media (max-width:1023px){.style-module_menuContainer__GS-7m{-moz-column-gap:16px;column-gap:16px;flex-wrap:wrap;margin:auto 16px;row-gap:32px}}@media (max-width:767px){.style-module_menuContainer__GS-7m{margin:auto 0}}.style-module_wrapMenuItem__qc5bE{display:flex;flex-direction:column;gap:12px;justify-content:space-between}@media (max-width:767px){.style-module_wrapMenuItem__qc5bE{flex:1 1 160px}}.style-module_wrapMenuItem__qc5bE .title{padding-bottom:4px}.style-module_wrapItems__CQGVe{gap:12px}.style-module_wrapInfo__6JMoe,.style-module_wrapItems__CQGVe{display:flex;flex-direction:column;justify-content:space-between}.style-module_wrapInfo__6JMoe{align-items:center;gap:24px;padding:40px 0;position:relative;text-align:center}.style-module_wrapInfo__6JMoe .content{max-width:680px;width:100%}.style-module_wrapInfo__6JMoe .social-link{align-items:center;display:flex;gap:4px;justify-content:space-between}.style-module_wrapInfo__6JMoe .social-link img{height:32px;width:32px}@media (max-width:767px){.style-module_wrapInfo__6JMoe{padding:32px 0}}.style-module_wrapCopyRight__8eUT8{background-color:#202135;padding:16px 0;position:relative}.style-module_wrapCopyRight__8eUT8 img{height:32px;width:89px}.style-module_wrapCopyRight__8eUT8 .content{align-items:center;display:flex;gap:174px;justify-content:space-between;margin:auto 68px}@media (max-width:1023px){.style-module_wrapCopyRight__8eUT8 .content{margin:auto 16px}}@media (max-width:767px){.style-module_wrapCopyRight__8eUT8 .content{align-items:flex-start;flex-direction:column-reverse;gap:16px;margin:auto 0}}.style-module_wrapCopyRight__8eUT8 .verify{align-items:flex-start;display:flex;gap:8px}.style-module_container__cjDwo{overflow:hidden}.style-module_container__cjDwo:before{border-radius:2150px 2150px 0 0/200px 200px 0 0;content:"";display:block;height:100%;left:50%;position:absolute;top:0;transform:translateX(-50%);width:150%}@media (max-width:767px){.style-module_container__cjDwo:before{width:100%}}
@@ -1 +1 @@
1
- export{i as Types}from"./index-43dc3915.js";export{i as Constants}from"./index-e1487bae.js";export{A as Alert,V as AmpNextPage,g as ArticleCard,H as BMICardEmbed,N as BMRCardEmbed,J as BabyGrowthCardEmbed,K as BabyPoopEmbed,B as Badge,a as BorderHeading,h as Breadcrumbs,o as Carousel,i as CategoryCard,C as Checkbox,j as CheckboxGroup,w as CookieAcceptConfirm,D as DatePicker,W as DateRangePicker,s as DoctorInfo,E as DueDateCardEmbed,F as FileDropdown,v as FloatButtonGroup,G as Grid,I as IconText,a1 as Immunization,M as MobileBottomNavigation,x as MobileBottomNavigationIcon,O as OvulationCardEmbed,Q as PWGCardEmbed,P as Pagination,f as Progress,k as ProgressBar,R as Radio,l as RadioGroup,e as RateStars,_ as RecordsByAgeGroup,n as ScrollList,y as SeoHead,S as Shadow,X as ShareContainer,Y as ShareDrawer,m as SideMenu,b as Slider,p as StatisticCard,t as SurveyQuestionCard,u as SurveyThankyouCard,L as THRCardEmbed,q as Table,r as Tabs,T as Tag,$ as TimelineBanner,c as Toggle,z as ToolsBannerCard,U as UnderlinedLink,d as Uploader,Z as VaccineCard,a0 as VaccineDetailPopup}from"./index-bbbe135a.js";export{A as Avatar,D as DefaultComponentGlobalContextData,G as GlobalData,P as Popup,T as TogetherComponentGlobalContext,a as TogetherComponentGlobalContextProvider,c as TogetherConstants,d as TogetherDataTransforms,U as UserAvatar}from"./index-9c9eb3ce.js";export{B as Button}from"./index-613cf5d4.js";export{A as AuthorBadge,D as Divider,a as Dropdown}from"./index-f62ee0af.js";export{F as Flag,L as LanguageSwitcher,d as NavigationLogoutPopup,e as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,U as UserProfileNavigation,b as UserProfileNavigationHeader,c as UserProfileNavigationStats,g as getNavMenuContent,a as getNavMenuContentWithCache}from"./index-99c3440f.js";export{H as Heading}from"./index-27d646df.js";export{I as Input}from"./index-d9eeae90.js";export{L as Label}from"./index-be749962.js";export{L as Logo}from"./index-ff33527b.js";export{P as PureInput}from"./index-4ba866f2.js";export{T as Text}from"./index-bb559d1f.js";export{D as Drawer,I as Icon,M as Menu,b as Modal,N as NewBabyProfileRadio,R as RadioImageGroup,T as TextArea,a as TextDivider}from"./index-84b9d2a7.js";export{C as Container}from"./index-c58d0993.js";export{C as CustomReferenceDot}from"./index-22818d55.js";export{P as PillCarousel}from"./index-607ffd44.js";export{Footer}from"./footer.js";export{u as useTranslations}from"./useTranslations-e769d6fe.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-988623e5.js";export{u as useFbDataLayer}from"./useFbDataLayer-39219288.js";export{u as useHealthToolsCache}from"./useHealthToolCache-bd293ae2.js";export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-2857dc12.js";export{T as TranslationsContext,d as defaultTranslations}from"./translationsContext-c5cf6a09.js";export{g as CardAuthor,C as CardLink,y as CardPost,z as CardPostPopoverMore,b as CardReactions,A as CardReply,B as CardReplyPopover,h as CreateNewPostContent,i as CreatePostDescription,j as CreatePostTitle,s as ImagePreviewPopup,I as InputCommentBar,e as LabelPin,d as LabelSortPin,f as LabelSorting,L as Loading,D as PopoverMenu,P as PopupDanger,l as PopupDoctor,k as PopupExpert,o as PopupFrame,m as PopupHospital,r as PostContent,w as PostImagePreview,v as PostSingleImageViewPopup,q as ShareBox,S as SharePopup,x as SocialLinkPreview,p as SubmitReportForm,c as TagTopic,T as TogetherAuthConfigContext,a as TogetherAuthConfigContextProvider,t as TogetherTypes,n as TopicSelectList,u as useTogetherAuthRequiredAction}from"./types-8cfc7d74.js";export{B as BookingSearchBar,t as CareTypes}from"./types-1000c6c5.js";export{c as CareConstants}from"./constants-8bd53831.js";export{a as ageGenerate,c as convertLocalizedStringToNumber,l as localizeNumberFormat}from"./localizeNumberFormat-33e5e811.js";export{S as ScreenSizeContext,j as ScreenSizeContextProvider,h as fadeIn,i as getWindowSizeGroups,a as slideInDown,b as slideInLeft,c as slideInRight,s as slideInUp,e as slideOutDown,f as slideOutLeft,g as slideOutRight,d as slideOutUp}from"./screenSizeContext-a0192e3a.js";export{d as deleteCookie,g as getCookie,s as setCookie}from"./cookieHelper-8dd17c53.js";export{l as lazyLoadInstance}from"./lazyLoad-97f7dbd4.js";import"react";import"styled-components";export{t as theme}from"./theme-4a36a09c.js";export{a as abbreviateNumber,f as formatPill}from"./dataTransform-a2d43770.js";export{d as getCareApiDomain,g as getCurrentBaseUrl,a as getCurrentSsoUrl,c as getDiscoverApiDomain,b as getTogetherApiDomain}from"./routing-405df031.js";export{B as Breakpoints,M as MediaQueries,f as formatUrlWithPageParam,g as getBoundariesFromMediaQueryKey,a as getPopupWrapperDom,b as getWrapperDomWithSelector,m as makeParams,c as safeEncodeURI,s as startCase,t as toggleNoScroll}from"./utils-a4496303.js";export{f as formatHealthTool,g as getDynamicHealthTool,a as getDynamicHealthToolWithCache}from"./getDynamicHealthTool-b1a08883.js";export{g as getSocialList}from"./getSocialList-c6556bcd.js";import"./Locale-597e8a2f.js";import"./isProduction-0f7c16f9.js";import"./tslib.es6-c7fb770c.js";import"./gAssets.js";import"lodash/throttle";import"keen-slider/react";import"dayjs";import"react-property";import"date-fns";import"./types-c068aafa.js";import"react-hook-form";import"./index-aaaae8f3.js";import"@mantine/core";import"@mantine/hooks";import"@hookform/resolvers/yup";import"react-range";import"react-day-picker/DayPickerInput";import"./defaultClassWrapper-7a9672a6.js";import"./useOutsideClick-d2703f2e.js";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"@mantine/dates";import"./index.styled-7a561061.js";import"./index-749708a4.js";import"slugify";import"string-format";import"./core-6e924d14.js";import"dayjs/plugin/relativeTime";import"lodash/debounce";import"react-dom";import"./index-06186051.js";import"@mantine/carousel";import"innertext";import"react-contenteditable";import"react-loading-skeleton";import"lodash/shuffle";import"vanilla-lazyload";
1
+ export{i as Types}from"./index-1b961f29.js";export{i as Constants}from"./index-4a826aff.js";export{A as Alert,V as AmpNextPage,g as ArticleCard,H as BMICardEmbed,N as BMRCardEmbed,J as BabyGrowthCardEmbed,K as BabyPoopEmbed,B as Badge,a as BorderHeading,h as Breadcrumbs,o as Carousel,i as CategoryCard,C as Checkbox,j as CheckboxGroup,w as CookieAcceptConfirm,D as DatePicker,W as DateRangePicker,s as DoctorInfo,E as DueDateCardEmbed,F as FileDropdown,v as FloatButtonGroup,G as Grid,I as IconText,a1 as Immunization,M as MobileBottomNavigation,x as MobileBottomNavigationIcon,O as OvulationCardEmbed,Q as PWGCardEmbed,P as Pagination,f as Progress,k as ProgressBar,R as Radio,l as RadioGroup,e as RateStars,_ as RecordsByAgeGroup,n as ScrollList,y as SeoHead,S as Shadow,X as ShareContainer,Y as ShareDrawer,m as SideMenu,b as Slider,p as StatisticCard,t as SurveyQuestionCard,u as SurveyThankyouCard,L as THRCardEmbed,q as Table,r as Tabs,T as Tag,$ as TimelineBanner,c as Toggle,z as ToolsBannerCard,U as UnderlinedLink,d as Uploader,Z as VaccineCard,a0 as VaccineDetailPopup}from"./index-1d79f3b0.js";export{A as Avatar,D as DefaultComponentGlobalContextData,G as GlobalData,P as Popup,T as TogetherComponentGlobalContext,a as TogetherComponentGlobalContextProvider,c as TogetherConstants,d as TogetherDataTransforms,U as UserAvatar}from"./index-e1cbd003.js";export{B as Button}from"./index-b3930eaf.js";export{A as AuthorBadge,D as Divider,a as Dropdown}from"./index-3011309a.js";export{F as Flag,L as LanguageSwitcher,d as NavigationLogoutPopup,e as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,U as UserProfileNavigation,b as UserProfileNavigationHeader,c as UserProfileNavigationStats,g as getNavMenuContent,a as getNavMenuContentWithCache}from"./index-6dd889d6.js";export{H as Heading}from"./index-23411e1f.js";export{I as Input}from"./index-04222e73.js";export{L as Label}from"./index-dba60333.js";export{L as Logo}from"./index-efeff0d3.js";export{P as PureInput}from"./index-df865fe5.js";export{T as Text}from"./index-6a2e11c0.js";export{D as Drawer,I as Icon,M as Menu,b as Modal,N as NewBabyProfileRadio,R as RadioImageGroup,T as TextArea,a as TextDivider}from"./index-c53586e4.js";export{C as Container}from"./index-99e5b83a.js";export{C as CustomReferenceDot}from"./index-6bcd451d.js";export{P as PillCarousel}from"./index-64a0842a.js";export{Footer}from"./footer.js";export{u as useTranslations}from"./useTranslations-507f6ec3.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-0584d7dc.js";export{u as useFbDataLayer}from"./useFbDataLayer-64a31d6d.js";export{u as useHealthToolsCache}from"./useHealthToolCache-84064383.js";export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-c55cc457.js";export{T as TranslationsContext,d as defaultTranslations}from"./translationsContext-e8a3b06e.js";export{g as CardAuthor,C as CardLink,y as CardPost,z as CardPostPopoverMore,b as CardReactions,A as CardReply,B as CardReplyPopover,h as CreateNewPostContent,i as CreatePostDescription,j as CreatePostTitle,s as ImagePreviewPopup,I as InputCommentBar,e as LabelPin,d as LabelSortPin,f as LabelSorting,L as Loading,D as PopoverMenu,P as PopupDanger,l as PopupDoctor,k as PopupExpert,o as PopupFrame,m as PopupHospital,r as PostContent,w as PostImagePreview,v as PostSingleImageViewPopup,q as ShareBox,S as SharePopup,x as SocialLinkPreview,p as SubmitReportForm,c as TagTopic,T as TogetherAuthConfigContext,a as TogetherAuthConfigContextProvider,t as TogetherTypes,n as TopicSelectList,u as useTogetherAuthRequiredAction}from"./types-2584a694.js";export{B as BookingSearchBar,t as CareTypes}from"./types-91c741f3.js";export{c as CareConstants}from"./constants-78fc7b33.js";export{a as ageGenerate,c as convertLocalizedStringToNumber,l as localizeNumberFormat}from"./localizeNumberFormat-1f129a34.js";export{S as ScreenSizeContext,j as ScreenSizeContextProvider,h as fadeIn,i as getWindowSizeGroups,a as slideInDown,b as slideInLeft,c as slideInRight,s as slideInUp,e as slideOutDown,f as slideOutLeft,g as slideOutRight,d as slideOutUp}from"./screenSizeContext-b2aaef3e.js";export{d as deleteCookie,g as getCookie,s as setCookie}from"./cookieHelper-b86eea34.js";export{l as lazyLoadInstance}from"./lazyLoad-1cbfb6f3.js";import"react";import"styled-components";export{t as theme}from"./theme-5b7443ca.js";export{a as abbreviateNumber,f as formatPill}from"./dataTransform-b6680f16.js";export{d as getCareApiDomain,g as getCurrentBaseUrl,a as getCurrentSsoUrl,c as getDiscoverApiDomain,b as getTogetherApiDomain}from"./routing-b9c4898b.js";export{B as Breakpoints,M as MediaQueries,f as formatUrlWithPageParam,g as getBoundariesFromMediaQueryKey,a as getPopupWrapperDom,b as getWrapperDomWithSelector,m as makeParams,c as safeEncodeURI,s as startCase,t as toggleNoScroll}from"./utils-f1c42bae.js";export{f as formatHealthTool,g as getDynamicHealthTool,a as getDynamicHealthToolWithCache}from"./getDynamicHealthTool-965daf6f.js";export{g as getSocialList}from"./getSocialList-f416d4e5.js";import"./Locale-4c73b469.js";import"./isProduction-2b826845.js";import"./tslib.es6-cb599e83.js";import"./gAssets.js";import"lodash/throttle";import"keen-slider/react";import"dayjs";import"react-property";import"date-fns";import"./types-d6ee09c2.js";import"react-hook-form";import"./index-90fdda95.js";import"@mantine/core";import"@mantine/hooks";import"@hookform/resolvers/yup";import"react-range";import"react-day-picker/DayPickerInput";import"./defaultClassWrapper-d0ba6b04.js";import"./useOutsideClick-410f2919.js";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"@mantine/dates";import"./index.styled-1d27156b.js";import"./index-0f99661c.js";import"slugify";import"string-format";import"./core-33f8ec8e.js";import"dayjs/plugin/relativeTime";import"lodash/debounce";import"react-dom";import"./index-d8f23162.js";import"@mantine/carousel";import"innertext";import"react-contenteditable";import"react-loading-skeleton";import"lodash/shuffle";import"vanilla-lazyload";
@@ -1 +1 @@
1
- import{b as n,c as e,_ as r}from"./tslib.es6-c7fb770c.js";import t from"styled-components";import a from"react";var o,l=t.hr(o||(o=n(["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"],["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"])),(function(n){return n.theme.colors.neutral200}),(function(n){return n.dividerType})),d=function(n){var t=n.size,o=n.color,l=n.isExpand,d=e(n,["size","color","isExpand"]);return l?a.createElement("svg",r({width:t,height:t,viewBox:"0 0 16 16",fill:o,xmlns:"http://www.w3.org/2000/svg"},d),a.createElement("path",{d:"M14.6625 0.500362C14.446 0.506813 14.2405 0.597296 14.0895 0.752641L10.7578 4.08435L9.69176 3.01664C9.37926 2.70414 8.84541 2.92491 8.84541 3.36657V6.67875C8.84541 6.95291 9.06687 7.17517 9.3402 7.17517H12.6524C13.094 7.17517 13.3148 6.64131 13.0023 6.32881L11.9362 5.26273L15.2679 1.93103C15.3884 1.81397 15.4706 1.66327 15.5039 1.49867C15.5372 1.33407 15.52 1.16325 15.4545 1.0086C15.3891 0.853944 15.2784 0.72267 15.1371 0.631979C14.9958 0.541288 14.8303 0.495412 14.6625 0.500362Z"}),a.createElement("path",{d:"M3.37015 8.84183C2.92848 8.84183 2.70771 9.37569 3.02021 9.68819L4.08792 10.7543L0.756214 14.086C0.676237 14.1628 0.612384 14.2547 0.568397 14.3565C0.524409 14.4583 0.501171 14.5678 0.500043 14.6787C0.498915 14.7895 0.51992 14.8995 0.561828 15.0022C0.603735 15.1048 0.665703 15.1981 0.744102 15.2765C0.822501 15.3549 0.915755 15.4168 1.0184 15.4587C1.12105 15.5007 1.23103 15.5217 1.3419 15.5205C1.45276 15.5194 1.56229 15.4962 1.66406 15.4522C1.76584 15.4082 1.85781 15.3443 1.9346 15.2644L5.26631 11.9327L6.33239 12.9987C6.64489 13.3112 7.17874 13.0905 7.17874 12.6488V9.33663C7.17874 9.06329 6.95649 8.84183 6.68232 8.84183H3.37015Z"})):a.createElement("svg",r({width:t,height:t,viewBox:"0 0 14 14",fill:o,xmlns:"http://www.w3.org/2000/svg"},d),a.createElement("path",{d:"M9.64991 0.333008C9.18412 0.333008 8.9513 0.896013 9.28086 1.22558L10.4052 2.35159L2.35171 10.405L1.2257 9.28074C0.896135 8.95118 0.33313 9.184 0.33313 9.64979V13.1428C0.33313 13.432 0.566681 13.6663 0.854939 13.6663H4.34969C4.81547 13.6663 5.04829 13.1033 4.71873 12.7738L3.59444 11.6478L11.6479 3.59432L12.7739 4.71861C13.1035 5.04817 13.6665 4.81535 13.6665 4.34957V0.854817C13.6665 0.566559 13.4321 0.333008 13.1429 0.333008H9.64991Z"}))};d.defaultProps={size:24,color:"inherit",isExpand:!1};var i,c=t.div(i||(i=n(["\n display: inline-block;\n height: 1rem;\n flex-shrink: 0;\n padding: 0 0.5rem;\n margin-left: 4px;\n border-radius: 1rem;\n color: white;\n font-size: 8px;\n font-weight: 600;\n line-height: 1rem;\n &[data-label-type='admin'] {\n background: ",";\n }\n &[data-label-type='local admin'] {\n background: ",";\n }\n &[data-label-type='ambassador'] {\n background: ",";\n }\n &[data-label-type='expert'] {\n background: ",";\n }\n &[data-label-type='moderator'] {\n background: ",";\n }\n &[data-label-type='sponsor'] {\n background: ",";\n }\n &[data-label-type='guide'] {\n background: ",";\n }\n &[data-label-type='influencer'] {\n background: ",";\n }\n"],["\n display: inline-block;\n height: 1rem;\n flex-shrink: 0;\n padding: 0 0.5rem;\n margin-left: 4px;\n border-radius: 1rem;\n color: white;\n font-size: 8px;\n font-weight: 600;\n line-height: 1rem;\n &[data-label-type='admin'] {\n background: ",";\n }\n &[data-label-type='local admin'] {\n background: ",";\n }\n &[data-label-type='ambassador'] {\n background: ",";\n }\n &[data-label-type='expert'] {\n background: ",";\n }\n &[data-label-type='moderator'] {\n background: ",";\n }\n &[data-label-type='sponsor'] {\n background: ",";\n }\n &[data-label-type='guide'] {\n background: ",";\n }\n &[data-label-type='influencer'] {\n background: ",";\n }\n"])),(function(n){return n.theme.colors.blue800}),(function(n){return n.theme.colors.blue800}),(function(n){return n.theme.colors.green400}),(function(n){return n.theme.colors.red400}),(function(n){return n.theme.colors.yellow800}),(function(n){return n.theme.colors.teal400}),(function(n){return n.theme.colors.teal400}),(function(n){return n.theme.colors.teal400}));export{d as F,l as S,c as a};
1
+ import{b as n,c as e,_ as r}from"./tslib.es6-cb599e83.js";import t from"styled-components";import a from"react";var o,l=t.hr(o||(o=n(["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"],["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"])),(function(n){return n.theme.colors.neutral200}),(function(n){return n.dividerType})),d=function(n){var t=n.size,o=n.color,l=n.isExpand,d=e(n,["size","color","isExpand"]);return l?a.createElement("svg",r({width:t,height:t,viewBox:"0 0 16 16",fill:o,xmlns:"http://www.w3.org/2000/svg"},d),a.createElement("path",{d:"M14.6625 0.500362C14.446 0.506813 14.2405 0.597296 14.0895 0.752641L10.7578 4.08435L9.69176 3.01664C9.37926 2.70414 8.84541 2.92491 8.84541 3.36657V6.67875C8.84541 6.95291 9.06687 7.17517 9.3402 7.17517H12.6524C13.094 7.17517 13.3148 6.64131 13.0023 6.32881L11.9362 5.26273L15.2679 1.93103C15.3884 1.81397 15.4706 1.66327 15.5039 1.49867C15.5372 1.33407 15.52 1.16325 15.4545 1.0086C15.3891 0.853944 15.2784 0.72267 15.1371 0.631979C14.9958 0.541288 14.8303 0.495412 14.6625 0.500362Z"}),a.createElement("path",{d:"M3.37015 8.84183C2.92848 8.84183 2.70771 9.37569 3.02021 9.68819L4.08792 10.7543L0.756214 14.086C0.676237 14.1628 0.612384 14.2547 0.568397 14.3565C0.524409 14.4583 0.501171 14.5678 0.500043 14.6787C0.498915 14.7895 0.51992 14.8995 0.561828 15.0022C0.603735 15.1048 0.665703 15.1981 0.744102 15.2765C0.822501 15.3549 0.915755 15.4168 1.0184 15.4587C1.12105 15.5007 1.23103 15.5217 1.3419 15.5205C1.45276 15.5194 1.56229 15.4962 1.66406 15.4522C1.76584 15.4082 1.85781 15.3443 1.9346 15.2644L5.26631 11.9327L6.33239 12.9987C6.64489 13.3112 7.17874 13.0905 7.17874 12.6488V9.33663C7.17874 9.06329 6.95649 8.84183 6.68232 8.84183H3.37015Z"})):a.createElement("svg",r({width:t,height:t,viewBox:"0 0 14 14",fill:o,xmlns:"http://www.w3.org/2000/svg"},d),a.createElement("path",{d:"M9.64991 0.333008C9.18412 0.333008 8.9513 0.896013 9.28086 1.22558L10.4052 2.35159L2.35171 10.405L1.2257 9.28074C0.896135 8.95118 0.33313 9.184 0.33313 9.64979V13.1428C0.33313 13.432 0.566681 13.6663 0.854939 13.6663H4.34969C4.81547 13.6663 5.04829 13.1033 4.71873 12.7738L3.59444 11.6478L11.6479 3.59432L12.7739 4.71861C13.1035 5.04817 13.6665 4.81535 13.6665 4.34957V0.854817C13.6665 0.566559 13.4321 0.333008 13.1429 0.333008H9.64991Z"}))};d.defaultProps={size:24,color:"inherit",isExpand:!1};var i,c=t.div(i||(i=n(["\n display: inline-block;\n height: 1rem;\n flex-shrink: 0;\n padding: 0 0.5rem;\n margin-left: 4px;\n border-radius: 1rem;\n color: white;\n font-size: 8px;\n font-weight: 600;\n line-height: 1rem;\n &[data-label-type='admin'] {\n background: ",";\n }\n &[data-label-type='local admin'] {\n background: ",";\n }\n &[data-label-type='ambassador'] {\n background: ",";\n }\n &[data-label-type='expert'] {\n background: ",";\n }\n &[data-label-type='moderator'] {\n background: ",";\n }\n &[data-label-type='sponsor'] {\n background: ",";\n }\n &[data-label-type='guide'] {\n background: ",";\n }\n &[data-label-type='influencer'] {\n background: ",";\n }\n"],["\n display: inline-block;\n height: 1rem;\n flex-shrink: 0;\n padding: 0 0.5rem;\n margin-left: 4px;\n border-radius: 1rem;\n color: white;\n font-size: 8px;\n font-weight: 600;\n line-height: 1rem;\n &[data-label-type='admin'] {\n background: ",";\n }\n &[data-label-type='local admin'] {\n background: ",";\n }\n &[data-label-type='ambassador'] {\n background: ",";\n }\n &[data-label-type='expert'] {\n background: ",";\n }\n &[data-label-type='moderator'] {\n background: ",";\n }\n &[data-label-type='sponsor'] {\n background: ",";\n }\n &[data-label-type='guide'] {\n background: ",";\n }\n &[data-label-type='influencer'] {\n background: ",";\n }\n"])),(function(n){return n.theme.colors.blue800}),(function(n){return n.theme.colors.blue800}),(function(n){return n.theme.colors.green400}),(function(n){return n.theme.colors.red400}),(function(n){return n.theme.colors.yellow800}),(function(n){return n.theme.colors.teal400}),(function(n){return n.theme.colors.teal400}),(function(n){return n.theme.colors.teal400}));export{d as F,l as S,c as a};