@hhgtech/hhg-components 1.28.45 → 1.28.47

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 (314) hide show
  1. package/build/animation-1e5b6297.js +81 -0
  2. package/build/babyGrowth.js +24 -24
  3. package/build/cache.js +1 -1
  4. package/build/care.js +1 -1
  5. package/build/components.js +1 -1
  6. package/build/{constants-eed0df85.js → constants-0b9aa2f4.js} +1 -1
  7. package/build/{constants-715f497a.js → constants-ded45618.js} +2 -2
  8. package/build/constants.js +1 -1
  9. package/build/{core-053d2b2b.js → core-d774c80a.js} +1 -1
  10. package/build/dataTransform-770a8af7.js +1 -0
  11. package/build/ecom.js +1 -1
  12. package/build/esm/animation-4d5baff8.js +81 -0
  13. package/build/esm/babyGrowth.js +38 -38
  14. package/build/esm/cache.js +1 -1
  15. package/build/esm/care.js +1 -1
  16. package/build/esm/components.js +1 -1
  17. package/build/esm/{constants-474a60fc.js → constants-7f54318a.js} +2 -2
  18. package/build/esm/{constants-995212e1.js → constants-d7c4fed6.js} +1 -1
  19. package/build/esm/constants.js +1 -1
  20. package/build/esm/{core-a9271475.js → core-539e7939.js} +1 -1
  21. package/build/esm/dataTransform-82022f0b.js +1 -0
  22. package/build/esm/ecom.js +1 -1
  23. package/build/esm/footer.js +1 -1
  24. package/build/esm/gAssets.js +1 -1
  25. package/build/esm/getDynamicHealthTool-4d3d11ac.js +1 -0
  26. package/build/esm/{getSocialList-2b54a130.js → getSocialList-1766c602.js} +1 -1
  27. package/build/esm/hooks.js +1 -1
  28. package/build/esm/i18n.js +1 -1
  29. package/build/esm/i18nV2.js +1 -1
  30. package/build/esm/index-0fd0a8fb.js +2748 -0
  31. package/build/esm/{index-4cc27c0a.js → index-156081e2.js} +9 -9
  32. package/build/esm/{index-2eaf28c4.js → index-1d068cf5.js} +1 -1
  33. package/build/esm/{index-ab03b9dd.js → index-1fce73b8.js} +1 -1
  34. package/build/esm/index-2f6fbc5e.js +375 -0
  35. package/build/esm/index-30ecb1e3.js +1 -0
  36. package/build/esm/index-5581ff57.js +1 -0
  37. package/build/esm/index-679dd359.js +1430 -0
  38. package/build/esm/{index-fdc4fb0f.js → index-72664e72.js} +1 -1
  39. package/build/esm/{index-a2dcf4e9.js → index-7b4c9ffd.js} +1 -1
  40. package/build/esm/index-8e3a85f0.js +50 -0
  41. package/build/esm/{index-1cfc85b4.js → index-924d8b45.js} +3 -3
  42. package/build/esm/index-98f238b2.js +1 -0
  43. package/build/esm/{index-7678ada1.js → index-9b020630.js} +1 -1
  44. package/build/esm/index-ac89ac70.js +137 -0
  45. package/build/esm/index-b51813fe.js +1 -0
  46. package/build/esm/index-bd5220da.js +1 -0
  47. package/build/esm/index-c51596b2.js +1 -0
  48. package/build/esm/index-cff19603.js +177 -0
  49. package/build/esm/index-d53f330a.js +1 -0
  50. package/build/esm/{index-cd710e7d.js → index-f09be292.js} +1 -1
  51. package/build/esm/index-f5ac3469.js +1 -0
  52. package/build/esm/{index-a454d80b.js → index-fcb7c05d.js} +1 -1
  53. package/build/esm/index.js +1 -1
  54. package/build/esm/{index.styled-4098b19f.js → index.styled-222b6ef8.js} +1 -1
  55. package/build/esm/index.styles-f450b969.js +839 -0
  56. package/build/esm/lead.js +1 -1
  57. package/build/esm/mantine.js +1 -1
  58. package/build/esm/misc.js +1 -1
  59. package/build/esm/navigation.js +1 -1
  60. package/build/esm/onboardingV2.js +34 -34
  61. package/build/esm/pwg.js +5 -5
  62. package/build/esm/{routing-d3019505.js → routing-fa27835c.js} +1 -1
  63. package/build/esm/subot.js +124 -124
  64. package/build/esm/together.js +1 -1
  65. package/build/esm/{types-56ff87b5.js → types-1779ff39.js} +10 -10
  66. package/build/esm/types-de0e0789.js +3004 -0
  67. package/build/esm/types.js +1 -1
  68. package/build/esm/useCategory-dc56ef34.js +1 -0
  69. package/build/esm/useHealthToolCache-09b61354.js +1 -0
  70. package/build/esm/{usePlacesAutocomplete-80551f6b.js → usePlacesAutocomplete-c2dd02dd.js} +1 -1
  71. package/build/esm/useTranslations-49e0430f.js +1 -0
  72. package/build/esm/utils-1550f4c2.js +1 -0
  73. package/build/esm/utils-ab3bd9a9.js +7 -0
  74. package/build/esm/{utils-9dae9f7b.js → utils-bc76e7d8.js} +2 -2
  75. package/build/esm/{utils-6577ea25.js → utils-ce8e4c84.js} +1 -1
  76. package/build/esm/vaccination.js +40 -40
  77. package/build/footer.js +1 -1
  78. package/build/gAssets.js +1 -1
  79. package/build/getDynamicHealthTool-91d3a539.js +1 -0
  80. package/build/{getSocialList-b951173d.js → getSocialList-95d4b1ab.js} +1 -1
  81. package/build/hooks.js +1 -1
  82. package/build/i18n.js +1 -1
  83. package/build/i18nV2.js +1 -1
  84. package/build/index-031eda4d.js +50 -0
  85. package/build/{index-f85e80c5.js → index-04bf4b9a.js} +1 -1
  86. package/build/index-087d7573.js +1 -0
  87. package/build/{index-f1338b36.js → index-0a35e29e.js} +1 -1
  88. package/build/{index-5f2adc06.js → index-0e2baf55.js} +1 -1
  89. package/build/index-1c74e473.js +2748 -0
  90. package/build/{index-6e685d2b.js → index-20b8b28c.js} +1 -1
  91. package/build/index-22f6821f.js +177 -0
  92. package/build/{index-d14172a4.js → index-3183ed6e.js} +1 -1
  93. package/build/index-3c0d0730.js +375 -0
  94. package/build/index-4198e282.js +1 -0
  95. package/build/index-5e65f738.js +137 -0
  96. package/build/{index-b23382c3.js → index-84f168eb.js} +1 -1
  97. package/build/{index-72cfe602.js → index-8b4d8b74.js} +4 -4
  98. package/build/{index-718b4bad.js → index-8d147028.js} +3 -3
  99. package/build/{index-fe775c96.js → index-9f2fce62.js} +1 -1
  100. package/build/{index-b3478b6c.js → index-a1e30b09.js} +1 -1
  101. package/build/index-abe7bb48.js +1430 -0
  102. package/build/index-afd5d772.js +1 -0
  103. package/build/index-c53c2cf6.js +1 -0
  104. package/build/index-ebed7399.js +1 -0
  105. package/build/{index-cdf087ee.js → index-f56af2a1.js} +1 -1
  106. package/build/index-f80db37d.js +1 -0
  107. package/build/index.js +1 -1
  108. package/build/{index.styled-2bb5f5a2.js → index.styled-250b6af4.js} +1 -1
  109. package/build/index.styles-f2358064.js +839 -0
  110. package/build/lead.js +1 -1
  111. package/build/mantine.js +1 -1
  112. package/build/misc.js +1 -1
  113. package/build/navigation.js +1 -1
  114. package/build/onboardingV2.js +34 -34
  115. package/build/pwg.js +2 -2
  116. package/build/{routing-9c9a4f25.js → routing-ed60b4e3.js} +1 -1
  117. package/build/subot.js +123 -123
  118. package/build/together.js +1 -1
  119. package/build/types-2602cb14.js +3004 -0
  120. package/build/{types-adecb2ce.js → types-662fa8fb.js} +10 -10
  121. package/build/types.js +1 -1
  122. package/build/useCategory-f58f3f7e.js +1 -0
  123. package/build/useHealthToolCache-d78d2251.js +1 -0
  124. package/build/{usePlacesAutocomplete-39be4478.js → usePlacesAutocomplete-11729974.js} +1 -1
  125. package/build/{useTranslations-1ddacded.js → useTranslations-eef7f548.js} +1 -1
  126. package/build/{utils-a5d09d21.js → utils-5af37bc5.js} +1 -1
  127. package/build/{utils-871f6c88.js → utils-74e9f3ab.js} +1 -1
  128. package/build/utils-adde2380.js +1 -0
  129. package/build/utils-ec00b8cb.js +1 -0
  130. package/build/vaccination.js +33 -33
  131. package/package.json +3 -2
  132. package/build/dataTransform-d5d1a86d.js +0 -1
  133. package/build/esm/dataTransform-f4d63a0a.js +0 -1
  134. package/build/esm/getDynamicHealthTool-9b662a1a.js +0 -1
  135. package/build/esm/index-303e2009.js +0 -1
  136. package/build/esm/index-3c4ac2ae.js +0 -1
  137. package/build/esm/index-4bc5ecbb.js +0 -1
  138. package/build/esm/index-55d2faa0.js +0 -1
  139. package/build/esm/index-608b4a88.js +0 -177
  140. package/build/esm/index-6f066011.js +0 -1
  141. package/build/esm/index-95a46cf3.js +0 -1
  142. package/build/esm/index-993a5f79.js +0 -1
  143. package/build/esm/index-baaa911b.js +0 -1
  144. package/build/esm/index-be8e7751.js +0 -1
  145. package/build/esm/index-cc519ac7.js +0 -3122
  146. package/build/esm/index-d17ea22d.js +0 -1
  147. package/build/esm/index-d343bc50.js +0 -1
  148. package/build/esm/index-ff10bc28.js +0 -1
  149. package/build/esm/index.styled-156505c7.js +0 -1430
  150. package/build/esm/index.styled-3e11e657.js +0 -3140
  151. package/build/esm/index.styled-be084b87.js +0 -50
  152. package/build/esm/index.styles-caebb95e.js +0 -846
  153. package/build/esm/screenSizeContext-8e3cd726.js +0 -81
  154. package/build/esm/types-f3a821e7.js +0 -1
  155. package/build/esm/useCategory-e47c3929.js +0 -1
  156. package/build/esm/useHealthToolCache-4a39e9dc.js +0 -1
  157. package/build/esm/useRafState-8fe79e7a.js +0 -1
  158. package/build/esm/useTranslations-2b415154.js +0 -1
  159. package/build/getDynamicHealthTool-ecfb21b0.js +0 -1
  160. package/build/index-0988dfe4.js +0 -1
  161. package/build/index-0f3e6076.js +0 -1
  162. package/build/index-10d9fdff.js +0 -177
  163. package/build/index-24113bb4.js +0 -1
  164. package/build/index-3489608d.js +0 -1
  165. package/build/index-4bfad06d.js +0 -1
  166. package/build/index-7b85f299.js +0 -1
  167. package/build/index-901812ad.js +0 -3122
  168. package/build/index-c22d32f6.js +0 -1
  169. package/build/index-d74ab92f.js +0 -1
  170. package/build/index-db0da298.js +0 -1
  171. package/build/index-f4356d3b.js +0 -1
  172. package/build/index.styled-39310ce9.js +0 -50
  173. package/build/index.styled-3a1748a5.js +0 -3140
  174. package/build/index.styled-75539e3d.js +0 -1430
  175. package/build/index.styles-d3c65e64.js +0 -846
  176. package/build/screenSizeContext-83eeed99.js +0 -81
  177. package/build/types-582a67ed.js +0 -1
  178. package/build/useCategory-957ea2a8.js +0 -1
  179. package/build/useHealthToolCache-260b51e2.js +0 -1
  180. package/build/useRafState-8a41d548.js +0 -1
  181. /package/build/{BMI_BOYS.percentile.monthly-3ccdbf2f.js → BMI_BOYS.percentile.monthly-b574351a.js} +0 -0
  182. /package/build/{BMI_BOYS.percentile.weekly-003704d5.js → BMI_BOYS.percentile.weekly-ad058945.js} +0 -0
  183. /package/build/{BMI_BOYS.percentile.yearly-51f6c930.js → BMI_BOYS.percentile.yearly-8ada8234.js} +0 -0
  184. /package/build/{BMI_BOYS.zscore.monthly-05504085.js → BMI_BOYS.zscore.monthly-f16e149c.js} +0 -0
  185. /package/build/{BMI_BOYS.zscore.weekly-2a93a8db.js → BMI_BOYS.zscore.weekly-776e513d.js} +0 -0
  186. /package/build/{BMI_BOYS.zscore.yearly-37291e62.js → BMI_BOYS.zscore.yearly-3d6a4a73.js} +0 -0
  187. /package/build/{BMI_GIRLS.percentile.monthly-97288e63.js → BMI_GIRLS.percentile.monthly-10009b9f.js} +0 -0
  188. /package/build/{BMI_GIRLS.percentile.weekly-c701d6ff.js → BMI_GIRLS.percentile.weekly-6557eb44.js} +0 -0
  189. /package/build/{BMI_GIRLS.percentile.yearly-edee3575.js → BMI_GIRLS.percentile.yearly-3f4acf36.js} +0 -0
  190. /package/build/{BMI_GIRLS.zscore.monthly-0ac77300.js → BMI_GIRLS.zscore.monthly-6a304df3.js} +0 -0
  191. /package/build/{BMI_GIRLS.zscore.weekly-f726c4f9.js → BMI_GIRLS.zscore.weekly-e0d6db84.js} +0 -0
  192. /package/build/{BMI_GIRLS.zscore.yearly-c1af9dbd.js → BMI_GIRLS.zscore.yearly-a6ec380e.js} +0 -0
  193. /package/build/{ChevronDown-e26b6333.js → ChevronDown-a8966000.js} +0 -0
  194. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-c1dbc6d4.js → HEAD CIRCUM_BOYS.percentile.monthly-71a87239.js} +0 -0
  195. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9c97d194.js → HEAD CIRCUM_BOYS.percentile.weekly-b862aacb.js} +0 -0
  196. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-84f770fb.js → HEAD CIRCUM_BOYS.percentile.yearly-13eada26.js} +0 -0
  197. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-8522b577.js → HEAD CIRCUM_BOYS.zscore.monthly-f9c4f89e.js} +0 -0
  198. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d05b4957.js → HEAD CIRCUM_BOYS.zscore.weekly-4e1a4178.js} +0 -0
  199. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d1d2d682.js → HEAD CIRCUM_BOYS.zscore.yearly-554a8878.js} +0 -0
  200. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-bc7f8e45.js → HEAD CIRCUM_GIRLS.percentile.monthly-2910870c.js} +0 -0
  201. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e24f18fa.js → HEAD CIRCUM_GIRLS.percentile.weekly-0f14fedf.js} +0 -0
  202. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-65fe9b8f.js → HEAD CIRCUM_GIRLS.percentile.yearly-596b0da0.js} +0 -0
  203. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-cc51585e.js → HEAD CIRCUM_GIRLS.zscore.monthly-69ae9a0c.js} +0 -0
  204. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-0cdef99a.js → HEAD CIRCUM_GIRLS.zscore.weekly-114e70a3.js} +0 -0
  205. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b4df0cb2.js → HEAD CIRCUM_GIRLS.zscore.yearly-b6747ec7.js} +0 -0
  206. /package/build/{HEIGHT_BOYS.percentile.monthly-42701f3c.js → HEIGHT_BOYS.percentile.monthly-cb959489.js} +0 -0
  207. /package/build/{HEIGHT_BOYS.percentile.weekly-dde65fbd.js → HEIGHT_BOYS.percentile.weekly-7955c34e.js} +0 -0
  208. /package/build/{HEIGHT_BOYS.percentile.yearly-00d00cf7.js → HEIGHT_BOYS.percentile.yearly-b073f41f.js} +0 -0
  209. /package/build/{HEIGHT_BOYS.zscore.monthly-9b22b188.js → HEIGHT_BOYS.zscore.monthly-1ae80a89.js} +0 -0
  210. /package/build/{HEIGHT_BOYS.zscore.weekly-1e042b69.js → HEIGHT_BOYS.zscore.weekly-cd4bc068.js} +0 -0
  211. /package/build/{HEIGHT_BOYS.zscore.yearly-0c232fd2.js → HEIGHT_BOYS.zscore.yearly-7eb6af8e.js} +0 -0
  212. /package/build/{HEIGHT_GIRLS.percentile.monthly-1dc63069.js → HEIGHT_GIRLS.percentile.monthly-d2959962.js} +0 -0
  213. /package/build/{HEIGHT_GIRLS.percentile.weekly-4b58bd05.js → HEIGHT_GIRLS.percentile.weekly-99981d42.js} +0 -0
  214. /package/build/{HEIGHT_GIRLS.percentile.yearly-9fc93f07.js → HEIGHT_GIRLS.percentile.yearly-d1d13641.js} +0 -0
  215. /package/build/{HEIGHT_GIRLS.zscore.monthly-35400da4.js → HEIGHT_GIRLS.zscore.monthly-d9a63188.js} +0 -0
  216. /package/build/{HEIGHT_GIRLS.zscore.weekly-dd1f44e2.js → HEIGHT_GIRLS.zscore.weekly-d58b3339.js} +0 -0
  217. /package/build/{HEIGHT_GIRLS.zscore.yearly-a69b75ca.js → HEIGHT_GIRLS.zscore.yearly-ae58b0a3.js} +0 -0
  218. /package/build/{Subot-695ffc58.js → Subot-511ff255.js} +0 -0
  219. /package/build/{Visible-72e550ed.js → Visible-338d5d3b.js} +0 -0
  220. /package/build/{WEIGHT_BOYS.percentile.monthly-2dea455a.js → WEIGHT_BOYS.percentile.monthly-3687233c.js} +0 -0
  221. /package/build/{WEIGHT_BOYS.percentile.weekly-184f141e.js → WEIGHT_BOYS.percentile.weekly-c0915786.js} +0 -0
  222. /package/build/{WEIGHT_BOYS.percentile.yearly-c9e8aaf8.js → WEIGHT_BOYS.percentile.yearly-898b748c.js} +0 -0
  223. /package/build/{WEIGHT_BOYS.zscore.monthly-c9f03466.js → WEIGHT_BOYS.zscore.monthly-e47a72be.js} +0 -0
  224. /package/build/{WEIGHT_BOYS.zscore.weekly-413af608.js → WEIGHT_BOYS.zscore.weekly-23cc874f.js} +0 -0
  225. /package/build/{WEIGHT_BOYS.zscore.yearly-fd8ddd34.js → WEIGHT_BOYS.zscore.yearly-2c523e95.js} +0 -0
  226. /package/build/{WEIGHT_GIRLS.percentile.monthly-b78e414e.js → WEIGHT_GIRLS.percentile.monthly-232c03ec.js} +0 -0
  227. /package/build/{WEIGHT_GIRLS.percentile.weekly-6979e7ca.js → WEIGHT_GIRLS.percentile.weekly-363f6163.js} +0 -0
  228. /package/build/{WEIGHT_GIRLS.percentile.yearly-be5d12e7.js → WEIGHT_GIRLS.percentile.yearly-09c2db7a.js} +0 -0
  229. /package/build/{WEIGHT_GIRLS.zscore.monthly-28299624.js → WEIGHT_GIRLS.zscore.monthly-996f2f01.js} +0 -0
  230. /package/build/{WEIGHT_GIRLS.zscore.weekly-8584439e.js → WEIGHT_GIRLS.zscore.weekly-1c937534.js} +0 -0
  231. /package/build/{WEIGHT_GIRLS.zscore.yearly-2e04a2a2.js → WEIGHT_GIRLS.zscore.yearly-ab136277.js} +0 -0
  232. /package/build/{cookieHelper-2e8bb9fa.js → cookieHelper-91788da6.js} +0 -0
  233. /package/build/esm/{BMI_BOYS.percentile.monthly-486f83ee.js → BMI_BOYS.percentile.monthly-f3616831.js} +0 -0
  234. /package/build/esm/{BMI_BOYS.percentile.weekly-fd3c15c3.js → BMI_BOYS.percentile.weekly-e94f9b0c.js} +0 -0
  235. /package/build/esm/{BMI_BOYS.percentile.yearly-da6eb7ec.js → BMI_BOYS.percentile.yearly-8f7ac99b.js} +0 -0
  236. /package/build/esm/{BMI_BOYS.zscore.monthly-62d445f2.js → BMI_BOYS.zscore.monthly-54be7428.js} +0 -0
  237. /package/build/esm/{BMI_BOYS.zscore.weekly-f67c90eb.js → BMI_BOYS.zscore.weekly-6c12aa9f.js} +0 -0
  238. /package/build/esm/{BMI_BOYS.zscore.yearly-b1a41fe8.js → BMI_BOYS.zscore.yearly-1c23b3d9.js} +0 -0
  239. /package/build/esm/{BMI_GIRLS.percentile.monthly-66a216cc.js → BMI_GIRLS.percentile.monthly-8a502893.js} +0 -0
  240. /package/build/esm/{BMI_GIRLS.percentile.weekly-b46429d6.js → BMI_GIRLS.percentile.weekly-fa839bec.js} +0 -0
  241. /package/build/esm/{BMI_GIRLS.percentile.yearly-6a6af348.js → BMI_GIRLS.percentile.yearly-a4566ca8.js} +0 -0
  242. /package/build/esm/{BMI_GIRLS.zscore.monthly-41bb8c08.js → BMI_GIRLS.zscore.monthly-aab4d85c.js} +0 -0
  243. /package/build/esm/{BMI_GIRLS.zscore.weekly-04eb8b89.js → BMI_GIRLS.zscore.weekly-f8488af5.js} +0 -0
  244. /package/build/esm/{BMI_GIRLS.zscore.yearly-099feda2.js → BMI_GIRLS.zscore.yearly-a4d7a630.js} +0 -0
  245. /package/build/esm/{ChevronDown-c2b4123b.js → ChevronDown-7443ba17.js} +0 -0
  246. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-53d11c4f.js → HEAD CIRCUM_BOYS.percentile.monthly-dd491a3d.js} +0 -0
  247. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-19dae757.js → HEAD CIRCUM_BOYS.percentile.weekly-9a4cc487.js} +0 -0
  248. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e744f2ee.js → HEAD CIRCUM_BOYS.percentile.yearly-5ff7c492.js} +0 -0
  249. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-12b76190.js → HEAD CIRCUM_BOYS.zscore.monthly-921be2d2.js} +0 -0
  250. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a62a347c.js → HEAD CIRCUM_BOYS.zscore.weekly-f5d468d9.js} +0 -0
  251. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-d1c96a90.js → HEAD CIRCUM_BOYS.zscore.yearly-5199b4a7.js} +0 -0
  252. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-52e91c35.js → HEAD CIRCUM_GIRLS.percentile.monthly-8679c7bc.js} +0 -0
  253. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-51fd4b94.js → HEAD CIRCUM_GIRLS.percentile.weekly-9e2dcb2b.js} +0 -0
  254. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-fb3c718e.js → HEAD CIRCUM_GIRLS.percentile.yearly-c6203100.js} +0 -0
  255. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-8d54ac23.js → HEAD CIRCUM_GIRLS.zscore.monthly-856a5b1e.js} +0 -0
  256. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-17722148.js → HEAD CIRCUM_GIRLS.zscore.weekly-0783f118.js} +0 -0
  257. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0849bdb2.js → HEAD CIRCUM_GIRLS.zscore.yearly-a84257a0.js} +0 -0
  258. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-9219856c.js → HEIGHT_BOYS.percentile.monthly-788fb5b4.js} +0 -0
  259. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f257a74f.js → HEIGHT_BOYS.percentile.weekly-f5190462.js} +0 -0
  260. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-3ed1a065.js → HEIGHT_BOYS.percentile.yearly-afe4fd67.js} +0 -0
  261. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a58e6f2e.js → HEIGHT_BOYS.zscore.monthly-bb98f05e.js} +0 -0
  262. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-af59d81d.js → HEIGHT_BOYS.zscore.weekly-dfb95358.js} +0 -0
  263. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-d64544e6.js → HEIGHT_BOYS.zscore.yearly-055fefcb.js} +0 -0
  264. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-58d712e2.js → HEIGHT_GIRLS.percentile.monthly-441d5eec.js} +0 -0
  265. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f5718378.js → HEIGHT_GIRLS.percentile.weekly-df673b20.js} +0 -0
  266. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-306e09e7.js → HEIGHT_GIRLS.percentile.yearly-b8635e96.js} +0 -0
  267. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-ad472813.js → HEIGHT_GIRLS.zscore.monthly-8350897b.js} +0 -0
  268. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-e53d92d3.js → HEIGHT_GIRLS.zscore.weekly-820a7ef3.js} +0 -0
  269. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-3e6e23aa.js → HEIGHT_GIRLS.zscore.yearly-b2f2d906.js} +0 -0
  270. /package/build/esm/{Subot-dc774172.js → Subot-3d309d90.js} +0 -0
  271. /package/build/esm/{Visible-302a3e45.js → Visible-45ab1e13.js} +0 -0
  272. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-49a7ae53.js → WEIGHT_BOYS.percentile.monthly-566b72c0.js} +0 -0
  273. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-63420203.js → WEIGHT_BOYS.percentile.weekly-ae3bef15.js} +0 -0
  274. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-26609ac2.js → WEIGHT_BOYS.percentile.yearly-fd72f182.js} +0 -0
  275. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-cb16306f.js → WEIGHT_BOYS.zscore.monthly-4ebeca1a.js} +0 -0
  276. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-291be10f.js → WEIGHT_BOYS.zscore.weekly-1edeedcc.js} +0 -0
  277. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-6a25a7fa.js → WEIGHT_BOYS.zscore.yearly-b42da93c.js} +0 -0
  278. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d11ea01c.js → WEIGHT_GIRLS.percentile.monthly-ab099390.js} +0 -0
  279. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-93c36ba6.js → WEIGHT_GIRLS.percentile.weekly-e604f0e1.js} +0 -0
  280. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-5fc6d885.js → WEIGHT_GIRLS.percentile.yearly-9575be98.js} +0 -0
  281. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-0f6fd15b.js → WEIGHT_GIRLS.zscore.monthly-bddddbe3.js} +0 -0
  282. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-ea9c19e1.js → WEIGHT_GIRLS.zscore.weekly-f255cbfc.js} +0 -0
  283. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-9665443f.js → WEIGHT_GIRLS.zscore.yearly-a99d0fd7.js} +0 -0
  284. /package/build/esm/{cookieHelper-d6490b00.js → cookieHelper-0acd4fc8.js} +0 -0
  285. /package/build/esm/{index-379f6571.js → index-550480ee.js} +0 -0
  286. /package/build/esm/{index-a59b0ec0.js → index-5dc45c1c.js} +0 -0
  287. /package/build/esm/{index-d5fe6c4e.js → index-a6ddd645.js} +0 -0
  288. /package/build/esm/{isProduction-7b1509aa.js → isProduction-135c9280.js} +0 -0
  289. /package/build/esm/{localizeNumberFormat-b4e337ed.js → localizeNumberFormat-883148fd.js} +0 -0
  290. /package/build/esm/{normalizeLink-7bed1319.js → normalizeLink-75e03b67.js} +0 -0
  291. /package/build/esm/{number-eb39d16c.js → number-73b198fe.js} +0 -0
  292. /package/build/esm/{paths-2e45cb1b.js → paths-61361575.js} +0 -0
  293. /package/build/esm/{theme-adbee273.js → theme-0d3c8845.js} +0 -0
  294. /package/build/esm/{translationsContext-4623d384.js → translationsContext-ee7ec6eb.js} +0 -0
  295. /package/build/esm/{tslib.es6-693de4fd.js → tslib.es6-c43c14a5.js} +0 -0
  296. /package/build/esm/{types-054bf1d5.js → types-745b966e.js} +0 -0
  297. /package/build/esm/{useIsInit-7d5bf403.js → useIsInit-d5727c47.js} +0 -0
  298. /package/build/esm/{useOutsideClick-5c82f669.js → useOutsideClick-e4f22be5.js} +0 -0
  299. /package/build/esm/{useScrollbarSize-cfeb4651.js → useScrollbarSize-0d367255.js} +0 -0
  300. /package/build/{index-346123fd.js → index-52b005ff.js} +0 -0
  301. /package/build/{index-53fb3b00.js → index-983a543a.js} +0 -0
  302. /package/build/{index-408e11c4.js → index-f2e5a43e.js} +0 -0
  303. /package/build/{isProduction-87f95c7d.js → isProduction-8a3929cb.js} +0 -0
  304. /package/build/{localizeNumberFormat-e7196b4e.js → localizeNumberFormat-d00e3203.js} +0 -0
  305. /package/build/{normalizeLink-245ad49c.js → normalizeLink-e4d8df7b.js} +0 -0
  306. /package/build/{number-5c9d6f63.js → number-9930fc27.js} +0 -0
  307. /package/build/{paths-3287ee93.js → paths-ed97730a.js} +0 -0
  308. /package/build/{theme-785c6f0c.js → theme-0bb94193.js} +0 -0
  309. /package/build/{translationsContext-efee8d50.js → translationsContext-e09b4f33.js} +0 -0
  310. /package/build/{tslib.es6-ef1f81bf.js → tslib.es6-293338f5.js} +0 -0
  311. /package/build/{types-0321e2cc.js → types-140f0c7d.js} +0 -0
  312. /package/build/{useIsInit-311b057a.js → useIsInit-f9337a25.js} +0 -0
  313. /package/build/{useOutsideClick-7ddf4eaa.js → useOutsideClick-ac461ca7.js} +0 -0
  314. /package/build/{useScrollbarSize-6947aaa0.js → useScrollbarSize-9413af1b.js} +0 -0
