@hhgtech/hhg-components 1.23.40 → 1.23.42

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 (252) hide show
  1. package/build/{FullScreen-178d6a8e.js → FullScreen-5c79fed0.js} +1 -1
  2. package/build/{Vietnam-ecce5e15.js → Vietnam-78f4b0c4.js} +1 -1
  3. package/build/{Visible-7f8e9ef6.js → Visible-5d3b4673.js} +1 -1
  4. package/build/babyGrowth.js +1 -1
  5. package/build/cache.js +1 -1
  6. package/build/care.js +1 -1
  7. package/build/components/molecules/ovulationCalculator/ovulationForm.d.ts +1 -1
  8. package/build/components/onboarding.d.ts +1 -1
  9. package/build/components/organisms/onboardingModal/components/emailOnboardingForm/index.d.ts +3 -1
  10. package/build/components/organisms/onboardingModal/components/formSection/index.d.ts +2 -1
  11. package/build/components/organisms/onboardingModal/components/formSection/index.styled.d.ts +4 -0
  12. package/build/components/organisms/onboardingModal/components/onboardingForm/index.styled.d.ts +1 -1
  13. package/build/components/organisms/onboardingModal/components/otpForm/index.d.ts +2 -1
  14. package/build/components/organisms/onboardingModal/components/otpForm/index.styled.d.ts +1 -1
  15. package/build/components/organisms/onboardingModal/index.d.ts +21 -11
  16. package/build/components/organisms/onboardingModal/index.styled.d.ts +8 -1
  17. package/build/components/organisms/onboardingModal/utils.d.ts +1 -0
  18. package/build/components.js +1 -1
  19. package/build/constants.js +1 -1
  20. package/build/core-b004a177.js +1 -0
  21. package/build/{defaultClassWrapper-511abed3.js → defaultClassWrapper-8033f2ac.js} +1 -1
  22. package/build/ecom.js +1 -1
  23. package/build/esm/{FullScreen-1cf054d4.js → FullScreen-81e0d93a.js} +1 -1
  24. package/build/esm/{Vietnam-b0315614.js → Vietnam-fea73b95.js} +1 -1
  25. package/build/esm/{Visible-fcce3e97.js → Visible-f5f258f8.js} +1 -1
  26. package/build/esm/babyGrowth.js +1 -1
  27. package/build/esm/cache.js +1 -1
  28. package/build/esm/care.js +1 -1
  29. package/build/esm/components.js +1 -1
  30. package/build/esm/constants.js +1 -1
  31. package/build/esm/core-5c04eea2.js +1 -0
  32. package/build/esm/defaultClassWrapper-b9a5f046.js +1 -0
  33. package/build/esm/ecom.js +1 -1
  34. package/build/esm/footer.js +1 -1
  35. package/build/esm/gAssets.js +1 -1
  36. package/build/esm/{getDynamicHealthTool-57cff84e.js → getDynamicHealthTool-4180c2e0.js} +1 -1
  37. package/build/esm/{getSocialList-f71bb823.js → getSocialList-daa4d9d9.js} +1 -1
  38. package/build/esm/hooks.js +1 -1
  39. package/build/esm/i18n.js +1 -1
  40. package/build/esm/{index-93d3c4b2.js → index-0671e9da.js} +1 -1
  41. package/build/esm/{index-5c139584.js → index-142e4113.js} +1 -1
  42. package/build/esm/{index-65772bf7.js → index-2452a1bd.js} +1 -1
  43. package/build/esm/{index-97e836b8.js → index-4aaf9a62.js} +1 -1
  44. package/build/esm/{index-d7d18236.js → index-4df01f00.js} +1 -1
  45. package/build/esm/{index-e1096547.js → index-64d1a6eb.js} +1 -1
  46. package/build/esm/{index-c2a34a75.js → index-6df56a6d.js} +1 -1
  47. package/build/esm/{index-1d10a5cb.js → index-8a750fce.js} +1 -1
  48. package/build/esm/{index-869ca778.js → index-9397cefb.js} +1 -1
  49. package/build/esm/{index-0d754c1a.js → index-a7c16264.js} +1 -1
  50. package/build/esm/index-ad3cdc31.js +1 -0
  51. package/build/esm/index-afc55a14.js +1 -0
  52. package/build/esm/{index-4edc0419.js → index-cfb338a7.js} +1 -1
  53. package/build/esm/{index-1594b731.js → index-d31cc555.js} +1 -1
  54. package/build/esm/{index-32afad83.js → index-d8a78964.js} +1 -1
  55. package/build/esm/{index-68e6d44f.js → index-e47a5c9a.js} +1 -1
  56. package/build/esm/{index-c1494903.js → index-e47d63f3.js} +1 -1
  57. package/build/esm/{index-adc3a8ef.js → index-f6e0e14e.js} +1 -1
  58. package/build/esm/index.js +1 -1
  59. package/build/esm/{index.styled-062aa29a.js → index.styled-06dcc8d3.js} +1 -1
  60. package/build/esm/{index.styled-388d7dc5.js → index.styled-ee966f48.js} +1 -1
  61. package/build/esm/lead.js +1 -1
  62. package/build/esm/mantine.js +1 -1
  63. package/build/esm/misc.js +1 -1
  64. package/build/esm/navigation.js +1 -1
  65. package/build/esm/onboarding.js +1 -1
  66. package/build/esm/pwg.js +1 -1
  67. package/build/esm/routing-df3e8268.js +1 -0
  68. package/build/esm/{screenSizeContext-d797bf90.js → screenSizeContext-e0b382a7.js} +1 -1
  69. package/build/esm/together.js +1 -1
  70. package/build/esm/{translationsContext-e1447d8c.js → translationsContext-d829e61d.js} +1 -1
  71. package/build/esm/translationsProvider-afd3b935.js +1 -0
  72. package/build/esm/{types-ca9eaf0e.js → types-087de4a8.js} +1 -1
  73. package/build/esm/{types-00b9c61f.js → types-cbedf494.js} +1 -1
  74. package/build/esm/types.js +1 -1
  75. package/build/esm/{useFbDataLayer-6756d4b1.js → useFbDataLayer-83fff27a.js} +1 -1
  76. package/build/esm/{useHealthToolCache-8e96018f.js → useHealthToolCache-cf02cfb4.js} +1 -1
  77. package/build/esm/{useTranslations-acabb602.js → useTranslations-1804ea35.js} +1 -1
  78. package/build/footer.js +1 -1
  79. package/build/gAssets.js +1 -1
  80. package/build/{getDynamicHealthTool-587ba84a.js → getDynamicHealthTool-9a9970df.js} +1 -1
  81. package/build/{getSocialList-d6dc142b.js → getSocialList-1615697b.js} +1 -1
  82. package/build/hooks.js +1 -1
  83. package/build/i18n.js +1 -1
  84. package/build/{index-d1f32d6e.js → index-0c1528d8.js} +1 -1
  85. package/build/{index-969cb17e.js → index-337c52db.js} +1 -1
  86. package/build/{index-61305992.js → index-56216891.js} +1 -1
  87. package/build/{index-7d9d2395.js → index-62530a4f.js} +1 -1
  88. package/build/{index-93379c1f.js → index-668acad0.js} +1 -1
  89. package/build/{index-8b6d562a.js → index-76fdb9f1.js} +1 -1
  90. package/build/{index-e79a5ef6.js → index-8fdaa23c.js} +1 -1
  91. package/build/{index-be3be3ff.js → index-9bdc3300.js} +1 -1
  92. package/build/index-9e71ebf8.js +1 -0
  93. package/build/{index-82a1914e.js → index-9ef32dc7.js} +1 -1
  94. package/build/{index-97c79f77.js → index-a4973d30.js} +1 -1
  95. package/build/{index-d844f03f.js → index-a4bc8d3c.js} +1 -1
  96. package/build/{index-63f5a4f7.js → index-a75b7b83.js} +1 -1
  97. package/build/{index-1e09c928.js → index-bb5eeb33.js} +1 -1
  98. package/build/{index-22018677.js → index-c40a1d42.js} +1 -1
  99. package/build/{index-f3d39c28.js → index-cd322db1.js} +1 -1
  100. package/build/{index-28c838aa.js → index-f455165c.js} +1 -1
  101. package/build/{index-09147f25.js → index-ff30194b.js} +1 -1
  102. package/build/index.css +1 -1
  103. package/build/index.js +1 -1
  104. package/build/{index.styled-7f50ad8c.js → index.styled-1228bedf.js} +1 -1
  105. package/build/{index.styled-2779c6c8.js → index.styled-763fe246.js} +1 -1
  106. package/build/lead.js +1 -1
  107. package/build/mantine.js +1 -1
  108. package/build/misc.js +1 -1
  109. package/build/navigation.js +1 -1
  110. package/build/onboarding.js +1 -1
  111. package/build/pwg.js +1 -1
  112. package/build/{routing-03c7890f.js → routing-54091c64.js} +1 -1
  113. package/build/{screenSizeContext-08566fae.js → screenSizeContext-cb2fe953.js} +1 -1
  114. package/build/together.js +1 -1
  115. package/build/{translationsContext-7302ef48.js → translationsContext-82345641.js} +1 -1
  116. package/build/translationsProvider-cae8ec90.js +1 -0
  117. package/build/{types-02efc394.js → types-44381299.js} +1 -1
  118. package/build/{types-8adc770f.js → types-9027b443.js} +1 -1
  119. package/build/types.js +1 -1
  120. package/build/{useFbDataLayer-e7e4caae.js → useFbDataLayer-57a6ca07.js} +1 -1
  121. package/build/{useHealthToolCache-5e5cb4f0.js → useHealthToolCache-df68c421.js} +1 -1
  122. package/build/{useTranslations-afa81dec.js → useTranslations-c278c0be.js} +1 -1
  123. package/package.json +1 -1
  124. package/build/core-d995fce3.js +0 -1
  125. package/build/esm/core-0652d03c.js +0 -1
  126. package/build/esm/defaultClassWrapper-9a8a430d.js +0 -1
  127. package/build/esm/index-628c2c4c.js +0 -1
  128. package/build/esm/index-867ee6d1.js +0 -1
  129. package/build/esm/routing-8167fdec.js +0 -1
  130. package/build/esm/translationsProvider-4b734be4.js +0 -1
  131. package/build/index-4cfc02d2.js +0 -1
  132. package/build/translationsProvider-dd6b3a31.js +0 -1
  133. /package/build/{BMI_BOYS.percentile.monthly-e3c9f533.js → BMI_BOYS.percentile.monthly-2d855407.js} +0 -0
  134. /package/build/{BMI_BOYS.percentile.weekly-4134c6b6.js → BMI_BOYS.percentile.weekly-a879beaa.js} +0 -0
  135. /package/build/{BMI_BOYS.percentile.yearly-6f60bf1b.js → BMI_BOYS.percentile.yearly-cd2e9da7.js} +0 -0
  136. /package/build/{BMI_BOYS.zscore.monthly-66fcc28f.js → BMI_BOYS.zscore.monthly-30c390b0.js} +0 -0
  137. /package/build/{BMI_BOYS.zscore.weekly-5d4654bf.js → BMI_BOYS.zscore.weekly-7aa9d793.js} +0 -0
  138. /package/build/{BMI_BOYS.zscore.yearly-8983d7ed.js → BMI_BOYS.zscore.yearly-032d509a.js} +0 -0
  139. /package/build/{BMI_GIRLS.percentile.monthly-64f018bc.js → BMI_GIRLS.percentile.monthly-b0677231.js} +0 -0
  140. /package/build/{BMI_GIRLS.percentile.weekly-87fba942.js → BMI_GIRLS.percentile.weekly-1d1b7b2a.js} +0 -0
  141. /package/build/{BMI_GIRLS.percentile.yearly-81b36e45.js → BMI_GIRLS.percentile.yearly-ffbc9139.js} +0 -0
  142. /package/build/{BMI_GIRLS.zscore.monthly-8d82222f.js → BMI_GIRLS.zscore.monthly-41d4c2a7.js} +0 -0
  143. /package/build/{BMI_GIRLS.zscore.weekly-467624c0.js → BMI_GIRLS.zscore.weekly-a1620822.js} +0 -0
  144. /package/build/{BMI_GIRLS.zscore.yearly-06383233.js → BMI_GIRLS.zscore.yearly-4155a632.js} +0 -0
  145. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-6012b2bd.js → HEAD CIRCUM_BOYS.percentile.monthly-e0e5f510.js} +0 -0
  146. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-34eca7e2.js → HEAD CIRCUM_BOYS.percentile.weekly-fb415438.js} +0 -0
  147. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-c28e505d.js → HEAD CIRCUM_BOYS.percentile.yearly-4365f5ef.js} +0 -0
  148. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-fa89ae47.js → HEAD CIRCUM_BOYS.zscore.monthly-9b647d46.js} +0 -0
  149. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2d480a80.js → HEAD CIRCUM_BOYS.zscore.weekly-3669c9a5.js} +0 -0
  150. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-c9ee08ed.js → HEAD CIRCUM_BOYS.zscore.yearly-965d536a.js} +0 -0
  151. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-a7434a03.js → HEAD CIRCUM_GIRLS.percentile.monthly-b726c72c.js} +0 -0
  152. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-cc724893.js → HEAD CIRCUM_GIRLS.percentile.weekly-cd254720.js} +0 -0
  153. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-f2d8858d.js → HEAD CIRCUM_GIRLS.percentile.yearly-63c1aa0b.js} +0 -0
  154. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-f155aeeb.js → HEAD CIRCUM_GIRLS.zscore.monthly-8e05dc7f.js} +0 -0
  155. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-669ff029.js → HEAD CIRCUM_GIRLS.zscore.weekly-f448181c.js} +0 -0
  156. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-9f3976a2.js → HEAD CIRCUM_GIRLS.zscore.yearly-3f6b6b2a.js} +0 -0
  157. /package/build/{HEIGHT_BOYS.percentile.monthly-b9fdccb3.js → HEIGHT_BOYS.percentile.monthly-3e718636.js} +0 -0
  158. /package/build/{HEIGHT_BOYS.percentile.weekly-381deb35.js → HEIGHT_BOYS.percentile.weekly-be3beb45.js} +0 -0
  159. /package/build/{HEIGHT_BOYS.percentile.yearly-c42132a2.js → HEIGHT_BOYS.percentile.yearly-1ff1ee27.js} +0 -0
  160. /package/build/{HEIGHT_BOYS.zscore.monthly-ffba8c2b.js → HEIGHT_BOYS.zscore.monthly-56846b15.js} +0 -0
  161. /package/build/{HEIGHT_BOYS.zscore.weekly-4573f379.js → HEIGHT_BOYS.zscore.weekly-c2263526.js} +0 -0
  162. /package/build/{HEIGHT_BOYS.zscore.yearly-19efe292.js → HEIGHT_BOYS.zscore.yearly-0a98af53.js} +0 -0
  163. /package/build/{HEIGHT_GIRLS.percentile.monthly-d46d71ff.js → HEIGHT_GIRLS.percentile.monthly-725364bd.js} +0 -0
  164. /package/build/{HEIGHT_GIRLS.percentile.weekly-318db048.js → HEIGHT_GIRLS.percentile.weekly-f3c303db.js} +0 -0
  165. /package/build/{HEIGHT_GIRLS.percentile.yearly-aed94e35.js → HEIGHT_GIRLS.percentile.yearly-bd75e630.js} +0 -0
  166. /package/build/{HEIGHT_GIRLS.zscore.monthly-99b2b1b1.js → HEIGHT_GIRLS.zscore.monthly-05be6ac7.js} +0 -0
  167. /package/build/{HEIGHT_GIRLS.zscore.weekly-9625e806.js → HEIGHT_GIRLS.zscore.weekly-2a1c6b3a.js} +0 -0
  168. /package/build/{HEIGHT_GIRLS.zscore.yearly-75f42324.js → HEIGHT_GIRLS.zscore.yearly-233cb1e4.js} +0 -0
  169. /package/build/{Locale-52f386ec.js → Locale-f251b942.js} +0 -0
  170. /package/build/{WEIGHT_BOYS.percentile.monthly-fafdad1a.js → WEIGHT_BOYS.percentile.monthly-2e079af1.js} +0 -0
  171. /package/build/{WEIGHT_BOYS.percentile.weekly-953553e7.js → WEIGHT_BOYS.percentile.weekly-96aef324.js} +0 -0
  172. /package/build/{WEIGHT_BOYS.percentile.yearly-68e715cb.js → WEIGHT_BOYS.percentile.yearly-98281355.js} +0 -0
  173. /package/build/{WEIGHT_BOYS.zscore.monthly-a576af40.js → WEIGHT_BOYS.zscore.monthly-b9dc515f.js} +0 -0
  174. /package/build/{WEIGHT_BOYS.zscore.weekly-f4cda2bf.js → WEIGHT_BOYS.zscore.weekly-f296bd92.js} +0 -0
  175. /package/build/{WEIGHT_BOYS.zscore.yearly-783805ed.js → WEIGHT_BOYS.zscore.yearly-9e1ec079.js} +0 -0
  176. /package/build/{WEIGHT_GIRLS.percentile.monthly-f1f82ed4.js → WEIGHT_GIRLS.percentile.monthly-3730e3aa.js} +0 -0
  177. /package/build/{WEIGHT_GIRLS.percentile.weekly-863e6fb8.js → WEIGHT_GIRLS.percentile.weekly-999ef612.js} +0 -0
  178. /package/build/{WEIGHT_GIRLS.percentile.yearly-d988a721.js → WEIGHT_GIRLS.percentile.yearly-f6792d30.js} +0 -0
  179. /package/build/{WEIGHT_GIRLS.zscore.monthly-060b9d77.js → WEIGHT_GIRLS.zscore.monthly-2432cd24.js} +0 -0
  180. /package/build/{WEIGHT_GIRLS.zscore.weekly-edf64685.js → WEIGHT_GIRLS.zscore.weekly-d7241657.js} +0 -0
  181. /package/build/{WEIGHT_GIRLS.zscore.yearly-6b06c41f.js → WEIGHT_GIRLS.zscore.yearly-7149cf47.js} +0 -0
  182. /package/build/{constants-82580786.js → constants-15d86d0d.js} +0 -0
  183. /package/build/{cookieHelper-b1de39e7.js → cookieHelper-2ac79205.js} +0 -0
  184. /package/build/{dataTransform-2dd265b4.js → dataTransform-5a16f3d1.js} +0 -0
  185. /package/build/esm/{BMI_BOYS.percentile.monthly-c6eb5c96.js → BMI_BOYS.percentile.monthly-5a0c50ef.js} +0 -0
  186. /package/build/esm/{BMI_BOYS.percentile.weekly-ed9e5f99.js → BMI_BOYS.percentile.weekly-e9b698bc.js} +0 -0
  187. /package/build/esm/{BMI_BOYS.percentile.yearly-851c5a98.js → BMI_BOYS.percentile.yearly-b7cc0759.js} +0 -0
  188. /package/build/esm/{BMI_BOYS.zscore.monthly-a36ef792.js → BMI_BOYS.zscore.monthly-3c705752.js} +0 -0
  189. /package/build/esm/{BMI_BOYS.zscore.weekly-f30d164f.js → BMI_BOYS.zscore.weekly-05689b01.js} +0 -0
  190. /package/build/esm/{BMI_BOYS.zscore.yearly-6736a8b0.js → BMI_BOYS.zscore.yearly-78ae5bdb.js} +0 -0
  191. /package/build/esm/{BMI_GIRLS.percentile.monthly-f5a3fd28.js → BMI_GIRLS.percentile.monthly-a9bfdd60.js} +0 -0
  192. /package/build/esm/{BMI_GIRLS.percentile.weekly-a1a7655e.js → BMI_GIRLS.percentile.weekly-f617ca55.js} +0 -0
  193. /package/build/esm/{BMI_GIRLS.percentile.yearly-0f91b2bd.js → BMI_GIRLS.percentile.yearly-2d653aa0.js} +0 -0
  194. /package/build/esm/{BMI_GIRLS.zscore.monthly-efd822d0.js → BMI_GIRLS.zscore.monthly-5a627770.js} +0 -0
  195. /package/build/esm/{BMI_GIRLS.zscore.weekly-4d2ce688.js → BMI_GIRLS.zscore.weekly-546ff750.js} +0 -0
  196. /package/build/esm/{BMI_GIRLS.zscore.yearly-236e0198.js → BMI_GIRLS.zscore.yearly-e2c60313.js} +0 -0
  197. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-c429fe40.js → HEAD CIRCUM_BOYS.percentile.monthly-54fca8ad.js} +0 -0
  198. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-91675ef3.js → HEAD CIRCUM_BOYS.percentile.weekly-bf2ef230.js} +0 -0
  199. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-214f83eb.js → HEAD CIRCUM_BOYS.percentile.yearly-9e3cacd9.js} +0 -0
  200. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-40c874df.js → HEAD CIRCUM_BOYS.zscore.monthly-557bcfa2.js} +0 -0
  201. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-76dedad6.js → HEAD CIRCUM_BOYS.zscore.weekly-81176c0c.js} +0 -0
  202. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-4c11318c.js → HEAD CIRCUM_BOYS.zscore.yearly-90c793fe.js} +0 -0
  203. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-fb71b3a9.js → HEAD CIRCUM_GIRLS.percentile.monthly-d54a753c.js} +0 -0
  204. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-2b6785a3.js → HEAD CIRCUM_GIRLS.percentile.weekly-d8a63911.js} +0 -0
  205. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-9ab78f40.js → HEAD CIRCUM_GIRLS.percentile.yearly-0062f768.js} +0 -0
  206. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-c61ecfb5.js → HEAD CIRCUM_GIRLS.zscore.monthly-4b5db1dd.js} +0 -0
  207. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-60cfbc17.js → HEAD CIRCUM_GIRLS.zscore.weekly-891a346f.js} +0 -0
  208. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-5552652e.js → HEAD CIRCUM_GIRLS.zscore.yearly-fd812d10.js} +0 -0
  209. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e200c4bc.js → HEIGHT_BOYS.percentile.monthly-c6997310.js} +0 -0
  210. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-17d78605.js → HEIGHT_BOYS.percentile.weekly-bc11f98f.js} +0 -0
  211. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-409cf79d.js → HEIGHT_BOYS.percentile.yearly-afd73271.js} +0 -0
  212. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-6b2e2e09.js → HEIGHT_BOYS.zscore.monthly-6590edba.js} +0 -0
  213. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-2664b05e.js → HEIGHT_BOYS.zscore.weekly-e490ffa1.js} +0 -0
  214. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-b0cb60d3.js → HEIGHT_BOYS.zscore.yearly-7637908a.js} +0 -0
  215. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-4612a93a.js → HEIGHT_GIRLS.percentile.monthly-7f9a2f21.js} +0 -0
  216. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-55be8932.js → HEIGHT_GIRLS.percentile.weekly-02a96165.js} +0 -0
  217. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-ce78d353.js → HEIGHT_GIRLS.percentile.yearly-3a230c5d.js} +0 -0
  218. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-7075c730.js → HEIGHT_GIRLS.zscore.monthly-27d8fd4e.js} +0 -0
  219. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-7af4f332.js → HEIGHT_GIRLS.zscore.weekly-b9a55104.js} +0 -0
  220. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-596de90a.js → HEIGHT_GIRLS.zscore.yearly-51ffea1a.js} +0 -0
  221. /package/build/esm/{Locale-6ee47355.js → Locale-1f04bb81.js} +0 -0
  222. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-c96d8571.js → WEIGHT_BOYS.percentile.monthly-00d8567c.js} +0 -0
  223. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e90b6848.js → WEIGHT_BOYS.percentile.weekly-19e641be.js} +0 -0
  224. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-fa2c3aa0.js → WEIGHT_BOYS.percentile.yearly-6fc65cff.js} +0 -0
  225. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-bf7e0937.js → WEIGHT_BOYS.zscore.monthly-e8cef36c.js} +0 -0
  226. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-32c2f47c.js → WEIGHT_BOYS.zscore.weekly-2b1d2d2d.js} +0 -0
  227. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-1caa7082.js → WEIGHT_BOYS.zscore.yearly-e09e5b98.js} +0 -0
  228. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-70f1ae47.js → WEIGHT_GIRLS.percentile.monthly-9e48e7da.js} +0 -0
  229. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-24d3b9c7.js → WEIGHT_GIRLS.percentile.weekly-7beb460b.js} +0 -0
  230. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-a7530a6f.js → WEIGHT_GIRLS.percentile.yearly-8aa51714.js} +0 -0
  231. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-0692f582.js → WEIGHT_GIRLS.zscore.monthly-f14ff9c1.js} +0 -0
  232. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f67645d7.js → WEIGHT_GIRLS.zscore.weekly-cff114d1.js} +0 -0
  233. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-399e0810.js → WEIGHT_GIRLS.zscore.yearly-79efcf60.js} +0 -0
  234. /package/build/esm/{constants-0a71568e.js → constants-284fa44a.js} +0 -0
  235. /package/build/esm/{cookieHelper-ed8a11f7.js → cookieHelper-72d02b03.js} +0 -0
  236. /package/build/esm/{dataTransform-b85d0d50.js → dataTransform-b2a81dc7.js} +0 -0
  237. /package/build/esm/{isProduction-f0229285.js → isProduction-d5b88aa6.js} +0 -0
  238. /package/build/esm/{localizeNumberFormat-6920ee3d.js → localizeNumberFormat-0d8769d6.js} +0 -0
  239. /package/build/esm/{theme-e845a33a.js → theme-183e51e5.js} +0 -0
  240. /package/build/esm/{tslib.es6-8eb69bc8.js → tslib.es6-982d9c6a.js} +0 -0
  241. /package/build/esm/{types-b4281d8f.js → types-686e8afa.js} +0 -0
  242. /package/build/esm/{useOutsideClick-8d5f5dec.js → useOutsideClick-43ef47f0.js} +0 -0
  243. /package/build/esm/{useScrollbarSize-15495024.js → useScrollbarSize-aef6e8ae.js} +0 -0
  244. /package/build/esm/{utils-38a19993.js → utils-73ec5936.js} +0 -0
  245. /package/build/{isProduction-403a0cb0.js → isProduction-99654c0f.js} +0 -0
  246. /package/build/{localizeNumberFormat-16c0fb3f.js → localizeNumberFormat-008d2b5e.js} +0 -0
  247. /package/build/{theme-918935ea.js → theme-3acc5e43.js} +0 -0
  248. /package/build/{tslib.es6-c729ef8d.js → tslib.es6-e3174389.js} +0 -0
  249. /package/build/{types-e7785d20.js → types-8aa51412.js} +0 -0
  250. /package/build/{useOutsideClick-f2515fba.js → useOutsideClick-7bb2506a.js} +0 -0
  251. /package/build/{useScrollbarSize-0e5acd08.js → useScrollbarSize-6a2a52fa.js} +0 -0
  252. /package/build/{utils-d4aa298d.js → utils-f574ab0c.js} +0 -0
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { PersonalInfo } from '../..';
2
3
  export type OnboardingFormProps = {
3
4
  onClose(): void;
4
5
  onSubmit({ email, birthday, gender, name, }: {
@@ -10,5 +11,6 @@ export type OnboardingFormProps = {
10
11
  loading?: boolean;
11
12
  canSkip?: boolean;
12
13
  errorMessage?: string;
14
+ initialData?: PersonalInfo;
13
15
  };
14
- export declare const EmailOnboardingForm: ({ onClose, onSubmit, canSkip, loading, errorMessage, }: OnboardingFormProps) => JSX.Element;
16
+ export declare const EmailOnboardingForm: ({ onClose, onSubmit, canSkip, loading, errorMessage, initialData, }: OnboardingFormProps) => JSX.Element;
@@ -3,5 +3,6 @@ import { ContainerProps } from '@mantine/core';
3
3
  export type OnboardingFormProps = {
4
4
  heading: string;
5
5
  description: React.ReactNode;
6
+ imgSrc?: string;
6
7
  } & ContainerProps;
7
- export declare const FormSection: ({ heading, description, children, className, ...rest }: OnboardingFormProps) => JSX.Element;
8
+ export declare const FormSection: ({ heading, description, children, className, imgSrc, ...rest }: OnboardingFormProps) => JSX.Element;
@@ -1,2 +1,6 @@
1
1
  /// <reference types="react" />
2
+ export declare const StyledHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const StyledText: import("styled-components").StyledComponent<({ size, type, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, ...rest }: import("../../../../atoms/text").Props) => JSX.Element, any, {}, never>;
4
+ export declare const StyledFormInner: import("styled-components").StyledComponent<"div", any, {}, never>;
2
5
  export declare const StyledFormSection: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@mantine/core").ContainerProps & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
6
+ export declare const StyledThumb: import("styled-components").StyledComponent<"img", any, {}, never>;
@@ -1,2 +1,2 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledOnboardingForm: import("styled-components").StyledComponent<({ heading, description, children, className, ...rest }: import("../formSection").OnboardingFormProps) => JSX.Element, any, {}, never>;
2
+ export declare const StyledOnboardingForm: import("styled-components").StyledComponent<({ heading, description, children, className, imgSrc, ...rest }: import("../formSection").OnboardingFormProps) => JSX.Element, any, {}, never>;
@@ -9,5 +9,6 @@ export type OtpFormProps = {
9
9
  canSkip?: boolean;
10
10
  onBack?(): void;
11
11
  outOfEdit?: boolean;
12
+ description?: string;
12
13
  };
13
- export declare const OtpForm: ({ onSubmit: _onSubmit, phone, onResendCode, otpError, onClose, loading, onBack, canSkip: canSkipInit, outOfEdit, }: OtpFormProps) => JSX.Element;
14
+ export declare const OtpForm: ({ onSubmit: _onSubmit, phone, onResendCode, otpError, onClose, loading, onBack, canSkip: canSkipInit, outOfEdit, description, }: OtpFormProps) => JSX.Element;
@@ -1,2 +1,2 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledOtpForm: import("styled-components").StyledComponent<({ heading, description, children, className, ...rest }: import("../formSection").OnboardingFormProps) => JSX.Element, any, {}, never>;
2
+ export declare const StyledOtpForm: import("styled-components").StyledComponent<({ heading, description, children, className, imgSrc, ...rest }: import("../formSection").OnboardingFormProps) => JSX.Element, any, {}, never>;
@@ -1,24 +1,30 @@
1
- /// <reference types="react" />
2
- import type { ModalProps } from '../../mantine/modal';
1
+ import { CSSProperties } from 'react';
3
2
  import { OnboardingFormProps } from './components/onboardingForm';
4
3
  export declare enum OnboardingStep {
5
4
  Phone = 0,
6
5
  OTP = 1,
7
6
  Email = 2,
8
- UpdatePassword = 3
7
+ UpdatePassword = 3,
8
+ UpdatePasswordResult = 4
9
9
  }
10
+ export type PersonalInfo = {
11
+ email?: string;
12
+ birthday?: string;
13
+ gender?: string;
14
+ name?: string;
15
+ };
16
+ export type Banner = {
17
+ heading?: string;
18
+ description?: string;
19
+ imgSrc?: string;
20
+ };
10
21
  export type OnboardingModalProps = {
11
22
  canSkip?: boolean;
12
23
  step?: OnboardingStep;
13
24
  onPhoneSubmit?(phone: string): void;
14
25
  onOtpSubmit?(otp: string): void | Promise<string | undefined | void>;
15
26
  onResendCode?(phone: string): void;
16
- onUpdateEmailSubmit?({ email, birthday, gender, name, }: {
17
- email?: string;
18
- birthday?: string;
19
- gender?: string;
20
- name?: string;
21
- }): void | Promise<string | undefined | void>;
27
+ onUpdateEmailSubmit?(values: PersonalInfo): void | Promise<string | undefined | void>;
22
28
  onCreatePassByEmail?(password: string): void;
23
29
  otpError?: string;
24
30
  emailError?: string;
@@ -29,6 +35,10 @@ export type OnboardingModalProps = {
29
35
  customFormTexts?: {
30
36
  onboarding?: OnboardingFormProps['customFormTexts'];
31
37
  };
32
- } & ModalProps;
33
- declare const OnboardingModal: ({ onClose, canSkip, step: _step, onPhoneSubmit: _onPhoneSubmit, onOtpSubmit: _onOtpSubmit, onUpdateEmailSubmit: _onUpdateEmailSubmit, onCreatePassByEmail: _onCreatePassByEmail, onResendCode, otpError, emailError, createPassError, emailLoading, createPassLoading, otpLoading, customFormTexts, ...rest }: OnboardingModalProps) => JSX.Element;
38
+ initialEmailData?: PersonalInfo;
39
+ onClose?: () => void;
40
+ style?: CSSProperties;
41
+ banner?: Banner;
42
+ };
43
+ declare const OnboardingModal: ({ onClose, canSkip, step: _step, onPhoneSubmit: _onPhoneSubmit, onOtpSubmit: _onOtpSubmit, onUpdateEmailSubmit: _onUpdateEmailSubmit, onCreatePassByEmail: _onCreatePassByEmail, onResendCode, otpError, emailError, createPassError, emailLoading, createPassLoading, otpLoading, customFormTexts, initialEmailData, banner, ...rest }: OnboardingModalProps) => JSX.Element;
34
44
  export { OnboardingModal };
@@ -1,4 +1,11 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledOnboardingModal: import("styled-components").StyledComponent<({ title, ...rest }: import("@mantine/core").ModalProps) => JSX.Element, any, {}, never>;
2
+ export declare const StyledOnboardingModal: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const StyledContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
4
  export declare const StyledContent: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const StyledBannerCol: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export declare const StyledBannerInner: import("styled-components").StyledComponent<"div", any, {}, never>;
7
+ export declare const StyledIntro: import("styled-components").StyledComponent<"div", any, {}, never>;
8
+ export declare const StyledHeading: import("styled-components").StyledComponent<({ as, tag, className, children, title, color, style, fontWeight, dataEventCategory, dataEventAction, dataEventLabel, ...rest }: import("../../atoms/heading").Props) => JSX.Element, any, {}, never>;
9
+ export declare const StyledText: import("styled-components").StyledComponent<({ size, type, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, ...rest }: import("../../atoms/text").Props) => JSX.Element, any, {}, never>;
10
+ export declare const StyledBannerImg: import("styled-components").StyledComponent<"img", any, {}, never>;
4
11
  export declare const StyledBanner: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -9,3 +9,4 @@ export declare const MAPPED_LOCALE: {
9
9
  "th-TH": string;
10
10
  "my-MM": string;
11
11
  };
12
+ export declare const hiddenEmailChar: (str?: string) => string;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-97c79f77.js"),r=require("./index-28c838aa.js"),o=require("./index-f3d39c28.js"),t=require("./index-93379c1f.js"),a=require("./index-61305992.js"),i=require("./FullScreen-178d6a8e.js"),s=require("./index-d1f32d6e.js"),n=require("./index.styled-7f50ad8c.js"),d=require("./index-d844f03f.js"),u=require("./index.styled-2779c6c8.js"),p=require("./index-4cfc02d2.js"),x=require("./index-1e09c928.js"),l=require("./index-09147f25.js"),c=require("./index-63f5a4f7.js"),g=require("./index-be3be3ff.js"),q=require("./footer.js");require("react"),require("./tslib.es6-c729ef8d.js"),require("./utils-d4aa298d.js"),require("./gAssets.js"),require("./index-8b6d562a.js"),require("./Locale-52f386ec.js"),require("./isProduction-403a0cb0.js"),require("./theme-918935ea.js"),require("styled-components"),require("lodash/throttle"),require("keen-slider/react"),require("dayjs"),require("./screenSizeContext-08566fae.js"),require("./index-82a1914e.js"),require("@mantine/core"),require("@mantine/hooks"),require("./useTranslations-afa81dec.js"),require("./translationsContext-7302ef48.js"),require("string-format"),require("date-fns"),require("react-range"),require("./types-e7785d20.js"),require("react-hook-form"),require("./useHealthToolCache-5e5cb4f0.js"),require("./getDynamicHealthTool-587ba84a.js"),require("./core-d995fce3.js"),require("./routing-03c7890f.js"),require("@hookform/resolvers/yup"),require("./index-e79a5ef6.js"),require("react-day-picker/DayPickerInput"),require("./defaultClassWrapper-511abed3.js"),require("./useOutsideClick-f2515fba.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./getSocialList-d6dc142b.js"),require("@mantine/dates"),require("./cookieHelper-b1de39e7.js"),require("slugify"),require("./constants-82580786.js"),require("dayjs/plugin/relativeTime"),require("lodash/debounce"),require("./useScrollbarSize-0e5acd08.js"),require("react-dom"),require("./index-7d9d2395.js"),require("@mantine/carousel"),exports.Alert=e.Alert,exports.AmpNextPage=e.AmpNextPage,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.CheckboxGroup=e.CheckboxGroup,exports.CookieAcceptConfirm=e.CookieAcceptConfirm,exports.DatePicker=e.DatePicker,exports.DateRangePicker=e.DateRangePicker,exports.DoctorInfo=e.DoctorInfo,exports.DueDateCardEmbed=e.DueDateCardEmbed,exports.FileDropdown=e.FileDropdown,exports.FloatButtonGroup=e.FloatButtonGroup,exports.Grid=e.Grid,exports.IconText=e.IconText,exports.Immunization=e.Immunization,exports.MobileBottomNavigation=e.MobileBottomNavigation,exports.MobileBottomNavigationIcon=e.MobileBottomNavigationIcon,exports.OvulationCardEmbed=e.OvulationCardEmbed,exports.PWGCardEmbed=e.PWGCardEmbed,exports.Pagination=e.Pagination,exports.Progress=e.Progress,exports.ProgressBar=e.ProgressBar,exports.Radio=e.Radio,exports.RadioGroup=e.RadioGroup,exports.RateStars=e.RateStars,exports.RecordsByAgeGroup=e.RecordsByAgeGroup,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.Slider=e.Slider,exports.StatisticCard=e.StatisticCard,exports.SurveyQuestionCard=e.SurveyQuestionCard,exports.SurveyThankyouCard=e.SurveyThankyouCard,exports.THRCardEmbed=e.THRCardEmbed,exports.Table=e.index$1,exports.Tabs=e.Tabs,exports.Tag=e.Tag,exports.TimelineBanner=e.TimelineBanner,exports.Toggle=e.Toggle,exports.ToolsBannerCard=e.ToolsBannerCard,exports.UnderlinedLink=e.UnderlinedLink,exports.Uploader=e.Uploader,exports.VaccineCard=e.VaccineCard,exports.VaccineDetailPopup=e.VaccineDetailPopup,exports.Avatar=r.Avatar,exports.Popup=r.Popup,exports.Button=o.Button,exports.AuthorBadge=t.AuthorBadge,exports.Checkbox=t.Checkbox,exports.Divider=t.Divider,exports.Dropdown=t.Dropdown,exports.Flag=a.Flag,exports.LanguageSwitcher=a.LanguageSwitcher,exports.NavigationLogoutPopup=a.NavigationLogoutPopup,exports.NavigationProfileButton=a.NavigationProfileButton,exports.NavigationV2=a.NavigationV2,exports.ProfilePopup=a.ProfilePopup,exports.UserProfileNavigation=a.UserProfileNavigation,exports.UserProfileNavigationHeader=a.NavHeader,exports.UserProfileNavigationStats=a.UserStats,exports.getNavMenuContent=a.getNavMenuContent,exports.getNavMenuContentWithCache=a.getNavMenuContentWithCache,exports.Heading=i.Heading,exports.Input=s.Input,exports.Label=n.Label,exports.Logo=d.Logo,exports.Menu=u.Menu,exports.PureInput=u.PureInput,exports.TextArea=u.TextArea,exports.TextDivider=u.TextDivider,exports.Text=p.Text,exports.Container=x.Container,exports.Drawer=l.Drawer,exports.Icon=l.Icon,exports.Modal=l.Modal,exports.NewBabyProfileRadio=l.NewBabyProfileRadio,exports.RadioImageGroup=l.RadioImageGroup,exports.CustomReferenceDot=c.CustomReferenceDot,exports.PillCarousel=g.PillCarousel,exports.Footer=q.Footer;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-a4973d30.js"),r=require("./index-f455165c.js"),o=require("./index-cd322db1.js"),t=require("./index-668acad0.js"),a=require("./index-56216891.js"),i=require("./FullScreen-5c79fed0.js"),s=require("./index-0c1528d8.js"),n=require("./index.styled-1228bedf.js"),d=require("./index-a4bc8d3c.js"),u=require("./index.styled-763fe246.js"),p=require("./index-9e71ebf8.js"),x=require("./index-bb5eeb33.js"),l=require("./index-ff30194b.js"),c=require("./index-a75b7b83.js"),g=require("./index-9bdc3300.js"),q=require("./footer.js");require("react"),require("./tslib.es6-e3174389.js"),require("./utils-f574ab0c.js"),require("./gAssets.js"),require("./index-76fdb9f1.js"),require("./Locale-f251b942.js"),require("./isProduction-99654c0f.js"),require("./theme-3acc5e43.js"),require("styled-components"),require("lodash/throttle"),require("keen-slider/react"),require("dayjs"),require("./screenSizeContext-cb2fe953.js"),require("./index-9ef32dc7.js"),require("@mantine/core"),require("@mantine/hooks"),require("./useTranslations-c278c0be.js"),require("./translationsContext-82345641.js"),require("string-format"),require("date-fns"),require("react-range"),require("./types-8aa51412.js"),require("react-hook-form"),require("./useHealthToolCache-df68c421.js"),require("./getDynamicHealthTool-9a9970df.js"),require("./core-b004a177.js"),require("./routing-54091c64.js"),require("@hookform/resolvers/yup"),require("./index-8fdaa23c.js"),require("react-day-picker/DayPickerInput"),require("./defaultClassWrapper-8033f2ac.js"),require("./useOutsideClick-7bb2506a.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./getSocialList-1615697b.js"),require("@mantine/dates"),require("./cookieHelper-2ac79205.js"),require("slugify"),require("./constants-15d86d0d.js"),require("dayjs/plugin/relativeTime"),require("lodash/debounce"),require("./useScrollbarSize-6a2a52fa.js"),require("react-dom"),require("./index-62530a4f.js"),require("@mantine/carousel"),exports.Alert=e.Alert,exports.AmpNextPage=e.AmpNextPage,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.CheckboxGroup=e.CheckboxGroup,exports.CookieAcceptConfirm=e.CookieAcceptConfirm,exports.DatePicker=e.DatePicker,exports.DateRangePicker=e.DateRangePicker,exports.DoctorInfo=e.DoctorInfo,exports.DueDateCardEmbed=e.DueDateCardEmbed,exports.FileDropdown=e.FileDropdown,exports.FloatButtonGroup=e.FloatButtonGroup,exports.Grid=e.Grid,exports.IconText=e.IconText,exports.Immunization=e.Immunization,exports.MobileBottomNavigation=e.MobileBottomNavigation,exports.MobileBottomNavigationIcon=e.MobileBottomNavigationIcon,exports.OvulationCardEmbed=e.OvulationCardEmbed,exports.PWGCardEmbed=e.PWGCardEmbed,exports.Pagination=e.Pagination,exports.Progress=e.Progress,exports.ProgressBar=e.ProgressBar,exports.Radio=e.Radio,exports.RadioGroup=e.RadioGroup,exports.RateStars=e.RateStars,exports.RecordsByAgeGroup=e.RecordsByAgeGroup,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.Slider=e.Slider,exports.StatisticCard=e.StatisticCard,exports.SurveyQuestionCard=e.SurveyQuestionCard,exports.SurveyThankyouCard=e.SurveyThankyouCard,exports.THRCardEmbed=e.THRCardEmbed,exports.Table=e.index$1,exports.Tabs=e.Tabs,exports.Tag=e.Tag,exports.TimelineBanner=e.TimelineBanner,exports.Toggle=e.Toggle,exports.ToolsBannerCard=e.ToolsBannerCard,exports.UnderlinedLink=e.UnderlinedLink,exports.Uploader=e.Uploader,exports.VaccineCard=e.VaccineCard,exports.VaccineDetailPopup=e.VaccineDetailPopup,exports.Avatar=r.Avatar,exports.Popup=r.Popup,exports.Button=o.Button,exports.AuthorBadge=t.AuthorBadge,exports.Checkbox=t.Checkbox,exports.Divider=t.Divider,exports.Dropdown=t.Dropdown,exports.Flag=a.Flag,exports.LanguageSwitcher=a.LanguageSwitcher,exports.NavigationLogoutPopup=a.NavigationLogoutPopup,exports.NavigationProfileButton=a.NavigationProfileButton,exports.NavigationV2=a.NavigationV2,exports.ProfilePopup=a.ProfilePopup,exports.UserProfileNavigation=a.UserProfileNavigation,exports.UserProfileNavigationHeader=a.NavHeader,exports.UserProfileNavigationStats=a.UserStats,exports.getNavMenuContent=a.getNavMenuContent,exports.getNavMenuContentWithCache=a.getNavMenuContentWithCache,exports.Heading=i.Heading,exports.Input=s.Input,exports.Label=n.Label,exports.Logo=d.Logo,exports.Menu=u.Menu,exports.PureInput=u.PureInput,exports.TextArea=u.TextArea,exports.TextDivider=u.TextDivider,exports.Text=p.Text,exports.Container=x.Container,exports.Drawer=l.Drawer,exports.Icon=l.Icon,exports.Modal=l.Modal,exports.NewBabyProfileRadio=l.NewBabyProfileRadio,exports.RadioImageGroup=l.RadioImageGroup,exports.CustomReferenceDot=c.CustomReferenceDot,exports.PillCarousel=g.PillCarousel,exports.Footer=q.Footer;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-8b6d562a.js"),O=require("./isProduction-403a0cb0.js");require("./Locale-52f386ec.js"),exports.CARE_BOOKING_LOCALES=e.CARE_BOOKING_LOCALES,exports.CARE_LOCALES=e.CARE_LOCALES,exports.FAVICONS=e.FAVICONS,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});var e=require("./index-76fdb9f1.js"),O=require("./isProduction-99654c0f.js");require("./Locale-f251b942.js"),exports.CARE_BOOKING_LOCALES=e.CARE_BOOKING_LOCALES,exports.CARE_LOCALES=e.CARE_LOCALES,exports.FAVICONS=e.FAVICONS,exports.LOCALE_SPECS=e.LOCALE_SPECS,Object.defineProperty(exports,"QUERY_HEALTH_TOOL",{enumerable:!0,get:function(){return e.QUERY_HEALTH_TOOL}}),exports.STATIC_PAGES=e.STATIC_PAGES,exports.TOGETHER_LOCALES=e.TOGETHER_LOCALES,exports.UP_BASEPATH=e.UP_BASEPATH,exports.USER_GEOLOCATION_COORDINATES_COOKIE=e.USER_GEOLOCATION_COORDINATES_COOKIE,exports.domainLocales=e.domainLocales,exports.siteHost=e.siteHost,exports.siteOptions=e.siteOptions,exports.isProduction=O.isProduction;
@@ -0,0 +1 @@
1
+ "use strict";var t=require("./tslib.es6-e3174389.js"),e=require("./isProduction-99654c0f.js"),r={},a=function(t){if("undefined"!=typeof window){var a=void 0;try{a=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return a||{}}return r[t]},i=function(t,a){try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:a,time:Date.now()})):r[t]={data:a,time:Date.now()}}catch(t){}};exports.getCachedItem=a,exports.getDataWithCache=function(e,r,n,o){return void 0===o&&(o=9e5),t.__awaiter(void 0,void 0,void 0,(function(){var c,s;return t.__generator(this,(function(t){switch(t.label){case 0:return(c=a(e))&&c.data&&c.time&&Date.now()-c.time<o?[2,c.data]:[3,1];case 1:return r?[4,r()]:[3,3];case 2:return s=t.sent(),n&&!n(s)||i(e,s),[2,s];case 3:return[2,null]}}))}))},exports.setCachedItem=i;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-c729ef8d.js"),r=require("react");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(r);exports.getDefaultClassWrapper=function(t,s){return r.forwardRef((function(r,c){var n=r.className,u=e.__rest(r,["className"]);return a.default.createElement(t,e.__assign({ref:c,className:"".concat(s," ").concat(n||"")},u))}))};
1
+ "use strict";var e=require("./tslib.es6-e3174389.js"),r=require("react");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(r);exports.getDefaultClassWrapper=function(t,s){return r.forwardRef((function(r,c){var n=r.className,u=e.__rest(r,["className"]);return a.default.createElement(t,e.__assign({ref:c,className:"".concat(s," ").concat(n||"")},u))}))};
package/build/ecom.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-c729ef8d.js"),o=require("./theme-918935ea.js");require("./index-8b6d562a.js");var t=require("./isProduction-403a0cb0.js"),i=require("./types-e7785d20.js");require("./Locale-52f386ec.js");var l,n=Object.freeze({__proto__:null}),a=Object.freeze({__proto__:null}),r="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,s="undefined"==typeof window,u=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",c=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",d=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,m=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",p={"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"},_=r?"http://localhost:3001":t.isProduction?"https://".concat(p[u]):"https://discover.".concat(p[u]),h=t.isProduction?"https://wp.".concat(p[u],"/"):"https://staging.".concat(p[u],"/"),E=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:"https://together.".concat(p[u],"/"),v="".concat(_,"/community"),I=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(l||(l={}));var T={"vi-VN":{HOME:function(){return 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:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),void 0===t&&(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:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),void 0===t&&(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:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),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".concat(e),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop".concat(e)}}]},{"@type":"BrandDetail",url:"https://hellobacsi.com/shop".concat(e),numberOfItems:o,itemListElement:null!=t?t:{}}]})},PRODUCT_DETAIL:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),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/".concat(e),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/san-pham/".concat(e)}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}}},g=Object.freeze({__proto__:null,isDevelopment:r,IS_SSR:s,locale:u,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:c,GOOGLE_ADMIN_LOCATION_KEY:d,GOOGLE_CLIENT_ID:m,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:p,DISCOVER_URL_FE:_,DISCOVER_URL_BE:h,TOGETHER_URL_BE:E,TOGETHER_URL_FE:v,SSO_URL:I,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 l},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:T});function O(e){return null!=e}var A={formatAutoCompleteAddress:function(e){return e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null},formatPrice:function(e,o){var t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:function(e){return{text:(null==e?void 0:e.name)||""}},formatHelpfulUrl:function(e){return{name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}},formatCategory:function(e,t,i){var l,n,a,r=i?i+"/"+e.slug:e.slug,s=(null===(n=null===(l=null==e?void 0:e.children)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,(function(o){return A.formatCategory(o,e.id,r)})))||[];return{id:null==e?void 0:e.id,name:(null==e?void 0:e.name)||"",logo:(null==e?void 0:e.logo)||"",slug:(null==e?void 0:e.slug)||"",fullSlug:r||"",children:s,backgroundColor:e.color||o.theme.colors.teal50,parentId:t||0,products:(null===(a=e.products)||void 0===a?void 0:a.map(A.formatProduct))||[]}},formatFooterInfo:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g=(null===(i=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===i?void 0:i.call(t,(function(e){return{flag:e.flag||"",name:e.name||"",url:e.url||""}})))||[],O=(null===(a=null===(n=null===(l=null==e?void 0:e.general)||void 0===l?void 0:l.verified)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(e){return{image:e.image||"",url:e.url||""}})))||[],A=(null===(s=null===(r=null==e?void 0:e.menu)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,(function(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,(function(e){return{title:e.title,url:e.url}}))}})))||[],f=(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,(function(e){return{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!==(I=null===(v=null==e?void 0:e.general)||void 0===v?void 0:v.copyright)&&void 0!==I?I:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:f}}},formatNavigation:function(e){var o,t,i,l,n,a;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,A.formatHotSearchKeyword))||[],helpfulUrls:(null===(l=null===(i=null==e?void 0:e.helpful_urls)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatHelpfulUrl))||[],categories:(null===(a=null===(n=null==e?void 0:e.categories)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(e){return A.formatCategory(e)})))||[],footer:A.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:function(e){return e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null},formatProduct:function(e){var o,t,i,l;if(!e)return null;var n={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&A.formatPriceInfo(e.price)||n,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,A.formatProductPromotion).filter(O))||[],categories:(null===(l=null===(i=e.categories)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,(function(e){return A.formatCategory(e)})).filter(O))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:function(e){return e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null},formatBlogPost:function(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:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:A.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,(function(e){return{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:function(e){return 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,i,l;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,A.formatBanner).filter(O))||[],bestsellerProducts:(null===(l=null===(i=e.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O))||[]}:null},formatHomePage:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,A.formatBrand).filter(O):[],hotDeals:e.hot_deals?null===(l=(i=e.hot_deals).map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O):[],newProducts:e.new_products?null===(a=(n=e.new_products).map)||void 0===a?void 0:a.call(n,A.formatProduct).filter(O):[],slideBanners:e.slide_banners?null===(s=(r=e.slide_banners).map)||void 0===s?void 0:s.call(r,A.formatBanner).filter(O):[],subBanners:e.sub_banners?null===(c=(u=e.sub_banners).map)||void 0===c?void 0:c.call(u,A.formatBanner).filter(O):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,A.formatBanner).filter(O):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,A.formatBlogPost).filter(O):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(function(e){return A.formatCategory(e)})).filter(O):[],suggestProducts:e.suggest_products?null===(I=(v=e.suggest_products).map)||void 0===I?void 0:I.call(v,(function(e){return A.formatCategory(e)})).filter(O):[],promotions:e.promotions?null===(g=(T=e.promotions).map)||void 0===g?void 0:g.call(T,(function(e){return A.formatPromotion(e)})).filter(O):[]}:null},formatCategoryPage:function(e){var o,t,i,l;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,A.formatBanner).filter(O))||[],bestsellerProducts:(null===(l=null===(i=e.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O))||[]}:null},formatBrandPage:function(e){return e?A.formatBrand(e):null},formatPagination:function(e){return 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(o){var t,i,l,n,a,r,s,u;return o?e.__assign(e.__assign({},A.formatProduct(o)),{relatedProducts:(null===(i=null===(t=o.related_products)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,A.formatProduct).filter(O))||[],bestsellerProducts:(null===(n=null===(l=o.bestseller_products)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,A.formatProduct).filter(O))||[],viewedProducts:(null===(r=null===(a=o.viewed_products)||void 0===a?void 0:a.map)||void 0===r?void 0:r.call(a,A.formatProduct).filter(O))||[],promotions:(null===(u=null===(s=o.promotions)||void 0===s?void 0:s.map)||void 0===u?void 0:u.call(s,A.formatPromotion).filter(O))||[]}):null},formatProductReview:function(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,(function(e){return{ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}})))||[],images:e.images||[]}:null},formatProductPromotion:function(e){return e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null},formatPromotion:function(e){return 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:function(e,o){var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((function(e){return e.attribute_code===o})))||void 0===t?void 0:t.value)||""},formatAddress:function(e){var o,t,i,l;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:A.formatCustomAttributes(e.custom_attributes,"district_id"),label:A.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:A.formatCustomAttributes(e.custom_attributes,"ward_id"),label:A.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(i=null==e?void 0:e.street)||void 0===i?void 0:i.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(l=null==e?void 0:e.extension_attributes)||void 0===l?void 0:l.full_address)||""}:null},formatProvince:function(e){return(null==e?void 0:e.available_regions)?e.available_regions.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatDistrict:function(e){return(null==e?void 0:e.districts)?e.districts.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatCommune:function(e){return(null==e?void 0:e.communes)?e.communes.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatOrder:function(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,(function(e){return{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:function(e){var o,t,i,l,n;return e?{pending:Number(null===(o=null==e?void 0:e.find((function(e){return"pending"===e.status})))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((function(e){return"processing"===e.status})))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(i=null==e?void 0:e.find((function(e){return"delivering"===e.status})))||void 0===i?void 0:i.amount)||0,complete:Number(null===(l=null==e?void 0:e.find((function(e){return"complete"===e.status})))||void 0===l?void 0:l.amount)||0,canceled:Number(null===(n=null==e?void 0:e.find((function(e){return"canceled"===e.status})))||void 0===n?void 0:n.amount)||0}:{}},formatCartItem:function(e){var o,t,i,l,n,a,r,s;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===(i=e.extension_attributes)||void 0===i?void 0:i.row_total)||0,promotions:(null===(a=null===(n=null===(l=e.extension_attributes)||void 0===l?void 0:l.promotions)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,A.formatProductPromotion))||[],isInStock:(null===(r=e.extension_attributes)||void 0===r?void 0:r.is_in_stock)||!1,urlProduct:(null===(s=e.extension_attributes)||void 0===s?void 0:s.url_key)||""}:null},formatCartAddress:function(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:function(e){return 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:function(e){var o,t,i;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,A.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(i=e.extension_attributes)||void 0===i?void 0:i.is_subscribed)||!1}:null},formatCart:function(e){var o,t,i,l,n,a,r,s,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===(i=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatCartItem))||void 0===i?void 0:i.sort((function(e,o){return 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?A.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?A.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(l=e.currency)||void 0===l?void 0:l.global_currency_code)||"",baseCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.base_currency_code)||"",storeCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.store_currency_code)||"",quoteCurrencyCode:(null===(r=e.currency)||void 0===r?void 0:r.quote_currency_code)||"",storeToBaseRate:(null===(s=e.currency)||void 0===s?void 0:s.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,(function(e){var o,t,i;return{shipping:{address:e.shipping.address?A.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(i=(t=e.items).map)||void 0===i?void 0:i.call(t,A.formatCartItem))||[]}}))}:null},formatCartTotal:function(e){var o,t,i;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===(i=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(e){return{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:function(e){return e?null==e?void 0:e.map((function(e){return{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:function(e){var o;return e?{paymentMethods:A.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:A.formatCartTotal(e.totals)}:null},formatOrderConfirmation:function(e){return e?{isSuccess:e.is_success||!1,orderInfo:A.formatOrder(e.order_info)}:null},formatCoupons:function(e){var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((function(e){return{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:function(e){return e?e.map((function(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)||""}})):[]}},f=Object.freeze({__proto__:null,dataFormatter:A});exports.EcomTypes=i.types,exports.EcomApiTypes=n,exports.EcomConstants=g,exports.EcomDataFormatter=f,exports.EcomDataTypes=a;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-e3174389.js"),o=require("./theme-3acc5e43.js");require("./index-76fdb9f1.js");var t=require("./isProduction-99654c0f.js"),i=require("./types-8aa51412.js");require("./Locale-f251b942.js");var l,n=Object.freeze({__proto__:null}),a=Object.freeze({__proto__:null}),r="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,s="undefined"==typeof window,u=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",c=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",d=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,m=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",p={"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"},_=r?"http://localhost:3001":t.isProduction?"https://".concat(p[u]):"https://discover.".concat(p[u]),h=t.isProduction?"https://wp.".concat(p[u],"/"):"https://staging.".concat(p[u],"/"),E=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:"https://together.".concat(p[u],"/"),v="".concat(_,"/community"),I=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(l||(l={}));var T={"vi-VN":{HOME:function(){return 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:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),void 0===t&&(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:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),void 0===t&&(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:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),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".concat(e),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop".concat(e)}}]},{"@type":"BrandDetail",url:"https://hellobacsi.com/shop".concat(e),numberOfItems:o,itemListElement:null!=t?t:{}}]})},PRODUCT_DETAIL:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),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/".concat(e),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/san-pham/".concat(e)}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}}},g=Object.freeze({__proto__:null,isDevelopment:r,IS_SSR:s,locale:u,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:c,GOOGLE_ADMIN_LOCATION_KEY:d,GOOGLE_CLIENT_ID:m,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:p,DISCOVER_URL_FE:_,DISCOVER_URL_BE:h,TOGETHER_URL_BE:E,TOGETHER_URL_FE:v,SSO_URL:I,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 l},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:T});function O(e){return null!=e}var A={formatAutoCompleteAddress:function(e){return e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null},formatPrice:function(e,o){var t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:function(e){return{text:(null==e?void 0:e.name)||""}},formatHelpfulUrl:function(e){return{name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}},formatCategory:function(e,t,i){var l,n,a,r=i?i+"/"+e.slug:e.slug,s=(null===(n=null===(l=null==e?void 0:e.children)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,(function(o){return A.formatCategory(o,e.id,r)})))||[];return{id:null==e?void 0:e.id,name:(null==e?void 0:e.name)||"",logo:(null==e?void 0:e.logo)||"",slug:(null==e?void 0:e.slug)||"",fullSlug:r||"",children:s,backgroundColor:e.color||o.theme.colors.teal50,parentId:t||0,products:(null===(a=e.products)||void 0===a?void 0:a.map(A.formatProduct))||[]}},formatFooterInfo:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g=(null===(i=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===i?void 0:i.call(t,(function(e){return{flag:e.flag||"",name:e.name||"",url:e.url||""}})))||[],O=(null===(a=null===(n=null===(l=null==e?void 0:e.general)||void 0===l?void 0:l.verified)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(e){return{image:e.image||"",url:e.url||""}})))||[],A=(null===(s=null===(r=null==e?void 0:e.menu)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,(function(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,(function(e){return{title:e.title,url:e.url}}))}})))||[],f=(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,(function(e){return{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!==(I=null===(v=null==e?void 0:e.general)||void 0===v?void 0:v.copyright)&&void 0!==I?I:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:f}}},formatNavigation:function(e){var o,t,i,l,n,a;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,A.formatHotSearchKeyword))||[],helpfulUrls:(null===(l=null===(i=null==e?void 0:e.helpful_urls)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatHelpfulUrl))||[],categories:(null===(a=null===(n=null==e?void 0:e.categories)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(e){return A.formatCategory(e)})))||[],footer:A.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:function(e){return e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null},formatProduct:function(e){var o,t,i,l;if(!e)return null;var n={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&A.formatPriceInfo(e.price)||n,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,A.formatProductPromotion).filter(O))||[],categories:(null===(l=null===(i=e.categories)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,(function(e){return A.formatCategory(e)})).filter(O))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:function(e){return e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null},formatBlogPost:function(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:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:A.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,(function(e){return{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:function(e){return 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,i,l;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,A.formatBanner).filter(O))||[],bestsellerProducts:(null===(l=null===(i=e.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O))||[]}:null},formatHomePage:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,A.formatBrand).filter(O):[],hotDeals:e.hot_deals?null===(l=(i=e.hot_deals).map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O):[],newProducts:e.new_products?null===(a=(n=e.new_products).map)||void 0===a?void 0:a.call(n,A.formatProduct).filter(O):[],slideBanners:e.slide_banners?null===(s=(r=e.slide_banners).map)||void 0===s?void 0:s.call(r,A.formatBanner).filter(O):[],subBanners:e.sub_banners?null===(c=(u=e.sub_banners).map)||void 0===c?void 0:c.call(u,A.formatBanner).filter(O):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,A.formatBanner).filter(O):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,A.formatBlogPost).filter(O):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(function(e){return A.formatCategory(e)})).filter(O):[],suggestProducts:e.suggest_products?null===(I=(v=e.suggest_products).map)||void 0===I?void 0:I.call(v,(function(e){return A.formatCategory(e)})).filter(O):[],promotions:e.promotions?null===(g=(T=e.promotions).map)||void 0===g?void 0:g.call(T,(function(e){return A.formatPromotion(e)})).filter(O):[]}:null},formatCategoryPage:function(e){var o,t,i,l;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,A.formatBanner).filter(O))||[],bestsellerProducts:(null===(l=null===(i=e.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O))||[]}:null},formatBrandPage:function(e){return e?A.formatBrand(e):null},formatPagination:function(e){return 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(o){var t,i,l,n,a,r,s,u;return o?e.__assign(e.__assign({},A.formatProduct(o)),{relatedProducts:(null===(i=null===(t=o.related_products)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,A.formatProduct).filter(O))||[],bestsellerProducts:(null===(n=null===(l=o.bestseller_products)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,A.formatProduct).filter(O))||[],viewedProducts:(null===(r=null===(a=o.viewed_products)||void 0===a?void 0:a.map)||void 0===r?void 0:r.call(a,A.formatProduct).filter(O))||[],promotions:(null===(u=null===(s=o.promotions)||void 0===s?void 0:s.map)||void 0===u?void 0:u.call(s,A.formatPromotion).filter(O))||[]}):null},formatProductReview:function(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,(function(e){return{ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}})))||[],images:e.images||[]}:null},formatProductPromotion:function(e){return e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null},formatPromotion:function(e){return 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:function(e,o){var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((function(e){return e.attribute_code===o})))||void 0===t?void 0:t.value)||""},formatAddress:function(e){var o,t,i,l;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:A.formatCustomAttributes(e.custom_attributes,"district_id"),label:A.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:A.formatCustomAttributes(e.custom_attributes,"ward_id"),label:A.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(i=null==e?void 0:e.street)||void 0===i?void 0:i.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(l=null==e?void 0:e.extension_attributes)||void 0===l?void 0:l.full_address)||""}:null},formatProvince:function(e){return(null==e?void 0:e.available_regions)?e.available_regions.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatDistrict:function(e){return(null==e?void 0:e.districts)?e.districts.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatCommune:function(e){return(null==e?void 0:e.communes)?e.communes.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatOrder:function(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,(function(e){return{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:function(e){var o,t,i,l,n;return e?{pending:Number(null===(o=null==e?void 0:e.find((function(e){return"pending"===e.status})))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((function(e){return"processing"===e.status})))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(i=null==e?void 0:e.find((function(e){return"delivering"===e.status})))||void 0===i?void 0:i.amount)||0,complete:Number(null===(l=null==e?void 0:e.find((function(e){return"complete"===e.status})))||void 0===l?void 0:l.amount)||0,canceled:Number(null===(n=null==e?void 0:e.find((function(e){return"canceled"===e.status})))||void 0===n?void 0:n.amount)||0}:{}},formatCartItem:function(e){var o,t,i,l,n,a,r,s;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===(i=e.extension_attributes)||void 0===i?void 0:i.row_total)||0,promotions:(null===(a=null===(n=null===(l=e.extension_attributes)||void 0===l?void 0:l.promotions)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,A.formatProductPromotion))||[],isInStock:(null===(r=e.extension_attributes)||void 0===r?void 0:r.is_in_stock)||!1,urlProduct:(null===(s=e.extension_attributes)||void 0===s?void 0:s.url_key)||""}:null},formatCartAddress:function(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:function(e){return 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:function(e){var o,t,i;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,A.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(i=e.extension_attributes)||void 0===i?void 0:i.is_subscribed)||!1}:null},formatCart:function(e){var o,t,i,l,n,a,r,s,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===(i=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatCartItem))||void 0===i?void 0:i.sort((function(e,o){return 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?A.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?A.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(l=e.currency)||void 0===l?void 0:l.global_currency_code)||"",baseCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.base_currency_code)||"",storeCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.store_currency_code)||"",quoteCurrencyCode:(null===(r=e.currency)||void 0===r?void 0:r.quote_currency_code)||"",storeToBaseRate:(null===(s=e.currency)||void 0===s?void 0:s.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,(function(e){var o,t,i;return{shipping:{address:e.shipping.address?A.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(i=(t=e.items).map)||void 0===i?void 0:i.call(t,A.formatCartItem))||[]}}))}:null},formatCartTotal:function(e){var o,t,i;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===(i=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(e){return{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:function(e){return e?null==e?void 0:e.map((function(e){return{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:function(e){var o;return e?{paymentMethods:A.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:A.formatCartTotal(e.totals)}:null},formatOrderConfirmation:function(e){return e?{isSuccess:e.is_success||!1,orderInfo:A.formatOrder(e.order_info)}:null},formatCoupons:function(e){var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((function(e){return{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:function(e){return e?e.map((function(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)||""}})):[]}},f=Object.freeze({__proto__:null,dataFormatter:A});exports.EcomTypes=i.types,exports.EcomApiTypes=n,exports.EcomConstants=g,exports.EcomDataFormatter=f,exports.EcomDataTypes=a;
@@ -1 +1 @@
1
- import{b as n,c as e,_ as r}from"./tslib.es6-8eb69bc8.js";import t from"styled-components";import o from"react";import{M as i}from"./utils-38a19993.js";var a,d,s,h=t.div(a||(a=n(["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-is-amp='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: 20px;\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"],["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-is-amp='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: 20px;\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"]))),c=t.hr(d||(d=n(["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"],["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"])),(function(n){return n.theme.colors.neutral200}),(function(n){return n.dividerType})),l="xzO2I0N",p=function(n){var t,i=n.as,a=n.tag,d=n.className,s=n.children,h=n.title,c=n.color,p=n.style,u=n.fontWeight,g=n.dataEventCategory,x=n.dataEventAction,b=n.dataEventLabel,w=e(n,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]),m=i||a;return o.createElement(m,r({title:h,style:r(r({},c?(t={},t["--custom-heading-color"]=c,t):void 0),p),"data-tag":a,"data-font-weight":u||void 0,"data-event-category":g,"data-event-action":x,"data-event-label":b,className:"".concat(l," ").concat(d||"")},w),s)},u=t.div(s||(s=n(["\n display: flex;\n cursor: pointer;\n\n &[data-theme='marryBaby'] {\n input {\n width: 20px;\n height: 20px;\n border: 1.3px solid ",";\n border-radius: 9px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: 600;\n font-size: 12px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ",";\n }\n }\n input {\n width: 20px;\n height: 20px;\n border: solid 1px ",";\n border-radius: 2px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid\n ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n font-weight: ",";\n width: calc(100% - 24px);\n cursor: inherit;\n\n "," {\n font-size: 14px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 22px;\n }\n }\n\n &[data-is-rectangle] > input {\n position: relative;\n width: unset;\n height: unset;\n padding: 5px 12px;\n border: 1px solid ",";\n border-radius: 32px;\n\n &::after {\n color: ",";\n content: attr(data-label-text);\n font-size: 13px;\n }\n &:checked {\n border-color: ",";\n &::after {\n color: ",";\n }\n }\n &:checked {\n background: ",";\n }\n }\n\n &[data-disabled] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n"],["\n display: flex;\n cursor: pointer;\n\n &[data-theme='marryBaby'] {\n input {\n width: 20px;\n height: 20px;\n border: 1.3px solid ",";\n border-radius: 9px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: 600;\n font-size: 12px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ",";\n }\n }\n input {\n width: 20px;\n height: 20px;\n border: solid 1px ",";\n border-radius: 2px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid\n ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n font-weight: ",";\n width: calc(100% - 24px);\n cursor: inherit;\n\n "," {\n font-size: 14px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 22px;\n }\n }\n\n &[data-is-rectangle] > input {\n position: relative;\n width: unset;\n height: unset;\n padding: 5px 12px;\n border: 1px solid ",";\n border-radius: 32px;\n\n &::after {\n color: ",";\n content: attr(data-label-text);\n font-size: 13px;\n }\n &:checked {\n border-color: ",";\n &::after {\n color: ",";\n }\n }\n &:checked {\n background: ",";\n }\n }\n\n &[data-disabled] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n"])),(function(n){return n.theme.mbColors.midGray}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.gray}),(function(n){return n.theme.colors.gray500}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwRegular}),i.mbDown,i.mbUp,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300})),g=function(n){var t=n.size,i=n.color,a=n.isExpand,d=e(n,["size","color","isExpand"]);return a?o.createElement("svg",r({width:t,height:t,viewBox:"0 0 16 16",fill:i,xmlns:"http://www.w3.org/2000/svg"},d),o.createElement("path",{d:"M14.6625 0.500362C14.446 0.506813 14.2405 0.597296 14.0895 0.752641L10.7578 4.08435L9.69176 3.01664C9.37926 2.70414 8.84541 2.92491 8.84541 3.36657V6.67875C8.84541 6.95291 9.06687 7.17517 9.3402 7.17517H12.6524C13.094 7.17517 13.3148 6.64131 13.0023 6.32881L11.9362 5.26273L15.2679 1.93103C15.3884 1.81397 15.4706 1.66327 15.5039 1.49867C15.5372 1.33407 15.52 1.16325 15.4545 1.0086C15.3891 0.853944 15.2784 0.72267 15.1371 0.631979C14.9958 0.541288 14.8303 0.495412 14.6625 0.500362Z"}),o.createElement("path",{d:"M3.37015 8.84183C2.92848 8.84183 2.70771 9.37569 3.02021 9.68819L4.08792 10.7543L0.756214 14.086C0.676237 14.1628 0.612384 14.2547 0.568397 14.3565C0.524409 14.4583 0.501171 14.5678 0.500043 14.6787C0.498915 14.7895 0.51992 14.8995 0.561828 15.0022C0.603735 15.1048 0.665703 15.1981 0.744102 15.2765C0.822501 15.3549 0.915755 15.4168 1.0184 15.4587C1.12105 15.5007 1.23103 15.5217 1.3419 15.5205C1.45276 15.5194 1.56229 15.4962 1.66406 15.4522C1.76584 15.4082 1.85781 15.3443 1.9346 15.2644L5.26631 11.9327L6.33239 12.9987C6.64489 13.3112 7.17874 13.0905 7.17874 12.6488V9.33663C7.17874 9.06329 6.95649 8.84183 6.68232 8.84183H3.37015Z"})):o.createElement("svg",r({width:t,height:t,viewBox:"0 0 14 14",fill:i,xmlns:"http://www.w3.org/2000/svg"},d),o.createElement("path",{d:"M9.64991 0.333008C9.18412 0.333008 8.9513 0.896013 9.28086 1.22558L10.4052 2.35159L2.35171 10.405L1.2257 9.28074C0.896135 8.95118 0.33313 9.184 0.33313 9.64979V13.1428C0.33313 13.432 0.566681 13.6663 0.854939 13.6663H4.34969C4.81547 13.6663 5.04829 13.1033 4.71873 12.7738L3.59444 11.6478L11.6479 3.59432L12.7739 4.71861C13.1035 5.04817 13.6665 4.81535 13.6665 4.34957V0.854817C13.6665 0.566559 13.4321 0.333008 13.1429 0.333008H9.64991Z"}))};g.defaultProps={size:24,color:"inherit",isExpand:!1};export{g as F,p as H,h as S,c as a,u as b};
1
+ import{b as n,c as e,_ as r}from"./tslib.es6-982d9c6a.js";import t from"styled-components";import o from"react";import{M as i}from"./utils-73ec5936.js";var a,d,s,h=t.div(a||(a=n(["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-is-amp='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: 20px;\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"],["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-is-amp='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: 20px;\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"]))),c=t.hr(d||(d=n(["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"],["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"])),(function(n){return n.theme.colors.neutral200}),(function(n){return n.dividerType})),l="xzO2I0N",p=function(n){var t,i=n.as,a=n.tag,d=n.className,s=n.children,h=n.title,c=n.color,p=n.style,u=n.fontWeight,g=n.dataEventCategory,x=n.dataEventAction,b=n.dataEventLabel,w=e(n,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]),m=i||a;return o.createElement(m,r({title:h,style:r(r({},c?(t={},t["--custom-heading-color"]=c,t):void 0),p),"data-tag":a,"data-font-weight":u||void 0,"data-event-category":g,"data-event-action":x,"data-event-label":b,className:"".concat(l," ").concat(d||"")},w),s)},u=t.div(s||(s=n(["\n display: flex;\n cursor: pointer;\n\n &[data-theme='marryBaby'] {\n input {\n width: 20px;\n height: 20px;\n border: 1.3px solid ",";\n border-radius: 9px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: 600;\n font-size: 12px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ",";\n }\n }\n input {\n width: 20px;\n height: 20px;\n border: solid 1px ",";\n border-radius: 2px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid\n ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n font-weight: ",";\n width: calc(100% - 24px);\n cursor: inherit;\n\n "," {\n font-size: 14px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 22px;\n }\n }\n\n &[data-is-rectangle] > input {\n position: relative;\n width: unset;\n height: unset;\n padding: 5px 12px;\n border: 1px solid ",";\n border-radius: 32px;\n\n &::after {\n color: ",";\n content: attr(data-label-text);\n font-size: 13px;\n }\n &:checked {\n border-color: ",";\n &::after {\n color: ",";\n }\n }\n &:checked {\n background: ",";\n }\n }\n\n &[data-disabled] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n"],["\n display: flex;\n cursor: pointer;\n\n &[data-theme='marryBaby'] {\n input {\n width: 20px;\n height: 20px;\n border: 1.3px solid ",";\n border-radius: 9px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: 600;\n font-size: 12px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ",";\n }\n }\n input {\n width: 20px;\n height: 20px;\n border: solid 1px ",";\n border-radius: 2px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid\n ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n font-weight: ",";\n width: calc(100% - 24px);\n cursor: inherit;\n\n "," {\n font-size: 14px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 22px;\n }\n }\n\n &[data-is-rectangle] > input {\n position: relative;\n width: unset;\n height: unset;\n padding: 5px 12px;\n border: 1px solid ",";\n border-radius: 32px;\n\n &::after {\n color: ",";\n content: attr(data-label-text);\n font-size: 13px;\n }\n &:checked {\n border-color: ",";\n &::after {\n color: ",";\n }\n }\n &:checked {\n background: ",";\n }\n }\n\n &[data-disabled] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n"])),(function(n){return n.theme.mbColors.midGray}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.gray}),(function(n){return n.theme.colors.gray500}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwRegular}),i.mbDown,i.mbUp,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300})),g=function(n){var t=n.size,i=n.color,a=n.isExpand,d=e(n,["size","color","isExpand"]);return a?o.createElement("svg",r({width:t,height:t,viewBox:"0 0 16 16",fill:i,xmlns:"http://www.w3.org/2000/svg"},d),o.createElement("path",{d:"M14.6625 0.500362C14.446 0.506813 14.2405 0.597296 14.0895 0.752641L10.7578 4.08435L9.69176 3.01664C9.37926 2.70414 8.84541 2.92491 8.84541 3.36657V6.67875C8.84541 6.95291 9.06687 7.17517 9.3402 7.17517H12.6524C13.094 7.17517 13.3148 6.64131 13.0023 6.32881L11.9362 5.26273L15.2679 1.93103C15.3884 1.81397 15.4706 1.66327 15.5039 1.49867C15.5372 1.33407 15.52 1.16325 15.4545 1.0086C15.3891 0.853944 15.2784 0.72267 15.1371 0.631979C14.9958 0.541288 14.8303 0.495412 14.6625 0.500362Z"}),o.createElement("path",{d:"M3.37015 8.84183C2.92848 8.84183 2.70771 9.37569 3.02021 9.68819L4.08792 10.7543L0.756214 14.086C0.676237 14.1628 0.612384 14.2547 0.568397 14.3565C0.524409 14.4583 0.501171 14.5678 0.500043 14.6787C0.498915 14.7895 0.51992 14.8995 0.561828 15.0022C0.603735 15.1048 0.665703 15.1981 0.744102 15.2765C0.822501 15.3549 0.915755 15.4168 1.0184 15.4587C1.12105 15.5007 1.23103 15.5217 1.3419 15.5205C1.45276 15.5194 1.56229 15.4962 1.66406 15.4522C1.76584 15.4082 1.85781 15.3443 1.9346 15.2644L5.26631 11.9327L6.33239 12.9987C6.64489 13.3112 7.17874 13.0905 7.17874 12.6488V9.33663C7.17874 9.06329 6.95649 8.84183 6.68232 8.84183H3.37015Z"})):o.createElement("svg",r({width:t,height:t,viewBox:"0 0 14 14",fill:i,xmlns:"http://www.w3.org/2000/svg"},d),o.createElement("path",{d:"M9.64991 0.333008C9.18412 0.333008 8.9513 0.896013 9.28086 1.22558L10.4052 2.35159L2.35171 10.405L1.2257 9.28074C0.896135 8.95118 0.33313 9.184 0.33313 9.64979V13.1428C0.33313 13.432 0.566681 13.6663 0.854939 13.6663H4.34969C4.81547 13.6663 5.04829 13.1033 4.71873 12.7738L3.59444 11.6478L11.6479 3.59432L12.7739 4.71861C13.1035 5.04817 13.6665 4.81535 13.6665 4.34957V0.854817C13.6665 0.566559 13.4321 0.333008 13.1429 0.333008H9.64991Z"}))};g.defaultProps={size:24,color:"inherit",isExpand:!1};export{g as F,p as H,h as S,c as a,u as b};