@hhgtech/hhg-components 1.26.32 → 1.26.34

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 (294) hide show
  1. package/build/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components/atoms/authorBadge/index.styles.d.ts +4 -2
  5. package/build/components/atoms/customReferenceDot/index.d.ts +1 -1
  6. package/build/components/mantine/anchor/index.styles.d.ts +4 -2
  7. package/build/components/mantine/button/index.styles.d.ts +4 -2
  8. package/build/components/mantine/datepicker/index.d.ts +4 -8
  9. package/build/components/mantine/index.d.ts +1 -1
  10. package/build/components/mantine/input/number.d.ts +2 -2
  11. package/build/components/mantine/otp/index.d.ts +2 -2
  12. package/build/components/mantine/phone/index.d.ts +1 -1
  13. package/build/components/mantine/tabs/index.styles.d.ts +4 -2
  14. package/build/components/mantine/text/index.styles.d.ts +4 -2
  15. package/build/components/mantine/theme/input.d.ts +4 -3
  16. package/build/components/mantine/theme/other.d.ts +2 -2
  17. package/build/components/mantine/theme/text.d.ts +38 -38
  18. package/build/components/molecules/tabs/index.styles.d.ts +8 -2
  19. package/build/components.js +1 -1
  20. package/build/constants.js +1 -1
  21. package/build/core-e0ab68ed.js +1 -0
  22. package/build/{dataTransform-28101413.js → dataTransform-3d1fe75a.js} +1 -1
  23. package/build/ecom.js +1 -1
  24. package/build/esm/babyGrowth.js +2 -2
  25. package/build/esm/cache.js +1 -1
  26. package/build/esm/care.js +1 -1
  27. package/build/esm/components.js +1 -1
  28. package/build/esm/constants.js +1 -1
  29. package/build/esm/{core-8caadfc5.js → core-99bd482d.js} +1 -1
  30. package/build/esm/{dataTransform-274126e8.js → dataTransform-b1a60c6f.js} +1 -1
  31. package/build/esm/ecom.js +1 -1
  32. package/build/esm/footer.js +1 -1
  33. package/build/esm/gAssets.js +1 -1
  34. package/build/esm/{getDynamicHealthTool-90551b77.js → getDynamicHealthTool-9469155c.js} +1 -1
  35. package/build/esm/{getSocialList-466fa13f.js → getSocialList-26e7744f.js} +1 -1
  36. package/build/esm/hooks.js +1 -1
  37. package/build/esm/i18n.js +1 -1
  38. package/build/esm/index-052ead15.js +134 -0
  39. package/build/esm/{index-ad7df466.js → index-07d550bd.js} +1 -1
  40. package/build/esm/{index-c8894e53.js → index-1c2e6b11.js} +1 -1
  41. package/build/esm/index-35720c39.js +1 -0
  42. package/build/esm/{index-49d42994.js → index-3a573a81.js} +1 -1
  43. package/build/esm/{index-9e21a856.js → index-415aa6a6.js} +1 -1
  44. package/build/esm/{index-c1c4ea8a.js → index-492dce7f.js} +1 -1
  45. package/build/esm/index-4c732e19.js +1 -0
  46. package/build/esm/{index-7b7ecc63.js → index-4cdba9f7.js} +1 -1
  47. package/build/esm/index-5150413f.js +1 -0
  48. package/build/esm/{index-e1c04a61.js → index-5b3fa6f4.js} +1 -1
  49. package/build/esm/index-66ca40b3.js +1 -0
  50. package/build/esm/{index-587a7c6c.js → index-792f34c0.js} +1 -1
  51. package/build/esm/{index-a7593bb9.js → index-7c7a71c2.js} +1 -1
  52. package/build/esm/{index-12de6c42.js → index-9f920249.js} +1 -1
  53. package/build/esm/index-abc2e161.js +1 -0
  54. package/build/esm/{index-e00f38c9.js → index-cbd70f4c.js} +1 -1
  55. package/build/esm/{index-aa91b2e8.js → index-cc1cc2ec.js} +1 -1
  56. package/build/esm/{index-6e4970c6.js → index-ce636090.js} +1 -1
  57. package/build/esm/{index-5faf1733.js → index-dca34eeb.js} +6 -6
  58. package/build/esm/{index-f279f9cc.js → index-e0755edc.js} +1 -1
  59. package/build/esm/{index-2dcd7658.js → index-ec106ff6.js} +1 -1
  60. package/build/esm/index-f1de8784.js +1 -0
  61. package/build/esm/index.js +1 -1
  62. package/build/esm/{index.styled-30b4b2d2.js → index.styled-1ccc5a77.js} +2 -2
  63. package/build/esm/{index.styled-c8b3bbda.js → index.styled-8a25e151.js} +1 -1
  64. package/build/esm/{index.styled-e1458854.js → index.styled-940adc9b.js} +173 -173
  65. package/build/esm/{index.styled-1b7062fa.js → index.styled-afbee6df.js} +1 -1
  66. package/build/esm/{index.styled-7d3abcab.js → index.styled-c947699d.js} +1 -1
  67. package/build/esm/lead.js +1 -1
  68. package/build/esm/mantine.js +1 -1
  69. package/build/esm/misc.js +1 -1
  70. package/build/esm/navigation.js +1 -1
  71. package/build/esm/onboarding.js +1 -1
  72. package/build/esm/pwg.js +5 -5
  73. package/build/esm/{routing-5659c7c1.js → routing-975273e0.js} +1 -1
  74. package/build/esm/{screenSizeContext-ef383a81.js → screenSizeContext-e78224e2.js} +1 -1
  75. package/build/esm/together.js +1 -1
  76. package/build/esm/{translationsProvider-c6ae6aba.js → translationsProvider-6d5e47dc.js} +1 -1
  77. package/build/esm/{types-a8957b61.js → types-8b435e81.js} +1 -1
  78. package/build/esm/{types-b47cfb90.js → types-f9aab877.js} +80 -79
  79. package/build/esm/types.js +1 -1
  80. package/build/esm/{useHealthToolCache-33638761.js → useHealthToolCache-900f7b60.js} +1 -1
  81. package/build/esm/{useRafState-8ad5ff5d.js → useRafState-432223b9.js} +1 -1
  82. package/build/esm/{useTranslations-09fd59a7.js → useTranslations-9c41e6c8.js} +1 -1
  83. package/build/esm/{utils-737d26dc.js → utils-618e7683.js} +16 -16
  84. package/build/esm/vaccination.js +12 -12
  85. package/build/footer.js +1 -1
  86. package/build/gAssets.js +1 -1
  87. package/build/getDynamicHealthTool-b44915cf.js +1 -0
  88. package/build/{getSocialList-a32f7622.js → getSocialList-2c798760.js} +1 -1
  89. package/build/hooks.js +1 -1
  90. package/build/i18n.js +1 -1
  91. package/build/index-135d06ea.js +1 -0
  92. package/build/{index-8515331b.js → index-393683bd.js} +1 -1
  93. package/build/{index-20ec378a.js → index-518a689f.js} +1 -1
  94. package/build/{index-28df8c27.js → index-52ef0508.js} +1 -1
  95. package/build/{index-b24d30a4.js → index-602fff84.js} +1 -1
  96. package/build/{index-023543bd.js → index-62c90fc9.js} +11 -11
  97. package/build/{index-a2796700.js → index-65a1e316.js} +1 -1
  98. package/build/{index-6783d880.js → index-68b36671.js} +1 -1
  99. package/build/{index-ff37193f.js → index-7741d720.js} +1 -1
  100. package/build/index-84aa447d.js +134 -0
  101. package/build/{index-d3826236.js → index-880ed496.js} +1 -1
  102. package/build/index-8abaf3c2.js +1 -0
  103. package/build/index-94d01c18.js +1 -0
  104. package/build/index-a0c1abdd.js +1 -0
  105. package/build/{index-bcc60c35.js → index-ac489f86.js} +1 -1
  106. package/build/{index-db12a261.js → index-ba38d2ea.js} +1 -1
  107. package/build/index-d1c0f20d.js +1 -0
  108. package/build/{index-2479abce.js → index-d2e91e47.js} +1 -1
  109. package/build/index-d79c7f8f.js +1 -0
  110. package/build/{index-34d6ee2c.js → index-e5f077a0.js} +1 -1
  111. package/build/{index-a1f24ac5.js → index-ee837a02.js} +1 -1
  112. package/build/{index-41ec0350.js → index-f2b90c69.js} +1 -1
  113. package/build/{index-76781aaa.js → index-f940d627.js} +1 -1
  114. package/build/index.js +1 -1
  115. package/build/{index.styled-6da69873.js → index.styled-3b98796b.js} +1 -1
  116. package/build/{index.styled-722fa7a1.js → index.styled-46729c66.js} +3 -3
  117. package/build/{index.styled-6e88c577.js → index.styled-c4beee2d.js} +1 -1
  118. package/build/{index.styled-06bff8be.js → index.styled-ecfffb79.js} +2 -2
  119. package/build/{index.styled-360b806d.js → index.styled-f732f62a.js} +1 -1
  120. package/build/lead.js +1 -1
  121. package/build/mantine.js +1 -1
  122. package/build/misc.js +1 -1
  123. package/build/navigation.js +1 -1
  124. package/build/onboarding.js +1 -1
  125. package/build/pwg.js +4 -4
  126. package/build/{routing-11b59429.js → routing-e1c33fd6.js} +1 -1
  127. package/build/screenSizeContext-0e09fb90.js +81 -0
  128. package/build/together/components/atoms/tagTopic/index.d.ts +6 -2
  129. package/build/together/components/molecules/cardAuthor/index.styles.d.ts +5 -2
  130. package/build/together/components/molecules/postContent/index.styles.d.ts +4 -2
  131. package/build/together.js +1 -1
  132. package/build/{translationsProvider-f706d7ce.js → translationsProvider-c759758b.js} +1 -1
  133. package/build/{types-1c02a2e5.js → types-1acc14ed.js} +10 -9
  134. package/build/{types-181bd739.js → types-d19c0294.js} +37 -37
  135. package/build/types.js +1 -1
  136. package/build/useHealthToolCache-cd6dc17f.js +1 -0
  137. package/build/{useRafState-2246427c.js → useRafState-a94ab907.js} +1 -1
  138. package/build/useTranslations-ef5fab21.js +1 -0
  139. package/build/{utils-0eff6749.js → utils-0b352512.js} +14 -14
  140. package/build/vaccination.js +49 -49
  141. package/package.json +10 -15
  142. package/build/components/mantine/datepicker/index.styled.d.ts +0 -3
  143. package/build/components/mantine/datepicker/range.d.ts +0 -5
  144. package/build/core-e1d079c2.js +0 -1
  145. package/build/esm/index-7c08fc24.js +0 -151
  146. package/build/esm/index-96906ea3.js +0 -1
  147. package/build/esm/index-d67f0f84.js +0 -1
  148. package/build/esm/index-dfa681bc.js +0 -1
  149. package/build/esm/index-e0b5236e.js +0 -1
  150. package/build/esm/index-f9a3ccf7.js +0 -1
  151. package/build/getDynamicHealthTool-f5800966.js +0 -1
  152. package/build/index-05a92235.js +0 -1
  153. package/build/index-18e5870d.js +0 -1
  154. package/build/index-5140044f.js +0 -1
  155. package/build/index-922aa090.js +0 -1
  156. package/build/index-a2bee1ad.js +0 -1
  157. package/build/index-dfb7b798.js +0 -151
  158. package/build/screenSizeContext-2a70b050.js +0 -81
  159. package/build/useHealthToolCache-e8385f9f.js +0 -1
  160. package/build/useTranslations-b15251a8.js +0 -1
  161. /package/build/{BMI_BOYS.percentile.monthly-1d7af41b.js → BMI_BOYS.percentile.monthly-a12d572a.js} +0 -0
  162. /package/build/{BMI_BOYS.percentile.weekly-b069d62a.js → BMI_BOYS.percentile.weekly-d7bb5879.js} +0 -0
  163. /package/build/{BMI_BOYS.percentile.yearly-8ff4bb62.js → BMI_BOYS.percentile.yearly-9b242344.js} +0 -0
  164. /package/build/{BMI_BOYS.zscore.monthly-78a9cc6f.js → BMI_BOYS.zscore.monthly-79ce3b3a.js} +0 -0
  165. /package/build/{BMI_BOYS.zscore.weekly-1d2397cb.js → BMI_BOYS.zscore.weekly-7066042e.js} +0 -0
  166. /package/build/{BMI_BOYS.zscore.yearly-70f2ff71.js → BMI_BOYS.zscore.yearly-04ab4a71.js} +0 -0
  167. /package/build/{BMI_GIRLS.percentile.monthly-5c551722.js → BMI_GIRLS.percentile.monthly-52160865.js} +0 -0
  168. /package/build/{BMI_GIRLS.percentile.weekly-777ee642.js → BMI_GIRLS.percentile.weekly-cdb89d90.js} +0 -0
  169. /package/build/{BMI_GIRLS.percentile.yearly-1932ad70.js → BMI_GIRLS.percentile.yearly-7ce25f13.js} +0 -0
  170. /package/build/{BMI_GIRLS.zscore.monthly-0ae0242b.js → BMI_GIRLS.zscore.monthly-0108625a.js} +0 -0
  171. /package/build/{BMI_GIRLS.zscore.weekly-1b3d59ee.js → BMI_GIRLS.zscore.weekly-10f3e4c5.js} +0 -0
  172. /package/build/{BMI_GIRLS.zscore.yearly-acfef8b9.js → BMI_GIRLS.zscore.yearly-53941b82.js} +0 -0
  173. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-dc8dd3a0.js → HEAD CIRCUM_BOYS.percentile.monthly-b5307bc9.js} +0 -0
  174. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-757ffdef.js → HEAD CIRCUM_BOYS.percentile.weekly-d1b2f383.js} +0 -0
  175. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-dc3039e6.js → HEAD CIRCUM_BOYS.percentile.yearly-05ba5c38.js} +0 -0
  176. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-f9b9537a.js → HEAD CIRCUM_BOYS.zscore.monthly-8fbab683.js} +0 -0
  177. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-8e0b9e55.js → HEAD CIRCUM_BOYS.zscore.weekly-2bf495f2.js} +0 -0
  178. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-5ebba785.js → HEAD CIRCUM_BOYS.zscore.yearly-8734aefb.js} +0 -0
  179. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-7b3a69d4.js → HEAD CIRCUM_GIRLS.percentile.monthly-cae87b5d.js} +0 -0
  180. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-6468172c.js → HEAD CIRCUM_GIRLS.percentile.weekly-a0589aab.js} +0 -0
  181. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-8b529237.js → HEAD CIRCUM_GIRLS.percentile.yearly-c16050d3.js} +0 -0
  182. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-7e4b2c79.js → HEAD CIRCUM_GIRLS.zscore.monthly-c77441cb.js} +0 -0
  183. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-c93c76b4.js → HEAD CIRCUM_GIRLS.zscore.weekly-85e93804.js} +0 -0
  184. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-09ac4a34.js → HEAD CIRCUM_GIRLS.zscore.yearly-45847929.js} +0 -0
  185. /package/build/{HEIGHT_BOYS.percentile.monthly-f4df1d4f.js → HEIGHT_BOYS.percentile.monthly-0a7fd5fd.js} +0 -0
  186. /package/build/{HEIGHT_BOYS.percentile.weekly-98c3c7ae.js → HEIGHT_BOYS.percentile.weekly-31b8e7c0.js} +0 -0
  187. /package/build/{HEIGHT_BOYS.percentile.yearly-0af9a6c7.js → HEIGHT_BOYS.percentile.yearly-57e1bc17.js} +0 -0
  188. /package/build/{HEIGHT_BOYS.zscore.monthly-74469225.js → HEIGHT_BOYS.zscore.monthly-c0e961e1.js} +0 -0
  189. /package/build/{HEIGHT_BOYS.zscore.weekly-5aedeb27.js → HEIGHT_BOYS.zscore.weekly-67559cc3.js} +0 -0
  190. /package/build/{HEIGHT_BOYS.zscore.yearly-a4d18a96.js → HEIGHT_BOYS.zscore.yearly-803c449c.js} +0 -0
  191. /package/build/{HEIGHT_GIRLS.percentile.monthly-f1271059.js → HEIGHT_GIRLS.percentile.monthly-63968e56.js} +0 -0
  192. /package/build/{HEIGHT_GIRLS.percentile.weekly-8edfbaee.js → HEIGHT_GIRLS.percentile.weekly-83011a09.js} +0 -0
  193. /package/build/{HEIGHT_GIRLS.percentile.yearly-1e0afe8c.js → HEIGHT_GIRLS.percentile.yearly-deda1b74.js} +0 -0
  194. /package/build/{HEIGHT_GIRLS.zscore.monthly-6f2fc7a4.js → HEIGHT_GIRLS.zscore.monthly-f93618db.js} +0 -0
  195. /package/build/{HEIGHT_GIRLS.zscore.weekly-53b292b4.js → HEIGHT_GIRLS.zscore.weekly-fbeda00a.js} +0 -0
  196. /package/build/{HEIGHT_GIRLS.zscore.yearly-9e3857fe.js → HEIGHT_GIRLS.zscore.yearly-903d8196.js} +0 -0
  197. /package/build/{Onboarding-5e427213.js → Onboarding-eb1bafb0.js} +0 -0
  198. /package/build/{Visible-a814efb4.js → Visible-f8de44a9.js} +0 -0
  199. /package/build/{WEIGHT_BOYS.percentile.monthly-2fdd897c.js → WEIGHT_BOYS.percentile.monthly-429752cc.js} +0 -0
  200. /package/build/{WEIGHT_BOYS.percentile.weekly-3a3c029a.js → WEIGHT_BOYS.percentile.weekly-23e7f2f7.js} +0 -0
  201. /package/build/{WEIGHT_BOYS.percentile.yearly-ab37985a.js → WEIGHT_BOYS.percentile.yearly-49c5487e.js} +0 -0
  202. /package/build/{WEIGHT_BOYS.zscore.monthly-57efda55.js → WEIGHT_BOYS.zscore.monthly-80f4945b.js} +0 -0
  203. /package/build/{WEIGHT_BOYS.zscore.weekly-94193753.js → WEIGHT_BOYS.zscore.weekly-0c08c5a7.js} +0 -0
  204. /package/build/{WEIGHT_BOYS.zscore.yearly-87105032.js → WEIGHT_BOYS.zscore.yearly-fc5500b9.js} +0 -0
  205. /package/build/{WEIGHT_GIRLS.percentile.monthly-1fa364b8.js → WEIGHT_GIRLS.percentile.monthly-17fd3272.js} +0 -0
  206. /package/build/{WEIGHT_GIRLS.percentile.weekly-6ae3377b.js → WEIGHT_GIRLS.percentile.weekly-c2b0ce89.js} +0 -0
  207. /package/build/{WEIGHT_GIRLS.percentile.yearly-c593b312.js → WEIGHT_GIRLS.percentile.yearly-f48ff3fd.js} +0 -0
  208. /package/build/{WEIGHT_GIRLS.zscore.monthly-fecd4f64.js → WEIGHT_GIRLS.zscore.monthly-0c2b1197.js} +0 -0
  209. /package/build/{WEIGHT_GIRLS.zscore.weekly-1643fd19.js → WEIGHT_GIRLS.zscore.weekly-a5bb1ae0.js} +0 -0
  210. /package/build/{WEIGHT_GIRLS.zscore.yearly-5da211cc.js → WEIGHT_GIRLS.zscore.yearly-708edfc1.js} +0 -0
  211. /package/build/{constants-668cc2e5.js → constants-1b3cea5d.js} +0 -0
  212. /package/build/{cookieHelper-4f45dbb8.js → cookieHelper-3a0803b2.js} +0 -0
  213. /package/build/{dataTransform-a7507c47.js → dataTransform-10d78994.js} +0 -0
  214. /package/build/esm/{BMI_BOYS.percentile.monthly-3e304387.js → BMI_BOYS.percentile.monthly-6198aea9.js} +0 -0
  215. /package/build/esm/{BMI_BOYS.percentile.weekly-dba58733.js → BMI_BOYS.percentile.weekly-c6afc3e2.js} +0 -0
  216. /package/build/esm/{BMI_BOYS.percentile.yearly-7d2a5262.js → BMI_BOYS.percentile.yearly-46e36a3d.js} +0 -0
  217. /package/build/esm/{BMI_BOYS.zscore.monthly-cf9a9acf.js → BMI_BOYS.zscore.monthly-8c7cc30b.js} +0 -0
  218. /package/build/esm/{BMI_BOYS.zscore.weekly-27bc7023.js → BMI_BOYS.zscore.weekly-981c686f.js} +0 -0
  219. /package/build/esm/{BMI_BOYS.zscore.yearly-8a1848c9.js → BMI_BOYS.zscore.yearly-fb704618.js} +0 -0
  220. /package/build/esm/{BMI_GIRLS.percentile.monthly-3ae14efa.js → BMI_GIRLS.percentile.monthly-ae936a7e.js} +0 -0
  221. /package/build/esm/{BMI_GIRLS.percentile.weekly-23889eb5.js → BMI_GIRLS.percentile.weekly-5cf081ac.js} +0 -0
  222. /package/build/esm/{BMI_GIRLS.percentile.yearly-7d6220a0.js → BMI_GIRLS.percentile.yearly-36aaed23.js} +0 -0
  223. /package/build/esm/{BMI_GIRLS.zscore.monthly-4b4186ab.js → BMI_GIRLS.zscore.monthly-cb709d10.js} +0 -0
  224. /package/build/esm/{BMI_GIRLS.zscore.weekly-4f0e900e.js → BMI_GIRLS.zscore.weekly-925cd031.js} +0 -0
  225. /package/build/esm/{BMI_GIRLS.zscore.yearly-7a6a3589.js → BMI_GIRLS.zscore.yearly-90d4a59f.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-b706ec38.js → HEAD CIRCUM_BOYS.percentile.monthly-a729146e.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-94c67b1b.js → HEAD CIRCUM_BOYS.percentile.weekly-641f3bf9.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-61b346e7.js → HEAD CIRCUM_BOYS.percentile.yearly-85577958.js} +0 -0
  229. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-395c7855.js → HEAD CIRCUM_BOYS.zscore.monthly-aedd75db.js} +0 -0
  230. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-26104ed6.js → HEAD CIRCUM_BOYS.zscore.weekly-0991576d.js} +0 -0
  231. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5a12ea42.js → HEAD CIRCUM_BOYS.zscore.yearly-8a273cf3.js} +0 -0
  232. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-8ecca100.js → HEAD CIRCUM_GIRLS.percentile.monthly-73fbfc2d.js} +0 -0
  233. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-63eb4486.js → HEAD CIRCUM_GIRLS.percentile.weekly-079e2e6b.js} +0 -0
  234. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-c0036f0f.js → HEAD CIRCUM_GIRLS.percentile.yearly-46469707.js} +0 -0
  235. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-361f637a.js → HEAD CIRCUM_GIRLS.zscore.monthly-6cdfc88a.js} +0 -0
  236. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-c6d6a792.js → HEAD CIRCUM_GIRLS.zscore.weekly-f0290a90.js} +0 -0
  237. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-12fd93f6.js → HEAD CIRCUM_GIRLS.zscore.yearly-e02d2992.js} +0 -0
  238. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-2bede227.js → HEIGHT_BOYS.percentile.monthly-9ee724ae.js} +0 -0
  239. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-050f52eb.js → HEIGHT_BOYS.percentile.weekly-3e590c72.js} +0 -0
  240. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-3b87b132.js → HEIGHT_BOYS.percentile.yearly-ff070e64.js} +0 -0
  241. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-40bef220.js → HEIGHT_BOYS.zscore.monthly-c614cced.js} +0 -0
  242. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-9aa468e7.js → HEIGHT_BOYS.zscore.weekly-4dcf6850.js} +0 -0
  243. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-794b66c2.js → HEIGHT_BOYS.zscore.yearly-c72b1285.js} +0 -0
  244. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-ea31290f.js → HEIGHT_GIRLS.percentile.monthly-1d364b2e.js} +0 -0
  245. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-2aac8847.js → HEIGHT_GIRLS.percentile.weekly-7b1e5c83.js} +0 -0
  246. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8e278f70.js → HEIGHT_GIRLS.percentile.yearly-c873e1c3.js} +0 -0
  247. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-42417d68.js → HEIGHT_GIRLS.zscore.monthly-d75227b1.js} +0 -0
  248. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-76528e2a.js → HEIGHT_GIRLS.zscore.weekly-f9cd377d.js} +0 -0
  249. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-8262a23a.js → HEIGHT_GIRLS.zscore.yearly-89a29d72.js} +0 -0
  250. /package/build/esm/{Onboarding-4f0cddc4.js → Onboarding-d98b0774.js} +0 -0
  251. /package/build/esm/{Visible-cfbdbafa.js → Visible-62e55d3e.js} +0 -0
  252. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-496c2978.js → WEIGHT_BOYS.percentile.monthly-a66df410.js} +0 -0
  253. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-a45d8435.js → WEIGHT_BOYS.percentile.weekly-14172e08.js} +0 -0
  254. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-fcc0e1d7.js → WEIGHT_BOYS.percentile.yearly-453362aa.js} +0 -0
  255. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-3c064878.js → WEIGHT_BOYS.zscore.monthly-7a70b8e5.js} +0 -0
  256. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-6b1ac607.js → WEIGHT_BOYS.zscore.weekly-55e0b627.js} +0 -0
  257. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-24ec3606.js → WEIGHT_BOYS.zscore.yearly-2c679127.js} +0 -0
  258. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-9a5d79de.js → WEIGHT_GIRLS.percentile.monthly-9d5d371c.js} +0 -0
  259. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-0c8157ed.js → WEIGHT_GIRLS.percentile.weekly-a0384e79.js} +0 -0
  260. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-b04ad579.js → WEIGHT_GIRLS.percentile.yearly-bd2ea6af.js} +0 -0
  261. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-3982ade2.js → WEIGHT_GIRLS.zscore.monthly-64bdb0fc.js} +0 -0
  262. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-a93fe176.js → WEIGHT_GIRLS.zscore.weekly-56458661.js} +0 -0
  263. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-ad2557ae.js → WEIGHT_GIRLS.zscore.yearly-41ca2f72.js} +0 -0
  264. /package/build/esm/{constants-62f03257.js → constants-79a0cf95.js} +0 -0
  265. /package/build/esm/{cookieHelper-d915d8aa.js → cookieHelper-90d9a31a.js} +0 -0
  266. /package/build/esm/{dataTransform-bec9ab4f.js → dataTransform-6bb57668.js} +0 -0
  267. /package/build/esm/{index-5e9f341a.js → index-b4cd461b.js} +0 -0
  268. /package/build/esm/{index-065a85d6.js → index-c67f25ce.js} +0 -0
  269. /package/build/esm/{isProduction-4ca4ba88.js → isProduction-ccc557d7.js} +0 -0
  270. /package/build/esm/{localizeNumberFormat-1d89a8f3.js → localizeNumberFormat-bfa04e69.js} +0 -0
  271. /package/build/esm/{normalizeLink-5db3e984.js → normalizeLink-21af4f5d.js} +0 -0
  272. /package/build/esm/{theme-5660ea9e.js → theme-d64df125.js} +0 -0
  273. /package/build/esm/{translationsContext-ea31a482.js → translationsContext-4a46dcec.js} +0 -0
  274. /package/build/esm/{tslib.es6-5ea1161d.js → tslib.es6-e30da8fd.js} +0 -0
  275. /package/build/esm/{types-db61e319.js → types-7a43b031.js} +0 -0
  276. /package/build/esm/{useIsInit-a958fa22.js → useIsInit-2c0f3461.js} +0 -0
  277. /package/build/esm/{useOutsideClick-904bbdea.js → useOutsideClick-46d61ca1.js} +0 -0
  278. /package/build/esm/{useScrollbarSize-e44804a5.js → useScrollbarSize-538091d5.js} +0 -0
  279. /package/build/esm/{useUniqueId-77ec7ac6.js → useUniqueId-a557d683.js} +0 -0
  280. /package/build/esm/{utils-53d109b3.js → utils-661f0fab.js} +0 -0
  281. /package/build/{index-026bb445.js → index-7c52b547.js} +0 -0
  282. /package/build/{index-cd53c242.js → index-d071c06b.js} +0 -0
  283. /package/build/{isProduction-5377bba0.js → isProduction-8235efe3.js} +0 -0
  284. /package/build/{localizeNumberFormat-6d3a030b.js → localizeNumberFormat-32d87ffb.js} +0 -0
  285. /package/build/{normalizeLink-f0f43c19.js → normalizeLink-3648c728.js} +0 -0
  286. /package/build/{theme-3d7b7e57.js → theme-b350d7e4.js} +0 -0
  287. /package/build/{translationsContext-3005d851.js → translationsContext-fc7a85ee.js} +0 -0
  288. /package/build/{tslib.es6-ff6d8bab.js → tslib.es6-87988b7e.js} +0 -0
  289. /package/build/{types-4a2937e6.js → types-9624c09a.js} +0 -0
  290. /package/build/{useIsInit-771c7f0e.js → useIsInit-57c29596.js} +0 -0
  291. /package/build/{useOutsideClick-0e005c18.js → useOutsideClick-40ff1be4.js} +0 -0
  292. /package/build/{useScrollbarSize-e9659238.js → useScrollbarSize-5cdd7d76.js} +0 -0
  293. /package/build/{useUniqueId-3c96cf52.js → useUniqueId-d28e0617.js} +0 -0
  294. /package/build/{utils-a25ea61c.js → utils-27b7214a.js} +0 -0
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-023543bd.js"),t=require("react"),r=require("./Onboarding-5e427213.js"),a=require("./theme-3d7b7e57.js"),l=require("./index-2479abce.js"),o=require("styled-components"),n=require("./index-bcc60c35.js"),i=require("./index-28df8c27.js"),s=require("./index-6783d880.js"),d=require("./screenSizeContext-2a70b050.js"),c=require("dayjs"),u=require("./useTranslations-b15251a8.js");require("lodash/debounce"),require("./isProduction-5377bba0.js"),require("./index-d3826236.js");var C=require("./localizeNumberFormat-6d3a030b.js"),h=require("./index.styled-6e88c577.js"),m=require("./utils-a25ea61c.js");require("./gAssets.js"),require("@mantine/core"),require("./index-ff37193f.js"),require("./index-8515331b.js");var f=require("./index-cd53c242.js");require("./index-dfb7b798.js"),require("./index-76781aaa.js"),require("@mantine/hooks");var y=require("./useOutsideClick-0e005c18.js"),p=require("./tslib.es6-ff6d8bab.js"),b=require("./index-41ec0350.js"),g=require("recharts"),w=require("lodash/chunk");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./useUniqueId-3c96cf52.js"),require("./index.styled-360b806d.js"),require("lodash/throttle"),require("./translationsContext-3005d851.js"),require("string-format"),require("@mantine/dates"),require("@mantine/carousel"),require("./index-b24d30a4.js"),require("./useScrollbarSize-e9659238.js"),require("react-dom");var E=x(t),v=x(o),B=x(c),L=x(w);const G=v.default.div`
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-62c90fc9.js"),t=require("react"),r=require("./Onboarding-eb1bafb0.js"),a=require("./theme-b350d7e4.js"),l=require("./index-d2e91e47.js"),o=require("styled-components"),n=require("./index-ac489f86.js"),i=require("./index-52ef0508.js"),s=require("./index-68b36671.js"),d=require("./screenSizeContext-0e09fb90.js"),c=require("dayjs"),u=require("./useTranslations-ef5fab21.js");require("lodash/debounce"),require("./isProduction-8235efe3.js"),require("./index-880ed496.js");var C=require("./localizeNumberFormat-32d87ffb.js"),h=require("./index.styled-c4beee2d.js"),m=require("./utils-27b7214a.js");require("./gAssets.js"),require("@mantine/core"),require("./index-7741d720.js"),require("./index-393683bd.js");var f=require("./index-d071c06b.js");require("@mantine/dates"),require("./index-84aa447d.js"),require("./index-f940d627.js"),require("@mantine/hooks");var y=require("./useOutsideClick-40ff1be4.js"),p=require("./tslib.es6-87988b7e.js"),b=require("./index-f2b90c69.js"),g=require("recharts"),w=require("lodash/chunk");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./useUniqueId-d28e0617.js"),require("./index.styled-f732f62a.js"),require("lodash/throttle"),require("./translationsContext-fc7a85ee.js"),require("string-format"),require("@mantine/carousel"),require("./index-602fff84.js"),require("./useScrollbarSize-5cdd7d76.js"),require("react-dom");var E=x(t),v=x(o),B=x(c),L=x(w);const G=v.default.div`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  gap: 16px;
@@ -276,7 +276,7 @@
276
276
  width: 100%;