@@ -1,11 +1,11 @@
1
- import e,{useContext as i,useState as t}from"react";import{M as o}from"./screenSizeContext-8e3cd726.js";import"dayjs";import n from"styled-components";import{t as l}from"./theme-adbee273.js";import"./index-a454d80b.js";import"./isProduction-7b1509aa.js";import"./Subot-dc774172.js";import"./index-7678ada1.js";import{_ as a}from"./tslib.es6-693de4fd.js";import{b as r}from"./index.styles-caebb95e.js";const d=n.div`
1
+ import e,{useContext as i,useState as t}from"react";import{M as o}from"./utils-1550f4c2.js";import l from"styled-components";import{t as n}from"./theme-0d3c8845.js";import{_ as a}from"./tslib.es6-c43c14a5.js";import{T as r}from"./utils-ab3bd9a9.js";const d=l.div`
2
2
  position: fixed;
3
3
  left: 50%;
4
4
 
5
5
  padding: 0 16px 32px;
6
- background-color: ${l.colors.white};
7
- border-radius: ${l.borderRadius};
8
- box-shadow: 0px 4px 8px ${l.colors.gray200};
6
+ background-color: ${n.colors.white};
7
+ border-radius: ${n.borderRadius};
8
+ box-shadow: 0px 4px 8px ${n.colors.gray200};
9
9
  transform: translate(-50%, -50%);
