@hhgtech/hhg-components 1.28.36 → 1.28.37

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 (301) hide show
  1. package/build/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components/atoms/avatar/index.styled.d.ts +2 -1
  5. package/build/components/atoms/backdrop/index.styled.d.ts +2 -1
  6. package/build/components/atoms/checkbox/index.styled.d.ts +2 -1
  7. package/build/components/atoms/grid/index.styled.d.ts +2 -1
  8. package/build/components/atoms/logo/index.styled.d.ts +3 -2
  9. package/build/components.js +1 -1
  10. package/build/{constants-437bb4bf.js → constants-8ef08ff5.js} +1 -1
  11. package/build/{constants-80dd2233.js → constants-e54aa389.js} +1 -1
  12. package/build/constants.js +1 -1
  13. package/build/core-ba7d65c8.js +1 -0
  14. package/build/ecom.js +1 -1
  15. package/build/esm/babyGrowth.js +2 -2
  16. package/build/esm/cache.js +1 -1
  17. package/build/esm/care.js +1 -1
  18. package/build/esm/components/atoms/avatar/index.styled.d.ts +2 -1
  19. package/build/esm/components/atoms/backdrop/index.styled.d.ts +2 -1
  20. package/build/esm/components/atoms/checkbox/index.styled.d.ts +2 -1
  21. package/build/esm/components/atoms/grid/index.styled.d.ts +2 -1
  22. package/build/esm/components/atoms/logo/index.styled.d.ts +3 -2
  23. package/build/esm/components.js +1 -1
  24. package/build/esm/{constants-4c45be75.js → constants-2b76d121.js} +1 -1
  25. package/build/esm/{constants-c3b0c92c.js → constants-6cfaa1ef.js} +2 -2
  26. package/build/esm/constants.js +1 -1
  27. package/build/esm/{core-5b21c19e.js → core-18ff4cb5.js} +1 -1
  28. package/build/esm/ecom.js +1 -1
  29. package/build/esm/footer.js +1 -1
  30. package/build/esm/gAssets.js +1 -1
  31. package/build/esm/getDynamicHealthTool-7989183b.js +1 -0
  32. package/build/esm/{getSocialList-3e7a32e3.js → getSocialList-5330dbd2.js} +1 -1
  33. package/build/esm/hooks.js +1 -1
  34. package/build/esm/i18n.js +1 -1
  35. package/build/esm/i18nV2.js +1 -1
  36. package/build/esm/{index-c9c584ed.js → index-03141739.js} +1 -1
  37. package/build/esm/{index-6536dd4e.js → index-064bc751.js} +1 -1
  38. package/build/esm/index-12a2d8bc.js +1 -0
  39. package/build/esm/{index-c22300e9.js → index-162b9bde.js} +1 -1
  40. package/build/esm/{index-f64ac5b4.js → index-2b4575ac.js} +1 -1
  41. package/build/esm/{index-f75306ca.js → index-2be76d22.js} +1 -1
  42. package/build/esm/index-5fdbf5bc.js +177 -0
  43. package/build/esm/{index-e7f889b2.js → index-60f16dee.js} +1 -1
  44. package/build/esm/{index-72cd7c00.js → index-6127f94b.js} +1 -1
  45. package/build/esm/index-6e2dd27b.js +1 -0
  46. package/build/esm/{index-a60bd3f2.js → index-74cef015.js} +1 -1
  47. package/build/esm/index-752b7c3f.js +1 -0
  48. package/build/esm/{index-17537d5b.js → index-7684a5b9.js} +1 -1
  49. package/build/esm/index-778d5fb2.js +1 -0
  50. package/build/esm/{index-15c00b1c.js → index-79f41857.js} +1 -1
  51. package/build/esm/index-84c08ad9.js +1 -0
  52. package/build/esm/{index-9d86c3a8.js → index-8f2fcc98.js} +1 -1
  53. package/build/esm/index-956cdde0.js +1 -0
  54. package/build/esm/{index-4eb2530b.js → index-9991cfb3.js} +1 -1
  55. package/build/esm/{index-17d273a3.js → index-a2e81576.js} +1 -1
  56. package/build/esm/{index-f0206e98.js → index-c9737971.js} +1 -1
  57. package/build/esm/{index-6c2d86ad.js → index-fa625a55.js} +1 -1
  58. package/build/esm/index.css +3 -1
  59. package/build/esm/index.js +1 -1
  60. package/build/esm/{index.styled-57535894.js → index.styled-17af4657.js} +1 -1
  61. package/build/esm/{index.styled-780df456.js → index.styled-36cb24ce.js} +1 -1
  62. package/build/esm/{index.styled-551f3c76.js → index.styled-46a99590.js} +1 -1
  63. package/build/esm/{index.styled-5c99d64b.js → index.styled-a25d7261.js} +87 -87
  64. package/build/esm/{index.styles-874b1834.js → index.styles-671382bc.js} +116 -335
  65. package/build/esm/lead.js +1 -1
  66. package/build/esm/mantine.js +1 -1
  67. package/build/esm/misc.js +1 -1
  68. package/build/esm/navigation.js +1 -1
  69. package/build/esm/onboardingV2.js +9 -9
  70. package/build/esm/pwg.js +1 -1
  71. package/build/esm/{routing-a8a2d2fd.js → routing-ec23ed74.js} +1 -1
  72. package/build/esm/screenSizeContext-18a2ae59.js +81 -0
  73. package/build/esm/subot.js +1 -1
  74. package/build/esm/together.js +1 -1
  75. package/build/esm/{types-07a8f7f9.js → types-232e79d1.js} +1 -1
  76. package/build/esm/{types-9b65a599.js → types-e1669387.js} +1 -1
  77. package/build/esm/types.js +1 -1
  78. package/build/esm/{useCategory-8582dedd.js → useCategory-00053487.js} +1 -1
  79. package/build/esm/useHealthToolCache-cfa13b2f.js +1 -0
  80. package/build/esm/{usePlacesAutocomplete-3f0cff61.js → usePlacesAutocomplete-07f0fc32.js} +1 -1
  81. package/build/esm/{useRafState-27d2b972.js → useRafState-9968ee17.js} +1 -1
  82. package/build/esm/{useTranslations-14b7fcc5.js → useTranslations-d963b37f.js} +1 -1
  83. package/build/esm/utils-892d8a65.js +1 -0
  84. package/build/esm/{utils-0b2c5aec.js → utils-98561d5e.js} +1 -1
  85. package/build/esm/vaccination.js +11 -11
  86. package/build/footer.js +1 -1
  87. package/build/gAssets.js +1 -1
  88. package/build/getDynamicHealthTool-a7d75452.js +1 -0
  89. package/build/{getSocialList-72284d55.js → getSocialList-9e58358a.js} +1 -1
  90. package/build/hooks.js +1 -1
  91. package/build/i18n.js +1 -1
  92. package/build/i18nV2.js +1 -1
  93. package/build/index-01f4346e.js +1 -0
  94. package/build/index-1763366b.js +1 -0
  95. package/build/{index-67f50ae5.js → index-2241f0a7.js} +1 -1
  96. package/build/{index-a527fd86.js → index-24584ae5.js} +1 -1
  97. package/build/{index-c9dc742a.js → index-3f6899fe.js} +1 -1
  98. package/build/{index-cc31ada4.js → index-5a341117.js} +1 -1
  99. package/build/{index-536d19f8.js → index-63e33ff2.js} +1 -1
  100. package/build/{index-88ff79b6.js → index-6a76dedf.js} +1 -1
  101. package/build/{index-edb98431.js → index-6b89bd1e.js} +1 -1
  102. package/build/index-7adb6ca5.js +1 -0
  103. package/build/{index-411b2c54.js → index-7c3ea642.js} +19 -19
  104. package/build/{index-a14ac95c.js → index-824143ee.js} +1 -1
  105. package/build/{index-3e31d08a.js → index-8e766956.js} +1 -1
  106. package/build/{index-24290a1e.js → index-8e8894d5.js} +1 -1
  107. package/build/{index-66d800b3.js → index-a788941c.js} +3 -3
  108. package/build/{index-4af92d15.js → index-b9003514.js} +1 -1
  109. package/build/index-c782489f.js +1 -0
  110. package/build/{index-81ec6599.js → index-d9c91a7a.js} +1 -1
  111. package/build/{index-95d71ef9.js → index-db727a39.js} +1 -1
  112. package/build/{index-28f61b63.js → index-df9365fe.js} +1 -1
  113. package/build/index-f8a63825.js +1 -0
  114. package/build/{index-7e3aeed4.js → index-fe748c3b.js} +1 -1
  115. package/build/index.css +3 -1
  116. package/build/index.js +1 -1
  117. package/build/{index.styled-86cd31ca.js → index.styled-3570c720.js} +6 -6
  118. package/build/{index.styled-6d41d939.js → index.styled-380d6e0a.js} +11 -11
  119. package/build/{index.styled-228e96a3.js → index.styled-40cb1c5c.js} +1 -1
  120. package/build/{index.styled-2ce77f4d.js → index.styled-77b9479f.js} +1 -1
  121. package/build/index.styles-3f14873c.js +627 -0
  122. package/build/lead.js +1 -1
  123. package/build/mantine.js +1 -1
  124. package/build/misc.js +1 -1
  125. package/build/navigation.js +1 -1
  126. package/build/onboardingV2.js +5 -5
  127. package/build/pwg.js +3 -3
  128. package/build/{routing-0dd231c5.js → routing-f6c590ab.js} +1 -1
  129. package/build/screenSizeContext-41fd163e.js +81 -0
  130. package/build/subot.js +1 -1
  131. package/build/together.js +1 -1
  132. package/build/{types-b4747009.js → types-2439f02e.js} +1 -1
  133. package/build/{types-439160fd.js → types-72e39367.js} +1 -1
  134. package/build/types.js +1 -1
  135. package/build/{useCategory-718ae913.js → useCategory-b165202c.js} +1 -1
  136. package/build/{useHealthToolCache-40a88025.js → useHealthToolCache-b15142cb.js} +1 -1
  137. package/build/{usePlacesAutocomplete-54de454b.js → usePlacesAutocomplete-966d009c.js} +1 -1
  138. package/build/{useRafState-c9f6527a.js → useRafState-af69ad6c.js} +1 -1
  139. package/build/{useTranslations-a1b68e91.js → useTranslations-95cf8449.js} +1 -1
  140. package/build/utils-167797c2.js +1 -0
  141. package/build/utils-6754d753.js +1 -0
  142. package/build/vaccination.js +4 -4
  143. package/package.json +7 -2
  144. package/build/core-80e9cff8.js +0 -1
  145. package/build/esm/getDynamicHealthTool-2e9a5548.js +0 -1
  146. package/build/esm/index-020361fe.js +0 -177
  147. package/build/esm/index-1782f56e.js +0 -1
  148. package/build/esm/index-1b2689ee.js +0 -1
  149. package/build/esm/index-2eac1ec8.js +0 -1
  150. package/build/esm/index-9d393a92.js +0 -1
  151. package/build/esm/index-a1e1a441.js +0 -1
  152. package/build/esm/index-a903d8ce.js +0 -1
  153. package/build/esm/screenSizeContext-dff03e2b.js +0 -81
  154. package/build/esm/useHealthToolCache-5b104f1e.js +0 -1
  155. package/build/esm/utils-cca2af3a.js +0 -141
  156. package/build/getDynamicHealthTool-fad842aa.js +0 -1
  157. package/build/index-18823495.js +0 -1
  158. package/build/index-18bee338.js +0 -1
  159. package/build/index-3ec29f74.js +0 -1
  160. package/build/index-461460ac.js +0 -1
  161. package/build/index-f62932f3.js +0 -1
  162. package/build/index.styles-b3f7ae61.js +0 -846
  163. package/build/screenSizeContext-0e841cc0.js +0 -81
  164. package/build/utils-50bb77a6.js +0 -1
  165. package/build/utils-7528478f.js +0 -141
  166. /package/build/{BMI_BOYS.percentile.monthly-bd7c4653.js → BMI_BOYS.percentile.monthly-19f4ed11.js} +0 -0
  167. /package/build/{BMI_BOYS.percentile.weekly-aa0676d7.js → BMI_BOYS.percentile.weekly-988c28e7.js} +0 -0
  168. /package/build/{BMI_BOYS.percentile.yearly-710bf0bc.js → BMI_BOYS.percentile.yearly-2ce0172a.js} +0 -0
  169. /package/build/{BMI_BOYS.zscore.monthly-265d16b8.js → BMI_BOYS.zscore.monthly-0319a3ca.js} +0 -0
  170. /package/build/{BMI_BOYS.zscore.weekly-20e34020.js → BMI_BOYS.zscore.weekly-6af17a54.js} +0 -0
  171. /package/build/{BMI_BOYS.zscore.yearly-67395b04.js → BMI_BOYS.zscore.yearly-51a52dc7.js} +0 -0
  172. /package/build/{BMI_GIRLS.percentile.monthly-e5a6f286.js → BMI_GIRLS.percentile.monthly-49e8d16b.js} +0 -0
  173. /package/build/{BMI_GIRLS.percentile.weekly-0d918cc9.js → BMI_GIRLS.percentile.weekly-6852a685.js} +0 -0
  174. /package/build/{BMI_GIRLS.percentile.yearly-9ab58003.js → BMI_GIRLS.percentile.yearly-e769c49a.js} +0 -0
  175. /package/build/{BMI_GIRLS.zscore.monthly-980c6ad8.js → BMI_GIRLS.zscore.monthly-82c5d7a1.js} +0 -0
  176. /package/build/{BMI_GIRLS.zscore.weekly-2886baca.js → BMI_GIRLS.zscore.weekly-1f4764fb.js} +0 -0
  177. /package/build/{BMI_GIRLS.zscore.yearly-e3123e93.js → BMI_GIRLS.zscore.yearly-cac12266.js} +0 -0
  178. /package/build/{ChevronDown-7d583eac.js → ChevronDown-5b4ef88d.js} +0 -0
  179. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-5489c654.js → HEAD CIRCUM_BOYS.percentile.monthly-00707b2f.js} +0 -0
  180. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-72af67ec.js → HEAD CIRCUM_BOYS.percentile.weekly-36272a6b.js} +0 -0
  181. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-4689f174.js → HEAD CIRCUM_BOYS.percentile.yearly-8ffd2a1b.js} +0 -0
  182. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-218db6e2.js → HEAD CIRCUM_BOYS.zscore.monthly-b9037d32.js} +0 -0
  183. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d4b77ee2.js → HEAD CIRCUM_BOYS.zscore.weekly-acf9cc31.js} +0 -0
  184. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ba3d997e.js → HEAD CIRCUM_BOYS.zscore.yearly-50079d83.js} +0 -0
  185. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-120ece3e.js → HEAD CIRCUM_GIRLS.percentile.monthly-211234b7.js} +0 -0
  186. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-591bb09a.js → HEAD CIRCUM_GIRLS.percentile.weekly-b6a1780b.js} +0 -0
  187. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-2a19d75a.js → HEAD CIRCUM_GIRLS.percentile.yearly-2ac79afc.js} +0 -0
  188. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-47aa0b49.js → HEAD CIRCUM_GIRLS.zscore.monthly-39639744.js} +0 -0
  189. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-7faf2731.js → HEAD CIRCUM_GIRLS.zscore.weekly-8ebb9191.js} +0 -0
  190. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-0a9527cb.js → HEAD CIRCUM_GIRLS.zscore.yearly-0a728371.js} +0 -0
  191. /package/build/{HEIGHT_BOYS.percentile.monthly-975cab78.js → HEIGHT_BOYS.percentile.monthly-a04a5707.js} +0 -0
  192. /package/build/{HEIGHT_BOYS.percentile.weekly-45fbff53.js → HEIGHT_BOYS.percentile.weekly-601c6385.js} +0 -0
  193. /package/build/{HEIGHT_BOYS.percentile.yearly-2a158d1f.js → HEIGHT_BOYS.percentile.yearly-ee7cc294.js} +0 -0
  194. /package/build/{HEIGHT_BOYS.zscore.monthly-8dc3c9d2.js → HEIGHT_BOYS.zscore.monthly-390392ac.js} +0 -0
  195. /package/build/{HEIGHT_BOYS.zscore.weekly-6156e4e0.js → HEIGHT_BOYS.zscore.weekly-d0be59ca.js} +0 -0
  196. /package/build/{HEIGHT_BOYS.zscore.yearly-f76c1f5e.js → HEIGHT_BOYS.zscore.yearly-67fe48eb.js} +0 -0
  197. /package/build/{HEIGHT_GIRLS.percentile.monthly-b45e867e.js → HEIGHT_GIRLS.percentile.monthly-32fbf6d6.js} +0 -0
  198. /package/build/{HEIGHT_GIRLS.percentile.weekly-46b92e1b.js → HEIGHT_GIRLS.percentile.weekly-378c22e7.js} +0 -0
  199. /package/build/{HEIGHT_GIRLS.percentile.yearly-9abaef8d.js → HEIGHT_GIRLS.percentile.yearly-f8a775da.js} +0 -0
  200. /package/build/{HEIGHT_GIRLS.zscore.monthly-eb201a4a.js → HEIGHT_GIRLS.zscore.monthly-eba9d82b.js} +0 -0
  201. /package/build/{HEIGHT_GIRLS.zscore.weekly-1c1b80f3.js → HEIGHT_GIRLS.zscore.weekly-649d1e6a.js} +0 -0
  202. /package/build/{HEIGHT_GIRLS.zscore.yearly-19fe9d55.js → HEIGHT_GIRLS.zscore.yearly-d7566aef.js} +0 -0
  203. /package/build/{Subot-6a20c386.js → Subot-781f30c5.js} +0 -0
  204. /package/build/{Visible-96ce1462.js → Visible-0d367263.js} +0 -0
  205. /package/build/{WEIGHT_BOYS.percentile.monthly-48925e68.js → WEIGHT_BOYS.percentile.monthly-cdd83d2c.js} +0 -0
  206. /package/build/{WEIGHT_BOYS.percentile.weekly-9675b472.js → WEIGHT_BOYS.percentile.weekly-08b2cc25.js} +0 -0
  207. /package/build/{WEIGHT_BOYS.percentile.yearly-5ae74491.js → WEIGHT_BOYS.percentile.yearly-78bd0332.js} +0 -0
  208. /package/build/{WEIGHT_BOYS.zscore.monthly-fda03047.js → WEIGHT_BOYS.zscore.monthly-bd9c59c4.js} +0 -0
  209. /package/build/{WEIGHT_BOYS.zscore.weekly-2ab9f08c.js → WEIGHT_BOYS.zscore.weekly-71bf2560.js} +0 -0
  210. /package/build/{WEIGHT_BOYS.zscore.yearly-b68de4e1.js → WEIGHT_BOYS.zscore.yearly-80a65ace.js} +0 -0
  211. /package/build/{WEIGHT_GIRLS.percentile.monthly-1c82f3e1.js → WEIGHT_GIRLS.percentile.monthly-e602fb9f.js} +0 -0
  212. /package/build/{WEIGHT_GIRLS.percentile.weekly-0628410e.js → WEIGHT_GIRLS.percentile.weekly-8ec40671.js} +0 -0
  213. /package/build/{WEIGHT_GIRLS.percentile.yearly-bac2752a.js → WEIGHT_GIRLS.percentile.yearly-6c13450f.js} +0 -0
  214. /package/build/{WEIGHT_GIRLS.zscore.monthly-444c0637.js → WEIGHT_GIRLS.zscore.monthly-f2dff34a.js} +0 -0
  215. /package/build/{WEIGHT_GIRLS.zscore.weekly-e943b0eb.js → WEIGHT_GIRLS.zscore.weekly-a7c88fa4.js} +0 -0
  216. /package/build/{WEIGHT_GIRLS.zscore.yearly-cd96850c.js → WEIGHT_GIRLS.zscore.yearly-4c55b4b9.js} +0 -0
  217. /package/build/{cookieHelper-90494d05.js → cookieHelper-cb2c780d.js} +0 -0
  218. /package/build/{dataTransform-6263c35e.js → dataTransform-aa76f31c.js} +0 -0
  219. /package/build/esm/{BMI_BOYS.percentile.monthly-2f0ebcbf.js → BMI_BOYS.percentile.monthly-05d05da5.js} +0 -0
  220. /package/build/esm/{BMI_BOYS.percentile.weekly-923b3d30.js → BMI_BOYS.percentile.weekly-b1aa1512.js} +0 -0
  221. /package/build/esm/{BMI_BOYS.percentile.yearly-7d39033d.js → BMI_BOYS.percentile.yearly-9a9ca29b.js} +0 -0
  222. /package/build/esm/{BMI_BOYS.zscore.monthly-21915d60.js → BMI_BOYS.zscore.monthly-ab8c5087.js} +0 -0
  223. /package/build/esm/{BMI_BOYS.zscore.weekly-afaad99e.js → BMI_BOYS.zscore.weekly-9c26d743.js} +0 -0
  224. /package/build/esm/{BMI_BOYS.zscore.yearly-2d48176b.js → BMI_BOYS.zscore.yearly-0c8e88bf.js} +0 -0
  225. /package/build/esm/{BMI_GIRLS.percentile.monthly-67f03f38.js → BMI_GIRLS.percentile.monthly-09da7135.js} +0 -0
  226. /package/build/esm/{BMI_GIRLS.percentile.weekly-a2c33686.js → BMI_GIRLS.percentile.weekly-04cd0f7f.js} +0 -0
  227. /package/build/esm/{BMI_GIRLS.percentile.yearly-7a98dd42.js → BMI_GIRLS.percentile.yearly-b96e6cdd.js} +0 -0
  228. /package/build/esm/{BMI_GIRLS.zscore.monthly-599baf2d.js → BMI_GIRLS.zscore.monthly-e301d83d.js} +0 -0
  229. /package/build/esm/{BMI_GIRLS.zscore.weekly-c258aef0.js → BMI_GIRLS.zscore.weekly-23ab6a7b.js} +0 -0
  230. /package/build/esm/{BMI_GIRLS.zscore.yearly-e8ce4dc8.js → BMI_GIRLS.zscore.yearly-576720ea.js} +0 -0
  231. /package/build/esm/{ChevronDown-198d9cc6.js → ChevronDown-70559b47.js} +0 -0
  232. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-bc41ab37.js → HEAD CIRCUM_BOYS.percentile.monthly-81d95d86.js} +0 -0
  233. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-bd73d642.js → HEAD CIRCUM_BOYS.percentile.weekly-12162f09.js} +0 -0
  234. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-044a1a1a.js → HEAD CIRCUM_BOYS.percentile.yearly-45cd1c23.js} +0 -0
  235. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-61bf74c0.js → HEAD CIRCUM_BOYS.zscore.monthly-47835e82.js} +0 -0
  236. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-28e9f5ed.js → HEAD CIRCUM_BOYS.zscore.weekly-026aced6.js} +0 -0
  237. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-2a0e1789.js → HEAD CIRCUM_BOYS.zscore.yearly-01c4d654.js} +0 -0
  238. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-13f948b3.js → HEAD CIRCUM_GIRLS.percentile.monthly-3bac7be1.js} +0 -0
  239. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-88cc5320.js → HEAD CIRCUM_GIRLS.percentile.weekly-d0a20741.js} +0 -0
  240. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-7f0f400b.js → HEAD CIRCUM_GIRLS.percentile.yearly-dc919555.js} +0 -0
  241. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d78908a1.js → HEAD CIRCUM_GIRLS.zscore.monthly-47bf7a3c.js} +0 -0
  242. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-f3207f83.js → HEAD CIRCUM_GIRLS.zscore.weekly-a8e45e75.js} +0 -0
  243. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0628d6d8.js → HEAD CIRCUM_GIRLS.zscore.yearly-bf546ba6.js} +0 -0
  244. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-182bed39.js → HEIGHT_BOYS.percentile.monthly-6ba59424.js} +0 -0
  245. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-44f52c09.js → HEIGHT_BOYS.percentile.weekly-29b8fe64.js} +0 -0
  246. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-bb541601.js → HEIGHT_BOYS.percentile.yearly-f135b8e2.js} +0 -0
  247. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a9a9dd47.js → HEIGHT_BOYS.zscore.monthly-49e9680a.js} +0 -0
  248. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-9fc7b902.js → HEIGHT_BOYS.zscore.weekly-f9a65efa.js} +0 -0
  249. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-88da8bc2.js → HEIGHT_BOYS.zscore.yearly-8b5ad6d2.js} +0 -0
  250. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-fb5f6f0d.js → HEIGHT_GIRLS.percentile.monthly-e5b38079.js} +0 -0
  251. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-4baca659.js → HEIGHT_GIRLS.percentile.weekly-f3670276.js} +0 -0
  252. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-fc7e1fc1.js → HEIGHT_GIRLS.percentile.yearly-4c02f1bb.js} +0 -0
  253. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-b439db85.js → HEIGHT_GIRLS.zscore.monthly-640e5e55.js} +0 -0
  254. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-8681e64a.js → HEIGHT_GIRLS.zscore.weekly-4eead516.js} +0 -0
  255. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-28b1d0bb.js → HEIGHT_GIRLS.zscore.yearly-6ebee51c.js} +0 -0
  256. /package/build/esm/{Subot-e272425a.js → Subot-2c9e4c09.js} +0 -0
  257. /package/build/esm/{Visible-e7a4b560.js → Visible-280d16e3.js} +0 -0
  258. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-d6835449.js → WEIGHT_BOYS.percentile.monthly-430dc3b2.js} +0 -0
  259. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-bc54a47c.js → WEIGHT_BOYS.percentile.weekly-b937aeb9.js} +0 -0
  260. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-69b5c0cf.js → WEIGHT_BOYS.percentile.yearly-cbf833e8.js} +0 -0
  261. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-fae0c31f.js → WEIGHT_BOYS.zscore.monthly-dd6b0e64.js} +0 -0
  262. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-58bfd560.js → WEIGHT_BOYS.zscore.weekly-786a8d18.js} +0 -0
  263. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-4e428e24.js → WEIGHT_BOYS.zscore.yearly-acfb2c76.js} +0 -0
  264. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-5136f490.js → WEIGHT_GIRLS.percentile.monthly-1e4153b0.js} +0 -0
  265. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-bd8ea375.js → WEIGHT_GIRLS.percentile.weekly-f69a3ddb.js} +0 -0
  266. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-40e16990.js → WEIGHT_GIRLS.percentile.yearly-a42cb1fc.js} +0 -0
  267. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-bc34aead.js → WEIGHT_GIRLS.zscore.monthly-c8062203.js} +0 -0
  268. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-c5ab12a0.js → WEIGHT_GIRLS.zscore.weekly-c4c6e1e6.js} +0 -0
  269. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-41608a14.js → WEIGHT_GIRLS.zscore.yearly-35f750e9.js} +0 -0
  270. /package/build/esm/{cookieHelper-28df9366.js → cookieHelper-02a646ef.js} +0 -0
  271. /package/build/esm/{dataTransform-3cf63532.js → dataTransform-3970f88b.js} +0 -0
  272. /package/build/esm/{index-ac4a532b.js → index-2d5104c5.js} +0 -0
  273. /package/build/esm/{index-9d4a84ac.js → index-4daeba4d.js} +0 -0
  274. /package/build/esm/{index-10c5feed.js → index-d74e3f4d.js} +0 -0
  275. /package/build/esm/{isProduction-b5290208.js → isProduction-2e0a8f23.js} +0 -0
  276. /package/build/esm/{localizeNumberFormat-a5628e95.js → localizeNumberFormat-d7e41005.js} +0 -0
  277. /package/build/esm/{normalizeLink-03495796.js → normalizeLink-78014c07.js} +0 -0
  278. /package/build/esm/{number-97247dba.js → number-33fd0b74.js} +0 -0
  279. /package/build/esm/{paths-fcede6b6.js → paths-64d19041.js} +0 -0
  280. /package/build/esm/{theme-ccf55e31.js → theme-2bdea2f5.js} +0 -0
  281. /package/build/esm/{translationsContext-7856306b.js → translationsContext-63b5cfff.js} +0 -0
  282. /package/build/esm/{tslib.es6-842a2bb8.js → tslib.es6-70854b37.js} +0 -0
  283. /package/build/esm/{types-3f42ad37.js → types-4c039872.js} +0 -0
  284. /package/build/esm/{useIsInit-7d05716a.js → useIsInit-28ed39fb.js} +0 -0
  285. /package/build/esm/{useOutsideClick-9d03d01d.js → useOutsideClick-0fb1f5b8.js} +0 -0
  286. /package/build/esm/{useScrollbarSize-1c748ec0.js → useScrollbarSize-622c2c1a.js} +0 -0
  287. /package/build/{index-a6882810.js → index-36f0d549.js} +0 -0
  288. /package/build/{index-b3a56944.js → index-869fff15.js} +0 -0
  289. /package/build/{index-22f2dd43.js → index-f0a00b26.js} +0 -0
  290. /package/build/{isProduction-975fbda1.js → isProduction-d688052c.js} +0 -0
  291. /package/build/{localizeNumberFormat-f603a6d8.js → localizeNumberFormat-c01aadd7.js} +0 -0
  292. /package/build/{normalizeLink-b260b165.js → normalizeLink-b47d5761.js} +0 -0
  293. /package/build/{number-3f6eba85.js → number-7e0491b4.js} +0 -0
  294. /package/build/{paths-9ce571a8.js → paths-b90c2d13.js} +0 -0
  295. /package/build/{theme-cf605758.js → theme-5779230b.js} +0 -0
  296. /package/build/{translationsContext-b4e24bbe.js → translationsContext-149822d4.js} +0 -0
  297. /package/build/{tslib.es6-8187fb3c.js → tslib.es6-afbb99a9.js} +0 -0
  298. /package/build/{types-16f153bc.js → types-3377b03d.js} +0 -0
  299. /package/build/{useIsInit-df1db68e.js → useIsInit-2ed8cbec.js} +0 -0
  300. /package/build/{useOutsideClick-eeca1a83.js → useOutsideClick-e2fd0c7a.js} +0 -0
  301. /package/build/{useScrollbarSize-7a77a7be.js → useScrollbarSize-4279aad3.js} +0 -0
