@hhgtech/hhg-components 1.25.41 → 1.25.43

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 (666) hide show
  1. package/build/__mocks__/pillData.d.ts +201 -0
  2. package/build/babyGrowth.js +33 -33
  3. package/build/cache.js +1 -1
  4. package/build/care/components/atoms/icons/index.d.ts +9 -9
  5. package/build/care/components/organisms/bookingSearchBar/index.d.ts +2 -2
  6. package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +1 -1
  7. package/build/care/components/organisms/bookingSearchBar/locationResults/index.d.ts +2 -2
  8. package/build/care/components/organisms/bookingSearchBar/locationResults/index.styled.d.ts +2 -2
  9. package/build/care/components/organisms/bookingSearchBar/locationResults/liSkeleton.d.ts +2 -2
  10. package/build/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +2 -2
  11. package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.d.ts +2 -2
  12. package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
  13. package/build/care/components/organisms/bookingSearchBar/resultSection/icons.d.ts +5 -5
  14. package/build/care/components/organisms/bookingSearchBar/resultSection/index.d.ts +2 -2
  15. package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
  16. package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.d.ts +2 -2
  17. package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
  18. package/build/care/components/organisms/bookingSearchBar/searchInputs/index.d.ts +1 -1
  19. package/build/care/components/organisms/bookingSearchBar/searchInputs/index.styled.d.ts +1 -1
  20. package/build/care/components/organisms/bookingSearchBar/searchResults/index.d.ts +2 -2
  21. package/build/care/components/organisms/bookingSearchBar/searchSubmitIcon/index.d.ts +2 -2
  22. package/build/care.js +1 -1
  23. package/build/components/atoms/alert/index.d.ts +2 -2
  24. package/build/components/atoms/authorBadge/index.d.ts +2 -2
  25. package/build/components/atoms/avatar/index.d.ts +2 -2
  26. package/build/components/atoms/badge/index.d.ts +2 -2
  27. package/build/components/atoms/borderHeading/index.d.ts +1 -1
  28. package/build/components/atoms/btnChoice/index.d.ts +2 -2
  29. package/build/components/atoms/button/index.d.ts +1 -1
  30. package/build/components/atoms/checkbox/index.d.ts +2 -2
  31. package/build/components/atoms/container/index.d.ts +2 -1
  32. package/build/components/atoms/displayWrapper/index.d.ts +2 -2
  33. package/build/components/atoms/divider/index.d.ts +2 -2
  34. package/build/components/atoms/dropdownMB/index.styled.d.ts +1 -1
  35. package/build/components/atoms/fileDropdown/index.d.ts +2 -2
  36. package/build/components/atoms/flag/icons/cambodia.d.ts +3 -3
  37. package/build/components/atoms/flag/icons/english.d.ts +3 -3
  38. package/build/components/atoms/flag/icons/india.d.ts +3 -3
  39. package/build/components/atoms/flag/icons/indonesia.d.ts +3 -3
  40. package/build/components/atoms/flag/icons/malaysia.d.ts +3 -3
  41. package/build/components/atoms/flag/icons/myanmar.d.ts +3 -3
  42. package/build/components/atoms/flag/icons/philippines.d.ts +3 -3
  43. package/build/components/atoms/flag/icons/taiwan.d.ts +3 -3
  44. package/build/components/atoms/flag/icons/thailand.d.ts +3 -3
  45. package/build/components/atoms/flag/icons/vietnam.d.ts +3 -3
  46. package/build/components/atoms/flag/index.d.ts +2 -2
  47. package/build/components/atoms/grid/index.d.ts +2 -2
  48. package/build/components/atoms/heading/index.d.ts +2 -2
  49. package/build/components/atoms/imageWithHandler/index.d.ts +2 -2
  50. package/build/components/atoms/input/index.d.ts +1 -1
  51. package/build/components/atoms/inputMB/index.styled.d.ts +1 -1
  52. package/build/components/atoms/label/index.d.ts +2 -2
  53. package/build/components/atoms/logo/index.d.ts +2 -2
  54. package/build/components/atoms/logo/logoIcon.d.ts +1 -1
  55. package/build/components/atoms/marryBabyText/index.d.ts +2 -2
  56. package/build/components/atoms/newBabyProfileRadio/index.d.ts +2 -2
  57. package/build/components/atoms/pagination/index.d.ts +2 -2
  58. package/build/components/atoms/pill/index.d.ts +2 -2
  59. package/build/components/atoms/progress/index.d.ts +2 -2
  60. package/build/components/atoms/radio/index.d.ts +2 -2
  61. package/build/components/atoms/radioImageGroup/index.d.ts +2 -1
  62. package/build/components/atoms/rateStars/StarEmptyIcon.d.ts +1 -1
  63. package/build/components/atoms/rateStars/StarFullIcon.d.ts +1 -1
  64. package/build/components/atoms/rateStars/StarHalfIcon.d.ts +1 -1
  65. package/build/components/atoms/rateStars/index.d.ts +2 -2
  66. package/build/components/atoms/shadow/index.d.ts +2 -2
  67. package/build/components/atoms/tag/index.d.ts +2 -2
  68. package/build/components/atoms/text/index.d.ts +2 -2
  69. package/build/components/atoms/textDivider/index.d.ts +2 -1
  70. package/build/components/atoms/toggle/index.d.ts +2 -2
  71. package/build/components/atoms/underlinedLink/index.d.ts +2 -2
  72. package/build/components/atoms/uploader/index.d.ts +2 -2
  73. package/build/components/babyGrowth/babyGrowthChart/index.d.ts +2 -2
  74. package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.d.ts +1 -1
  75. package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.styled.d.ts +1 -1
  76. package/build/components/babyGrowth/babyGrowthForm/index.d.ts +2 -2
  77. package/build/components/babyGrowth/babyGrowthForm/index.styled.d.ts +2 -2
  78. package/build/components/babyGrowth/babyGrowthGender/index.styled.d.ts +1 -1
  79. package/build/components/babyGrowth/babyGrowthLegend/index.d.ts +2 -2
  80. package/build/components/babyGrowth/babyGrowthSwitch/index.d.ts +2 -2
  81. package/build/components/babyGrowth/babyGrowthTooltip/index.d.ts +2 -2
  82. package/build/components/babyGrowth/childCard/index.d.ts +2 -2
  83. package/build/components/mantine/accordion/index.d.ts +1 -1
  84. package/build/components/mantine/anchor/index.d.ts +5 -8
  85. package/build/components/mantine/aspectRatio/index.d.ts +2 -2
  86. package/build/components/mantine/avatar/index.d.ts +2 -2
  87. package/build/components/mantine/badge/index.d.ts +2 -2
  88. package/build/components/mantine/breadcrumbs/index.d.ts +12 -0
  89. package/build/components/mantine/breadcrumbs/index.styled.d.ts +1 -0
  90. package/build/components/mantine/breadcrumbs/item.d.ts +7 -0
  91. package/build/components/mantine/button/index.d.ts +2 -2
  92. package/build/components/mantine/datepicker/range.d.ts +2 -2
  93. package/build/components/mantine/index.d.ts +2 -0
  94. package/build/components/mantine/indicator/index.d.ts +2 -2
  95. package/build/components/mantine/input/file.d.ts +2 -2
  96. package/build/components/mantine/input/number.d.ts +2 -2
  97. package/build/components/mantine/loadingOverlay/index.d.ts +2 -2
  98. package/build/components/mantine/modal/index.d.ts +2 -2
  99. package/build/components/mantine/otp/index.d.ts +1 -1
  100. package/build/components/mantine/phone/index.d.ts +1 -1
  101. package/build/components/mantine/provider/index.d.ts +1 -1
  102. package/build/components/mantine/result/index.d.ts +1 -1
  103. package/build/components/mantine/select/index.d.ts +2 -2
  104. package/build/components/mantine/slider/index.d.ts +2 -2
  105. package/build/components/mantine/spoiler/index.d.ts +1 -1
  106. package/build/components/mantine/tabs/index.d.ts +1 -1
  107. package/build/components/mantine/text/index.d.ts +4 -4
  108. package/build/components/mantine/textArea/index.d.ts +2 -2
  109. package/build/components/mantine/theme/tabs.d.ts +1 -0
  110. package/build/components/molecules/{breadcrumbs → __deprecated_breadcrumbs}/index.d.ts +5 -2
  111. package/build/components/molecules/articleCard/cardAuthor.d.ts +1 -1
  112. package/build/components/molecules/articleCard/cardExpert.d.ts +1 -1
  113. package/build/components/molecules/articleCard/icons/affiliate.d.ts +1 -1
  114. package/build/components/molecules/articleCard/icons/bookmarked.d.ts +1 -1
  115. package/build/components/molecules/articleCard/icons/unbookmarked.d.ts +1 -1
  116. package/build/components/molecules/articleCard/index.d.ts +1 -1
  117. package/build/components/molecules/bmiForm/index.d.ts +2 -2
  118. package/build/components/molecules/bmiForm/index.styled.d.ts +1 -1
  119. package/build/components/molecules/bmrForm/index.d.ts +2 -2
  120. package/build/components/molecules/bmrForm/index.styled.d.ts +1 -1
  121. package/build/components/molecules/carousel/index.d.ts +2 -2
  122. package/build/components/molecules/categoryCard/index.d.ts +2 -2
  123. package/build/components/molecules/checkboxGroup/index.d.ts +2 -2
  124. package/build/components/molecules/cookieAcceptConfirm/index.d.ts +2 -2
  125. package/build/components/molecules/datePicker/index.d.ts +1 -1
  126. package/build/components/molecules/dateRangePicker/calendar/index.d.ts +2 -2
  127. package/build/components/molecules/dateRangePicker/index.d.ts +2 -2
  128. package/build/components/molecules/doctorInfo/index.d.ts +2 -2
  129. package/build/components/molecules/dropdown/index.d.ts +2 -2
  130. package/build/components/molecules/dropdownSearch/index.d.ts +2 -2
  131. package/build/components/molecules/dueDateCalculator/dueDateFormConception.d.ts +2 -2
  132. package/build/components/molecules/dueDateCalculator/dueDateFormIVF.d.ts +2 -2
  133. package/build/components/molecules/dueDateCalculator/dueDateFormLastPeriod.d.ts +2 -2
  134. package/build/components/molecules/dueDateCalculator/index.d.ts +2 -2
  135. package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.d.ts +2 -2
  136. package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +2 -2
  137. package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.d.ts +2 -2
  138. package/build/components/molecules/embeddedHeathToolCards/bmi/bmi.d.ts +2 -2
  139. package/build/components/molecules/embeddedHeathToolCards/bmr/bmr.d.ts +2 -2
  140. package/build/components/molecules/embeddedHeathToolCards/due-date/dueDate.d.ts +2 -2
  141. package/build/components/molecules/embeddedHeathToolCards/ovulation/ovulation.d.ts +2 -2
  142. package/build/components/molecules/embeddedHeathToolCards/pwg/pwg.d.ts +2 -2
  143. package/build/components/molecules/embeddedHeathToolCards/target-heart-rate/index.d.ts +2 -2
  144. package/build/components/molecules/floatButtonGroup/index.d.ts +2 -2
  145. package/build/components/molecules/iconText/index.d.ts +2 -2
  146. package/build/components/molecules/index.d.ts +1 -1
  147. package/build/components/molecules/languageSwitcher/index.d.ts +3 -3
  148. package/build/components/molecules/languageSwitcher/tooltipSelection/index.d.ts +2 -2
  149. package/build/components/molecules/mobileBottomNavigation/MobileBottomNavigationIcon.d.ts +1 -1
  150. package/build/components/molecules/modal/index.d.ts +1 -1
  151. package/build/components/molecules/ovulationCalculator/index.d.ts +2 -2
  152. package/build/components/molecules/ovulationCalculator/ovulationForm.d.ts +2 -2
  153. package/build/components/molecules/pillCarousel/index.d.ts +2 -2
  154. package/build/components/molecules/pillCarousel/index.styled.d.ts +1 -1
  155. package/build/components/molecules/popup/index.d.ts +2 -2
  156. package/build/components/molecules/progressBar/index.d.ts +2 -2
  157. package/build/components/molecules/radioImageGroupForTool/index.d.ts +2 -2
  158. package/build/components/molecules/scrollList/index.d.ts +2 -2
  159. package/build/components/molecules/seoHead/index.d.ts +1 -1
  160. package/build/components/molecules/sidemenu/menuLink.d.ts +2 -2
  161. package/build/components/molecules/sidemenu/sideHeader.d.ts +2 -2
  162. package/build/components/molecules/sidemenu/sideMenu.d.ts +2 -2
  163. package/build/components/molecules/sidemenu/test.d.ts +2 -2
  164. package/build/components/molecules/sidemenu/userInfo.d.ts +2 -2
  165. package/build/components/molecules/starsRatingBox/index.d.ts +2 -2
  166. package/build/components/molecules/statisticCard/index.d.ts +2 -2
  167. package/build/components/molecules/surveyQuestionCard/surveyQuestionCard.d.ts +2 -2
  168. package/build/components/molecules/surveyQuestionCard/surveyQuestionContent.d.ts +2 -2
  169. package/build/components/molecules/surveyQuestionCard/surveyRadio.d.ts +2 -2
  170. package/build/components/molecules/surveyQuestionCard/surveyThankyouCard.d.ts +2 -2
  171. package/build/components/molecules/table/table.d.ts +2 -2
  172. package/build/components/molecules/table/tableBody.d.ts +2 -2
  173. package/build/components/molecules/table/tableCell.d.ts +2 -2
  174. package/build/components/molecules/table/tableHead.d.ts +2 -2
  175. package/build/components/molecules/table/tableRow.d.ts +2 -2
  176. package/build/components/molecules/tabs/index.d.ts +3 -3
  177. package/build/components/molecules/thrForm/index.d.ts +2 -2
  178. package/build/components/molecules/thrForm/index.styled.d.ts +1 -1
  179. package/build/components/molecules/toolBannerCard/index.d.ts +2 -2
  180. package/build/components/molecules/weightGainForm/index.d.ts +2 -2
  181. package/build/components/onboarding/dynamicForm/index.d.ts +2 -2
  182. package/build/components/onboarding/onboardingForm/index.d.ts +2 -2
  183. package/build/components/onboarding/onboardingForm/index.styled.d.ts +1 -1
  184. package/build/components/onboarding/onboardingModal/index.d.ts +2 -2
  185. package/build/components/onboarding/otpForm/index.d.ts +2 -2
  186. package/build/components/onboarding/otpForm/index.styled.d.ts +1 -1
  187. package/build/components/onboarding/personalInfoForm/index.d.ts +2 -2
  188. package/build/components/onboarding/updatePassword/index.d.ts +2 -2
  189. package/build/components/organisms/footer/discoverFooter/index.d.ts +2 -2
  190. package/build/components/organisms/footer/index.d.ts +2 -2
  191. package/build/components/organisms/footer/maryBabyFooter/index.d.ts +2 -2
  192. package/build/components/organisms/heroBannerHealthTool/healthToolBanner/index.d.ts +2 -2
  193. package/build/components/organisms/heroBannerHealthTool/index.d.ts +2 -1
  194. package/build/components/organisms/navigationLogoutPopup/index.d.ts +2 -2
  195. package/build/components/organisms/navigationProfileButton/index.d.ts +1 -1
  196. package/build/components/organisms/navigationProfileButton/popupWrapper.d.ts +2 -2
  197. package/build/components/organisms/navigationProfileButton/profilePopup.d.ts +2 -2
  198. package/build/components/organisms/navigationV2/components/atoms/ClosePopupIcon.d.ts +2 -2
  199. package/build/components/organisms/navigationV2/components/atoms/HamburgerIcon.d.ts +2 -2
  200. package/build/components/organisms/navigationV2/components/atoms/ItemNav/index.d.ts +2 -2
  201. package/build/components/organisms/navigationV2/components/atoms/PopupWrapper/btnClosePopup.d.ts +2 -2
  202. package/build/components/organisms/navigationV2/components/atoms/PopupWrapper/index.d.ts +2 -2
  203. package/build/components/organisms/navigationV2/components/atoms/SearchIcon.d.ts +1 -1
  204. package/build/components/organisms/navigationV2/components/atoms/searchInput/index.d.ts +2 -2
  205. package/build/components/organisms/navigationV2/components/molecules/Categories/index.d.ts +2 -2
  206. package/build/components/organisms/navigationV2/components/molecules/Spotlights/index.d.ts +2 -2
  207. package/build/components/organisms/navigationV2/components/molecules/menuCareList/Item/index.d.ts +2 -2
  208. package/build/components/organisms/navigationV2/components/molecules/menuCareList/careSpotlights.d.ts +2 -2
  209. package/build/components/organisms/navigationV2/components/molecules/menuCareList/index.d.ts +2 -2
  210. package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +2 -2
  211. package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/categorySpotlights.d.ts +2 -2
  212. package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/index.d.ts +2 -2
  213. package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.d.ts +2 -2
  214. package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/communitySpotlights.d.ts +2 -2
  215. package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.d.ts +2 -2
  216. package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/Item/index.d.ts +2 -2
  217. package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.d.ts +2 -2
  218. package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/index.d.ts +2 -2
  219. package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/toolSpotlights.d.ts +2 -2
  220. package/build/components/organisms/navigationV2/components/molecules/menuServiceList/index.d.ts +2 -2
  221. package/build/components/organisms/navigationV2/components/molecules/navigationBar/bookingButton/index.d.ts +1 -1
  222. package/build/components/organisms/navigationV2/components/molecules/navigationBar/hamburgerMenu/index.d.ts +2 -2
  223. package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.d.ts +2 -2
  224. package/build/components/organisms/navigationV2/components/molecules/spotlightNoData/index.d.ts +2 -2
  225. package/build/components/organisms/navigationV2/index.d.ts +1 -1
  226. package/build/components/organisms/navigationV2/navigationContext.d.ts +1 -1
  227. package/build/components/organisms/userProfileNavigation/index.d.ts +2 -2
  228. package/build/components/organisms/userProfileNavigation/navHeader/index.d.ts +2 -2
  229. package/build/components/organisms/userProfileNavigation/navMenu/index.d.ts +2 -2
  230. package/build/components/organisms/userProfileNavigation/navigationCard/index.d.ts +2 -2
  231. package/build/components/organisms/userProfileNavigation/userStats/index.d.ts +2 -2
  232. package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chart.d.ts +1 -1
  233. package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chartLegend.d.ts +2 -2
  234. package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/customizedAxisTick.d.ts +2 -2
  235. package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/customizedTooltipLabel.d.ts +2 -2
  236. package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/index.d.ts +2 -2
  237. package/build/components/ui/cardArticle/element/index.d.ts +3 -3
  238. package/build/components/ui/cardArticle/index.d.ts +4 -4
  239. package/build/components/ui/cardAuthor/element/index.d.ts +8 -8
  240. package/build/components/ui/cardAuthor/index.d.ts +8 -8
  241. package/build/components/ui/loading/index.d.ts +2 -2
  242. package/build/components/ui/onboarding/index.d.ts +1 -1
  243. package/build/components/ui/thumbnail/index.d.ts +1 -1
  244. package/build/components/vaccination/shared/badge.d.ts +2 -2
  245. package/build/components/vaccination/shared/cardIcon.d.ts +2 -2
  246. package/build/components/vaccination/shared/dose.d.ts +2 -2
  247. package/build/components/vaccination/vaccinationFilter/index.d.ts +2 -2
  248. package/build/components/vaccination/vaccineCard/index.d.ts +3 -3
  249. package/build/components/vaccination/vaccineCard/modal.d.ts +2 -2
  250. package/build/components/vaccination/vaccineCard/status.d.ts +2 -2
  251. package/build/components/vaccination/vaccineCard/timeline.d.ts +2 -2
  252. package/build/components/vaccination/vaccineDetailPopup/confirmModal.d.ts +2 -2
  253. package/build/components/vaccination/vaccineDetailPopup/detail.d.ts +2 -2
  254. package/build/components/vaccination/vaccineDetailPopup/form.d.ts +2 -2
  255. package/build/components/vaccination/vaccineDetailPopup/icon.d.ts +2 -2
  256. package/build/components/vaccination/vaccineDetailPopup/index.d.ts +2 -2
  257. package/build/components/vaccination/vaccineImmunization/header.d.ts +2 -2
  258. package/build/components/vaccination/vaccineImmunization/index.d.ts +2 -2
  259. package/build/components/vaccination/vaccineImmunization/warning.d.ts +2 -2
  260. package/build/components/vaccination/vaccineRecordsByAgeGroup/index.d.ts +3 -4
  261. package/build/components/vaccination/vaccineRecordsByAgeGroup/records.d.ts +2 -2
  262. package/build/components/vaccination/vaccineRecordsByAgeGroup/scheduleTimeline.d.ts +2 -2
  263. package/build/components/vaccination/vaccineTimelineBanner/index.d.ts +2 -2
  264. package/build/components.js +1 -1
  265. package/build/constants.js +1 -1
  266. package/build/{core-336d138b.js → core-3f8d1b1f.js} +1 -1
  267. package/build/{dataTransform-b4396e3f.js → dataTransform-c26fe203.js} +1 -1
  268. package/build/{dataTransform-40c60494.js → dataTransform-dccad0e8.js} +1 -1
  269. package/build/ecom/dataFormatter/lib/dataTypes.d.ts +1 -1
  270. package/build/ecom.js +1 -1
  271. package/build/esm/babyGrowth.js +35 -35
  272. package/build/esm/cache.js +1 -1
  273. package/build/esm/care.js +1 -1
  274. package/build/esm/components.js +1 -1
  275. package/build/esm/constants.js +1 -1
  276. package/build/esm/{core-f8d8b2b3.js → core-af4ed973.js} +1 -1
  277. package/build/esm/{dataTransform-dfb69642.js → dataTransform-007a3715.js} +1 -1
  278. package/build/esm/{dataTransform-b7fc5f85.js → dataTransform-0820f94c.js} +1 -1
  279. package/build/esm/ecom.js +1 -1
  280. package/build/esm/footer.js +1 -1
  281. package/build/esm/gAssets.js +1 -1
  282. package/build/esm/getDynamicHealthTool-2fbee9b4.js +1 -0
  283. package/build/esm/{getSocialList-c9b2d380.js → getSocialList-68bceda7.js} +1 -1
  284. package/build/esm/hooks.js +1 -1
  285. package/build/esm/i18n.js +1 -1
  286. package/build/esm/{index-e9cbbac3.js → index-0d7ea250.js} +1 -1
  287. package/build/esm/index-14e4bd8c.js +1 -0
  288. package/build/esm/{index-56628ad3.js → index-19b5e072.js} +1 -1
  289. package/build/esm/index-1b166edb.js +1 -0
  290. package/build/esm/{index-5aade2d3.js → index-1c90d95e.js} +1 -1
  291. package/build/esm/{index-a709e572.js → index-2c63fb90.js} +1 -1
  292. package/build/esm/{index-a64bb4e9.js → index-3a3a39bf.js} +2 -2
  293. package/build/esm/index-3dd1adc4.js +1 -0
  294. package/build/esm/{index-b8c8f216.js → index-40b0d7a7.js} +1 -1
  295. package/build/esm/{index-8e70ea5b.js → index-4747e898.js} +1 -1
  296. package/build/esm/{index-79c2b58d.js → index-4a21c940.js} +1 -1
  297. package/build/esm/index-4bf366f1.js +1 -0
  298. package/build/esm/index-4d87addf.js +1 -0
  299. package/build/esm/index-58c153bd.js +1 -0
  300. package/build/esm/index-5aee2e31.js +115 -0
  301. package/build/esm/index-735f8643.js +1 -0
  302. package/build/esm/{index-00f8c8c1.js → index-8984a0f7.js} +1 -1
  303. package/build/esm/{index.styled-aa22f804.js → index-bcafa172.js} +12 -12
  304. package/build/esm/{index-b3e7e415.js → index-c8863f6f.js} +1 -1
  305. package/build/esm/index-cdfd36ea.js +1 -0
  306. package/build/esm/{index-b0948c8f.js → index-d48dcd5a.js} +1 -1
  307. package/build/esm/index-da2bb529.js +1 -0
  308. package/build/esm/index-db673212.js +1 -0
  309. package/build/esm/index-eca0cd4c.js +1 -0
  310. package/build/esm/index.css +1 -1
  311. package/build/esm/index.js +1 -1
  312. package/build/esm/{index.styled-41ecd97f.js → index.styled-053a4e80.js} +1031 -1032
  313. package/build/esm/index.styled-31c81009.js +3995 -0
  314. package/build/esm/{index.styled-71d270b5.js → index.styled-9df54b30.js} +6 -6
  315. package/build/esm/{index.styled-5212402c.js → index.styled-e6442198.js} +1 -1
  316. package/build/esm/index.styled-e68f7e6b.js +1249 -0
  317. package/build/esm/lead.js +1 -1
  318. package/build/esm/mantine.js +1 -1
  319. package/build/esm/misc.js +1 -1
  320. package/build/esm/navigation.js +1 -1
  321. package/build/esm/onboarding.js +1 -1
  322. package/build/esm/pwg.js +4 -4
  323. package/build/esm/{routing-9fbce805.js → routing-ded505d7.js} +1 -1
  324. package/build/esm/{screenSizeContext-f3647b86.js → screenSizeContext-d2331a45.js} +3 -3
  325. package/build/esm/together.js +1 -1
  326. package/build/esm/{translationsProvider-07382ef7.js → translationsProvider-c3291470.js} +1 -1
  327. package/build/esm/{types-1b38542c.js → types-cb6fc6a0.js} +98 -98
  328. package/build/esm/types-ef2401de.js +3078 -0
  329. package/build/esm/types.js +1 -1
  330. package/build/esm/useHealthToolCache-d46017a9.js +1 -0
  331. package/build/esm/{useRafState-6cac22b2.js → useRafState-08e13aad.js} +1 -1
  332. package/build/esm/{useScreenSize-3845cd46.js → useScreenSize-4644f63b.js} +1 -1
  333. package/build/esm/{useTranslations-4466909b.js → useTranslations-ba9c9e7c.js} +1 -1
  334. package/build/esm/utils-7cf9dab5.js +166 -0
  335. package/build/esm/vaccination.js +63 -63
  336. package/build/footer.js +1 -1
  337. package/build/gAssets.js +1 -1
  338. package/build/{getDynamicHealthTool-07e44f34.js → getDynamicHealthTool-204c0b1b.js} +1 -1
  339. package/build/{getSocialList-13bf6b15.js → getSocialList-4a0db588.js} +1 -1
  340. package/build/hooks.js +1 -1
  341. package/build/i18n/translationsProvider.d.ts +2 -2
  342. package/build/i18n.js +1 -1
  343. package/build/icons/Cambodia.d.ts +2 -1
  344. package/build/icons/CaretDown.d.ts +2 -1
  345. package/build/icons/CheckCircle.d.ts +2 -1
  346. package/build/icons/ChevronDown.d.ts +2 -1
  347. package/build/icons/ChevronLeft.d.ts +2 -1
  348. package/build/icons/ChevronRight.d.ts +2 -1
  349. package/build/icons/ChevronUp.d.ts +2 -1
  350. package/build/icons/Circle.d.ts +2 -1
  351. package/build/icons/Close.d.ts +2 -1
  352. package/build/icons/EmailCheck.d.ts +2 -1
  353. package/build/icons/EmailFail.d.ts +2 -1
  354. package/build/icons/Facebook.d.ts +2 -1
  355. package/build/icons/Google.d.ts +2 -1
  356. package/build/icons/InVisible.d.ts +2 -1
  357. package/build/icons/India.d.ts +2 -1
  358. package/build/icons/Indonesia.d.ts +2 -1
  359. package/build/icons/Malaysia.d.ts +2 -1
  360. package/build/icons/Myanmar.d.ts +2 -1
  361. package/build/icons/Phillipines.d.ts +2 -1
  362. package/build/icons/Spinning.d.ts +2 -1
  363. package/build/icons/Taiwan.d.ts +2 -1
  364. package/build/icons/Thailand.d.ts +2 -1
  365. package/build/icons/Vietnam.d.ts +2 -1
  366. package/build/icons/Visible.d.ts +2 -1
  367. package/build/icons/index.d.ts +4 -4
  368. package/build/{index-342a17d9.js → index-17e6ceba.js} +1 -1
  369. package/build/{index-b2e3732e.js → index-19088502.js} +1 -1
  370. package/build/{index-0e1e038c.js → index-1d0b464f.js} +1 -1
  371. package/build/index-26bf16a5.js +1 -0
  372. package/build/{index-89675e20.js → index-2f7461c1.js} +1 -1
  373. package/build/{index-42f00c5b.js → index-3a81bcf9.js} +1 -1
  374. package/build/{index-903287fd.js → index-3c4f6ab4.js} +1 -1
  375. package/build/{index.styled-5469886f.js → index-460c1ce6.js} +12 -12
  376. package/build/{index-5d304806.js → index-484916c4.js} +1 -1
  377. package/build/index-6065a7e6.js +1 -0
  378. package/build/index-6db3efcf.js +1 -0
  379. package/build/index-70833f28.js +1 -0
  380. package/build/{index-d72db040.js → index-7c0d38d1.js} +1 -1
  381. package/build/{index-6d3a2a2b.js → index-97eda312.js} +1 -1
  382. package/build/index-9b6f1d76.js +115 -0
  383. package/build/index-a9b4d22b.js +1 -0
  384. package/build/{index-8c0e030f.js → index-bc52bc27.js} +1 -1
  385. package/build/{index-7fed838b.js → index-be5c1262.js} +1 -1
  386. package/build/index-c8060d1f.js +1 -0
  387. package/build/index-d33c0ec2.js +1 -0
  388. package/build/index-d3a7796c.js +1 -0
  389. package/build/index-e4f68683.js +1 -0
  390. package/build/index-fd33e327.js +1 -0
  391. package/build/index-ffea266b.js +1 -0
  392. package/build/index.css +1 -1
  393. package/build/index.js +1 -1
  394. package/build/{index.styled-253707d5.js → index.styled-1e6a96b2.js} +653 -654
  395. package/build/{index.styled-37e69970.js → index.styled-49d57363.js} +1 -1
  396. package/build/index.styled-5eb96b4d.js +3995 -0
  397. package/build/{index.styled-8ee467cb.js → index.styled-c911bac1.js} +6 -6
  398. package/build/{index.styled-9d2b1efb.js → index.styled-f5c921d2.js} +38 -38
  399. package/build/lead/index.d.ts +2 -2
  400. package/build/lead/layouts/centerTab.d.ts +2 -2
  401. package/build/lead/layouts/closeButton.d.ts +2 -2
  402. package/build/lead/layouts/floating.d.ts +2 -2
  403. package/build/lead/layouts/lightbox/fields/index.d.ts +2 -2
  404. package/build/lead/layouts/lightbox/fields/locationBlock.d.ts +2 -2
  405. package/build/lead/layouts/lightbox/fields/subtitleBlock.d.ts +2 -2
  406. package/build/lead/layouts/lightbox/fields/titleBlock.d.ts +2 -2
  407. package/build/lead/layouts/lightbox/index.d.ts +2 -2
  408. package/build/lead/layouts/lightbox/otpBlock.d.ts +2 -2
  409. package/build/lead/layouts/sidebar.d.ts +2 -2
  410. package/build/lead/layouts/skin.d.ts +2 -2
  411. package/build/lead/layouts/tab.d.ts +2 -2
  412. package/build/lead/newLeadPopup.d.ts +2 -2
  413. package/build/lead/thankyou.d.ts +2 -2
  414. package/build/lead.js +1 -1
  415. package/build/mantine.js +1 -1
  416. package/build/misc/mockTheme.d.ts +1 -1
  417. package/build/misc/screenSizeContext.d.ts +1 -1
  418. package/build/misc.js +1 -1
  419. package/build/navigation.js +1 -1
  420. package/build/onboarding.js +1 -1
  421. package/build/pwg.js +4 -4
  422. package/build/{routing-47d2a8ab.js → routing-292cac37.js} +1 -1
  423. package/build/screenSizeContext-3c011e3c.js +81 -0
  424. package/build/test/testTranslationProvider.d.ts +2 -2
  425. package/build/together/components/atoms/cardLink/index.d.ts +2 -2
  426. package/build/together/components/atoms/cardReactions/element/index.d.ts +4 -4
  427. package/build/together/components/atoms/cardReactions/index.d.ts +5 -5
  428. package/build/together/components/atoms/labelSortPin/index.d.ts +2 -2
  429. package/build/together/components/atoms/labelSortPin/labelPin.d.ts +2 -2
  430. package/build/together/components/atoms/labelSortPin/labelSorting.d.ts +1 -1
  431. package/build/together/components/atoms/loading/index.d.ts +2 -2
  432. package/build/together/components/atoms/loading/loadingCard.d.ts +2 -2
  433. package/build/together/components/atoms/notificationBar/index.d.ts +1 -1
  434. package/build/together/components/atoms/sensitiveMask/index.d.ts +2 -2
  435. package/build/together/components/atoms/tagTopic/index.d.ts +2 -2
  436. package/build/together/components/atoms/userAvatar/index.d.ts +2 -2
  437. package/build/together/components/molecules/cardAuthor/index.d.ts +8 -8
  438. package/build/together/components/molecules/createNewPostContent/index.d.ts +2 -2
  439. package/build/together/components/molecules/createPostDescription/editor.d.ts +2 -2
  440. package/build/together/components/molecules/createPostDescription/index.d.ts +2 -2
  441. package/build/together/components/molecules/createPostTitle/index.d.ts +2 -2
  442. package/build/together/components/molecules/inputCommentBar/index.d.ts +2 -2
  443. package/build/together/components/molecules/inputCommentBar/mainInputTriggerContext.d.ts +1 -1
  444. package/build/together/components/molecules/popupDoctor/index.d.ts +2 -2
  445. package/build/together/components/molecules/popupExpert/index.d.ts +2 -2
  446. package/build/together/components/molecules/popupFrame/index.d.ts +2 -2
  447. package/build/together/components/molecules/popupFrame/popupShare.d.ts +2 -2
  448. package/build/together/components/molecules/popupHospital/index.d.ts +2 -2
  449. package/build/together/components/molecules/postContent/index.d.ts +2 -2
  450. package/build/together/components/molecules/postImagePreview/imagePreviewPopup.d.ts +2 -2
  451. package/build/together/components/molecules/postImagePreview/index.d.ts +2 -2
  452. package/build/together/components/molecules/postImagePreview/index.styled.d.ts +1 -1
  453. package/build/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.d.ts +2 -2
  454. package/build/together/components/molecules/profileDetail/about/articleCard/index.d.ts +2 -2
  455. package/build/together/components/molecules/profileDetail/about/index.d.ts +2 -2
  456. package/build/together/components/molecules/profileDetail/answering/index.d.ts +2 -2
  457. package/build/together/components/molecules/profileDetail/answering/postCard/index.d.ts +2 -2
  458. package/build/together/components/molecules/profileDetail/care/index.d.ts +2 -2
  459. package/build/together/components/molecules/profileDetail/care/questionCard/index.d.ts +2 -2
  460. package/build/together/components/molecules/profileDetail/context.d.ts +1 -1
  461. package/build/together/components/molecules/profileDetail/emptyMessage/index.d.ts +2 -2
  462. package/build/together/components/molecules/profileDetail/index.d.ts +2 -2
  463. package/build/together/components/molecules/profileDetail/posts/index.d.ts +2 -2
  464. package/build/together/components/molecules/profileDetail/posts/postCard/index.d.ts +2 -2
  465. package/build/together/components/molecules/profileDetailModal/index.d.ts +2 -2
  466. package/build/together/components/molecules/shareBox/index.d.ts +2 -2
  467. package/build/together/components/molecules/skipQuestionOfExpertBtn/index.d.ts +2 -2
  468. package/build/together/components/molecules/socialLinkPreview/index.d.ts +2 -2
  469. package/build/together/components/molecules/submitReportForm/index.d.ts +2 -2
  470. package/build/together/components/molecules/topicSelectList/index.d.ts +2 -2
  471. package/build/together/components/organisms/cardPost/cardPostPopover.d.ts +2 -2
  472. package/build/together/components/organisms/cardPost/index.d.ts +2 -2
  473. package/build/together/components/organisms/cardReply/cardReplyPopover.d.ts +2 -2
  474. package/build/together/components/organisms/cardReply/index.d.ts +2 -2
  475. package/build/together/components/organisms/cardReply/index.styled.d.ts +1 -1
  476. package/build/together/components/organisms/cardReply/verifiedTag/index.d.ts +2 -2
  477. package/build/together/components/organisms/popoverMenu/index.d.ts +2 -2
  478. package/build/together/components/organisms/popoverMenu/treePopoverMenu.d.ts +3 -3
  479. package/build/together/components/organisms/sourceList/index.d.ts +2 -2
  480. package/build/together/components/organisms/sourceList/recommentCategories/index.d.ts +2 -2
  481. package/build/together/components/organisms/sourceList/sourceItem/index.d.ts +2 -2
  482. package/build/together/hooks/useTogetherAuthRequiredAction.d.ts +1 -1
  483. package/build/together/togetherComponentGlobalContext.d.ts +1 -1
  484. package/build/together.js +1 -1
  485. package/build/{translationsProvider-9153e1e7.js → translationsProvider-dad6eba5.js} +1 -1
  486. package/build/{types-7b520b8d.js → types-0808c9db.js} +89 -89
  487. package/build/types-6d6b9a19.js +3078 -0
  488. package/build/types.js +1 -1
  489. package/build/useHealthToolCache-31458936.js +1 -0
  490. package/build/{useRafState-61e2df17.js → useRafState-90dde344.js} +1 -1
  491. package/build/{useScreenSize-b0d12a07.js → useScreenSize-04e31ded.js} +1 -1
  492. package/build/useTranslations-6a7d40fe.js +1 -0
  493. package/build/utils-b277594f.js +166 -0
  494. package/build/vaccination.js +63 -63
  495. package/package.json +4 -4
  496. package/build/esm/getDynamicHealthTool-12a67a34.js +0 -1
  497. package/build/esm/index-0d990df9.js +0 -1
  498. package/build/esm/index-37786a7d.js +0 -1
  499. package/build/esm/index-4beeceaa.js +0 -1
  500. package/build/esm/index-4c34f2e1.js +0 -1
  501. package/build/esm/index-6398f19b.js +0 -1
  502. package/build/esm/index-64ab35ff.js +0 -1
  503. package/build/esm/index-8640eade.js +0 -1
  504. package/build/esm/index-9d2670cd.js +0 -1
  505. package/build/esm/index-a48c8982.js +0 -1
  506. package/build/esm/index-b5c66e06.js +0 -1
  507. package/build/esm/index-caf6febd.js +0 -1
  508. package/build/esm/index-ce7cfbba.js +0 -1
  509. package/build/esm/index-e494de2f.js +0 -115
  510. package/build/esm/index-eadae80e.js +0 -1
  511. package/build/esm/index.styled-22ffc1eb.js +0 -1249
  512. package/build/esm/index.styled-49132ffc.js +0 -3995
  513. package/build/esm/index.styled-fe6f694c.js +0 -166
  514. package/build/esm/types-4e2f11e8.js +0 -3078
  515. package/build/esm/useHealthToolCache-7d75c40b.js +0 -1
  516. package/build/index-22f1b4b9.js +0 -1
  517. package/build/index-649d1581.js +0 -1
  518. package/build/index-84d40fa6.js +0 -1
  519. package/build/index-87604d9a.js +0 -115
  520. package/build/index-89f33f25.js +0 -1
  521. package/build/index-9c89e346.js +0 -1
  522. package/build/index-9f19c4b4.js +0 -1
  523. package/build/index-ba458693.js +0 -1
  524. package/build/index-cfd40ecc.js +0 -1
  525. package/build/index-d3ee54d5.js +0 -1
  526. package/build/index-d55d8d4c.js +0 -1
  527. package/build/index-df932576.js +0 -1
  528. package/build/index-eafafc7c.js +0 -1
  529. package/build/index-eba03780.js +0 -1
  530. package/build/index.styled-582c54c6.js +0 -166
  531. package/build/index.styled-6e10e174.js +0 -3995
  532. package/build/screenSizeContext-2c45a1a9.js +0 -81
  533. package/build/types-99365aea.js +0 -3078
  534. package/build/useHealthToolCache-0e9463cc.js +0 -1
  535. package/build/useTranslations-ee8c85d8.js +0 -1
  536. /package/build/{BMI_BOYS.percentile.monthly-f566181b.js → BMI_BOYS.percentile.monthly-58240814.js} +0 -0
  537. /package/build/{BMI_BOYS.percentile.weekly-dfbc5db7.js → BMI_BOYS.percentile.weekly-3fac5805.js} +0 -0
  538. /package/build/{BMI_BOYS.percentile.yearly-305db5af.js → BMI_BOYS.percentile.yearly-18ea09c7.js} +0 -0
  539. /package/build/{BMI_BOYS.zscore.monthly-93da4ce1.js → BMI_BOYS.zscore.monthly-3b8ae1b7.js} +0 -0
  540. /package/build/{BMI_BOYS.zscore.weekly-69c0892f.js → BMI_BOYS.zscore.weekly-91814542.js} +0 -0
  541. /package/build/{BMI_BOYS.zscore.yearly-98168424.js → BMI_BOYS.zscore.yearly-90a47ae2.js} +0 -0
  542. /package/build/{BMI_GIRLS.percentile.monthly-7484f327.js → BMI_GIRLS.percentile.monthly-56116d59.js} +0 -0
  543. /package/build/{BMI_GIRLS.percentile.weekly-1e170747.js → BMI_GIRLS.percentile.weekly-08a36bee.js} +0 -0
  544. /package/build/{BMI_GIRLS.percentile.yearly-8f014cc5.js → BMI_GIRLS.percentile.yearly-2cb2caf2.js} +0 -0
  545. /package/build/{BMI_GIRLS.zscore.monthly-499e3abd.js → BMI_GIRLS.zscore.monthly-049d1812.js} +0 -0
  546. /package/build/{BMI_GIRLS.zscore.weekly-55be176e.js → BMI_GIRLS.zscore.weekly-5577411e.js} +0 -0
  547. /package/build/{BMI_GIRLS.zscore.yearly-1d9a2628.js → BMI_GIRLS.zscore.yearly-f0f3391a.js} +0 -0
  548. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-20bf76ee.js → HEAD CIRCUM_BOYS.percentile.monthly-0bfe09ab.js} +0 -0
  549. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-735b4279.js → HEAD CIRCUM_BOYS.percentile.weekly-c15f5e43.js} +0 -0
  550. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-bf0b4414.js → HEAD CIRCUM_BOYS.percentile.yearly-93f837f3.js} +0 -0
  551. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-942b0f17.js → HEAD CIRCUM_BOYS.zscore.monthly-bfec4713.js} +0 -0
  552. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-3ae6d360.js → HEAD CIRCUM_BOYS.zscore.weekly-ae477f87.js} +0 -0
  553. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-3f2cb310.js → HEAD CIRCUM_BOYS.zscore.yearly-b39b3fc9.js} +0 -0
  554. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-0bb964ea.js → HEAD CIRCUM_GIRLS.percentile.monthly-d61b02a5.js} +0 -0
  555. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a8705ab0.js → HEAD CIRCUM_GIRLS.percentile.weekly-203073e9.js} +0 -0
  556. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-b9f412b7.js → HEAD CIRCUM_GIRLS.percentile.yearly-c56ffd9f.js} +0 -0
  557. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-158819bc.js → HEAD CIRCUM_GIRLS.zscore.monthly-852b2683.js} +0 -0
  558. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-5d3cef08.js → HEAD CIRCUM_GIRLS.zscore.weekly-8c9aa5dd.js} +0 -0
  559. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-9ad33c8c.js → HEAD CIRCUM_GIRLS.zscore.yearly-5569812b.js} +0 -0
  560. /package/build/{HEIGHT_BOYS.percentile.monthly-33c559c6.js → HEIGHT_BOYS.percentile.monthly-e224339b.js} +0 -0
  561. /package/build/{HEIGHT_BOYS.percentile.weekly-b9d7a73c.js → HEIGHT_BOYS.percentile.weekly-5dfc89a9.js} +0 -0
  562. /package/build/{HEIGHT_BOYS.percentile.yearly-8083d2d4.js → HEIGHT_BOYS.percentile.yearly-587973c9.js} +0 -0
  563. /package/build/{HEIGHT_BOYS.zscore.monthly-6add0f90.js → HEIGHT_BOYS.zscore.monthly-f585f6b3.js} +0 -0
  564. /package/build/{HEIGHT_BOYS.zscore.weekly-1c203ecc.js → HEIGHT_BOYS.zscore.weekly-ac816f59.js} +0 -0
  565. /package/build/{HEIGHT_BOYS.zscore.yearly-34ae5048.js → HEIGHT_BOYS.zscore.yearly-e7ec3325.js} +0 -0
  566. /package/build/{HEIGHT_GIRLS.percentile.monthly-f40903ac.js → HEIGHT_GIRLS.percentile.monthly-1747cb59.js} +0 -0
  567. /package/build/{HEIGHT_GIRLS.percentile.weekly-5d7c8b9e.js → HEIGHT_GIRLS.percentile.weekly-3fe6af77.js} +0 -0
  568. /package/build/{HEIGHT_GIRLS.percentile.yearly-b6e56f54.js → HEIGHT_GIRLS.percentile.yearly-4a4eac74.js} +0 -0
  569. /package/build/{HEIGHT_GIRLS.zscore.monthly-f67c292b.js → HEIGHT_GIRLS.zscore.monthly-27ea2b31.js} +0 -0
  570. /package/build/{HEIGHT_GIRLS.zscore.weekly-801a74cf.js → HEIGHT_GIRLS.zscore.weekly-fe0acae8.js} +0 -0
  571. /package/build/{HEIGHT_GIRLS.zscore.yearly-6d36f4d4.js → HEIGHT_GIRLS.zscore.yearly-0efe0cf6.js} +0 -0
  572. /package/build/{Onboarding-ef89eddc.js → Onboarding-15149402.js} +0 -0
  573. /package/build/{Visible-eeddebd4.js → Visible-2684ee9e.js} +0 -0
  574. /package/build/{WEIGHT_BOYS.percentile.monthly-eec0cae2.js → WEIGHT_BOYS.percentile.monthly-b462a124.js} +0 -0
  575. /package/build/{WEIGHT_BOYS.percentile.weekly-2d1fd865.js → WEIGHT_BOYS.percentile.weekly-d17b3c25.js} +0 -0
  576. /package/build/{WEIGHT_BOYS.percentile.yearly-4c381ccb.js → WEIGHT_BOYS.percentile.yearly-3ad772cd.js} +0 -0
  577. /package/build/{WEIGHT_BOYS.zscore.monthly-1714da65.js → WEIGHT_BOYS.zscore.monthly-bf59b8fc.js} +0 -0
  578. /package/build/{WEIGHT_BOYS.zscore.weekly-47845233.js → WEIGHT_BOYS.zscore.weekly-69c85ec0.js} +0 -0
  579. /package/build/{WEIGHT_BOYS.zscore.yearly-604797a1.js → WEIGHT_BOYS.zscore.yearly-f9d7bcfc.js} +0 -0
  580. /package/build/{WEIGHT_GIRLS.percentile.monthly-53d516b8.js → WEIGHT_GIRLS.percentile.monthly-bef27b03.js} +0 -0
  581. /package/build/{WEIGHT_GIRLS.percentile.weekly-7434e6cb.js → WEIGHT_GIRLS.percentile.weekly-a56fe2e3.js} +0 -0
  582. /package/build/{WEIGHT_GIRLS.percentile.yearly-02a449ec.js → WEIGHT_GIRLS.percentile.yearly-8561d920.js} +0 -0
  583. /package/build/{WEIGHT_GIRLS.zscore.monthly-b34f7fb0.js → WEIGHT_GIRLS.zscore.monthly-63bac51f.js} +0 -0
  584. /package/build/{WEIGHT_GIRLS.zscore.weekly-55ed7169.js → WEIGHT_GIRLS.zscore.weekly-8dabd992.js} +0 -0
  585. /package/build/{WEIGHT_GIRLS.zscore.yearly-a2ffaeac.js → WEIGHT_GIRLS.zscore.yearly-82915dfb.js} +0 -0
  586. /package/build/components/molecules/{breadcrumbs → __deprecated_breadcrumbs}/index.test.d.ts +0 -0
  587. /package/build/{constants-ba47accb.js → constants-28cfe25a.js} +0 -0
  588. /package/build/{cookieHelper-3f2d10cc.js → cookieHelper-ce836312.js} +0 -0
  589. /package/build/esm/{BMI_BOYS.percentile.monthly-6123b6de.js → BMI_BOYS.percentile.monthly-f6f44a88.js} +0 -0
  590. /package/build/esm/{BMI_BOYS.percentile.weekly-96bf699c.js → BMI_BOYS.percentile.weekly-4446289f.js} +0 -0
  591. /package/build/esm/{BMI_BOYS.percentile.yearly-912c10ce.js → BMI_BOYS.percentile.yearly-8247b0bd.js} +0 -0
  592. /package/build/esm/{BMI_BOYS.zscore.monthly-39cb246d.js → BMI_BOYS.zscore.monthly-0cc1a411.js} +0 -0
  593. /package/build/esm/{BMI_BOYS.zscore.weekly-a56a8eb9.js → BMI_BOYS.zscore.weekly-7cee24f5.js} +0 -0
  594. /package/build/esm/{BMI_BOYS.zscore.yearly-7bc581cf.js → BMI_BOYS.zscore.yearly-9b2e671e.js} +0 -0
  595. /package/build/esm/{BMI_GIRLS.percentile.monthly-af0b0bda.js → BMI_GIRLS.percentile.monthly-cb7f29e9.js} +0 -0
  596. /package/build/esm/{BMI_GIRLS.percentile.weekly-e33884e6.js → BMI_GIRLS.percentile.weekly-11efb130.js} +0 -0
  597. /package/build/esm/{BMI_GIRLS.percentile.yearly-bf952954.js → BMI_GIRLS.percentile.yearly-7c01348b.js} +0 -0
  598. /package/build/esm/{BMI_GIRLS.zscore.monthly-fc82fd44.js → BMI_GIRLS.zscore.monthly-90ec0b40.js} +0 -0
  599. /package/build/esm/{BMI_GIRLS.zscore.weekly-256d9109.js → BMI_GIRLS.zscore.weekly-ec3f6af6.js} +0 -0
  600. /package/build/esm/{BMI_GIRLS.zscore.yearly-b75ae003.js → BMI_GIRLS.zscore.yearly-4acd78d8.js} +0 -0
  601. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-b7ed36f8.js → HEAD CIRCUM_BOYS.percentile.monthly-b00eefd3.js} +0 -0
  602. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-b35e2c71.js → HEAD CIRCUM_BOYS.percentile.weekly-f65d6972.js} +0 -0
  603. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-a1d36f9e.js → HEAD CIRCUM_BOYS.percentile.yearly-1871dafc.js} +0 -0
  604. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-9ee5be86.js → HEAD CIRCUM_BOYS.zscore.monthly-5387e36f.js} +0 -0
  605. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-f377e440.js → HEAD CIRCUM_BOYS.zscore.weekly-1c3ead95.js} +0 -0
  606. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-de8e2b21.js → HEAD CIRCUM_BOYS.zscore.yearly-44af0c41.js} +0 -0
  607. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-30c659b8.js → HEAD CIRCUM_GIRLS.percentile.monthly-6c32287e.js} +0 -0
  608. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-ecedf253.js → HEAD CIRCUM_GIRLS.percentile.weekly-973689ad.js} +0 -0
  609. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-1935e35b.js → HEAD CIRCUM_GIRLS.percentile.yearly-b5953f46.js} +0 -0
  610. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-dbc83463.js → HEAD CIRCUM_GIRLS.zscore.monthly-c438e5fe.js} +0 -0
  611. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-ad24cad8.js → HEAD CIRCUM_GIRLS.zscore.weekly-1ad403f4.js} +0 -0
  612. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-5d83c50d.js → HEAD CIRCUM_GIRLS.zscore.yearly-ef468935.js} +0 -0
  613. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e5f8a0cf.js → HEIGHT_BOYS.percentile.monthly-9d1dd26d.js} +0 -0
  614. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e18946dc.js → HEIGHT_BOYS.percentile.weekly-cad92fe2.js} +0 -0
  615. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-97e1ceec.js → HEIGHT_BOYS.percentile.yearly-9b11ec59.js} +0 -0
  616. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-73a48f13.js → HEIGHT_BOYS.zscore.monthly-7bd1e409.js} +0 -0
  617. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-3b8ca686.js → HEIGHT_BOYS.zscore.weekly-c1a9b2b9.js} +0 -0
  618. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-9c9076fc.js → HEIGHT_BOYS.zscore.yearly-030b3bcb.js} +0 -0
  619. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-a48211e6.js → HEIGHT_GIRLS.percentile.monthly-d60d35cc.js} +0 -0
  620. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-44bb7df9.js → HEIGHT_GIRLS.percentile.weekly-90d9e163.js} +0 -0
  621. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-484721e9.js → HEIGHT_GIRLS.percentile.yearly-a92ee94e.js} +0 -0
  622. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-fec70dcc.js → HEIGHT_GIRLS.zscore.monthly-4934389b.js} +0 -0
  623. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-8d666563.js → HEIGHT_GIRLS.zscore.weekly-78b3b387.js} +0 -0
  624. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-683de929.js → HEIGHT_GIRLS.zscore.yearly-f631a2c6.js} +0 -0
  625. /package/build/esm/{Onboarding-902d91c4.js → Onboarding-5f7cf95b.js} +0 -0
  626. /package/build/esm/{Visible-b4b20b37.js → Visible-8db79ece.js} +0 -0
  627. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-5997d986.js → WEIGHT_BOYS.percentile.monthly-3472115e.js} +0 -0
  628. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-003b2638.js → WEIGHT_BOYS.percentile.weekly-9323173b.js} +0 -0
  629. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-597be187.js → WEIGHT_BOYS.percentile.yearly-bbb04585.js} +0 -0
  630. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-44b05cd8.js → WEIGHT_BOYS.zscore.monthly-84ffeacb.js} +0 -0
  631. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-722e92ae.js → WEIGHT_BOYS.zscore.weekly-b1645c1c.js} +0 -0
  632. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-42a98d3f.js → WEIGHT_BOYS.zscore.yearly-acbecbc1.js} +0 -0
  633. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-28ca6bff.js → WEIGHT_GIRLS.percentile.monthly-26b7d226.js} +0 -0
  634. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-5e172fd9.js → WEIGHT_GIRLS.percentile.weekly-d4bf1d04.js} +0 -0
  635. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-1a5ac832.js → WEIGHT_GIRLS.percentile.yearly-077e00ce.js} +0 -0
  636. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-5be40eff.js → WEIGHT_GIRLS.zscore.monthly-dbe1c792.js} +0 -0
  637. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-1da9e45f.js → WEIGHT_GIRLS.zscore.weekly-b3ca7ff1.js} +0 -0
  638. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d0b2746a.js → WEIGHT_GIRLS.zscore.yearly-e90c3bd4.js} +0 -0
  639. /package/build/esm/{constants-b0cc2238.js → constants-dfb1c1b3.js} +0 -0
  640. /package/build/esm/{cookieHelper-b50a3cff.js → cookieHelper-3816280f.js} +0 -0
  641. /package/build/esm/{index-272a50f1.js → index-99c43f8f.js} +0 -0
  642. /package/build/esm/{isProduction-ce77d126.js → isProduction-62cf37f2.js} +0 -0
  643. /package/build/esm/{localizeNumberFormat-3092c5cc.js → localizeNumberFormat-06d96477.js} +0 -0
  644. /package/build/esm/{normalizeLink-40a5f330.js → normalizeLink-8a11a7a4.js} +0 -0
  645. /package/build/esm/{theme-2d0f282d.js → theme-3244030b.js} +0 -0
  646. /package/build/esm/{translationsContext-ac2e774a.js → translationsContext-f4d02eb0.js} +0 -0
  647. /package/build/esm/{tslib.es6-9e47bb08.js → tslib.es6-47c8da1d.js} +0 -0
  648. /package/build/esm/{types-18add20d.js → types-4c0f1205.js} +0 -0
  649. /package/build/esm/{useIsInit-c885b9a0.js → useIsInit-d0ea219d.js} +0 -0
  650. /package/build/esm/{useOutsideClick-0c86636e.js → useOutsideClick-50d3bb72.js} +0 -0
  651. /package/build/esm/{useScrollbarSize-89b572ef.js → useScrollbarSize-dfa90b59.js} +0 -0
  652. /package/build/esm/{useUniqueId-23c74b8d.js → useUniqueId-6cf90110.js} +0 -0
  653. /package/build/esm/{utils-4e2b04da.js → utils-c933aef8.js} +0 -0
  654. /package/build/{index-8260140e.js → index-1e228d03.js} +0 -0
  655. /package/build/{isProduction-019b0579.js → isProduction-5e1dfd6c.js} +0 -0
  656. /package/build/{localizeNumberFormat-335b1b39.js → localizeNumberFormat-1ffb16c3.js} +0 -0
  657. /package/build/{normalizeLink-0c7aac23.js → normalizeLink-1ba6e3df.js} +0 -0
  658. /package/build/{theme-66e2ab49.js → theme-eb8f3410.js} +0 -0
  659. /package/build/{translationsContext-c66947a5.js → translationsContext-40208f0c.js} +0 -0
  660. /package/build/{tslib.es6-3d6186da.js → tslib.es6-e2fc843d.js} +0 -0
  661. /package/build/{types-3babfd0e.js → types-7042609a.js} +0 -0
  662. /package/build/{useIsInit-7f2df5e9.js → useIsInit-2d7faa01.js} +0 -0
  663. /package/build/{useOutsideClick-82010c15.js → useOutsideClick-6ccca87c.js} +0 -0
  664. /package/build/{useScrollbarSize-87aab25a.js → useScrollbarSize-50a1a30d.js} +0 -0
  665. /package/build/{useUniqueId-e0a33d6b.js → useUniqueId-8b1f83e4.js} +0 -0
  666. /package/build/{utils-360ff840.js → utils-68beb64c.js} +0 -0
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ContainerProps } from '@mantine/core';
3
3
  import { BabyVaccineDetail } from "../../../interfaces/types";