10
10
  transition: all 0.5s ease-in-out;
11
11
  visibility: hidden;
@@ -68,7 +68,7 @@ import e,{useContext as i,useState as t}from"react";import{M as o}from"./screenS
68
68
  border-radius: 50%;
69
69
  }
70
70
  }
71
- `,s=n.div`
71
+ `,s=l.div`
72
72
  position: fixed;
73
73
  z-index: 110;
74
74
  top: 0;
@@ -81,7 +81,7 @@ import e,{useContext as i,useState as t}from"react";import{M as o}from"./screenS
81
81
  &[data-open='false'] {
82
82
  display: none;
83
83
  }
84
- `,u=({type:i="lead",closeIcon:t,isOpen:o=!0,onClose:n,children:l,className:a="",enableAnimation:r=!0})=>e.createElement(e.Fragment,null,e.createElement(d,{"data-open":o,"data-type":i,"data-animation":r},e.createElement("div",{className:`${a||""} popup-content`},!!t&&e.createElement("div",{className:"close-button",onClick:n},t),l)),e.createElement(s,{"data-open":o,onClick:n})),m=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||""}:{},v=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}:{},p=e=>void 0!==e&&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}:null,c=e=>{if(!e)return{};const{button_text:i,button_url:t,status:o,banner_desktop:n,banner_mobile:l}=e,r=a(e,["button_text","button_url","status","banner_desktop","banner_mobile"]);return Object.assign({buttonText:i||"",buttonUrl:t||"",status:Boolean(o),bannerDesktop:n||"",bannerMobile:l||""},r)},_={EN:"English",FIL:"Filipino"},g=e=>void 0===e||Object.keys(e).length<2?[]:Object.keys(e).map((i=>({label:i.toUpperCase()in _?_[i.toUpperCase()]:i.toUpperCase(),value:"/"===e[i].slice(-1)?e[i]:`${e[i]}/`}))),y=e=>{var i,t,o,n;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?b(e.sponsor):null,isSponsored:e.is_sponsored||null,isPremium:e.is_premium||!1,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:m(e.author),reviewer:e.reviewed_by&&m(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:f(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:f(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.editor),expert:f(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.expert),fact_check:f(null===(n=null==e?void 0:e.reviewed)||void 0===n?void 0:n.fact_check)}):null,category:w(e.category),postContent:e.post_content||null,keyTakeaways:e.key_takeaways||null,categories:(e.categories||[]).map(w),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:v(e.expert),metaTag:e.meta_tag||null,spotlight:p(null==e?void 0:e.spotlight),affiliate_message:e.affiliate_message||null,turnOffComment:!!e.turn_off_comment,hasAffiliate:!!e.is_affiliate,translateOptions:g(e.translate),jumpingLink:e.jumping_link||[],pregnancy:(null==e?void 0:e.pregnancy)||!1,pregnancyWeek:(null==e?void 0:e.week_pregnancy)||1,primaryCategory:w(e.primary_category),turnOffIvsPlayer:!!e.turn_off_ivs_player,turnOffArticleVoice:!!e.turn_off_article_voice,enableAudio:!!e.enable_audio,label:(null==e?void 0:e.label)||"",editLast:m(e.edit_last),subscriptionBanner:c(e.subscription_banner)}:{}},f=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,b=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},h=e=>({postTitle:e.post_title,permalink:e.permalink}),w=e=>{var i,t;return e?{termId:e.term_id||null,sponsor:e.sponsor?b(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=>w(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(t=e.cat_parent)||void 0===t?void 0:t.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?h(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>k(e))):null}:{}},k=e=>({title:e.title,content:e.content}),x=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},I=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)}:{},C=e=>{var i,t,o,n;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===(t=e.community)||void 0===t?void 0:t.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.slug,communityName:null===(n=e.community)||void 0===n?void 0:n.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},S=e=>e?{answer:null==e?void 0:e.answer.map(A),expert:null==e?void 0:e.expert}:{},T=e=>{var i,t,o,n,l,a,r,d,s,u,m,v,p,c,_,g,y,f,b,h,w;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var t,o,n,l;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+i.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",communityName:(null===(l=e.community)||void 0===l?void 0:l.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(t=e.community)||void 0===t?void 0:t.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.name)||"",slug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",isActive:!0,isHidden:Boolean(null===(l=e.community)||void 0===l?void 0:l.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(r=e.user)||void 0===r?void 0:r.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(s=e.user)||void 0===s?void 0:s.name)||"",avatar:(null===(u=e.user)||void 0===u?void 0:u.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(p=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===p?void 0:p.toLowerCase():"",type:(null===(c=e.user)||void 0===c?void 0:c.type)||"",partnerId:(null===(_=e.user)||void 0===_?void 0:_.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(y=e.user)||void 0===y?void 0:y.title)||"",doctorId:(null===(f=e.user)||void 0===f?void 0:f.doctor_id)?String(null===(b=e.user)||void 0===b?void 0:b.doctor_id):"",hospitalId:(null===(h=e.user)||void 0===h?void 0:h.hospital_id)?String(null===(w=e.user)||void 0===w?void 0:w.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:S(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},A=e=>{var i,t,o,n,l,a,r,d,s,u,m,v,p,c,_,g,y,f,b,h,w,k,x,I,C,S,T,j,B,D,N,P;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(A):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(t=e.user)||void 0===t?void 0:t.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.name)||"",role:(null===(n=e.user)||void 0===n?void 0:n.role)?null===(a=null===(l=e.user)||void 0===l?void 0:l.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(r=e.user)||void 0===r?void 0:r.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",partnerId:(null===(u=e.user)||void 0===u?void 0:u.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===(p=e.user)||void 0===p?void 0:p.doctor_id)?String(null===(c=e.user)||void 0===c?void 0:c.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===(f=e.mentioned)||void 0===f?void 0:f.user_name)||"",name:(null===(b=e.mentioned)||void 0===b?void 0:b.name)||"",role:(null===(h=e.mentioned)||void 0===h?void 0:h.role)?null===(k=null===(w=e.mentioned)||void 0===w?void 0:w.role)||void 0===k?void 0:k.toLowerCase():"",avatar:(null===(x=e.mentioned)||void 0===x?void 0:x.avatar)||"",type:(null===(I=e.mentioned)||void 0===I?void 0:I.type)||"",email:(null===(C=e.mentioned)||void 0===C?void 0:C.email)||"",partnerId:(null===(S=e.mentioned)||void 0===S?void 0:S.partner_id)?String(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id):"",doctorId:(null===(j=e.mentioned)||void 0===j?void 0:j.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===(N=e.mentioned)||void 0===N?void 0:N.hospital_id):"",title:(null===(P=e.mentioned)||void 0===P?void 0:P.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||"",isAnonymous:Boolean(Number(e.is_anonymous||0))}:{}},j=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 B=Object.freeze({__proto__:null,formatAuthor:m,formatArticleExpert:v,formatSpotlightsSummary:p,TRANSLATE_LANGUAGES:_,formatTranslateOptions:g,formatArticle:y,formatUserProfile:f,formatBMIResult:e=>{var i,t,o,n,l,a,r,d,s;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!==(t=null==e?void 0:e.condition)&&void 0!==t?t:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{tab:"tools.suggestion",content:null!==(n=null==e?void 0:e.suggestion)&&void 0!==n?n:""}],chartData:(null===(l=null==e?void 0:e.chart_data)||void 0===l?void 0:l.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(r=null==e?void 0:e.illustrator)&&void 0!==r?r:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(s=null==e?void 0:e.suggested_articles_link)&&void 0!==s?s:""}:{}},formatSponsor:b,formatReviewedCategory:h,formatCategory:w,formatCategoryApi:e=>e?{categoryInfo:w(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(y),subCategories:(e.data.sub_categories||[]).map(w)}:{},formatFaqsCategory:k,formatHealthTool:x,formatHealthToolTypeCategory:e=>{var i,t;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(t=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>x(e))))&&void 0!==t?t:[]}:{}},formatCommunity:I,formatTopic:C,formatExpertAnswer:S,formatPost:T,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,t,o;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===(t=e.from_user)||void 0===t?void 0:t.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList: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: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}:{},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:A,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?f(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:j,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?f(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,t,o;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(t=e.reviewed_by)||void 0===t?void 0:t.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:j(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||""}:{}}});const D=n.div`
84
+ `,u=({type:i="lead",closeIcon:t,isOpen:o=!0,onClose:l,children:n,className:a="",enableAnimation:r=!0})=>e.createElement(e.Fragment,null,e.createElement(d,{"data-open":o,"data-type":i,"data-animation":r},e.createElement("div",{className:`${a||""} popup-content`},!!t&&e.createElement("div",{className:"close-button",onClick:l},t),n)),e.createElement(s,{"data-open":o,onClick:l})),m=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||""}:{},v=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}:{},c=e=>void 0!==e&&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}:null,p=e=>{if(!e)return{};const{button_text:i,button_url:t,status:o,banner_desktop:l,banner_mobile:n}=e,r=a(e,["button_text","button_url","status","banner_desktop","banner_mobile"]);return Object.assign({buttonText:i||"",buttonUrl:t||"",status:Boolean(o),bannerDesktop:l||"",bannerMobile:n||""},r)},_={EN:"English",FIL:"Filipino"},g=e=>void 0===e||Object.keys(e).length<2?[]:Object.keys(e).map((i=>({label:i.toUpperCase()in _?_[i.toUpperCase()]:i.toUpperCase(),value:"/"===e[i].slice(-1)?e[i]:`${e[i]}/`}))),y=e=>{var i,t,o,l;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?b(e.sponsor):null,isSponsored:e.is_sponsored||null,isPremium:e.is_premium||!1,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:m(e.author),reviewer:e.reviewed_by&&m(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:f(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:f(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.editor),expert:f(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.expert),fact_check:f(null===(l=null==e?void 0:e.reviewed)||void 0===l?void 0:l.fact_check)}):null,category:w(e.category),postContent:e.post_content||null,keyTakeaways:e.key_takeaways||null,categories:(e.categories||[]).map(w),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:v(e.expert),metaTag:e.meta_tag||null,spotlight:c(null==e?void 0:e.spotlight),affiliate_message:e.affiliate_message||null,turnOffComment:!!e.turn_off_comment,hasAffiliate:!!e.is_affiliate,translateOptions:g(e.translate),jumpingLink:e.jumping_link||[],pregnancy:(null==e?void 0:e.pregnancy)||!1,pregnancyWeek:(null==e?void 0:e.week_pregnancy)||1,primaryCategory:w(e.primary_category),turnOffIvsPlayer:!!e.turn_off_ivs_player,turnOffArticleVoice:!!e.turn_off_article_voice,enableAudio:!!e.enable_audio,label:(null==e?void 0:e.label)||"",editLast:m(e.edit_last),subscriptionBanner:p(e.subscription_banner)}:{}},f=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,b=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},h=e=>({postTitle:e.post_title,permalink:e.permalink}),w=e=>{var i,t;return e?{termId:e.term_id||null,sponsor:e.sponsor?b(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=>w(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(t=e.cat_parent)||void 0===t?void 0:t.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?h(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>k(e))):null}:{}},k=e=>({title:e.title,content:e.content}),x=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},I=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)}:{},C=e=>{var i,t,o,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===(t=e.community)||void 0===t?void 0:t.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.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)}:{}},S=e=>e?{answer:null==e?void 0:e.answer.map(A),expert:null==e?void 0:e.expert}:{},T=e=>{var i,t,o,l,n,a,r,d,s,u,m,v,c,p,_,g,y,f,b,h,w;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var t,o,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+i.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.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===(t=e.community)||void 0===t?void 0:t.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.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===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(r=e.user)||void 0===r?void 0:r.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(s=e.user)||void 0===s?void 0:s.name)||"",avatar:(null===(u=e.user)||void 0===u?void 0:u.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===(_=e.user)||void 0===_?void 0:_.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(y=e.user)||void 0===y?void 0:y.title)||"",doctorId:(null===(f=e.user)||void 0===f?void 0:f.doctor_id)?String(null===(b=e.user)||void 0===b?void 0:b.doctor_id):"",hospitalId:(null===(h=e.user)||void 0===h?void 0:h.hospital_id)?String(null===(w=e.user)||void 0===w?void 0:w.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:S(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},A=e=>{var i,t,o,l,n,a,r,d,s,u,m,v,c,p,_,g,y,f,b,h,w,k,x,I,C,S,T,B,D,j,N,P;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(A):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(t=e.user)||void 0===t?void 0:t.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(a=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(r=e.user)||void 0===r?void 0:r.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",partnerId:(null===(u=e.user)||void 0===u?void 0:u.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===(f=e.mentioned)||void 0===f?void 0:f.user_name)||"",name:(null===(b=e.mentioned)||void 0===b?void 0:b.name)||"",role:(null===(h=e.mentioned)||void 0===h?void 0:h.role)?null===(k=null===(w=e.mentioned)||void 0===w?void 0:w.role)||void 0===k?void 0:k.toLowerCase():"",avatar:(null===(x=e.mentioned)||void 0===x?void 0:x.avatar)||"",type:(null===(I=e.mentioned)||void 0===I?void 0:I.type)||"",email:(null===(C=e.mentioned)||void 0===C?void 0:C.email)||"",partnerId:(null===(S=e.mentioned)||void 0===S?void 0:S.partner_id)?String(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id):"",doctorId:(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id)?String(null===(D=e.mentioned)||void 0===D?void 0:D.doctor_id):"",hospitalId:(null===(j=e.mentioned)||void 0===j?void 0:j.hospital_id)?String(null===(N=e.mentioned)||void 0===N?void 0:N.hospital_id):"",title:(null===(P=e.mentioned)||void 0===P?void 0:P.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||"",isAnonymous:Boolean(Number(e.is_anonymous||0))}:{}},B=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 D=Object.freeze({__proto__:null,formatAuthor:m,formatArticleExpert:v,formatSpotlightsSummary:c,TRANSLATE_LANGUAGES:_,formatTranslateOptions:g,formatArticle:y,formatUserProfile:f,formatBMIResult:e=>{var i,t,o,l,n,a,r,d,s;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!==(t=null==e?void 0:e.condition)&&void 0!==t?t:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{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!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(r=null==e?void 0:e.illustrator)&&void 0!==r?r:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(s=null==e?void 0:e.suggested_articles_link)&&void 0!==s?s:""}:{}},formatSponsor:b,formatReviewedCategory:h,formatCategory:w,formatCategoryApi:e=>e?{categoryInfo:w(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(y),subCategories:(e.data.sub_categories||[]).map(w)}:{},formatFaqsCategory:k,formatHealthTool:x,formatHealthToolTypeCategory:e=>{var i,t;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(t=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>x(e))))&&void 0!==t?t:[]}:{}},formatCommunity:I,formatTopic:C,formatExpertAnswer:S,formatPost:T,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,t,o;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===(t=e.from_user)||void 0===t?void 0:t.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList: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: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}:{},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:A,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?f(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:B,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?f(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,t,o;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(t=e.reviewed_by)||void 0===t?void 0:t.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:B(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||""}:{}}});const j=l.div`
85
85
  width: ${e=>e.size||40}px;