@@ -1,60 +1,4 @@
1
- import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d as l}from"./screenSizeContext-dff03e2b.js";import d,{useState as c,forwardRef as p,createContext as u,useEffect as g,Fragment as h}from"react";import m,{css as b}from"styled-components";import{t as _}from"./theme-ccf55e31.js";import"./index-f75306ca.js";import{i as E}from"./isProduction-b5290208.js";import"./Subot-e272425a.js";import"./gAssets.js";import{_ as v,a as x}from"./tslib.es6-842a2bb8.js";import{createStyles as f,rem as w}from"@mantine/core";import{L as T}from"./constants-c3b0c92c.js";import y from"react-keyed-flatten-children";import{g as O}from"./cookieHelper-28df9366.js";import A from"slugify";import I from"string-format";const L=m.div`
2
- background-color: var(--background-color, transparent);
3
- color: white;
4
- cursor: pointer;
5
- img {
6
- --width: var(--width-prop, 40px);
7
- --height: var(--height-prop, 40px);
8
- width: var(--width);
9
- height: var(--height);
10
- }
11
- &[data-has-max='true'] {
12
- img {
13
- max-width: var(--width);
14
- max-height: var(--height);
15
- }
16
- }
17
-
18
- &[data-avatar-type='square'] {
19
- img {
20
- --width: var(--width-prop, 72px);
21
- --height: var(--height-prop, 72px);
22
- border-radius: ${_.borderRadius};
23
- }
24
- }
25
-
26
- &[data-avatar-type='rounded'] {
27
- img {
28
- border-radius: 50%;
29
- }
30
- }
31
-
32
- &[data-custom-size='true'] {
33
- display: flex;
34
- overflow: hidden;
35
- overflow: hidden;
36
- width: var(--size);
37
- height: var(--size);
38
- align-items: center;
39
- justify-content: center;
40
- background-size: cover;
41
- font-size: calc(var(--size) / 2);
42
- font-weight: bold;
43
- &[data-avatar-type='square'] {
44
- border-radius: ${_.borderRadius};
45
- }
46
- &[data-avatar-type='rounded'] {
47
- border-radius: 50%;
48
- img {
49
- --width: 100%;
50
- --height: 100%;
51
- }
52
- }
53
- img {
54
- object-fit: cover;
55
- }
56
- }
57
- `,S=m.div`
1
+ import{t as e}from"./theme-2bdea2f5.js";import t,{css as o}from"styled-components";import{M as r,s as a,e as i,b as n,f as s,c as l,g as c,a as d,d as p}from"./screenSizeContext-18a2ae59.js";import"dayjs";import u,{useState as g,forwardRef as m,createContext as h,useEffect as _,Fragment as b}from"react";import"./index-2be76d22.js";import{i as E}from"./isProduction-2e0a8f23.js";import"./Subot-2c9e4c09.js";import"./gAssets.js";import{_ as T,a as f}from"./tslib.es6-70854b37.js";import{createStyles as v,rem as x}from"@mantine/core";import{L as w}from"./constants-6cfaa1ef.js";import y from"react-keyed-flatten-children";import{g as O}from"./cookieHelper-02a646ef.js";import A from"slugify";import I from"string-format";const L=t.div`
58
2
  position: relative;