4
4
  type _DetailProps = {
5
5
  details: BabyVaccineDetail;
6
6
  } & ContainerProps;
7
- export declare const _Detail: ({ details, ...rest }: _DetailProps) => JSX.Element;
7
+ export declare const _Detail: ({ details, ...rest }: _DetailProps) => React.JSX.Element;
8
8
  export {};
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import { BabyVaccinationRecord } from "../../../interfaces/types";
3
3
  export type FormField = {
4
4
  date: Date;
@@ -10,5 +10,5 @@ type _FormProps = {
10
10
  template?: 'default' | 'immunization';
11
11
  doses?: Array<BabyVaccinationRecord>;
12
12
  } & Omit<HTMLAttributes<HTMLFormElement>, 'onSubmit'>;
13
- export declare const _Form: ({ record, onSubmit: _onSubmit, template, doses, ...rest }: _FormProps) => JSX.Element;
13
+ export declare const _Form: ({ record, onSubmit: _onSubmit, template, doses, ...rest }: _FormProps) => React.JSX.Element;
14
14
  export {};
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  type _IconProps = {
3
3
  type: 'definition' | 'benefit' | 'contraindications' | 'related_articles';
4
4
  };
5
- export declare const _Icon: ({ type }: _IconProps) => JSX.Element;
5
+ export declare const _Icon: ({ type }: _IconProps) => React.JSX.Element;
6
6
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ModalProps } from "../../mantine";
3
3
  import { BabyVaccinationRecord, BabyVaccineDetail, SiteType } from "../../../interfaces/types";