86
86
  height: ${e=>e.size||40}px;
87
87
  flex-shrink: 0;
@@ -101,7 +101,7 @@ import e,{useContext as i,useState as t}from"react";import{M as o}from"./screenS
101
101
  display: flex;
102
102
  align-items: center;
103
103
  justify-content: center;
104
- background-color: ${l.colors.secondaryBase};
104
+ background-color: ${n.colors.secondaryBase};
105
105
  border-radius: 50%;
106
106
  color: white;
107
107
  font-size: 1em;
@@ -111,7 +111,7 @@ import e,{useContext as i,useState as t}from"react";import{M as o}from"./screenS
111
111
 
112
112
  &[data-is-marrybaby='true'] {
113
113
  .avatar-default {
114
- background-color: ${l.mbColors.pink};
114
+ background-color: ${n.mbColors.pink};
115
115
  }
116
116
  }
117
- `,N=o=>{var{className:n,isMarryBaby:l,style:d,avatar:s,username:u,size:m}=o,v=a(o,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:p}}}=i(r),c="boolean"==typeof l?l:p,[_,g]=t(!1);return e.createElement(D,Object.assign({"data-is-marrybaby":c,className:n,style:d,size:m},v),s&&!_?e.createElement("img",{loading:"lazy",src:s,className:"avatar",alt:"avatar",onError:()=>{_||g(!0)}}):e.createElement("div",{className:"avatar avatar-default"},u&&(null==u?void 0:u.length)>0?u[0].toUpperCase():"A"))};export{u as P,N as U,T as a,I as b,y as c,B as d,w as e,j as f,C as g,A as h};
117
+ `,N=o=>{var{className:l,isMarryBaby:n,style:d,avatar:s,username:u,size:m}=o,v=a(o,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:c}}}=i(r),p="boolean"==typeof n?n:c,[_,g]=t(!1);return e.createElement(j,Object.assign({"data-is-marrybaby":p,className:l,style:d,size:m},v),s&&!_?e.createElement("img",{loading:"lazy",src:s,className:"avatar",alt:"avatar",onError:()=>{_||g(!0)}}):e.createElement("div",{className:"avatar avatar-default"},u&&(null==u?void 0:u.length)>0?u[0].toUpperCase():"A"))};export{u as P,N as U,T as a,A as b,I as c,D as d,y as e,C as f,w as g,B as h};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-693de4fd.js";import t from"react";import{Modal as s,CloseButton as l}from"@mantine/core";import{C as a}from"./index-7678ada1.js";import{j as o}from"./index-1cfc85b4.js";import{T as n}from"./index-6f066011.js";const r=r=>{var{title:i,styles:m}=r,c=e(r,["title","styles"]);const{classes:d}=o(void 0,{name:"Modal",styles:m});return t.createElement(t.Fragment,null,t.createElement(s,Object.assign({centered:!0,classNames:d},c,{withCloseButton:!1,title:c.withCloseButton&&t.createElement(t.Fragment,null,t.createElement(n,{size:"s2",weight:"semiBold",as:"span"},i),t.createElement(l,Object.assign({},c.closeButtonProps,{onClick:()=>{var e;return null===(e=c.onClose)||void 0===e?void 0:e.call(c)},sx:{":focus":{outline:0}}}),t.createElement("img",{loading:"lazy",className:"mantine-Modal-close",src:a.getAssetPath("CloseModal.svg"),style:{width:"16px"}})))})))};export{r as M};
1
+ import{_ as e}from"./tslib.es6-c43c14a5.js";import t from"react";import{Modal as s,CloseButton as l}from"@mantine/core";import{C as o}from"./index-9b020630.js";import{j as a}from"./index-924d8b45.js";import{T as n}from"./index-b51813fe.js";const r=r=>{var{title:i,styles:m}=r,c=e(r,["title","styles"]);const{classes:d}=a(void 0,{name:"Modal",styles:m});return t.createElement(t.Fragment,null,t.createElement(s,Object.assign({centered:!0,classNames:d},c,{withCloseButton:!1,title:c.withCloseButton&&t.createElement(t.Fragment,null,t.createElement(n,{size:"s2",weight:"semiBold",as:"span"},i),t.createElement(l,Object.assign({},c.closeButtonProps,{onClick:()=>{var e;return null===(e=c.onClose)||void 0===e?void 0:e.call(c)},sx:{":focus":{outline:0}}}),t.createElement("img",{loading:"lazy",className:"mantine-Modal-close",src:o.getAssetPath("CloseModal.svg"),style:{width:"16px"}})))})))};export{r as M};
@@ -1 +1 @@
1
- import{_ as a}from"./tslib.es6-693de4fd.js";import t from"react";var e="P03rcnV",d="LsvykAk",o="S2kaD9B",c="fAwTdkg",i="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";const l=l=>{var{size:C,color:m="primary",theme:u="helloSites",isDisabled:h,isBlock:p,title:P,className:g,onClick:k,icon:v,iconPosition:E="left",children:y,isLoading:N=!1,loadingText:b,dataEventCategory:f,dataEventAction:L,dataEventLabel:B,dataProductChannel:w,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:z,dataProductCategory:D,dataProductPosition:S,type:j}=l,F=a(l,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":f,"data-event-action":L,"data-event-label":B,"data-product-channel":w,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":z,"data-product-category":D,"data-product-position":S},G=t.createElement("span",{className:d},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),t.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("mask",{id:"path-1-inside-1",fill:"white"},t.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),t.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),W=(v||N)&&t.createElement("span",{className:r},N?G:v," ");return t.createElement("button",Object.assign({},M,{className:`${i} ${g||""}`,"data-size":C,"data-color":m,"data-block":p,"data-has-icon":!!v||void 0,"data-theme":u,disabled:h,onClick:a=>{!N&&!h&&k&&k(a)},title:P,"data-is-loading":N,type:j},F),t.createElement("span",{className:c},"left"===E&&W,y&&t.createElement("span",{className:o},N&&b||y),"right"===E&&W))};export{l as B};
1
+ import{_ as a}from"./tslib.es6-c43c14a5.js";import t from"react";var e="P03rcnV",d="LsvykAk",o="S2kaD9B",c="fAwTdkg",i="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";const l=l=>{var{size:C,color:m="primary",theme:u="helloSites",isDisabled:h,isBlock:p,title:P,className:g,onClick:k,icon:v,iconPosition:E="left",children:y,isLoading:N=!1,loadingText:b,dataEventCategory:f,dataEventAction:L,dataEventLabel:B,dataProductChannel:w,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:z,dataProductCategory:D,dataProductPosition:S,type:j}=l,F=a(l,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":f,"data-event-action":L,"data-event-label":B,"data-product-channel":w,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":z,"data-product-category":D,"data-product-position":S},G=t.createElement("span",{className:d},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),t.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("mask",{id:"path-1-inside-1",fill:"white"},t.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),t.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),W=(v||N)&&t.createElement("span",{className:r},N?G:v," ");return t.createElement("button",Object.assign({},M,{className:`${i} ${g||""}`,"data-size":C,"data-color":m,"data-block":p,"data-has-icon":!!v||void 0,"data-theme":u,disabled:h,onClick:a=>{!N&&!h&&k&&k(a)},title:P,"data-is-loading":N,type:j},F),t.createElement("span",{className:c},"left"===E&&W,y&&t.createElement("span",{className:o},N&&b||y),"right"===E&&W))};export{l as B};
@@ -0,0 +1,375 @@
1
+ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}from"./index-b51813fe.js";import{u as o}from"./useTranslations-49e0430f.js";import{format as n}from"date-fns";import c from"react-day-picker/DayPickerInput";import s from"styled-components";import{t as d}from"./theme-0d3c8845.js";var l="tliWyii";const p=({className:a,theme:r,hideText:t})=>{const{t:n}=o();return e.createElement("div",{className:`${l} ${a}`},e.createElement(i.Spinner,{isMarryBaby:"marryBaby"===r}),!t&&n("loading"))},y={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},u=s.div`
2
+ .pickerContainer {
3
+ position: relative;
4
+ padding-top: 0;
5
+ & > div > svg {
6
+ position: absolute;
7
+ top: 36px;
8
+ right: 16px;
9
+ cursor: pointer;
10
+ }
11
+
12
+ & > :not(:first-child) {
13
+ position: absolute;
14
+ z-index: 2;
15
+ width: 100%;
16
+ }
17
+ }
18
+
19
+ &[data-is-static] .pickerOverlayWrapper {
20
+ position: static;
21
+ max-width: 250px;
22
+ aspect-ratio: 1 / 1;
23
+
24
+ > .pickerOverlay {
25
+ padding: 1rem;
26
+ }
27
+ }
28
+
29
+ .pickerOverlayWrapper {
30
+ min-width: 320px;
31
+ }
32
+
33
+ &[data-align-right='true'] {
34
+ .pickerOverlayWrapper {
35
+ right: 0;
36
+ }
37
+ }
38
+
39
+ .pickerOverlay {
40
+ margin-top: 6px;
41
+ background: white;
42
+ border-radius: ${d.borderRadius};
43
+ box-shadow: 0px 6px 12px rgba(67, 86, 100, 0.2);
44
+ }
45
+
46
+ .picker {
47
+ width: 100%;
48
+ }
49
+
50
+ .react-datepicker-popper {
51
+ .react-datepicker {
52
+ display: flex;
53
+ width: 340px;
54
+ height: 305px;
55
+ align-items: center;
56
+ justify-content: center;
57
+ border: none;
58
+ box-shadow: (-1px 1px 2px rgba(67, 70, 74, 0.0001)),
59
+ (-2px 2px 5px rgba(67, 86, 100, 0.123689));
60
+ }
61
+
62
+ .svg {
63
+ cursor: pointer;
64
+ stroke: ${d.colors.gray800};
65
+ }
66
+ .react-datepicker__day {
67
+ width: 40px;
68
+ }
69
+
70
+ .react-datepicker__header {
71
+ border-bottom: 0;
72
+ background-color: white;
73
+ }
74
+
75
+ .react-datepicker__day--outside-month {
76
+ color: #e9e9e9;
77
+ }
78
+
79
+ .react-datepicker__day {
80
+ font-weight: ${d.sizes.fwBold};
81
+ }
82
+
83
+ .react-datepicker__day--selected,
84
+ .react-datepicker__day--today,
85
+ .react-datepicker__day--selected:hover,
86
+ .react-datepicker__day--keyboard-selected {
87
+ width: 32px;
88
+ height: 30px;
89
+ margin: 4px;
90
+ margin-bottom: -2px;
91
+ background: ${d.colors.primaryBase};
92
+ border-radius: 50%;
93
+ }
94
+
95
+ .react-datepicker__day-name {
96
+ width: 40px;
97
+ }
98
+
99
+ .react-datepicker__triangle {
100
+ display: none;
101
+ }
102
+
103
+ .react-datepicker__header.react-datepicker__header--custom {
104
+ svg {
105
+ stroke: #262626;
106
+ }
107
+ select {
108
+ background: ${d.colors.neutral100};
109
+ text-align: center;
110
+ &:not(:last-child) {
111
+ padding: 8px 10px;
112
+ margin-right: 15px;
113
+ border-radius: ${d.borderRadius};
114
+ }
115
+ }
116
+ }
117
+ }
118
+
119
+ /* DayPicker styles */
120
+
121
+ .DayPicker {
122
+ display: inline-block;
123
+ font-size: 1rem;
124
+ }
125
+
126
+ .DayPicker-wrapper {
127
+ position: relative;
128
+
129
+ flex-direction: row;
130
+ padding-bottom: 1em;
131
+
132
+ -webkit-user-select: none;
133
+
134
+ -moz-user-select: none;
135
+
136
+ -ms-user-select: none;
137
+
138
+ user-select: none;
139
+ }
140
+
141
+ .DayPicker-Months {
142
+ display: flex;
143
+ flex-wrap: wrap;
144
+ justify-content: center;
145
+ }
146
+
147
+ .DayPicker-Month {
148
+ display: table;
149
+ margin: 0 16px;
150
+ margin-top: 16px;
151
+ border-collapse: collapse;
152
+ border-spacing: 0;
153
+
154
+ -webkit-user-select: none;
155
+
156
+ -moz-user-select: none;
157
+
158
+ -ms-user-select: none;
159
+
160
+ user-select: none;
161
+ }
162
+
163
+ .DayPicker-NavBar {
164
+ position: absolute;
165
+ top: 16px;
166
+ left: 0;
167
+ display: flex;
168
+ width: 100%;
169
+ height: 0;
170
+ align-items: center;
171
+ justify-content: space-between;
172
+ padding: 0 20px;
173
+ }
174
+
175
+ .DayPicker-NavButton {
176
+ width: 24px;
177
+ height: 24px;
178
+ margin-bottom: -47px;
179
+ background-position: center;
180
+ background-repeat: no-repeat;
181
+ background-size: 16px 16px;
182
+ color: #8b9898;
183
+ cursor: pointer;
184
+ }
185
+
186
+ .DayPicker-NavButton:hover {
187
+ opacity: 0.8;
188
+ }
189
+
190
+ .DayPicker-NavButton--prev {
191
+ //left: 2px;
192
+ background-image: url("data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 9L1 5L5 1' stroke='%23262626' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
193
+ }
194
+
195
+ .DayPicker-NavButton--next {
196
+ //right: 2px;
197
+ background-image: url("data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L1 9' stroke='%23262626' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
198
+ }
199
+
200
+ .DayPicker-NavButton--interactionDisabled {
201
+ display: none;
202
+ }
203
+
204
+ .DayPicker-Caption {
205
+ display: table-caption;
206
+ width: 100%;
207
+ height: 46px;
208
+ padding: 0 32px;
209
+ }
210
+
211
+ .DayPicker-Caption select {
212
+ font-size: 16px;
213
+ font-weight: 600;
214
+ line-height: 24px;
215
+ text-align: left;
216
+ }
217
+
218
+ .DayPicker-Weekdays {
219
+ display: table-header-group;
220
+ margin-top: 1em;
221
+ }
222
+
223
+ .DayPicker-WeekdaysRow {
224
+ display: table-row;
225
+ }
226
+
227
+ .DayPicker-Weekday {
228
+ display: table-cell;
229
+ padding: 0.5em;
230
+ color: #8b9898;
231
+ font-size: 0.875em;
232
+ text-align: center;
233
+ }
234
+
235
+ .DayPicker-Weekday abbr[title] {
236
+ border-bottom: none;
237
+ text-decoration: none;
238
+ }
239
+
240
+ .DayPicker-Body {
241
+ display: table-row-group;
242
+ }
243
+
244
+ .DayPicker-Week {
245
+ display: table-row;
246
+ }
247
+
248
+ .DayPicker-Day {
249
+ display: table-cell;
250
+
251
+ width: 40px;
252
+ height: 40px;
253
+ border-radius: 50%;
254
+ cursor: pointer;
255
+ text-align: center;
256
+ vertical-align: middle;
257
+ }
258
+
259
+ .DayPicker-WeekNumber {
260
+ display: table-cell;
261
+ min-width: 1em;
262
+ padding: 0.5em;
263
+ border-right: 1px solid #eaecec;
264
+ color: #8b9898;
265
+ cursor: pointer;
266
+ font-size: 0.75em;
267
+ text-align: right;
268
+ vertical-align: middle;
269
+ }
270
+
271
+ .DayPicker--interactionDisabled .DayPicker-Day {
272
+ cursor: default;
273
+ }
274
+
275
+ .DayPicker-Footer {
276
+ padding-top: 0.5em;
277
+ }
278
+
279
+ .DayPicker-TodayButton {
280
+ border: none;
281
+ background-color: transparent;
282
+ background-image: none;
283
+ box-shadow: none;
284
+ color: #4a90e2;
285
+ cursor: pointer;
286
+ font-size: 0.875em;
287
+ }
288
+
289
+ /* Default modifiers */
290
+
291
+ .DayPicker-Day--today {
292
+ color: #d0021b;
293
+ font-weight: 700;
294
+ }
295
+
296
+ .DayPicker-Day--outside {
297
+ color: #8b9898;
298
+ cursor: default;
299
+ }
300
+
301
+ .DayPicker-Day--disabled {
302
+ color: #dce0e0;
303
+ cursor: default;
304
+ /* background-color: #eff1f1; */
305
+ }
306
+
307
+ /* Example modifiers */
308
+
309
+ .DayPicker-Day--sunday {
310
+ background-color: #f7f8f8;
311
+ }
312
+
313
+ .DayPicker-Day--sunday:not(.DayPicker-Day--today) {
314
+ color: #dce0e0;
315
+ }
316
+
317
+ .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(
318
+ .DayPicker-Day--outside
319
+ ) {
320
+ position: relative;
321
+
322
+ background-color: ${d.colors.primaryBase};
323
+ color: #f0f8ff;
324
+ font-weight: ${d.sizes.fwBold};
325
+ }
326
+
327
+ .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(
328
+ .DayPicker-Day--outside
329
+ ):hover {
330
+ background-color: #51a0fa;
331
+ }
332
+
333
+ .DayPicker:not(.DayPicker--interactionDisabled)
334
+ .DayPicker-Day:not(.DayPicker-Day--disabled):not(
335
+ .DayPicker-Day--selected
336
+ ):not(.DayPicker-Day--outside):hover {
337
+ background-color: #f0f8ff;
338
+ }
339
+
340
+ /* DayPickerInput */
341
+
342
+ .DayPickerInput {
343
+ display: inline-block;
344
+ }
345
+
346
+ .DayPickerInput-OverlayWrapper {
347
+ position: relative;
348
+ }
349
+
350
+ .DayPickerInput-Overlay {
351
+ position: absolute;
352
+ z-index: 1;
353
+ left: 0;
354
+
355
+ background: white;
356
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
357
+ }
358
+ `,g=s.form`
359
+ display: flex;
360
+ width: 100%;
361
+
362
+ height: 46px;
363
+ align-items: center;
364
+ justify-content: space-between;
365
+ & > :first-child {
366
+ margin-right: 10px;
367
+ }
368
+
369
+ & * {
370
+ height: 46px;
371
+ padding: 10px 10px;
372
+ background: ${d.colors.neutral100};
373
+ border-radius: ${d.borderRadius};
374
+ }
375
+ `,k=({alignRight:i=!0,placeholder:o,displayDateFormat:s,onChange:d,customInput:l,pickedDate:p,className:k,isStatic:m,disabledDays:h,modifiers:b,UnHideOnClickOutside:D,initialMonth:x,locale:f="en-PH"})=>{const v=a(!1),w=n,[P,_]=r(x||new Date),E=a(null),C=a(null),M=y[f],O=e=>{D||E.current&&E.current.contains(e.target)||C.current&&C.current.hideDayPicker()},N=(new Date).getFullYear(),T=new Date(N-150,0),B=new Date(N+1,0),W=({date:a,onChange:r,monthLabels:t})=>{const i=[];for(let e=B.getFullYear();e>=T.getFullYear();e-=1)i.push(e);const o=function(e){const{year:a,month:t}=e.target.form;r(new Date(a.value,t.value))};return e.createElement("div",{className:"DayPicker-Caption"},e.createElement(g,null,e.createElement("select",{name:"month",onChange:o,value:a.getMonth()},t.map(((a,r)=>e.createElement("option",{key:a,value:r},a)))),e.createElement("select",{name:"year",onChange:o,value:a.getFullYear()},i.map((a=>e.createElement("option",{key:a,value:a},a))))))};return t((()=>(document.addEventListener("mousedown",O,{passive:!0}),()=>{document.removeEventListener("mousedown",O,!1)})),[]),e.createElement(u,{className:k,"data-align-right":i,ref:E,"data-is-static":m||void 0},e.createElement(c,{ref:C,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:l&&e.forwardRef(((a,r)=>e.createElement(l,Object.assign({},a)))),onDayPickerHide:()=>{v.current=!1},onDayPickerShow:()=>{v.current=!0},dayPickerProps:{month:P,className:"picker",selectedDays:p,canChangeMonth:!0,enableOutsideDaysClick:!m,firstDayOfWeek:1,captionElement:({date:a,localeUtils:r})=>{const t=null==r?void 0:r.getMonths();return e.createElement(W,{date:a,monthLabels:M||t,onChange:_})},disabledDays:h||void 0,modifiers:b},format:s||"yyyy-MM-dd",formatDate:(e,a)=>w(e,a),hideOnDayClick:!m,placeholder:o||"",onDayChange:e=>{var a;a=e,C.current&&!m&&C.current.hideDayPicker(),d&&d(a)},showOverlay:m}))};export{k as D,p as L};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-c43c14a5.js";import t from"react";import{Image as o}from"@mantine/core";import{DatePickerInput as r}from"@mantine/dates";import{I as s}from"./index-fcb7c05d.js";import{L as i}from"./Subot-3d309d90.js";import{C as a}from"./index-9b020630.js";import{M as n}from"./index-924d8b45.js";const l=l=>{var m,{value:c,fullWidth:d=!0}=l,p=e(l,["value","fullWidth"]);return t.createElement(r,Object.assign({locale:n[process.env.UNIFY_LOCALE||i.Vietnam],valueFormat:null===(m=s[process.env.UNIFY_LOCALE||i.Vietnam])||void 0===m?void 0:m.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:t.createElement(o,{src:a.getAssetPath(p.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},p,{className:`input-control ${(null==p?void 0:p.className)||""}`}))};export{l as D};
@@ -0,0 +1 @@
1
+ import e from"react";import{B as t}from"./index-1fce73b8.js";import{C as a}from"./index-a6ddd645.js";import l from"dayjs";import{d as n}from"./index-fcb7c05d.js";import{t as o}from"./theme-0d3c8845.js";import"./index-924d8b45.js";import{Flex as i,Stack as r,Box as c}from"@mantine/core";import"@mantine/dates";import"./Subot-3d309d90.js";import"./index-9b020630.js";import{T as m}from"./index-b51813fe.js";import{u as s}from"./useTranslations-49e0430f.js";import"@mantine/hooks";import{L as d}from"./index-72664e72.js";import{M as v}from"./index-7b4c9ffd.js";import"./translationsContext-ee7ec6eb.js";import"string-format";var u="Lj0qoTD",E="OO-qFWT";const g=({url:t,isMobile:a,dataEventCategory:l,dataEventAction:n,dataEventLabel:o})=>e.createElement("div",{className:E,"data-is-mobile":a},e.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o})),p=({className:i,type:r="main",footerInfo:c,isMobile:d,locale:v})=>{var E,p,y,f,b,N,h,k,F,$,z,T,x,M,C,L,_,j,S,w,H,I,A,B,G,D,q,U;const{t:J}=s(),K=null==c?void 0:c.menu,O=(null===(p=null===(E=null==c?void 0:c.general)||void 0===E?void 0:E.verified)||void 0===p?void 0:p.filter(Boolean))||[];return e.createElement("footer",{className:`${u} ${i||""}`,style:"mini"===r?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":r},"main"===r?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==c?void 0:c.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===v})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(m,{size:"p1",weight:"bold"},null===(f=null==c?void 0:c.general)||void 0===f?void 0:f.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},J("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(m,{size:"sm"},null===(b=null==c?void 0:c.social)||void 0===b?void 0:b.title),e.createElement("div",{className:"icons"},null===(h=null===(N=null==c?void 0:c.social)||void 0===N?void 0:N.socials)||void 0===h?void 0:h.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,K&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(F=null===(k=K[0])||void 0===k?void 0:k.items)||void 0===F?void 0:F.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"bigLink",key:a,href:t.url},t.title)))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===($=K[1])||void 0===$?void 0:$.menu_title),null===(T=null===(z=K[1])||void 0===z?void 0:z.items)||void 0===T?void 0:T.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"link",href:t.url,key:a},e.createElement(m,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(x=K[2])||void 0===x?void 0:x.menu_title),null===(C=null===(M=K[2])||void 0===M?void 0:M.items)||void 0===C?void 0:C.map(((t,a)=>t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(m,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title)))))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(L=null==c?void 0:c.branch)||void 0===L?void 0:L.title),e.createElement("div",{className:"flags"},null===(j=null===(_=null==c?void 0:c.branch)||void 0===_?void 0:_.branch)||void 0===j?void 0:j.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(g,{url:t.flag,isMobile:d,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url})))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright"},e.createElement("div",{className:"copyright-image-wrapper"},O.length?O.map(((t,a)=>e.createElement("a",{href:t.url,key:a,className:"copyright-image"},e.createElement("img",{loading:"lazy",src:t.image,alt:"DMCA Icon"})))):null),e.createElement(m,{size:"xs",className:"copyright-content",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null===(S=null==c?void 0:c.general)||void 0===S?void 0:S.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})))):e.createElement(e.Fragment,null,(null==c?void 0:c.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(w=null==c?void 0:c.menu[1])||void 0===w?void 0:w.menu_title),null===(I=null===(H=null==c?void 0:c.menu[1])||void 0===H?void 0:H.items)||void 0===I?void 0:I.map((t=>e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":`https://${n[v]}${t.url}`,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`},e.createElement(m,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`,size:"sm",style:{color:o.colors.gray800}},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(A=null==c?void 0:c.menu[2])||void 0===A?void 0:A.menu_title),null===(G=null===(B=null==c?void 0:c.menu[2])||void 0===B?void 0:B.items)||void 0===G?void 0:G.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(m,{size:"sm",color:o.colors.gray800,dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))))),"mini"!==r&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(m,{size:"sm"},null===(D=null==c?void 0:c.social)||void 0===D?void 0:D.title),e.createElement("div",{className:"icons"},null===(U=null===(q=null==c?void 0:c.social)||void 0===q?void 0:q.socials)||void 0===U?void 0:U.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var y="B6-KmWK",f="GS-7mbG",b="qc5bEb3",N="CQGVeuT",h="_8eUT8Jr",k="_6JMoel-",F="pFG7UH3";const $=({logoType:t="marryBaby",footerMenu:n,background:s})=>{var u;if(!n)return null;const{general:E,menu:g,socials:p}=n;return e.createElement("footer",{className:y,style:{backgroundColor:s||"none"}},e.createElement(a,null,e.createElement("div",{className:f},null==g?void 0:g.map((({menu_title:t,items:a},l)=>e.createElement("div",{className:b,key:`mbf${l}`},e.createElement(v,{className:"title",type:"subtitle-1",color:o.mbColors.pink},t),null==a?void 0:a.map((({title:t,url:a},l)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${a}`,className:"link",href:a,key:`footer-links-${l}`},e.createElement("div",{className:N,key:`mbitem${l}`},e.createElement(v,{type:"bodytext-2",color:o.mbColors.gray},t)))))))))),e.createElement(a,null,e.createElement("div",{className:k},e.createElement(i,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},e.createElement(r,{spacing:"24px",className:"info-item"},e.createElement(d,{className:"logo",type:t}),e.createElement(m,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.content}})),e.createElement("div",{className:F},null==p?void 0:p.map((({icon:t,name:a,url:l},n)=>e.createElement("a",{key:`social${n}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${a}`,"data-content-label":a,href:l},e.createElement("img",{className:"social-logo",loading:"lazy",src:t,alt:a})))))),e.createElement(c,{className:"info-item",sx:{paddingTop:"7px"}},e.createElement(m,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.information}})))))),e.createElement("div",{className:h},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(m,{size:"p5",color:"#fff",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})),e.createElement("div",{className:"verify"},null===(u=null==E?void 0:E.verified)||void 0===u?void 0:u.map((({image:t,url:a},l)=>e.createElement("img",{loading:"lazy",key:`imgMbFt${l}`,src:t,alt:a}))))))))},z=({type:t,isMobile:a=!0,locale:l,footerInfo:n,siteType:o,background:i})=>"helloSites"===o?e.createElement(p,{isMobile:a,type:t,locale:l,footerInfo:n||{}}):e.createElement($,{footerMenu:n,background:i});export{z as F};