59
3
 
60
4
  > div {
@@ -63,16 +7,16 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
63
7
  }
64
8
 
65
9
  span {
66
- font-weight: ${_.sizes.fwBold};
10
+ font-weight: ${e.sizes.fwBold};
67
11
  display: flex;
68
12
  justify-content: center;
69
13
  align-items: center;
70
14
 
71
- ${e=>((e,t,o,r)=>{let a="";if("numeric"===e)switch(t){case"medium":a="\n height: 16px;\n font-size: 11px;\n padding: 1px 6px;\n ";case"large":a="\n height: 24px;\n font-size: 13px;\n padding: 1px 10px;\n "}let i,n="";o&&(n="\n position: absolute;\n top: 0;\n left: 75%;\n "),o&&(i=`\n left: 70%;\n\n ${"large"===t?"\n top: -7px;\n ":"medium"===t?"\n top: -2px;\n width: 16px;\n height: 16px;\n ":""}\n `);let s="";switch(r){case"primary":s=`\n background: ${_.colors.primary50};\n color: ${_.colors.primary600}; \n `;break;case"error":s=`\n background: ${_.colors.error};\n color: white;\n `}switch(e){case"dot":return`\n ${n}\n width: 8px;\n height: 8px;\n font-size: 0px;\n border-radius: 50%;\n ${s}\n `;case"numeric":return`\n ${n}\n width: max-content;\n border-radius: 32px;\n ${a}\n ${i}\n ${s}\n `}})(e.notificationType,e.notificationSize,e.hasIcon,e.notificationColor)}
15
+ ${t=>((t,o,r,a)=>{let i="";if("numeric"===t)switch(o){case"medium":i="\n height: 16px;\n font-size: 11px;\n padding: 1px 6px;\n ";case"large":i="\n height: 24px;\n font-size: 13px;\n padding: 1px 10px;\n "}let n,s="";r&&(s="\n position: absolute;\n top: 0;\n left: 75%;\n "),r&&(n=`\n left: 70%;\n\n ${"large"===o?"\n top: -7px;\n ":"medium"===o?"\n top: -2px;\n width: 16px;\n height: 16px;\n ":""}\n `);let l="";switch(a){case"primary":l=`\n background: ${e.colors.primary50};\n color: ${e.colors.primary600}; \n `;break;case"error":l=`\n background: ${e.colors.error};\n color: white;\n `}switch(t){case"dot":return`\n ${s}\n width: 8px;\n height: 8px;\n font-size: 0px;\n border-radius: 50%;\n ${l}\n `;case"numeric":return`\n ${s}\n width: max-content;\n border-radius: 32px;\n ${i}\n ${n}\n ${l}\n `}})(t.notificationType,t.notificationSize,t.hasIcon,t.notificationColor)}
72
16
  }
73
17
 
74
18
  ${e=>e.hasIcon&&"\n svg {\n width: 40px;\n height: 40px;\n }\n "}
75
- `,R=m.h4`
19
+ `,S=t.h4`
76
20
  position: relative;
77
21
  line-height: 18px;
78
22
 
@@ -82,7 +26,7 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
82
26
  left: 0;
83
27
  width: 4px;
84
28
  height: 18px;
85
- background-color: ${_.colors.primaryBase};
29
+ background-color: ${e.colors.primaryBase};
86
30
  content: '';
87
31
  }
88
32
 
@@ -102,36 +46,36 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
102
46
  }
103
47
 
104
48
  &[data-type='bold'] {
105
- font-weight: ${_.sizes.fwBold};
49
+ font-weight: ${e.sizes.fwBold};
106
50
  }
107
51
  &[data-type='semiBold'] {
108
- font-weight: ${_.sizes.fwSemiBold};
52
+ font-weight: ${e.sizes.fwSemiBold};
109
53
  }
110
54
 
111
55
  &[data-uppercase] {
112
56
  text-transform: uppercase;
113
57
  }