4
4
  import { FormField } from './form';
@@ -11,5 +11,5 @@ export type VaccineDetailPopupProps = {
11
11
  onSubmit: (values: FormField, record: BabyVaccinationRecord) => Promise<void>;
12
12
  template?: 'default' | 'immunization';
13
13
  } & Omit<ModalProps, 'onSubmit'>;
14
- declare const VaccineDetailPopup: ({ currentRecord, vaccineDetail, isDetail, siteType, onSubmit: _onSubmit, template, ...rest }: VaccineDetailPopupProps) => JSX.Element;
14
+ declare const VaccineDetailPopup: ({ currentRecord, vaccineDetail, isDetail, onSubmit: _onSubmit, template, ...rest }: VaccineDetailPopupProps) => React.JSX.Element;
15
15
  export { VaccineDetailPopup };
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- export declare const _Header: () => JSX.Element;
3
- export declare const Header: React.MemoExoticComponent<() => JSX.Element>;
2
+ export declare const _Header: () => React.JSX.Element;
3
+ export declare const Header: React.MemoExoticComponent<() => React.JSX.Element>;
@@ -1,9 +1,9 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import { BabyVaccinationRecord, BabyVaccineDetail, SiteType } from "../../../interfaces/types";
3
3
  export type ImmunizationProps = {
4
4
  details: Array<BabyVaccineDetail>;
5
5
  onClick?(record: BabyVaccineDetail | BabyVaccinationRecord, template?: 'default' | 'immunization'): void;
6
6
  siteType?: SiteType;
7
7
  } & Omit<HTMLAttributes<HTMLDivElement>, 'onClick'>;
