@hhgtech/hhg-components 1.25.45 → 1.26.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 (446) hide show
  1. package/build/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +39 -6
  4. package/build/care/components/organisms/bookingSearchBar/locationResults/index.styled.d.ts +22 -8
  5. package/build/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +4 -1
  6. package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +29 -5
  7. package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +38 -8
  8. package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +34 -7
  9. package/build/care/components/organisms/bookingSearchBar/searchInputs/index.styled.d.ts +28 -6
  10. package/build/care.js +1 -1
  11. package/build/components/atoms/alert/index.d.ts +1 -1
  12. package/build/components/atoms/avatar/index.d.ts +1 -1
  13. package/build/components/atoms/avatar/index.styled.d.ts +5 -1
  14. package/build/components/atoms/backdrop/index.styled.d.ts +5 -1
  15. package/build/components/atoms/badge/index.styled.d.ts +6 -1
  16. package/build/components/atoms/borderHeading/index.styled.d.ts +6 -1
  17. package/build/components/atoms/btnChoice/index.styled.d.ts +5 -1
  18. package/build/components/atoms/checkbox/index.styled.d.ts +6 -1
  19. package/build/components/atoms/displayWrapper/index.styled.d.ts +6 -2
  20. package/build/components/atoms/divider/index.d.ts +1 -1
  21. package/build/components/atoms/divider/index.styled.d.ts +6 -2
  22. package/build/components/atoms/drawer/helpers.d.ts +1 -1
  23. package/build/components/atoms/drawer/index.styled.d.ts +15 -5
  24. package/build/components/atoms/dropdownMB/index.styled.d.ts +4 -2
  25. package/build/components/atoms/fileDropdown/index.d.ts +1 -1
  26. package/build/components/atoms/fileDropdown/index.styled.d.ts +22 -5
  27. package/build/components/atoms/grid/index.styled.d.ts +8 -1
  28. package/build/components/atoms/heading/index.d.ts +1 -1
  29. package/build/components/atoms/icons/Plus.d.ts +4 -1
  30. package/build/components/atoms/input/index.styled.d.ts +22 -6
  31. package/build/components/atoms/inputMB/index.styled.d.ts +27 -2
  32. package/build/components/atoms/logo/index.styled.d.ts +9 -2
  33. package/build/components/atoms/marryBabyText/index.d.ts +1 -1
  34. package/build/components/atoms/marryBabyText/index.styled.d.ts +9 -5
  35. package/build/components/atoms/menu/index.styled.d.ts +11 -3
  36. package/build/components/atoms/newBabyProfileRadio/index.styled.d.ts +6 -1
  37. package/build/components/atoms/pagination/index.d.ts +1 -1
  38. package/build/components/atoms/pagination/index.styled.d.ts +14 -3
  39. package/build/components/atoms/pill/index.styled.d.ts +10 -2
  40. package/build/components/atoms/progress/index.styled.d.ts +6 -1
  41. package/build/components/atoms/pureInput/index.styled.d.ts +22 -5
  42. package/build/components/atoms/radio/index.styled.d.ts +6 -1
  43. package/build/components/atoms/radioImageGroup/index.styled.d.ts +10 -2
  44. package/build/components/atoms/rateStars/index.styled.d.ts +5 -1
  45. package/build/components/atoms/shadow/index.styled.d.ts +5 -1
  46. package/build/components/atoms/tag/index.styled.d.ts +6 -1
  47. package/build/components/atoms/toggle/index.styled.d.ts +18 -4
  48. package/build/components/atoms/underlinedLink/index.styled.d.ts +6 -1
  49. package/build/components/atoms/uploader/index.styled.d.ts +18 -4
  50. package/build/components/babyGrowth/babyGrowthChart/index.styled.d.ts +5 -1
  51. package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.styled.d.ts +8 -2
  52. package/build/components/babyGrowth/babyGrowthForm/index.styled.d.ts +41 -7
  53. package/build/components/babyGrowth/babyGrowthGender/index.styled.d.ts +7 -2
  54. package/build/components/babyGrowth/babyGrowthLegend/index.styled.d.ts +9 -2
  55. package/build/components/babyGrowth/babyGrowthProfileRadio/index.styled.d.ts +6 -1
  56. package/build/components/babyGrowth/babyGrowthRecord/index.styled.d.ts +5 -1
  57. package/build/components/babyGrowth/babyGrowthSwitch/index.styled.d.ts +6 -1
  58. package/build/components/babyGrowth/babyGrowthTooltip/index.styled.d.ts +5 -1
  59. package/build/components/babyGrowth/childCard/index.styled.d.ts +15 -3
  60. package/build/components/mantine/accordion/index.styled.d.ts +5 -3
  61. package/build/components/mantine/aspectRatio/index.styled.d.ts +5 -1
  62. package/build/components/mantine/breadcrumbs/index.styled.d.ts +5 -1
  63. package/build/components/mantine/button/index.styled.d.ts +5 -1
  64. package/build/components/mantine/datepicker/index.styled.d.ts +6 -2
  65. package/build/components/mantine/modal/index.styled.d.ts +3 -2
  66. package/build/components/mantine/slider/index.styled.d.ts +14 -2
  67. package/build/components/mantine/text/index.d.ts +1 -1
  68. package/build/components/mantine/text/index.styled.d.ts +3 -8
  69. package/build/components/mantine/textArea/index.styled.d.ts +3 -1
  70. package/build/components/molecules/articleCard/index.d.ts +1 -1
  71. package/build/components/molecules/bmiForm/index.styled.d.ts +48 -6
  72. package/build/components/molecules/bmrForm/index.styled.d.ts +43 -5
  73. package/build/components/molecules/carousel/index.styled.d.ts +14 -3
  74. package/build/components/molecules/categoryCard/index.d.ts +1 -1
  75. package/build/components/molecules/categoryCard/index.styled.d.ts +6 -1
  76. package/build/components/molecules/checkboxGroup/index.styled.d.ts +5 -1
  77. package/build/components/molecules/cookieAcceptConfirm/index.styled.d.ts +27 -8
  78. package/build/components/molecules/datePicker/index.styled.d.ts +10 -2
  79. package/build/components/molecules/dateRangePicker/calendar/index.styled.d.ts +62 -13
  80. package/build/components/molecules/dateRangePicker/index.styled.d.ts +10 -2
  81. package/build/components/molecules/dropdown/index.d.ts +1 -1
  82. package/build/components/molecules/dropdown/index.styled.d.ts +20 -12
  83. package/build/components/molecules/dropdownSearch/index.styled.d.ts +28 -7
  84. package/build/components/molecules/dueDateCalculator/index.styled.d.ts +34 -6
  85. package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +12 -4
  86. package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.styled.d.ts +47 -15
  87. package/build/components/molecules/embeddedHeathToolCards/index.styled.d.ts +16 -4
  88. package/build/components/molecules/floatButtonGroup/index.d.ts +1 -1
  89. package/build/components/molecules/floatButtonGroup/index.styled.d.ts +34 -8
  90. package/build/components/molecules/iconText/index.styled.d.ts +6 -1
  91. package/build/components/molecules/languageSwitcher/index.styled.d.ts +6 -1
  92. package/build/components/molecules/languageSwitcher/tooltipSelection/index.d.ts +1 -1
  93. package/build/components/molecules/languageSwitcher/tooltipSelection/index.styled.d.ts +22 -5
  94. package/build/components/molecules/mobileBottomNavigation/index.styled.d.ts +23 -7
  95. package/build/components/molecules/modal/index.styled.d.ts +18 -4
  96. package/build/components/molecules/pillCarousel/index.styled.d.ts +24 -3
  97. package/build/components/molecules/popup/index.styled.d.ts +10 -2
  98. package/build/components/molecules/progressBar/index.styled.d.ts +50 -12
  99. package/build/components/molecules/radioGroup/index.styled.d.ts +5 -1
  100. package/build/components/molecules/radioImageGroupForTool/index.styled.d.ts +10 -2
  101. package/build/components/molecules/scrollList/index.styled.d.ts +6 -1
  102. package/build/components/molecules/shareContainer/index.styled.d.ts +6 -1
  103. package/build/components/molecules/shareDrawer/index.styled.d.ts +6 -1
  104. package/build/components/molecules/starsRatingBox/index.styled.d.ts +17 -4
  105. package/build/components/molecules/statisticCard/index.styled.d.ts +18 -4
  106. package/build/components/molecules/surveyQuestionCard/index.styled.d.ts +22 -4
  107. package/build/components/molecules/tabs/index.d.ts +1 -1
  108. package/build/components/molecules/tabs/index.styled.d.ts +18 -4
  109. package/build/components/molecules/thrForm/index.styled.d.ts +47 -6
  110. package/build/components/molecules/toolBannerCard/index.styled.d.ts +64 -17
  111. package/build/components/molecules/weightGainForm/index.styled.d.ts +82 -20
  112. package/build/components/onboarding/dynamicForm/index.styled.d.ts +5 -1
  113. package/build/components/onboarding/onboardingForm/index.styled.d.ts +7 -1
  114. package/build/components/onboarding/onboardingModal/index.styled.d.ts +29 -7
  115. package/build/components/onboarding/otpForm/index.styled.d.ts +7 -1
  116. package/build/components/onboarding/personalInfoForm/index.styled.d.ts +5 -1
  117. package/build/components/organisms/heroBannerHealthTool/index.styled.d.ts +41 -10
  118. package/build/components/organisms/navigationLogoutPopup/index.styled.d.ts +10 -2
  119. package/build/components/organisms/navigationProfileButton/index.styled.d.ts +30 -7
  120. package/build/components/organisms/navigationV2/components/molecules/Categories/index.styled.d.ts +30 -7
  121. package/build/components/organisms/navigationV2/components/molecules/Spotlights/index.styled.d.ts +14 -3
  122. package/build/components/organisms/navigationV2/components/molecules/menuCareList/Item/index.styled.d.ts +34 -8
  123. package/build/components/organisms/navigationV2/components/molecules/menuCareList/index.styled.d.ts +10 -2
  124. package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +14 -3
  125. package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/index.styled.d.ts +13 -3
  126. package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.styled.d.ts +46 -11
  127. package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.styled.d.ts +14 -3
  128. package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/Item/index.styled.d.ts +26 -6
  129. package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.styled.d.ts +34 -8
  130. package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/index.styled.d.ts +9 -2
  131. package/build/components/organisms/navigationV2/components/molecules/menuServiceList/index.styled.d.ts +82 -23
  132. package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.styled.d.ts +34 -8
  133. package/build/components/organisms/navigationV2/components/molecules/spotlightNoData/index.styled.d.ts +22 -5
  134. package/build/components/organisms/navigationV2/index.styled.d.ts +13 -3
  135. package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/index.styled.d.ts +13 -3
  136. package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/index.styled.d.ts +5 -1
  137. package/build/components/ui/onboarding/index.styled.d.ts +11 -3
  138. package/build/components/vaccination/vaccineCard/index.styled.d.ts +17 -4
  139. package/build/components/vaccination/vaccineImmunization/index.styled.d.ts +9 -2
  140. package/build/components/vaccination/vaccineRecordsByAgeGroup/index.styled.d.ts +21 -5
  141. package/build/components/vaccination/vaccineTimelineBanner/index.styled.d.ts +5 -1
  142. package/build/components.js +1 -1
  143. package/build/constants.js +1 -1
  144. package/build/{core-7964667c.js → core-55389834.js} +1 -1
  145. package/build/{dataTransform-a757793a.js → dataTransform-70b7b942.js} +1 -1
  146. package/build/ecom.js +1 -1
  147. package/build/esm/babyGrowth.js +4 -4
  148. package/build/esm/cache.js +1 -1
  149. package/build/esm/care.js +1 -1
  150. package/build/esm/components.js +1 -1
  151. package/build/esm/constants.js +1 -1
  152. package/build/esm/{core-95706543.js → core-67f774bb.js} +1 -1
  153. package/build/esm/{dataTransform-cf0fb9c7.js → dataTransform-afe529c5.js} +1 -1
  154. package/build/esm/ecom.js +1 -1
  155. package/build/esm/footer.js +1 -1
  156. package/build/esm/gAssets.js +1 -1
  157. package/build/esm/{getDynamicHealthTool-cd374f61.js → getDynamicHealthTool-3255be64.js} +1 -1
  158. package/build/esm/{getSocialList-85aef4f0.js → getSocialList-1c143418.js} +1 -1
  159. package/build/esm/hooks.js +1 -1
  160. package/build/esm/i18n.js +1 -1
  161. package/build/esm/index-0aba009c.js +1 -0
  162. package/build/esm/{index-a0d011f1.js → index-14899cba.js} +25 -25
  163. package/build/esm/{index-ca96531f.js → index-23461c13.js} +1 -1
  164. package/build/esm/index-3c7f6ffc.js +1 -0
  165. package/build/esm/{index-f77ce838.js → index-51c34386.js} +1 -1
  166. package/build/esm/{index-7a7118d3.js → index-5311efac.js} +1 -1
  167. package/build/esm/{index-3b0fce57.js → index-566d4e11.js} +1 -1
  168. package/build/esm/index-65ff2e46.js +1 -0
  169. package/build/esm/{index-29debda3.js → index-7603f5c8.js} +1 -1
  170. package/build/esm/{index-9661adcc.js → index-7e1f6511.js} +1 -1
  171. package/build/esm/{index-444c54e8.js → index-88b7628a.js} +1 -1
  172. package/build/esm/{index-2afe444d.js → index-89514194.js} +1 -1
  173. package/build/esm/index-9a5ceed1.js +1 -0
  174. package/build/esm/{index-b62c82fc.js → index-9b489657.js} +1 -1
  175. package/build/esm/{index-a0c63c57.js → index-a78d9888.js} +6 -6
  176. package/build/esm/{index-8ab1eb7f.js → index-a7de3367.js} +1 -1
  177. package/build/esm/{index-e857a5ac.js → index-bc8279aa.js} +1 -1
  178. package/build/esm/{index-504a1112.js → index-c3e7ac4e.js} +1 -1
  179. package/build/esm/{index-f4b06d8f.js → index-cf3b2063.js} +4 -4
  180. package/build/esm/{index-15131177.js → index-d29a2bc2.js} +1 -1
  181. package/build/esm/index-edf4724e.js +1 -0
  182. package/build/esm/index-ee1505c6.js +1 -0
  183. package/build/esm/{index-9f42b4de.js → index-fa88e322.js} +10 -10
  184. package/build/esm/index.js +1 -1
  185. package/build/esm/{index.styled-454ee66b.js → index.styled-14d557d6.js} +207 -201
  186. package/build/esm/{index.styled-d258e31d.js → index.styled-c52c24ef.js} +168 -162
  187. package/build/esm/{index.styled-8a4b4ddf.js → index.styled-caa3a9c9.js} +6 -6
  188. package/build/esm/{index.styled-0e438444.js → index.styled-e63583aa.js} +77 -62
  189. package/build/esm/{index.styled-25364fb7.js → index.styled-f22d6816.js} +3 -3
  190. package/build/esm/lead.js +1 -1
  191. package/build/esm/mantine.js +1 -1
  192. package/build/esm/misc.js +1 -1
  193. package/build/esm/navigation.js +1 -1
  194. package/build/esm/onboarding.js +1 -1
  195. package/build/esm/pwg.js +3 -3
  196. package/build/esm/{routing-afa553c2.js → routing-512ce598.js} +1 -1
  197. package/build/esm/{screenSizeContext-69c1b801.js → screenSizeContext-ca566cf0.js} +6 -6
  198. package/build/esm/together.js +1 -1
  199. package/build/esm/{translationsProvider-8b00bf7c.js → translationsProvider-9da1f72d.js} +1 -1
  200. package/build/esm/{types-b57be08b.js → types-cc5fdb3d.js} +84 -85
  201. package/build/esm/{types-ac16d6ba.js → types-fc4a2521.js} +70 -70
  202. package/build/esm/types.js +1 -1
  203. package/build/esm/useHealthToolCache-7c3e370a.js +1 -0
  204. package/build/esm/{useRafState-3cbcace7.js → useRafState-aaa521f7.js} +1 -1
  205. package/build/esm/{useScreenSize-a091dd7c.js → useScreenSize-5a05b01d.js} +1 -1
  206. package/build/esm/{useTranslations-28bde0c8.js → useTranslations-8dc2d7f1.js} +1 -1
  207. package/build/esm/{utils-8c3a1c96.js → utils-66624bdf.js} +21 -21
  208. package/build/esm/vaccination.js +41 -41
  209. package/build/footer.js +1 -1
  210. package/build/gAssets.js +1 -1
  211. package/build/{getDynamicHealthTool-ce438188.js → getDynamicHealthTool-4a8d8ee8.js} +1 -1
  212. package/build/{getSocialList-59ef47c1.js → getSocialList-f416948f.js} +1 -1
  213. package/build/hooks.js +1 -1
  214. package/build/i18n.js +1 -1
  215. package/build/{index-ebf0cc32.js → index-03c84548.js} +1 -1
  216. package/build/index-0f3b0cb0.js +1 -0
  217. package/build/{index-c7be2d69.js → index-186ea291.js} +1 -1
  218. package/build/{index-b00ed3b1.js → index-19bc87f2.js} +1 -1
  219. package/build/{index-4bb962f2.js → index-21a94271.js} +1 -1
  220. package/build/{index-f7bfded7.js → index-2b99cb56.js} +1 -1
  221. package/build/{index-7d36a8ef.js → index-47e524cf.js} +1 -1
  222. package/build/{index-83ff3e29.js → index-6d03f207.js} +1 -1
  223. package/build/{index-a82a107e.js → index-6df60e3a.js} +1 -1
  224. package/build/{index-7c67b504.js → index-7870dbf2.js} +4 -4
  225. package/build/index-87604a48.js +115 -0
  226. package/build/{index-a5449716.js → index-90f3fe11.js} +23 -23
  227. package/build/{index-71c533ab.js → index-a5c04582.js} +1 -1
  228. package/build/{index-e1a7969c.js → index-aeb07a92.js} +1 -1
  229. package/build/{index-8dfa98a1.js → index-beb9b379.js} +1 -1
  230. package/build/{index-dd72272b.js → index-c365b655.js} +1 -1
  231. package/build/{index-5d53b0d7.js → index-c4aed41e.js} +1 -1
  232. package/build/{index-30f67564.js → index-c78fad9d.js} +1 -1
  233. package/build/index-c7c3220f.js +1 -0
  234. package/build/{index-bb2251e5.js → index-cfb03666.js} +1 -1
  235. package/build/{index-c91de6e1.js → index-d1cbce13.js} +1 -1
  236. package/build/index-d6eecf53.js +1 -0
  237. package/build/{index-1644ad70.js → index-d8e712d6.js} +1 -1
  238. package/build/index.js +1 -1
  239. package/build/{index.styled-5d3ffb36.js → index.styled-013215b0.js} +222 -216
  240. package/build/{index.styled-fd333b18.js → index.styled-2b48824e.js} +101 -95
  241. package/build/index.styled-4821c538.js +1264 -0
  242. package/build/index.styled-83405234.js +50 -0
  243. package/build/{index.styled-1727d883.js → index.styled-b683af18.js} +1 -1
  244. package/build/lead.js +1 -1
  245. package/build/mantine.js +1 -1
  246. package/build/misc/animation.d.ts +9 -9
  247. package/build/misc/theme.d.ts +1 -1
  248. package/build/misc.js +1 -1
  249. package/build/navigation.js +1 -1
  250. package/build/onboarding.js +1 -1
  251. package/build/pwg.js +2 -2
  252. package/build/{routing-99530bda.js → routing-01f2972b.js} +1 -1
  253. package/build/screenSizeContext-7024419e.js +81 -0
  254. package/build/together/components/atoms/cardLink/index.styled.d.ts +6 -2
  255. package/build/together/components/atoms/labelSortPin/index.styled.d.ts +6 -1
  256. package/build/together/components/atoms/loading/index.styled.d.ts +10 -2
  257. package/build/together/components/atoms/notificationBar/index.styled.d.ts +18 -5
  258. package/build/together/components/atoms/sensitiveMask/index.styled.d.ts +13 -3
  259. package/build/together/components/atoms/tagTopic/index.styled.d.ts +5 -1
  260. package/build/together/components/atoms/userAvatar/index.styled.d.ts +6 -2
  261. package/build/together/components/molecules/createNewPostContent/index.styled.d.ts +14 -3
  262. package/build/together/components/molecules/createPostDescription/index.styled.d.ts +10 -2
  263. package/build/together/components/molecules/createPostTitle/index.styled.d.ts +6 -1
  264. package/build/together/components/molecules/inputCommentBar/index.styled.d.ts +6 -1
  265. package/build/together/components/molecules/popupDanger/index.styled.d.ts +6 -1
  266. package/build/together/components/molecules/popupDoctor/index.styled.d.ts +34 -8
  267. package/build/together/components/molecules/popupExpert/index.styled.d.ts +30 -7
  268. package/build/together/components/molecules/popupFrame/index.styled.d.ts +10 -3
  269. package/build/together/components/molecules/popupFrame/popupShare.d.ts +5 -1
  270. package/build/together/components/molecules/popupHospital/index.styled.d.ts +30 -7
  271. package/build/together/components/molecules/postContent/index.styled.d.ts +6 -2
  272. package/build/together/components/molecules/postImagePreview/index.styled.d.ts +11 -3
  273. package/build/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.styled.d.ts +21 -5
  274. package/build/together/components/molecules/shareBox/index.styled.d.ts +9 -2
  275. package/build/together/components/molecules/socialLinkPreview/index.styled.d.ts +6 -2
  276. package/build/together/components/molecules/submitReportForm/index.d.ts +1 -1
  277. package/build/together/components/molecules/submitReportForm/index.styled.d.ts +5 -1
  278. package/build/together/components/molecules/topicSelectList/index.styled.d.ts +6 -1
  279. package/build/together/components/organisms/cardPost/index.styled.d.ts +6 -1
  280. package/build/together/components/organisms/cardReply/index.styled.d.ts +13 -2
  281. package/build/together/components/organisms/popoverMenu/index.styled.d.ts +10 -2
  282. package/build/together/components/organisms/sourceList/index.styled.d.ts +21 -5
  283. package/build/together/components/organisms/sourceList/recommentCategories/index.styled.d.ts +26 -6
  284. package/build/together/components/organisms/sourceList/sourceItem/index.styled.d.ts +9 -2
  285. package/build/together.js +1 -1
  286. package/build/{translationsProvider-f3f088d3.js → translationsProvider-6bd6fd86.js} +1 -1
  287. package/build/{types-8a958d33.js → types-ccf3d3fe.js} +70 -70
  288. package/build/{types-6cf6df68.js → types-f9b113e4.js} +84 -85
  289. package/build/types.js +1 -1
  290. package/build/useHealthToolCache-6fcbf0d4.js +1 -0
  291. package/build/{useRafState-612232ad.js → useRafState-50cad379.js} +1 -1
  292. package/build/{useScreenSize-7cf50bd3.js → useScreenSize-64a6a465.js} +1 -1
  293. package/build/useTranslations-dcd5faaf.js +1 -0
  294. package/build/{utils-baba8178.js → utils-5293923c.js} +14 -14
  295. package/build/vaccination.js +34 -34
  296. package/package.json +4 -6
  297. package/build/esm/index-054b8e5b.js +0 -1
  298. package/build/esm/index-21246326.js +0 -1
  299. package/build/esm/index-5085e79e.js +0 -1
  300. package/build/esm/index-51475f98.js +0 -1
  301. package/build/esm/index-6deffafa.js +0 -1
  302. package/build/esm/index-75c2a8af.js +0 -1
  303. package/build/esm/useHealthToolCache-d6d7b5bf.js +0 -1
  304. package/build/index-2c4c22e7.js +0 -1
  305. package/build/index-563ae4f7.js +0 -115
  306. package/build/index-96f7fe82.js +0 -1
  307. package/build/index-a925c09d.js +0 -1
  308. package/build/index.styled-2eda571c.js +0 -50
  309. package/build/index.styled-b140e328.js +0 -1249
  310. package/build/screenSizeContext-7fb4a1fc.js +0 -81
  311. package/build/useHealthToolCache-854f8c61.js +0 -1
  312. package/build/useTranslations-67ff5fd7.js +0 -1
  313. /package/build/{BMI_BOYS.percentile.monthly-7a282aba.js → BMI_BOYS.percentile.monthly-746896e1.js} +0 -0
  314. /package/build/{BMI_BOYS.percentile.weekly-10e04207.js → BMI_BOYS.percentile.weekly-549c1d33.js} +0 -0
  315. /package/build/{BMI_BOYS.percentile.yearly-c4046843.js → BMI_BOYS.percentile.yearly-d50e8a21.js} +0 -0
  316. /package/build/{BMI_BOYS.zscore.monthly-f1e330d5.js → BMI_BOYS.zscore.monthly-754b03bc.js} +0 -0
  317. /package/build/{BMI_BOYS.zscore.weekly-4abfc857.js → BMI_BOYS.zscore.weekly-19b01c4b.js} +0 -0
  318. /package/build/{BMI_BOYS.zscore.yearly-305e1648.js → BMI_BOYS.zscore.yearly-cad5ae00.js} +0 -0
  319. /package/build/{BMI_GIRLS.percentile.monthly-5abf0c52.js → BMI_GIRLS.percentile.monthly-96a83d9b.js} +0 -0
  320. /package/build/{BMI_GIRLS.percentile.weekly-25ca97f1.js → BMI_GIRLS.percentile.weekly-32642a7e.js} +0 -0
  321. /package/build/{BMI_GIRLS.percentile.yearly-40014298.js → BMI_GIRLS.percentile.yearly-5ec13e0d.js} +0 -0
  322. /package/build/{BMI_GIRLS.zscore.monthly-48bee52f.js → BMI_GIRLS.zscore.monthly-2f2da50f.js} +0 -0
  323. /package/build/{BMI_GIRLS.zscore.weekly-dd142cd1.js → BMI_GIRLS.zscore.weekly-bd13140b.js} +0 -0
  324. /package/build/{BMI_GIRLS.zscore.yearly-05198a56.js → BMI_GIRLS.zscore.yearly-8d180e01.js} +0 -0
  325. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-fd09613b.js → HEAD CIRCUM_BOYS.percentile.monthly-d4e262ae.js} +0 -0
  326. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-e0ac72aa.js → HEAD CIRCUM_BOYS.percentile.weekly-c3472d46.js} +0 -0
  327. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-48d4a960.js → HEAD CIRCUM_BOYS.percentile.yearly-a5b8b3d4.js} +0 -0
  328. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-be348b6f.js → HEAD CIRCUM_BOYS.zscore.monthly-a1294242.js} +0 -0
  329. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-8736363c.js → HEAD CIRCUM_BOYS.zscore.weekly-0dfa5861.js} +0 -0
  330. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-04fd06a7.js → HEAD CIRCUM_BOYS.zscore.yearly-159842e3.js} +0 -0
  331. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-87c64350.js → HEAD CIRCUM_GIRLS.percentile.monthly-60fe6d37.js} +0 -0
  332. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-c85177d2.js → HEAD CIRCUM_GIRLS.percentile.weekly-d7a21c52.js} +0 -0
  333. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-818f3db0.js → HEAD CIRCUM_GIRLS.percentile.yearly-0cb40c20.js} +0 -0
  334. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-84b2fca9.js → HEAD CIRCUM_GIRLS.zscore.monthly-bd617e3a.js} +0 -0
  335. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-1e65a0ae.js → HEAD CIRCUM_GIRLS.zscore.weekly-0c1bacc1.js} +0 -0
  336. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-946f07ec.js → HEAD CIRCUM_GIRLS.zscore.yearly-53157746.js} +0 -0
  337. /package/build/{HEIGHT_BOYS.percentile.monthly-b9a3c3f2.js → HEIGHT_BOYS.percentile.monthly-79277c17.js} +0 -0
  338. /package/build/{HEIGHT_BOYS.percentile.weekly-f63d2676.js → HEIGHT_BOYS.percentile.weekly-919f0291.js} +0 -0
  339. /package/build/{HEIGHT_BOYS.percentile.yearly-a8f01915.js → HEIGHT_BOYS.percentile.yearly-636e7eba.js} +0 -0
  340. /package/build/{HEIGHT_BOYS.zscore.monthly-2a27f4f4.js → HEIGHT_BOYS.zscore.monthly-696ef787.js} +0 -0
  341. /package/build/{HEIGHT_BOYS.zscore.weekly-abc37373.js → HEIGHT_BOYS.zscore.weekly-ff1bc0e5.js} +0 -0
  342. /package/build/{HEIGHT_BOYS.zscore.yearly-28f09a84.js → HEIGHT_BOYS.zscore.yearly-e66a6289.js} +0 -0
  343. /package/build/{HEIGHT_GIRLS.percentile.monthly-999072a7.js → HEIGHT_GIRLS.percentile.monthly-89ad6e1d.js} +0 -0
  344. /package/build/{HEIGHT_GIRLS.percentile.weekly-e8633792.js → HEIGHT_GIRLS.percentile.weekly-bd91475c.js} +0 -0
  345. /package/build/{HEIGHT_GIRLS.percentile.yearly-772dfd42.js → HEIGHT_GIRLS.percentile.yearly-ceeb123a.js} +0 -0
  346. /package/build/{HEIGHT_GIRLS.zscore.monthly-3aa8c643.js → HEIGHT_GIRLS.zscore.monthly-541ab88d.js} +0 -0
  347. /package/build/{HEIGHT_GIRLS.zscore.weekly-8ed92387.js → HEIGHT_GIRLS.zscore.weekly-2ce2be45.js} +0 -0
  348. /package/build/{HEIGHT_GIRLS.zscore.yearly-c7e8d790.js → HEIGHT_GIRLS.zscore.yearly-73cb3fab.js} +0 -0
  349. /package/build/{Onboarding-a9752a1e.js → Onboarding-5cc2a17c.js} +0 -0
  350. /package/build/{Visible-b40d9424.js → Visible-b193472c.js} +0 -0
  351. /package/build/{WEIGHT_BOYS.percentile.monthly-e419807d.js → WEIGHT_BOYS.percentile.monthly-d4743ffb.js} +0 -0
  352. /package/build/{WEIGHT_BOYS.percentile.weekly-7c63d748.js → WEIGHT_BOYS.percentile.weekly-94356178.js} +0 -0
  353. /package/build/{WEIGHT_BOYS.percentile.yearly-c8c5b4a4.js → WEIGHT_BOYS.percentile.yearly-929dea5b.js} +0 -0
  354. /package/build/{WEIGHT_BOYS.zscore.monthly-a65cfe7d.js → WEIGHT_BOYS.zscore.monthly-9a933ddc.js} +0 -0
  355. /package/build/{WEIGHT_BOYS.zscore.weekly-49ed1268.js → WEIGHT_BOYS.zscore.weekly-2952a5e8.js} +0 -0
  356. /package/build/{WEIGHT_BOYS.zscore.yearly-529ab7a9.js → WEIGHT_BOYS.zscore.yearly-24e14384.js} +0 -0
  357. /package/build/{WEIGHT_GIRLS.percentile.monthly-d8c7ca39.js → WEIGHT_GIRLS.percentile.monthly-780275fd.js} +0 -0
  358. /package/build/{WEIGHT_GIRLS.percentile.weekly-bbfe747c.js → WEIGHT_GIRLS.percentile.weekly-cfce9dd3.js} +0 -0
  359. /package/build/{WEIGHT_GIRLS.percentile.yearly-e8cf12f5.js → WEIGHT_GIRLS.percentile.yearly-0246a7d0.js} +0 -0
  360. /package/build/{WEIGHT_GIRLS.zscore.monthly-fcd8eef8.js → WEIGHT_GIRLS.zscore.monthly-140a87f3.js} +0 -0
  361. /package/build/{WEIGHT_GIRLS.zscore.weekly-af37518c.js → WEIGHT_GIRLS.zscore.weekly-7f012807.js} +0 -0
  362. /package/build/{WEIGHT_GIRLS.zscore.yearly-cbea054d.js → WEIGHT_GIRLS.zscore.yearly-862904f4.js} +0 -0
  363. /package/build/{constants-8e23acc5.js → constants-df00bbe8.js} +0 -0
  364. /package/build/{cookieHelper-1befca91.js → cookieHelper-ec53b348.js} +0 -0
  365. /package/build/{dataTransform-9322331d.js → dataTransform-399500cc.js} +0 -0
  366. /package/build/esm/{BMI_BOYS.percentile.monthly-86b96db8.js → BMI_BOYS.percentile.monthly-f58464e0.js} +0 -0
  367. /package/build/esm/{BMI_BOYS.percentile.weekly-b939453e.js → BMI_BOYS.percentile.weekly-564c74d5.js} +0 -0
  368. /package/build/esm/{BMI_BOYS.percentile.yearly-bd93079e.js → BMI_BOYS.percentile.yearly-e4724afd.js} +0 -0
  369. /package/build/esm/{BMI_BOYS.zscore.monthly-b03fd08e.js → BMI_BOYS.zscore.monthly-3b552a68.js} +0 -0
  370. /package/build/esm/{BMI_BOYS.zscore.weekly-1a79e155.js → BMI_BOYS.zscore.weekly-50b183cf.js} +0 -0
  371. /package/build/esm/{BMI_BOYS.zscore.yearly-4dc31e3f.js → BMI_BOYS.zscore.yearly-bda89b3a.js} +0 -0
  372. /package/build/esm/{BMI_GIRLS.percentile.monthly-271d5073.js → BMI_GIRLS.percentile.monthly-05a7267c.js} +0 -0
  373. /package/build/esm/{BMI_GIRLS.percentile.weekly-ffd121bb.js → BMI_GIRLS.percentile.weekly-90ac2702.js} +0 -0
  374. /package/build/esm/{BMI_GIRLS.percentile.yearly-abcee9d5.js → BMI_GIRLS.percentile.yearly-a5b378d8.js} +0 -0
  375. /package/build/esm/{BMI_GIRLS.zscore.monthly-843ab3cd.js → BMI_GIRLS.zscore.monthly-a4aa4e80.js} +0 -0
  376. /package/build/esm/{BMI_GIRLS.zscore.weekly-48d06da6.js → BMI_GIRLS.zscore.weekly-facdb9e2.js} +0 -0
  377. /package/build/esm/{BMI_GIRLS.zscore.yearly-20eaf754.js → BMI_GIRLS.zscore.yearly-fe8fa330.js} +0 -0
  378. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-5c45d40c.js → HEAD CIRCUM_BOYS.percentile.monthly-ba0f562a.js} +0 -0
  379. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-12ba59be.js → HEAD CIRCUM_BOYS.percentile.weekly-27007b44.js} +0 -0
  380. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-cb961cb1.js → HEAD CIRCUM_BOYS.percentile.yearly-9abba796.js} +0 -0
  381. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-317f7dda.js → HEAD CIRCUM_BOYS.zscore.monthly-0ef54d5f.js} +0 -0
  382. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-b3b499d2.js → HEAD CIRCUM_BOYS.zscore.weekly-c5ef0930.js} +0 -0
  383. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-f8ce17c4.js → HEAD CIRCUM_BOYS.zscore.yearly-7f106b4f.js} +0 -0
  384. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-955c6ba6.js → HEAD CIRCUM_GIRLS.percentile.monthly-19305934.js} +0 -0
  385. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-cd74a2b6.js → HEAD CIRCUM_GIRLS.percentile.weekly-e7f0b580.js} +0 -0
  386. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-811eaae5.js → HEAD CIRCUM_GIRLS.percentile.yearly-fe0cf7c6.js} +0 -0
  387. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-2bf5508c.js → HEAD CIRCUM_GIRLS.zscore.monthly-d5a1b65a.js} +0 -0
  388. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-14dc2d19.js → HEAD CIRCUM_GIRLS.zscore.weekly-791e9a80.js} +0 -0
  389. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-1a17b378.js → HEAD CIRCUM_GIRLS.zscore.yearly-c8a3a756.js} +0 -0
  390. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-17b2a528.js → HEIGHT_BOYS.percentile.monthly-4c9f9b31.js} +0 -0
  391. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-65bb52d1.js → HEIGHT_BOYS.percentile.weekly-cc35c6c6.js} +0 -0
  392. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-01a3883f.js → HEIGHT_BOYS.percentile.yearly-4b490d6f.js} +0 -0
  393. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9e5a22b0.js → HEIGHT_BOYS.zscore.monthly-51d299ac.js} +0 -0
  394. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-d4595085.js → HEIGHT_BOYS.zscore.weekly-dec5727a.js} +0 -0
  395. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-8d86e8a0.js → HEIGHT_BOYS.zscore.yearly-2000cee9.js} +0 -0
  396. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-ee22285f.js → HEIGHT_GIRLS.percentile.monthly-e8cf171b.js} +0 -0
  397. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-bcda10c0.js → HEIGHT_GIRLS.percentile.weekly-5521e5ce.js} +0 -0
  398. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-21ac9d8e.js → HEIGHT_GIRLS.percentile.yearly-c918be57.js} +0 -0
  399. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-e0856df4.js → HEIGHT_GIRLS.zscore.monthly-dae60fc0.js} +0 -0
  400. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-c8596758.js → HEIGHT_GIRLS.zscore.weekly-354de0e9.js} +0 -0
  401. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-d5c8b679.js → HEIGHT_GIRLS.zscore.yearly-50917d4e.js} +0 -0
  402. /package/build/esm/{Onboarding-bde86be4.js → Onboarding-5d4e7e9a.js} +0 -0
  403. /package/build/esm/{Visible-716a3d0f.js → Visible-e6dd1326.js} +0 -0
  404. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4ef18180.js → WEIGHT_BOYS.percentile.monthly-aa1db45a.js} +0 -0
  405. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-9e97af18.js → WEIGHT_BOYS.percentile.weekly-30327865.js} +0 -0
  406. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-a6150b62.js → WEIGHT_BOYS.percentile.yearly-d672a7c3.js} +0 -0
  407. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-31204a88.js → WEIGHT_BOYS.zscore.monthly-ddee6555.js} +0 -0
  408. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-633742b9.js → WEIGHT_BOYS.zscore.weekly-d21e1269.js} +0 -0
  409. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-c0b6e3d6.js → WEIGHT_BOYS.zscore.yearly-60b3230b.js} +0 -0
  410. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-110b9c27.js → WEIGHT_GIRLS.percentile.monthly-cb60b265.js} +0 -0
  411. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f79942bd.js → WEIGHT_GIRLS.percentile.weekly-fedcd4ee.js} +0 -0
  412. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-a45065c7.js → WEIGHT_GIRLS.percentile.yearly-8f6f7c36.js} +0 -0
  413. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-0fa98783.js → WEIGHT_GIRLS.zscore.monthly-77c625da.js} +0 -0
  414. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-639d8255.js → WEIGHT_GIRLS.zscore.weekly-fa03edd8.js} +0 -0
  415. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-7dacffad.js → WEIGHT_GIRLS.zscore.yearly-cf2103f8.js} +0 -0
  416. /package/build/esm/{constants-bcc51f42.js → constants-4cb2f84a.js} +0 -0
  417. /package/build/esm/{cookieHelper-bc585df3.js → cookieHelper-4e6ba518.js} +0 -0
  418. /package/build/esm/{dataTransform-2b345cfe.js → dataTransform-82943ba5.js} +0 -0
  419. /package/build/esm/{index-bc497df5.js → index-336463f4.js} +0 -0
  420. /package/build/esm/{index-45115c11.js → index-35d849db.js} +0 -0
  421. /package/build/esm/{isProduction-c9c12dc4.js → isProduction-c71511f1.js} +0 -0
  422. /package/build/esm/{localizeNumberFormat-61cdaf7e.js → localizeNumberFormat-0b291ceb.js} +0 -0
  423. /package/build/esm/{normalizeLink-591c4857.js → normalizeLink-2cfad1a9.js} +0 -0
  424. /package/build/esm/{theme-5dc1721d.js → theme-b3528b2a.js} +0 -0
  425. /package/build/esm/{translationsContext-064bb38b.js → translationsContext-b11db32c.js} +0 -0
  426. /package/build/esm/{tslib.es6-f47375bf.js → tslib.es6-23b16f13.js} +0 -0
  427. /package/build/esm/{types-cacceee6.js → types-96c6614a.js} +0 -0
  428. /package/build/esm/{useIsInit-73a227f7.js → useIsInit-9d185760.js} +0 -0
  429. /package/build/esm/{useOutsideClick-39d12d1d.js → useOutsideClick-29382783.js} +0 -0
  430. /package/build/esm/{useScrollbarSize-675cb98e.js → useScrollbarSize-0042aed8.js} +0 -0
  431. /package/build/esm/{useUniqueId-47cb1a07.js → useUniqueId-694cc229.js} +0 -0
  432. /package/build/esm/{utils-8267fbe3.js → utils-c64cd3c4.js} +0 -0
  433. /package/build/{index-908f8d03.js → index-7847235b.js} +0 -0
  434. /package/build/{index-80036992.js → index-7b41fe1c.js} +0 -0
  435. /package/build/{isProduction-92a16cc8.js → isProduction-0fdd7dfe.js} +0 -0
  436. /package/build/{localizeNumberFormat-1d4c79c3.js → localizeNumberFormat-669c1994.js} +0 -0
  437. /package/build/{normalizeLink-4a79e40d.js → normalizeLink-c6de1786.js} +0 -0
  438. /package/build/{theme-9f4ef46a.js → theme-54f4dde4.js} +0 -0
  439. /package/build/{translationsContext-a6d61cf7.js → translationsContext-06f43813.js} +0 -0
  440. /package/build/{tslib.es6-4592208b.js → tslib.es6-d2b93cc7.js} +0 -0
  441. /package/build/{types-12567394.js → types-0592baab.js} +0 -0
  442. /package/build/{useIsInit-0334145e.js → useIsInit-2036ba02.js} +0 -0
  443. /package/build/{useOutsideClick-9494c75a.js → useOutsideClick-8d51030b.js} +0 -0
  444. /package/build/{useScrollbarSize-a4b77979.js → useScrollbarSize-a5835e05.js} +0 -0
  445. /package/build/{useUniqueId-cc919dcd.js → useUniqueId-bf27367e.js} +0 -0
  446. /package/build/{utils-d83c1891.js → utils-d555597e.js} +0 -0
