@hhgtech/hhg-components 1.23.84 → 1.23.86

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 (342) hide show
  1. package/build/BabyGrowth-82de789a.js +1 -0
  2. package/build/Locale-c36ebd32.js +1 -0
  3. package/build/Vietnam-3e8302a5.js +1 -0
  4. package/build/{Visible-ff3b5a7d.js → Visible-95d414d9.js} +1 -1
  5. package/build/animation-2c2ae66a.js +1 -0
  6. package/build/babyGrowth.js +1 -1
  7. package/build/cache.js +1 -1
  8. package/build/care.js +1 -1
  9. package/build/components/atoms/icons/Endorse.d.ts +4 -0
  10. package/build/components/atoms/icons/Oppose.d.ts +4 -0
  11. package/build/components/atoms/icons/ShieldCheck.d.ts +4 -0
  12. package/build/components/atoms/icons/index.d.ts +3 -0
  13. package/build/components.js +1 -1
  14. package/build/componentsAtoms.js +1 -0
  15. package/build/componentsMolecules.js +1 -0
  16. package/build/componentsOrganisms.js +1 -0
  17. package/build/componentsSlider.js +1 -0
  18. package/build/componentsUi.js +1 -0
  19. package/build/constants-f7b74908.js +1 -0
  20. package/build/constants.js +1 -1
  21. package/build/{core-1d53cd94.js → core-5d4a87cb.js} +1 -1
  22. package/build/dataTransform-7759c135.js +1 -0
  23. package/build/dataTransform-dd23233a.js +1 -0
  24. package/build/defaultClassWrapper-71dbeac2.js +1 -0
  25. package/build/ecom.js +1 -1
  26. package/build/esm/BabyGrowth-bbbffebe.js +1 -0
  27. package/build/esm/Locale-6e104047.js +1 -0
  28. package/build/esm/Vietnam-8bb418b7.js +1 -0
  29. package/build/esm/{Visible-a9656ab5.js → Visible-7d5c455f.js} +1 -1
  30. package/build/esm/animation-79000a59.js +1 -0
  31. package/build/esm/babyGrowth.js +1 -1
  32. package/build/esm/cache.js +1 -1
  33. package/build/esm/care.js +1 -1
  34. package/build/esm/components.js +1 -1
  35. package/build/esm/componentsAtoms.js +1 -0
  36. package/build/esm/componentsMolecules.js +1 -0
  37. package/build/esm/componentsOrganisms.js +1 -0
  38. package/build/esm/componentsSlider.js +1 -0
  39. package/build/esm/componentsUi.js +1 -0
  40. package/build/esm/constants-71deba03.js +1 -0
  41. package/build/esm/constants.js +1 -1
  42. package/build/esm/core-92bfbf18.js +1 -0
  43. package/build/esm/dataTransform-2f747c63.js +1 -0
  44. package/build/esm/dataTransform-63490ce1.js +1 -0
  45. package/build/esm/{defaultClassWrapper-37c0bc40.js → defaultClassWrapper-a9f0d373.js} +1 -1
  46. package/build/esm/ecom.js +1 -1
  47. package/build/esm/footer.js +1 -1
  48. package/build/esm/gAssets.js +1 -1
  49. package/build/esm/{getDynamicHealthTool-375781f7.js → getDynamicHealthTool-ed700c19.js} +1 -1
  50. package/build/esm/{getSocialList-65e3abd8.js → getSocialList-df9311be.js} +1 -1
  51. package/build/esm/hooks.js +1 -1
  52. package/build/esm/i18n.js +1 -1
  53. package/build/esm/{index-45cdf6ab.js → index-0175581a.js} +1 -1
  54. package/build/esm/index-0287d652.js +1 -0
  55. package/build/esm/{index-a5631f5e.js → index-0567e5fb.js} +1 -1
  56. package/build/esm/index-06d07509.js +1 -0
  57. package/build/esm/index-0b93b858.js +1 -0
  58. package/build/esm/index-13d040f6.js +7 -0
  59. package/build/esm/index-1b8d14c5.js +1 -0
  60. package/build/esm/index-28cf71ef.js +1 -0
  61. package/build/esm/index-295ef099.js +1 -0
  62. package/build/esm/index-2c122c13.js +1 -0
  63. package/build/esm/index-30f3989e.js +1 -0
  64. package/build/esm/index-340d877b.js +1 -0
  65. package/build/esm/index-38a7d187.js +1 -0
  66. package/build/esm/index-412ffd4b.js +1 -0
  67. package/build/esm/index-56d383e4.js +1 -0
  68. package/build/esm/index-5e4e0965.js +1 -0
  69. package/build/esm/index-7c8d072b.js +1 -0
  70. package/build/esm/index-8162546b.js +1 -0
  71. package/build/esm/index-8ad7e2bc.js +1 -0
  72. package/build/esm/index-8c625ffb.js +1 -0
  73. package/build/esm/{index-c6dbc7dd.js → index-8d538421.js} +1 -1
  74. package/build/esm/index-9a4e3d55.js +1 -0
  75. package/build/esm/index-ba133da6.js +7 -0
  76. package/build/esm/index-bb01cf1f.js +1 -0
  77. package/build/esm/index-cf7bcd46.js +1 -0
  78. package/build/esm/index-dc551bd2.js +1 -0
  79. package/build/esm/index-de66b58f.js +1 -0
  80. package/build/esm/index-ea8dcf61.js +1 -0
  81. package/build/esm/index-eb624b4f.js +1 -0
  82. package/build/esm/index-ec632981.js +1 -0
  83. package/build/esm/index-f427cba5.js +1 -0
  84. package/build/esm/index-f92f515c.js +1 -0
  85. package/build/esm/{index-13ef04dd.js → index-f95e1673.js} +1 -1
  86. package/build/esm/index.css +1 -1
  87. package/build/esm/index.js +1 -1
  88. package/build/esm/lead.js +1 -1
  89. package/build/esm/logoIcon-a7e594ab.js +1 -0
  90. package/build/esm/mantine.js +1 -1
  91. package/build/esm/misc.js +1 -1
  92. package/build/esm/navigation.js +1 -1
  93. package/build/esm/onboarding.js +1 -1
  94. package/build/esm/pwg.js +1 -1
  95. package/build/esm/routing-a1441861.js +1 -0
  96. package/build/esm/together.js +1 -1
  97. package/build/esm/{translationsProvider-cca895bb.js → translationsProvider-89597057.js} +1 -1
  98. package/build/esm/{tslib.es6-bbaba938.js → tslib.es6-bfb95386.js} +1 -1
  99. package/build/esm/types-79a173b1.js +1 -0
  100. package/build/esm/types-d5af3c76.js +1 -0
  101. package/build/esm/types.js +1 -1
  102. package/build/esm/{useFbDataLayer-a4d80b43.js → useFbDataLayer-a7c6c77a.js} +1 -1
  103. package/build/esm/useHealthToolCache-d4f3b8c3.js +1 -0
  104. package/build/esm/{useTranslations-9f870bbc.js → useTranslations-8d6045eb.js} +1 -1
  105. package/build/footer.js +1 -1
  106. package/build/gAssets.js +1 -1
  107. package/build/{getDynamicHealthTool-b820af17.js → getDynamicHealthTool-e2f7af04.js} +1 -1
  108. package/build/{getSocialList-317f631a.js → getSocialList-d7b837fc.js} +1 -1
  109. package/build/hooks.js +1 -1
  110. package/build/i18n.js +1 -1
  111. package/build/{index-facd1baf.js → index-05a3be08.js} +1 -1
  112. package/build/index-0e98678d.js +1 -0
  113. package/build/index-1247d142.js +1 -0
  114. package/build/index-237d1dd2.js +1 -0
  115. package/build/index-277a7498.js +1 -0
  116. package/build/{index-3156c4dd.js → index-39b585ec.js} +1 -1
  117. package/build/index-3d15940b.js +1 -0
  118. package/build/index-46e0e7e2.js +1 -0
  119. package/build/index-488df122.js +1 -0
  120. package/build/index-5d6f2002.js +7 -0
  121. package/build/{index-d92a696d.js → index-5e04811a.js} +1 -1
  122. package/build/index-5f8ec952.js +1 -0
  123. package/build/index-617ff6fb.js +1 -0
  124. package/build/index-62b099fc.js +1 -0
  125. package/build/index-64b65ff0.js +1 -0
  126. package/build/index-7ee0f790.js +1 -0
  127. package/build/index-9d77d9e7.js +1 -0
  128. package/build/index-abde1a9a.js +1 -0
  129. package/build/index-afebf409.js +1 -0
  130. package/build/{index-aa81981e.js → index-b929ac3e.js} +1 -1
  131. package/build/{index-41585e53.js → index-b992c35b.js} +1 -1
  132. package/build/index-c4fa0dda.js +1 -0
  133. package/build/index-c547a281.js +1 -0
  134. package/build/index-d7483a0f.js +1 -0
  135. package/build/index-dc0ab8f3.js +1 -0
  136. package/build/index-dcc7d016.js +1 -0
  137. package/build/index-e92d510a.js +1 -0
  138. package/build/index-ec22a7b0.js +1 -0
  139. package/build/index-edc3f7fa.js +1 -0
  140. package/build/index-f36bdc65.js +1 -0
  141. package/build/{index.styled-b8d522f7.js → index-f4abac2c.js} +1 -1
  142. package/build/index-f836c043.js +1 -0
  143. package/build/index-fcb78a86.js +1 -0
  144. package/build/index.css +1 -1
  145. package/build/index.js +1 -1
  146. package/build/interfaces/constants/site.d.ts +0 -1
  147. package/build/lead.js +1 -1
  148. package/build/logoIcon-dfc9715e.js +1 -0
  149. package/build/mantine.js +1 -1
  150. package/build/misc.js +1 -1
  151. package/build/navigation.js +1 -1
  152. package/build/onboarding.js +1 -1
  153. package/build/pwg.js +1 -1
  154. package/build/{routing-9582fc0d.js → routing-a254236e.js} +1 -1
  155. package/build/together/components/molecules/cardAuthor/index.d.ts +3 -1
  156. package/build/together/components/molecules/popupDanger/index.d.ts +5 -1
  157. package/build/together.js +1 -1
  158. package/build/{translationsProvider-1a6eb32a.js → translationsProvider-32b5745c.js} +1 -1
  159. package/build/types-59a0899e.js +1 -0
  160. package/build/{types-9b03a6c3.js → types-e0e909f4.js} +1 -1
  161. package/build/types.js +1 -1
  162. package/build/{useFbDataLayer-2a74c564.js → useFbDataLayer-7ba6392c.js} +1 -1
  163. package/build/{useHealthToolCache-9847d3ac.js → useHealthToolCache-bca8156e.js} +1 -1
  164. package/build/useTranslations-01d5166e.js +1 -0
  165. package/package.json +3 -2
  166. package/build/Locale-d40b610a.js +0 -1
  167. package/build/dataTransform-60bbe56e.js +0 -1
  168. package/build/dataTransform-9b43fc94.js +0 -1
  169. package/build/defaultClassWrapper-d5b389c0.js +0 -1
  170. package/build/esm/Locale-f95814cc.js +0 -1
  171. package/build/esm/core-e3375948.js +0 -1
  172. package/build/esm/dataTransform-2924bf6f.js +0 -1
  173. package/build/esm/dataTransform-56479721.js +0 -1
  174. package/build/esm/index-4762dae2.js +0 -1
  175. package/build/esm/index-483df985.js +0 -1
  176. package/build/esm/index-48ca5bab.js +0 -1
  177. package/build/esm/index-5b2d0aa5.js +0 -1
  178. package/build/esm/index-78014116.js +0 -1
  179. package/build/esm/index-91485a7f.js +0 -1
  180. package/build/esm/index-91a1255a.js +0 -1
  181. package/build/esm/index-983455eb.js +0 -1
  182. package/build/esm/index-ae4f6b69.js +0 -1
  183. package/build/esm/index-b8842b68.js +0 -1
  184. package/build/esm/index-bde5bbd6.js +0 -1
  185. package/build/esm/index-be573528.js +0 -1
  186. package/build/esm/index-d252dbc7.js +0 -1
  187. package/build/esm/index-dc317b6d.js +0 -1
  188. package/build/esm/index-de2d08d4.js +0 -1
  189. package/build/esm/index-e7740917.js +0 -1
  190. package/build/esm/index-ee0a0f11.js +0 -1
  191. package/build/esm/index.styled-05118ccf.js +0 -1
  192. package/build/esm/index.styled-12cf4bf7.js +0 -1
  193. package/build/esm/index.styled-22674d31.js +0 -1
  194. package/build/esm/index.styled-2647b090.js +0 -1
  195. package/build/esm/index.styled-6efcb63d.js +0 -1
  196. package/build/esm/index.styled-93419bc4.js +0 -1
  197. package/build/esm/routing-dd1ad703.js +0 -1
  198. package/build/esm/screenSizeContext-35b94839.js +0 -1
  199. package/build/esm/types-88051b7e.js +0 -1
  200. package/build/esm/types-fd9a0b32.js +0 -1
  201. package/build/esm/useHealthToolCache-38e9a029.js +0 -1
  202. package/build/index-04692fa7.js +0 -1
  203. package/build/index-4d00e82d.js +0 -1
  204. package/build/index-5a905a10.js +0 -1
  205. package/build/index-5e021869.js +0 -1
  206. package/build/index-623e5d1d.js +0 -1
  207. package/build/index-6310cf12.js +0 -1
  208. package/build/index-7ce85de9.js +0 -1
  209. package/build/index-886673ef.js +0 -1
  210. package/build/index-88ec8248.js +0 -1
  211. package/build/index-8d119f57.js +0 -1
  212. package/build/index-b241bb21.js +0 -1
  213. package/build/index-c757c7ae.js +0 -1
  214. package/build/index-ca409bb8.js +0 -1
  215. package/build/index-d8ed4d3d.js +0 -1
  216. package/build/index-db882dc9.js +0 -1
  217. package/build/index-ed92b533.js +0 -1
  218. package/build/index.styled-5bec4dad.js +0 -1
  219. package/build/index.styled-6d8b4d72.js +0 -1
  220. package/build/index.styled-941651a5.js +0 -1
  221. package/build/index.styled-a0be3a28.js +0 -1
  222. package/build/index.styled-aed66973.js +0 -1
  223. package/build/screenSizeContext-036f0287.js +0 -1
  224. package/build/types-7ac4a3db.js +0 -1
  225. package/build/useTranslations-d57b0992.js +0 -1
  226. /package/build/{BMI_BOYS.percentile.monthly-6c22c437.js → BMI_BOYS.percentile.monthly-ac294fbf.js} +0 -0
  227. /package/build/{BMI_BOYS.percentile.weekly-9ef0d06c.js → BMI_BOYS.percentile.weekly-0991ebe5.js} +0 -0
  228. /package/build/{BMI_BOYS.percentile.yearly-27d86fc2.js → BMI_BOYS.percentile.yearly-fb19a484.js} +0 -0
  229. /package/build/{BMI_BOYS.zscore.monthly-bcfc1d99.js → BMI_BOYS.zscore.monthly-ea545271.js} +0 -0
  230. /package/build/{BMI_BOYS.zscore.weekly-026e3411.js → BMI_BOYS.zscore.weekly-e7d107fe.js} +0 -0
  231. /package/build/{BMI_BOYS.zscore.yearly-453ea814.js → BMI_BOYS.zscore.yearly-243bad0c.js} +0 -0
  232. /package/build/{BMI_GIRLS.percentile.monthly-a47bb26b.js → BMI_GIRLS.percentile.monthly-b1ffefa8.js} +0 -0
  233. /package/build/{BMI_GIRLS.percentile.weekly-285a09be.js → BMI_GIRLS.percentile.weekly-6a4509b7.js} +0 -0
  234. /package/build/{BMI_GIRLS.percentile.yearly-3cb2ea87.js → BMI_GIRLS.percentile.yearly-0020ccb0.js} +0 -0
  235. /package/build/{BMI_GIRLS.zscore.monthly-cc582114.js → BMI_GIRLS.zscore.monthly-1c7d3a66.js} +0 -0
  236. /package/build/{BMI_GIRLS.zscore.weekly-7ca2ff32.js → BMI_GIRLS.zscore.weekly-a0707be3.js} +0 -0
  237. /package/build/{BMI_GIRLS.zscore.yearly-bdc075a3.js → BMI_GIRLS.zscore.yearly-51f6718d.js} +0 -0
  238. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-a26abda4.js → HEAD CIRCUM_BOYS.percentile.monthly-a95c50c2.js} +0 -0
  239. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-ae388ee0.js → HEAD CIRCUM_BOYS.percentile.weekly-1e44efaf.js} +0 -0
  240. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-65a47f8e.js → HEAD CIRCUM_BOYS.percentile.yearly-e922ba93.js} +0 -0
  241. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ba004cc0.js → HEAD CIRCUM_BOYS.zscore.monthly-4c4f522b.js} +0 -0
  242. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-09847c5c.js → HEAD CIRCUM_BOYS.zscore.weekly-525d6e21.js} +0 -0
  243. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-2c96331a.js → HEAD CIRCUM_BOYS.zscore.yearly-dce6081b.js} +0 -0
  244. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-abc4c435.js → HEAD CIRCUM_GIRLS.percentile.monthly-9c6994f4.js} +0 -0
  245. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-595ff760.js → HEAD CIRCUM_GIRLS.percentile.weekly-62951a18.js} +0 -0
  246. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c9c7ba5c.js → HEAD CIRCUM_GIRLS.percentile.yearly-fb4e1534.js} +0 -0
  247. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-f9dd2ce2.js → HEAD CIRCUM_GIRLS.zscore.monthly-8b9a7e00.js} +0 -0
  248. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-2f4c37dd.js → HEAD CIRCUM_GIRLS.zscore.weekly-4cbd20f0.js} +0 -0
  249. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-3a6af3f3.js → HEAD CIRCUM_GIRLS.zscore.yearly-3e7fdbe7.js} +0 -0
  250. /package/build/{HEIGHT_BOYS.percentile.monthly-9e0661ec.js → HEIGHT_BOYS.percentile.monthly-b8d63e0e.js} +0 -0
  251. /package/build/{HEIGHT_BOYS.percentile.weekly-d9515a29.js → HEIGHT_BOYS.percentile.weekly-8081de90.js} +0 -0
  252. /package/build/{HEIGHT_BOYS.percentile.yearly-3ac0d1d3.js → HEIGHT_BOYS.percentile.yearly-5dad9fd7.js} +0 -0
  253. /package/build/{HEIGHT_BOYS.zscore.monthly-3bade3a2.js → HEIGHT_BOYS.zscore.monthly-7eadd744.js} +0 -0
  254. /package/build/{HEIGHT_BOYS.zscore.weekly-567746b1.js → HEIGHT_BOYS.zscore.weekly-acdafdff.js} +0 -0
  255. /package/build/{HEIGHT_BOYS.zscore.yearly-ccd28342.js → HEIGHT_BOYS.zscore.yearly-75ce2228.js} +0 -0
  256. /package/build/{HEIGHT_GIRLS.percentile.monthly-21b02d95.js → HEIGHT_GIRLS.percentile.monthly-7de7025d.js} +0 -0
  257. /package/build/{HEIGHT_GIRLS.percentile.weekly-18edbeb1.js → HEIGHT_GIRLS.percentile.weekly-e94d21c1.js} +0 -0
  258. /package/build/{HEIGHT_GIRLS.percentile.yearly-8021f47d.js → HEIGHT_GIRLS.percentile.yearly-b8ae9551.js} +0 -0
  259. /package/build/{HEIGHT_GIRLS.zscore.monthly-781a6822.js → HEIGHT_GIRLS.zscore.monthly-1d192a07.js} +0 -0
  260. /package/build/{HEIGHT_GIRLS.zscore.weekly-27b5aa7f.js → HEIGHT_GIRLS.zscore.weekly-1407623f.js} +0 -0
  261. /package/build/{HEIGHT_GIRLS.zscore.yearly-0393a37a.js → HEIGHT_GIRLS.zscore.yearly-062ef099.js} +0 -0
  262. /package/build/{WEIGHT_BOYS.percentile.monthly-e2af6ff5.js → WEIGHT_BOYS.percentile.monthly-dd19f017.js} +0 -0
  263. /package/build/{WEIGHT_BOYS.percentile.weekly-263a4950.js → WEIGHT_BOYS.percentile.weekly-a9a13d50.js} +0 -0
  264. /package/build/{WEIGHT_BOYS.percentile.yearly-253b46d7.js → WEIGHT_BOYS.percentile.yearly-a404cd2a.js} +0 -0
  265. /package/build/{WEIGHT_BOYS.zscore.monthly-b2a34174.js → WEIGHT_BOYS.zscore.monthly-cb3b884e.js} +0 -0
  266. /package/build/{WEIGHT_BOYS.zscore.weekly-85011e60.js → WEIGHT_BOYS.zscore.weekly-78045be1.js} +0 -0
  267. /package/build/{WEIGHT_BOYS.zscore.yearly-597254e1.js → WEIGHT_BOYS.zscore.yearly-3f66a793.js} +0 -0
  268. /package/build/{WEIGHT_GIRLS.percentile.monthly-1e72d9ab.js → WEIGHT_GIRLS.percentile.monthly-9b16618d.js} +0 -0
  269. /package/build/{WEIGHT_GIRLS.percentile.weekly-3db1a397.js → WEIGHT_GIRLS.percentile.weekly-7cbe237b.js} +0 -0
  270. /package/build/{WEIGHT_GIRLS.percentile.yearly-6b8eca14.js → WEIGHT_GIRLS.percentile.yearly-e6c6b4b1.js} +0 -0
  271. /package/build/{WEIGHT_GIRLS.zscore.monthly-3823d952.js → WEIGHT_GIRLS.zscore.monthly-dc9e37a6.js} +0 -0
  272. /package/build/{WEIGHT_GIRLS.zscore.weekly-1798f75a.js → WEIGHT_GIRLS.zscore.weekly-66dc380a.js} +0 -0
  273. /package/build/{WEIGHT_GIRLS.zscore.yearly-7598c0f9.js → WEIGHT_GIRLS.zscore.yearly-745fe6b4.js} +0 -0
  274. /package/build/{constants-41931f1e.js → constants-6fc449f2.js} +0 -0
  275. /package/build/{cookieHelper-8f5dfd39.js → cookieHelper-e3dda67e.js} +0 -0
  276. /package/build/esm/{BMI_BOYS.percentile.monthly-0029b115.js → BMI_BOYS.percentile.monthly-d21dabca.js} +0 -0
  277. /package/build/esm/{BMI_BOYS.percentile.weekly-d7da2713.js → BMI_BOYS.percentile.weekly-0590e023.js} +0 -0
  278. /package/build/esm/{BMI_BOYS.percentile.yearly-2d9226ca.js → BMI_BOYS.percentile.yearly-404be121.js} +0 -0
  279. /package/build/esm/{BMI_BOYS.zscore.monthly-8f91eac4.js → BMI_BOYS.zscore.monthly-62d26b3b.js} +0 -0
  280. /package/build/esm/{BMI_BOYS.zscore.weekly-354088d7.js → BMI_BOYS.zscore.weekly-1ffac391.js} +0 -0
  281. /package/build/esm/{BMI_BOYS.zscore.yearly-cb2c4700.js → BMI_BOYS.zscore.yearly-fa5a8158.js} +0 -0
  282. /package/build/esm/{BMI_GIRLS.percentile.monthly-aa916a3e.js → BMI_GIRLS.percentile.monthly-436e3c08.js} +0 -0
  283. /package/build/esm/{BMI_GIRLS.percentile.weekly-f378d6e2.js → BMI_GIRLS.percentile.weekly-5b26c251.js} +0 -0
  284. /package/build/esm/{BMI_GIRLS.percentile.yearly-5e8313ba.js → BMI_GIRLS.percentile.yearly-1cb739a1.js} +0 -0
  285. /package/build/esm/{BMI_GIRLS.zscore.monthly-d6e8b41c.js → BMI_GIRLS.zscore.monthly-cf64df82.js} +0 -0
  286. /package/build/esm/{BMI_GIRLS.zscore.weekly-a9f96e9d.js → BMI_GIRLS.zscore.weekly-1a57dda3.js} +0 -0
  287. /package/build/esm/{BMI_GIRLS.zscore.yearly-d415918d.js → BMI_GIRLS.zscore.yearly-8dc7562b.js} +0 -0
  288. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-d119e1e4.js → HEAD CIRCUM_BOYS.percentile.monthly-39d97032.js} +0 -0
  289. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-1fb91c27.js → HEAD CIRCUM_BOYS.percentile.weekly-17358a61.js} +0 -0
  290. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-14cfa652.js → HEAD CIRCUM_BOYS.percentile.yearly-fe649439.js} +0 -0
  291. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-bbc8896c.js → HEAD CIRCUM_BOYS.zscore.monthly-7d04c710.js} +0 -0
  292. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8b0ba59a.js → HEAD CIRCUM_BOYS.zscore.weekly-a3aa927c.js} +0 -0
  293. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-e9b53a1e.js → HEAD CIRCUM_BOYS.zscore.yearly-df498b86.js} +0 -0
  294. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-c140f18f.js → HEAD CIRCUM_GIRLS.percentile.monthly-67dc53ea.js} +0 -0
  295. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-11d9f2f5.js → HEAD CIRCUM_GIRLS.percentile.weekly-9cbb20b0.js} +0 -0
  296. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-7c20e5b6.js → HEAD CIRCUM_GIRLS.percentile.yearly-235da9ae.js} +0 -0
  297. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-0f1644f9.js → HEAD CIRCUM_GIRLS.zscore.monthly-c7be053b.js} +0 -0
  298. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-8e636021.js → HEAD CIRCUM_GIRLS.zscore.weekly-9e796f14.js} +0 -0
  299. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-5d6f2179.js → HEAD CIRCUM_GIRLS.zscore.yearly-509fe659.js} +0 -0
  300. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-ba0059e1.js → HEIGHT_BOYS.percentile.monthly-8f5650b0.js} +0 -0
  301. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-50a82859.js → HEIGHT_BOYS.percentile.weekly-025502cd.js} +0 -0
  302. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-080fc2db.js → HEIGHT_BOYS.percentile.yearly-07b97fa8.js} +0 -0
  303. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-820ff477.js → HEIGHT_BOYS.zscore.monthly-7c551962.js} +0 -0
  304. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-1ddff730.js → HEIGHT_BOYS.zscore.weekly-f9128c36.js} +0 -0
  305. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-ec97e4f2.js → HEIGHT_BOYS.zscore.yearly-bbcaa587.js} +0 -0
  306. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-54948f83.js → HEIGHT_GIRLS.percentile.monthly-c4f3666e.js} +0 -0
  307. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-c7951d7a.js → HEIGHT_GIRLS.percentile.weekly-4df96f09.js} +0 -0
  308. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-307b282a.js → HEIGHT_GIRLS.percentile.yearly-8f87ac73.js} +0 -0
  309. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-122b78cc.js → HEIGHT_GIRLS.zscore.monthly-c4f3afcb.js} +0 -0
  310. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-25185cae.js → HEIGHT_GIRLS.zscore.weekly-b8c6c322.js} +0 -0
  311. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-007321e7.js → HEIGHT_GIRLS.zscore.yearly-fd9f4817.js} +0 -0
  312. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-e386f515.js → WEIGHT_BOYS.percentile.monthly-0f33cc55.js} +0 -0
  313. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-27d364bd.js → WEIGHT_BOYS.percentile.weekly-3e554351.js} +0 -0
  314. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-25d11e78.js → WEIGHT_BOYS.percentile.yearly-7f0db3de.js} +0 -0
  315. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-43715f1e.js → WEIGHT_BOYS.zscore.monthly-0a9f96e1.js} +0 -0
  316. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-9f6ff107.js → WEIGHT_BOYS.zscore.weekly-277f86df.js} +0 -0
  317. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-e706a415.js → WEIGHT_BOYS.zscore.yearly-3fcbc8bd.js} +0 -0
  318. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-22e5cd1e.js → WEIGHT_GIRLS.percentile.monthly-7ab8dba9.js} +0 -0
  319. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-89891001.js → WEIGHT_GIRLS.percentile.weekly-46a6c481.js} +0 -0
  320. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-64dce69c.js → WEIGHT_GIRLS.percentile.yearly-6c08bca8.js} +0 -0
  321. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-244407d3.js → WEIGHT_GIRLS.zscore.monthly-86bc7041.js} +0 -0
  322. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-86188e27.js → WEIGHT_GIRLS.zscore.weekly-1cb1e605.js} +0 -0
  323. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d602f7f3.js → WEIGHT_GIRLS.zscore.yearly-f2c1ab27.js} +0 -0
  324. /package/build/esm/{constants-2a607b29.js → constants-28447c61.js} +0 -0
  325. /package/build/esm/{cookieHelper-d4b86288.js → cookieHelper-b4aebd0b.js} +0 -0
  326. /package/build/esm/{isProduction-22a60e6c.js → isProduction-1b55d0a6.js} +0 -0
  327. /package/build/esm/{localizeNumberFormat-14be14cd.js → localizeNumberFormat-7e0aa82c.js} +0 -0
  328. /package/build/esm/{theme-25d03c98.js → theme-ee5d0e66.js} +0 -0
  329. /package/build/esm/{translationsContext-8b14d38c.js → translationsContext-e39a8c01.js} +0 -0
  330. /package/build/esm/{types-58902c81.js → types-2b7d979f.js} +0 -0
  331. /package/build/esm/{useOutsideClick-9eb9edf2.js → useOutsideClick-db4817fe.js} +0 -0
  332. /package/build/esm/{useScrollbarSize-60f7624e.js → useScrollbarSize-fc234f6d.js} +0 -0
  333. /package/build/esm/{utils-1e2b6e44.js → utils-d6f6da15.js} +0 -0
  334. /package/build/{isProduction-0af5eba1.js → isProduction-7e357d28.js} +0 -0
  335. /package/build/{localizeNumberFormat-f2185b76.js → localizeNumberFormat-0169c998.js} +0 -0
  336. /package/build/{theme-c1044fdb.js → theme-37595e4f.js} +0 -0
  337. /package/build/{translationsContext-76f0f0ab.js → translationsContext-51c97003.js} +0 -0
  338. /package/build/{tslib.es6-35a83a50.js → tslib.es6-edc720a6.js} +0 -0
  339. /package/build/{types-25a7649a.js → types-369fb21e.js} +0 -0
  340. /package/build/{useOutsideClick-aeb115e1.js → useOutsideClick-8d68f272.js} +0 -0
  341. /package/build/{useScrollbarSize-a8d87ada.js → useScrollbarSize-54ca891c.js} +0 -0
  342. /package/build/{utils-5e9bd883.js → utils-7a17dcfb.js} +0 -0
