@hhgtech/hhg-components 1.27.63 → 1.27.65-beta-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (483) hide show
  1. package/build/babyGrowth.js +24 -24
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components/atoms/flag/index.d.ts +2 -1
  5. package/build/components/atoms/index.d.ts +0 -2
  6. package/build/components/mantine/phone/index.helpers.d.ts +0 -2
  7. package/build/components.js +1 -1
  8. package/build/constants.js +1 -1
  9. package/build/{core-3c2534b4.js → core-c6e46663.js} +1 -1
  10. package/build/{dataTransform-34c3a610.js → dataTransform-9659e9f8.js} +1 -1
  11. package/build/ecom.js +1 -1
  12. package/build/esm/babyGrowth.js +24 -24
  13. package/build/esm/cache.js +1 -1
  14. package/build/esm/care.js +1 -1
  15. package/build/esm/components/atoms/flag/index.d.ts +2 -1
  16. package/build/esm/components/atoms/index.d.ts +0 -2
  17. package/build/esm/components/mantine/phone/index.helpers.d.ts +0 -2
  18. package/build/esm/components.js +1 -1
  19. package/build/esm/constants.js +1 -1
  20. package/build/esm/{core-fb32fa44.js → core-435a9757.js} +1 -1
  21. package/build/esm/{dataTransform-7728edfe.js → dataTransform-1efe87c7.js} +1 -1
  22. package/build/esm/ecom.js +1 -1
  23. package/build/esm/fixedBottomAdBlock-67036e03.js +1 -0
  24. package/build/esm/footer.js +1 -1
  25. package/build/esm/gAssets.js +1 -1
  26. package/build/esm/getDynamicHealthTool-8bbcfc64.js +1 -0
  27. package/build/esm/{getSocialList-62ecf673.js → getSocialList-13616a3f.js} +1 -1
  28. package/build/esm/hooks.js +1 -1
  29. package/build/esm/i18n.js +1 -1
  30. package/build/esm/i18nV2.js +1 -1
  31. package/build/esm/icons/index.d.ts +1 -10
  32. package/build/esm/{index-6bf23069.js → index-05df5c39.js} +1 -1
  33. package/build/esm/index-115c9957.js +7 -0
  34. package/build/esm/index-4ea72ac1.js +1 -0
  35. package/build/esm/{index-58f1c04c.js → index-568344cb.js} +165 -165
  36. package/build/esm/index-77de871e.js +112 -0
  37. package/build/esm/index-7d206d36.js +1 -0
  38. package/build/esm/index-80c08ea3.js +1 -0
  39. package/build/esm/{index-f23d2ac2.js → index-8e70c931.js} +1 -1
  40. package/build/esm/index-911f99d1.js +1 -0
  41. package/build/esm/index-9496ba09.js +1 -0
  42. package/build/esm/{index-bc49d8ed.js → index-9f08feee.js} +2 -2
  43. package/build/esm/index-a201656a.js +1 -0
  44. package/build/esm/index-a46aad44.js +177 -0
  45. package/build/esm/{index-1e0399b8.js → index-a6fd1083.js} +1 -1
  46. package/build/esm/{index-f3cb6311.js → index-b3e93f2e.js} +1 -1
  47. package/build/esm/{index-b3ca9aee.js → index-b8c74aae.js} +1 -1
  48. package/build/esm/index-bcd8093a.js +1 -0
  49. package/build/esm/{index-ae97141b.js → index-cfa3922a.js} +1 -1
  50. package/build/esm/index-d1d42d5e.js +93 -0
  51. package/build/esm/index-d1da6c31.js +1 -0
  52. package/build/esm/index-d2d90c6e.js +1 -0
  53. package/build/esm/{index-14497882.js → index-e57de2a9.js} +1 -1
  54. package/build/esm/index-e5ef589f.js +1 -0
  55. package/build/esm/{index-e05f213d.js → index-ebb5427c.js} +1 -1
  56. package/build/esm/{index-5bfac6f6.js → index-f18f86bb.js} +1 -1
  57. package/build/esm/index.css +1 -1
  58. package/build/esm/index.js +1 -1
  59. package/build/esm/index.styled-05ef0d58.js +69 -0
  60. package/build/esm/{index.styled-5622019d.js → index.styled-21e0ebce.js} +1 -1
  61. package/build/esm/{index.styled-ece06d74.js → index.styled-c2900e76.js} +14 -14
  62. package/build/esm/{index.styled-83a48076.js → index.styled-d6e645cb.js} +5 -5
  63. package/build/esm/lead.js +1 -1
  64. package/build/esm/mantine.js +1 -1
  65. package/build/esm/misc.js +1 -1
  66. package/build/esm/navigation.js +1 -1
  67. package/build/esm/onboarding.js +1 -1
  68. package/build/esm/onboardingV2.js +30 -30
  69. package/build/esm/pwg.js +3 -3
  70. package/build/esm/{routing-55df71ec.js → routing-dac302ab.js} +1 -1
  71. package/build/esm/{screenSizeContext-73847cbc.js → screenSizeContext-1f204ab9.js} +3 -3
  72. package/build/esm/together.js +1 -1
  73. package/build/esm/{types-993fae95.js → types-3764896b.js} +38 -38
  74. package/build/esm/types-c22068f7.js +3078 -0
  75. package/build/esm/types.js +1 -1
  76. package/build/esm/useHealthToolCache-92db8113.js +1 -0
  77. package/build/esm/{useRafState-ef4c640a.js → useRafState-34b01d31.js} +1 -1
  78. package/build/esm/useTranslations-3663beec.js +1 -0
  79. package/build/esm/utils-bfbc2fde.js +1007 -0
  80. package/build/esm/{utils-2f67c22e.js → utils-ee4ad902.js} +1 -1
  81. package/build/esm/vaccination.js +49 -49
  82. package/build/fixedBottomAdBlock-f65d2d6f.js +1 -0
  83. package/build/footer.js +1 -1
  84. package/build/gAssets.js +1 -1
  85. package/build/{getDynamicHealthTool-79c02fde.js → getDynamicHealthTool-87429707.js} +1 -1
  86. package/build/{getSocialList-36e95a94.js → getSocialList-a16b5091.js} +1 -1
  87. package/build/hooks.js +1 -1
  88. package/build/i18n.js +1 -1
  89. package/build/i18nV2.js +1 -1
  90. package/build/icons/index.d.ts +1 -10
  91. package/build/index-0811c4a8.js +1 -0
  92. package/build/{index-a3975029.js → index-0c92b23e.js} +1 -1
  93. package/build/{index-975e823d.js → index-112eba4d.js} +1 -1
  94. package/build/{index-f0786bb6.js → index-18a28fa0.js} +180 -180
  95. package/build/index-2284659e.js +112 -0
  96. package/build/index-2c8f09b3.js +1 -0
  97. package/build/index-30a1618d.js +1 -0
  98. package/build/index-32b93b37.js +1 -0
  99. package/build/{index-da8873b6.js → index-3862d2a0.js} +1 -1
  100. package/build/{index-223774a0.js → index-3a7fa03d.js} +1 -1
  101. package/build/index-3b22c77d.js +1 -0
  102. package/build/index-3ba8b7f8.js +177 -0
  103. package/build/{index-7a000b10.js → index-5eb6c558.js} +1 -1
  104. package/build/{index-82e3c7ee.js → index-71d5f659.js} +1 -1
  105. package/build/index-7ee8b163.js +7 -0
  106. package/build/{index-2002abf1.js → index-80c3a79d.js} +1 -1
  107. package/build/{index-0907febb.js → index-8446893a.js} +1 -1
  108. package/build/{index-79d40f6b.js → index-8c90469b.js} +1 -1
  109. package/build/index-90b2b2ab.js +93 -0
  110. package/build/index-936be83a.js +1 -0
  111. package/build/{index-dc95faf3.js → index-9992e091.js} +1 -1
  112. package/build/{index-90e7d1fb.js → index-d1654e2b.js} +1 -1
  113. package/build/index-d7f87c6e.js +1 -0
  114. package/build/index-f9114392.js +53 -0
  115. package/build/index-f9afaa93.js +1 -0
  116. package/build/index.css +1 -1
  117. package/build/index.js +1 -1
  118. package/build/index.styled-3d922e82.js +50 -0
  119. package/build/{index.styled-e6c5ca10.js → index.styled-864b18ab.js} +1 -1
  120. package/build/{index.styled-febe5640.js → index.styled-a4e578a2.js} +1 -1
  121. package/build/index.styled-fa1e62c2.js +69 -0
  122. package/build/lead.js +1 -1
  123. package/build/mantine.js +1 -1
  124. package/build/misc.js +1 -1
  125. package/build/navigation.js +1 -1
  126. package/build/onboarding.js +1 -1
  127. package/build/onboardingV2.js +16 -16
  128. package/build/pwg.js +3 -3
  129. package/build/{routing-b3267f9f.js → routing-70ed84c4.js} +1 -1
  130. package/build/{screenSizeContext-f4df1525.js → screenSizeContext-ce407dc9.js} +3 -3
  131. package/build/together.js +1 -1
  132. package/build/{types-1a74fcda.js → types-75a7fca6.js} +8 -8
  133. package/build/{types-edc9df3a.js → types-cb33f5dd.js} +129 -129
  134. package/build/types.js +1 -1
  135. package/build/useHealthToolCache-aeecad76.js +1 -0
  136. package/build/{useRafState-a4d233e3.js → useRafState-c7d9ba80.js} +1 -1
  137. package/build/{useTranslations-9dd72b67.js → useTranslations-587f52f7.js} +1 -1
  138. package/build/utils-3ef222b0.js +1 -0
  139. package/build/utils-ec4454fe.js +1007 -0
  140. package/build/vaccination.js +12 -12
  141. package/package.json +2 -1
  142. package/build/components/atoms/icons/ACharacter.d.ts +0 -4
  143. package/build/components/atoms/icons/Activities.d.ts +0 -4
  144. package/build/components/atoms/icons/ArrowDown.d.ts +0 -4
  145. package/build/components/atoms/icons/ArrowLeft.d.ts +0 -4
  146. package/build/components/atoms/icons/ArrowRight.d.ts +0 -4
  147. package/build/components/atoms/icons/Article.d.ts +0 -4
  148. package/build/components/atoms/icons/Ask.d.ts +0 -4
  149. package/build/components/atoms/icons/BabyBoyMB.d.ts +0 -4
  150. package/build/components/atoms/icons/BabyGirlMB.d.ts +0 -4
  151. package/build/components/atoms/icons/BarChart.d.ts +0 -4
  152. package/build/components/atoms/icons/Booking.d.ts +0 -4
  153. package/build/components/atoms/icons/Bookmark.d.ts +0 -4
  154. package/build/components/atoms/icons/Boy.d.ts +0 -4
  155. package/build/components/atoms/icons/Business.d.ts +0 -4
  156. package/build/components/atoms/icons/Calendar.d.ts +0 -4
  157. package/build/components/atoms/icons/CalendarMB.d.ts +0 -4
  158. package/build/components/atoms/icons/CameraCircle.d.ts +0 -4
  159. package/build/components/atoms/icons/Chat.d.ts +0 -4
  160. package/build/components/atoms/icons/Check.d.ts +0 -4
  161. package/build/components/atoms/icons/CheckActiveMB.d.ts +0 -4
  162. package/build/components/atoms/icons/CircleBorder.d.ts +0 -4
  163. package/build/components/atoms/icons/Clickable.d.ts +0 -4
  164. package/build/components/atoms/icons/ClinicPin.d.ts +0 -4
  165. package/build/components/atoms/icons/Close.d.ts +0 -4
  166. package/build/components/atoms/icons/Comment.d.ts +0 -4
  167. package/build/components/atoms/icons/Community.d.ts +0 -4
  168. package/build/components/atoms/icons/CrossLogo.d.ts +0 -4
  169. package/build/components/atoms/icons/Current.d.ts +0 -4
  170. package/build/components/atoms/icons/EditSpecial.d.ts +0 -4
  171. package/build/components/atoms/icons/Endorse.d.ts +0 -4
  172. package/build/components/atoms/icons/Envelop.d.ts +0 -4
  173. package/build/components/atoms/icons/Family.d.ts +0 -4
  174. package/build/components/atoms/icons/Font.d.ts +0 -4
  175. package/build/components/atoms/icons/FullScreen.d.ts +0 -4
  176. package/build/components/atoms/icons/GenderBoy.d.ts +0 -4
  177. package/build/components/atoms/icons/GenderChooseBoy.d.ts +0 -4
  178. package/build/components/atoms/icons/GenderChooseGirl.d.ts +0 -4
  179. package/build/components/atoms/icons/GenderGirl.d.ts +0 -4
  180. package/build/components/atoms/icons/Girl.d.ts +0 -4
  181. package/build/components/atoms/icons/GroupPeople.d.ts +0 -4
  182. package/build/components/atoms/icons/GroupPeopleSolid.d.ts +0 -4
  183. package/build/components/atoms/icons/Heart.d.ts +0 -4
  184. package/build/components/atoms/icons/Home.d.ts +0 -4
  185. package/build/components/atoms/icons/Hospital.d.ts +0 -4
  186. package/build/components/atoms/icons/Info.d.ts +0 -4
  187. package/build/components/atoms/icons/Kebab.d.ts +0 -4
  188. package/build/components/atoms/icons/Like.d.ts +0 -4
  189. package/build/components/atoms/icons/Link.d.ts +0 -4
  190. package/build/components/atoms/icons/Minus.d.ts +0 -4
  191. package/build/components/atoms/icons/Missed.d.ts +0 -4
  192. package/build/components/atoms/icons/MyCommunity.d.ts +0 -4
  193. package/build/components/atoms/icons/MyHealth.d.ts +0 -4
  194. package/build/components/atoms/icons/Oppose.d.ts +0 -4
  195. package/build/components/atoms/icons/Parents.d.ts +0 -4
  196. package/build/components/atoms/icons/Plus.d.ts +0 -5
  197. package/build/components/atoms/icons/PlusSpecial.d.ts +0 -4
  198. package/build/components/atoms/icons/Post.d.ts +0 -4
  199. package/build/components/atoms/icons/Recalculate.d.ts +0 -4
  200. package/build/components/atoms/icons/Reply.d.ts +0 -4
  201. package/build/components/atoms/icons/Scale.d.ts +0 -4
  202. package/build/components/atoms/icons/Screener.d.ts +0 -4
  203. package/build/components/atoms/icons/Share.d.ts +0 -4
  204. package/build/components/atoms/icons/ShieldCheck.d.ts +0 -4
  205. package/build/components/atoms/icons/Smile.d.ts +0 -4
  206. package/build/components/atoms/icons/Sparkle.d.ts +0 -4
  207. package/build/components/atoms/icons/Star.d.ts +0 -4
  208. package/build/components/atoms/icons/Stethoscope.d.ts +0 -4
  209. package/build/components/atoms/icons/StethoscopeActive.d.ts +0 -4
  210. package/build/components/atoms/icons/ToggleOff.d.ts +0 -4
  211. package/build/components/atoms/icons/ToggleOn.d.ts +0 -4
  212. package/build/components/atoms/icons/Trash.d.ts +0 -4
  213. package/build/components/atoms/icons/Upcoming.d.ts +0 -4
  214. package/build/components/atoms/icons/User.d.ts +0 -4
  215. package/build/components/atoms/icons/UserCheck.d.ts +0 -4
  216. package/build/components/atoms/icons/Vaccinated.d.ts +0 -4
  217. package/build/components/atoms/icons/Video.d.ts +0 -4
  218. package/build/components/atoms/icons/VideoCall.d.ts +0 -4
  219. package/build/components/atoms/icons/Woman.d.ts +0 -4
  220. package/build/components/atoms/icons/index.d.ts +0 -70
  221. package/build/esm/components/atoms/icons/ACharacter.d.ts +0 -4
  222. package/build/esm/components/atoms/icons/Activities.d.ts +0 -4
  223. package/build/esm/components/atoms/icons/ArrowDown.d.ts +0 -4
  224. package/build/esm/components/atoms/icons/ArrowLeft.d.ts +0 -4
  225. package/build/esm/components/atoms/icons/ArrowRight.d.ts +0 -4
  226. package/build/esm/components/atoms/icons/Article.d.ts +0 -4
  227. package/build/esm/components/atoms/icons/Ask.d.ts +0 -4
  228. package/build/esm/components/atoms/icons/BabyBoyMB.d.ts +0 -4
  229. package/build/esm/components/atoms/icons/BabyGirlMB.d.ts +0 -4
  230. package/build/esm/components/atoms/icons/BarChart.d.ts +0 -4
  231. package/build/esm/components/atoms/icons/Booking.d.ts +0 -4
  232. package/build/esm/components/atoms/icons/Bookmark.d.ts +0 -4
  233. package/build/esm/components/atoms/icons/Boy.d.ts +0 -4
  234. package/build/esm/components/atoms/icons/Business.d.ts +0 -4
  235. package/build/esm/components/atoms/icons/Calendar.d.ts +0 -4
  236. package/build/esm/components/atoms/icons/CalendarMB.d.ts +0 -4
  237. package/build/esm/components/atoms/icons/CameraCircle.d.ts +0 -4
  238. package/build/esm/components/atoms/icons/Chat.d.ts +0 -4
  239. package/build/esm/components/atoms/icons/Check.d.ts +0 -4
  240. package/build/esm/components/atoms/icons/CheckActiveMB.d.ts +0 -4
  241. package/build/esm/components/atoms/icons/CircleBorder.d.ts +0 -4
  242. package/build/esm/components/atoms/icons/Clickable.d.ts +0 -4
  243. package/build/esm/components/atoms/icons/ClinicPin.d.ts +0 -4
  244. package/build/esm/components/atoms/icons/Close.d.ts +0 -4
  245. package/build/esm/components/atoms/icons/Comment.d.ts +0 -4
  246. package/build/esm/components/atoms/icons/Community.d.ts +0 -4
  247. package/build/esm/components/atoms/icons/CrossLogo.d.ts +0 -4
  248. package/build/esm/components/atoms/icons/Current.d.ts +0 -4
  249. package/build/esm/components/atoms/icons/EditSpecial.d.ts +0 -4
  250. package/build/esm/components/atoms/icons/Endorse.d.ts +0 -4
  251. package/build/esm/components/atoms/icons/Envelop.d.ts +0 -4
  252. package/build/esm/components/atoms/icons/Family.d.ts +0 -4
  253. package/build/esm/components/atoms/icons/Font.d.ts +0 -4
  254. package/build/esm/components/atoms/icons/FullScreen.d.ts +0 -4
  255. package/build/esm/components/atoms/icons/GenderBoy.d.ts +0 -4
  256. package/build/esm/components/atoms/icons/GenderChooseBoy.d.ts +0 -4
  257. package/build/esm/components/atoms/icons/GenderChooseGirl.d.ts +0 -4
  258. package/build/esm/components/atoms/icons/GenderGirl.d.ts +0 -4
  259. package/build/esm/components/atoms/icons/Girl.d.ts +0 -4
  260. package/build/esm/components/atoms/icons/GroupPeople.d.ts +0 -4
  261. package/build/esm/components/atoms/icons/GroupPeopleSolid.d.ts +0 -4
  262. package/build/esm/components/atoms/icons/Heart.d.ts +0 -4
  263. package/build/esm/components/atoms/icons/Home.d.ts +0 -4
  264. package/build/esm/components/atoms/icons/Hospital.d.ts +0 -4
  265. package/build/esm/components/atoms/icons/Info.d.ts +0 -4
  266. package/build/esm/components/atoms/icons/Kebab.d.ts +0 -4
  267. package/build/esm/components/atoms/icons/Like.d.ts +0 -4
  268. package/build/esm/components/atoms/icons/Link.d.ts +0 -4
  269. package/build/esm/components/atoms/icons/Minus.d.ts +0 -4
  270. package/build/esm/components/atoms/icons/Missed.d.ts +0 -4
  271. package/build/esm/components/atoms/icons/MyCommunity.d.ts +0 -4
  272. package/build/esm/components/atoms/icons/MyHealth.d.ts +0 -4
  273. package/build/esm/components/atoms/icons/Oppose.d.ts +0 -4
  274. package/build/esm/components/atoms/icons/Parents.d.ts +0 -4
  275. package/build/esm/components/atoms/icons/Plus.d.ts +0 -5
  276. package/build/esm/components/atoms/icons/PlusSpecial.d.ts +0 -4
  277. package/build/esm/components/atoms/icons/Post.d.ts +0 -4
  278. package/build/esm/components/atoms/icons/Recalculate.d.ts +0 -4
  279. package/build/esm/components/atoms/icons/Reply.d.ts +0 -4
  280. package/build/esm/components/atoms/icons/Scale.d.ts +0 -4
  281. package/build/esm/components/atoms/icons/Screener.d.ts +0 -4
  282. package/build/esm/components/atoms/icons/Share.d.ts +0 -4
  283. package/build/esm/components/atoms/icons/ShieldCheck.d.ts +0 -4
  284. package/build/esm/components/atoms/icons/Smile.d.ts +0 -4
  285. package/build/esm/components/atoms/icons/Sparkle.d.ts +0 -4
  286. package/build/esm/components/atoms/icons/Star.d.ts +0 -4
  287. package/build/esm/components/atoms/icons/Stethoscope.d.ts +0 -4
  288. package/build/esm/components/atoms/icons/StethoscopeActive.d.ts +0 -4
  289. package/build/esm/components/atoms/icons/ToggleOff.d.ts +0 -4
  290. package/build/esm/components/atoms/icons/ToggleOn.d.ts +0 -4
  291. package/build/esm/components/atoms/icons/Trash.d.ts +0 -4
  292. package/build/esm/components/atoms/icons/Upcoming.d.ts +0 -4
  293. package/build/esm/components/atoms/icons/User.d.ts +0 -4
  294. package/build/esm/components/atoms/icons/UserCheck.d.ts +0 -4
  295. package/build/esm/components/atoms/icons/Vaccinated.d.ts +0 -4
  296. package/build/esm/components/atoms/icons/Video.d.ts +0 -4
  297. package/build/esm/components/atoms/icons/VideoCall.d.ts +0 -4
  298. package/build/esm/components/atoms/icons/Woman.d.ts +0 -4
  299. package/build/esm/components/atoms/icons/index.d.ts +0 -70
  300. package/build/esm/fixedBottomAdBlock-0f7402ad.js +0 -1
  301. package/build/esm/getDynamicHealthTool-278c363e.js +0 -1
  302. package/build/esm/icons/Cambodia.d.ts +0 -4
  303. package/build/esm/icons/India.d.ts +0 -4
  304. package/build/esm/icons/Indonesia.d.ts +0 -4
  305. package/build/esm/icons/Malaysia.d.ts +0 -4
  306. package/build/esm/icons/Myanmar.d.ts +0 -4
  307. package/build/esm/icons/Phillipines.d.ts +0 -4
  308. package/build/esm/icons/Taiwan.d.ts +0 -4
  309. package/build/esm/icons/Thailand.d.ts +0 -4
  310. package/build/esm/icons/Vietnam.d.ts +0 -4
  311. package/build/esm/index-159eb35a.js +0 -1
  312. package/build/esm/index-34ccbed3.js +0 -1
  313. package/build/esm/index-65f9a5d1.js +0 -1
  314. package/build/esm/index-73a035be.js +0 -1
  315. package/build/esm/index-755fcc76.js +0 -75
  316. package/build/esm/index-be00d57f.js +0 -1
  317. package/build/esm/index-be7f337b.js +0 -1
  318. package/build/esm/index-bf3440a9.js +0 -1
  319. package/build/esm/index-c0310544.js +0 -1
  320. package/build/esm/index-c476cd5f.js +0 -1
  321. package/build/esm/index-d1fcb2f3.js +0 -177
  322. package/build/esm/types-2ddae413.js +0 -3078
  323. package/build/esm/useHealthToolCache-407fdaf8.js +0 -1
  324. package/build/esm/useTranslations-fc5ada3b.js +0 -1
  325. package/build/esm/utils-80b5125d.js +0 -1214
  326. package/build/fixedBottomAdBlock-ae45b6ce.js +0 -1
  327. package/build/icons/Cambodia.d.ts +0 -4
  328. package/build/icons/India.d.ts +0 -4
  329. package/build/icons/Indonesia.d.ts +0 -4
  330. package/build/icons/Malaysia.d.ts +0 -4
  331. package/build/icons/Myanmar.d.ts +0 -4
  332. package/build/icons/Phillipines.d.ts +0 -4
  333. package/build/icons/Taiwan.d.ts +0 -4
  334. package/build/icons/Thailand.d.ts +0 -4
  335. package/build/icons/Vietnam.d.ts +0 -4
  336. package/build/index-124d9ea4.js +0 -177
  337. package/build/index-2a187e8a.js +0 -1
  338. package/build/index-66525be3.js +0 -53
  339. package/build/index-851dc200.js +0 -1
  340. package/build/index-96cc1109.js +0 -1
  341. package/build/index-af139f2c.js +0 -75
  342. package/build/index-bbee939d.js +0 -1
  343. package/build/index-c3406e04.js +0 -1
  344. package/build/index-e607b764.js +0 -1
  345. package/build/index-f3cd3d0d.js +0 -1
  346. package/build/index.styled-0bda59df.js +0 -50
  347. package/build/useHealthToolCache-f0a1ce86.js +0 -1
  348. package/build/utils-4766eefa.js +0 -1214
  349. package/build/utils-4da1dcaa.js +0 -1
  350. /package/build/{BMI_BOYS.percentile.monthly-7edae6b0.js → BMI_BOYS.percentile.monthly-778fde94.js} +0 -0
  351. /package/build/{BMI_BOYS.percentile.weekly-a2f775b2.js → BMI_BOYS.percentile.weekly-11cf3b39.js} +0 -0
  352. /package/build/{BMI_BOYS.percentile.yearly-91cf3ea8.js → BMI_BOYS.percentile.yearly-edfd1b3a.js} +0 -0
  353. /package/build/{BMI_BOYS.zscore.monthly-762a118a.js → BMI_BOYS.zscore.monthly-80d858e4.js} +0 -0
  354. /package/build/{BMI_BOYS.zscore.weekly-020fd45f.js → BMI_BOYS.zscore.weekly-d11e3751.js} +0 -0
  355. /package/build/{BMI_BOYS.zscore.yearly-4ea4a49b.js → BMI_BOYS.zscore.yearly-6a236f02.js} +0 -0
  356. /package/build/{BMI_GIRLS.percentile.monthly-f59b7fec.js → BMI_GIRLS.percentile.monthly-d6ead9f6.js} +0 -0
  357. /package/build/{BMI_GIRLS.percentile.weekly-9e5c0638.js → BMI_GIRLS.percentile.weekly-b43a5429.js} +0 -0
  358. /package/build/{BMI_GIRLS.percentile.yearly-40763bf7.js → BMI_GIRLS.percentile.yearly-54c10be8.js} +0 -0
  359. /package/build/{BMI_GIRLS.zscore.monthly-3e29e614.js → BMI_GIRLS.zscore.monthly-84bf9392.js} +0 -0
  360. /package/build/{BMI_GIRLS.zscore.weekly-cec195f2.js → BMI_GIRLS.zscore.weekly-4a33ff93.js} +0 -0
  361. /package/build/{BMI_GIRLS.zscore.yearly-c9b7f8cd.js → BMI_GIRLS.zscore.yearly-ed8ad03b.js} +0 -0
  362. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4dbb11a5.js → HEAD CIRCUM_BOYS.percentile.monthly-6f25da7d.js} +0 -0
  363. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a6677734.js → HEAD CIRCUM_BOYS.percentile.weekly-c2621908.js} +0 -0
  364. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-55bcdc02.js → HEAD CIRCUM_BOYS.percentile.yearly-2a9f2e5f.js} +0 -0
  365. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-abb118d5.js → HEAD CIRCUM_BOYS.zscore.monthly-2e417311.js} +0 -0
  366. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-07205609.js → HEAD CIRCUM_BOYS.zscore.weekly-29aff10c.js} +0 -0
  367. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-8b55414d.js → HEAD CIRCUM_BOYS.zscore.yearly-70e90ac8.js} +0 -0
  368. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-24b19a96.js → HEAD CIRCUM_GIRLS.percentile.monthly-69cda97f.js} +0 -0
  369. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-0ec151cc.js → HEAD CIRCUM_GIRLS.percentile.weekly-a3b17ccb.js} +0 -0
  370. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-dffbcde2.js → HEAD CIRCUM_GIRLS.percentile.yearly-e6995daa.js} +0 -0
  371. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-e5eaa3fc.js → HEAD CIRCUM_GIRLS.zscore.monthly-58950baf.js} +0 -0
  372. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-8c79c5cc.js → HEAD CIRCUM_GIRLS.zscore.weekly-467571e1.js} +0 -0
  373. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-f9cbaac6.js → HEAD CIRCUM_GIRLS.zscore.yearly-3af77b90.js} +0 -0
  374. /package/build/{HEIGHT_BOYS.percentile.monthly-fc39af10.js → HEIGHT_BOYS.percentile.monthly-fac587d4.js} +0 -0
  375. /package/build/{HEIGHT_BOYS.percentile.weekly-8c94fb81.js → HEIGHT_BOYS.percentile.weekly-8bde9175.js} +0 -0
  376. /package/build/{HEIGHT_BOYS.percentile.yearly-67fda8a7.js → HEIGHT_BOYS.percentile.yearly-3e660390.js} +0 -0
  377. /package/build/{HEIGHT_BOYS.zscore.monthly-cb92918b.js → HEIGHT_BOYS.zscore.monthly-37b1007d.js} +0 -0
  378. /package/build/{HEIGHT_BOYS.zscore.weekly-ad926420.js → HEIGHT_BOYS.zscore.weekly-bf22b59c.js} +0 -0
  379. /package/build/{HEIGHT_BOYS.zscore.yearly-561a8d44.js → HEIGHT_BOYS.zscore.yearly-6a617b28.js} +0 -0
  380. /package/build/{HEIGHT_GIRLS.percentile.monthly-69dcd67a.js → HEIGHT_GIRLS.percentile.monthly-f0cca055.js} +0 -0
  381. /package/build/{HEIGHT_GIRLS.percentile.weekly-6e631303.js → HEIGHT_GIRLS.percentile.weekly-4eaacea1.js} +0 -0
  382. /package/build/{HEIGHT_GIRLS.percentile.yearly-f6aebf67.js → HEIGHT_GIRLS.percentile.yearly-33d578c4.js} +0 -0
  383. /package/build/{HEIGHT_GIRLS.zscore.monthly-7ed59e9a.js → HEIGHT_GIRLS.zscore.monthly-71afe3ef.js} +0 -0
  384. /package/build/{HEIGHT_GIRLS.zscore.weekly-b3aebd2f.js → HEIGHT_GIRLS.zscore.weekly-25e12fef.js} +0 -0
  385. /package/build/{HEIGHT_GIRLS.zscore.yearly-7a7725c6.js → HEIGHT_GIRLS.zscore.yearly-287b9195.js} +0 -0
  386. /package/build/{Onboarding-b1ce9fc5.js → Onboarding-e8480a3f.js} +0 -0
  387. /package/build/{Visible-8745c79f.js → Visible-b066c015.js} +0 -0
  388. /package/build/{WEIGHT_BOYS.percentile.monthly-b0bd06e4.js → WEIGHT_BOYS.percentile.monthly-ac2e7922.js} +0 -0
  389. /package/build/{WEIGHT_BOYS.percentile.weekly-68851dae.js → WEIGHT_BOYS.percentile.weekly-9ab08385.js} +0 -0
  390. /package/build/{WEIGHT_BOYS.percentile.yearly-e7a67889.js → WEIGHT_BOYS.percentile.yearly-fb032b2f.js} +0 -0
  391. /package/build/{WEIGHT_BOYS.zscore.monthly-6d49c7c5.js → WEIGHT_BOYS.zscore.monthly-92c5185a.js} +0 -0
  392. /package/build/{WEIGHT_BOYS.zscore.weekly-122f4e5b.js → WEIGHT_BOYS.zscore.weekly-91275afb.js} +0 -0
  393. /package/build/{WEIGHT_BOYS.zscore.yearly-41e6a005.js → WEIGHT_BOYS.zscore.yearly-14c29c29.js} +0 -0
  394. /package/build/{WEIGHT_GIRLS.percentile.monthly-6cb2e977.js → WEIGHT_GIRLS.percentile.monthly-e79e5744.js} +0 -0
  395. /package/build/{WEIGHT_GIRLS.percentile.weekly-dae606cb.js → WEIGHT_GIRLS.percentile.weekly-6dcc9880.js} +0 -0
  396. /package/build/{WEIGHT_GIRLS.percentile.yearly-c60fd86c.js → WEIGHT_GIRLS.percentile.yearly-be81aae5.js} +0 -0
  397. /package/build/{WEIGHT_GIRLS.zscore.monthly-c64b34bb.js → WEIGHT_GIRLS.zscore.monthly-41be0f6e.js} +0 -0
  398. /package/build/{WEIGHT_GIRLS.zscore.weekly-6098ff7d.js → WEIGHT_GIRLS.zscore.weekly-f91998af.js} +0 -0
  399. /package/build/{WEIGHT_GIRLS.zscore.yearly-e919f873.js → WEIGHT_GIRLS.zscore.yearly-eee34a18.js} +0 -0
  400. /package/build/{constants-ca2e8ac5.js → constants-d54bff11.js} +0 -0
  401. /package/build/{cookieHelper-c6ee4930.js → cookieHelper-4c28f684.js} +0 -0
  402. /package/build/{dataTransform-4352b00a.js → dataTransform-8e65f0ae.js} +0 -0
  403. /package/build/esm/{BMI_BOYS.percentile.monthly-bc7f7fa4.js → BMI_BOYS.percentile.monthly-8eff36b1.js} +0 -0
  404. /package/build/esm/{BMI_BOYS.percentile.weekly-baadb64f.js → BMI_BOYS.percentile.weekly-c1c20791.js} +0 -0
  405. /package/build/esm/{BMI_BOYS.percentile.yearly-e7349354.js → BMI_BOYS.percentile.yearly-b71b42bf.js} +0 -0
  406. /package/build/esm/{BMI_BOYS.zscore.monthly-1160b3d1.js → BMI_BOYS.zscore.monthly-ccd48659.js} +0 -0
  407. /package/build/esm/{BMI_BOYS.zscore.weekly-d5d4e209.js → BMI_BOYS.zscore.weekly-975133c5.js} +0 -0
  408. /package/build/esm/{BMI_BOYS.zscore.yearly-817441b9.js → BMI_BOYS.zscore.yearly-ed47635c.js} +0 -0
  409. /package/build/esm/{BMI_GIRLS.percentile.monthly-3be40316.js → BMI_GIRLS.percentile.monthly-6bd5cc14.js} +0 -0
  410. /package/build/esm/{BMI_GIRLS.percentile.weekly-8ec5312c.js → BMI_GIRLS.percentile.weekly-279a4454.js} +0 -0
  411. /package/build/esm/{BMI_GIRLS.percentile.yearly-6a3cf831.js → BMI_GIRLS.percentile.yearly-b6aa4d2e.js} +0 -0
  412. /package/build/esm/{BMI_GIRLS.zscore.monthly-f096052f.js → BMI_GIRLS.zscore.monthly-9087fc3f.js} +0 -0
  413. /package/build/esm/{BMI_GIRLS.zscore.weekly-6f787231.js → BMI_GIRLS.zscore.weekly-99470f2b.js} +0 -0
  414. /package/build/esm/{BMI_GIRLS.zscore.yearly-f5703f4e.js → BMI_GIRLS.zscore.yearly-6bd7348e.js} +0 -0
  415. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-0d3faab4.js → HEAD CIRCUM_BOYS.percentile.monthly-03fad309.js} +0 -0
  416. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-d74d0de6.js → HEAD CIRCUM_BOYS.percentile.weekly-af13e66e.js} +0 -0
  417. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-4ac4e5a9.js → HEAD CIRCUM_BOYS.percentile.yearly-771bd9d9.js} +0 -0
  418. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-cc6fb183.js → HEAD CIRCUM_BOYS.zscore.monthly-ab175da6.js} +0 -0
  419. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-80b73981.js → HEAD CIRCUM_BOYS.zscore.weekly-b8764405.js} +0 -0
  420. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-a8e52858.js → HEAD CIRCUM_BOYS.zscore.yearly-899130aa.js} +0 -0
  421. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-a50ea344.js → HEAD CIRCUM_GIRLS.percentile.monthly-6a199f3b.js} +0 -0
  422. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-6f46a543.js → HEAD CIRCUM_GIRLS.percentile.weekly-503768a0.js} +0 -0
  423. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-0c74c093.js → HEAD CIRCUM_GIRLS.percentile.yearly-64cb2f25.js} +0 -0
  424. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d994c857.js → HEAD CIRCUM_GIRLS.zscore.monthly-c1e0c956.js} +0 -0
  425. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-f3467ce8.js → HEAD CIRCUM_GIRLS.zscore.weekly-5dfe1744.js} +0 -0
  426. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-f2d29a69.js → HEAD CIRCUM_GIRLS.zscore.yearly-99ef478a.js} +0 -0
  427. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e0b5f9e2.js → HEIGHT_BOYS.percentile.monthly-6a8406fe.js} +0 -0
  428. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-fc728215.js → HEIGHT_BOYS.percentile.weekly-524566b3.js} +0 -0
  429. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-75d18b83.js → HEIGHT_BOYS.percentile.yearly-e77ae24f.js} +0 -0
  430. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-c941cb1e.js → HEIGHT_BOYS.zscore.monthly-e1ed40d7.js} +0 -0
  431. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-4942fb03.js → HEIGHT_BOYS.zscore.weekly-f9ab03ff.js} +0 -0
  432. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-29ca25df.js → HEIGHT_BOYS.zscore.yearly-d8cb9559.js} +0 -0
  433. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-b41d4360.js → HEIGHT_GIRLS.percentile.monthly-09e87d65.js} +0 -0
  434. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-6339978c.js → HEIGHT_GIRLS.percentile.weekly-89fef7c6.js} +0 -0
  435. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-cd62e570.js → HEIGHT_GIRLS.percentile.yearly-80814338.js} +0 -0
  436. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-5aaf189a.js → HEIGHT_GIRLS.zscore.monthly-33d8b755.js} +0 -0
  437. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-f1611d6e.js → HEIGHT_GIRLS.zscore.weekly-0de09380.js} +0 -0
  438. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-a3085a74.js → HEIGHT_GIRLS.zscore.yearly-42e67fe0.js} +0 -0
  439. /package/build/esm/{Onboarding-592dea4f.js → Onboarding-d65212e9.js} +0 -0
  440. /package/build/esm/{Visible-9fde4cfe.js → Visible-9382e1a1.js} +0 -0
  441. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-87df740f.js → WEIGHT_BOYS.percentile.monthly-b84ae654.js} +0 -0
  442. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-046b8123.js → WEIGHT_BOYS.percentile.weekly-a5d34ac7.js} +0 -0
  443. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-6877e8df.js → WEIGHT_BOYS.percentile.yearly-b324f396.js} +0 -0
  444. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-f42d40ef.js → WEIGHT_BOYS.zscore.monthly-e1db2e9d.js} +0 -0
  445. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-87a45b3a.js → WEIGHT_BOYS.zscore.weekly-d38657ac.js} +0 -0
  446. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-e8975f8e.js → WEIGHT_BOYS.zscore.yearly-c8cf52fe.js} +0 -0
  447. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-2cdf9c46.js → WEIGHT_GIRLS.percentile.monthly-fdea673f.js} +0 -0
  448. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-cfd4690b.js → WEIGHT_GIRLS.percentile.weekly-bdf121a1.js} +0 -0
  449. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-d7cc0e9d.js → WEIGHT_GIRLS.percentile.yearly-c43856a1.js} +0 -0
  450. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-2b5fd51f.js → WEIGHT_GIRLS.zscore.monthly-6f29934c.js} +0 -0
  451. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-425d08ee.js → WEIGHT_GIRLS.zscore.weekly-c51f9694.js} +0 -0
  452. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-157b0732.js → WEIGHT_GIRLS.zscore.yearly-546e1b5b.js} +0 -0
  453. /package/build/esm/{constants-57b85347.js → constants-554d1b8e.js} +0 -0
  454. /package/build/esm/{cookieHelper-a61f145b.js → cookieHelper-e4ea7c58.js} +0 -0
  455. /package/build/esm/{dataTransform-ec91d564.js → dataTransform-bba9a756.js} +0 -0
  456. /package/build/esm/{index-f32973b6.js → index-039a03de.js} +0 -0
  457. /package/build/esm/{isProduction-2f2a254f.js → isProduction-e0ddb380.js} +0 -0
  458. /package/build/esm/{localizeNumberFormat-0e4fc477.js → localizeNumberFormat-01e2fedc.js} +0 -0
  459. /package/build/esm/{normalizeLink-fbc09916.js → normalizeLink-f5519f4a.js} +0 -0
  460. /package/build/esm/{paths-3eb0ea12.js → paths-f5c63a3f.js} +0 -0
  461. /package/build/esm/{theme-1af15451.js → theme-a9aa3182.js} +0 -0
  462. /package/build/esm/{translationsContext-d9be310d.js → translationsContext-abf38c7d.js} +0 -0
  463. /package/build/esm/{tslib.es6-01eae420.js → tslib.es6-e3cdf2bc.js} +0 -0
  464. /package/build/esm/{types-fe86acdb.js → types-92fccdaa.js} +0 -0
  465. /package/build/esm/{useIsInit-b305c968.js → useIsInit-87a2289b.js} +0 -0
  466. /package/build/esm/{useOutsideClick-f2098c7b.js → useOutsideClick-bf5eb0b5.js} +0 -0
  467. /package/build/esm/{useScrollbarSize-b1db9f16.js → useScrollbarSize-05cf5c5f.js} +0 -0
  468. /package/build/esm/{useUniqueId-f61c11f2.js → useUniqueId-fab61983.js} +0 -0
  469. /package/build/esm/{utils-5e9f366f.js → utils-2fec0962.js} +0 -0
  470. /package/build/{index-50c3e071.js → index-7e862d25.js} +0 -0
  471. /package/build/{isProduction-1f2830f9.js → isProduction-dd2eed50.js} +0 -0
  472. /package/build/{localizeNumberFormat-bf39f666.js → localizeNumberFormat-ab51ae1d.js} +0 -0
  473. /package/build/{normalizeLink-c2eb5765.js → normalizeLink-93463883.js} +0 -0
  474. /package/build/{paths-fc4b2aaa.js → paths-5dead899.js} +0 -0
  475. /package/build/{theme-1b825e83.js → theme-deb6edaf.js} +0 -0
  476. /package/build/{translationsContext-76749ce1.js → translationsContext-80c50abb.js} +0 -0
  477. /package/build/{tslib.es6-3d2a248b.js → tslib.es6-1d1dd39b.js} +0 -0
  478. /package/build/{types-8642cda8.js → types-d782ce0a.js} +0 -0
  479. /package/build/{useIsInit-0e52464a.js → useIsInit-3057483a.js} +0 -0
  480. /package/build/{useOutsideClick-89067af2.js → useOutsideClick-21df25f4.js} +0 -0
  481. /package/build/{useScrollbarSize-7ae15d80.js → useScrollbarSize-1c8ca92c.js} +0 -0
  482. /package/build/{useUniqueId-72be3b62.js → useUniqueId-cb44424a.js} +0 -0
  483. /package/build/{utils-009745cf.js → utils-a146b136.js} +0 -0