277
277
  }
278
278
  }
279
- `,Y={[r.Gender.Boy]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.weekly-3a3c029a.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.monthly-2fdd897c.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.yearly-ab37985a.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.weekly-98c3c7ae.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.monthly-f4df1d4f.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.yearly-0af9a6c7.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.weekly-757ffdef.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.monthly-dc8dd3a0.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.yearly-dc3039e6.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.weekly-b069d62a.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.monthly-1d7af41b.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.yearly-8ff4bb62.js")}))}},[r.Gender.Girl]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.weekly-6ae3377b.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.monthly-1fa364b8.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.yearly-c593b312.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.weekly-8edfbaee.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.monthly-f1271059.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.yearly-1e0afe8c.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.weekly-6468172c.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.monthly-7b3a69d4.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.yearly-8b529237.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.weekly-777ee642.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.monthly-5c551722.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.yearly-1932ad70.js")}))}}},F={[r.Gender.Boy]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.weekly-94193753.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.monthly-57efda55.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.yearly-87105032.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.weekly-5aedeb27.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.monthly-74469225.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.yearly-a4d18a96.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.weekly-8e0b9e55.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.monthly-f9b9537a.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.yearly-5ebba785.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.weekly-1d2397cb.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.monthly-78a9cc6f.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.yearly-70f2ff71.js")}))}},[r.Gender.Girl]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.weekly-1643fd19.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.monthly-fecd4f64.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.yearly-5da211cc.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.weekly-53b292b4.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.monthly-6f2fc7a4.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.yearly-9e3857fe.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.weekly-c93c76b4.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.monthly-7e4b2c79.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.yearly-09ac4a34.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.weekly-1b3d59ee.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.monthly-0ae0242b.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.yearly-acfef8b9.js")}))}}},$=(e,t,a,l)=>l===r.LOCALE.Indonesia?F[e][t][a]():Y[e][t][a](),U=(e,t)=>{const[r,a]=L.default(t,Math.ceil(t.length/2)),l=r.map((e=>e.name)),o=a.map((e=>e.name));return l.includes(e)?{data:r,status:"first-half"}:o.includes(e)?{data:a,status:"second-half"}:{data:t,status:"full"}},K=(e,t)=>[...e,...t.map((e=>({name:e.name,history:e.history,risk:e.risk,toolTipLabel:e.toolTipLabel})))].sort(((e,t)=>e.name-t.name)),X=(e,t,r,a,l)=>[...e,{name:a,history:l,risk:t,toolTipLabel:r}].sort(((e,t)=>e.name-t.name)),J=(e,t=0)=>{const r=[];for(const a in e){e[a].forEach(((e,l)=>{r[l]?r[l][a]=e:r[l]={name:l+t,[a]:e}}))}return r},Q=(e,t=0)=>Array.from({length:e-t+1},((e,r)=>r+t)),ee=v.default.div`
279
+ `,Y={[r.Gender.Boy]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.weekly-23e7f2f7.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.monthly-429752cc.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.yearly-49c5487e.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.weekly-31b8e7c0.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.monthly-0a7fd5fd.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.yearly-57e1bc17.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.weekly-d1b2f383.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.monthly-b5307bc9.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.yearly-05ba5c38.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.weekly-d7bb5879.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.monthly-a12d572a.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.yearly-9b242344.js")}))}},[r.Gender.Girl]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.weekly-c2b0ce89.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.monthly-17fd3272.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.yearly-f48ff3fd.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.weekly-83011a09.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.monthly-63968e56.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.yearly-deda1b74.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.weekly-a0589aab.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.monthly-cae87b5d.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.yearly-c16050d3.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.weekly-cdb89d90.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.monthly-52160865.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.yearly-7ce25f13.js")}))}}},F={[r.Gender.Boy]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.weekly-0c08c5a7.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.monthly-80f4945b.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.yearly-fc5500b9.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.weekly-67559cc3.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.monthly-c0e961e1.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.yearly-803c449c.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.weekly-2bf495f2.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.monthly-8fbab683.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.yearly-8734aefb.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.weekly-7066042e.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.monthly-79ce3b3a.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.yearly-04ab4a71.js")}))}},[r.Gender.Girl]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.weekly-a5bb1ae0.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.monthly-0c2b1197.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.yearly-708edfc1.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.weekly-fbeda00a.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.monthly-f93618db.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.yearly-903d8196.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.weekly-85e93804.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.monthly-c77441cb.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.yearly-45847929.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.weekly-10f3e4c5.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.monthly-0108625a.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.yearly-53941b82.js")}))}}},$=(e,t,a,l)=>l===r.LOCALE.Indonesia?F[e][t][a]():Y[e][t][a](),U=(e,t)=>{const[r,a]=L.default(t,Math.ceil(t.length/2)),l=r.map((e=>e.name)),o=a.map((e=>e.name));return l.includes(e)?{data:r,status:"first-half"}:o.includes(e)?{data:a,status:"second-half"}:{data:t,status:"full"}},K=(e,t)=>[...e,...t.map((e=>({name:e.name,history:e.history,risk:e.risk,toolTipLabel:e.toolTipLabel})))].sort(((e,t)=>e.name-t.name)),X=(e,t,r,a,l)=>[...e,{name:a,history:l,risk:t,toolTipLabel:r}].sort(((e,t)=>e.name-t.name)),J=(e,t=0)=>{const r=[];for(const a in e){e[a].forEach(((e,l)=>{r[l]?r[l][a]=e:r[l]={name:l+t,[a]:e}}))}return r},Q=(e,t=0)=>Array.from({length:e-t+1},((e,r)=>r+t)),ee=v.default.div`
280
280
  position: relative;