8
- declare const Immunization: ({ details, siteType, onClick, ...rest }: ImmunizationProps) => JSX.Element;
8
+ declare const Immunization: ({ details, siteType, onClick, ...rest }: ImmunizationProps) => React.JSX.Element;
9
9
  export { Immunization };
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- export declare const _Warning: () => JSX.Element;
3
- export declare const Warning: React.MemoExoticComponent<() => JSX.Element>;
2
+ export declare const _Warning: () => React.JSX.Element;
3
+ export declare const Warning: React.MemoExoticComponent<() => React.JSX.Element>;
@@ -1,11 +1,10 @@
1
- import { HTMLAttributes } from 'react';
2
- import { BabyVaccinationRecord, BabyVaccinationSchedule, Gender, SiteType } from "../../../interfaces/types";
1
+ import React, { HTMLAttributes } from 'react';
2
+ import { BabyVaccinationRecord, BabyVaccinationSchedule, Gender } from "../../../interfaces/types";
3
3
  export type RecordsByAgeGroupProps = {
4
4
  schedules: Array<BabyVaccinationSchedule>;
5
5
  onToggle?(status: boolean, record: BabyVaccinationRecord): void;
6
6
  onTitleClick?(record: BabyVaccinationRecord): void;
7
- siteType?: SiteType;
8
7
  gender?: Gender;
9
8
  } & HTMLAttributes<HTMLDivElement>;
10
- declare const RecordsByAgeGroup: ({ schedules, onToggle, siteType, onTitleClick, gender, ...rest }: RecordsByAgeGroupProps) => JSX.Element;
9
+ declare const RecordsByAgeGroup: ({ schedules, onToggle, onTitleClick, gender, ...rest }: RecordsByAgeGroupProps) => React.JSX.Element;
11
10
  export { RecordsByAgeGroup };
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { StackProps } from '@mantine/core';
3
3
  import { BabyVaccinationRecord } from "../../../interfaces/types";
