@hhgtech/hhg-components 1.23.5 → 1.23.7

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 (275) hide show
  1. package/build/{Vietnam-e10c8f9d.js → Vietnam-07623325.js} +1 -1
  2. package/build/babyGrowth.js +1 -1
  3. package/build/cache.js +1 -1
  4. package/build/care.js +1 -1
  5. package/build/components/atoms/checkbox/index.d.ts +3 -1
  6. package/build/components/atoms/dropdownMB/index.d.ts +2 -0
  7. package/build/components/atoms/dropdownMB/index.styled.d.ts +2 -0
  8. package/build/components/atoms/inputMB/index.d.ts +2 -0
  9. package/build/components/atoms/inputMB/index.styled.d.ts +3 -0
  10. package/build/components/atoms/slider/index.d.ts +3 -1
  11. package/build/components/atoms/slider/index.styled.d.ts +1 -0
  12. package/build/components/molecules/babyGrowthForm/index.d.ts +3 -2
  13. package/build/components/molecules/dueDateCalculator/dueDateFormConception.d.ts +3 -2
  14. package/build/components/molecules/dueDateCalculator/dueDateFormIVF.d.ts +3 -2
  15. package/build/components/molecules/dueDateCalculator/dueDateFormLastPeriod.d.ts +3 -2
  16. package/build/components/molecules/dueDateCalculator/index.d.ts +3 -2
  17. package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.d.ts +5 -5
  18. package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +3 -2
  19. package/build/components/molecules/embeddedHeathToolCards/due-date/dueDate.d.ts +5 -4
  20. package/build/components/molecules/embeddedHeathToolCards/ovulation/ovulation.d.ts +4 -2
  21. package/build/components/molecules/embeddedHeathToolCards/pwg/pwg.d.ts +4 -3
  22. package/build/components/molecules/index.d.ts +1 -1
  23. package/build/components/molecules/ovulationCalculator/index.d.ts +3 -2
  24. package/build/components/molecules/ovulationCalculator/ovulationForm.d.ts +3 -2
  25. package/build/components/molecules/toolBannerCard/index.d.ts +5 -1
  26. package/build/components/molecules/toolBannerCard/index.styled.d.ts +6 -0
  27. package/build/components/molecules/weightGainForm/index.d.ts +3 -1
  28. package/build/components.js +1 -1
  29. package/build/constants.js +1 -1
  30. package/build/core-dd75c6d6.js +1 -0
  31. package/build/{defaultClassWrapper-f2f52d24.js → defaultClassWrapper-3879864e.js} +1 -1
  32. package/build/ecom.js +1 -1
  33. package/build/esm/{Vietnam-551a40c2.js → Vietnam-32eebd3a.js} +1 -1
  34. package/build/esm/babyGrowth.js +1 -1
  35. package/build/esm/cache.js +1 -1
  36. package/build/esm/care.js +1 -1
  37. package/build/esm/components.js +1 -1
  38. package/build/esm/constants.js +1 -1
  39. package/build/esm/{core-1e9a3c50.js → core-b8f36c89.js} +1 -1
  40. package/build/esm/defaultClassWrapper-3286ca52.js +1 -0
  41. package/build/esm/ecom.js +1 -1
  42. package/build/esm/footer.js +1 -1
  43. package/build/esm/gAssets.js +1 -1
  44. package/build/esm/{getDynamicHealthTool-9d04a869.js → getDynamicHealthTool-f5bdff4a.js} +1 -1
  45. package/build/esm/{getSocialList-a00682b6.js → getSocialList-a99be2a3.js} +1 -1
  46. package/build/esm/hooks.js +1 -1
  47. package/build/esm/i18n.js +1 -1
  48. package/build/esm/index-06b5fd41.js +1 -0
  49. package/build/esm/{index-fe7676fc.js → index-2795f733.js} +1 -1
  50. package/build/esm/index-4a21f924.js +1 -0
  51. package/build/esm/{index-d9e56cc6.js → index-4d1b7942.js} +1 -1
  52. package/build/esm/{index-d5c0da09.js → index-52a95a39.js} +1 -1
  53. package/build/esm/{index-7ab26d1a.js → index-58ca6c66.js} +1 -1
  54. package/build/esm/{index-71a1730f.js → index-63b272c4.js} +1 -1
  55. package/build/esm/index-91f1f8d0.js +1 -0
  56. package/build/esm/index-9491d3b6.js +1 -0
  57. package/build/esm/{index-577a93be.js → index-9caef072.js} +1 -1
  58. package/build/esm/index-a2327ce7.js +1 -0
  59. package/build/esm/{index-a6432e68.js → index-b1598b66.js} +1 -1
  60. package/build/esm/{index-347d2993.js → index-bbae0dde.js} +1 -1
  61. package/build/esm/index-c1932bc4.js +1 -0
  62. package/build/esm/index-ccf1514d.js +1 -0
  63. package/build/esm/{index.styled-717f6f42.js → index-da857c6e.js} +1 -1
  64. package/build/esm/index-eda90f30.js +1 -0
  65. package/build/esm/index.css +1 -1
  66. package/build/esm/index.js +1 -1
  67. package/build/esm/index.styled-04d13165.js +1 -0
  68. package/build/esm/{index.styled-25c1ad9f.js → index.styled-6fbeeb9a.js} +1 -1
  69. package/build/esm/index.styled-8754e988.js +1 -0
  70. package/build/esm/lead.js +1 -1
  71. package/build/esm/mantine.js +1 -1
  72. package/build/esm/misc.js +1 -1
  73. package/build/esm/navigation.js +1 -1
  74. package/build/esm/pwg.js +1 -1
  75. package/build/esm/routing-15e2f947.js +1 -0
  76. package/build/esm/{screenSizeContext-128cb9b5.js → screenSizeContext-0cbef62b.js} +1 -1
  77. package/build/esm/together.js +1 -1
  78. package/build/esm/{translationsProvider-74008e8d.js → translationsProvider-d9612d8b.js} +1 -1
  79. package/build/esm/{types-931f1a80.js → types-40e09b8c.js} +1 -1
  80. package/build/esm/{types-8b7fafe9.js → types-a2316d99.js} +1 -1
  81. package/build/esm/types.js +1 -1
  82. package/build/esm/{useFbDataLayer-b7a59f9d.js → useFbDataLayer-8c89d3ab.js} +1 -1
  83. package/build/esm/useHealthToolCache-b0a93fee.js +1 -0
  84. package/build/esm/{useTranslations-b7cec483.js → useTranslations-21f2af45.js} +1 -1
  85. package/build/footer.js +1 -1
  86. package/build/gAssets.js +1 -1
  87. package/build/{getDynamicHealthTool-9bc6a944.js → getDynamicHealthTool-5b8082ed.js} +1 -1
  88. package/build/{getSocialList-e806ab50.js → getSocialList-e2cd242e.js} +1 -1
  89. package/build/hooks.js +1 -1
  90. package/build/i18n.js +1 -1
  91. package/build/index-0239ba07.js +1 -0
  92. package/build/{index-9cc4b337.js → index-0510094e.js} +1 -1
  93. package/build/{index-7e8bdced.js → index-263851f6.js} +1 -1
  94. package/build/index-40b58a52.js +1 -0
  95. package/build/index-4a89e81e.js +1 -0
  96. package/build/{index-95e0f23c.js → index-5995b565.js} +1 -1
  97. package/build/{index.styled-155aac12.js → index-65cebc73.js} +1 -1
  98. package/build/{index-4451f611.js → index-6ab36aab.js} +1 -1
  99. package/build/index-7901beba.js +1 -0
  100. package/build/{index-913cfd38.js → index-7ab957b8.js} +1 -1
  101. package/build/{index-bd6b9048.js → index-8007a4d7.js} +1 -1
  102. package/build/{index-d4b2e031.js → index-80b3a0c1.js} +1 -1
  103. package/build/{index-d04325ee.js → index-90f30760.js} +1 -1
  104. package/build/index-922c4b60.js +1 -0
  105. package/build/{index-758bb875.js → index-9b2c60f2.js} +1 -1
  106. package/build/{index-b6749e7d.js → index-d5f939a1.js} +1 -1
  107. package/build/{index-e588be8d.js → index-fbdfa89c.js} +1 -1
  108. package/build/index.css +1 -1
  109. package/build/index.js +1 -1
  110. package/build/index.styled-1f5f6b92.js +1 -0
  111. package/build/{index.styled-d809a6b6.js → index.styled-637e0461.js} +1 -1
  112. package/build/index.styled-e50ce21b.js +1 -0
  113. package/build/lead.js +1 -1
  114. package/build/mantine.js +1 -1
  115. package/build/misc.js +1 -1
  116. package/build/navigation.js +1 -1
  117. package/build/pwg.js +1 -1
  118. package/build/{routing-60f8886e.js → routing-636ee1bd.js} +1 -1
  119. package/build/{screenSizeContext-d7698d06.js → screenSizeContext-ea1a3317.js} +1 -1
  120. package/build/together/interfaces/types.d.ts +22 -5
  121. package/build/together.js +1 -1
  122. package/build/{translationsProvider-ce1d083d.js → translationsProvider-d79480b0.js} +1 -1
  123. package/build/{types-da818d2b.js → types-d9ba9d95.js} +1 -1
  124. package/build/{types-24f41f97.js → types-e2882a12.js} +1 -1
  125. package/build/types.js +1 -1
  126. package/build/{useFbDataLayer-2d695a6d.js → useFbDataLayer-330c52e9.js} +1 -1
  127. package/build/useHealthToolCache-66f60767.js +1 -0
  128. package/build/{useTranslations-8a294193.js → useTranslations-c8de4de4.js} +1 -1
  129. package/package.json +1 -1
  130. package/build/core-fe7375e0.js +0 -1
  131. package/build/esm/defaultClassWrapper-0630958a.js +0 -1
  132. package/build/esm/index-0e74255f.js +0 -1
  133. package/build/esm/index-2dcd84f3.js +0 -1
  134. package/build/esm/index-5672c821.js +0 -1
  135. package/build/esm/index-6765e6d8.js +0 -1
  136. package/build/esm/index-6f4b4cb9.js +0 -1
  137. package/build/esm/index-7f256eec.js +0 -1
  138. package/build/esm/index-add24f2c.js +0 -1
  139. package/build/esm/index-dca3f4ff.js +0 -1
  140. package/build/esm/index.styled-9d717f18.js +0 -1
  141. package/build/esm/index.styled-c54d2b0f.js +0 -1
  142. package/build/esm/routing-d2572b89.js +0 -1
  143. package/build/esm/useHealthToolCache-31e2f496.js +0 -1
  144. package/build/index-08f8a232.js +0 -1
  145. package/build/index-19fccdea.js +0 -1
  146. package/build/index-32fb8db3.js +0 -1
  147. package/build/index-ca2a885c.js +0 -1
  148. package/build/index-fe6da506.js +0 -1
  149. package/build/index.styled-88b1c25a.js +0 -1
  150. package/build/index.styled-bb1fc7d4.js +0 -1
  151. package/build/useHealthToolCache-f315cda3.js +0 -1
  152. /package/build/{BMI_BOYS.percentile.monthly-2ba44fba.js → BMI_BOYS.percentile.monthly-65998c77.js} +0 -0
  153. /package/build/{BMI_BOYS.percentile.weekly-bd4c16b5.js → BMI_BOYS.percentile.weekly-43bd8016.js} +0 -0
  154. /package/build/{BMI_BOYS.percentile.yearly-30990239.js → BMI_BOYS.percentile.yearly-b129cd77.js} +0 -0
  155. /package/build/{BMI_BOYS.zscore.monthly-a8318e88.js → BMI_BOYS.zscore.monthly-0f690212.js} +0 -0
  156. /package/build/{BMI_BOYS.zscore.weekly-75fa3b68.js → BMI_BOYS.zscore.weekly-c52d106a.js} +0 -0
  157. /package/build/{BMI_BOYS.zscore.yearly-6716cdd0.js → BMI_BOYS.zscore.yearly-8cc2846a.js} +0 -0
  158. /package/build/{BMI_GIRLS.percentile.monthly-66d7be6a.js → BMI_GIRLS.percentile.monthly-01c60c5f.js} +0 -0
  159. /package/build/{BMI_GIRLS.percentile.weekly-faba9d22.js → BMI_GIRLS.percentile.weekly-a157b388.js} +0 -0
  160. /package/build/{BMI_GIRLS.percentile.yearly-e031d6e5.js → BMI_GIRLS.percentile.yearly-a4ce4b46.js} +0 -0
  161. /package/build/{BMI_GIRLS.zscore.monthly-3b489016.js → BMI_GIRLS.zscore.monthly-91887ccf.js} +0 -0
  162. /package/build/{BMI_GIRLS.zscore.weekly-3f245776.js → BMI_GIRLS.zscore.weekly-5a90238f.js} +0 -0
  163. /package/build/{BMI_GIRLS.zscore.yearly-2bc3fea8.js → BMI_GIRLS.zscore.yearly-cc3d672e.js} +0 -0
  164. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-2e8540b4.js → HEAD CIRCUM_BOYS.percentile.monthly-02c981b1.js} +0 -0
  165. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-df66e7d5.js → HEAD CIRCUM_BOYS.percentile.weekly-ca9dce8a.js} +0 -0
  166. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-e7777e6b.js → HEAD CIRCUM_BOYS.percentile.yearly-35a2e76a.js} +0 -0
  167. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-1b6f18fc.js → HEAD CIRCUM_BOYS.zscore.monthly-8c7783d1.js} +0 -0
  168. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-ac3388c2.js → HEAD CIRCUM_BOYS.zscore.weekly-9ae8f117.js} +0 -0
  169. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-1efcb49d.js → HEAD CIRCUM_BOYS.zscore.yearly-6038514b.js} +0 -0
  170. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-ef44c36f.js → HEAD CIRCUM_GIRLS.percentile.monthly-9f40d8a8.js} +0 -0
  171. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-9a360074.js → HEAD CIRCUM_GIRLS.percentile.weekly-f974da0a.js} +0 -0
  172. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-2d40cc57.js → HEAD CIRCUM_GIRLS.percentile.yearly-5aec0390.js} +0 -0
  173. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-26cc102a.js → HEAD CIRCUM_GIRLS.zscore.monthly-a2c139f2.js} +0 -0
  174. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-387a6255.js → HEAD CIRCUM_GIRLS.zscore.weekly-97e9b974.js} +0 -0
  175. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-f3f44185.js → HEAD CIRCUM_GIRLS.zscore.yearly-de2da46e.js} +0 -0
  176. /package/build/{HEIGHT_BOYS.percentile.monthly-19bea6da.js → HEIGHT_BOYS.percentile.monthly-2faeb98d.js} +0 -0
  177. /package/build/{HEIGHT_BOYS.percentile.weekly-faf28a30.js → HEIGHT_BOYS.percentile.weekly-a0f54171.js} +0 -0
  178. /package/build/{HEIGHT_BOYS.percentile.yearly-86ee375e.js → HEIGHT_BOYS.percentile.yearly-936a4c9c.js} +0 -0
  179. /package/build/{HEIGHT_BOYS.zscore.monthly-3ab1fded.js → HEIGHT_BOYS.zscore.monthly-2ac7992b.js} +0 -0
  180. /package/build/{HEIGHT_BOYS.zscore.weekly-1178ab44.js → HEIGHT_BOYS.zscore.weekly-2500c4f3.js} +0 -0
  181. /package/build/{HEIGHT_BOYS.zscore.yearly-61fa73f9.js → HEIGHT_BOYS.zscore.yearly-aeb4b31e.js} +0 -0
  182. /package/build/{HEIGHT_GIRLS.percentile.monthly-6678e3ea.js → HEIGHT_GIRLS.percentile.monthly-837a90ba.js} +0 -0
  183. /package/build/{HEIGHT_GIRLS.percentile.weekly-2d4ad9d6.js → HEIGHT_GIRLS.percentile.weekly-12ce5e11.js} +0 -0
  184. /package/build/{HEIGHT_GIRLS.percentile.yearly-2338850b.js → HEIGHT_GIRLS.percentile.yearly-b221f789.js} +0 -0
  185. /package/build/{HEIGHT_GIRLS.zscore.monthly-a007fc36.js → HEIGHT_GIRLS.zscore.monthly-458bf519.js} +0 -0
  186. /package/build/{HEIGHT_GIRLS.zscore.weekly-559edb09.js → HEIGHT_GIRLS.zscore.weekly-234f57ef.js} +0 -0
  187. /package/build/{HEIGHT_GIRLS.zscore.yearly-c6a5e080.js → HEIGHT_GIRLS.zscore.yearly-f9df1777.js} +0 -0
  188. /package/build/{Locale-318d0bf6.js → Locale-49f6a4d1.js} +0 -0
  189. /package/build/{WEIGHT_BOYS.percentile.monthly-54381783.js → WEIGHT_BOYS.percentile.monthly-29c6120e.js} +0 -0
  190. /package/build/{WEIGHT_BOYS.percentile.weekly-82c136a1.js → WEIGHT_BOYS.percentile.weekly-51688ebc.js} +0 -0
  191. /package/build/{WEIGHT_BOYS.percentile.yearly-bbf14b1b.js → WEIGHT_BOYS.percentile.yearly-af8948aa.js} +0 -0
  192. /package/build/{WEIGHT_BOYS.zscore.monthly-a0da588b.js → WEIGHT_BOYS.zscore.monthly-28522835.js} +0 -0
  193. /package/build/{WEIGHT_BOYS.zscore.weekly-f5223a5d.js → WEIGHT_BOYS.zscore.weekly-3c0c7e57.js} +0 -0
  194. /package/build/{WEIGHT_BOYS.zscore.yearly-c34abe8d.js → WEIGHT_BOYS.zscore.yearly-f91363c8.js} +0 -0
  195. /package/build/{WEIGHT_GIRLS.percentile.monthly-b1adf205.js → WEIGHT_GIRLS.percentile.monthly-893f75ff.js} +0 -0
  196. /package/build/{WEIGHT_GIRLS.percentile.weekly-4e106976.js → WEIGHT_GIRLS.percentile.weekly-12b586a6.js} +0 -0
  197. /package/build/{WEIGHT_GIRLS.percentile.yearly-b89fe39c.js → WEIGHT_GIRLS.percentile.yearly-2932d32a.js} +0 -0
  198. /package/build/{WEIGHT_GIRLS.zscore.monthly-88d7b519.js → WEIGHT_GIRLS.zscore.monthly-eb2d1350.js} +0 -0
  199. /package/build/{WEIGHT_GIRLS.zscore.weekly-b1530c56.js → WEIGHT_GIRLS.zscore.weekly-1b7e6a79.js} +0 -0
  200. /package/build/{WEIGHT_GIRLS.zscore.yearly-af3afdf4.js → WEIGHT_GIRLS.zscore.yearly-eb1f4da5.js} +0 -0
  201. /package/build/{constants-0bdafe8a.js → constants-2028abe9.js} +0 -0
  202. /package/build/{cookieHelper-cb2b47a5.js → cookieHelper-d8345589.js} +0 -0
  203. /package/build/{dataTransform-63eed7b7.js → dataTransform-f380ef6c.js} +0 -0
  204. /package/build/esm/{BMI_BOYS.percentile.monthly-7707e31f.js → BMI_BOYS.percentile.monthly-56c2b938.js} +0 -0
  205. /package/build/esm/{BMI_BOYS.percentile.weekly-e032a4f5.js → BMI_BOYS.percentile.weekly-c87f53e1.js} +0 -0
  206. /package/build/esm/{BMI_BOYS.percentile.yearly-d3c73e1c.js → BMI_BOYS.percentile.yearly-849ff502.js} +0 -0
  207. /package/build/esm/{BMI_BOYS.zscore.monthly-1e2515b1.js → BMI_BOYS.zscore.monthly-bb50223d.js} +0 -0
  208. /package/build/esm/{BMI_BOYS.zscore.weekly-dc5fc572.js → BMI_BOYS.zscore.weekly-2ceccfdd.js} +0 -0
  209. /package/build/esm/{BMI_BOYS.zscore.yearly-f294c3dc.js → BMI_BOYS.zscore.yearly-1618ce98.js} +0 -0
  210. /package/build/esm/{BMI_GIRLS.percentile.monthly-0aed225e.js → BMI_GIRLS.percentile.monthly-2d6eb33e.js} +0 -0
  211. /package/build/esm/{BMI_GIRLS.percentile.weekly-e50dd73c.js → BMI_GIRLS.percentile.weekly-d0d16ceb.js} +0 -0
  212. /package/build/esm/{BMI_GIRLS.percentile.yearly-2f39f68d.js → BMI_GIRLS.percentile.yearly-5c1bc717.js} +0 -0
  213. /package/build/esm/{BMI_GIRLS.zscore.monthly-e7297f68.js → BMI_GIRLS.zscore.monthly-ed8b593f.js} +0 -0
  214. /package/build/esm/{BMI_GIRLS.zscore.weekly-76c1a64b.js → BMI_GIRLS.zscore.weekly-8cfacfea.js} +0 -0
  215. /package/build/esm/{BMI_GIRLS.zscore.yearly-a41fbcd5.js → BMI_GIRLS.zscore.yearly-948c6c96.js} +0 -0
  216. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-8a9d9b02.js → HEAD CIRCUM_BOYS.percentile.monthly-dc5483ce.js} +0 -0
  217. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-2f36ad28.js → HEAD CIRCUM_BOYS.percentile.weekly-145693d8.js} +0 -0
  218. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-1b42a5b4.js → HEAD CIRCUM_BOYS.percentile.yearly-e9192a39.js} +0 -0
  219. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-290cd640.js → HEAD CIRCUM_BOYS.zscore.monthly-4f30c7be.js} +0 -0
  220. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a431caa6.js → HEAD CIRCUM_BOYS.zscore.weekly-5c9f0b75.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-7dbc6139.js → HEAD CIRCUM_BOYS.zscore.yearly-ad7fd0ab.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-9013888b.js → HEAD CIRCUM_GIRLS.percentile.monthly-8c9239de.js} +0 -0
  223. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-8bf8e5ba.js → HEAD CIRCUM_GIRLS.percentile.weekly-dee5f9f8.js} +0 -0
  224. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-e1c7857a.js → HEAD CIRCUM_GIRLS.percentile.yearly-d30801ae.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-9880a3e7.js → HEAD CIRCUM_GIRLS.zscore.monthly-113b6534.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-f1404a08.js → HEAD CIRCUM_GIRLS.zscore.weekly-9480911e.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-96b1894b.js → HEAD CIRCUM_GIRLS.zscore.yearly-d8a14d35.js} +0 -0
  228. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-740e273a.js → HEIGHT_BOYS.percentile.monthly-e5dd2a57.js} +0 -0
  229. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-aadd9551.js → HEIGHT_BOYS.percentile.weekly-1e38835c.js} +0 -0
  230. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-47af2945.js → HEIGHT_BOYS.percentile.yearly-ce849b03.js} +0 -0
  231. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-345d18e3.js → HEIGHT_BOYS.zscore.monthly-a51fa03b.js} +0 -0
  232. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-fe0e01ad.js → HEIGHT_BOYS.zscore.weekly-a75fa09a.js} +0 -0
  233. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-467ffd5d.js → HEIGHT_BOYS.zscore.yearly-1c1179cb.js} +0 -0
  234. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-de9cc27b.js → HEIGHT_GIRLS.percentile.monthly-0cfd86ed.js} +0 -0
  235. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-ee7e2a79.js → HEIGHT_GIRLS.percentile.weekly-ab66fb73.js} +0 -0
  236. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-bb90de35.js → HEIGHT_GIRLS.percentile.yearly-88879d63.js} +0 -0
  237. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-cc451047.js → HEIGHT_GIRLS.zscore.monthly-1c6d1af6.js} +0 -0
  238. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-c0117688.js → HEIGHT_GIRLS.zscore.weekly-dc758bcb.js} +0 -0
  239. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-7f532d5f.js → HEIGHT_GIRLS.zscore.yearly-f7c96966.js} +0 -0
  240. /package/build/esm/{Locale-58861308.js → Locale-f8f0a24a.js} +0 -0
  241. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-8a1526eb.js → WEIGHT_BOYS.percentile.monthly-b393553d.js} +0 -0
  242. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-478c0a68.js → WEIGHT_BOYS.percentile.weekly-39f53730.js} +0 -0
  243. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-c819b375.js → WEIGHT_BOYS.percentile.yearly-0dedf756.js} +0 -0
  244. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-4d5e2a93.js → WEIGHT_BOYS.zscore.monthly-cfbc5295.js} +0 -0
  245. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-31e93a2c.js → WEIGHT_BOYS.zscore.weekly-2e9c6098.js} +0 -0
  246. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-fa977a25.js → WEIGHT_BOYS.zscore.yearly-2329c17f.js} +0 -0
  247. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-01aebfc4.js → WEIGHT_GIRLS.percentile.monthly-c437ded4.js} +0 -0
  248. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-a20e43db.js → WEIGHT_GIRLS.percentile.weekly-b600877b.js} +0 -0
  249. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-9c37d201.js → WEIGHT_GIRLS.percentile.yearly-61a9d5b7.js} +0 -0
  250. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-8599369c.js → WEIGHT_GIRLS.zscore.monthly-c589d1ba.js} +0 -0
  251. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-0342878c.js → WEIGHT_GIRLS.zscore.weekly-6a2ba64d.js} +0 -0
  252. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-179c048b.js → WEIGHT_GIRLS.zscore.yearly-2ca94d13.js} +0 -0
  253. /package/build/esm/{constants-93d278de.js → constants-b59e5636.js} +0 -0
  254. /package/build/esm/{cookieHelper-f38db6f3.js → cookieHelper-3927fbdb.js} +0 -0
  255. /package/build/esm/{dataTransform-64a2226c.js → dataTransform-e84200db.js} +0 -0
  256. /package/build/esm/{isProduction-98ef8257.js → isProduction-ee4563aa.js} +0 -0
  257. /package/build/esm/{lazyLoad-98bbf90b.js → lazyLoad-8acd8b6b.js} +0 -0
  258. /package/build/esm/{localizeNumberFormat-7c945217.js → localizeNumberFormat-90e327bf.js} +0 -0
  259. /package/build/esm/{theme-ca1afcde.js → theme-a9e4664d.js} +0 -0
  260. /package/build/esm/{translationsContext-94f3742b.js → translationsContext-06ab9506.js} +0 -0
  261. /package/build/esm/{tslib.es6-e2c62d69.js → tslib.es6-9e6a1336.js} +0 -0
  262. /package/build/esm/{types-8110546e.js → types-6f02fd49.js} +0 -0
  263. /package/build/esm/{useOutsideClick-f80a7624.js → useOutsideClick-e18eafb3.js} +0 -0
  264. /package/build/esm/{useScrollbarSize-7b812a55.js → useScrollbarSize-195d735e.js} +0 -0
  265. /package/build/esm/{utils-580f01c3.js → utils-bc6b0ac2.js} +0 -0
  266. /package/build/{isProduction-2846e66e.js → isProduction-48a1a863.js} +0 -0
  267. /package/build/{lazyLoad-7292a0c4.js → lazyLoad-222c7359.js} +0 -0
  268. /package/build/{localizeNumberFormat-2365092b.js → localizeNumberFormat-73385065.js} +0 -0
  269. /package/build/{theme-faafcd5e.js → theme-89d484b3.js} +0 -0
  270. /package/build/{translationsContext-778b603e.js → translationsContext-32b3e345.js} +0 -0
  271. /package/build/{tslib.es6-22035d94.js → tslib.es6-44f98381.js} +0 -0
  272. /package/build/{types-ce9189ab.js → types-0fc3ad56.js} +0 -0
  273. /package/build/{useOutsideClick-c8a88c64.js → useOutsideClick-838665e0.js} +0 -0
  274. /package/build/{useScrollbarSize-9a855579.js → useScrollbarSize-f466d518.js} +0 -0
  275. /package/build/{utils-e25ba117.js → utils-b440b831.js} +0 -0
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- import { LocaleType } from 'src/interfaces/types';
2
+ import { LocaleType, SiteType } from 'src/interfaces/types';
3
3
  import { DueDateInfoType } from '../embeddedHeathToolCards/due-date/dueDate';