@@ -0,0 +1 @@
1
+ import{a as n,_ as e,b as t,c as i,d as o}from"./tslib.es6-bfb95386.js";import a,{useMemo as r,useRef as l,useEffect as s,useState as d,memo as p,useContext as c,useCallback as m}from"react";import{L as g}from"./index-ec632981.js";import{d as u,C as h,a as f,T as x,L as v,S as y,U as b}from"./index-dc551bd2.js";import{g as w,a as E,b as k,c as C,d as P}from"./routing-a1441861.js";import{P as B,c as N,a as _}from"./dataTransform-63490ce1.js";import{C as z,L as A}from"./index-8162546b.js";import{u as T}from"./useTranslations-8d6045eb.js";import M from"lodash/throttle";import{g as H,M as L}from"./utils-d6f6da15.js";import S from"styled-components";import{A as U}from"./index-38a7d187.js";import{B as D}from"./index-0175581a.js";import{T as j}from"./index-f95e1673.js";import{CommonGAssets as R}from"./gAssets.js";import{t as I}from"./theme-ee5d0e66.js";import{Portal as O}from"@mantine/core";import{g as F}from"./defaultClassWrapper-a9f0d373.js";import{g as G}from"./cookieHelper-b4aebd0b.js";import{L as V}from"./constants-28447c61.js";import W from"string-format";import{o as Y,U as Z}from"./index-13d040f6.js";import{P as Q}from"./index-412ffd4b.js";import{H as K}from"./index-295ef099.js";import q from"dayjs";import J from"dayjs/plugin/relativeTime";import X from"lodash/debounce";import{g as $}from"./core-92bfbf18.js";var nn,en,tn,on=S.div(nn||(nn=n(["\n ","\n"],["\n ","\n"])),(function(n){return"\n ".concat(0!==n.lowerBound?"@media (max-width: ".concat(n.lowerBound-1,"px) { display: none; }"):"","\n ").concat(0!==n.upperBound?"@media (min-width: ".concat(n.upperBound,"px) { display: none; }"):"","\n ")})),an=function(n){var e=n.forceDisplay,t=n.mediaQueryKey,i=n.children,o=n.className,l=n.style,s=r((function(){return H(t)}),[t]),d=s[0],p=s[1];return a.createElement(on,{lowerBound:e?0:d,upperBound:e?0:p,className:o,style:l},i)},rn=function(n){var e=(n||{}).allowBgScroll,t=l();return{containerRef:t,onContainerFocus:function(){e||(document.documentElement.style.overflow="hidden")},onContainerBlur:function(){e||(document.documentElement.style.overflow="")},onButtonMouseDown:function(n){t.current&&(document.activeElement===t.current||t.current.contains(document.activeElement))&&(t.current.blur(),document.activeElement.blur(),n.preventDefault())},onClose:function(){t.current&&(document.activeElement===t.current||t.current.contains(document.activeElement))&&(t.current.blur(),document.activeElement.blur())}}},ln=S.div(en||(en=n(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"])),L.mbDown,L.mbUp,(function(n){return n.theme.colors.gray800}),L.mbDown,L.mbUp,(function(n){return n.theme.colors.gray600}),L.mbDown,L.mbUp),sn=S.div(tn||(tn=n(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"])),L.mbDown,L.mbUp,(function(n){return"marryBaby"===n.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""})),dn=function(n){var e=n.openLogoutPopup,t=n.onCloseHandler,i=n.onLogoutHandler,o=n.siteType,r=void 0===o?"helloSites":o,l=T().t;return s((function(){document.body.classList.toggle("noscroll",e)}),[e]),a.createElement(O,null,a.createElement(B,{type:"confirm",isOpen:e,closeIcon:a.createElement("img",{src:R.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon"}),onClose:t},a.createElement(ln,null,"helloSites"===r&&a.createElement("img",{src:R.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account"}),a.createElement("h2",null,l("helloSites"===r?"logout.popup.ask1":"logout.popup.ask.mb")),a.createElement("p",null,l("logout.popup.ask2")),a.createElement(sn,{siteType:r},a.createElement(D,{className:"logout-button",color:"tertiary",size:"lg",onClick:i},l("logout.popup.button.logout")),a.createElement(D,{className:"cancel-button",color:"primary",size:"lg",onClick:t},l("logout.popup.button.cancel"))))))},pn="hhgcomp-navprofilebutton-popup",cn=F(S.div(gn||(gn=n(["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n "," {\n max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n width: 100%;\n border-top: 1px solid ",";\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n "," {\n max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n width: 100%;\n border-top: 1px solid ",";\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(n){return n.theme.colors.white}),L.mbDown,L.mbUp,L.mbDown,L.mbUp,L.mbDown,L.mbUp,(function(n){return n.theme.colors.gray200}),L.mbDown,I.colors.neutral100,L.mbUp),pn),mn="hhgcomp-navprofilebutton-popupwrapper";F(S.div(un||(un=n(["\n position: fixed;\n z-index: 150;\n top: var(--header-bottom, 69px);\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 150;\n top: var(--header-bottom, 69px);\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"])),L.mbUp,L.mbDown),mn);var gn,un,hn,fn,xn,vn=S.div(hn||(hn=n(["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"],["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"])),(function(n){return n.theme.colors.secondaryBase})),yn=S.a(fn||(fn=n(["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"],["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"])),pn,L.mbDown,mn),bn=S.a(xn||(xn=n(["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"],["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"])),L.mbUp,L.mbUp),wn="profile/posts?website_url={websiteUrl}",En=99,kn=300,Cn=400,Pn=210,Bn=function(n){var e,t,i,o;return n?{termId:n.term_id||null,sponsor:n.sponsor?(o=n.sponsor,o?{title:o.title,logo:o.logo,link:o.link}:{}):null,isSponsored:n.is_sponsored||null,categoryName:n.cat_name||n.name||null,name:n.name||null,iconUrl:n.icon||"",slugName:n.category_nicename||null,description:n.description||null,featureImage:n.thumbnail||n.image||null,displayName:n.name||null,parent:n.parent||null,permalink:n.permalink||null,slug:n.slug||null,childCates:(null===(e=n.child_cates)||void 0===e?void 0:e.map((function(n){return Bn(n)})))||[],thumnailColor:n.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:n.color_feature_image||null,imageColor:n.image_color||null,textColor:n.text_color||null,catParent:(null===(t=n.cat_parent)||void 0===t?void 0:t.name)?{name:n.cat_parent.name,permalink:n.cat_parent.permalink}:{},metaTag:n.meta_tag||"",reviewedBy:n.reviewed_by?(i=n.reviewed_by,{postTitle:i.post_title,permalink:i.permalink}):null,reviewedDate:n.reviewed_date||"",faqs:n.faqs?n.faqs.map((function(n){return function(n){return{title:n.title,content:n.content}}(n)})):null}:{}},Nn=function(n){var e,t;if(!n)return{};var i=null===(e=n.link)||void 0===e?void 0:e.includes("/bot/"),o=null===(t=n.link)||void 0===t?void 0:t.startsWith("/fil/"),a=n.link?n.link.startsWith("http")||i?n.link:o?n.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):"/health-tools".concat(n.link.replace("/health-tools/","/")):void 0;return{icon:n.icon,link:a,subtitle:n.subtitle,title:n.title}},_n=function(n){return n?{thumbnail:n.thumbnail,link:null==n?void 0:n.slug,subtitle:n.name,name:n.name,slug:n.slug}:{}},zn=function(n){return n?{id:n.id,name:n.name,logo:null==n?void 0:n.logo,description:n.about,slug:n.slug}:{}},An=function(n){var e,t,i=n.type,o=n.specialtySlug,a=n.locale;return"".concat(null===(e=V[a])||void 0===e?void 0:e.ALL,"/").concat((null===(t=V[a])||void 0===t?void 0:t[i])||"doctor","/").concat(null!=o?o:"")},Tn=function(n){return n?{id:n.ID,name:n.name,permalink:n.permalink,image:(null==n?void 0:n.small_banner)||(null==n?void 0:n.image)||"",imageMedium:(null==n?void 0:n.image_medium)||null,imageThumbnail:(null==n?void 0:n.image_thumbnail)||null,startDate:null==n?void 0:n.start_date,endDate:null==n?void 0:n.end_date}:{}},Mn=function(n){var e=new Date;if(null==n?void 0:n.startDate){var t=new Date(n.startDate);if(e.getTime()<t.getTime())return!1}if(null==n?void 0:n.endDate){var i=new Date(n.endDate);if(e.getTime()>i.getTime())return!1}return!0},Hn={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"},Ln={navHeader:"uJQBNNg",navAvatar:"TfG3dM5",navHeaderUserInfos:"aMtjFNf",navHeaderUserName:"cSz2RR-",navHeaderMyProfileButton:"GyFm00F"};function Sn(n){var e=n.userInfo,t=n.onClickMyProfileButton,i=n.themeName,o=void 0===i?"helloSites":i,l=T().t,s=r((function(){var n=(null==e?void 0:e.name)||(null==e?void 0:e.username);return n&&n.length?n[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return a.createElement("div",{className:Ln.navHeader,onClick:function(){t&&t()}},a.createElement(U,{className:Ln.navAvatar,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:s,backgroundColor:"marryBaby"===o?I.mbColors.pink:I.colors.secondaryBase}),a.createElement("div",{className:Ln.navHeaderUserInfos},a.createElement("div",{className:Ln.navHeaderUserName},(null==e?void 0:e.name)||(null==e?void 0:e.username)),a.createElement("div",{className:Ln.navHeaderMyProfileButton,style:{"--bg-hellosites":"url(".concat(R.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg"),")"),"--bg-marrybaby":"url(".concat(R.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg"),")")}},l("userProfile.nav.header.viewProfile"))))}var Un,Dn,jn,Rn,In,On,Fn,Gn,Vn,Wn,Yn,Zn,Qn,Kn,qn,Jn="fVk18fq",Xn="v8TCvUb",$n="mx7T4V3",ne={myHealth:I.mbColors.toneYellow,myCommunity:I.mbColors.toneBlue,mySaved:I.mbColors.toneGreen},ee={helloSites:{myBooking:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg")},myCommunity:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg")},myFamily:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg")},myHealth:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg")},mySaved:function(){return R.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg")},eCom:function(){return R.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")}},marryBaby:{mySaved:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg")},myCommunity:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg")},myHealth:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}}},te=function(n){var e=n.type,t=n.themeName,i=n.className,o=n.onClick,l=void 0===o?function(){}:o,s=T().t,d=r((function(){var n,i;return(null===(i=null===(n=ee[t])||void 0===n?void 0:n[e])||void 0===i?void 0:i.call(n))||""}),[e,t]),p=r((function(){return"marryBaby"!==t?"transparent":ne[e]}),[e,t]);return a.createElement("div",{onClick:function(){l(e)},className:"".concat(Jn," ").concat(i)},a.createElement("div",{className:$n,style:{backgroundColor:p,backgroundImage:'url("'.concat(d,'")')}}),a.createElement("h3",{className:Xn},s("userProfile.nav.card.".concat(e))))},ie="gn6HmGG",oe="FCx8FEM",ae="zMiRxaE",re="lZ2Z9MQ",le="rwm-agG",se="qMOscoq",de=function(n){var e=n.themeName,t=n.locale,i=n.onClickItem,o=d(""),l=o[0],s=o[1],p=r((function(){return"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:R.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:R.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:R.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:R.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]}),[e]);function c(n){n.subMenu?s((function(e){return e?"":n.key})):i&&i(n)}return a.createElement("div",{className:ie},p.map((function(n){return a.createElement(pe,{key:n.key,item:n,openKey:l,onClickItem:c,locale:t})})))},pe=function(n){var e,t=n.item,i=n.openKey,o=n.onClickItem,r=n.locale,l=T().t;return(null===(e=t.disableLocale)||void 0===e?void 0:e.includes(r))?null:a.createElement("div",{className:"".concat(oe," nav-menu-item"),"data-is-open":i===t.key,key:t.key,"data-has-submenu":!!t.subMenu},a.createElement("div",{className:ae,onClick:function(){return o(t)}},t.icon&&a.createElement("div",{className:re,style:{backgroundImage:'url("'.concat(t.icon,'")')}}),l(t.key),t.subMenu&&a.createElement("div",{className:le,style:{"--after-bg":"url(".concat(R.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg"),")")}})),t.subMenu&&a.createElement("div",{className:se},t.subMenu.map((function(n){return a.createElement(pe,{key:n.key,item:n,openKey:i,onClickItem:o,locale:r})}))))},ce="-AZt1au",me="IvSIfCI",ge="eahCJov",ue="XIyViFs",he="_4y-O0w3",fe="kO8iNgD",xe="a1d4E10",ve="Tdguxxf",ye="-mOxsaU",be="yPeDBNZ",we={helloSites:{member:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg")},ambassador:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg")},doctor:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg")},expert:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg")},influencer:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")}},marryBaby:{member:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg")},ambassador:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg")},doctor:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg")},expert:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg")},influencer:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}}},Ee=function(n){var e=n.themeName,t=n.rank,i=void 0===t?"member":t,o=n.numberOfPosts,l=void 0===o?0:o,s=T().t,d=r((function(){var n,t;return(null===(t=null===(n=we[e])||void 0===n?void 0:n[i])||void 0===t?void 0:t.call(n))||""}),[i,e]);return a.createElement("div",{className:he,"data-user-rank":i},a.createElement("div",{className:fe},a.createElement("div",{className:xe},a.createElement("div",{className:ve,style:{backgroundImage:'url("'.concat(d,'")')}}),a.createElement("h3",{className:ye},s("userProfile.userRank.".concat(i))),l>0&&a.createElement("p",{className:be},l," ",s("userProfile.nav.header.count.posts")))))},ke=function(n){var t=n.SSO_URL,i=n.UP_BASEPATH,o=void 0===i?"user":i,l=n.themeName,p=void 0===l?"helloSites":l,c=n.cardUrls,m=void 0===c?Hn:c,g=n.enableCare,h=n.enableTogether,f=n.enableEcom,x=n.userInfo,v=n.togetherApiDomain,y=n.userPostsNumber,b=n.onClickNavigationCard,w=n.onClickMyProfileButton,E=n.onClickMenuItem,k=n.onClickLogout,C=n.isUserProfileNavigatorMenuHidden,P=void 0!==C&&C,B=n.isMyHealthEnabled,N=void 0!==B&&B,_=n.locale,z=T().t,A=d(y||0),M=A[0],H=A[1],L="marryBaby"===p;s((function(){if(x&&void 0===y){var n=G("hhg_user_token");n&&fetch(function(n,t,i,o){return(i||"https://together.hellohealthgroup.com/")+"api/v1/"+W(wn,e(e({},o),{websiteUrl:t?"https://marrybaby.vn":"https://".concat(u[n])}))}(_,L,v),{headers:{Authorization:"Bearer ".concat(n)}}).then((function(n){return n.json()})).then((function(n){var e,t,i;1===(null==n?void 0:n.status)&&(null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.pagination)&&H((null===(i=null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.pagination)||void 0===i?void 0:i.total_items)||0)})).catch((function(n){return console.error("Error fetching post number",n)}))}}),[_,null!==x,y,v,L]);var S=r((function(){return(L?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"]).filter((function(n){return"myBooking"===n?g:"myCommunity"===n?h:"myHealth"===n?N:"eCom"!==n||f}))}),[L,N]),U=r((function(){return"marryBaby"===p?null:a.createElement(D,{color:"tertiary",icon:a.createElement("img",{src:R.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15}),size:"md",onClick:k,className:ue},z("userProfile.nav.menu.logout"))}),[p]),j=function(n){window.location.href="".concat(t).concat(o,"/").concat(n)},I=function(n){var e=m[n];b?b(e):j(e)};return x?a.createElement("div",{className:ce,"data-theme":p},a.createElement(Sn,{userInfo:x,themeName:p,onClickMyProfileButton:function(){w?w():j("profile")}}),a.createElement(Ee,{themeName:p,rank:"member",numberOfPosts:M}),a.createElement("div",{className:me},S.map((function(n){return a.createElement(te,{className:ge,key:n,themeName:p,type:n,onClick:I})}))),!P&&a.createElement(a.Fragment,null,a.createElement(de,{themeName:p,locale:_,onClickItem:function(n){"logout"===n.link&&k?k():n.link&&!n.subMenu&&(E?E(n.link):j(n.link))}}),U)):null},Ce=function(n){var e=n.type,t=void 0===e?"lead":e,i=n.closeIcon,o=n.isOpen,r=void 0===o||o,l=n.onClose,s=n.children,d=n.enableAnimation,p=void 0===d||d,c=n.targetAvatar,m=n.id,g=n.className;return a.createElement(cn,{"data-open":r,"data-type":t,"data-animation":p,"data-target":c,id:m,className:g},a.createElement("div",{className:"popup-content"},!!i&&a.createElement("div",{className:"close-button",onClick:l},i),s))},Pe=function(n){var e=n.SSO_URL,t=n.UP_BASEPATH,i=n.isOpen,o=n.targetAvatar,r=n.userInfo,l=n.enableCare,s=n.enableTogether,d=n.enableEcom,p=n.closePopup,c=n.siteType,m=void 0===c?"helloSites":c,g=n.dispatchLogout,u=n.userProfileRouterPush,h=n.isUserProfileNavigatorMenuHidden,f=n.isMyHealthEnabled,x=void 0!==f&&f,v=n.togetherApiDomain,y=n.locale,b=function(n){u?u("/".concat(n)):e&&(window.location.href="".concat(e).concat(t,"/").concat(n))},w=function(n){b(n),p()};return a.createElement(Ce,{isOpen:i,type:"profile",enableAnimation:!0,targetAvatar:o,onClose:p},a.createElement(ke,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:r,enableCare:l,enableTogether:s,enableEcom:d,onClickLogout:function(){g&&(g(),p())},onClickMenuItem:w,onClickNavigationCard:w,onClickMyProfileButton:function(){b("profile"),p()},isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:x,togetherApiDomain:v,locale:y}))},Be=function(n){var o=n.userInfo,r=n.siteType,l=n.onLoginClick,p=n.SSO_URL,c=n.currentUrl,m=n.isMinifyLogin,g=n.enableCare,u=n.enableTogether,h=n.enableEcom,f=n.isUserProfileNavigatorMenuHidden,x=n.UP_BASEPATH,v=n.isMyHealthEnabled,y=n.togetherApiDomain,b=n.onLogout,w=n.style,E=n.userProfileRouterPush,k=n.isLoading,C=n.locale,P=T().t,B=d(!1),N=B[0],_=B[1],z=(null==o?void 0:o.name)||(null==o?void 0:o.username),A=d(!1),M=A[0],H=A[1];s((function(){H(!0)}),[]);var L=rn(),S=L.containerRef,O=L.onContainerFocus,F=L.onContainerBlur,G=L.onButtonMouseDown,V=L.onClose;return k?a.createElement(D,{size:"sm",color:"transparent",isLoading:!0}):(null==o?void 0:o.id)?a.createElement(a.Fragment,null,a.createElement(yn,{ref:S,style:w,tabIndex:0,onBlur:F,onFocus:O},a.createElement("div",{onMouseDown:G},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),a.createElement(U,{type:"rounded",size:"medium",className:"user-avatar",avatarUrl:null==o?void 0:o.avatar,firstLetter:z&&z.length?z[0].toUpperCase():"A",backgroundColor:"marryBaby"===r?I.mbColors.pink:I.colors.secondaryBase})),a.createElement(Pe,{UP_BASEPATH:x,SSO_URL:p,dispatchLogout:function(){V(),_(!0)},isOpen:!1,isMyHealthEnabled:v,enableCare:g,enableTogether:u,enableEcom:h,closePopup:V,userInfo:o,siteType:r,isUserProfileNavigatorMenuHidden:f,togetherApiDomain:y,userProfileRouterPush:E,locale:C})),a.createElement(dn,{openLogoutPopup:N,onCloseHandler:function(){document.body.classList.toggle("noscroll",!1),_(!1)},siteType:r,onLogoutHandler:function(){return t(void 0,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return _(!1),document.body.classList.toggle("noscroll",!1),[4,b()];case 1:return n.sent(),[2]}}))}))}})):a.createElement(bn,{style:e({textDecoration:"none"},w),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":c,href:M?void 0:"".concat(p,"?returnUrl=").concat(c),"data-site-type":r},m?a.createElement(vn,{onClick:l},a.createElement("img",{src:R.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):a.createElement(a.Fragment,null,"helloSites"===r&&a.createElement("img",{className:"mobile-only",src:R.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:l}),"marryBaby"===r&&a.createElement("div",{className:"mobile-only",onClick:l,style:{paddingLeft:16}},a.createElement(j,{size:"p3",color:I.mbColors.pink},P("navigation.loginJoin"))),a.createElement(D,{className:"login-btn",size:"md",color:"tertiary",onClick:l,icon:a.createElement("img",{src:R.getAssetPath("login.svg"),width:18,height:18}),theme:r},P("navigation.loginJoin"))))},Ne=a.createContext({}),_e=function(n){var t=n.children,i=o(n,["children"]),l=a.useState((function(){return i.currentUrl||"https://".concat("marryBaby"===i.siteType?Y[i.locale||"en-PH"]:u[i.locale||"en-PH"]).concat("together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":"","/")})),d=l[0],p=l[1];s((function(){var n=function(){p(window.location.href)};return window.addEventListener("popstate",n),n(),function(){window.removeEventListener("popstate",n)}}),[]);var c=function(n){var e=n.locale,t=n.projectType,i=n.isMobile,o=n.siteType;return r((function(){var n=!(!i&&"profile"===t),a="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,r="marryBaby"!==o&&"marryBaby"!==t&&h.includes(e),l="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&f.includes(e),s="marryBaby"===t||x.includes(e),d="ecom"===t,p="ecom"===t,c=w(e,"marryBaby"===o),m=E(e,"marryBaby"===o);return{enableProfileNavigatorMenu:n,enableSearchBar:a,enableNavCare:r,enableNavCareBooking:l,enableNavTogether:s,enableNavEcom:d,enableProfileEcom:p,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:"".concat(c,"/care"),TOGETHER_URL_FE:"".concat(c,"/community"),SSO_URL:m,TOGETHER_API:k(),DISCOVER_API:C(e)}}}),[e,t,i])}({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return a.createElement(Ne.Provider,{value:e(e({},i),{configs:c,currentUrl:i.currentUrl||d})},t)},ze="-XmTq5-",Ae="V-oxu20",Te=function(n){var e=n.item,t=n.menu,i=rn({allowBgScroll:!0}),o=i.containerRef,r=i.onContainerFocus,l=i.onContainerBlur,p=i.onButtonMouseDown,c=i.onClose,m=function(){var n=d(!0),e=n[0],t=n[1];return s((function(){t(!1)}),[]),e}();return!e.popupType&&e.link?a.createElement("a",{className:"hhgcomp-navigation-itemnav-headeritem ".concat(m?"":"menu-handler-".concat(e.id)),tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:Ae},e.name)):a.createElement("div",{ref:o,className:"hhgcomp-navigation-itemnav-headeritem ".concat(m?"":"menu-handler-".concat(e.id)),tabIndex:0,key:e.id,onBlur:l,onFocus:r,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:p,className:Ae},e.name,e.popupType&&a.createElement("div",{className:ze},a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),a.isValidElement(t)?a.cloneElement(t,{onClose:c}):null)},Me=p((function(){return a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"}))})),He=function(){var n=c(Ne),e=n.locale,t=n.configs.statics,i=n.siteType,o=T().t;return a.createElement(Q,{className:"fake-search-input",name:"search-input-menu-service",size:"md",placeholder:"marryBaby"===i?o("navigation.search.input.placeholder"):o("home.search",{site:v[e||"en-PH"]?v[e||"en-PH"].SITE_NAME:""}),onChange:function(){},onKeyDown:function(n){return"Enter"===n.key&&(window.location.href="".concat(t.HOME_PAGE_URL,"/search/?s=").concat(n.target.value))},type:"search",onFocus:function(n){n.preventDefault()},displayIcon:a.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},a.createElement(Me,null))})},Le="eJS8-if",Se="EuQrB-3",Ue="_0JtBh8L",De=function(n){var e=n.onClosePopup;return a.createElement("div",{className:"".concat(Ue," close-btn"),onClick:e},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))},je=function(n){var e=n.onClosePopup,t=n.isDisplay,i=n.children,o=n.isNavMenu,r=n.hideCloseBtn;return a.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!o},a.createElement(z,null,!r&&a.createElement("div",{className:Se},a.createElement(De,{onClosePopup:e})),a.createElement(z,{className:Le},i)))},Re=S.div(Un||(Un=n(["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"])),L.mbUp),Ie=S.a(Dn||(Dn=n(["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n max-width: 40px;\n width: 100%;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n img {\n border-radius: 50%;\n }\n }\n }\n"],["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n max-width: 40px;\n width: 100%;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n img {\n border-radius: 50%;\n }\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.lightPink}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.mbColors.lightGray})),Oe=S.div(jn||(jn=n(["\n margin: 15px 0;\n "," {\n display: none;\n }\n"],["\n margin: 15px 0;\n "," {\n display: none;\n }\n"])),L.mbDown),Fe=S.div(Rn||(Rn=n(["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"],["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"])),L.mbUp),Ge=S.div(In||(In=n(["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Ve=S.div(On||(On=n(["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"]))),We=S.a(Fn||(Fn=n(["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"],["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.pink}),L.mbDown),Ye=function(n){var e=n.hrefViewMore,t=n.titleBtnViewMore,i=n.UrlFE,o=n.onClosePopup,r=n.menuItems,l=n.headingTitle,s=c(Ne).siteType;return a.createElement(Re,null,a.createElement(Oe,null,a.createElement(K,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},l)),null==r?void 0:r.slice(0,6).map((function(n,e){var t=(null==n?void 0:n.link)?(null==n?void 0:n.link.startsWith("http"))?null==n?void 0:n.link:"".concat(i,"/").concat(null==n?void 0:n.link.split("/").filter(Boolean).join("/"),"/"):"/";return a.createElement(Ie,{className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t,"data-is-heading-category":!1,href:t,"data-theme":s,key:e,onClick:o},a.createElement("div",{className:"icon"},a.createElement("img",{loading:"lazy",alt:n.name,src:n.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32}})),a.createElement("p",null,n.name),a.createElement(Fe,null,a.createElement("img",{src:R.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"}})))})),t&&a.createElement(We,{"data-theme":s,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},a.createElement(Ge,{onClick:o,"data-theme":s,"data-is-heading-category":!1},t,a.createElement(Ve,null,a.createElement("img",{className:"svg",src:"marryBaby"===s?R.getAssetPath("chevronRightPink.svg"):R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}})))))},Ze=S.div(Gn||(Gn=n(["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"],["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"])),L.mbDown,L.mbUp),Qe=S.div(Vn||(Vn=n(["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"],["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"])),(function(n){return n.theme.colors.gray600})),Ke=S.div(Wn||(Wn=n(["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"],["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"]))),qe=S.div(Yn||(Yn=n(["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"],["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"]))),Je=S.div(Zn||(Zn=n(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"])),L.mbDown),Xe=function(n){var e=n.title,t=n.link,i=n.description,o=n.cta,r=n.icon,l=c(Ne).siteType;return a.createElement(Ze,{"data-theme":l},a.createElement(Je,null,a.createElement("img",{src:"marryBaby"===l?R.getAssetPath("navMBSpotlightBgNoData.svg"):R.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(qe,null,r&&a.createElement("img",{src:r,width:64,height:64}))),a.createElement("div",null,e&&a.createElement(Ke,null,e),i&&a.createElement(Qe,null,i),o&&a.createElement("div",null,a.createElement("a",{href:t},a.createElement(D,{theme:l,className:"survey-contact-submit",size:"md"},o)))))},$e=S.div(Qn||(Qn=n(["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"],["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"])),L.mbDown,(function(n){return n.theme.colors.neutral100})),nt=S.div(Kn||(Kn=n(["\n margin: 15px 0;\n display: flex;\n"],["\n margin: 15px 0;\n display: flex;\n"]))),et=S.a(qn||(qn=n(["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"],["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),L.mbDown),tt=function(n){var e=n.title,t=n.viewMore,i=n.children,o=n.link,r=n.dataEventAction,l=void 0===r?"":r,s=c(Ne).siteType;return a.createElement($e,null,a.createElement(nt,null,a.createElement(K,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},e),t&&a.createElement(et,{"data-event-category":"Hamburger Navigation","data-event-action":l,"data-event-label":o,href:o,"data-theme":s},t,a.createElement("img",{src:"marryBaby"===s?R.getAssetPath("chevronRightPink.svg"):R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}}))),i)};S.div(it||(it=n(["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}));var it,ot,at,rt,lt,st,dt,pt,ct,mt=S.div(ot||(ot=n(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"])),L.tdDown),gt=S.div(at||(at=n(["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"],["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"])),L.tdDown,L.mbDown),ut=S.div(rt||(rt=n(["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"],["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"]))),ht=S.div(lt||(lt=n(["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"],["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),L.tdDown),ft=S.p(st||(st=n(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"])),(function(n){return n.theme.colors.gray800}),L.tdDown),xt=S.p(dt||(dt=n(["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"],["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"])),(function(n){return n.theme.colors.gray600}),L.tdDown),vt="hhgcomp-navigation-menucareitem-contentwrapper",yt=F(S.div(pt||(pt=n(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"],["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"])),L.tdDown),vt),bt=S.a(ct||(ct=n(["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"])),I.colors.white,L.tdUp,L.tdDown,vt,L.mbDown,L.tdOnly,I.colors.neutral100),wt=function(n){var e,t=n.item,i=n.index,o=void 0===i?0:i,r=T().t,l=c(Ne),s=l.locale,d=l.configs.statics;if(!t)return null;var p="".concat(d.CARE_URL_FE,"/").concat(null===(e=V[s])||void 0===e?void 0:e.HOSPITAL,"/").concat(t.slug,"-").concat(t.id);return a.createElement(bt,{key:t.id,href:p,"data-event-category":"Hamburger Navigation","data-event-action":"Care Click ".concat(o+1),"data-event-label":p},a.createElement("img",{src:R.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),a.createElement(gt,null,a.createElement(ut,null,a.createElement("img",{loading:"lazy",alt:t.name,src:t.logo||"/images/avatar.jpg"}))),a.createElement(yt,null,a.createElement(ft,null,t.name),a.createElement(xt,null,t.description),a.createElement(ht,null,r("home.seeMore"),a.createElement("img",{src:R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))))},Et=function(n){var e=n.spotlights,t=void 0===e?[]:e,i=n.hrefViewMore,o=T().t;return a.createElement(tt,{title:o("home.navigator.menu.spotlightHospitals")},0!==t.length?a.createElement(mt,null,null==t?void 0:t.slice(0,3).map((function(n,e){return a.createElement(wt,{key:e,index:e,item:n})}))):a.createElement(Xe,{title:o("home.navigator.menu.care.noDatas.title"),description:o("home.navigator.menu.care.noDatas.description"),link:i,cta:o("home.navigator.menu.care.noDatas.cta"),icon:R.getAssetPath("community.svg")}))},kt=function(n){var e,t=n.careSpecialties,i=void 0===t?[]:t,o=n.isOpen,r=n.onClose,l=n.spotlights,s=void 0===l?[]:l,d=T().t,p=c(Ne),m=p.locale,g=p.configs.statics,u="".concat(g.CARE_URL_FE,"/").concat(null===(e=V[m])||void 0===e?void 0:e.SPECIALTIES);return a.createElement(je,{onClosePopup:r,isDisplay:o,isNavMenu:!0},a.createElement(Ye,{headingTitle:d("home.navigator.menuItem.specialties"),hrefViewMore:u,UrlFE:g.CARE_URL_FE,onClosePopup:r,titleBtnViewMore:d("home.navigator.menuItem.allSpecialties"),menuItems:(null==i?void 0:i.map((function(n){return n?{name:String(n.name)||"",link:An({type:"DOCTOR",specialtySlug:n.slug,locale:m}),thumbnail:(null==n?void 0:n.thumbnail)||""}:{}})))||[]}),a.createElement(Et,{spotlights:s,hrefViewMore:u}))};S.div(Ct||(Ct=n(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"]))),S.div(Pt||(Pt=n(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var Ct,Pt,Bt,Nt,_t,zt,At=S.div(Bt||(Bt=n(["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"])),L.tdDown),Tt=S.a(Nt||(Nt=n(["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"],["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"]))),Mt=S.div(_t||(_t=n(["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"],["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"])),L.tdDown),Ht=S.p(zt||(zt=n(["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"],["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),L.tdUp),Lt=function(n){var e=n.item,t=n.index,i=void 0===t?0:t;return e?a.createElement(Tt,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Spotlight Click ".concat(i+1),"data-event-label":e.link},a.createElement(Mt,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),a.createElement(Ht,null,e.title)):null},St=function(n){var e=n.spotlightsList,t=void 0===e?[]:e,i=n.hrefViewMore,o=T().t,r=c(Ne).configs.statics;return a.createElement(tt,{title:o("home.navigator.menu.spotlights"),viewMore:o("home.navigator.menu.spotlights.seeAll"),link:i,dataEventAction:"Spotlight See More Click"},0!==t.length?a.createElement(At,null,null==t?void 0:t.slice(0,4).map((function(n,e){return a.createElement(Lt,{key:e,index:e,item:{id:n.id,link:r.HOME_PAGE_URL+n.permalink,title:n.name,banner:n.image}})}))):a.createElement(Xe,{title:o("home.navigator.menu.category.noDatas.title"),description:o("home.navigator.menu.category.noDatas.description"),link:i,cta:o("home.navigator.menu.category.noDatas.cta"),icon:R.getAssetPath("Spotlight.svg")}))},Ut=function(n){var e=n.categories,t=void 0===e?[]:e,i=n.spotlightsList,o=void 0===i?[]:i,r=n.onClose,l=n.isOpen,s=T().t,d=c(Ne),p=d.locale,m=d.configs.statics;return a.createElement(je,{onClosePopup:r,isDisplay:l,isNavMenu:!0},a.createElement(Ye,{hrefViewMore:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===p?"/fil":"","/categories/"),UrlFE:m.HOME_PAGE_URL,onClosePopup:r,titleBtnViewMore:s("home.navigator.menuItem.allCategories"),menuItems:(null==t?void 0:t.map((function(n){return n?{name:n.displayName||null,link:(null==n?void 0:n.permalink)||"/",thumbnail:n.iconUrl||null}:{}})))||[],headingTitle:s("home.navigator.menuItem.healthCategories")}),a.createElement(St,{spotlightsList:o,hrefViewMore:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===p?"/fil":"","/spotlight/")}))};S.div(Dt||(Dt=n(["\n & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),S.div(jt||(jt=n(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var Dt,jt,Rt,It,Ot,Ft,Gt,Vt,Wt,Yt,Zt,Qt,Kt,qt,Jt=S.div(Rt||(Rt=n(["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"],["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"])),L.tdDown,L.mbDown),Xt=S.div(It||(It=n(["\n padding: 5px;\n flex: 1;\n"],["\n padding: 5px;\n flex: 1;\n"]))),$t=S.img(Ot||(Ot=n(["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"],["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"]))),ni=S.div(Ft||(Ft=n(["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.gray800})),ei=S.div(Gt||(Gt=n(["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.primaryBase})),ti=S.div(Vt||(Vt=n(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(n){return n.theme.colors.gray600})),ii=S.div(Wt||(Wt=n(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(n){return n.theme.colors.gray600})),oi=S.a(Yt||(Yt=n(["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"],["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral100}),L.tdOnly,L.mbDown,L.tdUp),ai=S.div(Zt||(Zt=n(["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"],["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"]))),ri=S.div(Qt||(Qt=n(["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"],["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.gray800})),li=S.div(Kt||(Kt=n(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"],["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"]))),si=S.div(qt||(qt=n(["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"],["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"])));q.extend(J);var di=function(n){var e,t,i,o,r,l,s,d=n.post,p=n.index,m=void 0===p?0:p,g=c(Ne),u=g.siteType,h=g.configs.statics;if(!d)return null;var f=[h.TOGETHER_URL_FE,null===(e=d.community)||void 0===e?void 0:e.slug].join("/"),x=[f,d.slug].join("/"),v=d.createdAt,y=v?isNaN(new Date(v).getTime())?null:new Date(v):null,b=y?q(y).toNow(!0):v;return a.createElement(oi,{href:x,"data-event-category":"Hamburger Navigation","data-event-action":"Together Click ".concat(m+1),"data-event-label":x},a.createElement(Xt,null,a.createElement(ai,null,a.createElement(Z,{avatar:null===(t=d.author)||void 0===t?void 0:t.avatar,username:(null===(i=d.author)||void 0===i?void 0:i.name)||(null===(o=d.author)||void 0===o?void 0:o.username)}),a.createElement(si,null,a.createElement(ni,{"data-theme":u},null===(r=d.author)||void 0===r?void 0:r.name),a.createElement(li,null,a.createElement(ei,{"data-event-category":"Hamburger Navigation","data-event-action":"Topic Click ".concat(m+1),"data-event-label":f,onClick:function(n){n.preventDefault(),location.href=f},"data-theme":u},null===(l=d.community)||void 0===l?void 0:l.name),a.createElement(ii,null,"•"),a.createElement(ti,{"data-theme":u},b)))),a.createElement(ri,null,d.title)),!!(null===(s=d.photos)||void 0===s?void 0:s.length)&&a.createElement($t,{loading:"lazy",src:d.photos[0]}))},pi=function(n){var e=n.spotlights,t=void 0===e?[]:e,i=c(Ne).configs.statics,o=T().t;return a.createElement(tt,{title:o("home.navigator.menu.trendingPosts"),viewMore:o("home.navigator.menu.trendingPosts.seeMore"),link:i.TOGETHER_URL_FE+"/",dataEventAction:"Together See More Click"},0!==t.length?a.createElement(Jt,null,null==t?void 0:t.slice(0,4).map((function(n,e){return a.createElement(di,{index:e,post:n,key:n.id})}))):a.createElement(Xe,{title:o("home.navigator.menu.together.noPosts.title"),description:o("home.navigator.menu.together.noPosts.description"),link:"".concat(i.HOME_PAGE_URL,"/community/"),cta:o("home.navigator.menu.together.noPosts.cta"),icon:R.getAssetPath("community.svg")}))},ci=function(n){var e=n.communities,t=void 0===e?[]:e,i=n.onClose,o=n.isOpen,r=n.spotlights,l=void 0===r?[]:r,s=T().t,d=c(Ne).configs.statics;return a.createElement(je,{onClosePopup:i,isDisplay:o,isNavMenu:!0},a.createElement(Ye,{hrefViewMore:d.TOGETHER_URL_FE+"/",UrlFE:d.TOGETHER_URL_FE,onClosePopup:i,titleBtnViewMore:s("home.navigator.menuItem.allCommunities"),menuItems:(null==t?void 0:t.map((function(n){return n?{name:n.name||"",link:n.slug||"/",thumbnail:n.thumbnail||""}:{}})))||[],headingTitle:s("home.navigator.menuItem.allCommunitiesheadingTitle")}),a.createElement(pi,{spotlights:l}))};S.div(mi||(mi=n(["\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n &[data-is-display='false'] {\n display: none;\n }\n"])));var mi,gi,ui,hi,fi,xi,vi,yi,bi,wi,Ei,ki,Ci,Pi,Bi,Ni,_i=S.div(gi||(gi=n(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"])),L.tdDown),zi=S.a(ui||(ui=n(["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"])),L.tdDown,L.tdDown),Ai=S.div(hi||(hi=n(["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"],["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"])),L.tdDown),Ti=S.div(fi||(fi=n(["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"])),(function(n){return n.theme.colors.primaryBase})),Mi=S.p(xi||(xi=n(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"])),(function(n){return n.theme.colors.gray800})),Hi=S.p(vi||(vi=n(["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray600}),L.tdDown),Li=S.div(yi||(yi=n(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"])),L.tdUp,L.tdDown),Si=function(n){var e=n.item,t=n.index,i=void 0===t?0:t,o=T().t,r=c(Ne).configs.statics;if(!e)return null;var l=e.link?e.link.startsWith("http")?e.link:"".concat(r.HOME_PAGE_URL).concat(e.link):void 0;return a.createElement(zi,{href:l,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(i+1),"data-event-label":l},a.createElement("img",{src:R.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(Li,null,a.createElement(Mi,null,e.title),a.createElement(Hi,null,e.subtitle),a.createElement(Ti,null,o("home.seeMore"),a.createElement("img",{src:R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))),a.createElement(Ai,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},Ui=S.a(bi||(bi=n(["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n width: 40px;\n height: 30px;\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"],["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n width: 40px;\n height: 30px;\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"])),(function(n){return n.theme.mbColors.tonePink}),(function(n){return n.theme.mbColors.peach}),(function(n){return n.theme.mbColors.toneYellow}),(function(n){return n.theme.mbColors.orange}),(function(n){return n.theme.mbColors.toneGreen}),(function(n){return n.theme.mbColors.mint}),L.tdDown,L.mbDown,L.tdUp,L.tdUp,L.tdDown),Di=S.div(wi||(wi=n(["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"],["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"])),L.tdDown,L.mbDown),ji=S.div(Ei||(Ei=n(["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"],["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"])),(function(n){return n.theme.mbColors.gray}),L.tdDown,(function(n){return n.theme.mbColors.pink})),Ri=S.p(ki||(ki=n(["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"],["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"])),(function(n){return n.theme.colors.gray800})),Ii=S.p(Ci||(Ci=n(["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray600}),L.tdDown),Oi=S.div(Pi||(Pi=n(["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"],["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"])),L.tdUp,L.tdDown),Fi=S.div(Bi||(Bi=n(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"])),L.tdUp,L.tdDown),Gi=S.div(Ni||(Ni=n(["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"],["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"])),L.tdUp,L.tdDown),Vi=function(n){var e=n.item,t=n.index,i=void 0===t?0:t,o=n.color,r=T().t,l=c(Ne).configs.statics;if(!e)return null;var s=e.link?e.link.startsWith("http")?e.link:"".concat(l.HOME_PAGE_URL).concat(e.link):void 0,d=function(){return a.createElement(Di,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"}))},p=function(){return a.createElement(Gi,null,a.createElement(Fi,null,a.createElement(Ri,null,e.title),a.createElement(Ii,null,e.subtitle)),a.createElement(ji,null,a.createElement("div",{className:"mobile-only"},r("home.seeMore")),a.createElement("img",{src:R.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"}})))};return a.createElement(Ui,{href:s,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(i+1),"data-event-label":s,"data-color":o},a.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),a.createElement("img",{src:R.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),a.createElement(Oi,null,a.createElement("div",{className:"mobile-only"},d()),a.createElement("div",{className:"desktop-only"},p())),a.createElement("div",{className:"mobile-only"},p()),a.createElement("div",{className:"desktop-only"},d()))},Wi=function(n){var e=n.hrefViewMore,t=n.spotlightHealthTools,i=void 0===t?[]:t,o=T().t,r=["pink","orange","green"],l=c(Ne).siteType;return a.createElement(tt,{title:o("home.navigator.menu.spotlightTools")},0!==i.length&&a.createElement(_i,null,null==i?void 0:i.slice(0,3).map((function(n,e){return"marryBaby"===l?a.createElement(Vi,{key:e,index:e,item:n,color:r[e]}):a.createElement(Si,{key:e,index:e,item:n})}))),0===i.length&&a.createElement(Xe,{title:o("home.navigator.menu.healthTools.noDatas.title"),description:o("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:o("home.navigator.menu.healthTools.noDatas.cta"),icon:R.getAssetPath("community.svg")}))},Yi=function(n){var e,t=n.locale,i=n.onClose,o=n.isOpen,r=n.spotlightHealthTools,l=void 0===r?[]:r,s=n.healthTools,d=void 0===s?[]:s,p=T().t,m=c(Ne).configs.statics,g="".concat(m.HOME_PAGE_URL).concat("tl-PH"===t?"/fil":"").concat((null===(e=y[t])||void 0===e?void 0:e.HEALTH_TOOLS)||"");return a.createElement(je,{onClosePopup:i,isDisplay:o,isNavMenu:!0},a.createElement(Ye,{hrefViewMore:g,UrlFE:m.HOME_PAGE_URL,onClosePopup:i,headingTitle:p("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:p("home.navigator.menuItem.allHealthTools"),menuItems:d.map((function(n){return{name:n.title,link:n.link?n.link.startsWith("http")?n.link:"".concat(m.HOME_PAGE_URL).concat(n.link):void 0,thumbnail:n.icon}}))}),a.createElement(Wi,{spotlightHealthTools:l,hrefViewMore:g}))},Zi="_6gGCHV-",Qi="YDzfyQU",Ki=function(n){var e=n.onCareHeaderClick,t=n.currentUrl,i=n.careUrlFe,o=n.btnName;return e?a.createElement(D,{className:Zi,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:function(n){return e(n)}},o):a.createElement("a",{href:i,className:"".concat(Qi," care-button no-replace-click")},a.createElement(D,{className:Zi,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},o))};function qi(n){var e=n.className;return a.createElement("div",null,a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function Ji(n){var e=n.siteType,t=n.type,i=n.enableSearch,o=n.className;return"helloSites"===e?a.createElement("div",null,a.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:i?R.getAssetPath("hamburgerMenuNewWithSearch.svg"):R.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:t,className:o})):a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:o},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}var Xi=S.div($i||($i=n(["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n .hhgcomp-navigation-popupwrapper-menuwrapper {\n position: unset;\n }\n"],["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n .hhgcomp-navigation-popupwrapper-menuwrapper {\n position: unset;\n }\n"])));S.div(no||(no=n(["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"],["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"]))),S.div(eo||(eo=n(["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"],["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"]))),S.div(to||(to=n(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"]))),S.div(io||(io=n(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"]))),S.div(oo||(oo=n(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"]))),S.div(ao||(ao=n(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),Pn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),S.div(ro||(ro=n(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),S.div(lo||(lo=n(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),S.div(so||(so=n(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),S.div(po||(po=n(["\n display: none;\n"],["\n display: none;\n"]))),S.div(co||(co=n(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),S.div(mo||(mo=n(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),S.div(go||(go=n(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),S.div(uo||(uo=n(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),S.div(ho||(ho=n(["\n display: block;\n"],["\n display: block;\n"]))),S.div(fo||(fo=n(["\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"],["\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800})),S.div(xo||(xo=n(["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"],["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"])),(function(n){return n.theme.mbColors.pink}));var $i,no,eo,to,io,oo,ao,ro,lo,so,po,co,mo,go,uo,ho,fo,xo,vo,yo,bo=S.div(vo||(vo=n(["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"],["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"])),(function(n){return n.theme.mbColors.lightGray})),wo=S.div(yo||(yo=n(["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"],["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"]))),Eo=function(n){var e,t,i=n.closePopup,o=n.menuItems,r=void 0===o?[]:o,l=c(Ne),s=l.siteType,d=l.ssrMenuContent,p=d.categories,m=d.healthTools,g=d.care,u=d.together,h=l.activeMenuService,f=l.configs,x=f.statics,v=f.enableSearchBar,b=l.locale,w=T().t;return a.createElement(Xi,{id:"categories-menu"},v?a.createElement(bo,{"data-theme":s,onClick:function(){window.location.href="".concat(x.HOME_PAGE_URL,"/search")}},a.createElement(He,null)):null,a.createElement(wo,null,a.createElement(Ye,{UrlFE:x.HOME_PAGE_URL,titleBtnViewMore:w("home.navigator.menuItem.allCategories"),menuItems:r,headingTitle:w("home.navigator.menuItem.healthCategories"),onClosePopup:i}),"categories"===h&&a.createElement(St,{spotlightsList:(null==p?void 0:p.spotlights)||[],hrefViewMore:"".concat(x.HOME_PAGE_URL).concat("tl-PH"===b?"/fil":"","/spotlight/")}),"tools"===h&&a.createElement(Wi,{spotlightHealthTools:null==m?void 0:m.spotlights,hrefViewMore:"".concat(x.HOME_PAGE_URL).concat("tl-PH"===b?"/fil":"").concat((null===(e=y[b])||void 0===e?void 0:e.HEALTH_TOOLS)||"")}),"care"===h&&a.createElement(Et,{spotlights:null==g?void 0:g.spotlights,hrefViewMore:"".concat(x.CARE_URL_FE,"/").concat(null===(t=V[b])||void 0===t?void 0:t.SPECIALTIES)}),"together"===h&&a.createElement(pi,{spotlights:null==u?void 0:u.spotlights})))},ko="IQdn7tn",Co="_1jX3mGY",Po="arD755Y",Bo=function(n){var e=n.type,t=void 0===e?"home":e,i=n.menuItems,o=c(Ne),r=o.siteType,l=o.configs.enableSearchBar,s=rn(),d=s.containerRef,p=s.onContainerFocus,m=s.onContainerBlur,g=s.onButtonMouseDown,u=s.onClose;return a.createElement(an,{mediaQueryKey:"mbDown"},a.createElement("header",{className:ko},a.createElement("div",{className:Co,ref:d,role:"button",tabIndex:0,onBlur:m,onFocus:p},a.createElement("div",{className:Po,onMouseDown:g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},a.createElement(qi,{className:"mobile-close-icon"}),a.createElement(Ji,{siteType:r,type:t,enableSearch:l,className:"mobile-hamburger-icon"})),a.createElement(Eo,{menuItems:i,closePopup:u}))))},No=S.div(Mo||(Mo=n(["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n }\n\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"],["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n }\n\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.mbColors.lightPink}),L.mbUp,L.mbDown,En,kn,Cn,(function(n){return n.theme.mbColors.lightGray})),_o=S.div(Ho||(Ho=n(["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"],["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"])),L.pcDown,L.mbDown,L.tdUp),zo=S.div(Lo||(Lo=n(["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),L.pcDown),Ao=S.div(So||(So=n([""],[""]))),To=S.div(Uo||(Uo=n(["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n .hhgcomp-navigation-itemnav-headeritem {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n .hhgcomp-navigation-itemnav-headeritem {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),L.pcUp,L.pcDown,L.mbDown);S.div(Do||(Do=n(["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"],["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"])));var Mo,Ho,Lo,So,Uo,Do,jo,Ro,Io,Oo,Fo,Go=S.div(jo||(jo=n(["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"],["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"])),L.pcDown,L.mbDown),Vo=S.div(Ro||(Ro=n(["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"]))),Wo=function(n){var e,t=n.onTopBarAppears,i=n.type,o=void 0===i?"home":i,r=n.languageMenu,p=n.menuItems,g=n.setSitewideBannerClosed,u=n.sitewideBannerClosed,h=c(Ne),f=h.siteType,x=h.isMobile,y=void 0!==x&&x,w=h.locale,E=h.sitewideBanner,k=h.sitewideBannerShown,C=void 0===k||k,P=h.sponsorComponent,B=h.onBookingClick,N=h.currentUrl,_=h.onLoginClick,z=h.configs,H=z.statics,L=z.enableNavCareBooking,S=z.enableSearchBar,U=z.enableNavCare,D=z.enableProfileMyHealth,j=z.enableNavTogether,I=z.enableProfileEcom,O=z.enableProfileNavigatorMenu,F=h.userState.userInfo,G=h.onLogout,V=h.userProfileRouterPush,W=h.isUserLoading,Y=T().t,Z=H.SSO_URL,Q=H.HOME_PAGE_URL,K=!!P,q=d(!1),J=q[0],X=q[1],$=l(47),nn=l(null),en=l(!1),tn="helloSites"===f?null===(e=v[w])||void 0===e?void 0:e.LOGO_TYPE:f,on="undefined"!=typeof window,rn=m(M((function(){if("home"===o&&on){if(!nn.current)return;var n=nn.current.getBoundingClientRect();n.top<=0&&window.scrollY>$.current&&window.scrollY>n.height+20&&!en.current&&(en.current=!0,X(!0)),window.scrollY<$.current&&en.current&&(en.current=!1,X(!1)),window.scrollY>=0&&($.current=window.scrollY)}}),200),[]);s((function(){null==t||t(!J)}),[J]),s((function(){return window.addEventListener("scroll",rn,{passive:!0}),function(){window.removeEventListener("scroll",rn)}}),[]),s((function(){y&&rn()}),[y]);var ln=C&&!!E&&!u;return a.createElement(No,{"data-site-type":f,"data-sponsored":K,"data-sitewide-banner-shown":ln,"data-header-type":o,"data-collapsed":J,"data-with-search-input":"popup-sub-level"!==o,"data-is-displayed":!0,id:"site-header",ref:nn},E?a.isValidElement(E)?a.cloneElement(E,{isCollapsed:J,setBannerClosed:g,isMobile:y}):E:null,a.createElement(_o,{"data-site-type":f},a.createElement(zo,{"data-site-type":f},a.createElement(Bo,{menuItems:p,type:o}),a.createElement("a",{href:Q},a.createElement(Ao,null,a.createElement(A,{style:{display:"flex"},type:tn,badge:"id-ID"===w&&a.createElement("img",{src:R.getAssetPath("sehat-badge.png"),width:"56",height:"23"}),dateForSeasonal:new Date,locale:w,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===f?a.createElement(Zo,{menuItems:p}):S&&a.createElement(Yo,{siteType:f})),a.createElement(To,{"data-site-type":f},"marryBaby"===f?S&&a.createElement(Yo,{siteType:f}):a.createElement(Zo,{menuItems:p}),a.createElement(Go,null,L&&a.createElement(an,{mediaQueryKey:"mbUp"},a.createElement(Ki,{careUrlFe:H.CARE_URL_FE,currentUrl:N,btnName:Y("login.booking"),onCareHeaderClick:B})),r,a.createElement(Be,{userInfo:F,siteType:f,onLoginClick:_||function(){var n=window.location.href;window.location.href=Z?"".concat(Z,"?returnUrl=").concat(n):n},SSO_URL:H.SSO_URL+"/",currentUrl:N,onLogout:G,UP_BASEPATH:b,isMyHealthEnabled:D,enableCare:U,enableTogether:j,enableEcom:I,togetherApiDomain:H.TOGETHER_API+"/",isUserProfileNavigatorMenuHidden:!O,userProfileRouterPush:V,isLoading:W,locale:w})))),P?a.isValidElement(P)?a.cloneElement(P,{isCollapsed:J,locale:w,isMobile:y}):P:null)},Yo=function(n){var e=n.siteType;return a.createElement(an,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},a.createElement(He,null))},Zo=function(n){var e=n.menuItems,t=c(Ne),i=t.siteType,o=t.locale,r=t.ssrMenuContent,l=r.categories,s=r.healthTools,d=r.care,p=r.together;return a.createElement(an,{mediaQueryKey:"mbUp",style:{height:"100%"}},a.createElement(Vo,{"data-site-type":i},null==e?void 0:e.map((function(n,e){return a.createElement(Te,{key:e,item:n,menu:"categories"===n.popupType?a.createElement(Ut,{categories:null==l?void 0:l.items,spotlightsList:null==l?void 0:l.spotlights}):"tools"===n.popupType?a.createElement(Yi,{locale:o,healthTools:null==s?void 0:s.items,spotlightHealthTools:null==s?void 0:s.spotlights}):"together"===n.popupType?a.createElement(ci,{communities:null==p?void 0:p.items,spotlights:null==p?void 0:p.spotlights}):"care"===n.popupType?a.createElement(kt,{careSpecialties:null==d?void 0:d.items,spotlights:null==d?void 0:d.spotlights}):null})}))))},Qo=S.div(Io||(Io=n(["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n -webkit-transform: translateZ(0);\n position: sticky;\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > section * {\n pointer-events: auto;\n }\n"],["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n -webkit-transform: translateZ(0);\n position: sticky;\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > section * {\n pointer-events: auto;\n }\n"])),L.mbDown);S.div(Oo||(Oo=n(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),S.a(Fo||(Fo=n(["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"],["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"])));var Ko=function(n){var t,i,o=n.isMobile,p=n.locale,u=n.onTopBarAppears,h=n.languageOptions,f=n.sponsorComponent,x=n.sitewideBanner,v=n.sitewideBannerShown,b=n.className,w=d(!1),E=w[0],k=w[1],C=function(){var n=T().t,e=c(Ne),t=e.siteType,i=e.locale,o=e.configs,a=o.enableNavCare,l=o.enableNavTogether,s=o.enableNavEcom,d=o.statics,p="marryBaby"===t,m=r((function(){var e,t=[{name:n("home.navigator.menuItem.discover"),id:"categories",link:"".concat(d.HOME_PAGE_URL).concat("tl-PH"===i?"/fil":"","/categories"),niceName:"",thumbnail:p?R.getAssetPath("categories-mb.svg"):R.getAssetPath("discover.png"),popupType:"categories"},{name:n("home.navigator.menuItem.healthTools"),id:"tools",link:"".concat(d.HOME_PAGE_URL).concat("tl-PH"===i?"/fil":"").concat((null===(e=y[i])||void 0===e?void 0:e.HEALTH_TOOLS)||""),thumbnail:p?R.getAssetPath("healthtools-mb.svg"):R.getAssetPath("healthTools.png"),popupType:"tools"}];return a&&t.push({name:n("home.navigator.menuItem.helloCare"),id:"care",link:d.HOME_PAGE_URL+"/care",thumbnail:R.getAssetPath("helloCare-thumbnail.png"),popupType:"zh-TW"===i?null:"care"}),l&&t.push({name:n("home.navigator.menuItem.helloTogether"),id:"together",link:d.TOGETHER_URL_FE+"/",thumbnail:p?R.getAssetPath("community-mb.svg"):R.getAssetPath("together.png"),popupType:"together"}),s&&t.push({name:n("home.navigator.menuItem.helloEcom"),id:"ecom",link:d.HOME_PAGE_URL+"/ecom",thumbnail:R.getAssetPath("helloCare-thumbnail.png"),popupType:"shop"}),t}),[i,a,l,s]);return m}();!function(){var n=c(Ne),t=n.isFirstLogin,i=n.userState.userInfo;s((function(){(null==i?void 0:i.id)&&(t?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:e({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:e({uuid:null==i?void 0:i.id,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:e({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:e({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])}();var P=function(n){var e=n.hasSponsoredBanners,t=n.isSiteWide,i=n.isSponsored,o=n.isShowingSiteWideBanner,a=n.isMobile,p=l(null),c=d(0),g=c[0],u=c[1],h=d(64),f=h[0],x=h[1],v=m(X((function(){var n,e,t,i,o=(null===(n=p.current)||void 0===n?void 0:n.clientHeight)||(null===(t=null===(e=p.current)||void 0===e?void 0:e.children[0])||void 0===t?void 0:t.clientHeight)||0;window.scrollY<=o+200&&(u(o),x((null===(i=p.current)||void 0===i?void 0:i.getBoundingClientRect().bottom)||g))}),200),[]);s((function(){return window.addEventListener("resize",v,{passive:!0}),window.addEventListener("scroll",v,{passive:!0}),v(),function(){window.removeEventListener("resize",v),window.removeEventListener("scroll",v)}}),[]),s((function(){v()}),[a,t,o,i,e,p.current]);var y=r((function(){var n=a?64:69;return o&&(n+=64),i&&(n+=40,e&&(n+=57)),n}),[a,o,e,i]);return{defaultHeaderHeight:y,headerHeight:g||y,headerBottom:f,headerRef:p}}({isSiteWide:!!x&&!E,isShowingSiteWideBanner:v&&!!x&&!E,isSponsored:!!f,hasSponsoredBanners:!!(null===(i=null===(t=null==f?void 0:f.props)||void 0===t?void 0:t.sponsoredBy)||void 0===i?void 0:i.length),isMobile:o}),B=P.headerRef,N=P.defaultHeaderHeight,_=P.headerHeight,z=P.headerBottom;return a.createElement(Qo,{id:"navigation-v2",style:{"--default-header-height":N+"px","--header-height":"calc(".concat(_,"px - var(--amp-site-wide-closed), 64px)"),"--header-bottom":z+"px"},className:b},a.createElement("section",{ref:B},a.createElement(Wo,{menuItems:C,type:"home",onTopBarAppears:o?function(n){u&&u(n)}:void 0,languageMenu:a.createElement(g,{languageOptions:h,locale:p}),setSitewideBannerClosed:k,sitewideBannerClosed:E})))},qo=function(n){var t=e({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},n);return a.createElement(_e,e({},t),a.createElement(Ko,e({},t)))},Jo=function(n){return t(void 0,void 0,void 0,(function(){var e,t,o,a,r,l,s,d,p,c,m,g,f,v,y,b,w,E,B,z,A,T,M,H,L,S,U,D,j,R,I,O,F,G,V,W;return i(this,(function(i){switch(i.label){case 0:e={},t="vi-VN_MB"===n,i.label=1;case 1:i.trys.push([1,14,,15]),o="tl-PH"===n?"lang=fil":"",i.label=2;case 2:return i.trys.push([2,4,,5]),[4,Promise.all([fetch("".concat(C(n),"/wp-json/api/categories").concat(o?"?"+o:"")).then((function(n){return n.json()})),fetch("".concat(C(n),"/wp-json/api/spotlights?per_page=10").concat(o?"&"+o:"")).then((function(n){return n.json()})),fetch("".concat(C(n),"/wp-json/api/").concat(t?"health-tools":"healthtools").concat(o?"?"+o:"")).then((function(n){return n.json()})),fetch("".concat(C(n),"/wp-json/api/").concat(t?"health-tools":"healthtools","/favorites").concat(o?"?"+o:"")).then((function(n){return n.json()}))])];case 3:return a=i.sent(),r=a[0],l=a[1],s=a[2],d=a[3],e.categories={items:(null===(w=null===(b=null==r?void 0:r.data)||void 0===b?void 0:b.map)||void 0===w?void 0:w.call(b,Bn))||[],spotlights:(null===(A=null===(z=null===(B=null===(E=null==l?void 0:l.data)||void 0===E?void 0:E.articles)||void 0===B?void 0:B.map)||void 0===z?void 0:z.call(B,Tn))||void 0===A?void 0:A.filter(Mn))||[]},e.healthTools={items:(null===(M=null===(T=null==s?void 0:s.data)||void 0===T?void 0:T.map)||void 0===M?void 0:M.call(T,Nn))||[],spotlights:(null===(L=null===(H=null==d?void 0:d.data)||void 0===H?void 0:H.map)||void 0===L?void 0:L.call(H,Nn))||[]},[3,5];case 4:return i.sent(),[3,5];case 5:if(!t&&!x.includes(n))return[3,9];i.label=6;case 6:return i.trys.push([6,8,,9]),[4,Promise.all([fetch("".concat(k(),"/api/v1/community?website_url=https://").concat(u[n])).then((function(n){return n.json()})),fetch("".concat(k(),"/api/v1/options?website_url=https://").concat(u[n],"&meta_key=popular_post")).then((function(n){return n.json()}))])];case 7:return p=i.sent(),c=p[0],m=p[1],e.together={items:(null===(D=null===(U=null===(S=null==c?void 0:c.data)||void 0===S?void 0:S.communities)||void 0===U?void 0:U.map)||void 0===D?void 0:D.call(U,N))||[],spotlights:(null===(I=null===(R=null===(j=null==m?void 0:m.data)||void 0===j?void 0:j.posts)||void 0===R?void 0:R.map)||void 0===I?void 0:I.call(R,_))||[]},[3,9];case 8:return i.sent(),[3,9];case 9:if(!h.includes(n))return[3,13];i.label=10;case 10:return i.trys.push([10,12,,13]),[4,Promise.all([fetch(P()+"/api/specialties?_ishome=1&site=".concat(u[n])).then((function(n){return n.json()})),fetch(P()+"/api/search/?site=".concat(u[n],"&type=hospital&order_by=total_doctor")).then((function(n){return n.json()}))])];case 11:return g=i.sent(),f=g[0],v=g[1],e.care={items:(null===(G=null===(F=null===(O=null==f?void 0:f._data)||void 0===O?void 0:O.specialties)||void 0===F?void 0:F.map)||void 0===G?void 0:G.call(F,_n))||[],spotlights:(null===(W=null===(V=null==v?void 0:v._data.searches)||void 0===V?void 0:V.map)||void 0===W?void 0:W.call(V,zn))||[]},[3,13];case 12:return i.sent(),[3,13];case 13:return[3,15];case 14:return y=i.sent(),console.error(y),[3,15];case 15:return[2,e]}}))}))},Xo=function(n){return t(void 0,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,$("nav-menu-content",(function(){return Jo(n||"en-PH")}),(function(n){var e,t;return!!(null===(t=null===(e=null==n?void 0:n.categories)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)}))];case 1:return[2,e.sent()||{}]}}))}))};export{qo as N,Pe as P,ke as U,Xo as a,Sn as b,Ee as c,dn as d,Be as e,Jo as g};
@@ -0,0 +1 @@
1
+ import{d as t,_ as a}from"./tslib.es6-bfb95386.js";import e from"react";var o="xzO2I0N",n=function(n){var c,l=n.as,r=n.tag,i=n.className,s=n.children,d=n.title,v=n.color,g=n.style,m=n.fontWeight,f=n.dataEventCategory,E=n.dataEventAction,b=n.dataEventLabel,h=t(n,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]),y=l||r;return e.createElement(y,a({title:d,style:a(a({},v?(c={},c["--custom-heading-color"]=v,c):void 0),g),"data-tag":r,"data-font-weight":m||void 0,"data-event-category":f,"data-event-action":E,"data-event-label":b,className:"".concat(o," ").concat(i||"")},h),s)};export{n as H};
@@ -0,0 +1 @@
1
+ import n,{useState as e,useRef as t,useMemo as r,useEffect as o,Fragment as a}from"react";import{T as i}from"./index-f95e1673.js";import{a as l,_ as s,e as c}from"./tslib.es6-bfb95386.js";import{t as p}from"./theme-ee5d0e66.js";import d from"styled-components";import{M as u,f as g}from"./utils-d6f6da15.js";import{g as h}from"./defaultClassWrapper-a9f0d373.js";import{B as x}from"./index-0175581a.js";import{C as m}from"./index-8162546b.js";var f,v,w,b,y,k,E,z,L,C,N,j,_,M,B,I,A,S,D,T,P,F,H,q,V="CHw-fZZ",R="_03U6VRS",U="EO828Vv",W=function(e){var t=e.style,r=e.onClose,o=e.text,a=e.type,l=e.contentIcon,s=e.closeIcon,c=e.className,p=e.description;return n.createElement("div",{className:"".concat(V," ").concat(c||""),style:t,"data-alert-type":a},n.createElement("div",{className:R},n.createElement("div",{className:"icon-title"},l,n.createElement(i,{type:"bold",size:"label1"},o)),n.createElement(i,{type:"regular",size:"p3"},p)),n.createElement("div",{className:U,onClick:r},s))},Z=d.div(f||(f=l(["\n position: relative;\n\n > div {\n width: max-content;\n position: relative;\n }\n\n span {\n font-weight: ",";\n display: flex;\n justify-content: center;\n align-items: center;\n\n ","\n }\n\n ","\n"],["\n position: relative;\n\n > div {\n width: max-content;\n position: relative;\n }\n\n span {\n font-weight: ",";\n display: flex;\n justify-content: center;\n align-items: center;\n\n ","\n }\n\n ","\n"])),(function(n){return n.theme.sizes.fwBold}),(function(n){return function(n,e,t,r){var o="";if("numeric"===n)switch(e){case"medium":o="\n height: 16px;\n font-size: 11px;\n padding: 1px 6px;\n ";case"large":o="\n height: 24px;\n font-size: 13px;\n padding: 1px 10px;\n "}var a,i="";t&&(i="\n position: absolute;\n top: 0;\n left: 75%;\n "),t&&(a="\n left: 70%;\n\n ".concat("large"===e?"\n top: -7px;\n ":"medium"===e?"\n top: -2px;\n width: 16px;\n height: 16px;\n ":"","\n "));var l="";switch(r){case"primary":l="\n background: ".concat(p.colors.blue50,";\n color: ").concat(p.colors.blue600,"; \n ");break;case"error":l="\n background: ".concat(p.colors.error,";\n color: white;\n ")}switch(n){case"dot":return"\n ".concat(i,"\n width: 8px;\n height: 8px;\n font-size: 0px;\n border-radius: 50%;\n ").concat(l,"\n ");case"numeric":return"\n ".concat(i,"\n width: max-content;\n border-radius: 32px;\n ").concat(o,"\n ").concat(a,"\n ").concat(l,"\n ")}}(n.notificationType,n.notificationSize,n.hasIcon,n.notificationColor)}),(function(n){return n.hasIcon&&"\n svg {\n width: 40px;\n height: 40px;\n }\n "})),O=function(e){var t=e.amount,r=e.type,o=e.size,a=void 0===o?"medium":o,i=e.color,l=void 0===i?"primary":i,s=e.icon,c=e.className;return n.createElement(Z,{"data-notification-type":r,"data-notification-size":a,"data-notification-color":l,"data-has-icon":!!s||void 0,notificationType:r,notificationSize:a,notificationColor:l,hasIcon:!!s,className:c},n.createElement("div",null,t&&n.createElement("span",null,t)," ",s&&n.createElement("div",null,s)))},X=d.h4(v||(v=l(["\n position: relative;\n line-height: 18px;\n\n &:after {\n position: absolute;\n top: 1px;\n left: 0;\n width: 4px;\n height: 18px;\n background-color: ",";\n content: '';\n }\n\n &[data-size='lg'] {\n font-size: 18px;\n padding-left: 12px;\n }\n\n &[data-size='sm'] {\n font-size: 14px;\n padding-left: 8px;\n\n &::after {\n width: 2px;\n height: 15px;\n }\n }\n\n &[data-type='bold'] {\n font-weight: ",";\n }\n &[data-type='semiBold'] {\n font-weight: ",";\n }\n\n &[data-uppercase] {\n text-transform: uppercase;\n }\n\n "," {\n &[data-size='lg'] {\n font-size: 16px;\n }\n }\n"],["\n position: relative;\n line-height: 18px;\n\n &:after {\n position: absolute;\n top: 1px;\n left: 0;\n width: 4px;\n height: 18px;\n background-color: ",";\n content: '';\n }\n\n &[data-size='lg'] {\n font-size: 18px;\n padding-left: 12px;\n }\n\n &[data-size='sm'] {\n font-size: 14px;\n padding-left: 8px;\n\n &::after {\n width: 2px;\n height: 15px;\n }\n }\n\n &[data-type='bold'] {\n font-weight: ",";\n }\n &[data-type='semiBold'] {\n font-weight: ",";\n }\n\n &[data-uppercase] {\n text-transform: uppercase;\n }\n\n "," {\n &[data-size='lg'] {\n font-size: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.sizes.fwSemiBold}),u.mbDown),Y=function(e){var t=e.style,r=e.children,o=e.className,a=e.size,i=void 0===a?"lg":a,l=e.type,c=void 0===l?"bold":l,p=e.upperCase,d=e.as,u=void 0===d?"h4":d,g=e.color;return n.createElement(X,{style:s({color:g},t),className:o,"data-size":i,"data-type":c,"data-uppercase":p,as:u},r)},G=d.div(w||(w=l(["\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: url('../../../public/bgSvg/arrow-down.svg') no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-has-icons='true'] {\n border: none;\n background: ",";\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n vertical-align: middle;\n display: inline-block;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n width: 100%;\n display: flex;\n align-items: center;\n box-sizing: border-box;\n }\n > div::after {\n content: '';\n right: 12px;\n top: 50%;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n width: 10px;\n height: 8px;\n position: absolute;\n background-repeat: no-repeat;\n transform: translateY(-50%);\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n"],["\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: url('../../../public/bgSvg/arrow-down.svg') no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-has-icons='true'] {\n border: none;\n background: ",";\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n vertical-align: middle;\n display: inline-block;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n width: 100%;\n display: flex;\n align-items: center;\n box-sizing: border-box;\n }\n > div::after {\n content: '';\n right: 12px;\n top: 50%;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n width: 10px;\n height: 8px;\n position: absolute;\n background-repeat: no-repeat;\n transform: translateY(-50%);\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n"])),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.gray100}),(function(n){return n.theme.colors.blue200})),J=d.div(b||(b=l(["\n padding: 12px 18px 12px 16px;\n cursor: pointer;\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n\n & > svg {\n height: 16px;\n width: 16px;\n }\n"],["\n padding: 12px 18px 12px 16px;\n cursor: pointer;\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n\n & > svg {\n height: 16px;\n width: 16px;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200})),K=d.ul(y||(y=l(["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001), -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n &[data-has-icons='true'] {\n background: white;\n box-shadow: none;\n border: 1px solid ",";\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"],["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001), -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n &[data-has-icons='true'] {\n background: white;\n box-shadow: none;\n border: 1px solid ",";\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray200})),Q=d.li(k||(k=l(["\n margin: 8px;\n padding: 12px 18px 12px 16px;\n border-radius: 6px;\n display: flex;\n &:hover,\n :active {\n background: ",";\n }\n"],["\n margin: 8px;\n padding: 12px 18px 12px 16px;\n border-radius: 6px;\n display: flex;\n &:hover,\n :active {\n background: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),$=d.div(E||(E=l(["\n display: flex;\n align-items: center;\n margin-right: 8px;\n\n & > svg {\n height: 16px;\n width: 16px;\n }\n"],["\n display: flex;\n align-items: center;\n margin-right: 8px;\n\n & > svg {\n height: 16px;\n width: 16px;\n }\n"]))),nn=function(r){var o=r.className,a=r.value,i=r.options,l=r.onUploadSelected,s=r.id,c=r.placeholderIcon,p=r.placeholder,d=r.style,u=e(!1),g=u[0],h=u[1],x=function(){return h(!g)},m=t(i.map((function(e){return"upload"===e.type&&n.createElement("input",{id:"uploader-dropdown-input-"+s+"-"+e.value,key:"uploader-dropdown-input-"+s+"-"+e.value,accept:e.fileAcceptedType,multiple:e.multiple,type:"file",style:{display:"none"},onChange:function(n){console.log("change"),l(n.target.files)}})}))),f=n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.17 14.83"},n.createElement("defs",null,n.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},n.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"})),n.createElement("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"File"),n.createElement("g",{clipPath:"url(#prefix__clip-path)"},n.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),n.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),v=n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},n.createElement("defs",null,n.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"download"),n.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),w=n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},n.createElement("defs",null,n.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"upload"),n.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"}));return n.createElement(G,{className:o,"data-dropdown-open":!!g,id:s,"data-has-icons":!0,style:d,onBlur:function(){return h(!1)},tabIndex:0},n.createElement(J,{onClick:x},c||f," ",n.createElement("span",null,a&&a.value?a.label:p)),g&&n.createElement(K,{onClick:x,"data-has-icons":!0},i.map((function(e){return n.createElement(Q,{key:"".concat(s,"-").concat(e.value),"data-selected":a&&a.value===e.value||void 0,onClick:function(){return"upload"===e.type?function(n){var e;null===(e=document.querySelector(n))||void 0===e||e.click()}("#uploader-dropdown-input-"+s+"-"+e.value):void((n=e.url)&&window.open(n,"_blank"));var n}},n.createElement($,null,e.icon||"download"===e.type?v:w),e.label)}))),n.createElement(n.Fragment,null,m.current))},en=d.div(z||(z=l(["\n --columns-count: ",";\n --columns-count-desktop: ",";\n\n --grid-template-columns: ",";\n --grid-template-columns-desktop: ",";\n\n --columns: var(--grid-template-columns, repeat(var(--columns-count), 1fr));\n --columns-desktop: var(--grid-template-columns-desktop, repeat(var(--columns-count-desktop), 1fr));\n\n --justify-children: ",";\n --grid-gap: ",";\n --align-items: ",";\n\n display: grid;\n grid-template-columns: var(--columns);\n grid-gap: var(--grid-gap);\n align-items: var(--align-items);\n\n "," {\n grid-template-columns: var(--columns-desktop);\n }\n\n > * {\n justify-self: var(--justify-children);\n }\n"],["\n --columns-count: ",";\n --columns-count-desktop: ",";\n\n --grid-template-columns: ",";\n --grid-template-columns-desktop: ",";\n\n --columns: var(--grid-template-columns, repeat(var(--columns-count), 1fr));\n --columns-desktop: var(--grid-template-columns-desktop, repeat(var(--columns-count-desktop), 1fr));\n\n --justify-children: ",";\n --grid-gap: ",";\n --align-items: ",";\n\n display: grid;\n grid-template-columns: var(--columns);\n grid-gap: var(--grid-gap);\n align-items: var(--align-items);\n\n "," {\n grid-template-columns: var(--columns-desktop);\n }\n\n > * {\n justify-self: var(--justify-children);\n }\n"])),(function(n){return n.theme.columns}),(function(n){return n.theme.columnsDesktop}),(function(n){return n.theme.gridTemplateColumns}),(function(n){return n.theme.gridTemplateColumnsDesktop}),(function(n){return n.theme.justifyChildren}),(function(n){return n.theme.gap}),(function(n){return n.theme.alignItems}),u.tdUp),tn=function(e){var t=e.className,r=e.columns,o=e.columnsDesktop,a=e.gridTemplateColumns,i=e.gridTemplateColumnsDesktop,l=e.gap,s=e.children,c=e.justifyChildren,p=e.style,d=e.alignItems;return n.createElement(en,{className:t,style:p,theme:{columns:r,columnsDesktop:o,gap:l,justifyChildren:c,gridTemplateColumns:a,gridTemplateColumnsDesktop:i,alignItems:d}},s)},rn=d.div(L||(L=l(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n user-select: none;\n li {\n transition: all 0.3s ease;\n }\n [data-page-active] {\n background: ",";\n color: ",";\n\n > a {\n color: ",";\n }\n }\n"],["\n display: flex;\n align-items: center;\n justify-content: space-between;\n user-select: none;\n li {\n transition: all 0.3s ease;\n }\n [data-page-active] {\n background: ",";\n color: ",";\n\n > a {\n color: ",";\n }\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.white})),on=d.div(C||(C=l(["\n display: flex;\n width: 32px;\n height: 32px;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n border: 1px solid ",";\n margin: 0 2px;\n border-radius: 4px;\n color: ",";\n cursor: pointer;\n font-size: 14px;\n font-weight: ",";\n\n &[data-last-page] {\n border: none;\n background-color: ",";\n cursor: not-allowed;\n pointer-events: none;\n\n svg {\n path {\n stroke: ",";\n }\n }\n }\n"],["\n display: flex;\n width: 32px;\n height: 32px;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n border: 1px solid ",";\n margin: 0 2px;\n border-radius: 4px;\n color: ",";\n cursor: pointer;\n font-size: 14px;\n font-weight: ",";\n\n &[data-last-page] {\n border: none;\n background-color: ",";\n cursor: not-allowed;\n pointer-events: none;\n\n svg {\n path {\n stroke: ",";\n }\n }\n }\n"])),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.gray100}),(function(n){return n.theme.colors.gray300})),an=d.li(N||(N=l(["\n display: flex;\n width: 32px;\n height: 32px;\n align-items: center;\n justify-content: center;\n margin: 0 2px;\n border-radius: 4px;\n color: ",";\n cursor: pointer;\n font-size: 14px;\n font-weight: ",";\n\n > a {\n color: ",";\n text-decoration: unset;\n display: block;\n width: 100%;\n height: 100%;\n line-height: 32px;\n text-align: center;\n }\n"],["\n display: flex;\n width: 32px;\n height: 32px;\n align-items: center;\n justify-content: center;\n margin: 0 2px;\n border-radius: 4px;\n color: ",";\n cursor: pointer;\n font-size: 14px;\n font-weight: ",";\n\n > a {\n color: ",";\n text-decoration: unset;\n display: block;\n width: 100%;\n height: 100%;\n line-height: 32px;\n text-align: center;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.gray800})),ln=function(t){var r=t.pagesAmount,i=t.activePage,l=t.handlePageChange,s=t.handleClick,p=t.href,d=t.queryPageName,u=void 0===d?"page":d,h=c([],Array(r),!0).map((function(n,e){return e+1})),x=e(i<=4?h.slice(0,5):i>=h.length-3?h.slice(h.length-5,h.length):h.slice(i-2,i+1)),m=x[0],f=x[1];return o((function(){i<=4?f(h.slice(0,5)):i>=h.length-3?f(h.slice(h.length-5,h.length)):f(h.slice(i-2,i+1))}),[i]),n.createElement(a,null,i>4&&n.createElement(a,null,n.createElement(an,{onClick:function(){return l(1)}},p?n.createElement("a",{href:p,onClick:s},1):1),n.createElement(an,null,"...")),m.map((function(e){return n.createElement(an,{key:"".concat("pagination","+").concat(e),"data-page-active":e===i||void 0,onClick:function(){return l(e)}},p?n.createElement("a",{href:g(p,e,u),onClick:s},e):e)})),i<h.length-3&&n.createElement(a,null,n.createElement(an,null,"..."),n.createElement(an,{onClick:function(){return l(h.length)}},p?n.createElement("a",{href:g(p,h.length,u),onClick:s},h.length):h.length)))},sn=function(t){var a=t.className,i=t.pagesAmount,l=t.currentPage,s=t.onChange,p=t.onClick,d=t.style,u=t.href,h=t.queryPageName,x=void 0===h?"page":h,m=c([],Array(i),!0).map((function(n,e){return e+1})),f=e(l),v=f[0],w=f[1],b=r((function(){return u&&u.endsWith("&page=")?u.replace("&page=",""):u}),[u]),y=i-1,k=function(n){n<=i&&n>0&&(w(n),s(n))},E=function(n){p&&p(n)};return o((function(){w(l)}),[l]),n.createElement(rn,{className:a,style:d},n.createElement(on,{className:"prev-page",onClick:function(){return k(v-1)},"data-last-page":1===v||void 0},b?n.createElement("a",{href:g(b,v,x),onClick:E},n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),m.length>8?n.createElement(ln,{pagesAmount:i,activePage:v,handlePageChange:k,handleClick:E,href:b,queryPageName:x}):m.map((function(e){return n.createElement(an,{key:"".concat("pagination","+").concat(e),"data-page-active":e===v||void 0,onClick:function(){return k(e)}},b?n.createElement("a",{href:g(b,e,x),onClick:E},e):e)})),n.createElement(on,{className:"next-page",onClick:function(){return k(v+1)},"data-last-page":v===y+1||void 0},b?n.createElement("a",{href:g(b,v,x),onClick:E},n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},cn=d.div(j||(j=l(["\n &[data-shadow-size='small'] {\n filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.06)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n &[data-shadow-size='normal'] {\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04)) drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n &[data-shadow-size='medium'] {\n filter: drop-shadow(0px 16px 24px rgba(0, 0, 0, 0.06)) drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n &[data-shadow-size='large'] {\n filter: drop-shadow(0px 24px 32px rgba(0, 0, 0, 0.04)) drop-shadow(0px 16px 24px rgba(0, 0, 0, 0.04)) drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n &[data-shadow-size='soft'] {\n filter: drop-shadow(0px 24px 32px rgba(0, 0, 0, 0.04)) drop-shadow(0px 16px 24px rgba(0, 0, 0, 0.04)) drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n"],["\n &[data-shadow-size='small'] {\n filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.06)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n &[data-shadow-size='normal'] {\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04)) drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n &[data-shadow-size='medium'] {\n filter: drop-shadow(0px 16px 24px rgba(0, 0, 0, 0.06)) drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n &[data-shadow-size='large'] {\n filter: drop-shadow(0px 24px 32px rgba(0, 0, 0, 0.04)) drop-shadow(0px 16px 24px rgba(0, 0, 0, 0.04)) drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n &[data-shadow-size='soft'] {\n filter: drop-shadow(0px 24px 32px rgba(0, 0, 0, 0.04)) drop-shadow(0px 16px 24px rgba(0, 0, 0, 0.04)) drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n"]))),pn=function(e){var t=e.size,r=e.children,o=e.style,a=e.className;return n.createElement(cn,{style:o,className:a,"data-shadow-size":t},r)},dn=d.div(_||(_=l(["\n --padding-horizontal: 8px;\n --pading-vertical: 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: var(--pading-vertical) var(--padding-horizontal);\n border-radius: 24px;\n\n ","\n\n ","\n\n ","\n\n p {\n ","\n }\n\n ","\n\n ","\n\n "," \n\n &[data-is-selected],\n &:active {\n background: ",";\n }\n"],["\n --padding-horizontal: 8px;\n --pading-vertical: 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: var(--pading-vertical) var(--padding-horizontal);\n border-radius: 24px;\n\n ","\n\n ","\n\n ","\n\n p {\n ","\n }\n\n ","\n\n ","\n\n "," \n\n &[data-is-selected],\n &:active {\n background: ",";\n }\n"])),(function(n){return"sponsored"===n.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 ".concat(p.colors.accentLight,";\n padding: 0;\n margin-left: calc(var(--offset-size) * -1);\n\n p {\n font-weight: ").concat(p.sizes.fwBold,";\n color: var(\n --text-props-color,\n ").concat(p.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: ").concat(p.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 ")}),(function(n){return n.isInline&&"\n display: inline-block;\n "}),(function(n){return n.tagHasMorePadding&&"\n &[data-has-more-padding] {\n padding: calc(var(--pading-vertical) + 5px) var(--padding-horizontal);\n }\n "}),(function(n){return n.tagIsLight?"\n color: var(--text-props-color, #000);\n ":"\n color: var(--text-props-color, ".concat((function(n){return n.theme.colors.white}),");\n ")}),(function(n){return function(n,e){switch(n){case"yellow":var t=e?p.colors.yellow50:p.colors.yellow600;return"\n background: ".concat(t,";\n p {\n color: var(\n --text-props-color,\n ").concat(p.colors.gray800,"\n );\n }\n ");case"standard":return"\n background: ".concat(p.colors.white,";\n border: 1px solid ").concat(p.colors.gray200,";\n \n p {\n color: var(\n --text-props-color,\n ").concat(p.colors.gray800,"\n );\n }\n \n &:hover {\n background: ").concat(p.colors.gray100,";\n }\n ");case"red":return t=e?p.colors.red50:p.colors.red500,"\n background: ".concat(t,";\n ");case"green":return t=e?p.colors.green50:p.colors.green500,"\n background: ".concat(t,";\n ");case"blue":return t=e?p.colors.blue50:p.colors.primaryBase,"\n background: ".concat(t,";\n ");case"teal":return t=e?p.colors.teal100:p.colors.teal600,"\n background: ".concat(t,";\n ");case"pink":return t=e?p.colors.pink200:p.colors.pink800,"\n background: ".concat(t,";\n ");case"violet":return t=e?p.colors.violet100:p.colors.violet500,"\n background: ".concat(t,";\n ");case"grey":return t=e?p.colors.gray100:p.colors.gray600,"\n background: ".concat(t,";\n ")}}(n.tagType,n.tagIsLight)}),(function(n){return n.tagIsSquared&&"sponsored"!==n.tagType&&"\n border-radius: 4px;\n "}),(function(n){return n.tagIsALink&&"\n cursor: pointer;\n "}),(function(n){return n.theme.colors.blue50})),un=function(e){var t=e.type,r=e.children,o=e.style,a=e.isInline,l=e.isSquared,c=void 0!==l&&l,p=e.className,d=e.isLight,u=e.hasMorePadding,g=e.isLink,h=e.isSelected,x=e.textProps,m=void 0===x?{size:"sm"}:x,f=m.color?{"--text-props-color":m.color}:{};return n.createElement(dn,{"data-is-squared":c||void 0,"data-tag-type":t,"data-is-light":d||void 0,"data-has-more-padding":u||void 0,"data-is-inline":a||void 0,style:s(s({},o),f),className:p,"data-is-selected":h||void 0,"data-is-link":g||void 0,tagType:t,isInline:a,tagHasMorePadding:u,tagIsLight:d,tagIsSquared:c,tagIsALink:g},n.createElement(i,s({},m),r))},gn="24px",hn="hhgcomp-toggle-icon",xn=h(d.span(M||(M=l(["\n position: relative;\n display: block;\n width: 40px;\n height: ",";\n background: #c3cbd4;\n border-radius: 100px;\n cursor: pointer;\n\n &:after {\n position: absolute;\n top: 2px;\n left: 2px;\n width: 20px;\n height: 20px;\n background: #fff;\n border-radius: 90px;\n content: '';\n transition: 0.3s;\n }\n"],["\n position: relative;\n display: block;\n width: 40px;\n height: ",";\n background: #c3cbd4;\n border-radius: 100px;\n cursor: pointer;\n\n &:after {\n position: absolute;\n top: 2px;\n left: 2px;\n width: 20px;\n height: 20px;\n background: #fff;\n border-radius: 90px;\n content: '';\n transition: 0.3s;\n }\n"])),gn),hn),mn=d.span(B||(B=l(["\n padding-left: 15px;\n"],["\n padding-left: 15px;\n"]))),fn=d.div(I||(I=l(["\n height: ",";\n\n input[type='checkbox'] {\n width: 0;\n height: 0;\n visibility: hidden;\n }\n\n label {\n cursor: pointer;\n display: inline-flex;\n color: ",";\n }\n\n input:checked + label ."," {\n background: ",";\n &:after {\n left: calc(100% - 2px);\n transform: translateX(-100%);\n }\n }\n"],["\n height: ",";\n\n input[type='checkbox'] {\n width: 0;\n height: 0;\n visibility: hidden;\n }\n\n label {\n cursor: pointer;\n display: inline-flex;\n color: ",";\n }\n\n input:checked + label ."," {\n background: ",";\n &:after {\n left: calc(100% - 2px);\n transform: translateX(-100%);\n }\n }\n"])),gn,(function(n){return n.theme.colors.gray600}),hn,(function(n){return n.theme.colors.primaryBase})),vn=function(e){var t=e.className,r=e.id,o=e.onChange,a=e.checked,i=e.style,l=e.label;return n.createElement(fn,{className:t,style:i},n.createElement("input",{type:"checkbox",id:r,onChange:o,checked:a}),n.createElement("label",{htmlFor:r},n.createElement(xn,null),l&&n.createElement(mn,null,l)))},wn=d.div(A||(A=l(["\n a {\n color: ",";\n cursor: pointer;\n text-decoration: underline;\n\n &:hover,\n &:focus {\n color: ",";\n outline: none;\n .arrowLeft,\n .arrowRight {\n stroke: ",";\n }\n }\n\n &:active {\n color: ",";\n }\n\n &:visited {\n color: ",";\n }\n }\n\n &[data-disabled] {\n & > a {\n color: ",";\n cursor: not-allowed;\n }\n }\n\n @include layout-sp {\n &[data-size='lg'] {\n & > a {\n font-size: 16px;\n font-weight: ",";\n line-height: 24px;\n }\n }\n &[data-size='md'] {\n & > a {\n font-size: 14px;\n font-weight: ",";\n line-height: 22px;\n }\n }\n &[data-size='sm'] {\n & > a {\n font-size: 13px;\n font-weight: ",";\n line-height: 20px;\n }\n }\n &[data-size='xm'] {\n & > a {\n font-size: 11px;\n font-weight: ",";\n line-height: 20px;\n }\n }\n }\n"],["\n a {\n color: ",";\n cursor: pointer;\n text-decoration: underline;\n\n &:hover,\n &:focus {\n color: ",";\n outline: none;\n .arrowLeft,\n .arrowRight {\n stroke: ",";\n }\n }\n\n &:active {\n color: ",";\n }\n\n &:visited {\n color: ",";\n }\n }\n\n &[data-disabled] {\n & > a {\n color: ",";\n cursor: not-allowed;\n }\n }\n\n @include layout-sp {\n &[data-size='lg'] {\n & > a {\n font-size: 16px;\n font-weight: ",";\n line-height: 24px;\n }\n }\n &[data-size='md'] {\n & > a {\n font-size: 14px;\n font-weight: ",";\n line-height: 22px;\n }\n }\n &[data-size='sm'] {\n & > a {\n font-size: 13px;\n font-weight: ",";\n line-height: 20px;\n }\n }\n &[data-size='xm'] {\n & > a {\n font-size: 11px;\n font-weight: ",";\n line-height: 20px;\n }\n }\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryHover}),(function(n){return n.theme.colors.primaryHover}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.colors.primaryVisited}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.sizes.fwRegular})),bn=function(e){var t=e.size,r=e.isDisabled,o=e.className,a=e.link,i=e.style;return n.createElement(wn,{className:o,"data-size":t,style:i,"data-disabled":r||void 0},a)},yn=d.div(S||(S=l(["\n .default-button[data-color='secondary'] {\n border: solid 2px ",";\n color: ",";\n\n &:hover {\n border: solid 2px ",";\n background-color: ",";\n color: ",";\n\n & > svg {\n fill: ",";\n }\n }\n }\n"],["\n .default-button[data-color='secondary'] {\n border: solid 2px ",";\n color: ",";\n\n &:hover {\n border: solid 2px ",";\n background-color: ",";\n color: ",";\n\n & > svg {\n fill: ",";\n }\n }\n }\n"])),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.white})),kn=d.div(D||(D=l(["\n ","\n"],["\n ","\n"])),(function(n){return n["data-is-attached-to-element"]&&"display: inline-block;\n position: relative;"})),En=d.div(T||(T=l(["\n --icon-wrapper-size: 32px;\n display: flex;\n width: var(--icon-wrapper-size);\n height: var(--icon-wrapper-size);\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n\n ","\n\n & > svg {\n width: calc(var(--icon-wrapper-size) / 2);\n height: calc(var(--icon-wrapper-size) / 2);\n }\n"],["\n --icon-wrapper-size: 32px;\n display: flex;\n width: var(--icon-wrapper-size);\n height: var(--icon-wrapper-size);\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n\n ","\n\n & > svg {\n width: calc(var(--icon-wrapper-size) / 2);\n height: calc(var(--icon-wrapper-size) / 2);\n }\n"])),(function(n){return n.theme.colors.gray100}),(function(n){return n["data-is-attached-to-element"]&&"\n position: absolute;\n bottom: calc(calc(var(--icon-wrapper-size) / 2) * -1);\n right: calc(calc(var(--icon-wrapper-size) / 2) * -1);\n "})),zn=d.div(P||(P=l(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),Ln=function(e){var t=e.type,r=e.withIcon,o=e.onFileSelected,a=e.inputId,i=e.withElement,l=e.fileAcceptType,s=e.multiple,c=e.value,p=e.className,d=function(){var n;null===(n=document.querySelector("#uploader-input-"+a))||void 0===n||n.click()};return n.createElement(yn,{className:p},"badge"===t?n.createElement(kn,{onClick:d,"data-is-attached-to-element":!!i},i,n.createElement(En,{"data-is-attached-to-element":!!i},r)):i?n.createElement("div",{onClick:d},i):n.createElement(x,{size:"md",color:"secondary",className:"default-button",icon:r,onClick:d},n.createElement(zn,null,n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},n.createElement("defs",null,n.createElement("style",null,".prefix__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"upload"),n.createElement("path",{className:"prefix__cls-1",d:"M14 10v2.67A1.33 1.33 0 0112.67 14H3.33A1.33 1.33 0 012 12.67V10M11.33 5.33L8 2 4.67 5.33M8 2v8",transform:"translate(-1.25 -1.25)"})),"Upload Image")),n.createElement("input",{id:"uploader-input-"+a,accept:l,multiple:s,type:"file",style:{display:"none"},onChange:function(n){o(n.target.files)},value:c}))},Cn=d.div(F||(F=l(["\n background-color: var(--neutral50);\n padding: 12px 0;\n box-shadow: inset 0px 1px 0px #e4e8ec;\n\n > * {\n display: grid;\n grid-template-columns: 32px 1fr;\n align-content: center;\n\n p {\n font-weight: 600;\n }\n }\n\n .icon-wrapper {\n display: flex;\n align-items: center;\n }\n"],["\n background-color: var(--neutral50);\n padding: 12px 0;\n box-shadow: inset 0px 1px 0px #e4e8ec;\n\n > * {\n display: grid;\n grid-template-columns: 32px 1fr;\n align-content: center;\n\n p {\n font-weight: 600;\n }\n }\n\n .icon-wrapper {\n display: flex;\n align-items: center;\n }\n"]))),Nn=function(e){var t=e.children,r=e.icon,o=e.className,a=e.style;return n.createElement(Cn,{style:a,className:o},n.createElement(m,null,n.createElement("div",{className:"icon-wrapper"},r),n.createElement(i,{size:"c1",color:"var(--neutral800)"},t)))},jn=d.div(H||(H=l(["\n display: inline-flex;\n\n gap: calc(var(--gap) * 1px);\n > svg {\n width: calc(var(--star-size) * 1px);\n height: calc(var(--star-size) * 1px);\n }\n\n &[data-selectable='true'] {\n > svg {\n cursor: pointer;\n }\n }\n"],["\n display: inline-flex;\n\n gap: calc(var(--gap) * 1px);\n > svg {\n width: calc(var(--star-size) * 1px);\n height: calc(var(--star-size) * 1px);\n }\n\n &[data-selectable='true'] {\n > svg {\n cursor: pointer;\n }\n }\n"]))),_n=function(e){return n.createElement("svg",s({},e,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"}))},Mn=function(e){return n.createElement("svg",s({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"}))},Bn=function(t){var r=e((function(){return"star-half-mask-".concat(Math.random())}))[0];return n.createElement("svg",s({},t,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),n.createElement("mask",{id:r,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},n.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),n.createElement("g",{mask:"url(#".concat(r,")")},n.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},In=function(t){var r=t.gap,o=void 0===r?2:r,a=t.size,i=void 0===a?24:a,l=t.star,c=t.totalStars,p=void 0===c?5:c,d=t.onSelect,u=t.hideEmptyStars,g=t.style,h=t.className,x=Math.floor(l),m=l-x>=.5?1:0,f=e(null),v=f[0],w=f[1],b=v||x,y=v?0:m;return n.createElement(jn,{"data-selectable":!!d,style:s({"--gap":o,"--star-size":i},g),className:h},Array.from({length:u?x+m:p}).map((function(e,t){var r=function(){return!!d&&w(t+1)},o=function(){return!!d&&w(null)};return t+1<=b?n.createElement(Mn,{key:t,onClick:function(){return null==d?void 0:d(t+1)},onMouseOver:r,onMouseLeave:o}):t+1===b+y?n.createElement(Bn,{key:t,onClick:function(){return null==d?void 0:d(t+1)},onMouseOver:r,onMouseLeave:o}):n.createElement(_n,{key:t,onClick:function(){return null==d?void 0:d(t+1)},onMouseOver:r,onMouseLeave:o})})))},An=d.div(q||(q=l(["\n height: 4px;\n position: relative;\n\n &:before {\n content: '';\n border-radius: 2px;\n background-color: ",";\n opacity: 0.15;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &:after {\n content: '';\n border-radius: 2px;\n background-color: ",";\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: calc(var(--progress) * 1%);\n }\n"],["\n height: 4px;\n position: relative;\n\n &:before {\n content: '';\n border-radius: 2px;\n background-color: ",";\n opacity: 0.15;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &:after {\n content: '';\n border-radius: 2px;\n background-color: ",";\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: calc(var(--progress) * 1%);\n }\n"])),(function(n){return n.theme.colors.yellow400}),(function(n){return n.theme.colors.yellow400})),Sn=function(e){var t=e.percent,r=e.style;return n.createElement(An,{style:s({"--progress":t},r)})};export{W as A,O as B,nn as F,tn as G,sn as P,In as R,pn as S,un as T,bn as U,Y as a,vn as b,Ln as c,Nn as d,Sn as e};