4
4
  type _RecordProps = {
@@ -7,5 +7,5 @@ type _RecordProps = {
7
7
  onToggle?(status: boolean, record: BabyVaccinationRecord): void;
8
8
  onTitleClick?(record: BabyVaccinationRecord): void;
9
9
  } & StackProps;
10
- export declare const _Record: ({ records, isCurrent, onTitleClick, onToggle, ...rest }: _RecordProps) => JSX.Element;
10
+ export declare const _Record: ({ records, isCurrent, onTitleClick, onToggle, ...rest }: _RecordProps) => React.JSX.Element;
11
11
  export {};
@@ -1,9 +1,9 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import { BabyVaccinationRecord, BabyVaccinationTimeline } from "../../../interfaces/types";
3
3
  type _ScheduleTimelineProps = {
4
4
  timeline: BabyVaccinationTimeline;
5
5
  onToggle?(status: boolean, record: BabyVaccinationRecord): void;
6
6
  onTitleClick?(record: BabyVaccinationRecord): void;
7
7
  } & HTMLAttributes<HTMLDivElement>;
8
- export declare const _ScheduleTimeline: ({ timeline, onToggle, onTitleClick, ...rest }: _ScheduleTimelineProps) => JSX.Element;
8
+ export declare const _ScheduleTimeline: ({ timeline, onToggle, onTitleClick, ...rest }: _ScheduleTimelineProps) => React.JSX.Element;
9
9
  export {};
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import { Gender, SiteType } from "../../../interfaces/types";
3
3
  export type TimelineBannerProps = {
4
4
  content: string;
@@ -7,5 +7,5 @@ export type TimelineBannerProps = {
7
7
  gender: Gender;
8
8
  siteType?: SiteType;
9
9
  } & HTMLAttributes<HTMLDivElement>;
10
- declare const TimelineBanner: ({ content, url, icon, gender, siteType, ...rest }: TimelineBannerProps) => JSX.Element;
10
+ declare const TimelineBanner: ({ content, url, icon, gender, ...rest }: TimelineBannerProps) => React.JSX.Element;
11
11
  export { TimelineBanner };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-22f1b4b9.js"),r=require("./index-eafafc7c.js"),o=require("./index-342a17d9.js"),t=require("./index-cfd40ecc.js"),i=require("./index-8c0e030f.js"),a=require("./index-9f19c4b4.js"),s=require("./index.styled-5469886f.js"),d=require("./index-42f00c5b.js"),n=require("./index.styled-9d2b1efb.js"),u=require("./index.styled-6e10e174.js"),x=require("./index-89f33f25.js"),p=require("./index-0e1e038c.js"),l=require("./index-df932576.js"),c=require("./index-5d304806.js"),q=require("./index-9c89e346.js"),b=require("./index-8260140e.js"),g=require("./dataTransform-40c60494.js"),C=require("./index-903287fd.js"),j=require("./footer.js");require("react"),require("./utils-360ff840.js"),require("./useUniqueId-e0a33d6b.js"),require("./gAssets.js"),require("./index-89675e20.js"),require("./Onboarding-ef89eddc.js"),require("./isProduction-019b0579.js"),require("./theme-66e2ab49.js"),require("./tslib.es6-3d6186da.js"),require("lodash/throttle"),require("keen-slider/react"),require("dayjs"),require("./screenSizeContext-2c45a1a9.js"),require("styled-components"),require("./useTranslations-ee8c85d8.js"),require("./translationsContext-c66947a5.js"),require("string-format"),require("date-fns"),require("@mantine/core"),require("./index.styled-37e69970.js"),require("./index-87604d9a.js"),require("@mantine/dates"),require("@mantine/hooks"),require("@mantine/carousel"),require("./index-84d40fa6.js"),require("./types-3babfd0e.js"),require("./index.styled-253707d5.js"),require("./cookieHelper-3f2d10cc.js"),require("slugify"),require("./routing-47d2a8ab.js"),require("dayjs/plugin/relativeTime"),require("./index-b2e3732e.js"),require("./index-6d3a2a2b.js"),require("react-hook-form"),require("./useHealthToolCache-0e9463cc.js"),require("./getDynamicHealthTool-07e44f34.js"),require("./core-336d138b.js"),require("./normalizeLink-0c7aac23.js"),require("./useOutsideClick-82010c15.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./useScreenSize-b0d12a07.js"),require("./getSocialList-13bf6b15.js"),require("./constants-ba47accb.js"),require("./useIsInit-7f2df5e9.js"),require("lodash/debounce"),require("./index-d3ee54d5.js"),require("./index-d55d8d4c.js"),require("@hookform/resolvers/yup"),require("react-day-picker/DayPickerInput"),require("./useScrollbarSize-87aab25a.js"),require("react-dom"),require("./index.styled-8ee467cb.js"),exports.Alert=e.Alert,exports.ArticleCard=e.ArticleCard,exports.BMICardEmbed=e.BMICardEmbed,exports.BMRCardEmbed=e.BMRCardEmbed,exports.BabyGrowthCardEmbed=e.BabyGrowthCardEmbed,exports.BabyPoopEmbed=e.BabyPoopEmbed,exports.Badge=e.Badge,exports.BorderHeading=e.BorderHeading,exports.Breadcrumbs=e.Breadcrumbs,exports.Carousel=e.Carousel,exports.CategoryCard=e.CategoryCard,exports.Checkbox=e.Checkbox,exports.CheckboxGroup=e.CheckboxGroup,exports.CookieAcceptConfirm=e.CookieAcceptConfirm,exports.DateRangePicker=e.DateRangePicker,exports.DueDateCardEmbed=e.DueDateCardEmbed,exports.FileDropdown=e.FileDropdown,exports.FloatButtonGroup=e.FloatButtonGroup,exports.Grid=e.Grid,exports.IconText=e.IconText,exports.OvulationCardEmbed=e.OvulationCardEmbed,exports.PWGCardEmbed=e.PWGCardEmbed,exports.Pagination=e.Pagination,exports.Progress=e.Progress,exports.ProgressBar=e.ProgressBar,exports.RateStars=e.RateStars,exports.ScrollList=e.ScrollList,exports.SeoHead=e.SeoHead,exports.Shadow=e.Shadow,exports.ShareContainer=e.ShareContainer,exports.ShareDrawer=e.ShareDrawer,exports.SideMenu=e.index,exports.StatisticCard=e.StatisticCard,exports.SurveyThankyouCard=e.SurveyThankyouCard,exports.THRCardEmbed=e.THRCardEmbed,exports.Table=e.index$1,exports.Tag=e.Tag,exports.Toggle=e.Toggle,exports.UnderlinedLink=e.UnderlinedLink,exports.Uploader=e.Uploader,exports.Avatar=r.Avatar,exports.Flag=r.Flag,exports.LanguageSwitcher=r.LanguageSwitcher,exports.NavigationLogoutPopup=r.NavigationLogoutPopup,exports.NavigationProfileButton=r.NavigationProfileButton,exports.NavigationV2=r.NavigationV2,exports.ProfilePopup=r.ProfilePopup,exports.UserProfileNavigation=r.UserProfileNavigation,exports.UserProfileNavigationHeader=r.NavHeader,exports.UserProfileNavigationStats=r.UserStats,exports.getNavMenuContent=r.getNavMenuContent,exports.getNavMenuContentWithCache=r.getNavMenuContentWithCache,exports.Button=o.Button,exports.AuthorBadge=t.AuthorBadge,exports.BtnChoice=t.BtnChoice,exports.Divider=t.Divider,exports.Tabs=t.Tabs,exports.Heading=i.Heading,exports.Input=a.Input,exports.Label=s.Label,exports.Logo=d.Logo,exports.Menu=n.Menu,exports.PureInput=n.PureInput,exports.TextArea=n.TextArea,exports.TextDivider=n.TextDivider,exports.DatePicker=u.DatePicker,exports.DoctorInfo=u.DoctorInfo,exports.Dropdown=u.Dropdown,exports.MobileBottomNavigation=u.MobileBottomNavigation,exports.MobileBottomNavigationIcon=u.MobileBottomNavigationIcon,exports.Radio=u.Radio,exports.RadioGroup=u.RadioGroup,exports.SurveyQuestionCard=u.SurveyQuestionCard,exports.ToolsBannerCard=u.ToolsBannerCard,exports.Text=x.Text,exports.Container=p.Container,exports.Icon=l.Icon,exports.Drawer=c.Drawer,exports.RadioImageGroup=c.RadioImageGroup,exports.Modal=q.Modal,exports.NewBabyProfileRadio=q.NewBabyProfileRadio,exports.CustomReferenceDot=b.CustomReferenceDot,exports.Popup=g.Popup,exports.PillCarousel=C.PillCarousel,exports.Footer=j.Footer;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-c8060d1f.js"),r=require("./index-d33c0ec2.js"),o=require("./index-17e6ceba.js"),t=require("./index-70833f28.js"),i=require("./index-bc52bc27.js"),a=require("./index-6db3efcf.js"),s=require("./index-460c1ce6.js"),d=require("./index-3a81bcf9.js"),n=require("./index.styled-f5c921d2.js"),u=require("./index.styled-5eb96b4d.js"),p=require("./index-ffea266b.js"),x=require("./index-1d0b464f.js"),c=require("./index-d3a7796c.js"),l=require("./index-484916c4.js"),q=require("./index-fd33e327.js"),b=require("./index-1e228d03.js"),g=require("./dataTransform-dccad0e8.js"),C=require("./index-3c4f6ab4.js"),f=require("./footer.js");require("react"),require("./utils-68beb64c.js"),require("./useUniqueId-8b1f83e4.js"),require("./gAssets.js"),require("./index-2f7461c1.js"),require("./Onboarding-15149402.js"),require("./isProduction-5e1dfd6c.js"),require("./theme-eb8f3410.js"),require("./tslib.es6-e2fc843d.js"),require("lodash/throttle"),require("keen-slider/react"),require("dayjs"),require("./screenSizeContext-3c011e3c.js"),require("styled-components"),require("./useTranslations-6a7d40fe.js"),require("./translationsContext-40208f0c.js"),require("string-format"),require("date-fns"),require("@mantine/core"),require("./index.styled-49d57363.js"),require("./index-9b6f1d76.js"),require("@mantine/dates"),require("@mantine/hooks"),require("@mantine/carousel"),require("./index-26bf16a5.js"),require("./types-7042609a.js"),require("./index.styled-1e6a96b2.js"),require("./cookieHelper-ce836312.js"),require("slugify"),require("./routing-292cac37.js"),require("dayjs/plugin/relativeTime"),require("./index-19088502.js"),require("./index-97eda312.js"),require("react-hook-form"),require("./useHealthToolCache-31458936.js"),require("./getDynamicHealthTool-204c0b1b.js"),require("./core-3f8d1b1f.js"),require("./normalizeLink-1ba6e3df.js"),require("./useOutsideClick-6ccca87c.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./useScreenSize-04e31ded.js"),require("./getSocialList-4a0db588.js"),require("./constants-28cfe25a.js"),require("./useIsInit-2d7faa01.js"),require("lodash/debounce"),require("./index-e4f68683.js"),require("@hookform/resolvers/yup"),require("react-day-picker/DayPickerInput"),require("./useScrollbarSize-50a1a30d.js"),require("react-dom"),require("./index.styled-c911bac1.js"),exports.Alert=e.Alert,exports.ArticleCard=e.ArticleCard,exports.BMICardEmbed=e.BMICardEmbed,exports.BMRCardEmbed=e.BMRCardEmbed,exports.BabyGrowthCardEmbed=e.BabyGrowthCardEmbed,exports.BabyPoopEmbed=e.BabyPoopEmbed,exports.Badge=e.Badge,exports.BorderHeading=e.BorderHeading,exports.Breadcrumbs=e.Breadcrumbs,exports.Carousel=e.Carousel,exports.CategoryCard=e.CategoryCard,exports.Checkbox=e.Checkbox,exports.CheckboxGroup=e.CheckboxGroup,exports.CookieAcceptConfirm=e.CookieAcceptConfirm,exports.DateRangePicker=e.DateRangePicker,exports.DueDateCardEmbed=e.DueDateCardEmbed,exports.FileDropdown=e.FileDropdown,exports.FloatButtonGroup=e.FloatButtonGroup,exports.Grid=e.Grid,exports.IconText=e.IconText,exports.OvulationCardEmbed=e.OvulationCardEmbed,exports.PWGCardEmbed=e.PWGCardEmbed,exports.Pagination=e.Pagination,exports.Progress=e.Progress,exports.ProgressBar=e.ProgressBar,exports.RateStars=e.RateStars,exports.ScrollList=e.ScrollList,exports.SeoHead=e.SeoHead,exports.Shadow=e.Shadow,exports.ShareContainer=e.ShareContainer,exports.ShareDrawer=e.ShareDrawer,exports.SideMenu=e.index,exports.StatisticCard=e.StatisticCard,exports.SurveyThankyouCard=e.SurveyThankyouCard,exports.THRCardEmbed=e.THRCardEmbed,exports.Table=e.index$1,exports.Tag=e.Tag,exports.Toggle=e.Toggle,exports.UnderlinedLink=e.UnderlinedLink,exports.Uploader=e.Uploader,exports.Avatar=r.Avatar,exports.Flag=r.Flag,exports.LanguageSwitcher=r.LanguageSwitcher,exports.NavigationLogoutPopup=r.NavigationLogoutPopup,exports.NavigationProfileButton=r.NavigationProfileButton,exports.NavigationV2=r.NavigationV2,exports.ProfilePopup=r.ProfilePopup,exports.UserProfileNavigation=r.UserProfileNavigation,exports.UserProfileNavigationHeader=r.NavHeader,exports.UserProfileNavigationStats=r.UserStats,exports.getNavMenuContent=r.getNavMenuContent,exports.getNavMenuContentWithCache=r.getNavMenuContentWithCache,exports.Button=o.Button,exports.AuthorBadge=t.AuthorBadge,exports.BtnChoice=t.BtnChoice,exports.Divider=t.Divider,exports.Tabs=t.Tabs,exports.Heading=i.Heading,exports.Input=a.Input,exports.Label=s.Label,exports.Logo=d.Logo,exports.Menu=n.Menu,exports.PureInput=n.PureInput,exports.TextArea=n.TextArea,exports.TextDivider=n.TextDivider,exports.DatePicker=u.DatePicker,exports.DoctorInfo=u.DoctorInfo,exports.Dropdown=u.Dropdown,exports.MobileBottomNavigation=u.MobileBottomNavigation,exports.MobileBottomNavigationIcon=u.MobileBottomNavigationIcon,exports.Radio=u.Radio,exports.RadioGroup=u.RadioGroup,exports.SurveyQuestionCard=u.SurveyQuestionCard,exports.ToolsBannerCard=u.ToolsBannerCard,exports.Text=p.Text,exports.Container=x.Container,exports.Icon=c.Icon,exports.Drawer=l.Drawer,exports.RadioImageGroup=l.RadioImageGroup,exports.Modal=q.Modal,exports.NewBabyProfileRadio=q.NewBabyProfileRadio,exports.CustomReferenceDot=b.CustomReferenceDot,exports.Popup=g.Popup,exports.PillCarousel=C.PillCarousel,exports.Footer=f.Footer;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./Onboarding-ef89eddc.js");var e=require("./index-89675e20.js"),O=require("./isProduction-019b0579.js");exports.CARE_BOOKING_LOCALES=e.CARE_BOOKING_LOCALES,exports.CARE_LOCALES=e.CARE_LOCALES,exports.FAVICONS=e.FAVICONS,exports.ISO_FORMAT=e.ISO_FORMAT,exports.LOCALE_SPECS=e.LOCALE_SPECS,Object.defineProperty(exports,"QUERY_HEALTH_TOOL",{enumerable:!0,get:function(){return e.QUERY_HEALTH_TOOL}}),exports.STATIC_PAGES=e.STATIC_PAGES,exports.TOGETHER_LOCALES=e.TOGETHER_LOCALES,exports.UP_BASEPATH=e.UP_BASEPATH,exports.USER_GEOLOCATION_COORDINATES_COOKIE=e.USER_GEOLOCATION_COORDINATES_COOKIE,exports.domainLocales=e.domainLocales,exports.siteHost=e.siteHost,exports.siteOptions=e.siteOptions,exports.isProduction=O.isProduction;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./Onboarding-15149402.js");var e=require("./index-2f7461c1.js"),O=require("./isProduction-5e1dfd6c.js");exports.CARE_BOOKING_LOCALES=e.CARE_BOOKING_LOCALES,exports.CARE_LOCALES=e.CARE_LOCALES,exports.FAVICONS=e.FAVICONS,exports.ISO_FORMAT=e.ISO_FORMAT,exports.LOCALE_SPECS=e.LOCALE_SPECS,Object.defineProperty(exports,"QUERY_HEALTH_TOOL",{enumerable:!0,get:function(){return e.QUERY_HEALTH_TOOL}}),exports.STATIC_PAGES=e.STATIC_PAGES,exports.TOGETHER_LOCALES=e.TOGETHER_LOCALES,exports.UP_BASEPATH=e.UP_BASEPATH,exports.USER_GEOLOCATION_COORDINATES_COOKIE=e.USER_GEOLOCATION_COORDINATES_COOKIE,exports.domainLocales=e.domainLocales,exports.siteHost=e.siteHost,exports.siteOptions=e.siteOptions,exports.isProduction=O.isProduction;