4
4
  type Props = {
5
5
  locale?: LocaleType;
6
6
  onClick?: (info: DueDateInfoType, redirectQuery?: string) => void;
7
7
  isSide?: boolean;
8
+ siteType?: SiteType;
8
9
  };
9
- declare const DueDateFormLastPeriod: ({ locale, onClick, isSide }: Props) => JSX.Element;
10
+ declare const DueDateFormLastPeriod: ({ locale, onClick, isSide, siteType, }: Props) => JSX.Element;
10
11
  export { DueDateFormLastPeriod };
@@ -1,11 +1,12 @@
1
1
  /// <reference types="react" />
2
- import { LocaleType } from 'src/interfaces/types';
2
+ import { LocaleType, SiteType } from 'src/interfaces/types';
3
3
  import { DueDateInfoType } from '../embeddedHeathToolCards/due-date/dueDate';
4
4
  export type Props = {
5
5
  onSubmitDueDate?: (info: DueDateInfoType, redirectQuery?: string) => void;
6
6
  locale?: LocaleType;
7
7
  controlledSubmit?: boolean;
8
8
  isSide?: boolean;
9
+ siteType?: SiteType;
9
10
  };
10
- declare const DueDateCalculator: ({ onSubmitDueDate, locale, isSide }: Props) => JSX.Element;
11
+ declare const DueDateCalculator: ({ onSubmitDueDate, locale, isSide, siteType, }: Props) => JSX.Element;
11
12
  export { DueDateCalculator };