@@ -0,0 +1,177 @@
1
+ "use strict";var e=require("react"),t=require("@mantine/core"),a=require("./utils-a146b136.js"),l=require("./utils-ec4454fe.js"),o=require("./index-0c92b23e.js"),r=require("styled-components"),i=require("@hhgtech/icons"),n=require("./useTranslations-587f52f7.js"),d=require("./Onboarding-e8480a3f.js"),s=require("./index-32b93b37.js"),c=require("./theme-deb6edaf.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e),p=u(r);const h=({open:e=!1,onClickOutside:t})=>m.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),f=({value:t,options:a,className:r,direction:i="horizontal",onChange:n,isDisabled:d,siteType:u})=>{const[p,h]=e.useState(t),f="marryBaby"===u;return m.default.createElement(l.StyledRadioImageGroup,{className:r,"data-direction":i},a.map(((e,a)=>m.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||p)===e.value,"data-is-mb":f,"data-disabled":d,key:a,onClick:()=>{var t;t=e.value,d||(h(t),n&&n(t))}},m.default.createElement("div",null,e.content,e.label&&m.default.createElement(m.default.Fragment,null,f?m.default.createElement(s.MarryBabyText,{type:"subtitle-2",color:(t||p)===e.value?c.theme.mbColors.dark:c.theme.mbColors.midGray},e.label):m.default.createElement(o.Text,{type:"bold",color:(t||p)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},g=p.default.div`
2
+ position: relative;
3
+ z-index: 200;
4
+ background-color: ${e=>e.theme.colors.white};
5
+ border-radius: ${e=>e.theme.borderRadius};
6
+ box-shadow: 0px 4px 8px ${e=>e.theme.colors.gray200};
7
+ &[data-site-type='marryBaby'] {
8
+ border-radius: 16px;
9
+ .hhg-modal__content {
10
+ position: relative;
11
+ z-index: 111;
12
+ height: 100%;
13
+
14
+ padding: 24px;
15
+ }
16
+ }
17
+ .hhg-modal__content {
18
+ position: relative;
19
+ z-index: 111;
20
+ height: 100%;
21
+ padding: 16px;
22
+ }
23
+ .hhg-modal__video {
24
+ position: relative;
25
+ z-index: 111;
26
+ height: 100%;
27
+ background-color: none;
28
+ box-shadow: none;
29
+ }
30
+ `,y="hhgcomp-modal-modal",b=l.getDefaultClassWrapper(g,y),x=p.default.div`
31
+ position: fixed;
32
+ top: 0;
33
+ left: 0;
34
+ z-index: 201;
35
+ display: flex;
36
+ align-items: center;
37
+ justify-content: center;
38
+ width: 100%;
39
+ height: 100%;
40
+ overflow-x: hidden;
41
+ overflow-y: auto;
42
+ outline: 0;
43
+ visibility: hidden;
44
+ background-color: rgba(38, 38, 38, 0.3);
45
+
46
+ .hhg-modal__close {
47
+ position: absolute;
48
+ top: 16px;
49
+ right: 16px;
50
+ cursor: pointer;
51
+ img {
52
+ width: 100%;
53
+ height: 100%;
54
+ border-radius: 50%;
55
+ }
56
+ }
57
+ &[data-type='video'] {
58
+ z-index: 1001;
59
+ }
60
+ &[data-open='true'] {
61
+ visibility: visible;
62
+ }
63
+
64
+ &.slideTop {
65
+ .${y} {
66
+ transform: translate(0, -100vh);
67
+ transition: all 0.5s ease;
68
+ }
69
+
70
+ &[data-open='true'] {
71
+ .${y} {
72
+ transform: translate(0);
73
+ }
74
+ }
75
+ }
76
+
77
+ &.scaleUp {
78
+ .${y} {
79
+ transform: scale(0.9);
80
+ }
81
+
82
+ &[data-open='true'] {
83
+ .${y} {
84
+ transition: all 0.3s ease-out;
85
+ transform: scale(1);
86
+ }
87
+ }
88
+ }
89
+
90
+ &[data-type='tail'] {
91
+ justify-content: flex-end;
92
+ .${y} {
93
+ width: 420px;
94
+ height: 100%;
95
+ border-radius: 0;
96
+ overflow: hidden auto;
97
+ }
98
+ }
99
+ &[data-type='form'] {
100
+ .${y} {
101
+ width: 496px;
102
+ height: 548px;
103
+ max-height: 100%;
104
+ overflow-y: auto;
105
+ ${a.MediaQueries.mbDown} {
106
+ width: 340px;
107
+ }
108
+ }
109
+ }
110
+ &[data-type='video'] {
111
+ .${y} {
112
+ height: 100%;
113
+ max-height: 539px;
114
+ ${a.MediaQueries.mbDown} {
115
+ height: 192px;
116
+ width: 100%;
117
+ height: 100%;
118
+ border-radius: ${e=>e.theme.borderRadius};
119
+ max-height: 192px;
120
+ }
121
+ }
122
+ }
123
+ &[data-type='confirm'] {
124
+ .${y} {
125
+ width: 100%;
126
+ max-width: 407px;
127
+ ${a.MediaQueries.mbDown} {
128
+ width: calc(100% - 32px);
129
+ max-width: calc(100% - 32px);
130
+ }
131
+ }
132
+ }
133
+ `,C=p.default.div`
134
+ position: fixed;
135
+ top: 0;
136
+ left: 0;
137
+ width: 100vw;
138
+ height: 100vh;
139
+ align-items: center;
140
+
141
+ &[data-open='false'] {
142
+ display: none;
143
+ }
144
+ &[data-type='video'] {
145
+ background-color: ${e=>e.theme.colors.secondaryDark};
146
+ }
147
+ `,v=p.default.div`
148
+ & > :not(:last-child) {
149
+ margin-bottom: 8px;
150
+ }
151
+
152
+ .gender-selector {
153
+ & > :not(:last-child) {
154
+ margin-right: 16px;
155
+ }
156
+
157
+ & > div {
158
+ width: calc(50% - 8px);
159
+
160
+ ${a.MediaQueries.mbUp} {
161
+ justify-self: left;
162
+ }
163
+ }
164
+ }
165
+ `,w=p.default(f)`
166
+ & > div > div {
167
+ display: flex;
168
+ flex-direction: row;
169
+ justify-content: center;
170
+ align-content: center;
171
+ gap: 8px;
172
+ padding-block: 5px;
173
+ }
174
+ .radio-group-item-heading {
175
+ margin-top: 0;
176
+ }
177
+ `;exports.BabyGrowthGender=({value:e,onChange:t,siteType:a})=>{const{t:l}=n.useTranslations(),r="marryBaby"==a;return m.default.createElement(v,{"data-is-marryBaby":r},r?m.default.createElement(s.MarryBabyHeading,{type:"h4",color:c.theme.mbColors.dark},l("babyVaccineTool.selectGender")):m.default.createElement(o.Text,{size:"label2",type:"bold",style:{marginBottom:"0.5rem"}},l("babyVaccineTool.selectGender")),m.default.createElement(w,{siteType:a,options:[{value:d.Gender.Boy,label:l("gender.male"),content:r?m.default.createElement(i.BabyBoyMB,null):m.default.createElement(i.GenderChooseBoy,null)},{value:d.Gender.Girl,label:l("gender.female"),content:r?m.default.createElement(i.BabyGirlMB,null):m.default.createElement(i.GenderChooseGirl,null)}],value:e,onChange:t,className:"gender-selector"}))},exports.Drawer=({children:r,title:i,onClose:n,open:d=!1,placement:s="left",destroyOnClose:c=!1,isPropagationEvent:u=!0,className:p})=>{const f=e.useRef();e.useEffect((()=>(a.toggleNoScroll(d),()=>a.toggleNoScroll(!1))),[d]);const g=()=>{f.current.classList.add("slideOut"),setTimeout((()=>{n()}),800)};return!d&&c?null:m.default.createElement(t.Portal,null,m.default.createElement(l.StyledDrawer,{className:p,open:d},m.default.createElement(h,{open:d,onClickOutside:g}),m.default.createElement(l.StyledDrawerPanel,{open:d,placement:s,ref:f,hasTitle:Boolean(i)},m.default.createElement("div",{className:"title"},i&&m.default.createElement(o.Text,{size:"s2",type:"semiBold"},i),m.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:g},m.default.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),m.default.createElement(l.StyledDrawerContent,{onClick:e=>{u&&e.stopPropagation()}},r&&(m.default.isValidElement(r)?r:"function"==typeof r?r({internalClose:g}):null)))))},exports.RadioImageGroup=f,exports.StyledModal=b,exports.StyledModalMask=C,exports.StyledModalWrapper=x;
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./useScrollbarSize-7ae15d80.js"),d=require("react-dom"),a=require("./index-124d9ea4.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(e);const c="hhg-modals",r=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},n=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))};exports.Modal=({type:l="lead",closeIcon:s,isOpen:u=!0,onClose:i,children:m,className:h="",animationType:p="slideTop",isStaticBackdrop:y=!1,siteType:f})=>{const[g,v]=e.useState(!1),b=e.useRef(null),{width:E}=t.useScrollbarSize();if(!b.current&&g&&(b.current=document.createElement("div")),e.useEffect((()=>(v(!0),()=>{v(!1),r(),n()})),[]),e.useEffect((()=>{if(g){const e=(()=>{let e=document.getElementById(c);return e||(e=document.createElement("div"),e.setAttribute("id",c),document.body.append(e)),e})();return e.appendChild(b.current),()=>{e.removeChild(b.current)}}}),[g]),e.useEffect((()=>{u?document.body.classList.add("hhc-modal-show"):r()}),[u]),e.useEffect((()=>{u?(document.body.style.overflow="hidden",document.body.style.paddingRight=E+"px",document.body.classList.add("hhc-disabled-scroll")):n()}),[u,E]),!g)return null;const S=["hhg-modal__wrapper",h,p].filter((e=>e)).join(" ");return d.createPortal(o.default.createElement(a.StyledModalWrapper,{className:S,"data-open":u,"data-type":l},!y&&o.default.createElement(a.StyledModalMask,{"data-open":u,onClick:i,"data-type":l}),!y&&"video"===l&&!!s&&o.default.createElement("div",{className:"hhg-modal__close",onClick:i},s),o.default.createElement(a.StyledModal,{className:"hhg-modal","data-open":u,"data-site-type":f},o.default.createElement("div",{className:"video"===l?"hhg-modal__video":"hhg-modal__content"},!!s&&"video"!==l&&o.default.createElement("div",{className:"hhg-modal__close",onClick:i},s),m))),b.current)};
1
+ "use strict";var e=require("react"),t=require("./useScrollbarSize-1c8ca92c.js"),d=require("react-dom"),a=require("./index-3ba8b7f8.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(e);const c="hhg-modals",r=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},n=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))};exports.Modal=({type:l="lead",closeIcon:s,isOpen:u=!0,onClose:i,children:m,className:h="",animationType:p="slideTop",isStaticBackdrop:y=!1,siteType:f})=>{const[b,g]=e.useState(!1),v=e.useRef(null),{width:E}=t.useScrollbarSize();if(!v.current&&b&&(v.current=document.createElement("div")),e.useEffect((()=>(g(!0),()=>{g(!1),r(),n()})),[]),e.useEffect((()=>{if(b){const e=(()=>{let e=document.getElementById(c);return e||(e=document.createElement("div"),e.setAttribute("id",c),document.body.append(e)),e})();return e.appendChild(v.current),()=>{e.removeChild(v.current)}}}),[b]),e.useEffect((()=>{u?document.body.classList.add("hhc-modal-show"):r()}),[u]),e.useEffect((()=>{u?(document.body.style.overflow="hidden",document.body.style.paddingRight=E+"px",document.body.classList.add("hhc-disabled-scroll")):n()}),[u,E]),!b)return null;const S=["hhg-modal__wrapper",h,p].filter((e=>e)).join(" ");return d.createPortal(o.default.createElement(a.StyledModalWrapper,{className:S,"data-open":u,"data-type":l},!y&&o.default.createElement(a.StyledModalMask,{"data-open":u,onClick:i,"data-type":l}),!y&&"video"===l&&!!s&&o.default.createElement("div",{className:"hhg-modal__close",onClick:i},s),o.default.createElement(a.StyledModal,{className:"hhg-modal","data-open":u,"data-site-type":f},o.default.createElement("div",{className:"video"===l?"hhg-modal__video":"hhg-modal__content"},!!s&&"video"!==l&&o.default.createElement("div",{className:"hhg-modal__close",onClick:i},s),m))),v.current)};
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("./utils-009745cf.js"),t=require("styled-components"),i=require("react");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(t),r=o(i);const s=a.default.div`
1
+ "use strict";var e=require("./utils-a146b136.js"),t=require("styled-components"),i=require("react");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(t),r=o(i);const s=a.default.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
 
@@ -0,0 +1,7 @@
1
+ "use strict";var e=require("./tslib.es6-1d1dd39b.js"),l=require("react"),r=require("styled-components"),t=require("@mantine/carousel"),n=require("@mantine/core"),i=require("@mantine/hooks");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=s(l);const a=s(r).default.img`
2
+ &[data-has-placeholder='true'] {
3
+ background-position: center;
4
+ background-repeat: no-repeat;
5
+ background-size: cover;
6
+ }
7
+ `,c=t.Carousel.Slide,d=l.createContext({}),u=(e,l)=>e>=l?e-l:e,v=r=>{var{children:s,blurFromCenter:a,blurFromIndex:c,blurLength:v=3,maxBlurOpacity:f=.5,onSlideChange:h,selectSlideWhenClick:p}=r,g=e.__rest(r,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:S}=i.useViewportSize(),[m]=i.useResizeObserver(),b=l.useRef(null),[y,C]=l.useState(0),k=()=>{var e,l,r,t,n;const i=(null===(e=null==b?void 0:b.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(l=null==b?void 0:b.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(r=null==b?void 0:b.current)||void 0===r?void 0:r.slidesInView().length))return i.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const s=null===(t=null==b?void 0:b.current)||void 0===t?void 0:t.selectedScrollSnap();C(s);const o=i.length,d=(null===(n=null==b?void 0:b.current)||void 0===n?void 0:n.slidesInView()).length,h=Math.floor(d/2),p=a?c+v-1:h,g=s+p,S=g===o?0:g>o?g-o:g,m=s-p,y=m<0?o+m:m>0?s-p:0,k=[...new Set(Array(2*p+1).fill("").map(((e,l)=>u(y+l,o))))];i.map(((e,l)=>{if(l===s?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==k.indexOf(l)){const n=f/v;for(let i=0;i<v;i++){if(l===u(y+i,o)||l===(t=o,(r=S-i)<0?t+r:r)){e.style.opacity=String((i+1)*n);break}e.style.opacity="1"}}else e.style.opacity="0";var r,t}))},x={getEmblaApi:e=>{b.current=e},onSlideChange:e=>{k(),null==h||h(e)}};l.useEffect((()=>{(null==b?void 0:b.current)&&k()}),[S]);const O=n.createStyles((()=>{var e,l;return{control:Object.assign({},(null===(e=null==b?void 0:b.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(l=null==b?void 0:b.current)||void 0===l?void 0:l.slidesInView().length)&&{display:"none"})}})),{classes:E}=O();return o.default.createElement(d.Provider,{value:{slider:null==b?void 0:b.current,centerSlide:y,selectSlideWhenClick:p}},o.default.createElement(t.Carousel,Object.assign({classNames:{control:E.control},ref:m,slideSize:"auto",containScroll:"trimSnaps"},x,g,{loop:!0}),"function"==typeof s?s(y):s))};v.Slide=r=>{var{children:t,onClick:n,innerSlideProps:i}=r,s=e.__rest(r,["children","onClick","innerSlideProps"]);const{slider:a,selectSlideWhenClick:u}=l.useContext(d),v=l.useRef(),f=l.useRef(""),[h,p]=l.useState(0);l.useEffect((()=>{f.current=String(Math.round(1e4*Math.random()))}),[]),l.useEffect((()=>{const e=(null==a?void 0:a.slideNodes())||[];p(e.findIndex((e=>e.dataset.key===f.current)))}),[a]);const g={ref:v,"data-key":f.current,"data-index":h};return o.default.createElement(c,Object.assign({},g,s),o.default.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{u&&(null==a||a.scrollTo(h)),null==n||n(h)}},i),t))},exports.CentralCarousel=v,exports.ImageWrap=r=>{var{alt:t,backupSrc:n,src:i,placeholderSrc:s,style:c,ref:d}=r,u=e.__rest(r,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[v,f]=l.useState(!1);return o.default.createElement(a,Object.assign({loading:"lazy",alt:t,onError:()=>!v&&f(!0),src:v?n||i:i||n,style:Object.assign(Object.assign({},s?{backgroundImage:`url(${s})`}:{}),c),"data-has-placeholder":!!s,ref:d},u))};
@@ -1 +1 @@
1
- "use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./utils-4766eefa.js"),s=require("./index-af139f2c.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(e);exports.Logo=({type:l,className:r,style:n,isLightLogo:g,customSize:m,badge:i,locale:u,dateForSeasonal:c,isPro:d})=>{const f=e.useMemo((()=>{if(!c||isNaN(new Date(c).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};const e=new Date(c),a=t.isChristmas(e),s=t.LunarNewYearLocale.includes(u)&&t.isLunarNewYear(e);return{isChristmas:a,isLunarNewYear:s,isNewYear:!s&&t.isNewYear(e)}}),[u,new Date(c).getDate()]);return o.default.createElement(t.StyledLogo,{className:r,style:n,"data-logo-is-light":g||void 0,"data-has-badge":!!i,"data-christmas":f.isChristmas,"data-new-year":f.isNewYear,"data-lunar-new-year":f.isLunarNewYear},f.isChristmas?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):f.isNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):f.isLunarNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,o.default.createElement(t.LogoIcon,{type:l,width:null==m?void 0:m.width,height:null==m?void 0:m.height}),d?o.default.createElement(t.StyledProLogo,{src:a.CommonGAssets.getAssetPath("logo/pro-suffix.svg")}):null,i)};
1
+ "use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./index-90b2b2ab.js"),s=require("./index-7ee8b163.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(e);exports.Logo=({type:l,className:r,style:n,isLightLogo:g,customSize:m,badge:i,locale:u,dateForSeasonal:c,isPro:d})=>{const f=e.useMemo((()=>{if(!c||isNaN(new Date(c).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};const e=new Date(c),a=t.isChristmas(e),s=t.LunarNewYearLocale.includes(u)&&t.isLunarNewYear(e);return{isChristmas:a,isLunarNewYear:s,isNewYear:!s&&t.isNewYear(e)}}),[u,new Date(c).getDate()]);return o.default.createElement(t.StyledLogo,{className:r,style:n,"data-logo-is-light":g||void 0,"data-has-badge":!!i,"data-christmas":f.isChristmas,"data-new-year":f.isNewYear,"data-lunar-new-year":f.isLunarNewYear},f.isChristmas?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):f.isNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):f.isLunarNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,o.default.createElement(t.LogoIcon,{type:l,width:null==m?void 0:m.width,height:null==m?void 0:m.height}),d?o.default.createElement(t.StyledProLogo,{src:a.CommonGAssets.getAssetPath("logo/pro-suffix.svg")}):null,i)};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-3d2a248b.js"),t=require("react"),l=require("./Onboarding-b1ce9fc5.js"),a=require("./index.styled-0bda59df.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);const o=({isRight:e,currentUrl:t})=>r.default.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":t,className:"pointer-event-child-none"},r.default.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));exports.PillCarousel=n=>{var{data:i,isMobile:c,onSlideChange:d,pillProps:s,locale:u=l.LOCALE.Vietnam,blurFromIndex:v,blurLength:g}=n,h=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const f={withControls:!c,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(c?2:4),blurLength:g||(c?1:3),onSlideChange:d},[m,C]=t.useState("");return t.useEffect((()=>{C(window.location.href)}),[]),r.default.createElement(a.StyledCarousel,Object.assign({},f,h,{selectSlideWhenClick:!0,previousControlIcon:r.default.createElement(o,{currentUrl:m}),nextControlIcon:r.default.createElement(o,{currentUrl:m,isRight:!0})}),(e=>i.map(((t,l)=>r.default.createElement(a.StyledSlide,Object.assign({key:l,onClick:d,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":m,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":m}},s),r.default.createElement("div",{className:"centerred-pill-wrapper"},r.default.createElement(a.StyledPill,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":m,locale:u,name:t.name,icon:t.icon,className:l===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))};
1
+ "use strict";var e=require("./tslib.es6-1d1dd39b.js"),t=require("react"),l=require("./Onboarding-e8480a3f.js"),a=require("./index.styled-3d922e82.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);const o=({isRight:e,currentUrl:t})=>r.default.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":t,className:"pointer-event-child-none"},r.default.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));exports.PillCarousel=n=>{var{data:i,isMobile:d,onSlideChange:c,pillProps:s,locale:u=l.LOCALE.Vietnam,blurFromIndex:v,blurLength:g}=n,h=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const m={withControls:!d,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(d?2:4),blurLength:g||(d?1:3),onSlideChange:c},[C,f]=t.useState("");return t.useEffect((()=>{f(window.location.href)}),[]),r.default.createElement(a.StyledCarousel,Object.assign({},m,h,{selectSlideWhenClick:!0,previousControlIcon:r.default.createElement(o,{currentUrl:C}),nextControlIcon:r.default.createElement(o,{currentUrl:C,isRight:!0})}),(e=>i.map(((t,l)=>r.default.createElement(a.StyledSlide,Object.assign({key:l,onClick:c,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C}},s),r.default.createElement("div",{className:"centerred-pill-wrapper"},r.default.createElement(a.StyledPill,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":C,locale:u,name:t.name,icon:t.icon,className:l===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))};
@@ -1 +1 @@
1
- "use strict";var e=require("date-fns/locale"),o=require("./Onboarding-b1ce9fc5.js"),l=require("./isProduction-1f2830f9.js");const i={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},t="userGeoLocationCoordinates",a={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},s={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},E={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},O="user",c=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],I=["vi-VN"],r=["vi-VN","id-ID","en-PH","tl-PH"],h=["vi-VN","id-ID"],T={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var p;exports.QUERY_HEALTH_TOOL=void 0,(p=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",p.gender="gndr",p.age="ge",p.slug="slug",p.resultId="resultId",p.bmr="mr",p.height="gt",p.weight="wght",p.source="surc",p.type="tp",p.startDate="sd",p.additional="tnl",p.week="wk",p.twins="twn",p.weightBefore="wb",p.yourself="yrslf",p.intensity="sy",p.rate="rt",p.method="mthd",p.day="dy",p.pwg="pwg",p.cycle="le",p.period="prd",p.access_token="tkn",p.name="nm",p.id="id";const _={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},A="hhg_user_token",m={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},L="https://cdn.hellohealthgroup.com/countries";var C=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:t,domainLocales:a,LOCALE_SPECS:s,STATIC_PAGES:E,UP_BASEPATH:O,TOGETHER_LOCALES:c,ECOM_LOCALES:I,CARE_LOCALES:r,CARE_BOOKING_LOCALES:h,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:_,BEARER_TOKEN_COOKIE:A,DATE_FNS_LOCALE:m,CDN_ADDRESS:L,siteHost:i,siteOptions:n,isProduction:l.isProduction});exports.BEARER_TOKEN_COOKIE=A,exports.CARE_BOOKING_LOCALES=h,exports.CARE_LOCALES=r,exports.CDN_ADDRESS=L,exports.DATE_FNS_LOCALE=m,exports.ECOM_LOCALES=I,exports.FAVICONS=T,exports.ISO_FORMAT=_,exports.LOCALE_SPECS=s,exports.STATIC_PAGES=E,exports.TOGETHER_LOCALES=c,exports.UP_BASEPATH=O,exports.USER_GEOLOCATION_COORDINATES_COOKIE=t,exports.domainLocales=a,exports.index=C,exports.siteHost=i,exports.siteOptions=n;
1
+ "use strict";var e=require("date-fns/locale"),o=require("./Onboarding-e8480a3f.js"),l=require("./isProduction-dd2eed50.js");const i={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},t="userGeoLocationCoordinates",a={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},s={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},E={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},O="user",c=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],I=["vi-VN"],r=["vi-VN","id-ID","en-PH","tl-PH"],h=["vi-VN","id-ID"],T={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var p;exports.QUERY_HEALTH_TOOL=void 0,(p=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",p.gender="gndr",p.age="ge",p.slug="slug",p.resultId="resultId",p.bmr="mr",p.height="gt",p.weight="wght",p.source="surc",p.type="tp",p.startDate="sd",p.additional="tnl",p.week="wk",p.twins="twn",p.weightBefore="wb",p.yourself="yrslf",p.intensity="sy",p.rate="rt",p.method="mthd",p.day="dy",p.pwg="pwg",p.cycle="le",p.period="prd",p.access_token="tkn",p.name="nm",p.id="id";const _={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},A="hhg_user_token",m={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},L="https://cdn.hellohealthgroup.com/countries";var C=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:t,domainLocales:a,LOCALE_SPECS:s,STATIC_PAGES:E,UP_BASEPATH:O,TOGETHER_LOCALES:c,ECOM_LOCALES:I,CARE_LOCALES:r,CARE_BOOKING_LOCALES:h,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:_,BEARER_TOKEN_COOKIE:A,DATE_FNS_LOCALE:m,CDN_ADDRESS:L,siteHost:i,siteOptions:n,isProduction:l.isProduction});exports.BEARER_TOKEN_COOKIE=A,exports.CARE_BOOKING_LOCALES=h,exports.CARE_LOCALES=r,exports.CDN_ADDRESS=L,exports.DATE_FNS_LOCALE=m,exports.ECOM_LOCALES=I,exports.FAVICONS=T,exports.ISO_FORMAT=_,exports.LOCALE_SPECS=s,exports.STATIC_PAGES=E,exports.TOGETHER_LOCALES=c,exports.UP_BASEPATH=O,exports.USER_GEOLOCATION_COORDINATES_COOKIE=t,exports.domainLocales=a,exports.index=C,exports.siteHost=i,exports.siteOptions=n;
@@ -0,0 +1,93 @@
1
+ "use strict";var e=require("./utils-a146b136.js"),t=require("styled-components"),o=require("react"),s=require("./gAssets.js"),a=require("./index-7ee8b163.js"),r=require("./Onboarding-e8480a3f.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=l(t),h=l(o);const i=n.default.div`
2
+ position: relative;
3
+ display: inline-flex;
4
+ align-items: center;
5
+ z-index: 1;
6
+ .main-logo-icon {
7
+ object-fit: contain;
8
+ }
9
+ &[data-logo-is-light] {
10
+ > svg path {
11
+ fill: #fff;
12
+ }
13
+ img {
14
+ filter: brightness(0) invert(1);
15
+ }
16
+ }
17
+
18
+ &[data-has-badge] {
19
+ @supports (display: flex) and (gap: 1em) {
20
+ gap: 0.5rem;
21
+ }
22
+
23
+ @supports not ((display: flex) and (gap: 1em)) {
24
+ > img {
25
+ margin-left: 0.25rem;
26
+ }
27
+ }
28
+ }
29
+
30
+ .common-logo-seasonal-left,
31
+ .common-logo-seasonal-right {
32
+ z-index: -1;
33
+ }
34
+ .common-logo-seasonal-left {
35
+ position: absolute;
36
+ top: 50%;
37
+ left: 0;
38
+ transform: translateY(-50%);
39
+ }
40
+ .common-logo-seasonal-right {
41
+ position: absolute;
42
+ top: 50%;
43
+ right: 0;
44
+ transform: translateY(-50%);
45
+ }
46
+ &[data-christmas='true'] {
47
+ padding-left: 37px;
48
+ padding-right: 22px;
49
+ .common-logo-seasonal-left {
50
+ width: 125px;
51
+ height: 56px;
52
+ }
53
+ .common-logo-seasonal-right {
54
+ width: 23px;
55
+ height: 17px;
56
+ }
57
+ }
58
+ &[data-new-year='true'] {
59
+ padding-right: 85px;
60
+ .common-logo-seasonal-left {
61
+ top: 35%;
62
+ width: 100px;
63
+ height: 56px;
64
+ }
65
+ .common-logo-seasonal-right {
66
+ width: 85px;
67
+ height: 54px;
68
+ }
69
+ ${e.MediaQueries.mbDown} {
70
+ padding-right: 0;
71
+ .common-logo-seasonal-right {
72
+ display: none;
73
+ }
74
+ }
75
+ }
76
+ &[data-lunar-new-year='true'] {
77
+ padding-left: 30px;
78
+ padding-right: 35px;
79
+ .common-logo-seasonal-left {
80
+ width: 33px;
81
+ height: 41px;
82
+ }
83
+ .common-logo-seasonal-right {
84
+ width: 37px;
85
+ height: 54px;
86
+ }
87
+ }
88
+ `,g=n.default.img`
89
+ height: 16px;
90
+ width: unset;
91
+ margin-bottom: 4px;
92
+ margin-left: -3px;
93
+ `,p=o.memo((({type:e,width:t,height:r})=>{const l=o.useMemo((()=>{switch(e){case"hellobacsi":return{width:t||"107px",height:r||"24px",src:s.CommonGAssets.getAssetPath("logo/hellobacsi.png")};case"hellodoktor":return{width:t||"127px",height:r||"24px",src:s.CommonGAssets.getAssetPath("logo/hellodoktor.png")};case"hellosehat":return{width:t||"121px",height:r||"27px",src:s.CommonGAssets.getAssetPath("logo/hellosehat.png")};case"hellohealth":return{width:t||"123px",height:r||"24px",src:s.CommonGAssets.getAssetPath("logo/hellohealth.png")};case"hellotogether":return{width:t||"150px",height:r||"24px",src:s.CommonGAssets.getAssetPath("logo/hellotogether.png")};case"hellocare":return{width:t||"99px",height:r||"24px",src:s.CommonGAssets.getAssetPath("logo/hellocare.png")};case"hellodoctor":return{width:t||"127px",height:r||"24px",src:s.CommonGAssets.getAssetPath("logo/hellodoctor.png")};case"hellokrupet":return{width:t||"101px",height:r||"24px",src:s.CommonGAssets.getAssetPath("logo/hellokrupet.png")};case"hellosayarwon":return{width:t||"111px",height:r||"24px",src:s.CommonGAssets.getAssetPath("logo/hellosayarwon.png")};case"helloyishi":return{width:t||"89px",height:r||"24px",src:s.CommonGAssets.getAssetPath("logo/helloyishi.png")};case"hellokhunmor":return{width:t||"123px",height:r||"24px",src:s.CommonGAssets.getAssetPath("logo/hellokhunmor.png")};case"helloswasthya":return{width:t||"105px",height:r||"24px",src:s.CommonGAssets.getAssetPath("logo/helloswasthya.png")};case"logomark":return{width:t||"60px",height:r||"57px",src:s.CommonGAssets.getAssetPath("logo/logomark.png")};case"marryBaby":return{width:t||"145px",height:r||"28px",src:s.CommonGAssets.getAssetPath("logo/marrybaby.png")};default:return null}}),[e,t,r]),{src:n,width:i,height:g}=l||{};return h.default.createElement(a.ImageWrap,{alt:`${e} logo`,className:"main-logo-icon",src:n,style:{width:i,height:g}})})),m={2023:[22,0],2024:[10,1],2025:[29,0],2026:[17,1],2027:[6,1],2028:[26,0],2029:[13,1],2030:[3,1],2031:[23,0],2032:[11,1],2033:[31,0],2034:[19,1],2035:[8,1],2036:[28,0],2037:[15,1],2038:[4,1],2039:[24,0],2040:[12,1]},c=[r.LOCALE.Vietnam,r.LOCALE.Taiwan,r.LOCALE.Indonesia,r.LOCALE.Malaysia];var d="d76E4SH";exports.Container=({children:e,className:t,style:o,type:s})=>h.default.createElement("div",{className:`${d} ${t||""}`,style:o,"data-type":s},e),exports.LogoIcon=p,exports.LunarNewYearLocale=c,exports.StyledLogo=i,exports.StyledProLogo=g,exports.isChristmas=e=>{const t=e.getDate();return 11===e.getMonth()&&t>=16&&t<=25},exports.isLunarNewYear=e=>{const t=e.getFullYear(),o=m[t];if(!o)return!1;const s=new Date(t,o[1],o[0]),a=new Date(s);a.setDate(s.getDate()-7);const r=new Date(s);return r.setDate(s.getDate()+5),a<=e&&e<=r},exports.isNewYear=e=>{const t=e.getDate(),o=e.getMonth();return 11===o&&t>=26||0===o&&t<=15};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react"),a=require("./utils-ec4454fe.js"),t=require("./tslib.es6-1d1dd39b.js"),o=require("./useTranslations-587f52f7.js"),i=require("./index-2284659e.js"),r=require("./paths-5dead899.js"),l=require("./constants-d54bff11.js");require("@mantine/core"),require("@mantine/hooks"),require("./gAssets.js"),require("@mantine/dates");var d=require("./index-8c90469b.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./Onboarding-e8480a3f.js"),require("dayjs"),require("./screenSizeContext-ce407dc9.js"),require("styled-components"),require("./theme-deb6edaf.js"),require("./utils-a146b136.js"),require("./isProduction-dd2eed50.js"),require("./index-7ee8b163.js"),require("lodash/debounce");var s=n(e);const u={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"};var c="Dudns9-";exports.AuthorBadge=e=>{var{siteType:i,role:r,title:l,styles:d,className:n}=e,c=t.__rest(e,["siteType","role","title","styles","className"]);const{t:v}=o.useTranslations(),m=r?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((a=>a===e)))(r):"",{classes:g,cx:b}=a.useStyles(void 0,{name:"AuthorBadge",styles:d});return m&&u[m]?s.default.createElement("div",Object.assign({className:b(g.root,n),"data-label-type":m,"data-is-marrybaby":"marryBaby"===i},c),l||v(u[m])):null},exports.BookingBtn=n=>{var{label:u,bookingId:c,bookingType:v="doctor",locale:m="vi-VN"}=n,g=t.__rest(n,["label","bookingId","bookingType","locale"]);const{t:b}=o.useTranslations(),[y,p]=e.useState(!1),f=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]),E=e.useCallback((()=>t.__awaiter(void 0,void 0,void 0,(function*(){var e,t,o,i,n,s,u,g,b,y,f,E,A,h,S;const _="doctor"===v?r.PATHS.GET_DOCTOR_DETAIL:"hospital"===v?r.PATHS.GET_HOSPITAL_DETAIL:"service"===v?r.PATHS.GET_SERVICE_DETAIL:"";try{p(!0);const r=yield a.callApi(a.getCarePath(_,{id:c,site:d.domainLocales[m]}),"get");if(1===(null==r?void 0:r._status)){const a="doctor"===v?{id:null===(t=null===(e=null==r?void 0:r._data)||void 0===e?void 0:e.doctor)||void 0===t?void 0:t.id,slug:null===(i=null===(o=null==r?void 0:r._data)||void 0===o?void 0:o.doctor)||void 0===i?void 0:i.slug,localSlug:null===(n=l.LOCALIZED_SLUGS[m])||void 0===n?void 0:n.DOCTOR}:"hospital"===v?{id:null===(u=null===(s=null==r?void 0:r._data)||void 0===s?void 0:s.branch)||void 0===u?void 0:u.id,slug:null===(b=null===(g=null==r?void 0:r._data)||void 0===g?void 0:g.branch)||void 0===b?void 0:b.slug,localSlug:null===(y=l.LOCALIZED_SLUGS[m])||void 0===y?void 0:y.HOSPITAL}:{id:null===(E=null===(f=null==r?void 0:r._data)||void 0===f?void 0:f.service)||void 0===E?void 0:E.id,slug:null===(h=null===(A=null==r?void 0:r._data)||void 0===A?void 0:A.service)||void 0===h?void 0:h.slug,localSlug:null===(S=l.LOCALIZED_SLUGS[m])||void 0===S?void 0:S.SERVICE};window.location.href=`/care/${a.localSlug}/${a.slug}-${a.id}/`}else p(!1)}catch(e){console.log(e),p(!1)}}))),[]);return c&&v?s.default.createElement(i.Button,Object.assign({dataEventCategory:"Care",dataEventAction:"Comment - Quick Booking",dataEventLabel:f,onClick:E,loading:y},g),u||b("careBooking.bookAnAppointment")):null},exports.BtnChoice=({value:a,choices:t,onChange:o})=>{const[r,l]=e.useState(a);return e.useEffect((()=>{l(a)}),[a]),s.default.createElement("div",{className:c},t.map(((e,a)=>s.default.createElement(i.Button,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===r?"primary":"tertiary",key:a,onClick:()=>{l(e.value),null==o||o(e.value)}},e.label||""))))},exports.Divider=({type:e="solid",className:t,style:o})=>s.default.createElement(a.StyledDivider,{style:o,className:t,"data-diver-type":e,dividerType:e});
@@ -1 +1 @@
1
- "use strict";var r=require("./Onboarding-b1ce9fc5.js"),t=Object.freeze({__proto__:null,get Gender(){return r.Gender},get BabyGrowthChartType(){return r.BabyGrowthChartType},get BabyGrowthChartDuration(){return r.BabyGrowthChartDuration},get BabyGrowthResultTab(){return r.BabyGrowthResultTab},get LOCALE(){return r.LOCALE},get OnboardingStep(){return r.OnboardingStep}});exports.index=t;
1
+ "use strict";var r=require("./Onboarding-e8480a3f.js"),t=Object.freeze({__proto__:null,get Gender(){return r.Gender},get BabyGrowthChartType(){return r.BabyGrowthChartType},get BabyGrowthChartDuration(){return r.BabyGrowthChartDuration},get BabyGrowthResultTab(){return r.BabyGrowthResultTab},get LOCALE(){return r.LOCALE},get OnboardingStep(){return r.OnboardingStep}});exports.index=t;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-3d2a248b.js"),a=require("react"),t=require("@mantine/core"),n=require("./index-82e3c7ee.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:u=!0,actionIcon:d,displayIcon:m,onActionClick:p,label:y,className:b,onChange:v,isDisabled:C,CustomInput:g,size:f,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":f,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},g||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>v&&v(e.target.value),type:I,"aria-label":I,value:o,disabled:C,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),d&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},d)),i&&i.length>0&&u&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};
1
+ "use strict";var e=require("./tslib.es6-1d1dd39b.js"),a=require("react"),t=require("@mantine/core"),n=require("./index-71d5f659.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:d=!0,actionIcon:u,displayIcon:m,onActionClick:p,label:y,className:b,onChange:v,isDisabled:C,CustomInput:f,size:g,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":g,className:b,"data-has-action-icon":!!u||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},f||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>v&&v(e.target.value),type:I,"aria-label":I,value:o,disabled:C,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),u&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},u)),i&&i.length>0&&d&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./tslib.es6-1d1dd39b.js"),r=require("react"),t=require("@mantine/core");require("dayjs"),require("./screenSizeContext-ce407dc9.js"),require("styled-components");var s=require("./theme-deb6edaf.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index-8c90469b.js"),require("./utils-a146b136.js"),require("./isProduction-dd2eed50.js"),require("./Onboarding-e8480a3f.js"),require("./gAssets.js");var n=i(r);exports.Indicator=r=>{var{styles:i,color:o=s.theme.colors.red700}=r,a=e.__rest(r,["styles","color"]);return n.default.createElement(t.Indicator,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:o},a))};
@@ -0,0 +1,53 @@
1
+ "use strict";var e=require("./tslib.es6-1d1dd39b.js"),r=require("react"),t=require("@mantine/core"),i=require("./index-90b2b2ab.js");require("@mantine/hooks"),require("./gAssets.js"),require("@mantine/dates");var n=require("./index-8c90469b.js");require("./Onboarding-e8480a3f.js");var o=require("./index-2284659e.js");require("dayjs"),require("./screenSizeContext-ce407dc9.js");var a=require("styled-components"),s=require("./theme-deb6edaf.js"),d=require("./utils-a146b136.js");require("./isProduction-dd2eed50.js"),require("./translationsContext-80c50abb.js"),require("string-format"),require("./index-7ee8b163.js");var c=require("@mantine/form");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=m(r),u=m(a);const p=r.createContext({}),[g,x,f]=c.createFormContext(),b=u.default.div`
2
+ margin-top: 70px;
3
+ display: flex;
4
+ flex-direction: column;
5
+ align-items: center;
6
+ justify-content: center;
7
+ &.similac {
8
+ margin-top: 16px;
9
+ }
10
+ `,h=u.default(t.Container)`
11
+ &.hhg-comp-onboarding-container.hhg-comp-onboarding-container {
12
+ display: flex;
13
+ flex-direction: column;
14
+ align-items: center;
15
+ height: 100%;
16
+ width: 100%;
17
+ max-width: 520px;
18
+ }
19
+ .header {
20
+ margin-bottom: 32px;
21
+ text-align: center;
22
+ ${d.MediaQueries.mbDown} {
23
+ margin-bottom: 16px;
24
+ }
25
+ }
26
+
27
+ .input-control {
28
+ width: 100%;
29
+ }
30
+ .radio-group,
31
+ .input-control {
32
+ margin-bottom: 16px;
33
+ }
34
+ .form {
35
+ width: 100%;
36
+ }
37
+
38
+ /* .form-error {
39
+ margin-top: 32px;
40
+ font-size: 14px;
41
+ }
42
+
43
+ .field-error {
44
+ margin-top: 10px;
45
+ font-size: 14px;
46
+ } */
47
+
48
+ .form-button {
49
+ width: 100%;
50
+ }
51
+ `,q=u.default.img`
52
+ margin-bottom: 38px;
53
+ `;exports.FormProvider=g,exports.Onboarding=a=>{var d,{heading:c,description:m,children:u,className:g,imgSrc:x,hiddenLogo:f=!1}=a,j=e.__rest(a,["heading","description","children","className","imgSrc","hiddenLogo"]);const{isMarryBaby:v,siteType:y}=r.useContext(p);return l.default.createElement(h,Object.assign({},j,{className:`hhg-comp-onboarding-container ${g}`,size:"sm"}),!f&&l.default.createElement(i.LogoIcon,{type:v?y:(null===(d=n.LOCALE_SPECS[process.env.UNIFY_LOCALE])||void 0===d?void 0:d.LOGO_TYPE)||"hellobacsi"}),l.default.createElement(b,{className:f?"similac":""},x&&l.default.createElement(q,{src:x,loading:"lazy"}),(c||m)&&l.default.createElement("div",{className:"header"},c&&l.default.createElement(t.Title,{order:3},c),m&&l.default.createElement(o.Text,{size:"p3",mt:8,color:s.theme.colors.gray600},m)),u))},exports.OnboardingContext=p,exports.useForm=f,exports.useFormContext=x;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e);const a=e.forwardRef((function(e,t){return r.default.createElement("circle",Object.assign({},e,{ref:t}),r.default.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))}));exports.CustomReferenceDot=a;