114
58
 
115
- ${e.mbDown} {
59
+ ${r.mbDown} {
116
60
  &[data-size='lg'] {
117
61
  font-size: 16px;
118
62
  }
119
63
  }
120
- `,k=m.hr`
64
+ `,R=t.hr`
121
65
  border-width: 1px;
122
- border-color: ${_.colors.neutral200};
66
+ border-color: ${e.colors.neutral200};
123
67
  border-style: ${e=>e.dividerType};
124
- `,$=m.div`
68
+ `,k=t.div`
125
69
  position: relative;
126
70
  box-sizing: border-box;
127
- border: 1px solid ${_.colors.gray200};
71
+ border: 1px solid ${e.colors.gray200};
128
72
  background: url('../../../public/bgSvg/arrow-down.svg') no-repeat;
129
73
  background-position: right 16px center;
130
- border-radius: ${_.borderRadius};
74
+ border-radius: ${e.borderRadius};
131
75
 
132
76
  &[data-has-icons='true'] {
133
77
  border: none;
134
- background: ${_.colors.gray100};
78
+ background: ${e.colors.gray100};
135
79
 
136
80
  img,
137
81
  svg {
@@ -169,31 +113,31 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
169
113
  }
170
114
 
171
115
  &:hover {
172
- box-shadow: 0 0 2px 2px ${_.colors.primary200};
116
+ box-shadow: 0 0 2px 2px ${e.colors.primary200};
173
117
  }
174
- `,C=m.div`
118
+ `,$=t.div`
175
119
  padding: 12px 18px 12px 16px;
176
120
  cursor: pointer;
177
121
  &[data-dropdown-open] {
178
122
  padding: 11px 15px 11px 15px;
179
- border: 1px solid ${_.colors.primaryBase};
180
- border-radius: ${_.borderRadius};
181
- box-shadow: 0 0 2px 2px ${_.colors.primary200};
123
+ border: 1px solid ${e.colors.primaryBase};
124
+ border-radius: ${e.borderRadius};
125
+ box-shadow: 0 0 2px 2px ${e.colors.primary200};
182
126
  }
183
127
 
184
128
  & > svg {
185
129
  height: 16px;
186
130
  width: 16px;
187
131
  }
188
- `,P=m.ul`
132
+ `,P=t.ul`
189
133
  position: absolute;
190
134
  top: 100%;
191
135
  right: 0;
192
136
  left: 0;
193
137
  display: block;
194
138
  margin-top: 4px;
195
- background: ${_.colors.white};
196
- border-radius: ${_.borderRadius};
139
+ background: ${e.colors.white};
140
+ border-radius: ${e.borderRadius};
197
141
  box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),
198
142
  -2px 2px 5px rgba(67, 86, 100, 0.123689);
199
143
  cursor: pointer;
@@ -201,19 +145,19 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
201
145
  &[data-has-icons='true'] {
202
146
  background: white;
203
147
  box-shadow: none;
204
- border: 1px solid ${_.colors.gray200};
148
+ border: 1px solid ${e.colors.gray200};
205
149
  filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));
206
150
  }
207
- `,N=m.li`
151
+ `,N=t.li`
208
152
  margin: 8px;
209
153
  padding: 12px 18px 12px 16px;
210
- border-radius: ${_.borderRadius};
154
+ border-radius: ${e.borderRadius};
211
155
  display: flex;
212
156
  &:hover,
213
157
  :active {
214
- background: ${_.colors.gray100};
158
+ background: ${e.colors.gray100};
215
159
  }
216
- `,D=m.div`
160
+ `,C=t.div`
217
161
  display: flex;
218
162
  align-items: center;
219
163
  margin-right: 8px;
@@ -222,25 +166,7 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
222
166
  height: 16px;
223
167
  width: 16px;
224
168
  }
225
- `,G=m.div`
226
- --columns: var(--grid-template-columns, repeat(var(--columns-count), 1fr));
227
- --columns-desktop: var(
228
- --grid-template-columns-desktop,
229
- repeat(var(--columns-count-desktop), 1fr)
230
- );
231
- display: grid;
232
- grid-template-columns: var(--columns);
233
- grid-gap: var(--grid-gap);
234
- align-items: var(--align-items);
235
-
236
- ${e.tdUp} {
237
- grid-template-columns: var(--columns-desktop);
238
- }
239
-
240
- > * {
241
- justify-self: var(--justify-children);
242
- }
243
- `;var M="xzO2I0N";const U=f((()=>({root:{}}))),B=e=>{var t,{as:o,tag:r,className:a,children:i,title:n,color:s,style:l,fontWeight:c,dataEventCategory:p,dataEventAction:u,dataEventLabel:g}=e,h=v(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const m=o||r,{theme:b}=U(void 0,{name:"Heading"});return d.createElement(m,Object.assign({title:n,style:Object.assign({"--custom-heading-color":s||("mb"===(null===(t=null==b?void 0:b.other)||void 0===t?void 0:t.template)?b.colors.gray[9]:b.colors.gray[8])},l),"data-tag":r,"data-font-weight":c||void 0,"data-event-category":p,"data-event-action":u,"data-event-label":g,className:`${M} ${a||""}`},h),i)},z=m.div`
169
+ `;var D="xzO2I0N";const G=v((()=>({root:{}}))),M=e=>{var t,{as:o,tag:r,className:a,children:i,title:n,color:s,style:l,fontWeight:c,dataEventCategory:d,dataEventAction:p,dataEventLabel:g}=e,m=T(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const h=o||r,{theme:_}=G(void 0,{name:"Heading"});return u.createElement(h,Object.assign({title:n,style:Object.assign({"--custom-heading-color":s||("mb"===(null===(t=null==_?void 0:_.other)||void 0===t?void 0:t.template)?_.colors.gray[9]:_.colors.gray[8])},l),"data-tag":r,"data-font-weight":c||void 0,"data-event-category":d,"data-event-action":p,"data-event-label":g,className:`${D} ${a||""}`},m),i)},U=t.div`
244
170
  display: flex;
245
171
  align-items: center;
246
172
  justify-content: space-between;
@@ -249,41 +175,41 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
249
175
  transition: all 0.3s ease;
250
176
  }
251
177
  [data-page-active] {
252
- background: ${_.colors.primaryBase};
253
- color: ${_.colors.white};
178
+ background: ${e.colors.primaryBase};
179
+ color: ${e.colors.white};
254
180
 
255
181
  > a {
256
- color: ${_.colors.white};
182
+ color: ${e.colors.white};
257
183
  }
258
184
  }
259
- `,H=m.div`
185
+ `,B=t.div`
260
186
  display: flex;
261
187
  width: 32px;
262
188
  height: 32px;
263
189
  box-sizing: border-box;
264
190
  align-items: center;
265
191
  justify-content: center;
266
- border: 1px solid ${_.colors.gray200};
192
+ border: 1px solid ${e.colors.gray200};
267
193
  margin: 0 2px;
268
194
  border-radius: 4px;
269
- color: ${_.colors.gray800};
195
+ color: ${e.colors.gray800};
270
196
  cursor: pointer;
271
197
  font-size: 14px;
272
- font-weight: ${_.sizes.fwBold};
198
+ font-weight: ${e.sizes.fwBold};
273
199
 
274
200
  &[data-last-page] {
275
201
  border: none;
276
- background-color: ${_.colors.gray100};
202
+ background-color: ${e.colors.gray100};
277
203
  cursor: not-allowed;
278
204
  pointer-events: none;
279
205
 
280
206
  svg {
281
207
  path {
282
- stroke: ${_.colors.gray300};
208
+ stroke: ${e.colors.gray300};
283
209
  }
284
210
  }
285
211
  }
286
- `,j=m.li`
212
+ `,H=t.li`
287
213
  display: flex;
288
214
  width: 32px;
289
215
  height: 32px;
@@ -291,13 +217,13 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
291
217
  justify-content: center;
292
218
  margin: 0 2px;
293
219
  border-radius: 4px;
294
- color: ${_.colors.gray800};
220
+ color: ${e.colors.gray800};
295
221
  cursor: pointer;
296
222
  font-size: 14px;
297
- font-weight: ${_.sizes.fwBold};
223
+ font-weight: ${e.sizes.fwBold};
298
224
 
299
225
  > a {
300
- color: ${_.colors.gray800};
226
+ color: ${e.colors.gray800};
301
227
  text-decoration: unset;
302
228
  display: block;
303
229
  width: 100%;
@@ -305,31 +231,31 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
305
231
  line-height: 32px;
306
232
  text-align: center;
307
233
  }
308
- `,F=m.div`
234
+ `,z=t.div`
309
235
  position: relative;
310
236
  width: 100%;
311
237
 
312
238
  &[data-has-error] {
313
239
  input {
314
- border-color: ${_.colors.red700};
240
+ border-color: ${e.colors.red700};
315
241
  }
316
242
  }
317
243
 
318
244
  input {
319
245
  width: 100%;
320
246
  padding: 12px 16px;
321
- border: solid 1px ${_.colors.gray200};
322
- border-radius: ${_.borderRadius};
247
+ border: solid 1px ${e.colors.gray200};
248
+ border-radius: ${e.borderRadius};
323
249
 
324
250
  &:active,
325
251
  &:focus,
326
252
  .focused & {
327
- border-color: ${_.colors.primaryBase};
328
- box-shadow: 0px 0px 2px 2px ${_.colors.primary200};
253
+ border-color: ${e.colors.primaryBase};
254
+ box-shadow: 0px 0px 2px 2px ${e.colors.primary200};
329
255
  }
330
256
 
331
257
  &:disabled {
332
- background-color: ${_.colors.gray100};
258
+ background-color: ${e.colors.gray100};
333
259
  cursor: not-allowed;
334
260
  }
335
261
  }