@@ -1,14 +1,14 @@
1
1
  /// <reference types="react" />
2
- import { BabyGrowthContent, BabyGrowthFormField, BabyVaccinationDetail } from 'interfaces/types';
2
+ import { BabyGrowthContent, BabyGrowthFormField, BabyVaccinationDetail, SiteType } from 'interfaces/types';
3
3
  import { SubmitErrorHandler } from 'react-hook-form';
4
- type Props = {
4
+ export type BabyGrowthCardEmbedProps = {
5
5
  className?: string;
6
6
  onSubmit: (value: BabyGrowthFormField) => void;
7
- onError: SubmitErrorHandler<BabyGrowthFormField>;
7
+ onError?: SubmitErrorHandler<BabyGrowthFormField>;
8
8
  schema?: any;
9
9
  isMobile?: boolean;
10
10
  babyLists?: Array<BabyVaccinationDetail['profile']> | null;
11
11
  babyGrowthContent: BabyGrowthContent | null;
12
+ siteType?: SiteType;
12
13
  };
13
- export declare const BabyGrowthCardEmbed: ({ isMobile, className, onSubmit, onError, schema, babyGrowthContent, }: Props) => JSX.Element;
14
- export {};
14
+ export declare const BabyGrowthCardEmbed: ({ isMobile, className, onSubmit, onError, schema, babyGrowthContent, siteType, }: BabyGrowthCardEmbedProps) => JSX.Element;
@@ -1,9 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  export declare const StyledBabyGrowthWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export declare const StyleForm: import("styled-components").StyledComponent<({ onSubmit, onError, schema }: {
3
+ export declare const StyleForm: import("styled-components").StyledComponent<({ onSubmit, onError, schema, siteType, }: {
4
4
  className?: string;
5
5
  onSubmit: (value: import("../../../../interfaces/types").BabyGrowthFormField) => void;
6
6
  onError: import("react-hook-form").SubmitErrorHandler<import("../../../../interfaces/types").BabyGrowthFormField>;
7
7
  schema?: any;
8
+ siteType?: import("../../../../interfaces/types").SiteType;
8
9
  }) => JSX.Element, any, {}, never>;
9
- export declare const StyledToolsBannerCard: import("styled-components").StyledComponent<({ className, heading, isMobile, bannerUrl, bannerUrlLarge, medicalReview, icon, isSide, style, }: import("../../toolBannerCard").Props) => JSX.Element, any, {}, never>;
10
+ export declare const StyledToolsBannerCard: import("styled-components").StyledComponent<({ className, heading, isMobile, bannerUrl, bannerUrlLarge, bannerColor, medicalReview, icon, isSide, style, siteType, isEmbeded, }: import("../../toolBannerCard").Props) => JSX.Element, any, {}, never>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { LocaleType } from 'src/interfaces/types';
2
+ import { LocaleType, SiteType } from 'src/interfaces/types';
3
3
  type OtherInfo = {
4
4
  first_day?: string | null;
5
5
  cycle_length_days?: number | null;
@@ -19,7 +19,7 @@ type DueDateInfo = {
19
19
  description: string;
20
20
  }
21
21
  ];
22
- faqs: {
22
+ faqs?: {
23
23
  [key: string]: [
24
24
  {
25
25
  title: string;
@@ -40,18 +40,19 @@ type DueDateInfo = {
40
40
  };
41
41
  reviewed_date: string;
42
42
  };
43
- export type Props = {
43
+ export type DueDateCardEmbedProps = {
44
44
  locale?: LocaleType;
45
45
  isMobile?: boolean;
46
46
  onSubmitDueDate?: (info: DueDateInfoType, redirectLink?: string) => void;
47
47
  dueDatePageInfo: DueDateInfo;
48
48
  expertUrl?: string;
49
49
  isSide?: boolean;
50
+ siteType?: SiteType;
50
51
  };
51
52
  export type DueDateInfoType = {
52
53
  startDate: Date;
53
54
  dueDate: Date;
54
55
  otherInfo: OtherInfo;
55
56
  };
56
- declare const DueDateCardEmbed: ({ isMobile, locale, onSubmitDueDate, dueDatePageInfo, expertUrl, isSide, }: Props) => JSX.Element;
57
+ declare const DueDateCardEmbed: ({ isMobile, locale, onSubmitDueDate, dueDatePageInfo, expertUrl, isSide, siteType, }: DueDateCardEmbedProps) => JSX.Element;
57
58
  export { DueDateCardEmbed };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { LocaleType } from 'src/interfaces/types';
2
+ import { LocaleType, SiteType } from 'src/interfaces/types';
3
3
  import { OvulationInfoApi, ReviewedUserApi } from 'src/together/interfaces/types';
4
4
  import { OvulationCalculatorType } from '../../ovulationCalculator';
5
5
  type OvulationContent = {
@@ -18,6 +18,8 @@ export type Props = {
18
18
  onSubmitOvulation?: (info: OvulationInfoType) => void;
19
19
  isMobile?: boolean;
20
20
  isSide?: boolean;
21
+ siteType?: SiteType;
22
+ expertUrl?: string;
21
23
  };
22
24
  export type OvulationInfoType = {
23
25
  method: OvulationCalculatorType;
@@ -25,5 +27,5 @@ export type OvulationInfoType = {
25
27
  cycle: number;
26
28
  periodLength: number;
27
29
  };
28
- export declare const OvulationCardEmbed: ({ onSubmitOvulation, locale, ovulationPageInfo, ovulationContent, isSide, }: Props) => JSX.Element;
30
+ export declare const OvulationCardEmbed: ({ onSubmitOvulation, locale, ovulationPageInfo, ovulationContent, expertUrl, isSide, siteType, isMobile, }: Props) => JSX.Element;
29
31
  export {};
@@ -1,12 +1,12 @@
1
1
  /// <reference types="react" />
2
- import { LocaleType } from 'src/interfaces/types';
2
+ import { LocaleType, SiteType } from 'src/interfaces/types';
3
3
  import { PwgInfo, PregWeightInfo } from 'src/together/interfaces/types';
4
4
  export type InputError = {
5
5
  weightBefore: string;
6
6
  weight: string;
7
7
  height: string;
8
8
  };
9
- export type Props = {
9
+ export type PWGCardEmbedProps = {
10
10
  locale?: LocaleType;
11
11
  pwgContent?: PwgInfo;
12
12
  info?: PregWeightInfo;
@@ -15,5 +15,6 @@ export type Props = {
15
15
  inputErrorMessage?: InputError;
16
16
  isMobile?: boolean;
17
17
  isSide?: boolean;
18
+ siteType?: SiteType;
18
19
  };
19
- export declare const PWGCardEmbed: ({ locale, onClick, inputErrorMessage, pwgContent, onFormChange, info, isMobile, isSide, }: Props) => JSX.Element;
20
+ export declare const PWGCardEmbed: ({ locale, onClick, inputErrorMessage, pwgContent, onFormChange, info, isMobile, isSide, siteType, }: PWGCardEmbedProps) => JSX.Element;
@@ -34,7 +34,7 @@ export { BabyGrowthCardEmbed } from './embeddedHeathToolCards/baby-growth';
34
34
  export { BabyPoopEmbed } from './embeddedHeathToolCards/baby-poop';
35
35
  export { THRCardEmbed } from './embeddedHeathToolCards/target-heart-rate';
36
36
  export { BMRCardEmbed } from './embeddedHeathToolCards/bmr/bmr';
37
- export type { Props as DueDateCardEmbedProps } from './embeddedHeathToolCards/due-date/dueDate';
37
+ export type { DueDateCardEmbedProps } from './embeddedHeathToolCards/due-date/dueDate';
38
38
  export { OvulationCardEmbed } from './embeddedHeathToolCards/ovulation/ovulation';
39
39
  export type { Props as OvulationCardEmbedProps } from './embeddedHeathToolCards/ovulation/ovulation';
40
40
  export { PWGCardEmbed } from './embeddedHeathToolCards/pwg/pwg';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { LocaleType } from 'src/interfaces/types';
2
+ import { LocaleType, SiteType } from 'src/interfaces/types';
3
3
  import { OvulationInfoType } from '../embeddedHeathToolCards/ovulation/ovulation';
4
4
  export declare enum OvulationCalculatorType {
5
5
  trackPeriod = 0,
@@ -10,6 +10,7 @@ export type Props = {
10
10
  locale?: LocaleType;
11
11
  onSubmitOvulation?: (info: OvulationInfoType) => void;
12
12
  isSide?: boolean;
13
+ siteType?: SiteType;
13
14
  };
14
- declare const OvulationCalculator: ({ locale, onSubmitOvulation, isSide }: Props) => JSX.Element;
15
+ declare const OvulationCalculator: ({ locale, onSubmitOvulation, isSide, siteType, }: Props) => JSX.Element;
15
16
  export { OvulationCalculator };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { LocaleType } from 'src/interfaces/types';
2
+ import { LocaleType, SiteType } from 'src/interfaces/types';
3
3
  type Props = {
4
4
  locale?: LocaleType;
5
5
  onSubmit?: (info: {
@@ -8,6 +8,7 @@ type Props = {
8
8
  periodLength: number;
9
9
  }) => void;
10
10
  isSide?: boolean;
11
+ siteType?: SiteType;
11
12
  };
12
- declare const OvulationForm: ({ locale, onSubmit, isSide }: Props) => JSX.Element;
13
+ declare const OvulationForm: ({ locale, onSubmit, isSide, siteType }: Props) => JSX.Element;
13
14
  export { OvulationForm };
@@ -1,14 +1,18 @@
1
1
  import { CSSProperties } from 'react';
2
+ import { SiteType } from 'src/interfaces/types';
2
3
  export type Props = {
3
4
  heading: string;
4
5
  medicalReview?: JSX.Element;
5
6
  bannerUrl?: string;
6
7
  bannerUrlLarge?: string;
8
+ bannerColor?: string;
7
9
  style?: CSSProperties;
8
10
  className?: string;
9
11
  isMobile?: boolean;
10
12
  icon?: JSX.Element;
11
13
  isSide?: boolean;
14
+ siteType?: SiteType;
15
+ isEmbeded?: boolean;
12
16
  };
13
- declare const ToolsBannerCard: ({ className, heading, isMobile, bannerUrl, bannerUrlLarge, medicalReview, icon, isSide, style, }: Props) => JSX.Element;
17
+ declare const ToolsBannerCard: ({ className, heading, isMobile, bannerUrl, bannerUrlLarge, bannerColor, medicalReview, icon, isSide, style, siteType, isEmbeded, }: Props) => JSX.Element;
14
18
  export { ToolsBannerCard };
@@ -10,9 +10,15 @@ export declare const StyledInnerClass = "hhgcomp-toolbanner-inner";
10
10
  export declare const StyledInner: import("styled-components").StyledComponent<"div", any, {}, never>;
11
11
  export declare const _StyledWrapper: import("styled-components").StyledComponent<"div", any, {
12
12
  'data-banner-url'?: string;
13
+ 'data-banner-color'?: string;
13
14
  }, never>;
14
15
  export declare const StyledWrapperClass = "hhgcomp-toolbanner-wrapper";
15
16
  export declare const StyledWrapper: import("styled-components").StyledComponent<"div", any, {
16
17
  'data-banner-url'?: string;
18
+ 'data-banner-color'?: string;
17
19
  }, never>;
18
20
  export declare const StyledContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
21
+ export declare const StyledWrapEmbeded: import("styled-components").StyledComponent<"div", any, {}, never>;
22
+ export declare const StyledIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
23
+ export declare const StyledHeadingMB: import("styled-components").StyledComponent<"div", any, {}, never>;
24
+ export declare const StyledMedicalReviewedMB: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { SiteType } from 'src/interfaces/types';
2
3
  import { PregWeightInfo } from 'src/together/interfaces/types';
3
4
  import { InputError } from '../embeddedHeathToolCards/pwg/pwg';
4
5
  export type Props = {
@@ -6,6 +7,7 @@ export type Props = {
6
7
  errorMessage?: InputError;
7
8
  onChange?: (o: PregWeightInfo) => void;
8
9
  isMobile?: boolean;
10
+ siteType?: SiteType;
9
11
  };
10
- declare const PWGInputForm: ({ info, onChange, errorMessage, }: Props) => JSX.Element;
12
+ declare const PWGInputForm: ({ siteType, info, onChange, errorMessage, }: Props) => JSX.Element;
11
13
  export { PWGInputForm };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-19fccdea.js"),r=require("./index-32fb8db3.js"),o=require("./index-b6749e7d.js"),t=require("./index-758bb875.js"),a=require("./index-fe6da506.js"),i=require("./index.styled-88b1c25a.js"),s=require("./index-bd6b9048.js"),n=require("./index.styled-d809a6b6.js"),d=require("./index-ca2a885c.js"),u=require("./index.styled-bb1fc7d4.js"),p=require("./index-d04325ee.js"),x=require("./index.styled-155aac12.js"),l=require("./index-e588be8d.js"),c=require("./index-7e8bdced.js"),g=require("./index-4451f611.js"),q=require("./footer.js");require("react"),require("./tslib.es6-22035d94.js"),require("./utils-e25ba117.js"),require("./gAssets.js"),require("./index-9cc4b337.js"),require("./Locale-318d0bf6.js"),require("./isProduction-2846e66e.js"),require("./theme-faafcd5e.js"),require("styled-components"),require("lodash/throttle"),require("keen-slider/react"),require("dayjs"),require("./screenSizeContext-d7698d06.js"),require("./lazyLoad-7292a0c4.js"),require("vanilla-lazyload"),require("./index-95e0f23c.js"),require("@mantine/core"),require("@mantine/hooks"),require("./useTranslations-8a294193.js"),require("./translationsContext-778b603e.js"),require("string-format"),require("date-fns"),require("./types-ce9189ab.js"),require("./useHealthToolCache-f315cda3.js"),require("./getDynamicHealthTool-9bc6a944.js"),require("./core-fe7375e0.js"),require("./routing-60f8886e.js"),require("react-hook-form"),require("@hookform/resolvers/yup"),require("react-range"),require("react-day-picker/DayPickerInput"),require("./defaultClassWrapper-f2f52d24.js"),require("./useOutsideClick-c8a88c64.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-e806ab50.js"),require("@mantine/dates"),require("./cookieHelper-cb2b47a5.js"),require("slugify"),require("./constants-0bdafe8a.js"),require("dayjs/plugin/relativeTime"),require("lodash/debounce"),require("./index-08f8a232.js"),require("./useScrollbarSize-9a855579.js"),require("react-dom"),require("./index-913cfd38.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-922c4b60.js"),r=require("./index-40b58a52.js"),o=require("./index-d5f939a1.js"),t=require("./index-9b2c60f2.js"),a=require("./index-0239ba07.js"),i=require("./index.styled-1f5f6b92.js"),s=require("./index-8007a4d7.js"),n=require("./index.styled-637e0461.js"),d=require("./index-4a89e81e.js"),u=require("./index.styled-e50ce21b.js"),p=require("./index-90f30760.js"),x=require("./index-65cebc73.js"),l=require("./index-fbdfa89c.js"),c=require("./index-263851f6.js"),g=require("./index-6ab36aab.js"),q=require("./footer.js");require("react"),require("./tslib.es6-44f98381.js"),require("./utils-b440b831.js"),require("./gAssets.js"),require("./index-0510094e.js"),require("./Locale-49f6a4d1.js"),require("./isProduction-48a1a863.js"),require("./theme-89d484b3.js"),require("lodash/throttle"),require("keen-slider/react"),require("./useTranslations-c8de4de4.js"),require("./translationsContext-32b3e345.js"),require("string-format"),require("date-fns"),require("react-range"),require("dayjs"),require("./screenSizeContext-ea1a3317.js"),require("styled-components"),require("./lazyLoad-222c7359.js"),require("vanilla-lazyload"),require("@mantine/core"),require("./types-0fc3ad56.js"),require("./useHealthToolCache-66f60767.js"),require("./getDynamicHealthTool-5b8082ed.js"),require("./core-dd75c6d6.js"),require("./routing-636ee1bd.js"),require("react-hook-form"),require("./index-5995b565.js"),require("@mantine/hooks"),require("react-day-picker/DayPickerInput"),require("lodash/debounce"),require("react-dom"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("@mantine/dates"),require("./defaultClassWrapper-3879864e.js"),require("@hookform/resolvers/yup"),require("./index-7901beba.js"),require("./useOutsideClick-838665e0.js"),require("./getSocialList-e2cd242e.js"),require("./cookieHelper-d8345589.js"),require("slugify"),require("./constants-2028abe9.js"),require("dayjs/plugin/relativeTime"),require("./useScrollbarSize-f466d518.js"),require("./index-7ab957b8.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-9cc4b337.js"),O=require("./isProduction-2846e66e.js");require("./Locale-318d0bf6.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-0510094e.js"),O=require("./isProduction-48a1a863.js");require("./Locale-49f6a4d1.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-44f98381.js"),e=require("./isProduction-48a1a863.js"),a={},r=function(t){if("undefined"!=typeof window){var r=void 0;try{r=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return r||{}}return a[t]},i=function(t,r){try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:r,time:Date.now()})):a[t]={data:r,time:Date.now()}}catch(t){}};exports.getCachedItem=r,exports.getDataWithCache=function(e,a,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=r(e))&&c.data&&c.time&&Date.now()-c.time<o?[2,c.data]:[3,1];case 1:return a?[4,a()]:[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-22035d94.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-44f98381.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-22035d94.js"),o=require("./theme-faafcd5e.js");require("./index-9cc4b337.js");var t=require("./isProduction-2846e66e.js"),i=require("./types-ce9189ab.js");require("./Locale-318d0bf6.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-44f98381.js"),o=require("./theme-89d484b3.js");require("./index-0510094e.js");var t=require("./isProduction-48a1a863.js"),i=require("./types-0fc3ad56.js");require("./Locale-49f6a4d1.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;