281
281
  .custom-chart-label {
282
282
  display: flex;
package/build/cache.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./core-e1d079c2.js");require("./tslib.es6-ff6d8bab.js"),require("./isProduction-5377bba0.js"),exports.getCachedItem=e.getCachedItem,exports.getDataWithCache=e.getDataWithCache,exports.setCachedItem=e.setCachedItem;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./core-e0ab68ed.js");require("./tslib.es6-87988b7e.js"),require("./isProduction-8235efe3.js"),exports.getCachedItem=e.getCachedItem,exports.getDataWithCache=e.getDataWithCache,exports.setCachedItem=e.setCachedItem;
package/build/care.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./types-181bd739.js"),r=require("./constants-668cc2e5.js");require("./tslib.es6-ff6d8bab.js"),require("react"),require("./index-d3826236.js"),require("./Onboarding-5e427213.js"),require("./isProduction-5377bba0.js"),require("./cookieHelper-4f45dbb8.js"),require("./useTranslations-b15251a8.js"),require("./translationsContext-3005d851.js"),require("string-format"),require("lodash/debounce"),require("./index-b24d30a4.js"),require("@mantine/core"),require("./index-ff37193f.js"),require("./utils-a25ea61c.js"),require("styled-components"),require("./index-2479abce.js"),require("./theme-3d7b7e57.js"),require("react-loading-skeleton"),require("lodash/shuffle"),require("./useOutsideClick-0e005c18.js"),exports.BookingSearchBar=e.BookingSearchBar,exports.CareTypes=e.types,exports.CareConstants=r.constants;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./types-d19c0294.js"),r=require("./constants-1b3cea5d.js");require("./tslib.es6-87988b7e.js"),require("react"),require("./index-880ed496.js"),require("./Onboarding-eb1bafb0.js"),require("./isProduction-8235efe3.js"),require("./cookieHelper-3a0803b2.js"),require("./useTranslations-ef5fab21.js"),require("./translationsContext-fc7a85ee.js"),require("string-format"),require("lodash/debounce"),require("./index-602fff84.js"),require("@mantine/core"),require("./index-7741d720.js"),require("./utils-27b7214a.js"),require("styled-components"),require("./index-d2e91e47.js"),require("./theme-b350d7e4.js"),require("react-loading-skeleton"),require("lodash/shuffle"),require("./useOutsideClick-40ff1be4.js"),exports.BookingSearchBar=e.BookingSearchBar,exports.CareTypes=e.types,exports.CareConstants=r.constants;
@@ -1,5 +1,7 @@
1
- declare const _default: (params: void, options?: import("@mantine/core").UseStylesOptions<"root">) => {
2
- classes: Record<"root", string>;
1
+ declare const _default: (params: void, options?: import("@mantine/core").UseStylesOptions<string>) => {
2
+ classes: {
3
+ root: string;
4
+ };
3
5
  cx: (...args: any) => string;
4
6
  theme: import("@mantine/core").MantineTheme;
5
7
  };
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { ReferenceDotProps } from 'recharts';
3
- export declare const CustomReferenceDot: React.ForwardRefExoticComponent<Pick<ReferenceDotProps, "string" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "className" | "color" | "height" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "style" | "target" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPath" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filter" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "mask" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "path" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "key" | "isFront" | "alwaysShow" | "ifOverflow" | "yAxisId" | "xAxisId" | "shape" | "label" | "xAxis" | "yAxis" | "clipPathId"> & React.RefAttributes<SVGCircleElement>>;
3
+ export declare const CustomReferenceDot: React.ForwardRefExoticComponent<Omit<ReferenceDotProps, "ref"> & React.RefAttributes<SVGCircleElement>>;
@@ -1,8 +1,10 @@
1
1
  export interface StylesParams {
2
2
  color?: string;
3
3
  }
4
- declare const _default: (params: StylesParams, options?: import("@mantine/core").UseStylesOptions<"root">) => {
5
- classes: Record<"root", string>;
4
+ declare const _default: (params: StylesParams, options?: import("@mantine/core").UseStylesOptions<string>) => {
5
+ classes: {
6
+ root: string;
7
+ };
6
8
  cx: (...args: any) => string;
7
9
  theme: import("@mantine/core").MantineTheme;
8
10
  };
@@ -7,8 +7,10 @@ export interface ButtonStyles {
7
7
  isError?: boolean;
8
8
  children?: ReactNode;
9
9
  }
10
- declare const _default: (params: ButtonStyles, options?: import("@mantine/core").UseStylesOptions<"rootCustom">) => {
11
- classes: Record<"rootCustom", string>;
10
+ declare const _default: (params: ButtonStyles, options?: import("@mantine/core").UseStylesOptions<string>) => {
11
+ classes: {
12
+ rootCustom: string;
13
+ };
12
14
  cx: (...args: any) => string;
13
15
  theme: import("@mantine/core").MantineTheme;
14
16
  };
@@ -1,14 +1,10 @@
1
1
  import React from 'react';
2
- import { DatePickerProps as MantineDatePickerProps } from '@mantine/dates';
3
- import { DateRangePicker } from './range';
2
+ import { DatePickerType, DatePickerInputProps as MantineDatePickerInputProps } from '@mantine/dates';
4
3
  export type SharedType = {
5
4
  isRange?: boolean;
6
5
  isMB?: boolean;
6
+ fullWidth?: boolean;
7
7
  };
8
- export type DatePickerProps = SharedType & MantineDatePickerProps;
9
- export interface CompoundedComponent extends React.ForwardRefExoticComponent<DatePickerProps> {
10
- Range: typeof DateRangePicker;
11
- }
12
- declare const DatePicker: CompoundedComponent;
8
+ export type DatePickerProps<T extends DatePickerType = 'default'> = SharedType & MantineDatePickerInputProps<T>;
9
+ declare const DatePicker: <Type extends DatePickerType = "default">({ value, fullWidth, ...rest }: DatePickerProps<Type>) => React.JSX.Element;
13
10
  export { DatePicker };
14
- export * from './range';
@@ -1,6 +1,6 @@
1
1
  export type { SelectProps } from './select';
2
2
  export { Select } from './select';
3
- export type { DatePickerProps, DateRangePickerProps } from './datepicker';
3
+ export type { DatePickerProps } from './datepicker';
4
4
  export { DatePicker } from './datepicker';
5
5
  export { Breadcrumbs } from './breadcrumbs';
6
6
  export type { BreadcrumbsProps } from './breadcrumbs';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { NumberInputProps as MantineNumberInputProps } from '@mantine/core';
3
3
  export type NumberInputProps = Omit<MantineNumberInputProps, 'onChange' | 'value'> & {
4
- value?: number;
5
- onChange?(value: number): void;
4
+ value?: number | '';
5
+ onChange?(value?: number | ''): void;
6
6
  };
7
7
  declare const NumberInput: ({ value: _value, onChange: _onChange, ...props }: NumberInputProps) => React.JSX.Element;
8
8
  export { NumberInput };
@@ -9,10 +9,10 @@ export type OTPProps = Omit<OTPInputProps, 'value' | 'onChange'> & {
9
9
  onBlur?: FocusEventHandler<HTMLInputElement>;
10
10
  type?: 'password' | 'text' | 'number';
11
11
  };
12
- export declare const OTP: React.ForwardRefExoticComponent<Pick<Omit<OTPInputProps, "value" | "onChange"> & {
12
+ export declare const OTP: React.ForwardRefExoticComponent<Omit<Omit<OTPInputProps, "value" | "onChange"> & {
13
13
  valueLength?: number;
14
14
  value?: string | number;
15
15
  onChange?: (value: string | number) => void;
16
16
  onBlur?: FocusEventHandler<HTMLInputElement>;
17
17
  type?: 'password' | 'text' | 'number';
18
- }, "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "disabled" | "enterKeyHint" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "list" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "pattern" | "key" | "color" | "hidden" | "placeholder" | "readOnly" | "required" | "size" | "src" | "step" | "type" | "value" | "width" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "error" | "valueLength"> & React.RefAttributes<HTMLInputElement>>;
18
+ }, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -11,4 +11,4 @@ export type PhoneProps = Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputEle
11
11
  value?: string;
12
12
  onChange?: (v: string) => void;
13
13
  };
14
- export declare const Phone: React.ForwardRefExoticComponent<Pick<PhoneProps, "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "disabled" | "enterKeyHint" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "list" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "pattern" | "onChange" | "key" | "placeholder" | "readOnly" | "required" | "size" | "src" | "step" | "type" | "value" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "isError" | "countries" | "defaultCountry" | "countryCallingCodeEditable"> & React.RefAttributes<React.Ref<unknown>>>;
14
+ export declare const Phone: React.ForwardRefExoticComponent<Omit<PhoneProps, "ref"> & React.RefAttributes<React.Ref<unknown>>>;
@@ -2,8 +2,10 @@ export interface StylesParams {
2
2
  size?: string;
3
3
  weight?: string;
4
4
  }
5
- declare const _default: (params: void, options?: import("@mantine/core").UseStylesOptions<"root">) => {
6
- classes: Record<"root", string>;
5
+ declare const _default: (params: void, options?: import("@mantine/core").UseStylesOptions<string>) => {
6
+ classes: {
7
+ root: string;
8
+ };
7
9
  cx: (...args: any) => string;
8
10
  theme: import("@mantine/core").MantineTheme;
9
11
  };
@@ -2,8 +2,10 @@ export interface StylesParams {
2
2
  size?: string;
3
3
  weight?: string;
4
4
  }
5
- declare const _default: (params: StylesParams, options?: import("@mantine/core").UseStylesOptions<"root">) => {
6
- classes: Record<"root", string>;
5
+ declare const _default: (params: StylesParams, options?: import("@mantine/core").UseStylesOptions<string>) => {
6
+ classes: {
7
+ root: string;
8
+ };
7
9
  cx: (...args: any) => string;
8
10
  theme: import("@mantine/core").MantineTheme;
9
11
  };
@@ -1,4 +1,3 @@
1
- import { InputStylesParams } from '@mantine/core';
2
1
  import { LOCALE } from "../../../interfaces/types";
3
2
  export declare const GlobalInputStyle: (locale: LOCALE) => {
4
3
  InputWrapper: {
@@ -30,7 +29,9 @@ export declare const GlobalInputStyle: (locale: LOCALE) => {
30
29
  };
31
30
  };
32
31
  Input: {
33
- styles: (_theme: any, params: InputStylesParams) => {
32
+ styles: (_theme: any, _: any, { size }: {
33
+ size: any;
34
+ }) => {
34
35
  input: {
35
36
  border: string;
36
37
  transition: string;
@@ -47,7 +48,7 @@ export declare const GlobalInputStyle: (locale: LOCALE) => {
47
48
  boxShadow: string;
48
49
  };
49
50
  };
50
- invalid: {
51
+ '&[data-invalid="true"]': {
51
52
  border: string;
52
53
  color: string;
53
54
  };
@@ -1,7 +1,7 @@
1
1
  import { TextSize } from '.';
2
2
  export declare const OTHER_THEME_CONFIG: {
3
- fontSize?: Record<TextSize, Array<number>>;
4
- lineHeight?: Record<TextSize, Array<number>>;
3
+ fontSize?: Record<TextSize, Array<string>>;
4
+ lineHeight?: Record<TextSize, Array<string>>;
5
5
  letterSpacing?: Partial<Record<TextSize, Array<number>>>;
6
6
  fontWeight?: Record<'regular' | 'semiBold' | 'bold', number>;
7
7
  };
@@ -1,45 +1,45 @@
1
1
  export declare const GlobalTextStyle: {
2
2
  fontSize: {
3
- base: number[];
4
- lg: number[];
5
- md: number[];
6
- sm: number[];
7
- xs: number[];
8
- s1: number[];
9
- s2: number[];
10
- s3: number[];
11
- s4: number[];
12
- s5: number[];
13
- p1: number[];
14
- p2: number[];
15
- p3: number[];
16
- p4: number[];
17
- c1: number[];
18
- c2: number[];
19
- n1: number[];
20
- label1: number[];
21
- label2: number[];
3
+ base: string[];
4
+ lg: string[];
5
+ md: string[];
6
+ sm: string[];
7
+ xs: string[];
8
+ s1: string[];
9
+ s2: string[];
10
+ s3: string[];
11
+ s4: string[];
12
+ s5: string[];
13
+ p1: string[];
14
+ p2: string[];
15
+ p3: string[];
16
+ p4: string[];
17
+ c1: string[];
18
+ c2: string[];
19
+ n1: string[];
20
+ label1: string[];
21
+ label2: string[];
22
22
  };
23
23
  lineHeight: {
24
- base: number[];
25
- lg: number[];
26
- md: number[];
27
- sm: number[];
28
- xs: number[];
29
- s1: number[];
30
- s2: number[];
31
- s3: number[];
32
- s4: number[];
33
- s5: number[];
34
- p1: number[];
35
- p2: number[];
36
- p3: number[];
37
- p4: number[];
38
- c1: number[];
39
- c2: number[];
40
- n1: number[];
41
- label1: number[];
42
- label2: number[];
24
+ base: string[];
25
+ lg: string[];
26
+ md: string[];
27
+ sm: string[];
28
+ xs: string[];
29
+ s1: string[];
30
+ s2: string[];
31
+ s3: string[];
32
+ s4: string[];
33
+ s5: string[];
34
+ p1: string[];
35
+ p2: string[];
36
+ p3: string[];
37
+ p4: string[];
38
+ c1: string[];
39
+ c2: string[];
40
+ n1: string[];
41
+ label1: string[];
42
+ label2: string[];
43
43
  };
44
44
  letterSpacing: {
45
45
  lg: number[];
@@ -1,5 +1,11 @@
1
- declare const _default: (params: void, options?: import("@mantine/core").UseStylesOptions<"root" | "item" | "itemInner" | "label" | "icon">) => {
2
- classes: Record<"root" | "item" | "itemInner" | "label" | "icon", string>;
1
+ declare const _default: (params: void, options?: import("@mantine/core").UseStylesOptions<string>) => {
2
+ classes: {
3
+ root: string;
4
+ item: string;
5
+ itemInner: string;
6
+ label: string;
7
+ icon: string;
8
+ };
3
9
  cx: (...args: any) => string;
4
10
  theme: import("@mantine/core").MantineTheme;
5
11
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-5140044f.js"),r=require("./index-18e5870d.js"),o=require("./index-bcc60c35.js"),t=require("./index-922aa090.js"),i=require("./index.styled-6e88c577.js"),a=require("./index-b24d30a4.js"),s=require("./index-ff37193f.js"),n=require("./index-a1f24ac5.js"),d=require("./index.styled-06bff8be.js"),u=require("./index-2479abce.js"),p=require("./index-8515331b.js"),x=require("./index-28df8c27.js"),l=require("./index-023543bd.js"),c=require("./index-41ec0350.js"),q=require("./index-cd53c242.js"),g=require("./dataTransform-28101413.js"),b=require("./index-db12a261.js"),C=require("./footer.js");require("react"),require("./utils-a25ea61c.js"),require("./useUniqueId-3c96cf52.js"),require("./gAssets.js"),require("./index-d3826236.js"),require("./Onboarding-5e427213.js"),require("./isProduction-5377bba0.js"),require("./theme-3d7b7e57.js"),require("./tslib.es6-ff6d8bab.js"),require("lodash/throttle"),require("keen-slider/react"),require("dayjs"),require("./screenSizeContext-2a70b050.js"),require("styled-components"),require("./useTranslations-b15251a8.js"),require("./translationsContext-3005d851.js"),require("string-format"),require("date-fns"),require("@mantine/core"),require("./index.styled-360b806d.js"),require("./index-dfb7b798.js"),require("@mantine/dates"),require("@mantine/carousel"),require("@mantine/hooks"),require("./index-76781aaa.js"),require("./types-4a2937e6.js"),require("./index.styled-6da69873.js"),require("./cookieHelper-4f45dbb8.js"),require("slugify"),require("./routing-11b59429.js"),require("dayjs/plugin/relativeTime"),require("./index-6783d880.js"),require("./index-20ec378a.js"),require("react-hook-form"),require("./useHealthToolCache-e8385f9f.js"),require("./getDynamicHealthTool-f5800966.js"),require("./core-e1d079c2.js"),require("./normalizeLink-f0f43c19.js"),require("./useOutsideClick-0e005c18.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./getSocialList-a32f7622.js"),require("./constants-668cc2e5.js"),require("./useIsInit-771c7f0e.js"),require("lodash/debounce"),require("./index-05a92235.js"),require("@hookform/resolvers/yup"),require("react-day-picker/DayPickerInput"),require("./useScrollbarSize-e9659238.js"),require("react-dom"),require("./index.styled-722fa7a1.js"),exports.Alert=e.Alert,exports.ArticleCard=e.ArticleCard,exports.BMICardEmbed=e.BMICardEmbed,exports.BMRCardEmbed=e.BMRCardEmbed,exports.BabyGrowthCardEmbed=e.BabyGrowthCardEmbed,exports.BabyPoopEmbed=e.BabyPoopEmbed,exports.Badge=e.Badge,exports.BorderHeading=e.BorderHeading,exports.Breadcrumbs=e.Breadcrumbs,exports.Carousel=e.Carousel,exports.CategoryCard=e.CategoryCard,exports.Checkbox=e.Checkbox,exports.CheckboxGroup=e.CheckboxGroup,exports.CookieAcceptConfirm=e.CookieAcceptConfirm,exports.DateRangePicker=e.DateRangePicker,exports.DueDateCardEmbed=e.DueDateCardEmbed,exports.FileDropdown=e.FileDropdown,exports.FloatButtonGroup=e.FloatButtonGroup,exports.Grid=e.Grid,exports.IconText=e.IconText,exports.OvulationCardEmbed=e.OvulationCardEmbed,exports.PWGCardEmbed=e.PWGCardEmbed,exports.Pagination=e.Pagination,exports.Progress=e.Progress,exports.ProgressBar=e.ProgressBar,exports.RateStars=e.RateStars,exports.ScrollList=e.ScrollList,exports.SeoHead=e.SeoHead,exports.Shadow=e.Shadow,exports.ShareContainer=e.ShareContainer,exports.ShareDrawer=e.ShareDrawer,exports.SideMenu=e.index,exports.StatisticCard=e.StatisticCard,exports.SurveyThankyouCard=e.SurveyThankyouCard,exports.THRCardEmbed=e.THRCardEmbed,exports.Table=e.index$1,exports.Tag=e.Tag,exports.Toggle=e.Toggle,exports.UnderlinedLink=e.UnderlinedLink,exports.Uploader=e.Uploader,exports.Avatar=r.Avatar,exports.Flag=r.Flag,exports.LanguageSwitcher=r.LanguageSwitcher,exports.NavigationLogoutPopup=r.NavigationLogoutPopup,exports.NavigationProfileButton=r.NavigationProfileButton,exports.NavigationV2=r.NavigationV2,exports.ProfilePopup=r.ProfilePopup,exports.UserProfileNavigation=r.UserProfileNavigation,exports.UserProfileNavigationHeader=r.NavHeader,exports.UserProfileNavigationStats=r.UserStats,exports.getNavMenuContent=r.getNavMenuContent,exports.getNavMenuContentWithCache=r.getNavMenuContentWithCache,exports.Button=o.Button,exports.AuthorBadge=t.AuthorBadge,exports.BtnChoice=t.BtnChoice,exports.Divider=t.Divider,exports.ImageWithHandler=t.ImageWithHandler,exports.Tabs=t.Tabs,exports.Heading=i.Heading,exports.Menu=i.Menu,exports.PureInput=i.PureInput,exports.TextArea=i.TextArea,exports.TextDivider=i.TextDivider,exports.Input=a.Input,exports.Label=s.Label,exports.Logo=n.Logo,exports.DatePicker=d.DatePicker,exports.DoctorInfo=d.DoctorInfo,exports.Dropdown=d.Dropdown,exports.MobileBottomNavigation=d.MobileBottomNavigation,exports.MobileBottomNavigationIcon=d.MobileBottomNavigationIcon,exports.Radio=d.Radio,exports.RadioGroup=d.RadioGroup,exports.SurveyQuestionCard=d.SurveyQuestionCard,exports.ToolsBannerCard=d.ToolsBannerCard,exports.Text=u.Text,exports.Container=p.Container,exports.LogoIcon=p.LogoIcon,exports.Icon=x.Icon,exports.Drawer=l.Drawer,exports.RadioImageGroup=l.RadioImageGroup,exports.Modal=c.Modal,exports.NewBabyProfileRadio=c.NewBabyProfileRadio,exports.CustomReferenceDot=q.CustomReferenceDot,exports.Popup=g.Popup,exports.PillCarousel=b.PillCarousel,exports.Footer=C.Footer;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-d79c7f8f.js"),r=require("./index-d1c0f20d.js"),o=require("./index-ac489f86.js"),t=require("./index-94d01c18.js"),i=require("./index.styled-c4beee2d.js"),a=require("./index-602fff84.js"),s=require("./index-7741d720.js"),d=require("./index-ee837a02.js"),n=require("./index.styled-ecfffb79.js"),u=require("./index-d2e91e47.js"),p=require("./index-393683bd.js"),x=require("./index-52ef0508.js"),l=require("./index-62c90fc9.js"),c=require("./index-f2b90c69.js"),q=require("./index-d071c06b.js"),g=require("./dataTransform-3d1fe75a.js"),b=require("./index-ba38d2ea.js"),C=require("./footer.js");require("react"),require("./utils-27b7214a.js"),require("./useUniqueId-d28e0617.js"),require("./gAssets.js"),require("./index-880ed496.js"),require("./Onboarding-eb1bafb0.js"),require("./isProduction-8235efe3.js"),require("./theme-b350d7e4.js"),require("./tslib.es6-87988b7e.js"),require("lodash/throttle"),require("keen-slider/react"),require("dayjs"),require("./screenSizeContext-0e09fb90.js"),require("styled-components"),require("./useTranslations-ef5fab21.js"),require("./translationsContext-fc7a85ee.js"),require("string-format"),require("date-fns"),require("@mantine/core"),require("./index.styled-f732f62a.js"),require("@mantine/dates"),require("./index-84aa447d.js"),require("@mantine/carousel"),require("@mantine/hooks"),require("./index-f940d627.js"),require("./types-9624c09a.js"),require("./index.styled-3b98796b.js"),require("./cookieHelper-3a0803b2.js"),require("slugify"),require("./routing-e1c33fd6.js"),require("dayjs/plugin/relativeTime"),require("./index-68b36671.js"),require("./index-518a689f.js"),require("react-hook-form"),require("./useHealthToolCache-cd6dc17f.js"),require("./getDynamicHealthTool-b44915cf.js"),require("./core-e0ab68ed.js"),require("./normalizeLink-3648c728.js"),require("./useOutsideClick-40ff1be4.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./getSocialList-2c798760.js"),require("./constants-1b3cea5d.js"),require("./useIsInit-57c29596.js"),require("lodash/debounce"),require("./index-a0c1abdd.js"),require("@hookform/resolvers/yup"),require("react-day-picker/DayPickerInput"),require("./useScrollbarSize-5cdd7d76.js"),require("react-dom"),require("./index.styled-46729c66.js"),exports.Alert=e.Alert,exports.ArticleCard=e.ArticleCard,exports.BMICardEmbed=e.BMICardEmbed,exports.BMRCardEmbed=e.BMRCardEmbed,exports.BabyGrowthCardEmbed=e.BabyGrowthCardEmbed,exports.BabyPoopEmbed=e.BabyPoopEmbed,exports.Badge=e.Badge,exports.BorderHeading=e.BorderHeading,exports.Breadcrumbs=e.Breadcrumbs,exports.Carousel=e.Carousel,exports.CategoryCard=e.CategoryCard,exports.Checkbox=e.Checkbox,exports.CheckboxGroup=e.CheckboxGroup,exports.CookieAcceptConfirm=e.CookieAcceptConfirm,exports.DateRangePicker=e.DateRangePicker,exports.DueDateCardEmbed=e.DueDateCardEmbed,exports.FileDropdown=e.FileDropdown,exports.FloatButtonGroup=e.FloatButtonGroup,exports.Grid=e.Grid,exports.IconText=e.IconText,exports.OvulationCardEmbed=e.OvulationCardEmbed,exports.PWGCardEmbed=e.PWGCardEmbed,exports.Pagination=e.Pagination,exports.Progress=e.Progress,exports.ProgressBar=e.ProgressBar,exports.RateStars=e.RateStars,exports.ScrollList=e.ScrollList,exports.SeoHead=e.SeoHead,exports.Shadow=e.Shadow,exports.ShareContainer=e.ShareContainer,exports.ShareDrawer=e.ShareDrawer,exports.SideMenu=e.index,exports.StatisticCard=e.StatisticCard,exports.SurveyThankyouCard=e.SurveyThankyouCard,exports.THRCardEmbed=e.THRCardEmbed,exports.Table=e.index$1,exports.Tag=e.Tag,exports.Toggle=e.Toggle,exports.UnderlinedLink=e.UnderlinedLink,exports.Uploader=e.Uploader,exports.Avatar=r.Avatar,exports.Flag=r.Flag,exports.LanguageSwitcher=r.LanguageSwitcher,exports.NavigationLogoutPopup=r.NavigationLogoutPopup,exports.NavigationProfileButton=r.NavigationProfileButton,exports.NavigationV2=r.NavigationV2,exports.ProfilePopup=r.ProfilePopup,exports.UserProfileNavigation=r.UserProfileNavigation,exports.UserProfileNavigationHeader=r.NavHeader,exports.UserProfileNavigationStats=r.UserStats,exports.getNavMenuContent=r.getNavMenuContent,exports.getNavMenuContentWithCache=r.getNavMenuContentWithCache,exports.Button=o.Button,exports.AuthorBadge=t.AuthorBadge,exports.BtnChoice=t.BtnChoice,exports.Divider=t.Divider,exports.ImageWithHandler=t.ImageWithHandler,exports.Tabs=t.Tabs,exports.Heading=i.Heading,exports.Menu=i.Menu,exports.PureInput=i.PureInput,exports.TextArea=i.TextArea,exports.TextDivider=i.TextDivider,exports.Input=a.Input,exports.Label=s.Label,exports.Logo=d.Logo,exports.DatePicker=n.DatePicker,exports.DoctorInfo=n.DoctorInfo,exports.Dropdown=n.Dropdown,exports.MobileBottomNavigation=n.MobileBottomNavigation,exports.MobileBottomNavigationIcon=n.MobileBottomNavigationIcon,exports.Radio=n.Radio,exports.RadioGroup=n.RadioGroup,exports.SurveyQuestionCard=n.SurveyQuestionCard,exports.ToolsBannerCard=n.ToolsBannerCard,exports.Text=u.Text,exports.Container=p.Container,exports.LogoIcon=p.LogoIcon,exports.Icon=x.Icon,exports.Drawer=l.Drawer,exports.RadioImageGroup=l.RadioImageGroup,exports.Modal=c.Modal,exports.NewBabyProfileRadio=c.NewBabyProfileRadio,exports.CustomReferenceDot=q.CustomReferenceDot,exports.Popup=g.Popup,exports.PillCarousel=b.PillCarousel,exports.Footer=C.Footer;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./Onboarding-5e427213.js");var e=require("./index-d3826236.js"),O=require("./isProduction-5377bba0.js");exports.CARE_BOOKING_LOCALES=e.CARE_BOOKING_LOCALES,exports.CARE_LOCALES=e.CARE_LOCALES,exports.FAVICONS=e.FAVICONS,exports.ISO_FORMAT=e.ISO_FORMAT,exports.LOCALE_SPECS=e.LOCALE_SPECS,Object.defineProperty(exports,"QUERY_HEALTH_TOOL",{enumerable:!0,get:function(){return e.QUERY_HEALTH_TOOL}}),exports.STATIC_PAGES=e.STATIC_PAGES,exports.TOGETHER_LOCALES=e.TOGETHER_LOCALES,exports.UP_BASEPATH=e.UP_BASEPATH,exports.USER_GEOLOCATION_COORDINATES_COOKIE=e.USER_GEOLOCATION_COORDINATES_COOKIE,exports.domainLocales=e.domainLocales,exports.siteHost=e.siteHost,exports.siteOptions=e.siteOptions,exports.isProduction=O.isProduction;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./Onboarding-eb1bafb0.js");var e=require("./index-880ed496.js"),O=require("./isProduction-8235efe3.js");exports.CARE_BOOKING_LOCALES=e.CARE_BOOKING_LOCALES,exports.CARE_LOCALES=e.CARE_LOCALES,exports.FAVICONS=e.FAVICONS,exports.ISO_FORMAT=e.ISO_FORMAT,exports.LOCALE_SPECS=e.LOCALE_SPECS,Object.defineProperty(exports,"QUERY_HEALTH_TOOL",{enumerable:!0,get:function(){return e.QUERY_HEALTH_TOOL}}),exports.STATIC_PAGES=e.STATIC_PAGES,exports.TOGETHER_LOCALES=e.TOGETHER_LOCALES,exports.UP_BASEPATH=e.UP_BASEPATH,exports.USER_GEOLOCATION_COORDINATES_COOKIE=e.USER_GEOLOCATION_COORDINATES_COOKIE,exports.domainLocales=e.domainLocales,exports.siteHost=e.siteHost,exports.siteOptions=e.siteOptions,exports.isProduction=O.isProduction;
@@ -0,0 +1 @@
1
+ "use strict";var t=require("./tslib.es6-87988b7e.js"),e=require("./isProduction-8235efe3.js");const i={},a=t=>{if("undefined"!=typeof window){let i;try{i=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return i||{}}return i[t]},r=(t,a)=>{try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:a,time:Date.now()})):i[t]={data:a,time:Date.now()}}catch(t){}};exports.getCachedItem=a,exports.getDataWithCache=(e,i,o,n=9e5)=>t.__awaiter(void 0,void 0,void 0,(function*(){const t=a(e);if(t&&t.data&&t.time&&Date.now()-t.time<n)return t.data;if(i){const t=yield i();return o&&!o(t)||r(e,t),t}return null})),exports.setCachedItem=r;
@@ -1 +1 @@
1
- "use strict";var e=require("react"),i=require("./index.styled-6da69873.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=o(e);const l=e=>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||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},n=e=>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}:{},r=e=>{var i,o,t,r;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:l(e.author),reviewer:e.reviewed_by&&l(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:a(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:a(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:a(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:a(null===(r=null==e?void 0:e.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:s(e.category),postContent:e.post_content||null,sections:e.sections||null,categories:(e.categories||[]).map(s),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:n(e.expert),metaTag:e.meta_tag||null}:{}},a=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,d=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},u=e=>({postTitle:e.post_title,permalink:e.permalink}),s=e=>{var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?d(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===(i=e.child_cates)||void 0===i?void 0:i.map((e=>s(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.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((e=>m(e))):null}:{}},m=e=>({title:e.title,content:e.content}),v=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},c=e=>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)}:{},p=e=>{var i,o,t,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.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===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(t=e.community)||void 0===t?void 0:t.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.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)}:{}},_=e=>e?{answer:null==e?void 0:e.answer.map(f),expert:null==e?void 0:e.expert}:{},g=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,g,y,f,w,h,b,k;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var o,t,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+i.slug,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(t=e.community)||void 0===t?void 0:t.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(r=e.user)||void 0===r?void 0:r.id)||0,username:(null===(a=e.user)||void 0===a?void 0:a.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(s=e.user)||void 0===s?void 0:s.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(g=e.user)||void 0===g?void 0:g.partner_id)?String(null===(y=e.user)||void 0===y?void 0:y.partner_id):"",title:(null===(f=e.user)||void 0===f?void 0:f.title)||"",doctorId:(null===(w=e.user)||void 0===w?void 0:w.doctor_id)?String(null===(h=e.user)||void 0===h?void 0:h.doctor_id):"",hospitalId:(null===(b=e.user)||void 0===b?void 0:b.hospital_id)?String(null===(k=e.user)||void 0===k?void 0:k.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||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:_(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},y=e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],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}:{},f=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,_,g,y,w,h,b,k,I,C,x,S,T,P,A,B,D,q,U;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(f):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(t=e.user)||void 0===t?void 0:t.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(r=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===r?void 0:r.toLowerCase():"",avatar:(null===(a=e.user)||void 0===a?void 0:a.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(s=e.user)||void 0===s?void 0:s.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(w=e.mentioned)||void 0===w?void 0:w.user_name)||"",name:(null===(h=e.mentioned)||void 0===h?void 0:h.name)||"",role:(null===(b=e.mentioned)||void 0===b?void 0:b.role)?null===(I=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===I?void 0:I.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(x=e.mentioned)||void 0===x?void 0:x.type)||"",email:(null===(S=e.mentioned)||void 0===S?void 0:S.email)||"",partnerId:(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.partner_id):"",doctorId:(null===(A=e.mentioned)||void 0===A?void 0:A.doctor_id)?String(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id):"",hospitalId:(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id)?String(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id):"",title:(null===(U=e.mentioned)||void 0===U?void 0:U.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||""}:{}},w=e=>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/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var h=Object.freeze({__proto__:null,formatAuthor:l,formatArticleExpert:n,formatArticle:r,formatUserProfile:a,formatBMIResult:e=>{var i,o,t,l,n,r,a,d,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(t=null==e?void 0:e.risk)&&void 0!==t?t:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(r=null==e?void 0:e.disclaimer)&&void 0!==r?r:"",illustrator:null!==(a=null==e?void 0:e.illustrator)&&void 0!==a?a:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:d,formatReviewedCategory:u,formatCategory:s,formatCategoryApi:e=>e?{categoryInfo:s(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(r),subCategories:(e.data.sub_categories||[]).map(s)}:{},formatFaqsCategory:m,formatHealthTool:v,formatHealthToolTypeCategory:e=>{var i,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>v(e))))&&void 0!==o?o:[]}:{}},formatCommunity:c,formatTopic:p,formatExpertAnswer:_,formatPost:g,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,o,t;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(t=e.from_user)||void 0===t?void 0:t.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({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:y,formatSuggestedArticle:e=>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:e=>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:f,formatReportedPostToPostDetail:e=>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:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:w,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,o,t;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(t=e.reviewed_by)||void 0===t?void 0:t.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||""}:{}}});exports.Popup=({type:e="lead",closeIcon:o,isOpen:l=!0,onClose:n,children:r,className:a="",enableAnimation:d=!0})=>t.default.createElement(t.default.Fragment,null,t.default.createElement(i.StyledPopup$2,{"data-open":l,"data-type":e,"data-animation":d},t.default.createElement("div",{className:`${a||""} popup-content`},!!o&&t.default.createElement("div",{className:"close-button",onClick:n},o),r)),t.default.createElement(i.StyledPopupWrapper,{"data-open":l,onClick:n})),exports.dataTransform=h,exports.formatArticle=r,exports.formatCategory=s,exports.formatComment=f,exports.formatCommunity=c,exports.formatOvulationInfo=y,exports.formatPost=g,exports.formatTopic=p,exports.formatUserProfileUrl=w;
1
+ "use strict";var e=require("react"),i=require("./index.styled-3b98796b.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=o(e);const l=e=>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||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},n=e=>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}:{},r=e=>{var i,o,t,r;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:l(e.author),reviewer:e.reviewed_by&&l(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:a(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:a(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:a(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:a(null===(r=null==e?void 0:e.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:s(e.category),postContent:e.post_content||null,sections:e.sections||null,categories:(e.categories||[]).map(s),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:n(e.expert),metaTag:e.meta_tag||null}:{}},a=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,d=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},u=e=>({postTitle:e.post_title,permalink:e.permalink}),s=e=>{var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?d(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===(i=e.child_cates)||void 0===i?void 0:i.map((e=>s(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.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((e=>m(e))):null}:{}},m=e=>({title:e.title,content:e.content}),v=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},c=e=>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)}:{},p=e=>{var i,o,t,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.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===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(t=e.community)||void 0===t?void 0:t.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.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)}:{}},_=e=>e?{answer:null==e?void 0:e.answer.map(f),expert:null==e?void 0:e.expert}:{},g=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,g,y,f,w,h,b,k;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var o,t,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+i.slug,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(t=e.community)||void 0===t?void 0:t.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(r=e.user)||void 0===r?void 0:r.id)||0,username:(null===(a=e.user)||void 0===a?void 0:a.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(s=e.user)||void 0===s?void 0:s.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(g=e.user)||void 0===g?void 0:g.partner_id)?String(null===(y=e.user)||void 0===y?void 0:y.partner_id):"",title:(null===(f=e.user)||void 0===f?void 0:f.title)||"",doctorId:(null===(w=e.user)||void 0===w?void 0:w.doctor_id)?String(null===(h=e.user)||void 0===h?void 0:h.doctor_id):"",hospitalId:(null===(b=e.user)||void 0===b?void 0:b.hospital_id)?String(null===(k=e.user)||void 0===k?void 0:k.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||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:_(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},y=e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],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}:{},f=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,_,g,y,w,h,b,k,I,C,x,S,T,P,A,B,D,q,U;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(f):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(t=e.user)||void 0===t?void 0:t.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(r=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===r?void 0:r.toLowerCase():"",avatar:(null===(a=e.user)||void 0===a?void 0:a.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(s=e.user)||void 0===s?void 0:s.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(w=e.mentioned)||void 0===w?void 0:w.user_name)||"",name:(null===(h=e.mentioned)||void 0===h?void 0:h.name)||"",role:(null===(b=e.mentioned)||void 0===b?void 0:b.role)?null===(I=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===I?void 0:I.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(x=e.mentioned)||void 0===x?void 0:x.type)||"",email:(null===(S=e.mentioned)||void 0===S?void 0:S.email)||"",partnerId:(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.partner_id):"",doctorId:(null===(A=e.mentioned)||void 0===A?void 0:A.doctor_id)?String(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id):"",hospitalId:(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id)?String(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id):"",title:(null===(U=e.mentioned)||void 0===U?void 0:U.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||""}:{}},w=e=>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/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var h=Object.freeze({__proto__:null,formatAuthor:l,formatArticleExpert:n,formatArticle:r,formatUserProfile:a,formatBMIResult:e=>{var i,o,t,l,n,r,a,d,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(t=null==e?void 0:e.risk)&&void 0!==t?t:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(r=null==e?void 0:e.disclaimer)&&void 0!==r?r:"",illustrator:null!==(a=null==e?void 0:e.illustrator)&&void 0!==a?a:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:d,formatReviewedCategory:u,formatCategory:s,formatCategoryApi:e=>e?{categoryInfo:s(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(r),subCategories:(e.data.sub_categories||[]).map(s)}:{},formatFaqsCategory:m,formatHealthTool:v,formatHealthToolTypeCategory:e=>{var i,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>v(e))))&&void 0!==o?o:[]}:{}},formatCommunity:c,formatTopic:p,formatExpertAnswer:_,formatPost:g,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,o,t;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(t=e.from_user)||void 0===t?void 0:t.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({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:y,formatSuggestedArticle:e=>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:e=>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:f,formatReportedPostToPostDetail:e=>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:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:w,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,o,t;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(t=e.reviewed_by)||void 0===t?void 0:t.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||""}:{}}});exports.Popup=({type:e="lead",closeIcon:o,isOpen:l=!0,onClose:n,children:r,className:a="",enableAnimation:d=!0})=>t.default.createElement(t.default.Fragment,null,t.default.createElement(i.StyledPopup$2,{"data-open":l,"data-type":e,"data-animation":d},t.default.createElement("div",{className:`${a||""} popup-content`},!!o&&t.default.createElement("div",{className:"close-button",onClick:n},o),r)),t.default.createElement(i.StyledPopupWrapper,{"data-open":l,onClick:n})),exports.dataTransform=h,exports.formatArticle=r,exports.formatCategory=s,exports.formatComment=f,exports.formatCommunity=c,exports.formatOvulationInfo=y,exports.formatPost=g,exports.formatTopic=p,exports.formatUserProfileUrl=w;