@@ -354,13 +280,13 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
354
280
  &[data-size='lg'] {
355
281
  input {
356
282
  font-size: 16px;
357
- font-weight: ${_.sizes.fwRegular};
358
- ${e.mbDown} {
283
+ font-weight: ${e.sizes.fwRegular};
284
+ ${r.mbDown} {
359
285
  font-size: 22px;
360
286
  line-height: 1.2;
361
287
  }
362
288
 
363
- ${e.mbUp} {
289
+ ${r.mbUp} {
364
290
  font-size: 26px;
365
291
  line-height: 1.2;
366
292
  }
@@ -368,13 +294,13 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
368
294
  }
369
295
  &[data-size='md'] {
370
296
  input {
371
- font-weight: ${_.sizes.fwRegular};
372
- ${e.mbDown} {
297
+ font-weight: ${e.sizes.fwRegular};
298
+ ${r.mbDown} {
373
299
  font-size: 14px;
374
300
  line-height: 1.2;
375
301
  }
376
302
 
377
- ${e.mbUp} {
303
+ ${r.mbUp} {
378
304
  font-size: 16px;
379
305
  line-height: 1.2;
380
306
  }
@@ -382,41 +308,41 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
382
308
  }
383
309
  &[data-size='sm'] {
384
310
  input {
385
- font-weight: ${_.sizes.fwRegular};
386
- ${e.mbDown} {
311
+ font-weight: ${e.sizes.fwRegular};
312
+ ${r.mbDown} {
387
313
  font-size: 13px;
388
314
  line-height: 1.5;
389
315
  }
390
316
 
391
- ${e.mbUp} {
317
+ ${r.mbUp} {
392
318
  font-size: 13px;
393
319
  line-height: 1.5;
394
320
  }
395
321
  }
396
322
  }
397
- `;m.label`
323
+ `;t.label`
398
324
  display: inline-block;
399
325
  margin-bottom: 4px;
400
- color: ${_.colors.gray600};
401
- font-weight: ${_.sizes.fwBold};
402
- `;const K=m.label`
403
- color: ${_.colors.red700};
404
- font-weight: ${_.sizes.fwRegular};
405
- `,V=m.div`
326
+ color: ${e.colors.gray600};
327
+ font-weight: ${e.sizes.fwBold};
328
+ `;const j=t.label`
329
+ color: ${e.colors.red700};
330
+ font-weight: ${e.sizes.fwRegular};
331
+ `,F=t.div`
406
332
  position: absolute;
407
333
  top: 50%;
408
334
  right: 16px;
409
335
  display: inline-flex;
410
336
  cursor: pointer;
411
337
  transform: translateY(-50%);
412
- `,Y=m.div`
338
+ `,K=t.div`
413
339
  position: absolute;
414
340
  top: 50%;
415
341
  left: 16px;
416
342
  display: inline-flex;
417
343
  cursor: default;
418
344
  transform: translateY(-50%);
419
- `,W=d.forwardRef(((e,t)=>{var{name:o,errorMessage:r,autoComplete:a="off",defaultValue:i,actionIcon:n,displayIcon:s,isDeleteAction:l,onActionClick:p,label:u,placeholder:g,className:h,onChange:m,onKeyPress:b,isDisabled:_,CustomInput:E,size:x,style:f,autoFocus:w,type:y="text",isNumerousKeyboard:O=!1,onFocus:A,enterKeyHint:I,nativeOnChange:L}=e,S=v(e,["name","errorMessage","autoComplete","defaultValue","actionIcon","displayIcon","isDeleteAction","onActionClick","label","placeholder","className","onChange","onKeyPress","isDisabled","CustomInput","size","style","autoFocus","type","isNumerousKeyboard","onFocus","enterKeyHint","nativeOnChange"]);const[R,k]=c(i);return d.createElement(F,{"data-size":x,className:h,"data-has-action-icon":!!n||void 0,"data-has-display-icon":!!s||void 0,"data-has-error":r&&r.length>0||void 0,style:f},u&&d.createElement(T,{size:"label2",htmlFor:o,className:"inputLabel"},u),d.createElement("div",{style:{position:"relative"}},E||d.createElement("input",Object.assign({id:o,name:o,placeholder:g,onChange:null!=L?L:e=>{return t=e.target.value,k(t),void m(t);var t},onKeyPress:b,type:y,"aria-label":y,disabled:_,value:R,autoComplete:a,ref:t,autoFocus:w,inputMode:O||"number"===y?"numeric":y,pattern:O?"[0-9]*":".*",onFocus:A,enterKeyHint:I},S)),s&&d.createElement(Y,{className:"displayIcon"},s),n&&d.createElement(V,{className:"actionIcon",onClick:()=>{var e;l&&(k(""),null===(e=t.current)||void 0===e||e.focus()),p&&p()}},n)),r&&r.length>0&&d.createElement(K,{className:"errorLabel"},r))}));W.displayName="PureInput";const X=m.div`
345
+ `,V=u.forwardRef(((e,t)=>{var{name:o,errorMessage:r,autoComplete:a="off",defaultValue:i,actionIcon:n,displayIcon:s,isDeleteAction:l,onActionClick:c,label:d,placeholder:p,className:m,onChange:h,onKeyPress:_,isDisabled:b,CustomInput:E,size:f,style:v,autoFocus:x,type:y="text",isNumerousKeyboard:O=!1,onFocus:A,enterKeyHint:I,nativeOnChange:L}=e,S=T(e,["name","errorMessage","autoComplete","defaultValue","actionIcon","displayIcon","isDeleteAction","onActionClick","label","placeholder","className","onChange","onKeyPress","isDisabled","CustomInput","size","style","autoFocus","type","isNumerousKeyboard","onFocus","enterKeyHint","nativeOnChange"]);const[R,k]=g(i);return u.createElement(z,{"data-size":f,className:m,"data-has-action-icon":!!n||void 0,"data-has-display-icon":!!s||void 0,"data-has-error":r&&r.length>0||void 0,style:v},d&&u.createElement(w,{size:"label2",htmlFor:o,className:"inputLabel"},d),u.createElement("div",{style:{position:"relative"}},E||u.createElement("input",Object.assign({id:o,name:o,placeholder:p,onChange:null!=L?L:e=>{return t=e.target.value,k(t),void h(t);var t},onKeyPress:_,type:y,"aria-label":y,disabled:b,value:R,autoComplete:a,ref:t,autoFocus:x,inputMode:O||"number"===y?"numeric":y,pattern:O?"[0-9]*":".*",onFocus:A,enterKeyHint:I},S)),s&&u.createElement(K,{className:"displayIcon"},s),n&&u.createElement(F,{className:"actionIcon",onClick:()=>{var e;l&&(k(""),null===(e=t.current)||void 0===e||e.focus()),c&&c()}},n)),r&&r.length>0&&u.createElement(j,{className:"errorLabel"},r))}));V.displayName="PureInput";const Y=t.div`
420
346
  --padding-horizontal: 8px;
421
347
  --pading-vertical: 2px;
422
348
  display: flex;
@@ -425,17 +351,17 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
425
351
  padding: var(--pading-vertical) var(--padding-horizontal);
426
352
  border-radius: 24px;
427
353
 
428
- ${e=>"sponsored"===e.tagType&&`\n --offset-size: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: content-box;\n position: relative;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);\n border-radius: 0 4px 18px 0;\n height: 24px;\n width: 90px;\n border-left: var(--offset-size) solid ${_.colors.accentLight};\n padding: 0;\n margin-left: calc(var(--offset-size) * -1);\n\n p {\n font-weight: ${_.sizes.fwBold};\n color: var(\n --text-props-color,\n ${_.colors.secondaryDark}\n );\n font-size: 11px;\n margin-left: calc(var(--offset-size) * -1);\n }\n\n &::after {\n width: calc(var(--offset-size) * 2);\n height: var(--offset-size);\n background: ${_.colors.accentMain};\n position: absolute;\n left: calc(var(--offset-size) * -1);\n bottom: calc(var(--offset-size) * -1);\n clip-path: polygon(0 1%, 100% 0%, 100% 100%);\n content: '';\n }\n `}
354
+ ${t=>"sponsored"===t.tagType&&`\n --offset-size: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: content-box;\n position: relative;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);\n border-radius: 0 4px 18px 0;\n height: 24px;\n width: 90px;\n border-left: var(--offset-size) solid ${e.colors.accentLight};\n padding: 0;\n margin-left: calc(var(--offset-size) * -1);\n\n p {\n font-weight: ${e.sizes.fwBold};\n color: var(\n --text-props-color,\n ${e.colors.secondaryDark}\n );\n font-size: 11px;\n margin-left: calc(var(--offset-size) * -1);\n }\n\n &::after {\n width: calc(var(--offset-size) * 2);\n height: var(--offset-size);\n background: ${e.colors.accentMain};\n position: absolute;\n left: calc(var(--offset-size) * -1);\n bottom: calc(var(--offset-size) * -1);\n clip-path: polygon(0 1%, 100% 0%, 100% 100%);\n content: '';\n }\n `}
429
355
 
430
356
  ${e=>e.isInline&&"\n display: inline-block;\n "}
431
357
 
432
358
  ${e=>e.tagHasMorePadding&&"\n &[data-has-more-padding] {\n padding: calc(var(--pading-vertical) + 5px) var(--padding-horizontal);\n }\n "}
433
359
 
434
360
  p {
435
- ${e=>e.tagIsLight?"\n color: var(--text-props-color, #000);\n ":`\n color: var(--text-props-color, ${_.colors.white});\n `}
361
+ ${t=>t.tagIsLight?"\n color: var(--text-props-color, #000);\n ":`\n color: var(--text-props-color, ${e.colors.white});\n `}
436
362
  }
437
363
 
438
- ${e=>((e,t)=>{switch(e){case"yellow":return`\n background: ${t?_.colors.yellow50:_.colors.yellow600};\n p {\n color: var(\n --text-props-color,\n ${_.colors.gray800}\n );\n }\n `;case"standard":return`\n background: ${_.colors.white};\n border: 1px solid ${_.colors.gray200};\n \n p {\n color: var(\n --text-props-color,\n ${_.colors.gray800}\n );\n }\n \n &:hover {\n background: ${_.colors.gray100};\n }\n `;case"red":return`\n background: ${t?_.colors.red50:_.colors.red500};\n `;case"green":return`\n background: ${t?_.colors.green50:_.colors.green500};\n `;case"blue":return`\n background: ${t?_.colors.primary50:_.colors.primaryBase};\n `;case"teal":return`\n background: ${t?_.colors.teal100:_.colors.teal600};\n `;case"pink":return`\n background: ${t?_.colors.pink200:_.colors.pink800};\n `;case"violet":return`\n background: ${t?_.colors.violet100:_.colors.violet500};\n `;case"grey":return`\n background: ${t?_.colors.gray100:_.colors.gray600};\n `}})(e.tagType,e.tagIsLight)}
364
+ ${t=>((t,o)=>{switch(t){case"yellow":return`\n background: ${o?e.colors.yellow50:e.colors.yellow600};\n p {\n color: var(\n --text-props-color,\n ${e.colors.gray800}\n );\n }\n `;case"standard":return`\n background: ${e.colors.white};\n border: 1px solid ${e.colors.gray200};\n \n p {\n color: var(\n --text-props-color,\n ${e.colors.gray800}\n );\n }\n \n &:hover {\n background: ${e.colors.gray100};\n }\n `;case"red":return`\n background: ${o?e.colors.red50:e.colors.red500};\n `;case"green":return`\n background: ${o?e.colors.green50:e.colors.green500};\n `;case"blue":return`\n background: ${o?e.colors.primary50:e.colors.primaryBase};\n `;case"teal":return`\n background: ${o?e.colors.teal100:e.colors.teal600};\n `;case"pink":return`\n background: ${o?e.colors.pink200:e.colors.pink800};\n `;case"violet":return`\n background: ${o?e.colors.violet100:e.colors.violet500};\n `;case"grey":return`\n background: ${o?e.colors.gray100:e.colors.gray600};\n `}})(t.tagType,t.tagIsLight)}
439
365
 
440
366
  ${e=>e.tagIsSquared&&"sponsored"!==e.tagType&&"\n border-radius: 4px;\n "}
441
367
 
@@ -443,13 +369,13 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
443
369
 
444
370
  &[data-is-selected],
445
371
  &:active {
446
- background: ${_.colors.primary50};
372
+ background: ${e.colors.primary50};
447
373
  }
448
- `,q=(e,t)=>p(((o,r)=>{var{className:a}=o,i=v(o,["className"]);return d.createElement(e,Object.assign({ref:r,className:`${t} ${a||""}`},i))})),J="24px",Q="hhgcomp-toggle-icon",Z=q(m.span`
374
+ `,W=(e,t)=>m(((o,r)=>{var{className:a}=o,i=T(o,["className"]);return u.createElement(e,Object.assign({ref:r,className:`${t} ${a||""}`},i))})),X="24px",q="hhgcomp-toggle-icon",J=W(t.span`
449
375
  position: relative;
450
376
  display: block;
451
377
  width: 40px;
452
- height: ${J};
378
+ height: ${X};
453
379
  background: #c3cbd4;
454
380
  border-radius: 100px;
455
381
  cursor: pointer;
@@ -465,10 +391,10 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
465
391
  content: '';
466
392
  transition: 0.3s;
467
393
  }
468
- `,Q),ee=m.span`
394
+ `,q),Q=t.span`
469
395
  padding-left: 15px;
470
- `,te=m.div`
471
- height: ${J};
396
+ `,Z=t.div`
397
+ height: ${X};
472
398
 
473
399
  input[type='checkbox'] {
474
400
  width: 0;
@@ -479,24 +405,24 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
479
405
  label {
480
406
  cursor: pointer;
481
407
  display: inline-flex;
482
- color: ${_.colors.gray600};
408
+ color: ${e.colors.gray600};
483
409
  }
484
410
 
485
- input:checked + label .${Q} {
486
- background: ${_.colors.primaryBase};
411
+ input:checked + label .${q} {
412
+ background: ${e.colors.primaryBase};
487
413
  &:after {
488
414
  left: calc(100% - 2px);
489
415
  transform: translateX(-100%);
490
416
  }
491
417
  }
492
- `,oe=m.div`
418
+ `,ee=t.div`
493
419
  textarea {
494
420
  width: 100%;
495
421
  height: var(--textarea-height, 116px);
496
422
  padding: 1rem;
497
- border: 1px solid ${_.colors.gray200};
423
+ border: 1px solid ${e.colors.gray200};
498
424
  border-radius: 6px;
499
- color: ${_.colors.gray800};
425
+ color: ${e.colors.gray800};
500
426
  font-size: 14px;
501
427
  resize: none;
502
428
 
@@ -505,139 +431,15 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
505
431
  }
506
432
 
507
433
  &::placeholder {
508
- color: ${_.colors.gray500};
434
+ color: ${e.colors.gray500};
509
435
  }
510
436
 
511
437
  &:disabled {
512
- background-color: ${_.colors.neutral50};
438
+ background-color: ${e.colors.neutral50};
513
439
  cursor: not-allowed;
514
440
  }
515
441
  }
516
- `,re=d.forwardRef((({height:e,placeholder:t,labelText:o,labelColor:r,id:a,name:i,onChange:n,value:s,className:l,onKeyPress:c,disabled:p=!1},u)=>d.createElement(oe,{className:l,style:{"--textarea-height":e||"116px"}},o&&d.createElement(T,{size:"label2",style:{color:r||"#595959"},htmlFor:a},o),d.createElement("textarea",{name:i,ref:u,placeholder:t,id:a,onChange:e=>n&&n(e.target.value),onKeyPress:e=>c&&c(e),value:s,disabled:p})))),ae=m.div`
517
- display: flex;
518
- cursor: pointer;
519
-
520
- &[data-theme='marryBaby'] {
521
- input {
522
- width: 20px;
523
- height: 20px;
524
- border: 1.3px solid ${_.mbColors.midGray};
525
- border-radius: 9px;
526
-
527
- cursor: inherit;
528
- transition: border-color 0.4s, box-shadow 0.4s;
529
-
530
- &:hover,
531
- &:active {
532
- border-color: ${_.mbColors.cobalt};
533
- box-shadow: 0 0 2px 2px ${_.mbColors.cobalt};
534
- }
535
-
536
- &:focus-visible {
537
- border: 2px solid ${_.mbColors.cobalt};
538
- }
539
-
540
- &:checked {
541
- border: 0;
542
- background: ${_.mbColors.cobalt}
543
- url("data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
544
- no-repeat center center;
545
- }
546
- }
547
-
548
- label {
549
- max-width: 15rem;
550
- margin-left: 8px;
551
- width: calc(100% - 24px);
552
- cursor: inherit;
553
- font-weight: 600;
554
- font-size: 12px;
555
- line-height: 20px;
556
- letter-spacing: -0.2px;
557
- color: ${_.mbColors.gray};
558
- }
559
- }
560
- input {
561
- width: 20px;
562
- height: 20px;
563
- border: solid 1px ${_.colors.gray500};
564
- border-radius: 2px;
565
-
566
- cursor: inherit;
567
- transition: border-color 0.4s, box-shadow 0.4s;
568
-
569
- &:hover,
570
- &:active {
571
- border-color: ${_.colors.primaryBase};
572
- box-shadow: 0 0 2px 2px ${_.colors.primary200};
573
- }
574
-
575
- &:focus-visible {
576
- border: 2px solid ${_.colors.primaryActive};
577
- }
578
-
579
- &:checked {
580
- border: 0;
581
- background: ${_.colors.primaryBase}
582
- url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
583
- no-repeat center center;
584
- }
585
- }
586
-
587
- label {
588
- max-width: 15rem;
589
- margin-left: 8px;
590
- font-weight: ${_.sizes.fwRegular};
591
- width: calc(100% - 24px);
592
- cursor: inherit;
593
-
594
- ${e.mbDown} {
595
- font-size: 14px;
596
- line-height: 24px;
597
- }
598
-
599
- ${e.mbUp} {
600
- font-size: 16px;
601
- line-height: 22px;
602
- }
603
- }
604
-
605
- &[data-is-rectangle] > input {
606
- position: relative;
607
- width: unset;
608
- height: unset;
609
- padding: 5px 12px;
610
- border: 1px solid ${_.colors.neutral100};
611
- border-radius: 32px;
612
-
613
- &::after {
614
- color: ${_.colors.gray800};
615
- content: attr(data-label-text);
616
- font-size: 13px;
617
- }
618
- &:checked {
619
- border-color: ${_.colors.primary50};
620
- &::after {
621
- color: ${_.colors.primaryBase};
622
- }
623
- }
624
- &:checked {
625
- background: ${_.colors.primary50};
626
- }
627
- }
628
-
629
- &[data-disabled] {
630
- color: ${_.colors.gray300};
631
- cursor: not-allowed;
632
- input {
633
- border-color: ${_.colors.gray300};
634
- &:hover {
635
- border-color: ${_.colors.gray300};
636
- box-shadow: none;
637
- }
638
- }
639
- }
640
- `,ie=m.div`
442
+ `,te=u.forwardRef((({height:e,placeholder:t,labelText:o,labelColor:r,id:a,name:i,onChange:n,value:s,className:l,onKeyPress:c,disabled:d=!1},p)=>u.createElement(ee,{className:l,style:{"--textarea-height":e||"116px"}},o&&u.createElement(w,{size:"label2",style:{color:r||"#595959"},htmlFor:a},o),u.createElement("textarea",{name:i,ref:p,placeholder:t,id:a,onChange:e=>n&&n(e.target.value),onKeyPress:e=>c&&c(e),value:s,disabled:d})))),oe=t.div`
641
443
  display: inline-flex;
642
444
 
643
445
  gap: calc(var(--gap) * 1px);
@@ -651,12 +453,12 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
651
453
  cursor: pointer;
652
454
  }
653
455
  }
654
- `,ne="600ms",se=m.div`
456
+ `,re="600ms",ae=t.div`
655
457
  position: fixed;
656
458
  inset: 0;
657
- z-index: ${_.zIndexes.drawer};
459
+ z-index: ${e.zIndexes.drawer};
658
460
  pointer-events: ${e=>e.open?"auto":"none"};
659
- `,le=m.div`
461
+ `,ie=t.div`
660
462
  position: fixed;
661
463
  z-index: 300;
662
464
  background: #ffffff;
@@ -669,8 +471,8 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
669
471
  align-items: center;
670
472
  justify-content: space-between;
671
473
  padding: 16px;
672
- ${e=>e.hasTitle?b`
673
- border-bottom: 1px solid ${_.colors.neutral100};
474
+ ${t=>t.hasTitle?o`
475
+ border-bottom: 1px solid ${e.colors.neutral100};
674
476
  `:null}
675
477
  }
676
478
 
@@ -678,94 +480,73 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
678
480
  margin-left: auto;
679
481
  }
680
482
 
681
- ${e=>((e,d)=>{switch(e){case"top":return b`
483
+ ${e=>((e,t)=>{switch(e){case"top":return o`
682
484
  top: 0;
683
485
  width: 100%;
684
486
  border-radius: 0px 0px 6px 6px;
685
- ${d?b`
686
- animation: ${s} ${ne} ease-in-out forwards;
487
+ ${t?o`
488
+ animation: ${d} ${re} ease-in-out forwards;
687
489
  `:null}
688
490
 
689
491
  &.slideOut {
690
- animation: ${l} ${ne} ease-in-out forwards;
492
+ animation: ${p} ${re} ease-in-out forwards;
691
493
  }
692
- `;case"right":return b`
494
+ `;case"right":return o`
693
495
  right: 0;
694
496
  height: 100%;
695
497
  min-width: 300px;
696
498
  border-radius: 6px 0px 0px 6px;
697
499
 
698
- ${d?b`
699
- animation: ${i} ${ne} ease-in-out forwards;
500
+ ${t?o`
501
+ animation: ${l} ${re} ease-in-out forwards;
700
502
  `:null}
701
503
 
702
504
  &.slideOut {
703
- animation: ${n} ${ne} ease-in-out forwards;
505
+ animation: ${c} ${re} ease-in-out forwards;
704
506
  }
705
- `;case"bottom":return b`
507
+ `;case"bottom":return o`
706
508
  bottom: 0;
707
509
  width: 100%;
708
510
  border-radius: 6px 6px 0px 0px;
709
- ${d?b`
710
- animation: ${t} ${ne} ease-in-out forwards;
511
+ ${t?o`
512
+ animation: ${a} ${re} ease-in-out forwards;
711
513
  `:null}
712
514
 
713
515
  &.slideOut {
714
- animation: ${o} ${ne} ease-in-out forwards;
516
+ animation: ${i} ${re} ease-in-out forwards;
715
517
  }
716
- `;case"left":return b`
518
+ `;case"left":return o`
717
519
  left: 0;
718
520
  height: 100%;
719
521
  min-width: 300px;
720
522
  border-radius: 0px 6px 6px 0px;
721
523
 
722
- ${d?b`
723
- animation: ${r} ${ne} ease-in-out forwards;
524
+ ${t?o`
525
+ animation: ${n} ${re} ease-in-out forwards;
724
526
  `:null}
725
527
 
726
528
  &.slideOut {
727
- animation: ${a} ${ne} ease-in-out forwards;
529
+ animation: ${s} ${re} ease-in-out forwards;
728
530
  }
729
- `;default:return b`
531
+ `;default:return o`
730
532
  left: 0;
731
533
  height: 100%;
732
534
  min-width: 300px;
733
535
  border-radius: 0px 6px 6px 0px;
734
536
 
735
- ${d?b`
736
- animation: ${t} ${ne} ease-in-out forwards;
537
+ ${t?o`
538
+ animation: ${a} ${re} ease-in-out forwards;
737
539
  `:null}
738
540
 
739
541
  &.slideOut {
740
- animation: ${o} ${ne} ease-in-out forwards;
542
+ animation: ${i} ${re} ease-in-out forwards;
741
543
  }
742
544
  `}})(e.placement,e.open)}
743
- `,de=m.div`
545
+ `,ne=t.div`
744
546
  min-height: 200px;
745
547
  padding: 16px;
746
548
  overflow-y: auto;
747
- `,ce=m.div`
748
- position: fixed;
749
- inset: 0;
750
- display: flex;
751
- align-items: center;
752
- justify-content: center;
753
- width: 100%;
754
- height: 100%;
755
- overflow-x: hidden;
756
- overflow-y: auto;
757
- outline: 0;
758
- background-color: rgba(38, 38, 38, 0.3);
759
- z-index: 1;
760
- &[data-open='false'] {
761
- visibility: hidden;
762
- pointer-events: none;
763
- }
764
- &[data-open='true'] {
765
- visibility: visible;
766
- pointer-events: auto;
767
- }
768
- `,pe=m.div`
549
+ `,se=t.div`
769
550
  display: flex;
770
551
  width: 100%;
771
552
 
@@ -776,12 +557,12 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
776
557
  &[data-direction='horizontal'] {
777
558
  flex-wrap: wrap;
778
559
  }
779
- `,ue=m.div`
560
+ `,le=t.div`
780
561
  display: flex;
781
562
 
782
563
  padding: 8px;
783
564
 
784
- border-radius: ${_.borderRadius};
565
+ border-radius: ${e.borderRadius};
785
566
  cursor: pointer;
786
567
 
787
568
  & > div {
@@ -810,7 +591,7 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
810
591
  padding: 16px auto;
811
592
 
812
593
  &[data-selected='true'] {
813
- border: 1px solid ${_.mbColors.mint};
594
+ border: 1px solid ${e.mbColors.mint};
814
595
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06);
815
596
  }
816
597
  &[data-selected='false'] {
@@ -836,11 +617,11 @@ import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d a
836
617
  height: 40px;
837
618
  }
838
619
  }
839
- `;var ge=f((e=>({root:{display:"inline-block",flexShrink:0,padding:"2px 0.5rem",marginLeft:"4px",borderRadius:e.radius.xs,fontSize:"12px",fontWeight:400,lineHeight:"18px",'&[data-label-type="admin"]':{background:e.primaryColor[0],color:e.primaryColor[9]},'&[data-label-type="local admin"]':{background:e.primaryColor[8]},'&[data-label-type="ambassador"]':{background:e.colors.green[4]},'&[data-label-type="expert"]':{background:e.colors.yellow[6]},'&[data-label-type="moderator"]':{background:e.colors.red[0],color:e.colors.red[8]},'&[data-label-type="sponsor"]':{background:e.colors.teal[4]},'&[data-label-type="guide"]':{background:e.colors.teal[4]},'&[data-label-type="influencer"]':{background:e.colors.teal[4]}}})));const he=u({currentStep:0,setCurrentStep:()=>!1,setMaxStep:()=>!1,nextStep:()=>!1,prevStep:()=>!1}),me=({children:e,onStepChange:t})=>{const[o,r]=c(0),[a,i]=c(0),n=d.Children.count(e);g((()=>{i(n-1)}),[n]),g((()=>{null==t||t(o)}),[o]);return d.createElement(he.Provider,{value:{currentStep:o,setCurrentStep:r,setMaxStep:i,nextStep:()=>o+1<=a&&r(o+1),prevStep:()=>o-1>=0&&r(o-1)}},y(e).map(((e,t)=>{const r=t===o;return d.createElement(h,{key:t},d.isValidElement(e)?e.props.alwaysRender||r?d.cloneElement(e,{isActive:t===o,stepIndex:t}):null:r?e:null)})))};
620
+ `;var ce=v((e=>({root:{display:"inline-block",flexShrink:0,padding:"2px 0.5rem",marginLeft:"4px",borderRadius:e.radius.xs,fontSize:"12px",fontWeight:400,lineHeight:"18px",'&[data-label-type="admin"]':{background:e.primaryColor[0],color:e.primaryColor[9]},'&[data-label-type="local admin"]':{background:e.primaryColor[8]},'&[data-label-type="ambassador"]':{background:e.colors.green[4]},'&[data-label-type="expert"]':{background:e.colors.yellow[6]},'&[data-label-type="moderator"]':{background:e.colors.red[0],color:e.colors.red[8]},'&[data-label-type="sponsor"]':{background:e.colors.teal[4]},'&[data-label-type="guide"]':{background:e.colors.teal[4]},'&[data-label-type="influencer"]':{background:e.colors.teal[4]}}})));const de=h({currentStep:0,setCurrentStep:()=>!1,setMaxStep:()=>!1,nextStep:()=>!1,prevStep:()=>!1}),pe=({children:e,onStepChange:t})=>{const[o,r]=g(0),[a,i]=g(0),n=u.Children.count(e);_((()=>{i(n-1)}),[n]),_((()=>{null==t||t(o)}),[o]);return u.createElement(de.Provider,{value:{currentStep:o,setCurrentStep:r,setMaxStep:i,nextStep:()=>o+1<=a&&r(o+1),prevStep:()=>o-1>=0&&r(o-1)}},y(e).map(((e,t)=>{const r=t===o;return u.createElement(b,{key:t},u.isValidElement(e)?e.props.alwaysRender||r?u.cloneElement(e,{isActive:t===o,stepIndex:t}):null:r?e:null)})))};
840
621
  /*!
841
622
  * cookie
842
623
  * Copyright(c) 2012-2014 Roman Shtylman
843
624
  * Copyright(c) 2015 Douglas Christopher Wilson
844
625
  * MIT Licensed
845
626
  */
846
- var be=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var o={},r=(t||{}).decode||xe,a=0;for(;a<e.length;){var i=e.indexOf("=",a);if(-1===i)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<i){a=e.lastIndexOf(";",i-1)+1;continue}var s=e.slice(a,i).trim();if(void 0===o[s]){var l=e.slice(i+1,n).trim();34===l.charCodeAt(0)&&(l=l.slice(1,-1)),o[s]=we(l,r)}a=n+1}return o},_e=function(e,t,o){var r=o||{},a=r.encode||fe;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ve.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!ve.test(i))throw new TypeError("argument val is invalid");var n=e+"="+i;if(null!=r.maxAge){var s=r.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(s)}if(r.domain){if(!ve.test(r.domain))throw new TypeError("option domain is invalid");n+="; Domain="+r.domain}if(r.path){if(!ve.test(r.path))throw new TypeError("option path is invalid");n+="; Path="+r.path}if(r.expires){var l=r.expires;if(!function(e){return"[object Date]"===Ee.call(e)||e instanceof Date}(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+l.toUTCString()}r.httpOnly&&(n+="; HttpOnly");r.secure&&(n+="; Secure");if(r.priority){switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":n+="; Priority=Low";break;case"medium":n+="; Priority=Medium";break;case"high":n+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return n},Ee=Object.prototype.toString,ve=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function xe(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function fe(e){return encodeURIComponent(e)}function we(e,t){try{return t(e)}catch(t){return e}}var Te={parse:be,serialize:_e};const ye={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"},HEALTH_TOOL:{CREATE:"health-profile/{type}/create?website_url={website_url}",GET_STATUS:"health-profile/get-status-for-user?website_url={website_url}"}},Oe={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},Ae={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},Ie={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Le={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},Se=u({data:Le,action:{pushNotifications:e=>e,sanitizeFunction:e=>e},formatMessage:()=>null});let Re=Le;const ke=({locale:e="vi-VN",children:t,userInfo:o,router:r,env:a={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:i=(e=>e),pushNotifications:n=(()=>!1),formatMessage:s})=>{const[l,p]=c();return Re={userInfo:o,locale:e,togetherUserId:l,router:r,env:a},g((()=>{(null==o?void 0:o.id)&&nt(Je(ye.PROFILE,{_locale:e}),"GET").then((e=>{var t;p(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==o?void 0:o.id]),d.createElement(Se.Provider,{value:{data:{userInfo:o,locale:e,togetherUserId:l,router:r,env:a},action:{pushNotifications:n,sanitizeFunction:i},formatMessage:s}},t)},$e="DD/MM/YYYY",Ce="/images/avatar.jpg",Pe="/images/default-image.jpg",Ne={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},De={"id-ID":{"kalkulator-bmi":Ne.BMI,"kebutuhan-kalori":Ne.BMR,"kalkulator-hari-perkiraan-lahir":Ne.DUE_DATE,"kalkulator-masa-subur-2":Ne.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":Ne.PWG,"kalkulator-detak-jantung-saat-olahraga":Ne.THR},"ms-MY":{"kalkulator-bmi":Ne.BMI,"kalkulator-bmr":Ne.BMR,"kalkulator-tarikh-bersalin":Ne.DUE_DATE,"kalkulator-kesuburan":Ne.OVULATION,"kalkulator-tambah-berat-badan-hamil":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"vi-VN":{"cach-tinh-chi-so-bmi":Ne.BMI,"tinh-chi-so-bmr":Ne.BMR,"cong-cu-tinh-ngay-du-sinh":Ne.DUE_DATE,"tinh-ngay-rung-trung":Ne.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":Ne.PWG,"cong-cu-do-nhip-tim":Ne.THR},"zh-TW":{"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"due-date-calculator":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnancy-weight-gain-calculator":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"en-PH":{"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"due-date-calculator":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnancy-weight-gain-calculator":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":Ne.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":Ne.BMR,"เครื่องมือคำนวณกำหนดคลอด":Ne.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":Ne.OVULATION,"เครื่องคำนวณน้ำหนักตัว":Ne.PWG,"เครื่องวัดอัตราการเต้น":Ne.THR},"hi-IN":{"bmi-calculator-en":Ne.BMI,"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"delivery-date-calculator":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnancy-weight-gain-calculator":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"km-KH":{"គណនា-bmi":Ne.BMI,"គណនា-bmr":Ne.BMR,"គណនាថ្ងៃសម្រាលកូន":Ne.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":Ne.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":Ne.PWG,"គណនារកចង្វាក់បេះដូងល្អ":Ne.THR},"my-MM":{"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"due-date-calendar":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnaancy-weight-calculator":Ne.PWG,"target-heartrate":Ne.THR,"pregnancy-weight-calculator":Ne.PWG,"target-heart-rate":Ne.THR}},Ge="hhg_user_token",Me="together_admin_token",Ue={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},Be="hhg-id",ze={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},He=20,je={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}};var Fe=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:$e,DEFAULT_AVATAR_IMG:Ce,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:Pe,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:Ne,LOCALE_HEALTH_TOOLS:De,BEARER_TOKEN_COOKIE:Ge,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:Me,Z_INDEX:Ue,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:Be,GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:ze,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:je});const Ke={"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"},Ve={"vi-VN":"marrybaby.vn"},Ye=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",We=e=>{const{env:{isMarryBaby:t}}=Re;return`https://${t?Ve[e]:Ke[e]}`},Xe=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},qe=e=>{const{env:{isMarryBaby:t}}=Re;if("undefined"!=typeof window)return window.location.origin;const o="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${o?t?"fe.":"discover.":t?"www.":""}${Ke[e]}`},Je=(e,t,o,r)=>{let a="";o&&(a=Object.keys(o).map((e=>e+"="+o[e])).join("&"));const{togetherBaseApiUrl:i=""}=(null==Re?void 0:Re.env)||{};let n=I(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:We(String(t._locale))}:{}),t));n+=`${n.includes("?")?"&":"?"}${a}`;return(r||i)+"api/v1/"+Xe(n)},Qe=(e,t,o)=>{const{discoverBaseApiUrl:r="",discoverBaseProdApiUrl:a=""}=(null==Re?void 0:Re.env)||{};return(!E&&o?a:r)+"wp-json/api/"+Xe(I(e,Object.assign({},t)))},Ze=(e,t,o)=>{const{marryBabyApiUrl:r="",marryBabyProdApiUrl:a=""}=(null==Re?void 0:Re.env)||{};return(o&&!E?a:r)+"wp-json/api/"+Xe(I(e,Object.assign({},t)))},et=(e,t)=>{const{careBaseApiUrl:o=""}=(null==Re?void 0:Re.env)||{};return(o||"https://service-health-care.hellohealthgroup.com/")+Xe(I(e,Object.assign({},t)))},tt=(e,t)=>{const{premiumBaseApiUrl:o=""}=(null==Re?void 0:Re.env)||{};return(o||"https://premium-content-stag.hellohealthgroup.com/")+Xe(I(e,Object.assign({},t)))},ot=(e,t)=>{const{publicSSO:o=""}=(null==Re?void 0:Re.env)||{};return(o||"https://staging-id.hellobacsi.com/")+"api/"+Xe(I(e,Object.assign({},t)))},rt=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),at=(e,t,o,r=!1)=>x(void 0,void 0,void 0,(function*(){var a,i,n,s;try{const a=yield fetch(r?e:(s=e,encodeURI(s).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},rt(o)),{headers:Object.assign({},null==o?void 0:o.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(i=null==t?void 0:t.response)||void 0===i?void 0:i.statusText}),(null===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),it=(e,t="GET",o,r)=>x(void 0,void 0,void 0,(function*(){var a,i,n,s,l,d;try{const s="string"==typeof e?e:e.url,l="string"==typeof e?e:e.backupUrl,d=Te.parse(r||""),c=d[Ge]||O(Ge);if(!c||!c.length)return at(l||s,t,o);try{const e=yield fetch(s,Object.assign(Object.assign({method:t},rt(o)),{headers:Object.assign({Authorization:"Bearer "+c},null==o?void 0:o.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return at(l||s,t,o);if(e)return e}catch(e){return console.log({status:null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.status,statusText:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),at(l||s,t,o)}}catch(e){return console.log({status:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),(null===(d=null==e?void 0:e.response)||void 0===d?void 0:d.data)||null}return null})),nt=(e,t,o,r)=>x(void 0,void 0,void 0,(function*(){try{const a=Te.parse(r||""),i=a[Ge]||O(Ge);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},rt(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null})),st=(e,t,o,r)=>x(void 0,void 0,void 0,(function*(){try{const a=Te.parse(r||""),i=a[Me]||O(Me);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},rt(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null}));function lt(e,t,o){const r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+o+"$2"):e+a+t+"="+o}const dt=(e,t,o="/community")=>{const r=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:o}=Re.env,r=e||window.location.href;return t&&Object.keys(t).map((e=>{lt(r,e,t[e])})),lt(r,"source","communities"),o?`${o}?returnUrl=${encodeURIComponent(r.toString())}`:r})(`${a}${o}/on-boarding?return=${encodeURIComponent(r)}`,t)},ct=(e,t,o,r)=>o&&t?`${o}-${t}`:`${A(e||"",{lower:!0,locale:r||Ye})}-${t}`,pt=({name:e,id:t,locale:o})=>{var r;return`/care/${null===(r=je[o||"vi-VN"])||void 0===r?void 0:r.DOCTOR}/${ct(e,t)}`},ut=({name:e,id:t,slug:o,locale:r})=>{var a;return`/care/${null===(a=je[r||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${ct(e,t,o)}`};var gt=f((e=>({root:{},wrapper:{gap:w(8)},groupErr:{fontSize:w(14)},itemRoot:{flexGrow:1,width:"50%",'&[data-checked="true"]':{".mantine-Radio-label":{borderColor:e.fn.primaryColor()}}},itemLabelWrapper:{padding:0,width:"100%"},itemLabel:{position:"relative",padding:`${w(6)} ${w(16)}`,border:`1px solid ${e.colors.gray[2]}`,borderRadius:w(4),cursor:"pointer",'&[data-disabled="true"]':{background:e.colors.gray[1],color:`${e.colors.gray[4]} !important`,img:{opacity:.5}},img:{height:w(26)}},itemInner:{display:"none"}})));export{ut as $,Je as A,ye as B,tt as C,Le as D,We as E,ot as F,Re as G,B as H,k as I,ce as J,se as K,le as L,de as M,pe as N,ue as O,W as P,q as Q,ge as R,me as S,re as T,at as U,et as V,Ge as W,dt as X,qe as Y,Oe as Z,Ke as _,he as a,pt as a0,Qe as a1,Ae as a2,Ie as a3,st as a4,Ze as a5,Ue as a6,Pe as a7,He as a8,Ce as a9,ze as aa,it as ab,Ve as ac,Te as ad,Ye as ae,Be as af,Se as b,Fe as c,ke as d,L as e,S as f,R as g,$ as h,C as i,P as j,N as k,D as l,G as m,z as n,H as o,j as p,X as q,te as r,Z as s,ee as t,ae as u,ie as v,gt as w,$e as x,Ne as y,nt as z};
627
+ var ue=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var o={},r=(t||{}).decode||_e,a=0;for(;a<e.length;){var i=e.indexOf("=",a);if(-1===i)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<i){a=e.lastIndexOf(";",i-1)+1;continue}var s=e.slice(a,i).trim();if(void 0===o[s]){var l=e.slice(i+1,n).trim();34===l.charCodeAt(0)&&(l=l.slice(1,-1)),o[s]=Ee(l,r)}a=n+1}return o},ge=function(e,t,o){var r=o||{},a=r.encode||be;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!he.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!he.test(i))throw new TypeError("argument val is invalid");var n=e+"="+i;if(null!=r.maxAge){var s=r.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(s)}if(r.domain){if(!he.test(r.domain))throw new TypeError("option domain is invalid");n+="; Domain="+r.domain}if(r.path){if(!he.test(r.path))throw new TypeError("option path is invalid");n+="; Path="+r.path}if(r.expires){var l=r.expires;if(!function(e){return"[object Date]"===me.call(e)||e instanceof Date}(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+l.toUTCString()}r.httpOnly&&(n+="; HttpOnly");r.secure&&(n+="; Secure");if(r.priority){switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":n+="; Priority=Low";break;case"medium":n+="; Priority=Medium";break;case"high":n+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return n},me=Object.prototype.toString,he=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function _e(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function be(e){return encodeURIComponent(e)}function Ee(e,t){try{return t(e)}catch(t){return e}}var Te={parse:ue,serialize:ge};const fe={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"},HEALTH_TOOL:{CREATE:"health-profile/{type}/create?website_url={website_url}",GET_STATUS:"health-profile/get-status-for-user?website_url={website_url}"}},ve={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},xe={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},we={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},ye={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},Oe=h({data:ye,action:{pushNotifications:e=>e,sanitizeFunction:e=>e},formatMessage:()=>null});let Ae=ye;const Ie=({locale:e="vi-VN",children:t,userInfo:o,router:r,env:a={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:i=(e=>e),pushNotifications:n=(()=>!1),formatMessage:s})=>{const[l,c]=g();return Ae={userInfo:o,locale:e,togetherUserId:l,router:r,env:a},_((()=>{(null==o?void 0:o.id)&&ot(Ye(fe.PROFILE,{_locale:e}),"GET").then((e=>{var t;c(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==o?void 0:o.id]),u.createElement(Oe.Provider,{value:{data:{userInfo:o,locale:e,togetherUserId:l,router:r,env:a},action:{pushNotifications:n,sanitizeFunction:i},formatMessage:s}},t)},Le="DD/MM/YYYY",Se="/images/avatar.jpg",Re="/images/default-image.jpg",ke={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},$e={"id-ID":{"kalkulator-bmi":ke.BMI,"kebutuhan-kalori":ke.BMR,"kalkulator-hari-perkiraan-lahir":ke.DUE_DATE,"kalkulator-masa-subur-2":ke.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":ke.PWG,"kalkulator-detak-jantung-saat-olahraga":ke.THR},"ms-MY":{"kalkulator-bmi":ke.BMI,"kalkulator-bmr":ke.BMR,"kalkulator-tarikh-bersalin":ke.DUE_DATE,"kalkulator-kesuburan":ke.OVULATION,"kalkulator-tambah-berat-badan-hamil":ke.PWG,"target-heart-rate-calculator":ke.THR},"vi-VN":{"cach-tinh-chi-so-bmi":ke.BMI,"tinh-chi-so-bmr":ke.BMR,"cong-cu-tinh-ngay-du-sinh":ke.DUE_DATE,"tinh-ngay-rung-trung":ke.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":ke.PWG,"cong-cu-do-nhip-tim":ke.THR},"zh-TW":{"bmi-calculator":ke.BMI,"bmr-calculator":ke.BMR,"due-date-calculator":ke.DUE_DATE,"ovulation-calculator":ke.OVULATION,"pregnancy-weight-gain-calculator":ke.PWG,"target-heart-rate-calculator":ke.THR},"en-PH":{"bmi-calculator":ke.BMI,"bmr-calculator":ke.BMR,"due-date-calculator":ke.DUE_DATE,"ovulation-calculator":ke.OVULATION,"pregnancy-weight-gain-calculator":ke.PWG,"target-heart-rate-calculator":ke.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":ke.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":ke.BMR,"เครื่องมือคำนวณกำหนดคลอด":ke.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":ke.OVULATION,"เครื่องคำนวณน้ำหนักตัว":ke.PWG,"เครื่องวัดอัตราการเต้น":ke.THR},"hi-IN":{"bmi-calculator-en":ke.BMI,"bmi-calculator":ke.BMI,"bmr-calculator":ke.BMR,"delivery-date-calculator":ke.DUE_DATE,"ovulation-calculator":ke.OVULATION,"pregnancy-weight-gain-calculator":ke.PWG,"target-heart-rate-calculator":ke.THR},"km-KH":{"គណនា-bmi":ke.BMI,"គណនា-bmr":ke.BMR,"គណនាថ្ងៃសម្រាលកូន":ke.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":ke.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":ke.PWG,"គណនារកចង្វាក់បេះដូងល្អ":ke.THR},"my-MM":{"bmi-calculator":ke.BMI,"bmr-calculator":ke.BMR,"due-date-calendar":ke.DUE_DATE,"ovulation-calculator":ke.OVULATION,"pregnaancy-weight-calculator":ke.PWG,"target-heartrate":ke.THR,"pregnancy-weight-calculator":ke.PWG,"target-heart-rate":ke.THR}},Pe="hhg_user_token",Ne="together_admin_token",Ce={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},De="hhg-id",Ge={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},Me=20,Ue={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}};var Be=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:Le,DEFAULT_AVATAR_IMG:Se,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:Re,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:ke,LOCALE_HEALTH_TOOLS:$e,BEARER_TOKEN_COOKIE:Pe,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:Ne,Z_INDEX:Ce,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:De,GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:Ge,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:Ue});const He={"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"},ze={"vi-VN":"marrybaby.vn"},je=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Fe=e=>{const{env:{isMarryBaby:t}}=Ae;return`https://${t?ze[e]:He[e]}`},Ke=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Ve=e=>{const{env:{isMarryBaby:t}}=Ae;if("undefined"!=typeof window)return window.location.origin;const o="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${o?t?"fe.":"discover.":t?"www.":""}${He[e]}`},Ye=(e,t,o,r)=>{let a="";o&&(a=Object.keys(o).map((e=>e+"="+o[e])).join("&"));const{togetherBaseApiUrl:i=""}=(null==Ae?void 0:Ae.env)||{};let n=I(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Fe(String(t._locale))}:{}),t));n+=`${n.includes("?")?"&":"?"}${a}`;return(r||i)+"api/v1/"+Ke(n)},We=(e,t,o)=>{const{discoverBaseApiUrl:r="",discoverBaseProdApiUrl:a=""}=(null==Ae?void 0:Ae.env)||{};return(!E&&o?a:r)+"wp-json/api/"+Ke(I(e,Object.assign({},t)))},Xe=(e,t,o)=>{const{marryBabyApiUrl:r="",marryBabyProdApiUrl:a=""}=(null==Ae?void 0:Ae.env)||{};return(o&&!E?a:r)+"wp-json/api/"+Ke(I(e,Object.assign({},t)))},qe=(e,t)=>{const{careBaseApiUrl:o=""}=(null==Ae?void 0:Ae.env)||{};return(o||"https://service-health-care.hellohealthgroup.com/")+Ke(I(e,Object.assign({},t)))},Je=(e,t)=>{const{premiumBaseApiUrl:o=""}=(null==Ae?void 0:Ae.env)||{};return(o||"https://premium-content-stag.hellohealthgroup.com/")+Ke(I(e,Object.assign({},t)))},Qe=(e,t)=>{const{publicSSO:o=""}=(null==Ae?void 0:Ae.env)||{};return(o||"https://staging-id.hellobacsi.com/")+"api/"+Ke(I(e,Object.assign({},t)))},Ze=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),et=(e,t,o,r=!1)=>f(void 0,void 0,void 0,(function*(){var a,i,n,s;try{const a=yield fetch(r?e:(s=e,encodeURI(s).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},Ze(o)),{headers:Object.assign({},null==o?void 0:o.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(i=null==t?void 0:t.response)||void 0===i?void 0:i.statusText}),(null===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),tt=(e,t="GET",o,r)=>f(void 0,void 0,void 0,(function*(){var a,i,n,s,l,c;try{const s="string"==typeof e?e:e.url,l="string"==typeof e?e:e.backupUrl,c=Te.parse(r||""),d=c[Pe]||O(Pe);if(!d||!d.length)return et(l||s,t,o);try{const e=yield fetch(s,Object.assign(Object.assign({method:t},Ze(o)),{headers:Object.assign({Authorization:"Bearer "+d},null==o?void 0:o.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return et(l||s,t,o);if(e)return e}catch(e){return console.log({status:null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.status,statusText:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),et(l||s,t,o)}}catch(e){return console.log({status:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),(null===(c=null==e?void 0:e.response)||void 0===c?void 0:c.data)||null}return null})),ot=(e,t,o,r)=>f(void 0,void 0,void 0,(function*(){try{const a=Te.parse(r||""),i=a[Pe]||O(Pe);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},Ze(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null})),rt=(e,t,o,r)=>f(void 0,void 0,void 0,(function*(){try{const a=Te.parse(r||""),i=a[Ne]||O(Ne);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},Ze(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null}));function at(e,t,o){const r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+o+"$2"):e+a+t+"="+o}const it=(e,t,o="/community")=>{const r=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:o}=Ae.env,r=e||window.location.href;return t&&Object.keys(t).map((e=>{at(r,e,t[e])})),at(r,"source","communities"),o?`${o}?returnUrl=${encodeURIComponent(r.toString())}`:r})(`${a}${o}/on-boarding?return=${encodeURIComponent(r)}`,t)},nt=(e,t,o,r)=>o&&t?`${o}-${t}`:`${A(e||"",{lower:!0,locale:r||je})}-${t}`,st=({name:e,id:t,locale:o})=>{var r;return`/care/${null===(r=Ue[o||"vi-VN"])||void 0===r?void 0:r.DOCTOR}/${nt(e,t)}`},lt=({name:e,id:t,slug:o,locale:r})=>{var a;return`/care/${null===(a=Ue[r||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${nt(e,t,o)}`};var ct=v((e=>({root:{},wrapper:{gap:x(8)},groupErr:{fontSize:x(14)},itemRoot:{flexGrow:1,width:"50%",'&[data-checked="true"]':{".mantine-Radio-label":{borderColor:e.fn.primaryColor()}}},itemLabelWrapper:{padding:0,width:"100%"},itemLabel:{position:"relative",padding:`${x(6)} ${x(16)}`,border:`1px solid ${e.colors.gray[2]}`,borderRadius:x(4),cursor:"pointer",'&[data-disabled="true"]':{background:e.colors.gray[1],color:`${e.colors.gray[4]} !important`,img:{opacity:.5}},img:{height:x(26)}},itemInner:{display:"none"}})));export{we as $,Fe as A,Qe as B,R as C,ye as D,ae as E,ie as F,Ae as G,M as H,ne as I,se as J,le as K,W as L,ce as M,et as N,qe as O,V as P,Pe as Q,it as R,pe as S,te as T,Ve as U,ve as V,He as W,lt as X,st as Y,We as Z,xe as _,de as a,rt as a0,Xe as a1,Ce as a2,Re as a3,Me as a4,Se as a5,Ge as a6,tt as a7,ze as a8,Te as a9,je as aa,De as ab,Oe as b,Be as c,Ie as d,L as e,S as f,k as g,$ as h,P as i,N as j,C as k,U as l,B as m,H as n,Y as o,Z as p,J as q,Q as r,oe as s,Le as t,ct as u,ke as v,ot as w,Ye as x,fe as y,Je as z};