package/build/types.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Onboarding-a9752a1e.js");Object.defineProperty(exports,"BabyGrowthChartDuration",{enumerable:!0,get:function(){return e.BabyGrowthChartDuration}}),Object.defineProperty(exports,"BabyGrowthChartType",{enumerable:!0,get:function(){return e.BabyGrowthChartType}}),Object.defineProperty(exports,"BabyGrowthResultTab",{enumerable:!0,get:function(){return e.BabyGrowthResultTab}}),Object.defineProperty(exports,"Gender",{enumerable:!0,get:function(){return e.Gender}}),Object.defineProperty(exports,"LOCALE",{enumerable:!0,get:function(){return e.LOCALE}}),Object.defineProperty(exports,"OnboardingStep",{enumerable:!0,get:function(){return e.OnboardingStep}});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Onboarding-5cc2a17c.js");Object.defineProperty(exports,"BabyGrowthChartDuration",{enumerable:!0,get:function(){return e.BabyGrowthChartDuration}}),Object.defineProperty(exports,"BabyGrowthChartType",{enumerable:!0,get:function(){return e.BabyGrowthChartType}}),Object.defineProperty(exports,"BabyGrowthResultTab",{enumerable:!0,get:function(){return e.BabyGrowthResultTab}}),Object.defineProperty(exports,"Gender",{enumerable:!0,get:function(){return e.Gender}}),Object.defineProperty(exports,"LOCALE",{enumerable:!0,get:function(){return e.LOCALE}}),Object.defineProperty(exports,"OnboardingStep",{enumerable:!0,get:function(){return e.OnboardingStep}});
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./tslib.es6-d2b93cc7.js"),t=require("react"),a=require("./getDynamicHealthTool-4a8d8ee8.js");exports.useHealthToolsCache=o=>{const[i,l]=t.useState([]);t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){const e=yield a.getDynamicHealthToolWithCache(o);l(e)}))}),[a.getDynamicHealthToolWithCache,o]);const c=t.useCallback((e=>{var t;return(null===(t=i.find((t=>t.template===e)))||void 0===t?void 0:t.link)||""}),[i]);return{allTools:i,getHealthToolLink:c}};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-4592208b.js"),t=require("react"),r=require("./cookieHelper-1befca91.js"),n=require("./useUniqueId-cc919dcd.js");function i(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}exports.useFbDataLayer=n=>{const a=t.useRef("");t.useEffect((()=>(e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,o,u,c;if(!a.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),a.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(o=a.current)||void 0===o?void 0:o.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==n?void 0:n.id){const[e,t,a,o,l,s]=yield Promise.all([n.email?i(n.email):null,n.phone?i(n.phone):null,n.birthday?i(n.birthday.split("-").join("")):null,n.gender?"m":"f",n.city_name?i(n.city_name).then((e=>e.replace(/\s/g,""))):null,n.name?i(n.name):null]);r.getCookie("_fbc"),r.getCookie("_fbp");const d={user_id:n.id};s&&(d.fn=s),e&&(d.em=e),t&&(d.ph=t),a&&(d.db=a),l&&(d.ct=l),null===(c=null===(u=window.localStorage)||void 0===u?void 0:u.setItem)||void 0===c||c.call(u,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[n])},exports.usePrevious=e=>{const r=t.useRef(),i=t.useRef(e);return n.useInitialMount()||i.current===e||(r.current=i.current,i.current=e),r.current},exports.useRafState=e=>{const[r,n]=t.useState(e),i=t.useRef(0),a=t.useCallback((e=>{cancelAnimationFrame(i.current),i.current=requestAnimationFrame((()=>{n(e)}))}),[]);return t.useEffect((()=>()=>cancelAnimationFrame(i.current))),[r,a]};
1
+ "use strict";var e=require("./tslib.es6-d2b93cc7.js"),t=require("react"),r=require("./cookieHelper-ec53b348.js"),n=require("./useUniqueId-bf27367e.js");function i(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}exports.useFbDataLayer=n=>{const o=t.useRef("");t.useEffect((()=>(e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,a,u,l;if(!o.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),o.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(a=o.current)||void 0===a?void 0:a.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==n?void 0:n.id){const[e,t,o,a,c,s]=yield Promise.all([n.email?i(n.email):null,n.phone?i(n.phone):null,n.birthday?i(n.birthday.split("-").join("")):null,n.gender?"m":"f",n.city_name?i(n.city_name).then((e=>e.replace(/\s/g,""))):null,n.name?i(n.name):null]);r.getCookie("_fbc"),r.getCookie("_fbp");const d={user_id:n.id};s&&(d.fn=s),e&&(d.em=e),t&&(d.ph=t),o&&(d.db=o),c&&(d.ct=c),null===(l=null===(u=window.localStorage)||void 0===u?void 0:u.setItem)||void 0===l||l.call(u,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[n])},exports.usePrevious=e=>{const r=t.useRef(),i=t.useRef(e);return n.useInitialMount()||i.current===e||(r.current=i.current,i.current=e),r.current},exports.useRafState=e=>{const[r,n]=t.useState(e),i=t.useRef(0),o=t.useCallback((e=>{cancelAnimationFrame(i.current),i.current=requestAnimationFrame((()=>{n(e)}))}),[]);return t.useEffect((()=>()=>cancelAnimationFrame(i.current))),[r,o]};
@@ -1 +1 @@
1
- "use strict";var e=require("react"),i=require("./utils-d83c1891.js");const n=()=>"undefined"!=typeof window&&window.innerWidth<i.Breakpoints.BREAK_POINT_MOBILE,t=()=>"undefined"!=typeof window&&window.innerWidth>=i.Breakpoints.BREAK_POINT_MOBILE&&window.innerWidth<i.Breakpoints.BREAK_POINT_PC;exports.useScreenSize=()=>{const[i,r]=e.useState(n()),[s,o]=e.useState(t());return e.useEffect((()=>{const e=()=>{r(n()),o(t())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:i,isLargeMobile:s}};
1
+ "use strict";var e=require("react"),i=require("./utils-d555597e.js");const n=()=>"undefined"!=typeof window&&window.innerWidth<i.Breakpoints.BREAK_POINT_MOBILE,t=()=>"undefined"!=typeof window&&window.innerWidth>=i.Breakpoints.BREAK_POINT_MOBILE&&window.innerWidth<i.Breakpoints.BREAK_POINT_PC;exports.useScreenSize=()=>{const[i,r]=e.useState(n()),[s,o]=e.useState(t());return e.useEffect((()=>{const e=()=>{r(n()),o(t())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:i,isLargeMobile:s}};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react"),t=require("./translationsContext-06f43813.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(require("string-format"));exports.useTranslations=function(){const{values:a,locale:o}=e.useContext(t.TranslationsContext)||{locale:"en-PH"};return e.useMemo((()=>({t:(e,r)=>a?a[e]?r?n.default(a[e]||e,r):a[e]||e:(console.warn(`[useTranslations] Missing translation for key ${e} and locale ${o}`),r?n.default(t.defaultTranslations[e]||e,r):t.defaultTranslations[e]||e):(console.error("[useTranslations] t method called before translation values are loaded"),e),locale:o})),[a,o])};
@@ -1,10 +1,10 @@
1
- "use strict";require("dayjs"),require("./screenSizeContext-7fb4a1fc.js");var e=require("react"),t=require("styled-components"),r=require("./theme-9f4ef46a.js"),n=require("./index-bb2251e5.js"),a=require("./utils-d83c1891.js");require("./isProduction-92a16cc8.js");var i=require("./Onboarding-a9752a1e.js");require("./gAssets.js");var o=require("./tslib.es6-4592208b.js"),s=require("@mantine/form");require("./index.styled-b140e328.js");var d=require("./index-c7be2d69.js"),l=require("@mantine/core");require("./index-a5449716.js");var u=require("./index-7c67b504.js");require("./index.styled-1727d883.js");var p=require("./useTranslations-67ff5fd7.js");require("./index-80036992.js");var m=require("./index-563ae4f7.js");require("./index-1644ad70.js"),require("@mantine/hooks"),require("lodash/debounce");var c=require("./Visible-b40d9424.js"),g=require("yup");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function f(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}require("./translationsContext-a6d61cf7.js"),require("string-format");var h=b(e),x=b(t),E=f(g);const L=e.createContext({}),[y,O,w]=s.createFormContext(),C=x.default.div`
1
+ "use strict";var e=require("@emotion/styled");require("dayjs"),require("./screenSizeContext-7024419e.js");var t=require("react");require("@emotion/react");var r=require("./theme-54f4dde4.js"),n=require("./index-cfb03666.js"),a=require("./utils-d555597e.js");require("./isProduction-0fdd7dfe.js");var i=require("./Onboarding-5cc2a17c.js");require("./gAssets.js");var o=require("./tslib.es6-d2b93cc7.js"),s=require("@mantine/form");require("./index.styled-4821c538.js");var d=require("./index-186ea291.js"),l=require("@mantine/core");require("./index-90f3fe11.js");var u=require("./index-7870dbf2.js");require("./index.styled-b683af18.js");var p=require("./useTranslations-dcd5faaf.js");require("./index-7b41fe1c.js");var c=require("./index-87604a48.js");require("./index-d8e712d6.js"),require("@mantine/hooks"),require("lodash/debounce");var m=require("./Visible-b193472c.js"),g=require("yup");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function f(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}require("./translationsContext-06f43813.js"),require("string-format");var h=b(e),x=b(t),E=f(g);const L=t.createContext({}),[y,O,w]=s.createFormContext(),C=h.default.div`
2
2
  margin-top: 70px;
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  align-items: center;
6
6
  justify-content: center;
7
- `,P=x.default(l.Container)`
7
+ `,P=h.default(l.Container)`
8
8
  &.hhg-comp-onboarding-container.hhg-comp-onboarding-container {
9
9
  display: flex;
10
10
  flex-direction: column;
@@ -45,22 +45,22 @@
45
45
  .form-button {
46
46
  width: 100%;
47
47
  }
48
- `,v=x.default.img`
48
+ `,v=h.default.img`
49
49
  margin-bottom: 38px;
50
- `,j=t=>{var a,{heading:i,description:s,children:d,className:p,imgSrc:c}=t,g=o.__rest(t,["heading","description","children","className","imgSrc"]);const{isMarryBaby:b,siteType:f}=e.useContext(L);return h.default.createElement(P,Object.assign({},g,{className:`hhg-comp-onboarding-container ${p}`,size:"sm"}),h.default.createElement(u.LogoIcon,{type:b?f:(null===(a=n.LOCALE_SPECS[process.env.UNIFY_LOCALE])||void 0===a?void 0:a.LOGO_TYPE)||"hellobacsi"}),h.default.createElement(C,null,c&&h.default.createElement(v,{src:c,loading:"lazy"}),h.default.createElement("div",{className:"header"},h.default.createElement(l.Title,{order:3},i),h.default.createElement(m.Text,{size:"p3",mt:8,color:r.theme.colors.gray600},s)),d))},q=x.default.div`
50
+ `,j=e=>{var a,{heading:i,description:s,children:d,className:p,imgSrc:m}=e,g=o.__rest(e,["heading","description","children","className","imgSrc"]);const{isMarryBaby:b,siteType:f}=t.useContext(L);return x.default.createElement(P,Object.assign({},g,{className:`hhg-comp-onboarding-container ${p}`,size:"sm"}),x.default.createElement(u.LogoIcon,{type:b?f:(null===(a=n.LOCALE_SPECS[process.env.UNIFY_LOCALE])||void 0===a?void 0:a.LOGO_TYPE)||"hellobacsi"}),x.default.createElement(C,null,m&&x.default.createElement(v,{src:m,loading:"lazy"}),x.default.createElement("div",{className:"header"},x.default.createElement(l.Title,{order:3},i),x.default.createElement(c.Text,{size:"p3",mt:8,color:r.theme.colors.gray600},s)),d))},q=h.default.div`
51
51
  position: fixed;
52
52
  inset: 0;
53
53
  z-index: 1000;
54
54
  background: white;
55
55
  overflow-y: auto;
56
- `,A=x.default.div`
56
+ `,A=h.default.div`
57
57
  height: 100%;
58
58
  ${a.MediaQueries.lgPcUp} {
59
59
  display: table;
60
60
  width: 100%;
61
61
  height: calc(100% - 25px);
62
62
  }
63
- `,M=x.default.div`
63
+ `,M=h.default.div`
64
64
  padding: 48px 24px 24px;
65
65
 
66
66
  ${a.MediaQueries.lgPcUp} {
@@ -70,7 +70,7 @@
70
70
  width: calc(100% - 640px);
71
71
  }
72
72
  }
73
- `,I=x.default.div`
73
+ `,I=h.default.div`
74
74
  width: 640px;
75
75
  padding: 16px 16px 0 16px;
76
76
  display: none;
@@ -79,7 +79,7 @@
79
79
  width: 640px;
80
80
  display: table-cell;
81
81
  }
82
- `,T=x.default.div`
82
+ `,T=h.default.div`
83
83
  background-color: ${r.theme.colors.primary50};
84
84
  border-radius: 12px;
85
85
  height: 100%;
@@ -90,13 +90,13 @@
90
90
  &[data-is-marry-baby='true'] {
91
91
  background-color: ${r.theme.mbColors.tonePink};
92
92
  }
93
- `,S=x.default.div`
93
+ `,S=h.default.div`
94
94
  margin-top: 40px;
95
95
  padding: 24px 40px;
96
- `,k=x.default.img`
96
+ `,k=h.default.img`
97
97
  width: 100%;
98
98
  display: block;
99
- `,N=x.default(j)`
99
+ `,N=h.default(j)`
100
100
  .phone-input {
101
101
  width: 100%;
102
102
  margin-bottom: 32px;
@@ -113,7 +113,7 @@
113
113
  border-radius: 0 4px 4px 0;
114
114
  }
115
115
  }
116
- `,z=x.default.div`
116
+ `,z=h.default.div`
117
117
  .phone-input {
118
118
  width: 100%;
119
119
  margin-bottom: 32px;
@@ -130,7 +130,7 @@
130
130
  border-radius: 0 4px 4px 0;
131
131
  }
132
132
  }
133
- `,B={[i.LOCALE.Vietnam]:"VN",[i.LOCALE.Cambodia]:"KH",[i.LOCALE.Indonesia]:"ID",[i.LOCALE.Malaysia]:"MY",[i.LOCALE.PhilippinesEnglish]:"PH",[i.LOCALE.PhilippinesTagalog]:"PH",[i.LOCALE.Taiwan]:"TW",[i.LOCALE.Thailand]:"TH",[i.LOCALE.Myanmar]:"MM"},D=({inputOrder:e=["phone"]})=>{const{t:t}=p.useTranslations(),r=O(),n=h.default.createElement("div",{className:"phone-input"},h.default.createElement(m.Phone,Object.assign({defaultCountry:B[process.env.UNIFY_LOCALE]||"VN"},r.getInputProps("phone"))),h.default.createElement(l.Input.Error,null,r.errors.phone)),a=h.default.createElement(m.Input,Object.assign({label:h.default.createElement(m.Text,{size:"s4",weight:"semiBold"},t("onboarding.formEmail.yourName")),withAsterisk:!0},r.getInputProps("name"))),i=h.default.createElement(m.Input,Object.assign({label:h.default.createElement(m.Text,{size:"s4",weight:"semiBold",span:!0},t("onboarding.formEmail.yourEmail")),withAsterisk:!0},r.getInputProps("email"))),o=h.default.createElement(m.DatePicker,Object.assign({label:h.default.createElement(m.Text,{size:"s4",weight:"semiBold",span:!0},t("onboarding.formEmail.yourBirthday")),placeholder:"DD/MM/YYYY"},r.getInputProps("dob"))),s=h.default.createElement(m.Radio.Group,Object.assign({className:"radio-group",label:h.default.createElement(m.Text,{size:"s4",weight:"semiBold",span:!0},t("bmi.selectGender"))},r.getInputProps("gender")),h.default.createElement(m.Radio,{value:"0",label:t("onboarding.formEmail.genderMale")}),h.default.createElement(m.Radio,{value:"1",label:t("onboarding.formEmail.genderFemale")})),d=h.default.createElement("div",{className:"otp-input"},h.default.createElement(m.OTP,Object.assign({enterKeyHint:void 0,nonce:void 0},r.getInputProps("otp"))),h.default.createElement(l.Input.Error,null,r.errors.otp)),u=h.default.createElement(m.Input.Password,Object.assign({label:h.default.createElement(m.Text,{size:"s4",weight:"semiBold",span:!0},t("onboarding.updatePassword.password")),withAsterisk:!0,rightSection:h.default.createElement(c.Visible,null)},r.getInputProps("password"))),g=h.default.createElement(m.Input.Password,Object.assign({label:h.default.createElement(m.Text,{size:"s4",weight:"semiBold",span:!0},t("onboarding.updatePassword.confirmPassword")),withAsterisk:!0,rightSection:h.default.createElement(c.Visible,null)},r.getInputProps("confirmPassword"))),b=e.map((e=>{switch(e){case"phone":return n;case"full_name":return a;case"email":return i;case"dob":return o;case"gender":return s;case"otp":return d;case"password":return u;case"confirm_password":return g;default:return null}}));return h.default.createElement(z,null,b)},_=e=>E.object().shape({phone:E.string().required(e("onboarding.updatePhone.error")).default("")}),F={[i.LOCALE.Vietnam]:"VN",[i.LOCALE.Cambodia]:"KH",[i.LOCALE.Indonesia]:"ID",[i.LOCALE.Malaysia]:"MY",[i.LOCALE.PhilippinesEnglish]:"PH",[i.LOCALE.PhilippinesTagalog]:"PH",[i.LOCALE.Taiwan]:"TW",[i.LOCALE.Thailand]:"TH",[i.LOCALE.Myanmar]:"MM"},$=x.default(j)`
133
+ `,B={[i.LOCALE.Vietnam]:"VN",[i.LOCALE.Cambodia]:"KH",[i.LOCALE.Indonesia]:"ID",[i.LOCALE.Malaysia]:"MY",[i.LOCALE.PhilippinesEnglish]:"PH",[i.LOCALE.PhilippinesTagalog]:"PH",[i.LOCALE.Taiwan]:"TW",[i.LOCALE.Thailand]:"TH",[i.LOCALE.Myanmar]:"MM"},D=({inputOrder:e=["phone"]})=>{const{t:t}=p.useTranslations(),r=O(),n=x.default.createElement("div",{className:"phone-input"},x.default.createElement(c.Phone,Object.assign({defaultCountry:B[process.env.UNIFY_LOCALE]||"VN"},r.getInputProps("phone"))),x.default.createElement(l.Input.Error,null,r.errors.phone)),a=x.default.createElement(c.Input,Object.assign({label:x.default.createElement(c.Text,{size:"s4",weight:"semiBold"},t("onboarding.formEmail.yourName")),withAsterisk:!0},r.getInputProps("name"))),i=x.default.createElement(c.Input,Object.assign({label:x.default.createElement(c.Text,{size:"s4",weight:"semiBold",span:!0},t("onboarding.formEmail.yourEmail")),withAsterisk:!0},r.getInputProps("email"))),o=x.default.createElement(c.DatePicker,Object.assign({label:x.default.createElement(c.Text,{size:"s4",weight:"semiBold",span:!0},t("onboarding.formEmail.yourBirthday")),placeholder:"DD/MM/YYYY"},r.getInputProps("dob"))),s=x.default.createElement(c.Radio.Group,Object.assign({className:"radio-group",label:x.default.createElement(c.Text,{size:"s4",weight:"semiBold",span:!0},t("bmi.selectGender"))},r.getInputProps("gender")),x.default.createElement(c.Radio,{value:"0",label:t("onboarding.formEmail.genderMale")}),x.default.createElement(c.Radio,{value:"1",label:t("onboarding.formEmail.genderFemale")})),d=x.default.createElement("div",{className:"otp-input"},x.default.createElement(c.OTP,Object.assign({enterKeyHint:void 0,nonce:void 0},r.getInputProps("otp"))),x.default.createElement(l.Input.Error,null,r.errors.otp)),u=x.default.createElement(c.Input.Password,Object.assign({label:x.default.createElement(c.Text,{size:"s4",weight:"semiBold",span:!0},t("onboarding.updatePassword.password")),withAsterisk:!0,rightSection:x.default.createElement(m.Visible,null)},r.getInputProps("password"))),g=x.default.createElement(c.Input.Password,Object.assign({label:x.default.createElement(c.Text,{size:"s4",weight:"semiBold",span:!0},t("onboarding.updatePassword.confirmPassword")),withAsterisk:!0,rightSection:x.default.createElement(m.Visible,null)},r.getInputProps("confirmPassword"))),b=e.map((e=>{switch(e){case"phone":return n;case"full_name":return a;case"email":return i;case"dob":return o;case"gender":return s;case"otp":return d;case"password":return u;case"confirm_password":return g;default:return null}}));return x.default.createElement(z,null,b)},_=e=>E.object().shape({phone:E.string().required(e("onboarding.updatePhone.error")).default("")}),F={[i.LOCALE.Vietnam]:"VN",[i.LOCALE.Cambodia]:"KH",[i.LOCALE.Indonesia]:"ID",[i.LOCALE.Malaysia]:"MY",[i.LOCALE.PhilippinesEnglish]:"PH",[i.LOCALE.PhilippinesTagalog]:"PH",[i.LOCALE.Taiwan]:"TW",[i.LOCALE.Thailand]:"TH",[i.LOCALE.Myanmar]:"MM"},$=h.default(j)`
134
134
  .otp-input {
135
135
  margin-bottom: 36px;
136
136
  ${a.MediaQueries.mbDown} {
@@ -163,4 +163,4 @@
163
163
  margin-bottom: 3px;
164
164
  margin-left: 3px;
165
165
  }
166
- `;i.LOCALE.Vietnam,i.LOCALE.Cambodia,i.LOCALE.Indonesia,i.LOCALE.Malaysia,i.LOCALE.PhilippinesEnglish,i.LOCALE.PhilippinesTagalog,i.LOCALE.Taiwan,i.LOCALE.Thailand,i.LOCALE.Myanmar;exports.DynamicForm=D,exports.FormProvider=y,exports.MAPPED_LOCALE=F,exports.Onboarding=j,exports.OnboardingContext=L,exports.OnboardingForm=({onClose:e,onSubmit:t,canSkip:r=!0,customFormTexts:n})=>{const{t:a}=p.useTranslations(),i=w({initialValues:{phone:""},validate:s.yupResolver(_(a))});return h.default.createElement(N,{heading:(null==n?void 0:n.heading)||a("onboarding.updatePhone.heading"),description:(null==n?void 0:n.description)||a("onboarding.updatePhone.description")},h.default.createElement(y,{form:i},h.default.createElement("form",{onSubmit:i.onSubmit((e=>o.__awaiter(void 0,void 0,void 0,(function*(){t(e.phone)}))),(e=>{console.log(e)}))},h.default.createElement(D,{inputOrder:["phone"]}),h.default.createElement(d.Button,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},a("onboarding.button.continue")),r&&h.default.createElement(d.Button,{color:"ghost",isBlock:!0,size:"lg",onClick:e,type:"button"},a("onboarding.button.skip")))))},exports.StyledBannerCol=I,exports.StyledBannerImg=k,exports.StyledBannerInner=T,exports.StyledContainer=A,exports.StyledContent=M,exports.StyledIntro=S,exports.StyledOnboardingModal=q,exports.StyledOtpForm=$,exports.hiddenEmailChar=(e="")=>{const t=e.indexOf("@"),r=e.substring(0,t),n=r.length>3?3:r.length;return e.replace(e.substring(n,t),e.slice(n,t).replace(/./g,"x"))},exports.onboardingEmailSchema=e=>E.object().shape({email:E.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:E.string().required(e("onboarding.errorMessage.requiredName"))}),exports.onboardingUpdatePasswordSchema=e=>E.object().shape({password:E.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:E.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([E.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")}),exports.otpSchema=e=>E.object().shape({otp:E.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")}),exports.useForm=w;
166
+ `;i.LOCALE.Vietnam,i.LOCALE.Cambodia,i.LOCALE.Indonesia,i.LOCALE.Malaysia,i.LOCALE.PhilippinesEnglish,i.LOCALE.PhilippinesTagalog,i.LOCALE.Taiwan,i.LOCALE.Thailand,i.LOCALE.Myanmar;exports.DynamicForm=D,exports.FormProvider=y,exports.MAPPED_LOCALE=F,exports.Onboarding=j,exports.OnboardingContext=L,exports.OnboardingForm=({onClose:e,onSubmit:t,canSkip:r=!0,customFormTexts:n})=>{const{t:a}=p.useTranslations(),i=w({initialValues:{phone:""},validate:s.yupResolver(_(a))});return x.default.createElement(N,{heading:(null==n?void 0:n.heading)||a("onboarding.updatePhone.heading"),description:(null==n?void 0:n.description)||a("onboarding.updatePhone.description")},x.default.createElement(y,{form:i},x.default.createElement("form",{onSubmit:i.onSubmit((e=>o.__awaiter(void 0,void 0,void 0,(function*(){t(e.phone)}))),(e=>{console.log(e)}))},x.default.createElement(D,{inputOrder:["phone"]}),x.default.createElement(d.Button,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},a("onboarding.button.continue")),r&&x.default.createElement(d.Button,{color:"ghost",isBlock:!0,size:"lg",onClick:e,type:"button"},a("onboarding.button.skip")))))},exports.StyledBannerCol=I,exports.StyledBannerImg=k,exports.StyledBannerInner=T,exports.StyledContainer=A,exports.StyledContent=M,exports.StyledIntro=S,exports.StyledOnboardingModal=q,exports.StyledOtpForm=$,exports.hiddenEmailChar=(e="")=>{const t=e.indexOf("@"),r=e.substring(0,t),n=r.length>3?3:r.length;return e.replace(e.substring(n,t),e.slice(n,t).replace(/./g,"x"))},exports.onboardingEmailSchema=e=>E.object().shape({email:E.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:E.string().required(e("onboarding.errorMessage.requiredName"))}),exports.onboardingUpdatePasswordSchema=e=>E.object().shape({password:E.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:E.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([E.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")}),exports.otpSchema=e=>E.object().shape({otp:E.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")}),exports.useForm=w;