@@ -1 +1 @@
1
- "use strict";var t=require("./tslib.es6-3d6186da.js"),e=require("./isProduction-019b0579.js");const i={},a=t=>{if("undefined"!=typeof window){let i;try{i=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return i||{}}return i[t]},r=(t,a)=>{try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:a,time:Date.now()})):i[t]={data:a,time:Date.now()}}catch(t){}};exports.getCachedItem=a,exports.getDataWithCache=(e,i,o,n=9e5)=>t.__awaiter(void 0,void 0,void 0,(function*(){const t=a(e);if(t&&t.data&&t.time&&Date.now()-t.time<n)return t.data;if(i){const t=yield i();return o&&!o(t)||r(e,t),t}return null})),exports.setCachedItem=r;
1
+ "use strict";var t=require("./tslib.es6-e2fc843d.js"),e=require("./isProduction-5e1dfd6c.js");const i={},a=t=>{if("undefined"!=typeof window){let i;try{i=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return i||{}}return i[t]},r=(t,a)=>{try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:a,time:Date.now()})):i[t]={data:a,time:Date.now()}}catch(t){}};exports.getCachedItem=a,exports.getDataWithCache=(e,i,o,n=9e5)=>t.__awaiter(void 0,void 0,void 0,(function*(){const t=a(e);if(t&&t.data&&t.time&&Date.now()-t.time<n)return t.data;if(i){const t=yield i();return o&&!o(t)||r(e,t),t}return null})),exports.setCachedItem=r;
@@ -1 +1 @@
1
- "use strict";exports.abbreviateNumber=e=>{let t=String(e);if(e>=1e3){const r=["","k","m","b","t"],i=Math.floor((""+e).length/3);let o;for(let t=2;t>=1;t--){o=parseFloat((0!=i?e/Math.pow(1e3,i):e).toPrecision(t));if((o+"").replace(/[^a-zA-Z 0-9]+/g,"").length<=2)break}o&&o%1!=0&&(o=o.toFixed(1)),t=o+r[i]}return t},exports.formatPill=e=>e?{id:e.id,name:e.name,icon:e.fruit_icon}:{};
1
+ "use strict";exports.abbreviateNumber=e=>{let t=String(e);if(e>=1e3){const r=["","k","m","b","t"],i=Math.floor((""+e).length/3);let o;for(let t=2;t>=1;t--){o=parseFloat((0!=i?e/Math.pow(1e3,i):e).toPrecision(t));if((o+"").replace(/[^a-zA-Z 0-9]+/g,"").length<=2)break}o&&o%1!=0&&(o=o.toFixed(1)),t=o+r[i]}return t},exports.formatPill=e=>e?{id:e.id,name:e.name||"",icon:e.fruit_icon||""}:{};
@@ -1 +1 @@
1
- "use strict";var e=require("react"),i=require("./index.styled-253707d5.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=o(e);const l=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},n=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},r=e=>{var i,o,t,r;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:l(e.author),reviewer:e.reviewed_by&&l(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:a(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:a(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:a(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:a(null===(r=null==e?void 0:e.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:s(e.category),postContent:e.post_content||null,sections:e.sections||null,categories:(e.categories||[]).map(s),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:n(e.expert),metaTag:e.meta_tag||null}:{}},a=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,d=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},u=e=>({postTitle:e.post_title,permalink:e.permalink}),s=e=>{var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((e=>s(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?u(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>m(e))):null}:{}},m=e=>({title:e.title,content:e.content}),v=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},c=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},p=e=>{var i,o,t,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(t=e.community)||void 0===t?void 0:t.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},_=e=>e?{answer:null==e?void 0:e.answer.map(f),expert:null==e?void 0:e.expert}:{},g=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,g,y,f,w,h,b,k;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var o,t,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+i.slug,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(t=e.community)||void 0===t?void 0:t.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(r=e.user)||void 0===r?void 0:r.id)||0,username:(null===(a=e.user)||void 0===a?void 0:a.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(s=e.user)||void 0===s?void 0:s.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(g=e.user)||void 0===g?void 0:g.partner_id)?String(null===(y=e.user)||void 0===y?void 0:y.partner_id):"",title:(null===(f=e.user)||void 0===f?void 0:f.title)||"",doctorId:(null===(w=e.user)||void 0===w?void 0:w.doctor_id)?String(null===(h=e.user)||void 0===h?void 0:h.doctor_id):"",hospitalId:(null===(b=e.user)||void 0===b?void 0:b.hospital_id)?String(null===(k=e.user)||void 0===k?void 0:k.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:_(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},y=e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},f=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,_,g,y,w,h,b,k,I,C,x,S,T,P,A,B,D,q,U;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(f):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(t=e.user)||void 0===t?void 0:t.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(r=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===r?void 0:r.toLowerCase():"",avatar:(null===(a=e.user)||void 0===a?void 0:a.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(s=e.user)||void 0===s?void 0:s.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(w=e.mentioned)||void 0===w?void 0:w.user_name)||"",name:(null===(h=e.mentioned)||void 0===h?void 0:h.name)||"",role:(null===(b=e.mentioned)||void 0===b?void 0:b.role)?null===(I=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===I?void 0:I.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(x=e.mentioned)||void 0===x?void 0:x.type)||"",email:(null===(S=e.mentioned)||void 0===S?void 0:S.email)||"",partnerId:(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.partner_id):"",doctorId:(null===(A=e.mentioned)||void 0===A?void 0:A.doctor_id)?String(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id):"",hospitalId:(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id)?String(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id):"",title:(null===(U=e.mentioned)||void 0===U?void 0:U.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||""}:{}},w=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var h=Object.freeze({__proto__:null,formatAuthor:l,formatArticleExpert:n,formatArticle:r,formatUserProfile:a,formatBMIResult:e=>{var i,o,t,l,n,r,a,d,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(t=null==e?void 0:e.risk)&&void 0!==t?t:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(r=null==e?void 0:e.disclaimer)&&void 0!==r?r:"",illustrator:null!==(a=null==e?void 0:e.illustrator)&&void 0!==a?a:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:d,formatReviewedCategory:u,formatCategory:s,formatCategoryApi:e=>e?{categoryInfo:s(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(r),subCategories:(e.data.sub_categories||[]).map(s)}:{},formatFaqsCategory:m,formatHealthTool:v,formatHealthToolTypeCategory:e=>{var i,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>v(e))))&&void 0!==o?o:[]}:{}},formatCommunity:c,formatTopic:p,formatExpertAnswer:_,formatPost:g,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,o,t;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(t=e.from_user)||void 0===t?void 0:t.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}))):[],formatOvulationInfo:y,formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:f,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:w,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,o,t;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(t=e.reviewed_by)||void 0===t?void 0:t.name)||"",date:e.reviewed_date||"",link:w(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});exports.Popup=({type:e="lead",closeIcon:o,isOpen:l=!0,onClose:n,children:r,className:a="",enableAnimation:d=!0})=>t.default.createElement(t.default.Fragment,null,t.default.createElement(i.StyledPopup$2,{"data-open":l,"data-type":e,"data-animation":d},t.default.createElement("div",{className:`${a||""} popup-content`},!!o&&t.default.createElement("div",{className:"close-button",onClick:n},o),r)),t.default.createElement(i.StyledPopupWrapper,{"data-open":l,onClick:n})),exports.dataTransform=h,exports.formatArticle=r,exports.formatCategory=s,exports.formatComment=f,exports.formatCommunity=c,exports.formatOvulationInfo=y,exports.formatPost=g,exports.formatTopic=p,exports.formatUserProfileUrl=w;
1
+ "use strict";var e=require("react"),i=require("./index.styled-1e6a96b2.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=o(e);const l=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},n=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},r=e=>{var i,o,t,r;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:l(e.author),reviewer:e.reviewed_by&&l(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:a(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:a(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:a(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:a(null===(r=null==e?void 0:e.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:s(e.category),postContent:e.post_content||null,sections:e.sections||null,categories:(e.categories||[]).map(s),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:n(e.expert),metaTag:e.meta_tag||null}:{}},a=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,d=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},u=e=>({postTitle:e.post_title,permalink:e.permalink}),s=e=>{var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((e=>s(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?u(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>m(e))):null}:{}},m=e=>({title:e.title,content:e.content}),v=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},c=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},p=e=>{var i,o,t,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(t=e.community)||void 0===t?void 0:t.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},_=e=>e?{answer:null==e?void 0:e.answer.map(f),expert:null==e?void 0:e.expert}:{},g=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,g,y,f,w,h,b,k;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var o,t,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+i.slug,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(t=e.community)||void 0===t?void 0:t.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(r=e.user)||void 0===r?void 0:r.id)||0,username:(null===(a=e.user)||void 0===a?void 0:a.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(s=e.user)||void 0===s?void 0:s.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(g=e.user)||void 0===g?void 0:g.partner_id)?String(null===(y=e.user)||void 0===y?void 0:y.partner_id):"",title:(null===(f=e.user)||void 0===f?void 0:f.title)||"",doctorId:(null===(w=e.user)||void 0===w?void 0:w.doctor_id)?String(null===(h=e.user)||void 0===h?void 0:h.doctor_id):"",hospitalId:(null===(b=e.user)||void 0===b?void 0:b.hospital_id)?String(null===(k=e.user)||void 0===k?void 0:k.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:_(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},y=e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},f=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,_,g,y,w,h,b,k,I,C,x,S,T,P,A,B,D,q,U;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(f):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(t=e.user)||void 0===t?void 0:t.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(r=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===r?void 0:r.toLowerCase():"",avatar:(null===(a=e.user)||void 0===a?void 0:a.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(s=e.user)||void 0===s?void 0:s.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(w=e.mentioned)||void 0===w?void 0:w.user_name)||"",name:(null===(h=e.mentioned)||void 0===h?void 0:h.name)||"",role:(null===(b=e.mentioned)||void 0===b?void 0:b.role)?null===(I=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===I?void 0:I.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(x=e.mentioned)||void 0===x?void 0:x.type)||"",email:(null===(S=e.mentioned)||void 0===S?void 0:S.email)||"",partnerId:(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.partner_id):"",doctorId:(null===(A=e.mentioned)||void 0===A?void 0:A.doctor_id)?String(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id):"",hospitalId:(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id)?String(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id):"",title:(null===(U=e.mentioned)||void 0===U?void 0:U.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||""}:{}},w=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var h=Object.freeze({__proto__:null,formatAuthor:l,formatArticleExpert:n,formatArticle:r,formatUserProfile:a,formatBMIResult:e=>{var i,o,t,l,n,r,a,d,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(t=null==e?void 0:e.risk)&&void 0!==t?t:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(r=null==e?void 0:e.disclaimer)&&void 0!==r?r:"",illustrator:null!==(a=null==e?void 0:e.illustrator)&&void 0!==a?a:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:d,formatReviewedCategory:u,formatCategory:s,formatCategoryApi:e=>e?{categoryInfo:s(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(r),subCategories:(e.data.sub_categories||[]).map(s)}:{},formatFaqsCategory:m,formatHealthTool:v,formatHealthToolTypeCategory:e=>{var i,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>v(e))))&&void 0!==o?o:[]}:{}},formatCommunity:c,formatTopic:p,formatExpertAnswer:_,formatPost:g,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,o,t;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(t=e.from_user)||void 0===t?void 0:t.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}))):[],formatOvulationInfo:y,formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:f,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:w,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,o,t;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(t=e.reviewed_by)||void 0===t?void 0:t.name)||"",date:e.reviewed_date||"",link:w(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});exports.Popup=({type:e="lead",closeIcon:o,isOpen:l=!0,onClose:n,children:r,className:a="",enableAnimation:d=!0})=>t.default.createElement(t.default.Fragment,null,t.default.createElement(i.StyledPopup$2,{"data-open":l,"data-type":e,"data-animation":d},t.default.createElement("div",{className:`${a||""} popup-content`},!!o&&t.default.createElement("div",{className:"close-button",onClick:n},o),r)),t.default.createElement(i.StyledPopupWrapper,{"data-open":l,onClick:n})),exports.dataTransform=h,exports.formatArticle=r,exports.formatCategory=s,exports.formatComment=f,exports.formatCommunity=c,exports.formatOvulationInfo=y,exports.formatPost=g,exports.formatTopic=p,exports.formatUserProfileUrl=w;
@@ -1,5 +1,5 @@
1
- import { OrderStatus } from '../../interfaces/types';
2
1
  import { FooterInfoApi } from './apiTypes';
2
+ import { OrderStatus } from '../../interfaces/types';
3
3
  export type AutoCompleteAddress = {
4
4
  description: string;
5
5
  placeId: string;
package/build/ecom.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./theme-66e2ab49.js");require("./index-89675e20.js");var o=require("./isProduction-019b0579.js"),t=require("./types-3babfd0e.js");require("./Onboarding-ef89eddc.js");var l=Object.freeze({__proto__:null}),i=Object.freeze({__proto__:null});const a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,n="undefined"==typeof window,s=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",r=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",u=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,c=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",d={"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"},m=a?"http://localhost:3001":o.isProduction?`https://${d[s]}`:`https://discover.${d[s]}`,p=o.isProduction?`https://wp.${d[s]}/`:`https://staging.${d[s]}/`,_=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:`https://together.${d[s]}/`,h=`${m}/community`,E=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";var I;!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(I||(I={}));const v={"vi-VN":{HOME:()=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#website","@type":"WebSite",description:"Hello Bacsi - Health Information",inLanguage:"vi-VN",name:"Hello Bacsi",potentialAction:[{"@type":"SearchAction","query-input":"required name=search_term_string",target:"https://hellobacsi.com/shop/tim-kiem/?keyword={search_term_string}"}],url:"https://hellobacsi.com/shop/"}]}),CATEGORY:(e="",o=0,t=[])=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/danh-muc","@type":"WebPage",name:"Hello Bacsi - Danh Muc",url:"https://hellobacsi.com/shop/danh-muc"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]}),BRAND:(e="",o=0,t=[])=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/thuong-hieu","@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/thuong-hieu"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]}),BRAND_DETAIL:(e="",o=0,t)=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/thuong-hieu/#brand","@type":"BrandDetail",itemListElement:[{"@type":"Item",item:{"@id":`https://hellobacsi.com/shop${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop${e}`}}]},{"@type":"BrandDetail",url:`https://hellobacsi.com/shop${e}`,numberOfItems:o,itemListElement:null!=t?t:{}}]}),PRODUCT_DETAIL:(e="",o=0,t)=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/san-pham/#product","@type":"ProductDetail",itemListElement:[{"@type":"Item",item:{"@id":`https://hellobacsi.com/shop/san-pham/${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop/san-pham/${e}`}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}};var T=Object.freeze({__proto__:null,isDevelopment:a,IS_SSR:n,locale:s,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:r,GOOGLE_ADMIN_LOCATION_KEY:u,GOOGLE_CLIENT_ID:c,GOOGLE_CALENDAR_API_KEY:"",basePath:"shop",SSO_USER_BASE_PATH:"user",CARE_BASE_PATH:"care",COMMUNITY_BASE_PATH:"community",HEALTH_TOOLs_BASE_PATH:"health-tools",NOTIFICATION_TIME_OUT:3e3,DOMAIN_LOCALES:d,DISCOVER_URL_FE:m,DISCOVER_URL_BE:p,TOGETHER_URL_BE:_,TOGETHER_URL_FE:h,SSO_URL:E,DISCOVERY_FOOTER_URL:"#",HEALTH_CARE_FOOTER_URL:"#",HEALTH_TOOLS_FOOTER_URL:"#",HEALTH_TOGETHER_FOOTER_URL:"#",POLICIES_FOOTER_URL:"#",FAQ_FOOTER_URL:"#",SITEMAP_FOOTER_URL:"#",ABOUT_US_FOOTER_URL:"#",EXECUTIVE_BIOS_FOOTER_URL:"#",ADVERTISING_FOOTER_URL:"#",CONTACT_US_FOOTER_URL:"#",ABOUT_GO_CARE_FOOTER_URL:"#",get Gender(){return I},EMAIL_REGEX:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,COUNTRY_SITENAME:{ID:"Hello Sehat",TH:"Hello Khunmor",MY:"Hello Doktor",KH:"Hello Krupet",TW:"Hello Yishi",MM:"Hello Sayarwon",IN:"Hello Swasthya",VN:"Hello Bacsi",PH:"Hello Doctor"},LOCALE_SPECS:{"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"},"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"},"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"},"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"},"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"},"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"},"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"},"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"}},SOCIAL_MEDIA:{"vi-VN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellobacsi/",INSTAGRAM:"https://www.instagram.com/hellobacsi/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCYHzHDXngnB7jkmcQgXwE0w"},"en-PH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoctorPH/",INSTAGRAM:"https://www.instagram.com/hellodoctor_ph/",TWITTER:null},"km-KH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokrupet/",INSTAGRAM:"https://www.instagram.com/hellokrupetofficial/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCVK4p9YPIMkmoerk3X-y-TQ"},"ms-MY":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoktorMY/",INSTAGRAM:"https://www.instagram.com/_hellodoktor_/",TWITTER:null},"id-ID":{LINKEDIN:"https://www.linkedin.com/company/hello-sehat/",FACEBOOK:"https://www.facebook.com/hellosehat",INSTAGRAM:"https://www.instagram.com/hellosehat/",TWITTER:"https://twitter.com/HelloSehat"},"my-MM":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellosayarwon/",INSTAGRAM:"https://www.facebook.com/hellosayarwon/",TWITTER:null},"zh-TW":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/helloyishi/",INSTAGRAM:"https://www.instagram.com/helloyishi/",TWITTER:null},"hi-IN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloSwasthya/",INSTAGRAM:"https://www.instagram.com/hello_swasthya/",TWITTER:null},"th-TH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokhunmor/",INSTAGRAM:"https://www.instagram.com/hellokhunmor/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCbdbow4UhKfa7rqIhclNPIQ/"}},FLAG_LINKS:{ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},STATIC_PAGES:{"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/"},"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/"},"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/"},"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/"},"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/"},"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"},"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/"},"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/"},"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/"}},FAVICONS:{"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"}]},LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},MAX_ALLOWED_IMG_SIZE:20971520,COUNTRY_CODE_BY_LOCALE:{"vi-VN":"vn","id-ID":"id","ms-MY":"my","km-KH":"kh","en-PH":"ph","th-TH":"th","my-MM":"mm","zh-TW":"tw","hi-IN":"in"},COUNTRY_CURRENCY_SYMBOL:{"vi-VN":"₫","id-ID":"Rp","ms-MY":"RM","km-KH":"៛","en-PH":"₱","th-TH":"฿","my-MM":"K","zh-TW":"$","hi-IN":"₹"},CURRENCY_PREFIX:{IDR:"Dimulai dari"},LOCALISED_SLUGS:{"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}},HEADER_LOGO_ALIGNMENT:"188px",globalFontFamily:"Inter",ENABLE_COMMUNITY_LOCALES:["vi-VN","id-ID","ms-MY","en-PH","th-TH"],ENABLE_CARE_LOCALES:["vi-VN","id-ID","en-PH"],ENABLE_HEALTH_PARENTING_LOCALES:["vi-VN","en-PH","id-ID","ms-MY","km-KH","th-TH","my-MM","zh-TW"],SEO_SCHEMA:v});function g(e){return null!=e}const O={formatAutoCompleteAddress:e=>e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null,formatPrice:(e,o)=>{const t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:e=>({text:(null==e?void 0:e.name)||""}),formatHelpfulUrl:e=>({name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}),formatCategory:function(o,t,l){var i,a,n;const s=l?l+"/"+o.slug:o.slug,r=(null===(a=null===(i=null==o?void 0:o.children)||void 0===i?void 0:i.map)||void 0===a?void 0:a.call(i,(e=>O.formatCategory(e,o.id,s))))||[];return{id:null==o?void 0:o.id,name:(null==o?void 0:o.name)||"",logo:(null==o?void 0:o.logo)||"",slug:(null==o?void 0:o.slug)||"",fullSlug:s||"",children:r,backgroundColor:o.color||e.theme.colors.teal50,parentId:t||0,products:(null===(n=o.products)||void 0===n?void 0:n.map(O.formatProduct))||[]}},formatFooterInfo:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_,h,E,I,v,T;const g=(null===(l=null===(t=null===(o=null==e?void 0:e.branch)||void 0===o?void 0:o.branch)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({flag:e.flag||"",name:e.name||"",url:e.url||""}))))||[],O=(null===(n=null===(a=null===(i=null==e?void 0:e.general)||void 0===i?void 0:i.verified)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>({image:e.image||"",url:e.url||""}))))||[],A=(null===(r=null===(s=null==e?void 0:e.menu)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,(e=>{var o,t;return{menu_title:e.menu_title,items:null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({title:e.title,url:e.url})))}})))||[],b=(null===(d=null===(c=null===(u=null==e?void 0:e.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(e=>({icon:e.icon||"",name:e.name||"",url:e.url||""}))))||[];return{branch:{title:(null===(m=null==e?void 0:e.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==e?void 0:e.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==e?void 0:e.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(v=null===(I=null==e?void 0:e.general)||void 0===I?void 0:I.copyright)&&void 0!==v?v:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:b}}},formatNavigation:function(e){var o,t,l,i,a,n;return{hotSearchKeywords:(null===(t=null===(o=null==e?void 0:e.hot_search_keywords)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatHotSearchKeyword))||[],helpfulUrls:(null===(i=null===(l=null==e?void 0:e.helpful_urls)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatHelpfulUrl))||[],categories:(null===(n=null===(a=null==e?void 0:e.categories)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>O.formatCategory(e))))||[],footer:O.formatFooterInfo(null==e?void 0:e.footer),storeId:(null==e?void 0:e.store_id)||0,customerId:(null==e?void 0:e.customer_id)||0,cartItemsQty:"number"==typeof(null==e?void 0:e.cart_items_qty)?e.cart_items_qty:null}},formatPriceInfo:e=>e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null,formatProduct:function(e){var o,t,l,i;if(!e)return null;const a={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&O.formatPriceInfo(e.price)||a,thumbnail:e.thumbnail||"",name:e.name||"",averageRating:Number((e.average_rating||0).toFixed(2)),reviewsCount:e.reviews_count||0,tag:e.tag||null,sku:e.sku||"",slug:e.slug||"",images:e.images||[],tags:e.tags||[],unit:e.unit||"",brand:e.brand?{name:e.brand.name||"",image:e.brand.image||"",slug:e.brand.slug||"",productsCount:e.brand.products_count||0}:null,description:e.description||"",productPromotions:(null===(t=null===(o=e.product_promotions)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProductPromotion).filter(g))||[],categories:(null===(i=null===(l=e.categories)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,(e=>O.formatCategory(e))).filter(g))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:e=>e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null,formatBlogPost:e=>{var o,t;return e?{title:e.title||"",image:e.image||"",link:e.link||"",postData:e.post_data?{reviewed:e.post_data.reviewed?{author:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(e.post_data.reviewed.is_author)}:null,categories:e.post_data.categories?null===(t=(o=e.post_data.categories).map)||void 0===t?void 0:t.call(o,(e=>({termId:e.term_id||0,name:e.name||"",permalink:e.permalink||"",textColor:e.text_color||""}))):[],postDate:e.post_data.post_date||"",postModified:e.post_data.post_modified||"",modifiedTime:e.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:e=>e?{id:e.ID||0,userId:e.user_id||0,formerRole:e.former_role||"",role:e.role||"",slug:e.slug||"",displayName:e.display_name||"",description:e.description||"",profileUrl:e.profile_url||"",avatar:e.avatar||"",avatarThumbnail:e.avatar_thumbnail||"",turnOffProfile:Boolean(e.turn_off_profile)}:null,formatBrand:function(e){var o,t,l,i;return e?{id:e.id||0,image:e.image||"",position:e.position||"",isPopular:e.is_popular||!1,summary:e.summary||"",name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatHomePage:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_,h,E,I,v,T,A;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,O.formatBrand).filter(g):[],hotDeals:e.hot_deals?null===(i=(l=e.hot_deals).map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g):[],newProducts:e.new_products?null===(n=(a=e.new_products).map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g):[],slideBanners:e.slide_banners?null===(r=(s=e.slide_banners).map)||void 0===r?void 0:r.call(s,O.formatBanner).filter(g):[],subBanners:e.sub_banners?null===(c=(u=e.sub_banners).map)||void 0===c?void 0:c.call(u,O.formatBanner).filter(g):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,O.formatBanner).filter(g):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,O.formatBlogPost).filter(g):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(e=>O.formatCategory(e))).filter(g):[],suggestProducts:e.suggest_products?null===(v=(I=e.suggest_products).map)||void 0===v?void 0:v.call(I,(e=>O.formatCategory(e))).filter(g):[],promotions:e.promotions?null===(A=(T=e.promotions).map)||void 0===A?void 0:A.call(T,(e=>O.formatPromotion(e))).filter(g):[]}:null},formatCategoryPage:function(e){var o,t,l,i;return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatBrandPage:function(e){return e?O.formatBrand(e):null},formatPagination:e=>e?{current:e.current||0,first:e.first||0,itemsPerPage:e.items_per_page||0,last:e.last||0,next:e.next||0,prev:e.prev||0,totalItems:e.total_items||0}:null,formatProductDetailPage:function(e){var o,t,l,i,a,n,s,r;return e?Object.assign(Object.assign({},O.formatProduct(e)),{relatedProducts:(null===(t=null===(o=e.related_products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProduct).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[],viewedProducts:(null===(n=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g))||[],promotions:(null===(r=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,O.formatPromotion).filter(g))||[]}):null},formatProductReview:e=>{var o,t;return e?{reviewId:e.review_id||"",createdAt:e.created_at||"",title:e.title||"",detail:e.detail||"",nickname:e.nick_name||"",avatar:e.avatar||"",ratingVotes:(null===(t=null===(o=e.rating_votes)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}))))||[],images:e.images||[]}:null},formatProductPromotion:e=>e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null,formatPromotion:e=>e?{id:e.id||0,name:e.name||"",slug:e.slug||"",thumbnail:e.thumbnail||"",expiredDate:e.expired_date||"",banners:e.banners||[],points:0,description:e.description||"",metaTitle:e.meta_title||"",metaKeywords:e.meta_keywords||"",metaDescription:e.meta_description||""}:null,formatCustomAttributes:(e,o)=>{var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((e=>e.attribute_code===o)))||void 0===t?void 0:t.value)||""},formatAddress:e=>{var o,t,l,i;return e?{id:e.id||0,fullName:e.firstname||"",telephone:e.telephone||"",province:{value:null===(o=e.region)||void 0===o?void 0:o.region_id,label:null===(t=e.region)||void 0===t?void 0:t.region}||null,district:{value:O.formatCustomAttributes(e.custom_attributes,"district_id"),label:O.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:O.formatCustomAttributes(e.custom_attributes,"ward_id"),label:O.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(l=null==e?void 0:e.street)||void 0===l?void 0:l.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(i=null==e?void 0:e.extension_attributes)||void 0===i?void 0:i.full_address)||""}:null},formatProvince:e=>(null==e?void 0:e.available_regions)?e.available_regions.map((e=>({value:e.id||"",label:e.name||""}))):[],formatDistrict:e=>(null==e?void 0:e.districts)?e.districts.map((e=>({value:e.id||"",label:e.name||""}))):[],formatCommune:e=>(null==e?void 0:e.communes)?e.communes.map((e=>({value:e.id||"",label:e.name||""}))):[],formatOrder:e=>{var o,t;return e?{orderNumber:(null==e?void 0:e.order_number)||"",shippingData:(null==e?void 0:e.shipping_data)?{shippingMethod:e.shipping_data.shipping_method||"",shippingDescription:e.shipping_data.shipping_description||"",shippingAddress:e.shipping_data.shipping_address?{fullName:e.shipping_data.shipping_address.firstname||"",fullAddress:e.shipping_data.shipping_address.full_address||"",telephone:e.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==e?void 0:e.ordered_date)||"",status:(null==e?void 0:e.status)||null,totals:(null==e?void 0:e.totals)?{subtotal:e.totals.subtotal||0,shippingAmount:e.totals.shipping_amount||0,discountAmount:e.totals.discount_amount||0,grandTotal:e.totals.grand_total||0}:null,products:(null===(t=null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({sku:e.sku||"",name:e.name||"",price:e.price||0,rowTotal:e.row_total||0,image:e.image||"",qty:e.qty||0}))))||[],paymentMethod:(null==e?void 0:e.payment_method)||""}:null},formatStatistic:e=>{var o,t,l,i,a;return e?{pending:Number(null===(o=null==e?void 0:e.find((e=>"pending"===e.status)))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((e=>"processing"===e.status)))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(l=null==e?void 0:e.find((e=>"delivering"===e.status)))||void 0===l?void 0:l.amount)||0,complete:Number(null===(i=null==e?void 0:e.find((e=>"complete"===e.status)))||void 0===i?void 0:i.amount)||0,canceled:Number(null===(a=null==e?void 0:e.find((e=>"canceled"===e.status)))||void 0===a?void 0:a.amount)||0}:{}},formatCartItem:e=>{var o,t,l,i,a,n,s,r;return e?{itemId:e.item_id||0,sku:e.sku||"",qty:e.qty||0,name:e.name||"",price:e.price||0,basePrice:(null===(o=e.extension_attributes)||void 0===o?void 0:o.base_price)||0,productType:e.product_type||"",quoteId:e.quote_id||"",thumbnail:(null===(t=e.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(l=e.extension_attributes)||void 0===l?void 0:l.row_total)||0,promotions:(null===(n=null===(a=null===(i=e.extension_attributes)||void 0===i?void 0:i.promotions)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProductPromotion))||[],isInStock:(null===(s=e.extension_attributes)||void 0===s?void 0:s.is_in_stock)||!1,urlProduct:(null===(r=e.extension_attributes)||void 0===r?void 0:r.url_key)||""}:null},formatCartAddress:e=>{var o;return e?{customerAddressId:(null==e?void 0:e.customer_address_id)||0,id:e.id||0,region:e.region||"",regionId:e.region_id||0,regionCode:e.region_code||"",countryId:e.country_id||"",street:e.street||[],postcode:e.postcode||"",city:e.city||"",firstname:e.firstname||"",lastname:e.lastname||"",customerId:e.customer_id||0,email:e.email||"",telephone:e.telephone||"",sameAsBilling:e.same_as_billing||0,saveInAddressBook:e.save_in_address_book||0,fullAddress:(null===(o=e.extension_attributes)||void 0===o?void 0:o.full_address)||""}:null},formatEstimatedShipping:e=>e?{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",carrierTitle:e.carrier_title||"",methodTitle:e.method_title||"",amount:e.amount||0,baseAmount:e.base_amount||0,available:e.available||!1,errorMessage:e.error_message||"",priceExclTax:e.price_excl_tax||0,priceInclTax:e.price_incl_tax||0}:null,formatCartLoggedInCustomer:e=>{var o,t,l;return e?{email:e.email||"",firstname:e.firstname||"",lastname:e.lastname||"",id:e.id||0,groupId:e.group_id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",createdIn:e.created_in||"",storeId:e.store_id||0,websiteId:e.website_id||0,addresses:(null===(t=null===(o=e.addresses)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(l=e.extension_attributes)||void 0===l?void 0:l.is_subscribed)||!1}:null},formatCart:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_;return e?{id:e.id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",isActive:e.is_active||!1,isVirtual:e.is_virtual||!1,items:(null===(l=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartItem))||void 0===l?void 0:l.sort(((e,o)=>Number(null==o?void 0:o.isInStock)-Number(null==e?void 0:e.isInStock))))||[],itemsCount:e.items_count||0,itemsQty:e.items_qty||0,customer:e.customer?O.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?O.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(i=e.currency)||void 0===i?void 0:i.global_currency_code)||"",baseCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.base_currency_code)||"",storeCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.store_currency_code)||"",quoteCurrencyCode:(null===(s=e.currency)||void 0===s?void 0:s.quote_currency_code)||"",storeToBaseRate:(null===(r=e.currency)||void 0===r?void 0:r.store_to_base_rate)||0,storeToQuoteRate:(null===(u=e.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=e.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=e.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:e.customer_is_guest||!1,customerNoteNotify:e.customer_note_notify||!1,customerTaxClassId:e.customer_tax_class_id||0,storeId:e.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=e.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(e=>{var o,t,l;return{shipping:{address:e.shipping.address?O.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(l=(t=e.items).map)||void 0===l?void 0:l.call(t,O.formatCartItem))||[]}}))}:null},formatCartTotal:e=>{var o,t,l;return e?{grandTotal:e.grand_total||0,baseGrandTotal:e.base_grand_total||0,subtotal:e.subtotal||0,baseSubtotal:e.base_subtotal||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,subtotalWithDiscount:e.subtotal_with_discount||0,baseSubtotalWithDiscount:e.base_subtotal_with_discount||0,shippingAmount:e.shipping_amount||0,baseShippingAmount:e.base_shipping_amount||0,shippingDiscountAmount:e.shipping_discount_amount||0,baseShippingDiscountAmount:e.base_shipping_discount_amount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,shippingTaxAmount:e.shipping_tax_amount||0,baseShippingTaxAmount:e.base_shipping_tax_amount||0,subtotalInclTax:e.subtotal_incl_tax||0,shippingInclTax:e.shipping_incl_tax||0,baseShippingInclTax:e.base_shipping_incl_tax||0,baseCurrencyCode:e.base_currency_code||"",quoteCurrencyCode:e.quote_currency_code||"",itemsQty:e.items_qty||0,coupon:{couponCode:e.coupon_code||"",couponDescription:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.coupon_description_text)||""},items:(null===(l=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({itemId:e.item_id||0,price:e.price||0,basePrice:e.base_price||0,qty:e.qty||0,rowTotal:e.row_total||0,baseRowTotal:e.base_row_total||0,rowTotalWithDiscount:e.row_total_with_discount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,taxPercent:e.tax_percent||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,discountPercent:e.discount_percent||0,priceInclTax:e.price_incl_tax||0,basePriceInclTax:e.base_price_incl_tax||0,rowTotalInclTax:e.row_total_incl_tax||0,baseRowTotalInclTax:e.base_row_total_incl_tax||0,options:e.options||"",weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,weeeTaxApplied:e.weee_tax_applied||0,name:e.name||""}))))||[],totalSegments:e.total_segments||[]}:null},formatPaymentMethod:e=>e?null==e?void 0:e.map((e=>({code:(null==e?void 0:e.payment_code)||"",title:(null==e?void 0:e.payment_title)||"",thumbnail:(null==e?void 0:e.payment_thumbnail)||""}))):null,formatPaymentInformation:e=>{var o;return e?{paymentMethods:O.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:O.formatCartTotal(e.totals)}:null},formatOrderConfirmation:e=>e?{isSuccess:e.is_success||!1,orderInfo:O.formatOrder(e.order_info)}:null,formatCoupons:e=>{var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((e=>({code:(null==e?void 0:e.code)||"",name:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",description:(null==e?void 0:e.expired_date)||""}))):null},formatShippings:e=>e?e.map((e=>{var o;return{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",title:e.carrier_title||"",description:e.method_title||"",price:(null==e?void 0:e.base_amount)||0,thumbnail:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.thumbnail)||""}})):[]};var A=Object.freeze({__proto__:null,dataFormatter:O});exports.Types=t.types,exports.ApiTypes=l,exports.Constants=T,exports.DataFormatter=A,exports.DataTypes=i;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./theme-eb8f3410.js");require("./index-2f7461c1.js");var o=require("./isProduction-5e1dfd6c.js"),t=require("./types-7042609a.js");require("./Onboarding-15149402.js");var l=Object.freeze({__proto__:null}),i=Object.freeze({__proto__:null});const a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,n="undefined"==typeof window,s=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",r=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",u=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,c=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",d={"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"},m=a?"http://localhost:3001":o.isProduction?`https://${d[s]}`:`https://discover.${d[s]}`,p=o.isProduction?`https://wp.${d[s]}/`:`https://staging.${d[s]}/`,_=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:`https://together.${d[s]}/`,h=`${m}/community`,E=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";var I;!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(I||(I={}));const v={"vi-VN":{HOME:()=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#website","@type":"WebSite",description:"Hello Bacsi - Health Information",inLanguage:"vi-VN",name:"Hello Bacsi",potentialAction:[{"@type":"SearchAction","query-input":"required name=search_term_string",target:"https://hellobacsi.com/shop/tim-kiem/?keyword={search_term_string}"}],url:"https://hellobacsi.com/shop/"}]}),CATEGORY:(e="",o=0,t=[])=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/danh-muc","@type":"WebPage",name:"Hello Bacsi - Danh Muc",url:"https://hellobacsi.com/shop/danh-muc"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]}),BRAND:(e="",o=0,t=[])=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/thuong-hieu","@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/thuong-hieu"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]}),BRAND_DETAIL:(e="",o=0,t)=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/thuong-hieu/#brand","@type":"BrandDetail",itemListElement:[{"@type":"Item",item:{"@id":`https://hellobacsi.com/shop${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop${e}`}}]},{"@type":"BrandDetail",url:`https://hellobacsi.com/shop${e}`,numberOfItems:o,itemListElement:null!=t?t:{}}]}),PRODUCT_DETAIL:(e="",o=0,t)=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/san-pham/#product","@type":"ProductDetail",itemListElement:[{"@type":"Item",item:{"@id":`https://hellobacsi.com/shop/san-pham/${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop/san-pham/${e}`}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}};var T=Object.freeze({__proto__:null,isDevelopment:a,IS_SSR:n,locale:s,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:r,GOOGLE_ADMIN_LOCATION_KEY:u,GOOGLE_CLIENT_ID:c,GOOGLE_CALENDAR_API_KEY:"",basePath:"shop",SSO_USER_BASE_PATH:"user",CARE_BASE_PATH:"care",COMMUNITY_BASE_PATH:"community",HEALTH_TOOLs_BASE_PATH:"health-tools",NOTIFICATION_TIME_OUT:3e3,DOMAIN_LOCALES:d,DISCOVER_URL_FE:m,DISCOVER_URL_BE:p,TOGETHER_URL_BE:_,TOGETHER_URL_FE:h,SSO_URL:E,DISCOVERY_FOOTER_URL:"#",HEALTH_CARE_FOOTER_URL:"#",HEALTH_TOOLS_FOOTER_URL:"#",HEALTH_TOGETHER_FOOTER_URL:"#",POLICIES_FOOTER_URL:"#",FAQ_FOOTER_URL:"#",SITEMAP_FOOTER_URL:"#",ABOUT_US_FOOTER_URL:"#",EXECUTIVE_BIOS_FOOTER_URL:"#",ADVERTISING_FOOTER_URL:"#",CONTACT_US_FOOTER_URL:"#",ABOUT_GO_CARE_FOOTER_URL:"#",get Gender(){return I},EMAIL_REGEX:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,COUNTRY_SITENAME:{ID:"Hello Sehat",TH:"Hello Khunmor",MY:"Hello Doktor",KH:"Hello Krupet",TW:"Hello Yishi",MM:"Hello Sayarwon",IN:"Hello Swasthya",VN:"Hello Bacsi",PH:"Hello Doctor"},LOCALE_SPECS:{"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"},"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"},"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"},"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"},"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"},"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"},"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"},"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"}},SOCIAL_MEDIA:{"vi-VN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellobacsi/",INSTAGRAM:"https://www.instagram.com/hellobacsi/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCYHzHDXngnB7jkmcQgXwE0w"},"en-PH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoctorPH/",INSTAGRAM:"https://www.instagram.com/hellodoctor_ph/",TWITTER:null},"km-KH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokrupet/",INSTAGRAM:"https://www.instagram.com/hellokrupetofficial/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCVK4p9YPIMkmoerk3X-y-TQ"},"ms-MY":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoktorMY/",INSTAGRAM:"https://www.instagram.com/_hellodoktor_/",TWITTER:null},"id-ID":{LINKEDIN:"https://www.linkedin.com/company/hello-sehat/",FACEBOOK:"https://www.facebook.com/hellosehat",INSTAGRAM:"https://www.instagram.com/hellosehat/",TWITTER:"https://twitter.com/HelloSehat"},"my-MM":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellosayarwon/",INSTAGRAM:"https://www.facebook.com/hellosayarwon/",TWITTER:null},"zh-TW":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/helloyishi/",INSTAGRAM:"https://www.instagram.com/helloyishi/",TWITTER:null},"hi-IN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloSwasthya/",INSTAGRAM:"https://www.instagram.com/hello_swasthya/",TWITTER:null},"th-TH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokhunmor/",INSTAGRAM:"https://www.instagram.com/hellokhunmor/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCbdbow4UhKfa7rqIhclNPIQ/"}},FLAG_LINKS:{ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},STATIC_PAGES:{"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/"},"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/"},"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/"},"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/"},"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/"},"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"},"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/"},"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/"},"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/"}},FAVICONS:{"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"}]},LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},MAX_ALLOWED_IMG_SIZE:20971520,COUNTRY_CODE_BY_LOCALE:{"vi-VN":"vn","id-ID":"id","ms-MY":"my","km-KH":"kh","en-PH":"ph","th-TH":"th","my-MM":"mm","zh-TW":"tw","hi-IN":"in"},COUNTRY_CURRENCY_SYMBOL:{"vi-VN":"₫","id-ID":"Rp","ms-MY":"RM","km-KH":"៛","en-PH":"₱","th-TH":"฿","my-MM":"K","zh-TW":"$","hi-IN":"₹"},CURRENCY_PREFIX:{IDR:"Dimulai dari"},LOCALISED_SLUGS:{"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}},HEADER_LOGO_ALIGNMENT:"188px",globalFontFamily:"Inter",ENABLE_COMMUNITY_LOCALES:["vi-VN","id-ID","ms-MY","en-PH","th-TH"],ENABLE_CARE_LOCALES:["vi-VN","id-ID","en-PH"],ENABLE_HEALTH_PARENTING_LOCALES:["vi-VN","en-PH","id-ID","ms-MY","km-KH","th-TH","my-MM","zh-TW"],SEO_SCHEMA:v});function g(e){return null!=e}const O={formatAutoCompleteAddress:e=>e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null,formatPrice:(e,o)=>{const t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:e=>({text:(null==e?void 0:e.name)||""}),formatHelpfulUrl:e=>({name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}),formatCategory:function(o,t,l){var i,a,n;const s=l?l+"/"+o.slug:o.slug,r=(null===(a=null===(i=null==o?void 0:o.children)||void 0===i?void 0:i.map)||void 0===a?void 0:a.call(i,(e=>O.formatCategory(e,o.id,s))))||[];return{id:null==o?void 0:o.id,name:(null==o?void 0:o.name)||"",logo:(null==o?void 0:o.logo)||"",slug:(null==o?void 0:o.slug)||"",fullSlug:s||"",children:r,backgroundColor:o.color||e.theme.colors.teal50,parentId:t||0,products:(null===(n=o.products)||void 0===n?void 0:n.map(O.formatProduct))||[]}},formatFooterInfo:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_,h,E,I,v,T;const g=(null===(l=null===(t=null===(o=null==e?void 0:e.branch)||void 0===o?void 0:o.branch)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({flag:e.flag||"",name:e.name||"",url:e.url||""}))))||[],O=(null===(n=null===(a=null===(i=null==e?void 0:e.general)||void 0===i?void 0:i.verified)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>({image:e.image||"",url:e.url||""}))))||[],A=(null===(r=null===(s=null==e?void 0:e.menu)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,(e=>{var o,t;return{menu_title:e.menu_title,items:null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({title:e.title,url:e.url})))}})))||[],b=(null===(d=null===(c=null===(u=null==e?void 0:e.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(e=>({icon:e.icon||"",name:e.name||"",url:e.url||""}))))||[];return{branch:{title:(null===(m=null==e?void 0:e.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==e?void 0:e.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==e?void 0:e.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(v=null===(I=null==e?void 0:e.general)||void 0===I?void 0:I.copyright)&&void 0!==v?v:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:b}}},formatNavigation:function(e){var o,t,l,i,a,n;return{hotSearchKeywords:(null===(t=null===(o=null==e?void 0:e.hot_search_keywords)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatHotSearchKeyword))||[],helpfulUrls:(null===(i=null===(l=null==e?void 0:e.helpful_urls)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatHelpfulUrl))||[],categories:(null===(n=null===(a=null==e?void 0:e.categories)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>O.formatCategory(e))))||[],footer:O.formatFooterInfo(null==e?void 0:e.footer),storeId:(null==e?void 0:e.store_id)||0,customerId:(null==e?void 0:e.customer_id)||0,cartItemsQty:"number"==typeof(null==e?void 0:e.cart_items_qty)?e.cart_items_qty:null}},formatPriceInfo:e=>e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null,formatProduct:function(e){var o,t,l,i;if(!e)return null;const a={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&O.formatPriceInfo(e.price)||a,thumbnail:e.thumbnail||"",name:e.name||"",averageRating:Number((e.average_rating||0).toFixed(2)),reviewsCount:e.reviews_count||0,tag:e.tag||null,sku:e.sku||"",slug:e.slug||"",images:e.images||[],tags:e.tags||[],unit:e.unit||"",brand:e.brand?{name:e.brand.name||"",image:e.brand.image||"",slug:e.brand.slug||"",productsCount:e.brand.products_count||0}:null,description:e.description||"",productPromotions:(null===(t=null===(o=e.product_promotions)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProductPromotion).filter(g))||[],categories:(null===(i=null===(l=e.categories)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,(e=>O.formatCategory(e))).filter(g))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:e=>e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null,formatBlogPost:e=>{var o,t;return e?{title:e.title||"",image:e.image||"",link:e.link||"",postData:e.post_data?{reviewed:e.post_data.reviewed?{author:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(e.post_data.reviewed.is_author)}:null,categories:e.post_data.categories?null===(t=(o=e.post_data.categories).map)||void 0===t?void 0:t.call(o,(e=>({termId:e.term_id||0,name:e.name||"",permalink:e.permalink||"",textColor:e.text_color||""}))):[],postDate:e.post_data.post_date||"",postModified:e.post_data.post_modified||"",modifiedTime:e.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:e=>e?{id:e.ID||0,userId:e.user_id||0,formerRole:e.former_role||"",role:e.role||"",slug:e.slug||"",displayName:e.display_name||"",description:e.description||"",profileUrl:e.profile_url||"",avatar:e.avatar||"",avatarThumbnail:e.avatar_thumbnail||"",turnOffProfile:Boolean(e.turn_off_profile)}:null,formatBrand:function(e){var o,t,l,i;return e?{id:e.id||0,image:e.image||"",position:e.position||"",isPopular:e.is_popular||!1,summary:e.summary||"",name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatHomePage:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_,h,E,I,v,T,A;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,O.formatBrand).filter(g):[],hotDeals:e.hot_deals?null===(i=(l=e.hot_deals).map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g):[],newProducts:e.new_products?null===(n=(a=e.new_products).map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g):[],slideBanners:e.slide_banners?null===(r=(s=e.slide_banners).map)||void 0===r?void 0:r.call(s,O.formatBanner).filter(g):[],subBanners:e.sub_banners?null===(c=(u=e.sub_banners).map)||void 0===c?void 0:c.call(u,O.formatBanner).filter(g):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,O.formatBanner).filter(g):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,O.formatBlogPost).filter(g):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(e=>O.formatCategory(e))).filter(g):[],suggestProducts:e.suggest_products?null===(v=(I=e.suggest_products).map)||void 0===v?void 0:v.call(I,(e=>O.formatCategory(e))).filter(g):[],promotions:e.promotions?null===(A=(T=e.promotions).map)||void 0===A?void 0:A.call(T,(e=>O.formatPromotion(e))).filter(g):[]}:null},formatCategoryPage:function(e){var o,t,l,i;return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatBrandPage:function(e){return e?O.formatBrand(e):null},formatPagination:e=>e?{current:e.current||0,first:e.first||0,itemsPerPage:e.items_per_page||0,last:e.last||0,next:e.next||0,prev:e.prev||0,totalItems:e.total_items||0}:null,formatProductDetailPage:function(e){var o,t,l,i,a,n,s,r;return e?Object.assign(Object.assign({},O.formatProduct(e)),{relatedProducts:(null===(t=null===(o=e.related_products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProduct).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[],viewedProducts:(null===(n=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g))||[],promotions:(null===(r=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,O.formatPromotion).filter(g))||[]}):null},formatProductReview:e=>{var o,t;return e?{reviewId:e.review_id||"",createdAt:e.created_at||"",title:e.title||"",detail:e.detail||"",nickname:e.nick_name||"",avatar:e.avatar||"",ratingVotes:(null===(t=null===(o=e.rating_votes)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}))))||[],images:e.images||[]}:null},formatProductPromotion:e=>e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null,formatPromotion:e=>e?{id:e.id||0,name:e.name||"",slug:e.slug||"",thumbnail:e.thumbnail||"",expiredDate:e.expired_date||"",banners:e.banners||[],points:0,description:e.description||"",metaTitle:e.meta_title||"",metaKeywords:e.meta_keywords||"",metaDescription:e.meta_description||""}:null,formatCustomAttributes:(e,o)=>{var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((e=>e.attribute_code===o)))||void 0===t?void 0:t.value)||""},formatAddress:e=>{var o,t,l,i;return e?{id:e.id||0,fullName:e.firstname||"",telephone:e.telephone||"",province:{value:null===(o=e.region)||void 0===o?void 0:o.region_id,label:null===(t=e.region)||void 0===t?void 0:t.region}||null,district:{value:O.formatCustomAttributes(e.custom_attributes,"district_id"),label:O.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:O.formatCustomAttributes(e.custom_attributes,"ward_id"),label:O.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(l=null==e?void 0:e.street)||void 0===l?void 0:l.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(i=null==e?void 0:e.extension_attributes)||void 0===i?void 0:i.full_address)||""}:null},formatProvince:e=>(null==e?void 0:e.available_regions)?e.available_regions.map((e=>({value:e.id||"",label:e.name||""}))):[],formatDistrict:e=>(null==e?void 0:e.districts)?e.districts.map((e=>({value:e.id||"",label:e.name||""}))):[],formatCommune:e=>(null==e?void 0:e.communes)?e.communes.map((e=>({value:e.id||"",label:e.name||""}))):[],formatOrder:e=>{var o,t;return e?{orderNumber:(null==e?void 0:e.order_number)||"",shippingData:(null==e?void 0:e.shipping_data)?{shippingMethod:e.shipping_data.shipping_method||"",shippingDescription:e.shipping_data.shipping_description||"",shippingAddress:e.shipping_data.shipping_address?{fullName:e.shipping_data.shipping_address.firstname||"",fullAddress:e.shipping_data.shipping_address.full_address||"",telephone:e.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==e?void 0:e.ordered_date)||"",status:(null==e?void 0:e.status)||null,totals:(null==e?void 0:e.totals)?{subtotal:e.totals.subtotal||0,shippingAmount:e.totals.shipping_amount||0,discountAmount:e.totals.discount_amount||0,grandTotal:e.totals.grand_total||0}:null,products:(null===(t=null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({sku:e.sku||"",name:e.name||"",price:e.price||0,rowTotal:e.row_total||0,image:e.image||"",qty:e.qty||0}))))||[],paymentMethod:(null==e?void 0:e.payment_method)||""}:null},formatStatistic:e=>{var o,t,l,i,a;return e?{pending:Number(null===(o=null==e?void 0:e.find((e=>"pending"===e.status)))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((e=>"processing"===e.status)))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(l=null==e?void 0:e.find((e=>"delivering"===e.status)))||void 0===l?void 0:l.amount)||0,complete:Number(null===(i=null==e?void 0:e.find((e=>"complete"===e.status)))||void 0===i?void 0:i.amount)||0,canceled:Number(null===(a=null==e?void 0:e.find((e=>"canceled"===e.status)))||void 0===a?void 0:a.amount)||0}:{}},formatCartItem:e=>{var o,t,l,i,a,n,s,r;return e?{itemId:e.item_id||0,sku:e.sku||"",qty:e.qty||0,name:e.name||"",price:e.price||0,basePrice:(null===(o=e.extension_attributes)||void 0===o?void 0:o.base_price)||0,productType:e.product_type||"",quoteId:e.quote_id||"",thumbnail:(null===(t=e.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(l=e.extension_attributes)||void 0===l?void 0:l.row_total)||0,promotions:(null===(n=null===(a=null===(i=e.extension_attributes)||void 0===i?void 0:i.promotions)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProductPromotion))||[],isInStock:(null===(s=e.extension_attributes)||void 0===s?void 0:s.is_in_stock)||!1,urlProduct:(null===(r=e.extension_attributes)||void 0===r?void 0:r.url_key)||""}:null},formatCartAddress:e=>{var o;return e?{customerAddressId:(null==e?void 0:e.customer_address_id)||0,id:e.id||0,region:e.region||"",regionId:e.region_id||0,regionCode:e.region_code||"",countryId:e.country_id||"",street:e.street||[],postcode:e.postcode||"",city:e.city||"",firstname:e.firstname||"",lastname:e.lastname||"",customerId:e.customer_id||0,email:e.email||"",telephone:e.telephone||"",sameAsBilling:e.same_as_billing||0,saveInAddressBook:e.save_in_address_book||0,fullAddress:(null===(o=e.extension_attributes)||void 0===o?void 0:o.full_address)||""}:null},formatEstimatedShipping:e=>e?{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",carrierTitle:e.carrier_title||"",methodTitle:e.method_title||"",amount:e.amount||0,baseAmount:e.base_amount||0,available:e.available||!1,errorMessage:e.error_message||"",priceExclTax:e.price_excl_tax||0,priceInclTax:e.price_incl_tax||0}:null,formatCartLoggedInCustomer:e=>{var o,t,l;return e?{email:e.email||"",firstname:e.firstname||"",lastname:e.lastname||"",id:e.id||0,groupId:e.group_id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",createdIn:e.created_in||"",storeId:e.store_id||0,websiteId:e.website_id||0,addresses:(null===(t=null===(o=e.addresses)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(l=e.extension_attributes)||void 0===l?void 0:l.is_subscribed)||!1}:null},formatCart:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_;return e?{id:e.id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",isActive:e.is_active||!1,isVirtual:e.is_virtual||!1,items:(null===(l=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartItem))||void 0===l?void 0:l.sort(((e,o)=>Number(null==o?void 0:o.isInStock)-Number(null==e?void 0:e.isInStock))))||[],itemsCount:e.items_count||0,itemsQty:e.items_qty||0,customer:e.customer?O.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?O.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(i=e.currency)||void 0===i?void 0:i.global_currency_code)||"",baseCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.base_currency_code)||"",storeCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.store_currency_code)||"",quoteCurrencyCode:(null===(s=e.currency)||void 0===s?void 0:s.quote_currency_code)||"",storeToBaseRate:(null===(r=e.currency)||void 0===r?void 0:r.store_to_base_rate)||0,storeToQuoteRate:(null===(u=e.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=e.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=e.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:e.customer_is_guest||!1,customerNoteNotify:e.customer_note_notify||!1,customerTaxClassId:e.customer_tax_class_id||0,storeId:e.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=e.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(e=>{var o,t,l;return{shipping:{address:e.shipping.address?O.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(l=(t=e.items).map)||void 0===l?void 0:l.call(t,O.formatCartItem))||[]}}))}:null},formatCartTotal:e=>{var o,t,l;return e?{grandTotal:e.grand_total||0,baseGrandTotal:e.base_grand_total||0,subtotal:e.subtotal||0,baseSubtotal:e.base_subtotal||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,subtotalWithDiscount:e.subtotal_with_discount||0,baseSubtotalWithDiscount:e.base_subtotal_with_discount||0,shippingAmount:e.shipping_amount||0,baseShippingAmount:e.base_shipping_amount||0,shippingDiscountAmount:e.shipping_discount_amount||0,baseShippingDiscountAmount:e.base_shipping_discount_amount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,shippingTaxAmount:e.shipping_tax_amount||0,baseShippingTaxAmount:e.base_shipping_tax_amount||0,subtotalInclTax:e.subtotal_incl_tax||0,shippingInclTax:e.shipping_incl_tax||0,baseShippingInclTax:e.base_shipping_incl_tax||0,baseCurrencyCode:e.base_currency_code||"",quoteCurrencyCode:e.quote_currency_code||"",itemsQty:e.items_qty||0,coupon:{couponCode:e.coupon_code||"",couponDescription:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.coupon_description_text)||""},items:(null===(l=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({itemId:e.item_id||0,price:e.price||0,basePrice:e.base_price||0,qty:e.qty||0,rowTotal:e.row_total||0,baseRowTotal:e.base_row_total||0,rowTotalWithDiscount:e.row_total_with_discount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,taxPercent:e.tax_percent||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,discountPercent:e.discount_percent||0,priceInclTax:e.price_incl_tax||0,basePriceInclTax:e.base_price_incl_tax||0,rowTotalInclTax:e.row_total_incl_tax||0,baseRowTotalInclTax:e.base_row_total_incl_tax||0,options:e.options||"",weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,weeeTaxApplied:e.weee_tax_applied||0,name:e.name||""}))))||[],totalSegments:e.total_segments||[]}:null},formatPaymentMethod:e=>e?null==e?void 0:e.map((e=>({code:(null==e?void 0:e.payment_code)||"",title:(null==e?void 0:e.payment_title)||"",thumbnail:(null==e?void 0:e.payment_thumbnail)||""}))):null,formatPaymentInformation:e=>{var o;return e?{paymentMethods:O.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:O.formatCartTotal(e.totals)}:null},formatOrderConfirmation:e=>e?{isSuccess:e.is_success||!1,orderInfo:O.formatOrder(e.order_info)}:null,formatCoupons:e=>{var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((e=>({code:(null==e?void 0:e.code)||"",name:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",description:(null==e?void 0:e.expired_date)||""}))):null},formatShippings:e=>e?e.map((e=>{var o;return{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",title:e.carrier_title||"",description:e.method_title||"",price:(null==e?void 0:e.base_amount)||0,thumbnail:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.thumbnail)||""}})):[]};var A=Object.freeze({__proto__:null,dataFormatter:O});exports.Types=t.types,exports.ApiTypes=l,exports.Constants=T,exports.DataFormatter=A,exports.DataTypes=i;