@hhgtech/hhg-components 1.28.26 → 1.28.28

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 (542) hide show
  1. package/build/Subot-1722467d.js +1 -0
  2. package/build/babyGrowth.js +24 -24
  3. package/build/cache.js +1 -1
  4. package/build/care.js +1 -1
  5. package/build/components.js +1 -1
  6. package/build/{constants-d9ea113d.js → constants-32fce788.js} +1 -1
  7. package/build/{constants-206f3b70.js → constants-40e42f36.js} +1 -1
  8. package/build/constants.js +1 -1
  9. package/build/{core-1e5dc399.js → core-9daa2b6d.js} +1 -1
  10. package/build/ecom.js +1 -1
  11. package/build/esm/Subot-3e26682c.js +1 -0
  12. package/build/esm/babyGrowth.js +37 -37
  13. package/build/esm/cache.js +1 -1
  14. package/build/esm/care.js +1 -1
  15. package/build/esm/components.js +1 -1
  16. package/build/esm/{constants-b1321698.js → constants-cf8d2b27.js} +2 -2
  17. package/build/esm/{constants-f9d7aa8c.js → constants-f17c72d7.js} +1 -1
  18. package/build/esm/constants.js +1 -1
  19. package/build/esm/{core-f858b620.js → core-469917c1.js} +1 -1
  20. package/build/esm/ecom.js +1 -1
  21. package/build/esm/footer.js +1 -1
  22. package/build/esm/gAssets.js +1 -1
  23. package/build/esm/getDynamicHealthTool-07d36d83.js +1 -0
  24. package/build/esm/getSocialList-52e734b5.js +1 -0
  25. package/build/esm/hooks.js +1 -1
  26. package/build/esm/i18n.js +1 -1
  27. package/build/esm/i18nV2.js +1 -1
  28. package/build/esm/{index-f4cf350a.js → index-0914cf85.js} +1 -1
  29. package/build/esm/index-0f17b8aa.js +1 -0
  30. package/build/esm/index-36c96e53.js +1 -0
  31. package/build/esm/index-539f568d.js +1 -0
  32. package/build/esm/index-59321c99.js +1 -0
  33. package/build/esm/{index-48404b57.js → index-5ff5ccf6.js} +1 -1
  34. package/build/esm/index-63cb82b7.js +1 -0
  35. package/build/esm/index-6a242131.js +177 -0
  36. package/build/esm/index-6db1bd1f.js +1 -0
  37. package/build/esm/index-70255978.js +1 -0
  38. package/build/esm/{index-6bfa1218.js → index-7532b0c5.js} +1 -1
  39. package/build/esm/{index-ee15c33c.js → index-7af053cd.js} +3 -3
  40. package/build/esm/index-8727c628.js +1 -0
  41. package/build/esm/{index-a192f489.js → index-992c1d4f.js} +1 -1
  42. package/build/esm/index-9e8718ca.js +3533 -0
  43. package/build/esm/index-a53e5cc5.js +1 -0
  44. package/build/esm/index-a5572feb.js +1 -0
  45. package/build/esm/index-ab913381.js +1 -0
  46. package/build/esm/index-bb64c9f3.js +1 -0
  47. package/build/esm/index-d97b7f95.js +1 -0
  48. package/build/esm/{index-11fea400.js → index-dce8c446.js} +1 -1
  49. package/build/esm/index-e9742f34.js +1 -0
  50. package/build/esm/index.js +1 -1
  51. package/build/esm/{index.styled-2bdbb16a.js → index.styled-82281f59.js} +135 -135
  52. package/build/esm/index.styled-83170533.js +50 -0
  53. package/build/esm/{index.styled-7ef36c68.js → index.styled-8642a0c0.js} +1 -1
  54. package/build/esm/index.styled-bd0daa57.js +1755 -0
  55. package/build/esm/{index.styles-07a11ccd.js → index.styles-309a8680.js} +2 -2
  56. package/build/esm/interfaces/constants/index.d.ts +16 -0
  57. package/build/esm/interfaces/types/Subot.d.ts +302 -0
  58. package/build/esm/interfaces/types/SubotInline.d.ts +40 -0
  59. package/build/esm/interfaces/types/index.d.ts +3 -0
  60. package/build/esm/lead/api/paths.d.ts +11 -0
  61. package/build/esm/lead/api/utils.d.ts +5 -0
  62. package/build/esm/lead.js +1 -1
  63. package/build/esm/mantine.js +1 -1
  64. package/build/esm/misc/fastdom.d.ts +41 -0
  65. package/build/esm/misc.js +1 -1
  66. package/build/esm/navigation.js +1 -1
  67. package/build/esm/onboardingV2.js +9 -9
  68. package/build/esm/pwg.js +3 -3
  69. package/build/esm/{routing-a4e59b08.js → routing-910eb4da.js} +1 -1
  70. package/build/esm/subot/api/paths.d.ts +19 -0
  71. package/build/esm/subot/api/utils.d.ts +13 -0
  72. package/build/esm/subot/components/PhoneInput/index.d.ts +17 -0
  73. package/build/esm/subot/components/markdown/index.d.ts +5 -0
  74. package/build/esm/subot/components/markdown/index.styled.d.ts +1 -0
  75. package/build/esm/subot/components/otpInfoForm/countDown.d.ts +19 -0
  76. package/build/esm/subot/components/otpInfoForm/index.d.ts +18 -0
  77. package/build/esm/subot/components/otpInfoForm/index.styled.d.ts +2 -0
  78. package/build/esm/subot/components/userInfoForm/GoogleAddressField.d.ts +34 -0
  79. package/build/esm/subot/components/userInfoForm/SelectItem.d.ts +8 -0
  80. package/build/esm/subot/components/userInfoForm/index.d.ts +20 -0
  81. package/build/esm/subot/components/userInfoForm/index.styled.d.ts +3 -0
  82. package/build/esm/subot/components/userInfoForm/utils.d.ts +9 -0
  83. package/build/esm/subot/hooks/useAddressMultipleLevelData/index.d.ts +13 -0
  84. package/build/esm/subot/hooks/useCurrentUrl.d.ts +1 -0
  85. package/build/esm/subot/hooks/useDescriptionPollNode.d.ts +6 -0
  86. package/build/esm/subot/hooks/useValidationMultiOption.d.ts +5 -0
  87. package/build/esm/subot/index.d.ts +2 -0
  88. package/build/esm/subot/subotInlineRevamp/assets/check-circle-green.d.ts +3 -0
  89. package/build/esm/subot/subotInlineRevamp/assets/checkbox.d.ts +3 -0
  90. package/build/esm/subot/subotInlineRevamp/assets/chevron-down.d.ts +3 -0
  91. package/build/esm/subot/subotInlineRevamp/assets/chevron-left.d.ts +3 -0
  92. package/build/esm/subot/subotInlineRevamp/assets/chevron-right.d.ts +3 -0
  93. package/build/esm/subot/subotInlineRevamp/assets/close.d.ts +3 -0
  94. package/build/esm/subot/subotInlineRevamp/assets/delete-icon.d.ts +3 -0
  95. package/build/esm/subot/subotInlineRevamp/assets/icon-edit.d.ts +3 -0
  96. package/build/esm/subot/subotInlineRevamp/assets/info-error.d.ts +3 -0
  97. package/build/esm/subot/subotInlineRevamp/assets/info.d.ts +3 -0
  98. package/build/esm/subot/subotInlineRevamp/assets/location.d.ts +3 -0
  99. package/build/esm/subot/subotInlineRevamp/assets/references.d.ts +3 -0
  100. package/build/esm/subot/subotInlineRevamp/assets/refresh.d.ts +3 -0
  101. package/build/esm/subot/subotInlineRevamp/common/styles.d.ts +3 -0
  102. package/build/esm/subot/subotInlineRevamp/common/subotInlineVoucherLeftUI/index.d.ts +10 -0
  103. package/build/esm/subot/subotInlineRevamp/container.d.ts +4 -0
  104. package/build/esm/subot/subotInlineRevamp/context.d.ts +4 -0
  105. package/build/esm/subot/subotInlineRevamp/friso.utils.d.ts +3 -0
  106. package/build/esm/subot/subotInlineRevamp/index.d.ts +1 -0
  107. package/build/esm/subot/subotInlineRevamp/styled.d.ts +2 -0
  108. package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionImageChoice/index.d.ts +7 -0
  109. package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionSSO/index.d.ts +7 -0
  110. package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/index.d.ts +8 -0
  111. package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/styles.d.ts +21 -0
  112. package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoice/index.d.ts +7 -0
  113. package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoice/styles.d.ts +1 -0
  114. package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoiceImage/index.d.ts +7 -0
  115. package/build/esm/subot/subotInlineRevamp/subotInlineAction/index.d.ts +7 -0
  116. package/build/esm/subot/subotInlineRevamp/subotInlineAction/styles.d.ts +1 -0
  117. package/build/esm/subot/subotInlineRevamp/subotInlineAction/utils.d.ts +8 -0
  118. package/build/esm/subot/subotInlineRevamp/subotInlineDisclaimer/index.d.ts +6 -0
  119. package/build/esm/subot/subotInlineRevamp/subotInlineDisclaimer/styles.d.ts +1 -0
  120. package/build/esm/subot/subotInlineRevamp/subotInlineFooter/index.d.ts +6 -0
  121. package/build/esm/subot/subotInlineRevamp/subotInlineFooter/styles.d.ts +1 -0
  122. package/build/esm/subot/subotInlineRevamp/subotInlineInfoSection/index.d.ts +16 -0
  123. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotButton/index.d.ts +7 -0
  124. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotButton/styles.d.ts +1 -0
  125. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotEventSubmission/index.d.ts +7 -0
  126. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotImage/index.d.ts +7 -0
  127. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotImage/styles.d.ts +1 -0
  128. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotRelatedArticle/index.d.ts +9 -0
  129. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotRelatedArticle/styles.d.ts +1 -0
  130. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/SubotInlineServiceDisclaimer/index.d.ts +9 -0
  131. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/SubotInlineServiceDisclaimer/styles.d.ts +1 -0
  132. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/index.d.ts +7 -0
  133. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/styles.d.ts +1 -0
  134. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotText/index.d.ts +7 -0
  135. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotText/styles.d.ts +1 -0
  136. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotTitle/index.d.ts +11 -0
  137. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotTitle/styles.d.ts +1 -0
  138. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentSSO/index.d.ts +7 -0
  139. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentSSO/styles.d.ts +1 -0
  140. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentUrl/index.d.ts +4 -0
  141. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentUrl/styles.d.ts +4 -0
  142. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/index.d.ts +7 -0
  143. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/styles.d.ts +1 -0
  144. package/build/esm/subot/subotInlineRevamp/subotInlineIntent/utils.d.ts +8 -0
  145. package/build/esm/subot/subotInlineRevamp/subotInlineNode/container.d.ts +9 -0
  146. package/build/esm/subot/subotInlineRevamp/subotInlineNode/context.d.ts +13 -0
  147. package/build/esm/subot/subotInlineRevamp/subotInlineNode/index.d.ts +1 -0
  148. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinal/index.d.ts +7 -0
  149. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinal/styles.d.ts +1 -0
  150. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/index.d.ts +7 -0
  151. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/styles.d.ts +3 -0
  152. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/sub-inline-intent.d.ts +7 -0
  153. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalThankYou/index.d.ts +7 -0
  154. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalThankYou/styles.d.ts +1 -0
  155. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeForm/index.d.ts +7 -0
  156. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeForm/styles.d.ts +1 -0
  157. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeImage/index.d.ts +7 -0
  158. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeImage/styles.d.ts +1 -0
  159. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeMultiple/index.d.ts +7 -0
  160. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeMultiple/styles.d.ts +1 -0
  161. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodePoll/index.d.ts +7 -0
  162. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodePoll/styles.d.ts +1 -0
  163. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/index.d.ts +8 -0
  164. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/styles.d.ts +1 -0
  165. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/container.d.ts +11 -0
  166. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/index.d.ts +1 -0
  167. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/styles.d.ts +1 -0
  168. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeText/index.d.ts +7 -0
  169. package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeText/styles.d.ts +1 -0
  170. package/build/esm/subot/subotInlineRevamp/subotInlineNode/utils.d.ts +5 -0
  171. package/build/esm/subot/subotInlineRevamp/subotInlineNode/view.d.ts +3 -0
  172. package/build/esm/subot/subotInlineRevamp/types.d.ts +60 -0
  173. package/build/esm/subot/subotInlineRevamp/utils.d.ts +52 -0
  174. package/build/esm/subot/subotInlineRevamp/view.d.ts +4 -0
  175. package/build/esm/subot/utils/dynamicScore.utils.d.ts +12 -0
  176. package/build/esm/subot/utils/fpixel.d.ts +2 -0
  177. package/build/esm/subot/utils/index.d.ts +24 -0
  178. package/build/esm/subot.js +1709 -0
  179. package/build/esm/together/api/utils.d.ts +2 -2
  180. package/build/esm/together/interfaces/types.d.ts +1 -0
  181. package/build/esm/together/togetherComponentGlobalContext.d.ts +9 -1
  182. package/build/esm/together.js +1 -1
  183. package/build/esm/types-225e1b02.js +1 -0
  184. package/build/esm/{types-de6c8d61.js → types-f83118a3.js} +1 -1
  185. package/build/esm/types.js +1 -1
  186. package/build/esm/useCategory-28c9abc6.js +1 -0
  187. package/build/esm/useHealthToolCache-e117dfc4.js +1 -0
  188. package/build/esm/usePlacesAutocomplete-e30f1118.js +1 -0
  189. package/build/esm/{useRafState-1446e72b.js → useRafState-10da1fd9.js} +1 -1
  190. package/build/esm/{useTranslations-28b19550.js → useTranslations-d8b9e866.js} +1 -1
  191. package/build/esm/utils-a7d6d7bd.js +1 -0
  192. package/build/esm/{utils-4dd7269c.js → utils-c6957af3.js} +1 -1
  193. package/build/esm/vaccination.js +5 -5
  194. package/build/footer.js +1 -1
  195. package/build/gAssets.js +1 -1
  196. package/build/getDynamicHealthTool-de43b3f5.js +1 -0
  197. package/build/getSocialList-9fc8841e.js +1 -0
  198. package/build/hooks.js +1 -1
  199. package/build/i18n.js +1 -1
  200. package/build/i18nV2.js +1 -1
  201. package/build/{index-f7536bc6.js → index-08284f8f.js} +2 -2
  202. package/build/{index-781bee17.js → index-289338c5.js} +1 -1
  203. package/build/index-2efa93f4.js +1 -0
  204. package/build/index-377f90fc.js +1 -0
  205. package/build/{index-2922fa49.js → index-48ac2384.js} +1 -1
  206. package/build/index-494c572e.js +1 -0
  207. package/build/index-542a0aa1.js +1 -0
  208. package/build/index-64661797.js +1 -0
  209. package/build/index-701c4a92.js +1 -0
  210. package/build/{esm/index-dbff2d47.js → index-85ea987c.js} +1 -1
  211. package/build/index-97b22be6.js +1 -0
  212. package/build/index-9c75f185.js +1 -0
  213. package/build/{index-0212babb.js → index-a3916b70.js} +1 -1
  214. package/build/index-adc97936.js +1 -0
  215. package/build/index-cdb7ff38.js +1 -0
  216. package/build/index-cefda9d4.js +1 -0
  217. package/build/index-dbb6aa7b.js +1 -0
  218. package/build/{index-e3a8e828.js → index-dc09ac1e.js} +3 -3
  219. package/build/index-ee279ebe.js +177 -0
  220. package/build/index-f2ae4ff9.js +1 -0
  221. package/build/index-f6748529.js +1 -0
  222. package/build/index-f712bf65.js +3533 -0
  223. package/build/index.js +1 -1
  224. package/build/index.styled-2bf89382.js +50 -0
  225. package/build/{index.styled-e25011fd.js → index.styled-366879b1.js} +126 -126
  226. package/build/{index.styled-0a9266aa.js → index.styled-72b6bed2.js} +1 -1
  227. package/build/index.styled-86c3180a.js +1755 -0
  228. package/build/{index.styles-f208cbbd.js → index.styles-5b4ce3f7.js} +37 -37
  229. package/build/interfaces/constants/index.d.ts +16 -0
  230. package/build/interfaces/types/Subot.d.ts +302 -0
  231. package/build/interfaces/types/SubotInline.d.ts +40 -0
  232. package/build/interfaces/types/index.d.ts +3 -0
  233. package/build/lead/api/paths.d.ts +11 -0
  234. package/build/lead/api/utils.d.ts +5 -0
  235. package/build/lead.js +1 -1
  236. package/build/mantine.js +1 -1
  237. package/build/misc/fastdom.d.ts +41 -0
  238. package/build/misc.js +1 -1
  239. package/build/navigation.js +1 -1
  240. package/build/onboardingV2.js +5 -5
  241. package/build/pwg.js +3 -3
  242. package/build/{routing-eeb746d3.js → routing-9196855e.js} +1 -1
  243. package/build/subot/api/paths.d.ts +19 -0
  244. package/build/subot/api/utils.d.ts +13 -0
  245. package/build/subot/components/PhoneInput/index.d.ts +17 -0
  246. package/build/subot/components/markdown/index.d.ts +5 -0
  247. package/build/subot/components/markdown/index.styled.d.ts +1 -0
  248. package/build/subot/components/otpInfoForm/countDown.d.ts +19 -0
  249. package/build/subot/components/otpInfoForm/index.d.ts +18 -0
  250. package/build/subot/components/otpInfoForm/index.styled.d.ts +2 -0
  251. package/build/subot/components/userInfoForm/GoogleAddressField.d.ts +34 -0
  252. package/build/subot/components/userInfoForm/SelectItem.d.ts +8 -0
  253. package/build/subot/components/userInfoForm/index.d.ts +20 -0
  254. package/build/subot/components/userInfoForm/index.styled.d.ts +3 -0
  255. package/build/subot/components/userInfoForm/utils.d.ts +9 -0
  256. package/build/subot/hooks/useAddressMultipleLevelData/index.d.ts +13 -0
  257. package/build/subot/hooks/useCurrentUrl.d.ts +1 -0
  258. package/build/subot/hooks/useDescriptionPollNode.d.ts +6 -0
  259. package/build/subot/hooks/useValidationMultiOption.d.ts +5 -0
  260. package/build/subot/index.d.ts +2 -0
  261. package/build/subot/subotInlineRevamp/assets/check-circle-green.d.ts +3 -0
  262. package/build/subot/subotInlineRevamp/assets/checkbox.d.ts +3 -0
  263. package/build/subot/subotInlineRevamp/assets/chevron-down.d.ts +3 -0
  264. package/build/subot/subotInlineRevamp/assets/chevron-left.d.ts +3 -0
  265. package/build/subot/subotInlineRevamp/assets/chevron-right.d.ts +3 -0
  266. package/build/subot/subotInlineRevamp/assets/close.d.ts +3 -0
  267. package/build/subot/subotInlineRevamp/assets/delete-icon.d.ts +3 -0
  268. package/build/subot/subotInlineRevamp/assets/icon-edit.d.ts +3 -0
  269. package/build/subot/subotInlineRevamp/assets/info-error.d.ts +3 -0
  270. package/build/subot/subotInlineRevamp/assets/info.d.ts +3 -0
  271. package/build/subot/subotInlineRevamp/assets/location.d.ts +3 -0
  272. package/build/subot/subotInlineRevamp/assets/references.d.ts +3 -0
  273. package/build/subot/subotInlineRevamp/assets/refresh.d.ts +3 -0
  274. package/build/subot/subotInlineRevamp/common/styles.d.ts +3 -0
  275. package/build/subot/subotInlineRevamp/common/subotInlineVoucherLeftUI/index.d.ts +10 -0
  276. package/build/subot/subotInlineRevamp/container.d.ts +4 -0
  277. package/build/subot/subotInlineRevamp/context.d.ts +4 -0
  278. package/build/subot/subotInlineRevamp/friso.utils.d.ts +3 -0
  279. package/build/subot/subotInlineRevamp/index.d.ts +1 -0
  280. package/build/subot/subotInlineRevamp/styled.d.ts +2 -0
  281. package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionImageChoice/index.d.ts +7 -0
  282. package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionSSO/index.d.ts +7 -0
  283. package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/index.d.ts +8 -0
  284. package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/styles.d.ts +21 -0
  285. package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoice/index.d.ts +7 -0
  286. package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoice/styles.d.ts +1 -0
  287. package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoiceImage/index.d.ts +7 -0
  288. package/build/subot/subotInlineRevamp/subotInlineAction/index.d.ts +7 -0
  289. package/build/subot/subotInlineRevamp/subotInlineAction/styles.d.ts +1 -0
  290. package/build/subot/subotInlineRevamp/subotInlineAction/utils.d.ts +8 -0
  291. package/build/subot/subotInlineRevamp/subotInlineDisclaimer/index.d.ts +6 -0
  292. package/build/subot/subotInlineRevamp/subotInlineDisclaimer/styles.d.ts +1 -0
  293. package/build/subot/subotInlineRevamp/subotInlineFooter/index.d.ts +6 -0
  294. package/build/subot/subotInlineRevamp/subotInlineFooter/styles.d.ts +1 -0
  295. package/build/subot/subotInlineRevamp/subotInlineInfoSection/index.d.ts +16 -0
  296. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotButton/index.d.ts +7 -0
  297. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotButton/styles.d.ts +1 -0
  298. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotEventSubmission/index.d.ts +7 -0
  299. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotImage/index.d.ts +7 -0
  300. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotImage/styles.d.ts +1 -0
  301. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotRelatedArticle/index.d.ts +9 -0
  302. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotRelatedArticle/styles.d.ts +1 -0
  303. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/SubotInlineServiceDisclaimer/index.d.ts +9 -0
  304. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/SubotInlineServiceDisclaimer/styles.d.ts +1 -0
  305. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/index.d.ts +7 -0
  306. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/styles.d.ts +1 -0
  307. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotText/index.d.ts +7 -0
  308. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotText/styles.d.ts +1 -0
  309. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotTitle/index.d.ts +11 -0
  310. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotTitle/styles.d.ts +1 -0
  311. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentSSO/index.d.ts +7 -0
  312. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentSSO/styles.d.ts +1 -0
  313. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentUrl/index.d.ts +4 -0
  314. package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentUrl/styles.d.ts +4 -0
  315. package/build/subot/subotInlineRevamp/subotInlineIntent/index.d.ts +7 -0
  316. package/build/subot/subotInlineRevamp/subotInlineIntent/styles.d.ts +1 -0
  317. package/build/subot/subotInlineRevamp/subotInlineIntent/utils.d.ts +8 -0
  318. package/build/subot/subotInlineRevamp/subotInlineNode/container.d.ts +9 -0
  319. package/build/subot/subotInlineRevamp/subotInlineNode/context.d.ts +13 -0
  320. package/build/subot/subotInlineRevamp/subotInlineNode/index.d.ts +1 -0
  321. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinal/index.d.ts +7 -0
  322. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinal/styles.d.ts +1 -0
  323. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/index.d.ts +7 -0
  324. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/styles.d.ts +3 -0
  325. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/sub-inline-intent.d.ts +7 -0
  326. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalThankYou/index.d.ts +7 -0
  327. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalThankYou/styles.d.ts +1 -0
  328. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeForm/index.d.ts +7 -0
  329. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeForm/styles.d.ts +1 -0
  330. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeImage/index.d.ts +7 -0
  331. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeImage/styles.d.ts +1 -0
  332. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeMultiple/index.d.ts +7 -0
  333. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeMultiple/styles.d.ts +1 -0
  334. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodePoll/index.d.ts +7 -0
  335. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodePoll/styles.d.ts +1 -0
  336. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/index.d.ts +8 -0
  337. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/styles.d.ts +1 -0
  338. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/container.d.ts +11 -0
  339. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/index.d.ts +1 -0
  340. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/styles.d.ts +1 -0
  341. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeText/index.d.ts +7 -0
  342. package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeText/styles.d.ts +1 -0
  343. package/build/subot/subotInlineRevamp/subotInlineNode/utils.d.ts +5 -0
  344. package/build/subot/subotInlineRevamp/subotInlineNode/view.d.ts +3 -0
  345. package/build/subot/subotInlineRevamp/types.d.ts +60 -0
  346. package/build/subot/subotInlineRevamp/utils.d.ts +52 -0
  347. package/build/subot/subotInlineRevamp/view.d.ts +4 -0
  348. package/build/subot/utils/dynamicScore.utils.d.ts +12 -0
  349. package/build/subot/utils/fpixel.d.ts +2 -0
  350. package/build/subot/utils/index.d.ts +24 -0
  351. package/build/subot.js +1709 -0
  352. package/build/together/api/utils.d.ts +2 -2
  353. package/build/together/interfaces/types.d.ts +1 -0
  354. package/build/together/togetherComponentGlobalContext.d.ts +9 -1
  355. package/build/together.js +1 -1
  356. package/build/types-7c5b4a63.js +1 -0
  357. package/build/{types-9c12ca83.js → types-7ff69523.js} +1 -1
  358. package/build/types.js +1 -1
  359. package/build/useCategory-db396f3e.js +1 -0
  360. package/build/{useHealthToolCache-6cdee506.js → useHealthToolCache-78894feb.js} +1 -1
  361. package/build/usePlacesAutocomplete-cc9ed6fe.js +1 -0
  362. package/build/{useRafState-1e420cf7.js → useRafState-ade92052.js} +1 -1
  363. package/build/{useTranslations-91457229.js → useTranslations-45ef6653.js} +1 -1
  364. package/build/utils-9013d9b5.js +1 -0
  365. package/build/{utils-293ffa82.js → utils-cef4a03b.js} +1 -1
  366. package/build/vaccination.js +1 -1
  367. package/package.json +6 -1
  368. package/build/Onboarding-657118be.js +0 -1
  369. package/build/esm/Onboarding-68463903.js +0 -1
  370. package/build/esm/getDynamicHealthTool-844c6f6a.js +0 -1
  371. package/build/esm/getSocialList-7e971b70.js +0 -1
  372. package/build/esm/index-146e09e3.js +0 -177
  373. package/build/esm/index-3d5c1bc6.js +0 -1
  374. package/build/esm/index-480d01ae.js +0 -50
  375. package/build/esm/index-58c18460.js +0 -1
  376. package/build/esm/index-5b6ce3c8.js +0 -1
  377. package/build/esm/index-7344117e.js +0 -1
  378. package/build/esm/index-798caaf0.js +0 -3533
  379. package/build/esm/index-9dfd478f.js +0 -1
  380. package/build/esm/index-bac9d662.js +0 -1
  381. package/build/esm/index-bbcd103b.js +0 -1755
  382. package/build/esm/index-c382ba8d.js +0 -1
  383. package/build/esm/index-d08071f0.js +0 -1
  384. package/build/esm/types-6e7ea58d.js +0 -1
  385. package/build/esm/useCategory-66dc7051.js +0 -1
  386. package/build/esm/useHealthToolCache-5b011d4c.js +0 -1
  387. package/build/esm/utils-c9c9f998.js +0 -1
  388. package/build/getDynamicHealthTool-701bf691.js +0 -1
  389. package/build/getSocialList-34b4160e.js +0 -1
  390. package/build/index-26547fdb.js +0 -50
  391. package/build/index-2ef62da6.js +0 -1
  392. package/build/index-43968e3d.js +0 -1755
  393. package/build/index-6e03cf5a.js +0 -1
  394. package/build/index-773217c2.js +0 -1
  395. package/build/index-79708112.js +0 -1
  396. package/build/index-80c61fb6.js +0 -1
  397. package/build/index-820acd26.js +0 -1
  398. package/build/index-85409c2e.js +0 -1
  399. package/build/index-a0d5a151.js +0 -3533
  400. package/build/index-b75de7cd.js +0 -177
  401. package/build/index-c5b7c15a.js +0 -1
  402. package/build/index-e2b8fc0e.js +0 -1
  403. package/build/index-e68f4447.js +0 -1
  404. package/build/types-5160cfd8.js +0 -1
  405. package/build/useCategory-9cb93e7b.js +0 -1
  406. package/build/utils-18296362.js +0 -1
  407. /package/build/{BMI_BOYS.percentile.monthly-1cd695d8.js → BMI_BOYS.percentile.monthly-3dc40e7f.js} +0 -0
  408. /package/build/{BMI_BOYS.percentile.weekly-0056c560.js → BMI_BOYS.percentile.weekly-c850c918.js} +0 -0
  409. /package/build/{BMI_BOYS.percentile.yearly-03cca0be.js → BMI_BOYS.percentile.yearly-801eb999.js} +0 -0
  410. /package/build/{BMI_BOYS.zscore.monthly-aa5df91d.js → BMI_BOYS.zscore.monthly-0ab0be45.js} +0 -0
  411. /package/build/{BMI_BOYS.zscore.weekly-3d76505b.js → BMI_BOYS.zscore.weekly-9a937581.js} +0 -0
  412. /package/build/{BMI_BOYS.zscore.yearly-52d967e9.js → BMI_BOYS.zscore.yearly-17dfd6d3.js} +0 -0
  413. /package/build/{BMI_GIRLS.percentile.monthly-1d8ebde3.js → BMI_GIRLS.percentile.monthly-d8085dfe.js} +0 -0
  414. /package/build/{BMI_GIRLS.percentile.weekly-77acf120.js → BMI_GIRLS.percentile.weekly-1f360a48.js} +0 -0
  415. /package/build/{BMI_GIRLS.percentile.yearly-0baa066c.js → BMI_GIRLS.percentile.yearly-51c5c6d1.js} +0 -0
  416. /package/build/{BMI_GIRLS.zscore.monthly-2c416f8b.js → BMI_GIRLS.zscore.monthly-b3f5412f.js} +0 -0
  417. /package/build/{BMI_GIRLS.zscore.weekly-05aa726d.js → BMI_GIRLS.zscore.weekly-67ca1c19.js} +0 -0
  418. /package/build/{BMI_GIRLS.zscore.yearly-d1a2c524.js → BMI_GIRLS.zscore.yearly-53909407.js} +0 -0
  419. /package/build/{ChevronDown-a7f9de37.js → ChevronDown-e78dfe2c.js} +0 -0
  420. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-5c54a40f.js → HEAD CIRCUM_BOYS.percentile.monthly-5a9fd77d.js} +0 -0
  421. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-ed924d0f.js → HEAD CIRCUM_BOYS.percentile.weekly-10342371.js} +0 -0
  422. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-39b250f2.js → HEAD CIRCUM_BOYS.percentile.yearly-ce0fca94.js} +0 -0
  423. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-89b42d5b.js → HEAD CIRCUM_BOYS.zscore.monthly-7ed50089.js} +0 -0
  424. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-11d3c7fe.js → HEAD CIRCUM_BOYS.zscore.weekly-94d77f2e.js} +0 -0
  425. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-48bbe7a5.js → HEAD CIRCUM_BOYS.zscore.yearly-d54b7848.js} +0 -0
  426. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f611c38e.js → HEAD CIRCUM_GIRLS.percentile.monthly-8dec8c91.js} +0 -0
  427. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-fcbd5d63.js → HEAD CIRCUM_GIRLS.percentile.weekly-b1976ffa.js} +0 -0
  428. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-8224f26f.js → HEAD CIRCUM_GIRLS.percentile.yearly-9d04b05d.js} +0 -0
  429. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c7f6b828.js → HEAD CIRCUM_GIRLS.zscore.monthly-7f142a08.js} +0 -0
  430. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-49769efc.js → HEAD CIRCUM_GIRLS.zscore.weekly-d48f6954.js} +0 -0
  431. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-0b528e0a.js → HEAD CIRCUM_GIRLS.zscore.yearly-14434e4f.js} +0 -0
  432. /package/build/{HEIGHT_BOYS.percentile.monthly-e35d8b62.js → HEIGHT_BOYS.percentile.monthly-676f5530.js} +0 -0
  433. /package/build/{HEIGHT_BOYS.percentile.weekly-521fe16f.js → HEIGHT_BOYS.percentile.weekly-60e45b6b.js} +0 -0
  434. /package/build/{HEIGHT_BOYS.percentile.yearly-0330595f.js → HEIGHT_BOYS.percentile.yearly-15334902.js} +0 -0
  435. /package/build/{HEIGHT_BOYS.zscore.monthly-829ea24d.js → HEIGHT_BOYS.zscore.monthly-bce4de71.js} +0 -0
  436. /package/build/{HEIGHT_BOYS.zscore.weekly-a21e2c75.js → HEIGHT_BOYS.zscore.weekly-823114cd.js} +0 -0
  437. /package/build/{HEIGHT_BOYS.zscore.yearly-9a35dcb2.js → HEIGHT_BOYS.zscore.yearly-835c9bb9.js} +0 -0
  438. /package/build/{HEIGHT_GIRLS.percentile.monthly-2b496255.js → HEIGHT_GIRLS.percentile.monthly-553e9c6f.js} +0 -0
  439. /package/build/{HEIGHT_GIRLS.percentile.weekly-798d0798.js → HEIGHT_GIRLS.percentile.weekly-feb2d33e.js} +0 -0
  440. /package/build/{HEIGHT_GIRLS.percentile.yearly-98716d86.js → HEIGHT_GIRLS.percentile.yearly-6f499cc5.js} +0 -0
  441. /package/build/{HEIGHT_GIRLS.zscore.monthly-c7cae5ca.js → HEIGHT_GIRLS.zscore.monthly-abfe8b81.js} +0 -0
  442. /package/build/{HEIGHT_GIRLS.zscore.weekly-2a3d14bd.js → HEIGHT_GIRLS.zscore.weekly-b7966832.js} +0 -0
  443. /package/build/{HEIGHT_GIRLS.zscore.yearly-1f072a23.js → HEIGHT_GIRLS.zscore.yearly-37f75f33.js} +0 -0
  444. /package/build/{Visible-18046824.js → Visible-1c56fbc5.js} +0 -0
  445. /package/build/{WEIGHT_BOYS.percentile.monthly-3934e3d6.js → WEIGHT_BOYS.percentile.monthly-91f605bd.js} +0 -0
  446. /package/build/{WEIGHT_BOYS.percentile.weekly-d1e205d3.js → WEIGHT_BOYS.percentile.weekly-80e52ebe.js} +0 -0
  447. /package/build/{WEIGHT_BOYS.percentile.yearly-60038eb2.js → WEIGHT_BOYS.percentile.yearly-a42fe36c.js} +0 -0
  448. /package/build/{WEIGHT_BOYS.zscore.monthly-09c98a58.js → WEIGHT_BOYS.zscore.monthly-abd7d187.js} +0 -0
  449. /package/build/{WEIGHT_BOYS.zscore.weekly-f5af9666.js → WEIGHT_BOYS.zscore.weekly-b4f653d8.js} +0 -0
  450. /package/build/{WEIGHT_BOYS.zscore.yearly-af4fa571.js → WEIGHT_BOYS.zscore.yearly-e00bb874.js} +0 -0
  451. /package/build/{WEIGHT_GIRLS.percentile.monthly-8aba1338.js → WEIGHT_GIRLS.percentile.monthly-aacad85f.js} +0 -0
  452. /package/build/{WEIGHT_GIRLS.percentile.weekly-5aa37aee.js → WEIGHT_GIRLS.percentile.weekly-92f347b4.js} +0 -0
  453. /package/build/{WEIGHT_GIRLS.percentile.yearly-76c3462e.js → WEIGHT_GIRLS.percentile.yearly-cdea1c92.js} +0 -0
  454. /package/build/{WEIGHT_GIRLS.zscore.monthly-b95aebe5.js → WEIGHT_GIRLS.zscore.monthly-f1843232.js} +0 -0
  455. /package/build/{WEIGHT_GIRLS.zscore.weekly-f9e24db4.js → WEIGHT_GIRLS.zscore.weekly-a544817b.js} +0 -0
  456. /package/build/{WEIGHT_GIRLS.zscore.yearly-48f4eb07.js → WEIGHT_GIRLS.zscore.yearly-1c0aa2ae.js} +0 -0
  457. /package/build/{cookieHelper-e985d4c7.js → cookieHelper-ffb4fd8b.js} +0 -0
  458. /package/build/{dataTransform-30c3f50a.js → dataTransform-6d870326.js} +0 -0
  459. /package/build/esm/{BMI_BOYS.percentile.monthly-a4a0ad7b.js → BMI_BOYS.percentile.monthly-a3ce9938.js} +0 -0
  460. /package/build/esm/{BMI_BOYS.percentile.weekly-63b2bfcf.js → BMI_BOYS.percentile.weekly-509586f6.js} +0 -0
  461. /package/build/esm/{BMI_BOYS.percentile.yearly-ce94b23f.js → BMI_BOYS.percentile.yearly-c5bb805b.js} +0 -0
  462. /package/build/esm/{BMI_BOYS.zscore.monthly-ae9d6e27.js → BMI_BOYS.zscore.monthly-56a8ca62.js} +0 -0
  463. /package/build/esm/{BMI_BOYS.zscore.weekly-2f5e4917.js → BMI_BOYS.zscore.weekly-f7ef381f.js} +0 -0
  464. /package/build/esm/{BMI_BOYS.zscore.yearly-f2a75999.js → BMI_BOYS.zscore.yearly-4d43acd4.js} +0 -0
  465. /package/build/esm/{BMI_GIRLS.percentile.monthly-867ec46e.js → BMI_GIRLS.percentile.monthly-95bcbb2b.js} +0 -0
  466. /package/build/esm/{BMI_GIRLS.percentile.weekly-175ab658.js → BMI_GIRLS.percentile.weekly-289ebe3b.js} +0 -0
  467. /package/build/esm/{BMI_GIRLS.percentile.yearly-5ee37a78.js → BMI_GIRLS.percentile.yearly-3f7e04aa.js} +0 -0
  468. /package/build/esm/{BMI_GIRLS.zscore.monthly-c7b46d27.js → BMI_GIRLS.zscore.monthly-63241d58.js} +0 -0
  469. /package/build/esm/{BMI_GIRLS.zscore.weekly-6cf428b7.js → BMI_GIRLS.zscore.weekly-dcf15800.js} +0 -0
  470. /package/build/esm/{BMI_GIRLS.zscore.yearly-cf665059.js → BMI_GIRLS.zscore.yearly-a83f804e.js} +0 -0
  471. /package/build/esm/{ChevronDown-5eb26fa9.js → ChevronDown-9654e503.js} +0 -0
  472. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-c0092a9b.js → HEAD CIRCUM_BOYS.percentile.monthly-01025ce1.js} +0 -0
  473. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-60e4e681.js → HEAD CIRCUM_BOYS.percentile.weekly-d57418d1.js} +0 -0
  474. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e195a8f5.js → HEAD CIRCUM_BOYS.percentile.yearly-89076acf.js} +0 -0
  475. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-83ea3849.js → HEAD CIRCUM_BOYS.zscore.monthly-92d740bf.js} +0 -0
  476. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-9f9f34e6.js → HEAD CIRCUM_BOYS.zscore.weekly-712e4d7e.js} +0 -0
  477. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-3837882e.js → HEAD CIRCUM_BOYS.zscore.yearly-5a85d048.js} +0 -0
  478. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-8eb0c2b1.js → HEAD CIRCUM_GIRLS.percentile.monthly-d3c2de41.js} +0 -0
  479. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-e35d52a1.js → HEAD CIRCUM_GIRLS.percentile.weekly-e9eb1057.js} +0 -0
  480. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b85a212e.js → HEAD CIRCUM_GIRLS.percentile.yearly-b729a3d7.js} +0 -0
  481. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d05611bf.js → HEAD CIRCUM_GIRLS.zscore.monthly-0e6d5b95.js} +0 -0
  482. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-68620b06.js → HEAD CIRCUM_GIRLS.zscore.weekly-76b8c388.js} +0 -0
  483. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-6589d2cd.js → HEAD CIRCUM_GIRLS.zscore.yearly-6c43b660.js} +0 -0
  484. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e528b356.js → HEIGHT_BOYS.percentile.monthly-bd14dfb3.js} +0 -0
  485. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-5cc30d5e.js → HEIGHT_BOYS.percentile.weekly-28561e1d.js} +0 -0
  486. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-5f6d1261.js → HEIGHT_BOYS.percentile.yearly-95cbc5d4.js} +0 -0
  487. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-df54093d.js → HEIGHT_BOYS.zscore.monthly-8f8c7e63.js} +0 -0
  488. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-cb871f3e.js → HEIGHT_BOYS.zscore.weekly-b6b2133d.js} +0 -0
  489. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-be2bf770.js → HEIGHT_BOYS.zscore.yearly-0a721242.js} +0 -0
  490. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-faac10ab.js → HEIGHT_GIRLS.percentile.monthly-0b7e5c85.js} +0 -0
  491. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-171f0405.js → HEIGHT_GIRLS.percentile.weekly-0e965359.js} +0 -0
  492. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1e9a8a8c.js → HEIGHT_GIRLS.percentile.yearly-82135038.js} +0 -0
  493. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c6a3a15a.js → HEIGHT_GIRLS.zscore.monthly-78fc054c.js} +0 -0
  494. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-16914b26.js → HEIGHT_GIRLS.zscore.weekly-776a1a17.js} +0 -0
  495. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-d1bb3b68.js → HEIGHT_GIRLS.zscore.yearly-c1f848e1.js} +0 -0
  496. /package/build/esm/{Visible-a28d7eb0.js → Visible-76578e44.js} +0 -0
  497. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-eb935b31.js → WEIGHT_BOYS.percentile.monthly-d2143081.js} +0 -0
  498. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e87dae78.js → WEIGHT_BOYS.percentile.weekly-a1b742dc.js} +0 -0
  499. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-3b5ceca6.js → WEIGHT_BOYS.percentile.yearly-426bf234.js} +0 -0
  500. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c289c49f.js → WEIGHT_BOYS.zscore.monthly-c2f66396.js} +0 -0
  501. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-43ced9e1.js → WEIGHT_BOYS.zscore.weekly-dea5836f.js} +0 -0
  502. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-159239ae.js → WEIGHT_BOYS.zscore.yearly-3aaa5b87.js} +0 -0
  503. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-2acfe764.js → WEIGHT_GIRLS.percentile.monthly-98555f5c.js} +0 -0
  504. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-0fa87a0f.js → WEIGHT_GIRLS.percentile.weekly-ed4ecaea.js} +0 -0
  505. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0009507a.js → WEIGHT_GIRLS.percentile.yearly-f1e194fc.js} +0 -0
  506. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-e4df7056.js → WEIGHT_GIRLS.zscore.monthly-dadc78cb.js} +0 -0
  507. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-1b18ee01.js → WEIGHT_GIRLS.zscore.weekly-8dd9e19c.js} +0 -0
  508. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-3e77aea2.js → WEIGHT_GIRLS.zscore.yearly-256c3290.js} +0 -0
  509. /package/build/esm/{cookieHelper-87d0e0e7.js → cookieHelper-b7f7d5f1.js} +0 -0
  510. /package/build/esm/{dataTransform-233027fc.js → dataTransform-3542601c.js} +0 -0
  511. /package/build/esm/{index-9d684c92.js → index-354ddd99.js} +0 -0
  512. /package/build/esm/{index-db903b7d.js → index-5e6b6109.js} +0 -0
  513. /package/build/esm/{index-0aeb7ac9.js → index-f9986ddb.js} +0 -0
  514. /package/build/esm/{isProduction-51fadd96.js → isProduction-13f6d491.js} +0 -0
  515. /package/build/esm/{localizeNumberFormat-f423cfc1.js → localizeNumberFormat-a578872d.js} +0 -0
  516. /package/build/esm/{normalizeLink-7f6a35f5.js → normalizeLink-f1a07e08.js} +0 -0
  517. /package/build/esm/{number-06671b87.js → number-4286843a.js} +0 -0
  518. /package/build/esm/{paths-b4d6519e.js → paths-a3913e3c.js} +0 -0
  519. /package/build/esm/{screenSizeContext-7e881f6d.js → screenSizeContext-fc852596.js} +0 -0
  520. /package/build/esm/{theme-f470318d.js → theme-afaf0d05.js} +0 -0
  521. /package/build/esm/{translationsContext-d199b4bc.js → translationsContext-74126881.js} +0 -0
  522. /package/build/esm/{tslib.es6-71be3ad2.js → tslib.es6-914e91bc.js} +0 -0
  523. /package/build/esm/{types-daf9f191.js → types-fee4011a.js} +0 -0
  524. /package/build/esm/{useIsInit-96aef578.js → useIsInit-531139ff.js} +0 -0
  525. /package/build/esm/{useOutsideClick-3c9bb801.js → useOutsideClick-1dc534d6.js} +0 -0
  526. /package/build/esm/{useScrollbarSize-a671c544.js → useScrollbarSize-bac85788.js} +0 -0
  527. /package/build/{index-69072e3c.js → index-0b14280f.js} +0 -0
  528. /package/build/{index-e906cca1.js → index-30a6de1a.js} +0 -0
  529. /package/build/{index-e46f2dda.js → index-94130616.js} +0 -0
  530. /package/build/{isProduction-8be63fc2.js → isProduction-51951576.js} +0 -0
  531. /package/build/{localizeNumberFormat-8a4ccd79.js → localizeNumberFormat-7d655858.js} +0 -0
  532. /package/build/{normalizeLink-f918ee2e.js → normalizeLink-b646fe58.js} +0 -0
  533. /package/build/{number-04972221.js → number-2bbfe6b9.js} +0 -0
  534. /package/build/{paths-7708bedf.js → paths-62703942.js} +0 -0
  535. /package/build/{screenSizeContext-927d5e3b.js → screenSizeContext-a6dd41f9.js} +0 -0
  536. /package/build/{theme-1bc846ef.js → theme-3f0985a0.js} +0 -0
  537. /package/build/{translationsContext-6e3c777d.js → translationsContext-8d6ba9f9.js} +0 -0
  538. /package/build/{tslib.es6-60cf710c.js → tslib.es6-5f2b74ff.js} +0 -0
  539. /package/build/{types-d48ad8ac.js → types-f1f451e3.js} +0 -0
  540. /package/build/{useIsInit-1b9b9148.js → useIsInit-e1320c4c.js} +0 -0
  541. /package/build/{useOutsideClick-44f136c3.js → useOutsideClick-9eb66aa1.js} +0 -0
  542. /package/build/{useScrollbarSize-7aaaacbb.js → useScrollbarSize-651139db.js} +0 -0
@@ -1,1755 +0,0 @@
1
- "use strict";var e=require("./tslib.es6-60cf710c.js"),t=require("react"),a=require("./core-1e5dc399.js"),l=require("./index-f7536bc6.js"),i=require("styled-components"),n=require("./index-2ef62da6.js"),o=require("./gAssets.js"),r=require("./index-c5b7c15a.js"),s=require("./normalizeLink-f918ee2e.js"),d=require("./routing-eeb746d3.js"),u=require("./index-e3a8e828.js"),c=require("./index-80c61fb6.js"),m=require("./useTranslations-91457229.js"),p=require("lodash/throttle"),g=require("@mantine/core");require("@mantine/dates");var h=require("./Onboarding-657118be.js"),f=require("dayjs"),v=require("./screenSizeContext-927d5e3b.js"),C=require("./theme-1bc846ef.js");require("./isProduction-8be63fc2.js"),require("./translationsContext-6e3c777d.js");var x=require("string-format");require("@mantine/hooks");var b=require("./constants-d9ea113d.js"),y=require("./index.styles-f208cbbd.js"),E=require("lodash/debounce");require("./useCategory-9cb93e7b.js");var w=require("./ChevronDown-a7f9de37.js"),k=require("./index-0212babb.js"),$=require("./constants-206f3b70.js"),M=require("./index-6e03cf5a.js"),L=require("./useIsInit-1b9b9148.js");require("./utils-293ffa82.js"),require("./index.styled-0a9266aa.js"),require("./index-69072e3c.js");var A=require("dayjs/plugin/relativeTime"),B=require("./index-e906cca1.js");function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var T=_(t),D=_(i),P=_(p),S=_(f),H=_(x),N=_(E),z=_(A);const j=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],O=(e="")=>j.some((t=>new URL(e).origin.endsWith(t))),U=D.default.a`
2
- display: inline-flex;
3
- position: relative;
4
- flex-direction: row;
5
- align-items: center;
6
- padding: 7px 11px;
7
- gap: 2px;
8
-
9
- background: ${e=>e.theme.colors.white};
10
- border: 1px solid ${e=>e.theme.colors.neutral100};
11
- border-radius: 20px;
12
-
13
- color: ${e=>e.theme.colors.gray600};
14
- font-weight: 600;
15
- font-size: 12px;
16
- line-height: 18px;
17
- text-decoration: none;
18
-
19
- cursor: pointer;
20
- `,F=D.default.div`
21
- position: relative;
22
- display: inline-block;
23
- `,R=D.default.div`
24
- position: relative;
25
- `,V=D.default.div`
26
- position: absolute;
27
- z-index: 21;
28
- top: 100%;
29
- right: 0;
30
- width: 327px;
31
- padding: 8px;
32
- background: white;
33
- border-radius: 4px;
34
- filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));
35
-
36
- &[data-is-open='false'] {
37
- display: none;
38
- }
39
- &[data-show-indicator='true'] {
40
- &:before {
41
- position: absolute;
42
- right: 11px;
43
- bottom: 100%;
44
- width: 0;
45
- height: 0;
46
- border: 0.5rem solid transparent;
47
- border-top: none;
48
- border-bottom-color: #fff;
49
- content: '';
50
- filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
51
- }
52
- }
53
- `,G=D.default.div`
54
- display: flex;
55
- height: 40px;
56
- align-items: center;
57
- justify-content: space-between;
58
-
59
- padding: 0 16px;
60
- border-radius: ${e=>e.theme.borderRadius};
61
- cursor: pointer;
62
-
63
- .check-icon {
64
- width: 16px;
65
- height: 16px;
66
- }
67
- &[data-selected='false'] {
68
- background-color: ${e=>e.theme.colors.gray100};
69
- }
70
- `,I=D.default.div`
71
- position: fixed;
72
- z-index: 20;
73
- top: 0;
74
- left: 0;
75
- width: 100%;
76
- height: 100%;
77
- cursor: default;
78
- `,Q=({options:e,label:a,labelRenderer:l,selected:i,onChange:r,showSelected:s=!0,style:d={},showIndicator:u=!0})=>{const[c,m]=t.useState(!1);return T.default.createElement(T.default.Fragment,null,T.default.createElement(F,null,T.default.createElement(R,{onClick:()=>m((e=>!e))},a||(null==l?void 0:l(c))||null,T.default.createElement(V,{"data-is-open":c,style:d,"data-show-indicator":u},e.map(((e,t)=>T.default.createElement(G,{key:t,"data-selected":s&&i===e.value,onClick:t=>{i!==e.value&&(r(e.value),m((e=>!e))),t.stopPropagation()}},T.default.createElement(n.Text,{size:"p3"},e.label),s&&i===e.value&&T.default.createElement("img",{src:o.CommonGAssets.getAssetPath("check.svg"),alt:"check",className:"check-icon",loading:"lazy"}))))))),c&&T.default.createElement(I,{onClick:()=>m(!1)}))},Z=({languageOptions:e,locale:t})=>{var a,l;const i=null==e?void 0:e.find((e=>e.locale===t));return(null==e?void 0:e.length)?T.default.createElement(Q,{options:e,selected:i.value,label:T.default.createElement(q,{locale:t,label:i.label||(null===(l=null===(a=t.split("-"))||void 0===a?void 0:a[0])||void 0===l?void 0:l.toUpperCase())}),onChange:e=>{"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},q=({locale:e,label:t,href:a})=>{var i,n,o;return T.default.createElement(U,{href:a},T.default.createElement(l.Flag,{country:null===(n=null===(i=null==e?void 0:e.split("-"))||void 0===i?void 0:i[1])||void 0===n?void 0:n.toUpperCase(),width:16,height:16,rounded:!0,language:null===(o=null==e?void 0:e.split("-"))||void 0===o?void 0:o[0]}),T.default.createElement("span",null,t))},W=({path:e,locale:t})=>{var a;return`/shop/${null===(a=b.LOCALISED_SLUGS[t||"vi-VN"])||void 0===a?void 0:a[e]}/`};var Y=g.createStyles((()=>({root:{textDecoration:"none"},indicatorRoot:{marginRight:g.rem(10)},iconText:{color:"#fff"}})));const K=t=>{var{count:a,styles:l,className:i,classNames:o,locale:r}=t,s=e.__rest(t,["count","styles","className","classNames","locale"]);const{classes:d,cx:u}=Y(void 0,{name:"CartBadge",styles:l,classNames:o});return void 0!==a?T.default.createElement(g.Box,Object.assign({component:"a",href:W({path:"CART",locale:r}),className:u(d.root,i)},s),T.default.createElement(g.Indicator,{classNames:{root:d.indicatorRoot},withBorder:!0,color:"red",size:20,disabled:0===a,label:T.default.createElement(n.Text,{className:d.iconText,size:"s5"},a>99?"99+":a)},T.default.createElement(n.Icon.Cart,{size:24}))):null},J=D.default.div`
79
- ${e=>`\n ${0!==e.lowerBound?`@media (max-width: ${e.lowerBound-1}px) { display: none; }`:""}\n ${0!==e.upperBound?`@media (min-width: ${e.upperBound}px) { display: none; }`:""}\n `}
80
- `,X=({forceDisplay:e,mediaQueryKey:a,children:l,className:i,style:n})=>{const[o,r]=t.useMemo((()=>v.getBoundariesFromMediaQueryKey(a)),[a]);return T.default.createElement(J,{lowerBound:e?0:o,upperBound:e?0:r,className:i,style:n},l)},ee=e=>{const{allowBgScroll:a}=e||{},l=t.useRef();return{containerRef:l,onContainerFocus:()=>{a||(document.documentElement.style.overflow="hidden")},onContainerBlur:()=>{a||(document.documentElement.style.overflow="")},onButtonMouseDown:e=>{l.current&&(document.activeElement===l.current||l.current.contains(document.activeElement))&&(l.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:()=>{l.current&&(document.activeElement===l.current||l.current.contains(document.activeElement))&&(l.current.blur(),document.activeElement.blur())}}},te=D.default.div`
81
- position: absolute;
82
- right: 0;
83
- transition: all 0.5s ease-in-out;
84
- overflow-y: auto;
85
- padding-bottom: 70px;
86
-
87
- &[data-open='true'] {
88
- z-index: 200;
89
- top: 120%;
90
- opacity: 1;
91
- visibility: visible;
92
- }
93
-
94
- &[data-open='false'] {
95
- display: none;
96
- }
97
-
98
- .popup-content {
99
- z-index: 111;
100
- height: 100%;
101
- border: 1px solid #0000001a;
102
- ${v.MediaQueries.mbDown} {
103
- > div {
104
- border-top-left-radius: 0;
105
- border-top-right-radius: 0;
106
- }
107
- }
108
- }
109
-
110
- /* min-height: 415px; */
111
- ${v.MediaQueries.mbUp} {
112
- width: 320px;
113
- }
114
- ${v.MediaQueries.mbDown} {
115
- position: fixed;
116
- left: 0;
117
- width: 100%;
118
- }
119
- `,ae="hhgcomp-navprofilebutton-popup",le=y.getDefaultClassWrapper(te,ae),ie=D.default.div`
120
- position: fixed;
121
- z-index: 150;
122
- top: var(--header-bottom, 56px);
123
- left: 0;
124
- width: 100%;
125
- height: 100%;
126
- align-items: center;
127
-
128
- ${v.MediaQueries.mbUp} {
129
- background-color: transparent;
130
- &[data-type='welcome'] {
131
- background: rgba(38, 38, 38, 0.3);
132
- }
133
- &[data-type='due-date'] {
134
- background: rgba(38, 38, 38, 0.3);
135
- }
136
- }
137
-
138
- ${v.MediaQueries.mbDown} {
139
- background: rgba(38, 38, 38, 0.3);
140
- }
141
-
142
- &[data-type='welcome'] {
143
- top: 0;
144
- }
145
-
146
- &[data-open='false'] {
147
- display: none;
148
- }
149
- `,ne="hhgcomp-navprofilebutton-popupwrapper";y.getDefaultClassWrapper(ie,ne);const oe=D.default.div`
150
- width: 40px;
151
- height: 40px;
152
- cursor: pointer;
153
-
154
- img {
155
- border-radius: 50%;
156
- }
157
-
158
- .avatar {
159
- width: 40px;
160
- height: 40px;
161
- object-fit: cover;
162
- }
163
-
164
- .avatar-default {
165
- display: flex;
166
- align-items: center;
167
- justify-content: center;
168
- background-color: ${e=>e.theme.colors.secondaryBase};
169
- border-radius: 50%;
170
- color: white;
171
- font-size: 20px;
172
- font-weight: bold;
173
- }
174
- `,re=D.default.div`
175
- display: inline-flex;
176
- position: relative;
177
- width: 40px;
178
- height: 40px;
179
- display: flex;
180
- align-items: center;
181
- justify-content: center;
182
- text-decoration: none;
183
- flex-shrink: 0;
184
- cursor: pointer;
185
-
186
- .user-close-icon {
187
- display: none;
188
- }
189
- &:focus-within {
190
- .user-close-icon {
191
- display: block;
192
- }
193
- .user-avatar {
194
- display: none;
195
- }
196
- .${ae} {
197
- z-index: 200;
198
- top: 120%;
199
- opacity: 1;
200
- visibility: visible;
201
- display: initial;
202
- ${v.MediaQueries.mbDown} {
203
- top: 100%;
204
- }
205
- }
206
- .${ne} {
207
- display: initial;
208
- }
209
- }
210
- `,se=D.default.a`
211
- display: inline-flex;
212
- .login-btn[data-color='tertiary'][data-size='md'] {
213
- padding-left: 12px;
214
- padding-right: 12px;
215
- }
216
- .mobile-only {
217
- ${v.MediaQueries.mbUp} {
218
- display: none;
219
- }
220
- }
221
- .login-btn {
222
- display: none;
223
- ${v.MediaQueries.mbUp} {
224
- display: block;
225
- }
226
- }
227
- `,de=e=>T.default.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),T.default.createElement("path",{d:"M2.5 6.49069C2.5 4.72841 3.92861 3.2998 5.69088 3.2998H13.5948C15.3571 3.2998 16.7857 4.72841 16.7857 6.49069V11.22C16.7857 12.9823 15.3571 14.4109 13.5948 14.4109H5.69088C3.92861 14.4109 2.5 12.9823 2.5 11.22V6.49069Z",fill:"#E3F2FF"}),T.default.createElement("path",{d:"M2.5 5.68076C2.5 4.36579 3.56599 3.2998 4.88095 3.2998H14.4048C15.7197 3.2998 16.7857 4.36579 16.7857 5.68076H2.5Z",fill:"#2D87F3"}),T.default.createElement("path",{d:"M13.6014 2.5H13.5692C13.2108 2.5 12.9202 2.7906 12.9202 3.14907V4.20942C12.9202 4.56789 13.2108 4.85849 13.5692 4.85849H13.6014C13.9599 4.85849 14.2505 4.56789 14.2505 4.20942V3.14907C14.2505 2.7906 13.9599 2.5 13.6014 2.5Z",fill:"#2743AD"}),T.default.createElement("path",{d:"M5.26992 4.85849H5.30212C5.66059 4.85849 5.95119 4.56789 5.95119 4.20943V3.14907C5.95119 2.7906 5.66059 2.5 5.30212 2.5H5.26992C4.91145 2.5 4.62085 2.7906 4.62085 3.14907V4.20943C4.62085 4.56789 4.91145 4.85849 5.26992 4.85849Z",fill:"#2743AD"}),T.default.createElement("path",{d:"M5.55595 8.16992H5.06535C4.84103 8.16992 4.65918 8.35177 4.65918 8.57609V9.1553C4.65918 9.37962 4.84103 9.56146 5.06535 9.56146H5.55595C5.78027 9.56146 5.96212 9.37962 5.96212 9.1553V8.57609C5.96212 8.35177 5.78027 8.16992 5.55595 8.16992Z",fill:"#2D87F3"}),T.default.createElement("path",{d:"M8.25761 8.16992H7.76701C7.54269 8.16992 7.36084 8.35177 7.36084 8.57609V9.1553C7.36084 9.37962 7.54269 9.56146 7.76701 9.56146H8.25761C8.48193 9.56146 8.66378 9.37962 8.66378 9.1553V8.57609C8.66378 8.35177 8.48193 8.16992 8.25761 8.16992Z",fill:"#2D87F3"}),T.default.createElement("path",{d:"M10.9581 8.16992H10.4674C10.2431 8.16992 10.0613 8.35177 10.0613 8.57609V9.1553C10.0613 9.37962 10.2431 9.56146 10.4674 9.56146H10.9581C11.1824 9.56146 11.3642 9.37962 11.3642 9.1553V8.57609C11.3642 8.35177 11.1824 8.16992 10.9581 8.16992Z",fill:"#2D87F3"}),T.default.createElement("path",{d:"M13.8304 8.16992H13.3398C13.1154 8.16992 12.9336 8.35177 12.9336 8.57609V9.1553C12.9336 9.37962 13.1154 9.56146 13.3398 9.56146H13.8304C14.0547 9.56146 14.2365 9.37962 14.2365 9.1553V8.57609C14.2365 8.35177 14.0547 8.16992 13.8304 8.16992Z",fill:"#2D87F3"}),T.default.createElement("path",{d:"M5.52885 10.6855H5.03825C4.81393 10.6855 4.63208 10.8674 4.63208 11.0917V11.6709C4.63208 11.8952 4.81393 12.0771 5.03825 12.0771H5.52885C5.75317 12.0771 5.93502 11.8952 5.93502 11.6709V11.0917C5.93502 10.8674 5.75317 10.6855 5.52885 10.6855Z",fill:"#2D87F3"}),T.default.createElement("path",{d:"M8.22978 10.6855H7.73917C7.51485 10.6855 7.33301 10.8674 7.33301 11.0917V11.6709C7.33301 11.8952 7.51485 12.0771 7.73917 12.0771H8.22978C8.4541 12.0771 8.63595 11.8952 8.63595 11.6709V11.0917C8.63595 10.8674 8.4541 10.6855 8.22978 10.6855Z",fill:"#2D87F3"}),T.default.createElement("path",{d:"M10.931 10.6855H10.4403C10.216 10.6855 10.0342 10.8674 10.0342 11.0917V11.6709C10.0342 11.8952 10.216 12.0771 10.4403 12.0771H10.931C11.1553 12.0771 11.3371 11.8952 11.3371 11.6709V11.0917C11.3371 10.8674 11.1553 10.6855 10.931 10.6855Z",fill:"#2D87F3"}),T.default.createElement("path",{d:"M13.8035 10.6855H13.3129C13.0886 10.6855 12.9067 10.8674 12.9067 11.0917V11.6709C12.9067 11.8952 13.0886 12.0771 13.3129 12.0771H13.8035C14.0278 12.0771 14.2097 11.8952 14.2097 11.6709V11.0917C14.2097 10.8674 14.0278 10.6855 13.8035 10.6855Z",fill:"#2D87F3"}),T.default.createElement("path",{d:"M15.9922 16.7918C17.7455 16.7918 19.1668 15.3705 19.1668 13.6172C19.1668 11.8639 17.7455 10.4426 15.9922 10.4426C14.2389 10.4426 12.8176 11.8639 12.8176 13.6172C12.8176 15.3705 14.2389 16.7918 15.9922 16.7918Z",fill:"#FE921D"}),T.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.7798 13.6164V12.261C15.7798 12.2051 15.802 12.1514 15.8416 12.1118C15.8811 12.0723 15.9348 12.05 15.9908 12.05C16.0467 12.05 16.1004 12.0723 16.1399 12.1118C16.1795 12.1514 16.2017 12.2051 16.2017 12.261V13.5169L16.68 13.9147C16.7134 13.9424 16.7374 13.9798 16.7487 14.0217C16.7601 14.0636 16.7583 14.108 16.7435 14.1488C16.7287 14.1896 16.7017 14.2249 16.6661 14.2498C16.6305 14.2747 16.5882 14.288 16.5448 14.2879V14.2885C16.4956 14.2885 16.448 14.2712 16.4102 14.2398L15.862 13.7839C15.8549 13.7784 15.848 13.7724 15.8416 13.766C15.802 13.7264 15.7798 13.6727 15.7798 13.6168V13.6165C15.7798 13.6165 15.7798 13.6164 15.7798 13.6164Z",fill:"white"})),ue=e=>T.default.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),T.default.createElement("path",{d:"M7.05523 4.96786C6.2868 4.96547 5.5206 4.96547 4.75217 4.96786C3.93259 4.97681 3.1495 5.30815 2.57238 5.89016C1.99527 6.47217 1.67056 7.25804 1.66854 8.07767C1.66615 8.21797 1.66615 8.35605 1.66854 8.49636C1.67069 9.31611 1.99539 10.1021 2.57242 10.6843C3.14946 11.2666 3.93248 11.5983 4.75217 11.6079H6.14872C6.14872 11.6079 7.62158 12.7118 7.64297 12.5661C7.67719 12.3472 7.41694 11.5834 7.41694 11.5834C8.16775 11.4856 8.85755 11.1186 9.35817 10.5506C9.85879 9.98258 10.1362 9.25214 10.1389 8.49499V8.07767C10.1368 7.25804 9.81213 6.47217 9.23502 5.89016C8.65791 5.30815 7.87481 4.97681 7.05523 4.96786ZM4.36634 8.52305C4.32052 8.52319 4.27569 8.50972 4.23753 8.48437C4.19937 8.45901 4.16959 8.42291 4.15197 8.38062C4.13434 8.33833 4.12966 8.29176 4.13851 8.24681C4.14737 8.20185 4.16936 8.16054 4.20171 8.12809C4.23406 8.09565 4.27531 8.07353 4.32023 8.06454C4.36516 8.05556 4.41174 8.0601 4.45408 8.0776C4.49643 8.0951 4.53262 8.12478 4.55809 8.16286C4.58356 8.20095 4.59715 8.24573 4.59715 8.29155C4.5972 8.35284 4.57292 8.41165 4.52964 8.45505C4.48636 8.49846 4.42763 8.52292 4.36634 8.52305ZM5.70522 8.91231C5.64048 8.91231 5.5772 8.89312 5.52337 8.85715C5.46954 8.82118 5.42759 8.77006 5.40282 8.71025C5.37804 8.65044 5.37156 8.58463 5.38419 8.52113C5.39682 8.45764 5.42799 8.39932 5.47377 8.35354C5.51955 8.30776 5.57787 8.27659 5.64136 8.26396C5.70486 8.25133 5.77067 8.25781 5.83048 8.28259C5.89029 8.30736 5.94141 8.34931 5.97738 8.40314C6.01334 8.45697 6.03254 8.52025 6.03254 8.58499C6.03254 8.6718 5.99806 8.75506 5.93667 8.81644C5.87529 8.87783 5.79203 8.91231 5.70522 8.91231ZM7.28262 8.86817C7.18687 8.8682 7.09326 8.83984 7.01364 8.78666C6.93401 8.73349 6.87194 8.65789 6.83528 8.56943C6.79862 8.48098 6.78902 8.38364 6.80769 8.28972C6.82637 8.19581 6.87247 8.10954 6.94018 8.04184C7.00788 7.97413 7.09415 7.92803 7.18806 7.90936C7.28197 7.89068 7.37932 7.90028 7.46777 7.93694C7.55623 7.9736 7.63182 8.03567 7.685 8.1153C7.73817 8.19493 7.76654 8.28854 7.76651 8.38429C7.76651 8.51247 7.71564 8.63542 7.62508 8.72614C7.53452 8.81686 7.41166 8.86794 7.28348 8.86817H7.28262Z",fill:"#2D87F3"}),T.default.createElement("path",{d:"M12.8821 9.52126C12.0648 9.52142 11.2729 9.80498 10.6414 10.3236C10.0098 10.8422 9.57759 11.5638 9.41845 12.3654C9.25931 13.167 9.38307 13.999 9.76864 14.7195C10.1542 15.4401 10.7777 16.0047 11.5329 16.317C11.5329 16.317 11.3045 17.3475 11.3379 17.566C11.3592 17.7111 12.8821 16.5834 12.8821 16.5834C13.8144 16.5769 14.7063 16.202 15.3632 15.5404C16.0202 14.8789 16.3889 13.9844 16.3889 13.0521C16.3889 12.1197 16.0202 11.2252 15.3632 10.5637C14.7063 9.90215 13.8144 9.52724 12.8821 9.52075V9.52126ZM11.5541 13.7559C11.4584 13.7559 11.3649 13.7275 11.2853 13.6744C11.2057 13.6212 11.1437 13.5456 11.1071 13.4572C11.0705 13.3688 11.0609 13.2715 11.0796 13.1776C11.0982 13.0838 11.1443 12.9975 11.212 12.9299C11.2797 12.8622 11.3659 12.8161 11.4597 12.7974C11.5536 12.7788 11.6509 12.7884 11.7393 12.825C11.8277 12.8616 11.9033 12.9236 11.9565 13.0032C12.0096 13.0828 12.038 13.1763 12.038 13.272C12.038 13.4003 11.987 13.5234 11.8962 13.6141C11.8055 13.7049 11.6825 13.7559 11.5541 13.7559ZM13.1314 13.8002C13.0666 13.8002 13.0033 13.781 12.9495 13.7451C12.8957 13.7091 12.8537 13.658 12.829 13.5982C12.8042 13.5384 12.7977 13.4725 12.8103 13.409C12.823 13.3456 12.8541 13.2872 12.8999 13.2415C12.9457 13.1957 13.004 13.1645 13.0675 13.1519C13.131 13.1392 13.1968 13.1457 13.2566 13.1705C13.3164 13.1953 13.3676 13.2372 13.4035 13.2911C13.4395 13.3449 13.4587 13.4082 13.4587 13.4729C13.4586 13.5597 13.4241 13.6429 13.3628 13.7043C13.3014 13.7657 13.2182 13.8002 13.1314 13.8002ZM14.4699 13.411C14.4241 13.411 14.3794 13.3974 14.3413 13.3719C14.3032 13.3465 14.2736 13.3104 14.256 13.2681C14.2385 13.2258 14.2339 13.1792 14.2429 13.1343C14.2518 13.0894 14.2738 13.0481 14.3062 13.0158C14.3386 12.9834 14.3798 12.9613 14.4247 12.9524C14.4697 12.9435 14.5162 12.9481 14.5585 12.9656C14.6008 12.9831 14.637 13.0128 14.6624 13.0508C14.6878 13.0889 14.7014 13.1337 14.7014 13.1795C14.7014 13.2099 14.6955 13.24 14.6838 13.2681C14.6722 13.2962 14.6552 13.3217 14.6337 13.3432C14.6122 13.3647 14.5866 13.3818 14.5585 13.3934C14.5304 13.405 14.5003 13.411 14.4699 13.411Z",fill:"#FFB521"}),T.default.createElement("path",{d:"M16.4503 1.66675H12.5777C12.3157 1.66682 12.0565 1.72159 11.8168 1.82757C11.577 1.93355 11.3621 2.0884 11.1857 2.28221C11.0092 2.47602 10.8752 2.70452 10.7921 2.9531C10.7091 3.20168 10.6788 3.46486 10.7033 3.72581L10.9158 6.01672C10.9574 6.45935 11.1542 6.87301 11.4714 7.18449C11.7886 7.49598 12.2058 7.68521 12.6491 7.71868C12.6491 7.71868 12.4758 8.65599 12.5091 8.875C12.5305 9.0201 14.1688 7.74572 14.1688 7.74572L16.0932 7.72382C16.5422 7.72407 16.9764 7.56384 17.3176 7.27204C17.6588 6.98024 17.8844 6.5761 17.9538 6.13255L18.3109 3.83976C18.3527 3.5712 18.3359 3.29677 18.2617 3.03532C18.1874 2.77386 18.0574 2.53159 17.8806 2.32513C17.7039 2.11867 17.4845 1.95292 17.2376 1.83927C16.9907 1.72563 16.7221 1.66677 16.4503 1.66675ZM13.0967 5.23238C13.001 5.23248 12.9074 5.20418 12.8277 5.15108C12.7481 5.09797 12.686 5.02243 12.6493 4.93402C12.6126 4.84562 12.6029 4.74831 12.6215 4.65441C12.6402 4.56051 12.6862 4.47424 12.7538 4.40652C12.8215 4.3388 12.9077 4.29266 13.0016 4.27395C13.0955 4.25524 13.1928 4.26479 13.2812 4.3014C13.3697 4.33801 13.4453 4.40003 13.4985 4.47961C13.5517 4.5592 13.5801 4.65277 13.5801 4.7485C13.5801 4.87683 13.5291 4.9999 13.4383 5.09065C13.3476 5.1814 13.2245 5.23238 13.0962 5.23238H13.0967ZM14.6741 5.27652C14.6093 5.27676 14.5459 5.25776 14.4919 5.22194C14.4379 5.18612 14.3958 5.13508 14.3708 5.07529C14.3459 5.0155 14.3392 4.94965 14.3517 4.88608C14.3642 4.82251 14.3953 4.76407 14.441 4.71817C14.4868 4.67228 14.5451 4.64099 14.6086 4.62826C14.6721 4.61553 14.738 4.62194 14.7979 4.64668C14.8578 4.67142 14.909 4.71337 14.945 4.76723C14.981 4.82108 15.0002 4.88441 15.0002 4.9492C15.0004 5.03598 14.966 5.11926 14.9048 5.18074C14.8435 5.24222 14.7604 5.27685 14.6736 5.27703L14.6741 5.27652ZM16.013 4.88726C15.9672 4.88729 15.9224 4.87374 15.8843 4.84833C15.8462 4.82291 15.8165 4.78677 15.799 4.74447C15.7814 4.70217 15.7768 4.65562 15.7857 4.6107C15.7947 4.56578 15.8167 4.52451 15.8491 4.49212C15.8814 4.45973 15.9227 4.43766 15.9676 4.42871C16.0125 4.41977 16.0591 4.42434 16.1014 4.44186C16.1437 4.45938 16.1798 4.48905 16.2053 4.52712C16.2307 4.5652 16.2443 4.60996 16.2443 4.65576C16.2443 4.68619 16.2384 4.71634 16.2267 4.74445C16.2151 4.77257 16.198 4.79812 16.1764 4.81963C16.1549 4.84113 16.1293 4.85818 16.1012 4.86978C16.0731 4.88139 16.0429 4.88733 16.0125 4.88726H16.013Z",fill:"#91CAFF"})),ce=e=>T.default.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),T.default.createElement("rect",{x:"8.33337",y:"8.33325",width:"3.33333",height:"3.33333",rx:"1.66667",fill:"#2D87F3"})),me=e=>T.default.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),T.default.createElement("path",{d:"M3.18408 7.06371L4.78033 8.66012L9.10721 3.97152C9.23166 3.83534 9.29879 3.6564 9.29463 3.47196C9.29047 3.28753 9.21533 3.1118 9.08486 2.98137L8.86268 2.75934C8.73229 2.62885 8.5566 2.55369 8.37219 2.5495C8.18778 2.54531 8.00885 2.61241 7.87267 2.73684L3.18408 7.06371Z",fill:"#2743AD"}),T.default.createElement("path",{d:"M16.8158 7.06371L15.2195 8.66012L10.8926 3.97152C10.7682 3.83532 10.7011 3.65639 10.7053 3.47197C10.7094 3.28754 10.7845 3.11182 10.915 2.98137L11.1372 2.75934C11.2675 2.62885 11.4432 2.55369 11.6276 2.5495C11.8121 2.54531 11.991 2.61241 12.1272 2.73684L16.8158 7.06371Z",fill:"#2743AD"}),T.default.createElement("path",{d:"M15.0393 16.6979H4.90056C4.70843 16.6978 4.52309 16.6268 4.38015 16.4984C4.23721 16.3701 4.14676 16.1934 4.12618 16.0024L3.42212 9.3252H16.5177L15.8138 16.0024C15.7933 16.1934 15.7028 16.3701 15.5598 16.4985C15.4168 16.6269 15.2315 16.6979 15.0393 16.6979Z",fill:"#2D87F3"}),T.default.createElement("path",{d:"M6.23182 15.7032C6.17228 15.7033 6.11491 15.6807 6.07138 15.6401C6.02785 15.5995 6.00142 15.5438 5.99745 15.4844L5.70463 11.0157C5.70211 10.9847 5.70576 10.9535 5.71538 10.924C5.72501 10.8944 5.74041 10.8671 5.76069 10.8436C5.78098 10.82 5.80573 10.8008 5.83353 10.7869C5.86133 10.773 5.89161 10.7648 5.92261 10.7627C5.95361 10.7607 5.98471 10.7648 6.0141 10.7748C6.0435 10.7849 6.0706 10.8007 6.09384 10.8213C6.11707 10.8419 6.13597 10.867 6.14944 10.895C6.16291 10.923 6.17068 10.9534 6.17229 10.9844L6.46588 15.4532C6.4679 15.4839 6.46384 15.5147 6.45393 15.5439C6.44403 15.573 6.42847 15.5999 6.40816 15.6231C6.38784 15.6462 6.36316 15.6652 6.33553 15.6788C6.30791 15.6924 6.27787 15.7004 6.24713 15.7024C6.24229 15.7032 6.23713 15.7032 6.23182 15.7032Z",fill:"#2743AD"}),T.default.createElement("path",{d:"M8.62036 15.703C8.55885 15.703 8.49979 15.6788 8.45595 15.6357C8.4121 15.5925 8.38697 15.5339 8.38599 15.4724L8.31302 11.0036C8.312 10.9415 8.33572 10.8814 8.37896 10.8368C8.4222 10.7921 8.48141 10.7664 8.54357 10.7654C8.60573 10.7644 8.66574 10.7881 8.71042 10.8314C8.75509 10.8746 8.78075 10.9338 8.78177 10.996L8.85474 15.4647C8.85578 15.5267 8.83219 15.5867 8.78914 15.6313C8.74608 15.676 8.68708 15.7018 8.62505 15.703H8.62036Z",fill:"#2743AD"}),T.default.createElement("path",{d:"M13.7683 15.7031C13.763 15.7031 13.7579 15.7031 13.7527 15.7031C13.722 15.7012 13.6919 15.6931 13.6643 15.6795C13.6367 15.6659 13.612 15.647 13.5917 15.6239C13.5714 15.6007 13.5558 15.5738 13.5459 15.5446C13.536 15.5155 13.5319 15.4847 13.5339 15.4539L13.8282 10.9844C13.8298 10.9534 13.8376 10.923 13.851 10.895C13.8645 10.867 13.8834 10.8419 13.9066 10.8213C13.9299 10.8007 13.957 10.7849 13.9864 10.7748C14.0158 10.7648 14.0469 10.7607 14.0779 10.7627C14.1089 10.7648 14.1391 10.773 14.1669 10.7869C14.1947 10.8008 14.2195 10.82 14.2398 10.8436C14.26 10.8671 14.2755 10.8944 14.2851 10.924C14.2947 10.9535 14.2984 10.9847 14.2958 11.0157L14.0019 15.4844C13.998 15.5437 13.9716 15.5992 13.9283 15.6398C13.8849 15.6805 13.8277 15.7031 13.7683 15.7031Z",fill:"#2743AD"}),T.default.createElement("path",{d:"M11.3801 15.7031H11.3762C11.3454 15.7026 11.315 15.6961 11.2868 15.6839C11.2585 15.6716 11.2329 15.6539 11.2115 15.6318C11.1901 15.6097 11.1733 15.5836 11.1619 15.555C11.1506 15.5264 11.145 15.4958 11.1455 15.465L11.2185 10.9962C11.2208 10.9345 11.2469 10.8761 11.2912 10.8331C11.3356 10.7901 11.3949 10.7659 11.4566 10.7656C11.4875 10.766 11.518 10.7725 11.5463 10.7847C11.5746 10.797 11.6003 10.8147 11.6218 10.8368C11.6433 10.859 11.6602 10.8851 11.6715 10.9138C11.6829 10.9425 11.6884 10.9732 11.6879 11.0041L11.6149 15.4728C11.6138 15.5343 11.5886 15.593 11.5447 15.6361C11.5007 15.6792 11.4416 15.7033 11.3801 15.7031Z",fill:"#2743AD"}),T.default.createElement("path",{d:"M16.0441 18.1157C17.1557 18.1157 18.0569 17.2145 18.0569 16.1029C18.0569 14.9913 17.1557 14.0901 16.0441 14.0901C14.9324 14.0901 14.0312 14.9913 14.0312 16.1029C14.0312 17.2145 14.9324 18.1157 16.0441 18.1157Z",fill:"#FE921D"}),T.default.createElement("path",{d:"M16.9689 15.8688H16.278V15.1777C16.278 15.1156 16.2533 15.056 16.2093 15.012C16.1654 14.9681 16.1057 14.9434 16.0436 14.9434C15.9814 14.9434 15.9218 14.9681 15.8779 15.012C15.8339 15.056 15.8092 15.1156 15.8092 15.1777V15.8688H15.1189C15.0567 15.8688 14.9971 15.8935 14.9532 15.9375C14.9092 15.9814 14.8845 16.041 14.8845 16.1032C14.8845 16.1654 14.9092 16.225 14.9532 16.2689C14.9971 16.3129 15.0567 16.3376 15.1189 16.3376H15.8098V17.0285C15.8098 17.0907 15.8345 17.1503 15.8785 17.1942C15.9224 17.2382 15.982 17.2629 16.0442 17.2629C16.1064 17.2629 16.166 17.2382 16.2099 17.1942C16.2539 17.1503 16.2786 17.0907 16.2786 17.0285V16.3376H16.9689C17.0311 16.3376 17.0907 16.3129 17.1346 16.2689C17.1786 16.225 17.2033 16.1654 17.2033 16.1032C17.2033 16.041 17.1786 15.9814 17.1346 15.9375C17.0907 15.8935 17.0311 15.8688 16.9689 15.8688Z",fill:"white"}),T.default.createElement("path",{d:"M16.5783 9.48126H3.42202C3.22801 9.48125 3.04075 9.41004 2.89577 9.28112C2.75078 9.15221 2.65815 8.97456 2.63546 8.78188L2.50546 7.68001C2.49235 7.56892 2.50292 7.45632 2.53647 7.34962C2.57003 7.24291 2.6258 7.14452 2.70012 7.06093C2.77445 6.97734 2.86563 6.91043 2.96768 6.86463C3.06973 6.81882 3.18032 6.79515 3.29218 6.79517H16.7081C16.82 6.79515 16.9306 6.81882 17.0326 6.86463C17.1347 6.91043 17.2258 6.97734 17.3002 7.06093C17.3745 7.14452 17.4303 7.24291 17.4638 7.34962C17.4974 7.45632 17.5079 7.56892 17.4948 7.68001L17.3648 8.78188C17.3421 8.97456 17.2495 9.15221 17.1045 9.28112C16.9595 9.41004 16.7723 9.48125 16.5783 9.48126Z",fill:"#BCDEFF"})),pe=e=>T.default.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),T.default.createElement("path",{d:"M10.0001 1.66675C5.4049 1.66675 1.66675 5.4049 1.66675 10.0001C1.66675 14.5953 5.4049 18.3334 10.0001 18.3334C14.5953 18.3334 18.3334 14.5953 18.3334 10.0001C18.3334 5.4049 14.5953 1.66675 10.0001 1.66675ZM10.0001 14.8612C9.6167 14.8612 9.30568 14.5501 9.30568 14.1667C9.30568 13.7834 9.6167 13.4723 10.0001 13.4723C10.3835 13.4723 10.6945 13.7834 10.6945 14.1667C10.6945 14.5501 10.3835 14.8612 10.0001 14.8612ZM11.0994 10.4459C10.8536 10.5591 10.6945 10.807 10.6945 11.0772V11.389C10.6945 11.7723 10.3841 12.0834 10.0001 12.0834C9.61607 12.0834 9.30568 11.7723 9.30568 11.389V11.0772C9.30568 10.2667 9.78201 9.52375 10.5175 9.18412C11.2251 8.85847 11.7362 7.99381 11.7362 7.56948C11.7362 6.61263 10.9577 5.83342 10.0001 5.83342C9.04247 5.83342 8.26401 6.61263 8.26401 7.56948C8.26401 7.95286 7.9535 8.26401 7.56948 8.26401C7.18547 8.26401 6.87508 7.95286 6.87508 7.56948C6.87508 5.84664 8.27711 4.44448 10.0001 4.44448C11.7231 4.44448 13.1251 5.84664 13.1251 7.56948C13.1251 8.50777 12.3112 9.88691 11.0994 10.4459Z",fill:"#FF6F4D"})),ge=e=>T.default.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),T.default.createElement("path",{d:"M11.1164 1.72012L5.48763 0.850741C5.22126 0.814325 4.9502 0.834925 4.6924 0.911176C4.4346 0.987428 4.19595 1.11759 3.99225 1.29304C3.78856 1.46849 3.62447 1.68522 3.51086 1.92888C3.39725 2.17253 3.33671 2.43755 3.33325 2.70637V17.2939C3.33684 17.563 3.3976 17.8283 3.5115 18.0721C3.6254 18.316 3.78984 18.5328 3.99391 18.7083C4.19799 18.8838 4.43704 19.0138 4.6952 19.0899C4.95337 19.166 5.22476 19.1863 5.49138 19.1495L11.1164 18.2801C11.5605 18.2142 11.966 17.9904 12.2584 17.6496C12.5508 17.3089 12.7106 16.8741 12.7083 16.4251V3.57512C12.7104 3.12615 12.5507 2.69144 12.2583 2.35073C11.9659 2.01001 11.5605 1.78612 11.1164 1.72012Z",fill:"#2D87F3"}),T.default.createElement("path",{d:"M17.6418 9.58432C17.642 9.67545 17.6212 9.7654 17.581 9.84717C17.5408 9.92895 17.4822 10.0003 17.4099 10.0558L15.4456 11.5737C15.3797 11.6247 15.3007 11.6561 15.2178 11.6645C15.1349 11.6729 15.0513 11.6578 14.9765 11.6211C14.9017 11.5843 14.8387 11.5273 14.7946 11.4566C14.7505 11.3858 14.7272 11.3042 14.7272 11.2208L14.7272 10.7109L12.6087 10.7004C12.5494 10.7 12.4926 10.6762 12.4508 10.6341C12.409 10.5921 12.3855 10.5352 12.3855 10.4759L12.3855 8.67526C12.3855 8.61571 12.4092 8.55861 12.4513 8.51651C12.4934 8.4744 12.5505 8.45074 12.61 8.45074L14.7299 8.45277L14.7263 7.94694C14.7261 7.86351 14.7493 7.78171 14.7933 7.71083C14.8373 7.63995 14.9003 7.58283 14.9752 7.54598C15.05 7.50912 15.1337 7.49399 15.2167 7.50232C15.2997 7.51065 15.3787 7.5421 15.4447 7.5931L17.4099 9.11284C17.4822 9.1683 17.5408 9.23969 17.581 9.32146C17.6212 9.40324 17.642 9.49319 17.6418 9.58432Z",fill:"#FF6F4D"}),T.default.createElement("path",{d:"M17.6418 9.58432C17.642 9.67545 17.6212 9.7654 17.581 9.84717C17.5408 9.92895 17.4822 10.0003 17.4099 10.0558L15.4456 11.5737C15.3797 11.6247 15.3007 11.6561 15.2178 11.6645C15.1349 11.6729 15.0513 11.6578 14.9765 11.6211C14.9017 11.5843 14.8387 11.5273 14.7946 11.4566C14.7505 11.3858 14.7272 11.3042 14.7272 11.2208L14.7272 10.7109L12.6087 10.7004C12.5494 10.7 12.4926 10.6762 12.4508 10.6341C12.409 10.5921 12.3855 10.5352 12.3855 10.4759L12.3855 8.67526C12.3855 8.61571 12.4092 8.55861 12.4513 8.51651C12.4934 8.4744 12.5505 8.45074 12.61 8.45074L14.7299 8.45277L14.7263 7.94694C14.7261 7.86351 14.7493 7.78171 14.7933 7.71083C14.8373 7.63995 14.9003 7.58283 14.9752 7.54598C15.05 7.50912 15.1337 7.49399 15.2167 7.50232C15.2997 7.51065 15.3787 7.5421 15.4447 7.5931L17.4099 9.11284C17.4822 9.1683 17.5408 9.23969 17.581 9.32146C17.6212 9.40324 17.642 9.49319 17.6418 9.58432Z",fill:"#FF6F4D"}),T.default.createElement("path",{d:"M10.0386 8.67639L10.0386 10.4781C10.0386 10.6021 10.1391 10.7026 10.2631 10.7026L11.5201 10.7026C11.6441 10.7026 11.7447 10.6021 11.7447 10.4781L11.7447 8.67639C11.7447 8.5524 11.6441 8.45188 11.5201 8.45188L10.2631 8.45188C10.1391 8.45188 10.0386 8.5524 10.0386 8.67639Z",fill:"#FF6F4D"}),T.default.createElement("path",{d:"M9.36589 10.4854C9.36589 10.545 9.34224 10.6021 9.30013 10.6442C9.25803 10.6863 9.20092 10.71 9.14138 10.71L8.73433 10.71C8.57284 10.7097 8.41802 10.6455 8.30381 10.5313C8.1896 10.4171 8.1253 10.2623 8.125 10.1009L8.125 9.06809C8.12518 8.90651 8.18943 8.75161 8.30365 8.63734C8.41788 8.52307 8.57276 8.45877 8.73433 8.45853L9.14138 8.45853C9.20092 8.45853 9.25803 8.48218 9.30013 8.52429C9.34224 8.56639 9.36589 8.6235 9.36589 8.68304L9.36589 10.4854Z",fill:"#FF6F4D"})),he=e=>T.default.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),T.default.createElement("path",{d:"M6.11395 3.33325C6.7973 3.3379 7.47121 3.49338 8.08753 3.78859C8.70385 4.08379 9.24738 4.51145 9.67931 5.04101C9.71796 5.08886 9.76683 5.12746 9.82234 5.15397C9.87784 5.18049 9.93857 5.19425 10.0001 5.19425C10.0616 5.19425 10.1223 5.18049 10.1778 5.15397C10.2333 5.12746 10.2822 5.08886 10.3209 5.04101C10.7528 4.51146 11.2963 4.08381 11.9126 3.7886C12.529 3.4934 13.2029 3.33791 13.8862 3.33325C16.5317 3.33325 18.3334 5.63548 18.3334 8.47482C18.3334 10.1729 17.429 12.9212 15.6575 14.5772C13.1355 16.9349 10.993 17.5417 10.2656 17.6874C10.0907 17.7227 9.91052 17.7227 9.73563 17.6874C9.00817 17.5415 6.86464 16.9347 4.34267 14.5769C2.5714 12.9212 1.66675 10.1729 1.66675 8.47482C1.66675 5.63527 3.46844 3.33325 6.11395 3.33325Z",fill:"#FF6F4D"}),T.default.createElement("path",{d:"M13.2977 11.2259V10.397C13.2975 10.0781 13.1709 9.77232 12.9457 9.54662C12.7205 9.32092 12.4149 9.19372 12.0961 9.19291H11.8881C11.8192 9.19313 11.753 9.16602 11.7041 9.11753C11.6551 9.06904 11.6274 9.00312 11.627 8.93421V8.72648C11.6269 8.40762 11.5003 8.1018 11.2751 7.87607C11.0499 7.65033 10.7444 7.52308 10.4256 7.52222H9.59401C9.27474 7.52254 8.96864 7.64953 8.7429 7.87531C8.51716 8.10109 8.39023 8.4072 8.38996 8.72648V8.93114C8.39018 9.00001 8.3631 9.06616 8.31465 9.11511C8.2662 9.16406 8.20033 9.19181 8.13146 9.1923H7.92352C7.60494 9.19251 7.29947 9.31915 7.07418 9.5444C6.84889 9.76966 6.72219 10.0751 6.72192 10.3937V11.2277C6.72257 11.5462 6.84938 11.8514 7.07458 12.0766C7.29978 12.3019 7.60504 12.4287 7.92352 12.4293H8.13146C8.20047 12.4298 8.26647 12.4577 8.31494 12.5068C8.36341 12.5559 8.39039 12.6223 8.38996 12.6913V12.8959C8.39023 13.2152 8.51717 13.5213 8.74292 13.747C8.96866 13.9728 9.27476 14.0997 9.59401 14.1H10.4256C10.7444 14.0992 11.0499 13.972 11.2751 13.7463C11.5003 13.5206 11.6269 13.2148 11.627 12.8959V12.6884C11.6275 12.6195 11.6552 12.5537 11.7042 12.5052C11.7531 12.4568 11.8193 12.4297 11.8881 12.4299H12.0961C12.4149 12.4291 12.7205 12.3019 12.9457 12.0762C13.1709 11.8505 13.2975 11.5447 13.2977 11.2259Z",fill:"white"})),fe=e=>T.default.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),T.default.createElement("path",{d:"M4.76682 17.2364C4.94535 17.3671 5.15296 17.4524 5.37177 17.485C5.59059 17.5177 5.81406 17.4967 6.02297 17.4239L10.1195 16.0271C10.1641 16.0085 10.2119 15.999 10.2602 15.999C10.3084 15.999 10.3562 16.0085 10.4008 16.0271L14.4973 17.4239C14.6427 17.4715 14.7944 17.4968 14.9473 17.4989C15.2374 17.5011 15.5203 17.409 15.7535 17.2364C15.94 17.1034 16.0919 16.9275 16.1963 16.7236C16.3007 16.5197 16.3546 16.2937 16.3534 16.0646V3.93427C16.3558 3.74763 16.3212 3.56236 16.2518 3.38912C16.1823 3.21588 16.0792 3.05808 15.9486 2.9248C15.8179 2.79151 15.6622 2.68537 15.4903 2.61247C15.3185 2.53957 15.134 2.50134 14.9473 2.5H5.57301C5.38635 2.50134 5.20181 2.53957 5.02998 2.61247C4.85815 2.68537 4.70242 2.79151 4.57175 2.9248C4.44108 3.05808 4.33804 3.21588 4.26855 3.38912C4.19907 3.56236 4.16451 3.74763 4.16686 3.93427V16.0646C4.16574 16.2937 4.21964 16.5197 4.32405 16.7236C4.42845 16.9275 4.5803 17.1034 4.76682 17.2364Z",fill:"#00CB8A"})),ve=e=>T.default.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),T.default.createElement("path",{d:"M17.339 8.07543C17.0148 8.02835 16.7054 7.90873 16.4339 7.7255C16.1623 7.54227 15.9356 7.30015 15.7706 7.01715C15.6057 6.73416 15.5066 6.41759 15.4809 6.09102C15.4553 5.76445 15.5036 5.4363 15.6223 5.13099C15.6978 4.9314 15.7089 4.71319 15.6541 4.50695C15.5993 4.30072 15.4813 4.1168 15.3167 3.98099C14.5901 3.37081 13.763 2.89146 12.8723 2.56433C12.6695 2.48898 12.4481 2.47957 12.2396 2.53743C12.0311 2.59528 11.8462 2.71746 11.7112 2.88655C11.508 3.14636 11.2483 3.35649 10.9519 3.501C10.6554 3.64551 10.3299 3.72062 10.0001 3.72062C9.67027 3.72062 9.34478 3.64551 9.0483 3.501C8.75183 3.35649 8.49216 3.14636 8.28898 2.88655C8.15399 2.71746 7.96908 2.59528 7.7606 2.53743C7.55211 2.47957 7.33069 2.48898 7.12787 2.56433C6.30546 2.86635 5.53653 3.2977 4.85009 3.8421C4.67706 3.97908 4.55243 4.16786 4.49445 4.3808C4.43646 4.59373 4.44818 4.81964 4.52787 5.02544C4.65607 5.33882 4.70903 5.67789 4.68252 6.01544C4.65601 6.35299 4.55075 6.67962 4.3752 6.96915C4.19965 7.25867 3.95869 7.50303 3.67164 7.6826C3.3846 7.86218 3.05946 7.97199 2.72231 8.00321C2.50343 8.02662 2.29784 8.11968 2.13582 8.2687C1.9738 8.41772 1.8639 8.61482 1.82232 8.83099C1.71887 9.34305 1.66676 9.86414 1.66676 10.3865C1.666 10.8239 1.7013 11.2606 1.77232 11.6921C1.80766 11.9152 1.91551 12.1204 2.07919 12.2761C2.24288 12.4317 2.45328 12.5291 2.67787 12.5532C3.02242 12.5855 3.35422 12.6999 3.64548 12.8868C3.93675 13.0737 4.17901 13.3276 4.352 13.6274C4.52498 13.9271 4.62365 14.2639 4.63975 14.6096C4.65585 14.9553 4.58891 15.2998 4.44454 15.6143C4.35005 15.8189 4.32661 16.0492 4.37795 16.2686C4.42928 16.488 4.55244 16.684 4.72787 16.8254C5.45015 17.4245 6.2693 17.8961 7.15009 18.2199C7.26272 18.2589 7.3809 18.2795 7.50009 18.281C7.66352 18.2806 7.82448 18.2411 7.96947 18.1657C8.11447 18.0903 8.23927 17.9812 8.33342 17.8477C8.53143 17.5592 8.79686 17.3234 9.10666 17.1607C9.41647 16.9981 9.76129 16.9135 10.1112 16.9143C10.4502 16.9147 10.7845 16.9943 11.0873 17.1467C11.3902 17.2991 11.6533 17.5201 11.8556 17.7921C11.9903 17.973 12.1809 18.1044 12.398 18.1657C12.615 18.227 12.8463 18.2148 13.0556 18.131C13.861 17.8068 14.6108 17.3589 15.2779 16.8032C15.4454 16.6647 15.5647 16.4766 15.6186 16.2659C15.6726 16.0553 15.6583 15.833 15.5779 15.631C15.4472 15.3216 15.3902 14.9862 15.4114 14.651C15.4327 14.3159 15.5315 13.9903 15.7001 13.6999C15.8687 13.4095 16.1026 13.1622 16.3831 12.9777C16.6637 12.7932 16.9833 12.6764 17.3167 12.6365C17.533 12.6066 17.734 12.5087 17.8909 12.3569C18.0477 12.205 18.1521 12.0072 18.189 11.7921C18.2782 11.3287 18.3265 10.8584 18.3334 10.3865C18.3335 9.88885 18.287 9.39224 18.1945 8.90321C18.157 8.69282 18.0542 8.4996 17.9006 8.35101C17.747 8.20241 17.5505 8.10598 17.339 8.07543ZM12.7779 10.3865C12.7779 10.9359 12.6149 11.473 12.3097 11.9298C12.0045 12.3866 11.5707 12.7426 11.0631 12.9529C10.5555 13.1631 9.99701 13.2181 9.45817 13.1109C8.91933 13.0038 8.42438 12.7392 8.0359 12.3507C7.64742 11.9622 7.38287 11.4673 7.27569 10.9285C7.1685 10.3896 7.22351 9.83111 7.43376 9.32354C7.644 8.81596 8.00004 8.38213 8.45684 8.07691C8.91364 7.77168 9.4507 7.60877 10.0001 7.60877C10.7368 7.60877 11.4433 7.90143 11.9643 8.42236C12.4852 8.94329 12.7779 9.64983 12.7779 10.3865Z",fill:"#2D87F3"})),Ce=e=>T.default.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),T.default.createElement("path",{d:"M10 19.167A9.167 9.167 0 1 0 10 .833a9.167 9.167 0 0 0 0 18.334",fill:"#BCDEFF"}),T.default.createElement("path",{d:"M17.356 15.463a9.188 9.188 0 0 0-14.716-.005 9.155 9.155 0 0 0 14.716.005",fill:"#2D87F3"}),T.default.createElement("path",{d:"M10 10.591a3.548 3.548 0 1 0 0-7.096 3.548 3.548 0 0 0 0 7.096",fill:"#2D87F3"})),xe=D.default.div`
228
- padding: 16px;
229
- border-radius: 16px;
230
- background-color: white;
231
- hr {
232
- border-color: ${({theme:e})=>e.colors.neutral100};
233
- border-bottom-width: 0px;
234
- border-style: solid;
235
- }
236
- `,be=D.default.div`
237
- display: block;
238
- background-color: white;
239
- border: 1px solid transparent;
240
- transition: all 300ms linear;
241
- cursor: pointer;
242
- position: relative;
243
-
244
- ${e=>e.hasSubmenu&&i.css`
245
- cursor: pointer;
246
- `}
247
-
248
- &[data-is-open='true'] {
249
- & + div {
250
- margin-top: 8px;
251
- }
252
- }
253
-
254
- border-left-width: 0;
255
- border-right-width: 0;
256
- &[data-is-open='true'] {
257
- & + div {
258
- margin-top: 0;
259
- }
260
- .nav-menu-item:last-child {
261
- border-bottom-color: ${({theme:e})=>e.colors.neutral100};
262
- }
263
- }
264
- .nav-menu-item {
265
- background-color: ${({theme:e})=>e.colors.neutral50};
266
- }
267
-
268
- .nav-menu-item {
269
- padding-left: 38px;
270
- }
271
- `,ye=D.default.div`
272
- display: flex;
273
- align-items: center;
274
- height: 48px;
275
- border: 1px solid transparent;
276
- transition: all 300ms;
277
- border-radius: 8px;
278
-
279
- &:hover {
280
- background-color: ${e=>e.theme.colors.neutral150};
281
- }
282
- &[data-active='true'] {
283
- background-color: ${e=>e.theme.colors.blue50};
284
- }
285
- `,Ee=D.default.div`
286
- margin-left: auto;
287
-
288
- svg {
289
- fill: ${e=>e.theme.colors.gray600};
290
- transition: transform 300ms;
291
- }
292
-
293
- &[data-is-open='true'] svg {
294
- transform: rotate(180deg);
295
- }
296
- `,we=D.default.div`
297
- overflow: hidden;
298
- max-height: 0;
299
- transition: max-height 0.3s ease-out;
300
-
301
- [data-is-open='true'] & {
302
- max-height: 500px;
303
- transition-timing-function: ease-in;
304
- }
305
- `,ke={helloSites:{member:()=>o.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>o.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>o.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>o.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>o.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>o.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>o.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>o.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>o.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>o.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},$e=({rank:e,siteType:a="helloSites"})=>{const l=t.useMemo((()=>{var t,l;return(null===(l=null===(t=ke[a])||void 0===t?void 0:t[e])||void 0===l?void 0:l.call(t))||""}),[e,a]),{t:i}=m.useTranslations();return T.default.createElement("div",{style:{display:"inline-flex",height:"fit-content",alignItems:"center",padding:"5px 12px",gap:"4px",borderRadius:16,border:`1px solid ${"helloSites"===a?C.theme.colors.blue100:C.theme.colors.mb100}`}},T.default.createElement("img",{src:l,alt:e,style:{height:16,width:16}}),T.default.createElement(n.Text,{size:"s5",color:"gray.8",weight:"semiBold"},i(`userProfile.userRank.${e}`)))},Me=({siteType:e="helloSites",userInfo:t})=>(null==t?void 0:t.id)?T.default.createElement(T.default.Fragment,null,T.default.createElement("div",{style:{display:"flex",width:"100%",justifyContent:"space-between"}},T.default.createElement(l.Avatar,{src:t.avatar,alt:t.name,size:48,style:{marginBottom:8}}),T.default.createElement($e,{rank:"member",siteType:e})),T.default.createElement(n.Text,{size:"s3",weight:"semiBold",color:"gray.8",style:{marginBottom:4}},t.name),T.default.createElement(n.Text,{size:"n1",weight:"regular",color:"helloSites"===e?"hb.6":"mb.6"},"@",t.username),T.default.createElement("hr",null)):null,Le=({className:e,activeItem:a,navMenuItems:l,style:i,onLogout:n,siteType:o="helloSites",userInfo:u})=>{const{locale:c}=m.useTranslations(),[p,g]=t.useState(),h="string"==typeof a?a:p,f=s.normalizeLinkSlash(d.getCurrentSsoUrl(c,"marryBaby"===o)+"/"),v=s.normalizeLinkSlash(d.getCurrentBaseUrl(c,"marryBaby"===o)+"/"),C=l||[[{key:"userProfile.nav.header.viewProfile",icon:T.default.createElement(Ce,{width:"24",height:"24"}),value:"profile",tracking:{action:"Profile Click"},link:`${f}user/profile/`},{key:"userProfile.nav.card.myHealth",icon:T.default.createElement(he,{width:"24",height:"24"}),value:"myHealth",tracking:{action:"My Health Click"},link:`${f}user/health/`},{key:"userProfile.nav.card.mySaved",icon:T.default.createElement(fe,{width:"24",height:"24"}),iconColor:"green_300",value:"saved",tracking:{action:"Bookmarks Click"},link:`${f}user/saved/`},{key:"userProfile.nav.card.myBooking",icon:T.default.createElement(de,{width:"24",height:"24"}),value:"booking",disabled:!r.CARE_LOCALES.includes(c),tracking:{action:"Manage Booking Click"},link:`${f}user/booking/`},{key:"userProfile.nav.card.myCommunity",icon:T.default.createElement(ue,{width:"24",height:"24"}),value:"myCommunities",disabled:!r.TOGETHER_LOCALES.includes(c),tracking:{action:"Community Click"},link:`${f}user/my-communities/`}],...r.ECOM_LOCALES.includes(c)?[[{key:"userProfile.nav.card.eCom",icon:T.default.createElement(me,{width:"24",height:"24"}),value:"eCom",disabled:!r.ECOM_LOCALES.includes(c),subMenu:[{key:"userProfile.nav.card.ecom.manageOrders",value:"eCom-manageOrders",icon:T.default.createElement(ce,{width:"24",height:"24"}),link:`${v}shop/ho-so/quan-li-don-hang/`,tracking:{action:"Order Management Click"}},{key:"userProfile.nav.card.ecom.DeliveryAddress",value:"eCom-manageAddress",icon:T.default.createElement(ce,{width:"24",height:"24"}),link:`${v}shop/ho-so/dia-chi-giao-hang/`,tracking:{action:"Address Management Click"}},{key:"userProfile.nav.card.ecom.voucher",value:"eCom-voucher",icon:T.default.createElement(ce,{width:"24",height:"24"}),link:`${v}shop/ho-so/khuyen-mai/`,tracking:{action:"Voucher Click"}}]}]]:[],[{key:"userProfile.nav.menu.accountSettings",icon:T.default.createElement(ve,{width:"24",height:"24"}),subMenu:[{key:"common.profileNavigator.newsletterSubscription",value:"subscription",icon:T.default.createElement(ce,{width:"24",height:"24"}),tracking:{action:"Subscription Click"},link:`${f}user/subscriptions/`,disabled:"vi-VN"!==c},{key:"userProfile.nav.menu.password",value:"password",icon:T.default.createElement(ce,{width:"24",height:"24"}),tracking:{action:"Set Password Click"},link:`${f}user/password/`},{key:"userProfile.nav.menu.disableAccount",value:"disable-account",icon:T.default.createElement(ce,{width:"24",height:"24"}),tracking:{action:"Disable Account Click"},link:`${f}user/disable-account/`}]}],[{key:"userProfile.nav.menu.help",icon:T.default.createElement(pe,{width:"24",height:"24"}),value:"help",link:`${f}user/help`,tracking:{action:"Support Click"}},{key:"userProfile.nav.menu.logout",icon:T.default.createElement(ge,{width:"24",height:"24"}),value:"logout",tracking:{action:"Sign Out Click"}}]];return T.default.createElement(xe,{className:e,style:i},T.default.createElement(Me,{userInfo:u,siteType:o}),C.map(((e,a)=>T.default.createElement(t.Fragment,{key:a},e.map((e=>T.default.createElement(Ae,{key:e.key,item:e,activeKey:h||"",onLogout:n,onClick:()=>g((t=>t===e.key?void 0:e.key)),siteType:o}))),a!==C.length-1&&T.default.createElement("hr",null)))))},Ae=({item:e,activeKey:a,forceOpen:l,onLogout:i,onClick:o,siteType:r})=>{var s;const[d,u]=t.useState(!1),c=t.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);if(e.disabled)return null;const{t:p}=m.useTranslations(),g="boolean"==typeof l?l:d,h=a===e.key;return T.default.createElement(be,{as:e.subMenu?void 0:"a","data-is-open":g,key:e.key,hasSubmenu:!!e.subMenu,onClick:()=>{null==o||o(),e.subMenu&&!l?u((e=>!e)):"logout"===e.value?null==i||i():e.link&&(window.location.href=e.link)},"data-event-category":"Ecommerce","data-event-action":(null===(s=null==e?void 0:e.tracking)||void 0===s?void 0:s.action)||"","data-event-label":c},T.default.createElement(ye,{"data-active":h},e.icon,T.default.createElement(n.Text,{size:"p3",style:{marginLeft:e.icon?24:48,transition:"color 300ms"},color:h?"helloSites"===r?"hb.6":"mb.6":"gray.8"},p(e.key)),e.subMenu&&T.default.createElement(Ee,{"data-is-open":g},T.default.createElement(w.ChevronDown,{width:14}))),e.subMenu&&T.default.createElement(we,null,e.subMenu.map((e=>T.default.createElement(Ae,{key:e.key,item:e,activeKey:a,onLogout:i})))))},Be=({isOpen:e,userInfo:t,closePopup:a,siteType:l="helloSites",dispatchLogout:i})=>T.default.createElement(le,{"data-open":e},T.default.createElement("div",{className:"popup-content"},T.default.createElement(Le,{siteType:l,onLogout:()=>{i&&(i(),a())},userInfo:t}))),_e=D.default.div`
306
- background-color: white;
307
- text-align: center;
308
- .cancle-img {
309
- margin-top: 24px;
310
- ${v.MediaQueries.mbDown} {
311
- width: 80px;
312
- height: 80px;
313
- }
314
-
315
- ${v.MediaQueries.mbUp} {
316
- width: 100px;
317
- height: 100px;
318
- }
319
- }
320
-
321
- h2 {
322
- margin-top: 32px;
323
- color: ${e=>e.theme.colors.gray800};
324
- font-style: normal;
325
- font-weight: bold;
326
- ${v.MediaQueries.mbDown} {
327
- font-size: 24px;
328
- line-height: 32px;
329
- }
330
-
331
- ${v.MediaQueries.mbUp} {
332
- font-size: 32px;
333
- line-height: 42px;
334
- }
335
- }
336
-
337
- p {
338
- margin-top: 8px;
339
- color: ${e=>e.theme.colors.gray600};
340
- font-style: normal;
341
- font-weight: normal;
342
- ${v.MediaQueries.mbDown} {
343
- font-size: 16px;
344
- line-height: 24px;
345
- }
346
-
347
- ${v.MediaQueries.mbUp} {
348
- font-size: 16px;
349
- line-height: 24px;
350
- }
351
- }
352
- `,Te=D.default.div`
353
- display: flex;
354
-
355
- ${v.MediaQueries.mbDown} {
356
- margin-top: 24px;
357
- }
358
-
359
- ${v.MediaQueries.mbUp} {
360
- margin-top: 32px;
361
- }
362
- justify-content: space-around;
363
- button {
364
- flex: 1;
365
- margin: 4px;
366
- }
367
-
368
- ${e=>"marryBaby"===e.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 ":""}
369
- `,De=({openLogoutPopup:e,onCloseHandler:a,onLogoutHandler:l,siteType:i="helloSites"})=>{const{t:n}=m.useTranslations();return t.useEffect((()=>{document.body.classList.toggle("noscroll",e)}),[e]),T.default.createElement(g.Portal,null,T.default.createElement(u.Popup,{type:"confirm",isOpen:e,closeIcon:T.default.createElement("img",{src:o.CommonGAssets.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon",loading:"lazy"}),onClose:a},T.default.createElement(_e,null,"helloSites"===i&&T.default.createElement("img",{src:o.CommonGAssets.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account",loading:"lazy"}),T.default.createElement("h2",null,n("helloSites"===i?"logout.popup.ask1":"logout.popup.ask.mb")),T.default.createElement("p",null,n("logout.popup.ask2")),T.default.createElement(Te,{siteType:i},T.default.createElement(k.Button,{className:"logout-button",color:"tertiary",size:"lg",onClick:l},n("logout.popup.button.logout")),T.default.createElement(k.Button,{className:"cancel-button",color:"primary",size:"lg",onClick:a},n("logout.popup.button.cancel"))))))},Pe=({userInfo:a,siteType:i,onLoginClick:r,SSO_URL:d,currentUrl:u,isMinifyLogin:c,onLogout:p,style:g,isLoading:f,locale:v})=>{const{t:x}=m.useTranslations(),[b,y]=t.useState(!1),E=(null==a?void 0:a.name)||(null==a?void 0:a.username),[w,k]=t.useState(!1);t.useEffect((()=>{k(!0)}),[]);const{containerRef:$,onContainerFocus:M,onContainerBlur:L,onButtonMouseDown:A,onClose:B}=ee();return f?T.default.createElement(l.Button,{size:"sm",color:"transparent",loading:!0}):(null==a?void 0:a.id)?T.default.createElement(T.default.Fragment,null,T.default.createElement(re,{ref:$,style:g,tabIndex:0,onBlur:L,onFocus:()=>{var e;M();const t=null===(e=$.current)||void 0===e?void 0:e.querySelector("#desktop-sticky-header .hhgcomp-navprofilebutton-popup");if(t){const e=`calc(100vh - ${t.getBoundingClientRect().top}px)`;t.setAttribute("style",`max-height: ${e};`)}}},T.default.createElement("div",{onMouseDown:A},T.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"user-close-icon"},T.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),T.default.createElement(l.Avatar,{size:40,className:"user-avatar",src:null==a?void 0:a.avatar,color:"marryBaby"===i?C.theme.mbColors.pink:C.theme.colors.secondaryBase,placeholderText:E&&E.length?E[0].toUpperCase():"A"})),T.default.createElement(Be,{dispatchLogout:()=>{B(),y(!0)},isOpen:!1,closePopup:B,siteType:i,userInfo:a})),T.default.createElement(De,{openLogoutPopup:b,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),y(!1)},siteType:i,onLogoutHandler:()=>e.__awaiter(void 0,void 0,void 0,(function*(){y(!1),document.body.classList.toggle("noscroll",!1),yield p()}))})):T.default.createElement(se,{style:Object.assign({textDecoration:"none"},g),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":u,href:w?void 0:s.normalizeLinkSlash(`${d}?returnUrl=${u}`),"data-site-type":i},c?T.default.createElement(oe,{onClick:r},T.default.createElement("img",{src:o.CommonGAssets.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):T.default.createElement(T.default.Fragment,null,"helloSites"===i&&(v===h.LOCALE.Indonesia||v===h.LOCALE.PhilippinesTagalog||v===h.LOCALE.PhilippinesEnglish?T.default.createElement("img",{className:"mobile-only",src:o.CommonGAssets.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:r}):T.default.createElement(l.Button,{className:"mobile-only",size:"sm",onClick:r,leftIcon:T.default.createElement(n.User,{useCurrentColor:!0,isSolid:!0,size:22}),sx:{paddingLeft:"8px",paddingRight:"12px"}},x("navigation.loginJoin"))),"marryBaby"===i&&T.default.createElement("div",{className:"mobile-only",onClick:r,style:{paddingLeft:16}},T.default.createElement(n.Text,{size:"p3",color:C.theme.mbColors.pink},x("navigation.loginJoin"))),T.default.createElement(l.Button,{className:"login-btn",size:"md",onClick:r,leftIcon:T.default.createElement(n.User,{useCurrentColor:!0,isSolid:!0,size:22})},x("navigation.loginJoin"))))};var Se="spdlGfq",He="vgS16jX";const Ne=({onCareHeaderClick:e,currentUrl:t,careUrlFe:a,btnName:l})=>e?T.default.createElement(k.Button,{className:Se,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:t=>e(t),style:{paddingLeft:10,paddingRight:10}},l):T.default.createElement("a",{href:a,className:`${He} care-button no-replace-click`},T.default.createElement(k.Button,{className:Se,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},l));var ze="y5VJdvw",je="oVhOSCy",Oe="pX8OXTM";const Ue=T.default.createContext({}),Fe=a=>{var{children:l}=a,i=e.__rest(a,["children"]);const[n,o]=T.default.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?y.domainLocalesMarryBaby[i.locale||"en-PH"]:r.domainLocales[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));t.useEffect((()=>{const e=()=>{o(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const s=(({locale:e,projectType:a,isMobile:l,siteType:i,enableBookingBtn:n})=>t.useMemo((()=>{const t=!(!l&&"profile"===a),o="discover"===a||"marryBaby"===a||"profile"===a&&"marryBaby"===i,s="marryBaby"!==i&&"marryBaby"!==a&&r.CARE_LOCALES.includes(e),u=n&&"marryBaby"!==a&&"discover"===a&&"marryBaby"!==i&&r.CARE_BOOKING_LOCALES.includes(e),c="marryBaby"===a||r.TOGETHER_LOCALES.includes(e),m="marryBaby"!==i&&r.ECOM_LOCALES.includes(e),p="marryBaby"!==i&&r.ECOM_LOCALES.includes(e);let g=d.getCurrentBaseUrl(e,"marryBaby"===i);"undefined"!=typeof window&&(g.includes("//id.")&&(g=g.replace("id.","")),g.includes("//staging-id.")&&(g=g.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:t,enableSearchBar:o,enableNavCare:s,enableNavCareBooking:u,enableNavTogether:c,enableNavEcom:m,enableProfileEcom:p,enableProfileMyHealth:!0,enableNavDiscover:!0,enableNavHealthTools:!0,enableProfileMySaved:!0,statics:{HOME_PAGE_URL:g,CARE_URL_FE:`${g}/care`,TOGETHER_URL_FE:`${g}/community`,SSO_URL:d.getCurrentSsoUrl(e,"marryBaby"===i),TOGETHER_API:d.getTogetherApiDomain(),DISCOVER_API:d.getDiscoverApiDomain(e)}}}),[e,a,l]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType,enableBookingBtn:i.enableBookingBtn});return T.default.createElement(Ue.Provider,{value:Object.assign(Object.assign({},i),{configs:Object.assign(Object.assign({},s),i.configs),currentUrl:i.currentUrl||n})},l)};function Re({className:e}){return T.default.createElement("div",null,T.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:e},T.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function Ve({siteType:e,enableSearch:t,className:a}){return"helloSites"===e?T.default.createElement("div",null,T.default.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:t?o.CommonGAssets.getAssetPath("hamburgerMenuNewWithSearch.svg"):o.CommonGAssets.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:"home",className:a,loading:"lazy"})):T.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:a},T.default.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"}))}const Ge="profile/posts?website_url={websiteUrl}",Ie=99,Qe=210,Ze=D.default.div`
370
- position: fixed;
371
- z-index: 201;
372
- top: calc(100% + 1px); // border 1px
373
- width: 100%;
374
- height: calc(100vh - var(--header-bottom));
375
- overflow-x: hidden;
376
- overflow-y: auto;
377
- background: white;
378
- display: flex;
379
- flex-direction: column;
380
- padding-bottom: 0;
381
- left: 0;
382
- .hhgcomp-navigation-popupwrapper-menuwrapper {
383
- position: unset;
384
- }
385
- `;D.default.div`
386
- position: fixed;
387
- bottom: 0;
388
- left: 0;
389
- display: flex;
390
- width: 100%;
391
- height: 72px;
392
- align-items: flex-start;
393
- justify-content: center;
394
-
395
- background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
396
-
397
- .button-image {
398
- stroke-color: blue;
399
- }
400
-
401
- &[data-site-type='marryBaby'] {
402
- padding: 0 16px;
403
- .category-button {
404
- width: 100%;
405
- height: 48px;
406
- }
407
- }
408
- `,D.default.div`
409
- display: flex;
410
-
411
- &[data-card-array-no-margin-style='true'] {
412
- margin: 8px 0;
413
-
414
- & > div {
415
- width: 0;
416
- flex: 1;
417
- margin: 0 -1px;
418
- }
419
- }
420
-
421
- &[data-card-array-no-margin-style='false'] {
422
- margin: 8px -4px;
423
-
424
- & > div {
425
- flex: 1;
426
- margin: 0 4px;
427
- }
428
- }
429
- `,D.default.div`
430
- margin-top: 64px;
431
- `,D.default.div`
432
- padding: 24px 0;
433
- `,D.default.div`
434
- display: flex;
435
- width: 100%;
436
- align-items: center;
437
- justify-content: center;
438
-
439
- & > div:first-child {
440
- margin-right: 8px;
441
- }
442
- `,D.default.div`
443
- z-index: ${Qe};
444
- align-items: center;
445
-
446
- border: 1px solid ${e=>e.theme.colors.neutral50};
447
- background-color: ${e=>e.theme.colors.white};
448
- box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
449
- 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
450
- 0px 0px 1px rgba(0, 0, 0, 0.04);
451
- `,D.default.div`
452
- position: relative;
453
- display: flex;
454
- flex-wrap: wrap;
455
- align-items: flex-start;
456
- justify-content: flex-start;
457
- padding: 48px 0;
458
- `,D.default.div`
459
- position: relative;
460
- display: flex;
461
- flex-wrap: wrap;
462
- align-items: flex-start;
463
- justify-content: flex-start;
464
- &[data-disabled-divider='false'] {
465
- border-right: 1px solid #e4e8ec;
466
- }
467
- `,D.default.div`
468
- width: 20%;
469
- padding-right: 16px;
470
- margin-bottom: 12px;
471
-
472
- & > a {
473
- color: ${e=>e.theme.colors.gray800};
474
- font-size: ${e=>e.theme.sizes.fsParagraph4};
475
- font-weight: ${e=>e.theme.sizes.fwRegular};
476
- line-height: 22px;
477
- }
478
-
479
- & > a:hover {
480
- color: ${e=>e.theme.colors.primaryBase};
481
- }
482
-
483
- .iconMenu {
484
- display: flex;
485
- align-items: center;
486
-
487
- > .imageContainer {
488
- display: flex;
489
- width: 32px;
490
- min-width: 32px;
491
- align-items: center;
492
- margin-right: 16px;
493
- }
494
- }
495
- `,D.default.div`
496
- display: none;
497
- `,D.default.div`
498
- width: 33%;
499
- height: 48px;
500
- padding-right: 16px;
501
- margin-bottom: 12px;
502
-
503
- & > a {
504
- display: flex;
505
- align-items: center;
506
- color: ${e=>e.theme.colors.gray800};
507
- font-size: ${e=>e.theme.sizes.fsParagraph4};
508
- font-weight: ${e=>e.theme.sizes.fwRegular};
509
- line-height: 22px;
510
-
511
- & > :first-child {
512
- margin-right: 16px;
513
- }
514
- }
515
-
516
- & > a > p:hover {
517
- color: ${e=>e.theme.colors.primaryBase};
518
- }
519
- `,D.default.div`
520
- display: flex;
521
- align-items: center;
522
-
523
- padding-right: 16px;
524
- margin-bottom: 12px;
525
- color: ${e=>e.theme.colors.primaryBase};
526
- font-size: ${e=>e.theme.sizes.fsParagraph4};
527
- font-weight: ${e=>e.theme.sizes.fwBold};
528
- line-height: 24px;
529
-
530
- &[data-theme='marryBaby'] {
531
- color: ${e=>e.theme.mbColors.pink};
532
- }
533
- `,D.default.div`
534
- display: flex;
535
- align-items: center;
536
-
537
- margin-left: 10px;
538
- `,D.default.div`
539
- position: absolute;
540
- top: 16px;
541
- right: 0;
542
- display: flex;
543
- align-items: center;
544
- cursor: pointer;
545
- `,D.default.div`
546
- display: block;
547
- `,D.default.div`
548
- .categories__spotlight {
549
- display: grid;
550
- margin: 16px;
551
- margin-bottom: 32px;
552
- grid-gap: 8px;
553
- grid-template-columns: 1fr 1fr;
554
-
555
- a {
556
- text-decoration: none;
557
- }
558
- }
559
-
560
- .categoryCard {
561
- display: flex;
562
- width: 100%;
563
- flex-direction: column;
564
- align-items: center;
565
- padding: 16px;
566
- border-radius: ${e=>e.theme.borderRadius};
567
- color: ${e=>e.theme.colors.primaryBase};
568
-
569
- svg {
570
- margin-bottom: 4px;
571
- }
572
-
573
- &.active {
574
- background: ${e=>e.theme.colors.primaryBase};
575
- box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),
576
- 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
577
- color: white;
578
- }
579
-
580
- &:not(.active) {
581
- box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),
582
- 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
583
- }
584
- }
585
-
586
- .amp__menu-header {
587
- display: grid;
588
- grid-template-columns: 1fr 1fr 1fr;
589
-
590
- svg {
591
- margin-left: 16px;
592
- }
593
-
594
- > div {
595
- align-self: center;
596
-
597
- &:nth-child(2) {
598
- justify-self: center;
599
- }
600
- }
601
- }
602
-
603
- .logo {
604
- margin: 22px 0;
605
- }
606
-
607
- .categories {
608
- margin: 0 16px;
609
-
610
- li {
611
- display: block;
612
- width: 100%;
613
-
614
- + li {
615
- border-top: 1px solid
616
- ${e=>e.theme.colors.neutral100};
617
- }
618
-
619
- a {
620
- display: block;
621
- margin: 12px 0;
622
- color: ${e=>e.theme.colors.gray800};
623
- text-decoration: none;
624
- }
625
- }
626
- }
627
- `,D.default.div`
628
- width: 20%;
629
- height: 2px;
630
-
631
- background-color: ${e=>e.theme.mbColors.pink};
632
- border-radius: 2px;
633
- `;const qe=D.default.div`
634
- padding: 16px;
635
- padding-bottom: 12px;
636
- .fake-search-input {
637
- pointer-events: none;
638
- input {
639
- line-height: 20px;
640
- padding-top: 10px;
641
- padding-bottom: 10px;
642
- }
643
- }
644
- &[data-theme='marryBaby'] {
645
- input {
646
- background: ${e=>e.theme.mbColors.lightGray};
647
- border-radius: 16px;
648
- border: none;
649
- }
650
- }
651
- `,We=D.default.div`
652
- display: block;
653
- overflow-y: auto;
654
- flex: 1;
655
- padding-bottom: 16px;
656
- &::-webkit-scrollbar {
657
- width: 0;
658
- display: none;
659
- }
660
- `,Ye=t.memo((()=>T.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},T.default.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"})))),Ke=()=>{const{locale:e,configs:{statics:a},siteType:l}=t.useContext(Ue),i=m.useUniqueId(),{t:n}=m.useTranslations();return T.default.createElement(y.PureInput,{className:"fake-search-input",name:"search-input-menu-service"+i,size:"md",placeholder:"marryBaby"===l?n("navigation.search.input.placeholder"):n("home.search",{site:r.LOCALE_SPECS[e||"en-PH"]?r.LOCALE_SPECS[e||"en-PH"].SITE_NAME:""}),onChange:()=>{},onKeyDown:e=>"Enter"===e.key&&(window.location.href=`${a.HOME_PAGE_URL}/search/?s=${e.target.value}`),type:"search",onFocus:e=>{e.preventDefault()},displayIcon:T.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},T.default.createElement(Ye,null))})},Je=D.default.div`
661
- padding-right: 1rem;
662
- margin-top: 10px;
663
- background: #ffffff;
664
- padding: 5px 15px;
665
- ${v.MediaQueries.mbUp} {
666
- border-right: 1px solid #e4e8ec;
667
- }
668
- `,Xe=D.default.a`
669
- padding: 10px 0;
670
- position: relative;
671
-
672
- display: flex;
673
- align-items: center;
674
- text-decoration: none;
675
- color: ${e=>e.theme.colors.gray800};
676
- * {
677
- pointer-events: none;
678
- }
679
- p {
680
- font-size: 16px;
681
- font-weight: 400;
682
- padding: 0 0.4rem;
683
- }
684
-
685
- &[data-theme='marryBaby']:hover,
686
- &[data-theme='marryBaby'][data-active='true'] {
687
- p {
688
- color: ${e=>e.theme.mbColors.pink};
689
- }
690
- .icon {
691
- background-color: ${e=>e.theme.mbColors.lightPink};
692
- }
693
- }
694
- &[data-theme='helloSites']:hover,
695
- &[data-theme='helloSites'][data-active='true'] {
696
- p {
697
- color: ${e=>e.theme.colors.primaryActive};
698
- }
699
- }
700
- a {
701
- }
702
-
703
- &[data-theme='marryBaby'] {
704
- .icon {
705
- display: flex;
706
- align-items: center;
707
- justify-content: center;
708
- max-width: 40px;
709
- width: 100%;
710
- height: 40px;
711
- border-radius: 50%;
712
- background-color: ${e=>e.theme.mbColors.lightGray};
713
- img {
714
- border-radius: 50%;
715
- }
716
- }
717
- }
718
- `,et=D.default.div`
719
- margin: 15px 0;
720
- ${v.MediaQueries.mbDown} {
721
- display: none;
722
- }
723
- `,tt=D.default.div`
724
- display: flex;
725
- position: absolute;
726
- right: 0;
727
- ${v.MediaQueries.mbUp} {
728
- display: none;
729
- }
730
- `,at=D.default.div`
731
- display: flex;
732
- align-items: center;
733
- color: ${e=>e.theme.colors.primaryBase};
734
- font-size: ${e=>e.theme.sizes.fsParagraph4};
735
- font-weight: ${e=>e.theme.sizes.fwBold};
736
- line-height: 24px;
737
- font-size: 14px;
738
- font-weight: 600;
739
- &[data-event-category] * {
740
- pointer-events: none;
741
- }
742
- &[data-theme='marryBaby'] {
743
- color: ${e=>e.theme.mbColors.pink};
744
- }
745
- `,lt=D.default.div`
746
- display: flex;
747
- align-items: center;
748
- margin-left: 10px;
749
- `,it=D.default.a`
750
- border: 1px solid ${e=>e.theme.colors.primaryBase};
751
- &[data-theme='marryBaby'] {
752
- border: 1px solid ${e=>e.theme.mbColors.pink};
753
-
754
- svg path {
755
- stroke: ${e=>e.theme.mbColors.pink};
756
- }
757
- }
758
- position: relative;
759
- display: flex;
760
- align-items: center;
761
- justify-content: center;
762
- padding: 6px;
763
- border-radius: 5px;
764
- margin-top: 20px;
765
- ${v.MediaQueries.mbDown} {
766
- display: none;
767
- }
768
- `;var nt="wnUb-dV",ot="cjbOxWe",rt="gB4rp89";const st=({item:e,menu:t})=>{const{containerRef:a,onContainerFocus:l,onContainerBlur:i,onButtonMouseDown:n,onClose:o}=ee({allowBgScroll:!0}),r=L.useIsInit();return!e.popupType&&e.link?T.default.createElement(dt,{isNew:e.isNew},T.default.createElement("a",{className:`hhgcomp-navigation-itemnav-headeritem ${r?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},T.default.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:ot},"care"===e.id&&T.default.createElement("div",{className:rt},T.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},T.default.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name))):T.default.createElement(dt,{isNew:e.isNew},T.default.createElement("div",{ref:a,className:`hhgcomp-navigation-itemnav-headeritem ${r?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,key:e.id,onBlur:i,onFocus:l,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},T.default.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:n,className:ot},"care"===e.id&&T.default.createElement("a",{className:rt,href:s.normalizeLinkSlash(e.link+"/")},T.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},T.default.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name,e.popupType&&T.default.createElement("div",{className:nt},T.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},T.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),T.default.isValidElement(t)?T.default.cloneElement(t,{onClose:o}):null))},dt=({isNew:e,children:t})=>{const{t:a}=m.useTranslations();return e?T.default.createElement(M.Indicator,{color:"green",label:a("home.navigator.menuItem.new"),size:20,styles:{root:{paddingRight:10}}},t):T.default.createElement(T.default.Fragment,null,t)},ut=({hrefViewMore:e,titleBtnViewMore:a,UrlFE:l,onClosePopup:i,menuItems:n,headingTitle:r,activeItem:s})=>{const{siteType:d}=t.useContext(Ue);return T.default.createElement(Je,null,T.default.createElement(et,null,T.default.createElement(y.Heading,{tag:"marryBaby"===d?"h5":"h6",as:"p",fontWeight:"semibold"},r)),null==n?void 0:n.slice(0,6).map(((e,t)=>{const a=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:`${l}/${null==e?void 0:e.link.split("/").filter(Boolean).join("/")}/`:"/";return T.default.createElement(Xe,Object.assign({className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":a,"data-is-heading-category":!1,"data-active":e.id===s,href:a},!O(a)&&{target:"_blank"},{"data-theme":d,key:t,onClick:i}),T.default.createElement("div",{className:"icon"},T.default.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32,overflow:"hidden"}})),T.default.createElement(dt,{isNew:e.isNew},T.default.createElement("p",{style:{paddingRight:e.isNew?10:0}},e.name)),T.default.createElement(tt,null,T.default.createElement("img",{src:o.CommonGAssets.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))})),a&&T.default.createElement(it,{"data-theme":d,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},T.default.createElement(at,{onClick:i,"data-theme":d,"data-is-heading-category":!1},a,T.default.createElement(lt,null,T.default.createElement("img",{className:"svg",src:"marryBaby"===d?o.CommonGAssets.getAssetPath("chevronRightPink.svg"):o.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))))};D.default.div`
769
- & > a:not(:last-child) > div {
770
- border-bottom: 1px solid
771
- ${e=>e.theme.colors.neutral100};
772
- }
773
-
774
- &[data-category-list-type='sub'] {
775
- padding-bottom: 72px;
776
- }
777
-
778
- &[data-is-displayed='false'] {
779
- display: none;
780
- }
781
- `;const ct=D.default.div`
782
- display: grid;
783
-
784
- grid-template-columns: repeat(3, 1fr);
785
- gap: 24px;
786
- margin-bottom: 3.5rem;
787
- ${v.MediaQueries.tdDown} {
788
- grid-template-columns: repeat(1, 1fr);
789
- }
790
- `,mt=D.default.div`
791
- height: 152px; // 120 + 16 * 2
792
- position: absolute;
793
- top: 0;
794
- left: 0;
795
- z-index: 3;
796
- overflow: hidden;
797
- border-radius: 4px;
798
- padding: 16px;
799
- width: 100%;
800
-
801
- .img-container {
802
- width: 100%;
803
- height: 100%;
804
- }
805
- img {
806
- width: 100%;
807
- height: 100%;
808
- display: block;
809
- object-fit: contain;
810
- }
811
- ${v.MediaQueries.tdDown} {
812
- margin-bottom: 0;
813
- padding: 0;
814
- height: 100%;
815
- position: unset;
816
- width: 150px;
817
- }
818
- ${v.MediaQueries.mbDown} {
819
- width: 80px;
820
- }
821
- `,pt=D.default.div`
822
- background-color: #ffffff;
823
- border-radius: 4px;
824
- width: 100%;
825
- height: 100%;
826
- `,gt=D.default.div`
827
- display: flex;
828
- margin-top: 1rem;
829
- align-items: center;
830
- color: ${e=>e.theme.colors.primaryBase};
831
- font-weight: 400;
832
- font-size: 14px;
833
- text-decoration: none;
834
- ${v.MediaQueries.tdDown} {
835
- display: none;
836
- }
837
- `,ht=D.default.p`
838
- font-size: 16px;
839
- font-weight: 600;
840
- line-height: 1.6;
841
- color: ${e=>e.theme.colors.gray800};
842
- ${v.MediaQueries.tdDown} {
843
- padding: 0;
844
- }
845
- `,ft=D.default.p`
846
- font-size: 14px;
847
- line-height: 1.6;
848
- font-weight: 400;
849
- color: ${e=>e.theme.colors.gray600};
850
- height: 40px;
851
- text-overflow: ellipsis;
852
- overflow: hidden;
853
- display: -webkit-box;
854
- -webkit-line-clamp: 2;
855
- -webkit-box-orient: vertical;
856
- margin-bottom: auto;
857
- ${v.MediaQueries.tdDown} {
858
- height: unset;
859
- padding: 0;
860
- }
861
- `,vt=D.default.div`
862
- display: flex;
863
- flex-direction: column;
864
- gap: 8px;
865
- flex: 1;
866
- z-index: 1;
867
- ${v.MediaQueries.tdDown} {
868
- gap: 4px;
869
- }
870
- `,Ct="hhgcomp-navigation-menucareitem-contentwrapper",xt=y.getDefaultClassWrapper(vt,Ct),bt=D.default.a`
871
- text-decoration: none;
872
- border-radius: 4px;
873
- background: ${C.theme.colors.white};
874
- position: relative;
875
- overflow: hidden;
876
- padding: 16px;
877
- display: flex;
878
- padding-top: 166px;
879
- * {
880
- pointer-events: none;
881
- }
882
- ${v.MediaQueries.tdUp} {
883
- box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),
884
- 0px 0px 1px rgba(0, 0, 0, 0.04);
885
- gap: 30px;
886
- flex-direction: column;
887
- a {
888
- display: flex;
889
- width: 100%;
890
- }
891
- }
892
- ${v.MediaQueries.tdDown} {
893
- padding-top: 16px;
894
- a {
895
- display: none;
896
- }
897
- grid-template-columns: 2fr 1fr;
898
- gap: 10px;
899
- display: grid;
900
- max-height: 110px;
901
- display: flex;
902
- flex-direction: row-reverse;
903
- > .${Ct} {
904
- flex: 1;
905
- }
906
- img {
907
- width: 150px;
908
- }
909
- }
910
- ${v.MediaQueries.mbDown} {
911
- box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),
912
- 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
913
- display: flex;
914
- flex-direction: row-reverse;
915
- img {
916
- width: 80px;
917
- height: 80px;
918
- }
919
- }
920
- ${v.MediaQueries.tdOnly} {
921
- border: 1px solid ${C.theme.colors.neutral100};
922
- }
923
- .bg-svg {
924
- width: 100%;
925
- max-width: 245px;
926
- height: 100%;
927
- top: 0;
928
- right: -40px;
929
- position: absolute;
930
- display: inline-block;
931
- }
932
- `,yt=({item:e,index:a=0})=>{var l;const{t:i}=m.useTranslations(),{locale:n,configs:{statics:r}}=t.useContext(Ue);if(!e)return null;const s=`${r.CARE_URL_FE}/${null===(l=$.LOCALIZED_SLUGS[n])||void 0===l?void 0:l.HOSPITAL}/${e.slug}-${e.id}`;return T.default.createElement(bt,{key:e.id,href:s,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${a+1}`,"data-event-label":s},T.default.createElement("img",{src:o.CommonGAssets.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),T.default.createElement(mt,null,T.default.createElement(pt,null,T.default.createElement("img",{loading:"lazy",alt:e.name,src:e.logo||"/images/avatar.jpg"}))),T.default.createElement(xt,null,T.default.createElement(ht,null,e.name),T.default.createElement(ft,null,e.description),T.default.createElement(gt,null,i("home.seeMore"),T.default.createElement("img",{src:o.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))))},Et=D.default.div`
933
- padding: 16px;
934
- border-radius: 8px;
935
- position: relative;
936
- z-index: 1;
937
- overflow: hidden;
938
- a {
939
- text-decoration: none;
940
- }
941
-
942
- .bg-svg {
943
- height: 100%;
944
- position: absolute;
945
- top: 0;
946
- left: 0;
947
- z-index: -1;
948
- }
949
- ${v.MediaQueries.mbDown} {
950
- display: block;
951
- .bg-svg {
952
- right: -24px;
953
- left: unset;
954
- top: 0;
955
- transform: rotateY(180deg);
956
- }
957
- }
958
-
959
- ${v.MediaQueries.mbUp} {
960
- display: grid;
961
- grid-gap: 10px;
962
- grid-template-columns: 1fr 3fr;
963
- }
964
- `,wt=D.default.div`
965
- font-weight: 400;
966
- font-size: 14px;
967
- line-height: 24px;
968
- color: ${e=>e.theme.colors.gray600};
969
- margin-bottom: 15px;
970
- `,kt=D.default.div`
971
- font-weight: 600;
972
- font-size: 16px;
973
- line-height: 26px;
974
- color: #000000;
975
- margin-bottom: 4px;
976
- `,$t=D.default.div`
977
- background: #fff;
978
- padding: 5px;
979
- display: flex;
980
- align-items: center;
981
- justify-content: center;
982
- border-radius: 50px;
983
- `,Mt=D.default.div`
984
- display: flex;
985
- justify-content: center;
986
- align-items: center;
987
- position: relative;
988
- ${v.MediaQueries.mbDown} {
989
- justify-content: end;
990
- min-height: 100px;
991
- }
992
- `,Lt=({title:e,link:a,description:l,cta:i,icon:n})=>{const{siteType:r}=t.useContext(Ue);return T.default.createElement(Et,{"data-theme":r},T.default.createElement(Mt,null,T.default.createElement("img",{src:"marryBaby"===r?o.CommonGAssets.getAssetPath("navMBSpotlightBgNoData.svg"):o.CommonGAssets.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),T.default.createElement($t,null,n&&T.default.createElement("img",{src:n,width:64,height:64,loading:"lazy"}))),T.default.createElement("div",null,e&&T.default.createElement(kt,null,e),l&&T.default.createElement(wt,null,l),i&&T.default.createElement("div",null,T.default.createElement("a",{href:a},T.default.createElement(k.Button,{theme:r,className:"survey-contact-submit",size:"md"},i)))))},At=D.default.div`
993
- margin-top: 10px;
994
- background: #ffffff;
995
- padding: 5px 15px;
996
- position: relative;
997
- ${v.MediaQueries.mbDown} {
998
- &:after {
999
- position: absolute;
1000
- top: 0;
1001
- left: 0;
1002
- width: 100%;
1003
- height: 4px;
1004
- background-color: ${e=>e.theme.colors.neutral100};
1005
- content: '';
1006
- }
1007
- }
1008
- `,Bt=D.default.div`
1009
- margin: 15px 0;
1010
- display: flex;
1011
- `,_t=D.default.a`
1012
- padding-left: 10px;
1013
- display: flex;
1014
- align-items: center;
1015
- text-decoration: none;
1016
- font-weight: 400;
1017
- font-size: 14px;
1018
- color: ${e=>e.theme.colors.primaryBase};
1019
- &[data-theme='marryBaby'] {
1020
- color: ${e=>e.theme.mbColors.pink};
1021
- }
1022
- img {
1023
- padding-left: 5px;
1024
- }
1025
- ${v.MediaQueries.mbDown} {
1026
- margin-left: auto;
1027
- }
1028
- `,Tt=({title:e,viewMore:a,children:l,link:i,dataEventAction:n=""})=>{const{siteType:r}=t.useContext(Ue);return T.default.createElement(At,null,T.default.createElement(Bt,null,T.default.createElement(y.Heading,{tag:"marryBaby"===r?"h5":"h6",as:"p",fontWeight:"semibold"},e),a&&T.default.createElement(_t,{"data-event-category":"Hamburger Navigation","data-event-action":n,"data-event-label":i,href:i,"data-theme":r},a,T.default.createElement("img",{src:"marryBaby"===r?o.CommonGAssets.getAssetPath("chevronRightPink.svg"):o.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"}))),l)},Dt=({spotlights:e=[],hrefViewMore:a})=>{const{t:l}=m.useTranslations(),{siteType:i}=t.useContext(Ue);return T.default.createElement(Tt,{title:l("home.navigator.menu.spotlightHospitals")},0!==e.length?T.default.createElement(T.default.Fragment,null,T.default.createElement(ct,null,null==e?void 0:e.slice(0,3).map(((e,t)=>T.default.createElement(yt,{key:t,index:t,item:e})))),T.default.createElement("div",{style:{position:"absolute",bottom:"6px",right:"1rem"}},T.default.createElement("a",{href:a},T.default.createElement(k.Button,{theme:i,className:"survey-contact-submit",size:"md"},l("home.navigator.menu.care.homeButton"))))):T.default.createElement(Lt,{title:l("home.navigator.menu.care.noDatas.title"),description:l("home.navigator.menu.care.noDatas.description"),link:a,cta:l("home.navigator.menu.care.homeButton"),icon:o.CommonGAssets.getAssetPath("community.svg")}))};D.default.div`
1029
- &[data-category-list-type='sub'] {
1030
- padding-bottom: 72px;
1031
- }
1032
-
1033
- &[data-is-displayed='false'] {
1034
- display: none;
1035
- }
1036
- `,D.default.div`
1037
- & > div {
1038
- width: 100%;
1039
- margin-bottom: 8px;
1040
- }
1041
- `;const Pt=D.default.div`
1042
- display: grid;
1043
-
1044
- grid-template-columns: repeat(4, 1fr);
1045
- gap: 24px;
1046
- ${v.MediaQueries.tdDown} {
1047
- gap: 12px;
1048
- grid-template-columns: 1fr;
1049
- }
1050
- `,St=D.default.a`
1051
- width: 100%;
1052
- display: flex;
1053
- align-items: center;
1054
- text-decoration: none;
1055
- * {
1056
- pointer-events: none;
1057
- }
1058
- `,Ht=D.default.div`
1059
- border-radius: 5px;
1060
- display: block;
1061
- overflow: hidden;
1062
- padding-top: 140%;
1063
- width: 100%;
1064
- position: relative;
1065
- height: 0;
1066
- img {
1067
- position: absolute;
1068
- width: 100%;
1069
- height: 100%;
1070
- display: block;
1071
- object-fit: cover;
1072
- top: 0;
1073
- left: 0;
1074
- }
1075
- ${v.MediaQueries.tdDown} {
1076
- width: 72px;
1077
- padding-top: 100px;
1078
- }
1079
- `,Nt=D.default.p`
1080
- font-size: 16px;
1081
- font-weight: 400;
1082
- padding: 4px 15px;
1083
- line-height: 1.4;
1084
- color: ${e=>e.theme.colors.gray800};
1085
- flex: 1;
1086
- ${v.MediaQueries.tdUp} {
1087
- display: none;
1088
- }
1089
- `,zt=({item:e,index:t=0})=>e?T.default.createElement(St,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":`Spotlight Click ${t+1}`,"data-event-label":e.link},T.default.createElement(Ht,null,T.default.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),T.default.createElement(Nt,null,e.title)):null,jt=({spotlightsList:e=[],hrefViewMore:a})=>{const{t:l}=m.useTranslations(),{configs:{statics:i}}=t.useContext(Ue);return T.default.createElement(Tt,{title:l("home.navigator.menu.spotlights"),viewMore:l("home.navigator.menu.spotlights.seeAll"),link:a,dataEventAction:"Spotlight See More Click"},0!==e.length?T.default.createElement(Pt,null,null==e?void 0:e.slice(0,4).map(((e,t)=>T.default.createElement(zt,{key:t,index:t,item:{id:e.id,link:i.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})))):T.default.createElement(Lt,{title:l("home.navigator.menu.category.noDatas.title"),description:l("home.navigator.menu.category.noDatas.description"),link:a,cta:l("home.navigator.menu.category.noDatas.cta"),icon:o.CommonGAssets.getAssetPath("Spotlight.svg")}))};D.default.div`
1090
- & > :not(:last-child) {
1091
- border-bottom: 1px solid
1092
- ${e=>e.theme.colors.neutral100};
1093
- }
1094
-
1095
- & > div > :not(:last-child) {
1096
- border-bottom: 1px solid
1097
- ${e=>e.theme.colors.neutral100};
1098
- }
1099
-
1100
- &[data-category-list-type='sub'] {
1101
- padding-bottom: 72px;
1102
- }
1103
-
1104
- &[data-is-displayed='false'] {
1105
- display: none;
1106
- }
1107
- `,D.default.div`
1108
- & > div {
1109
- width: 100%;
1110
- margin-bottom: 8px;
1111
- }
1112
- `;const Ot=D.default.div`
1113
- display: grid;
1114
- grid-template-columns: repeat(2, 1fr);
1115
- grid-gap: 48px;
1116
- ${v.MediaQueries.tdDown} {
1117
- grid-template-columns: 1fr;
1118
- grid-gap: 32px;
1119
- }
1120
- ${v.MediaQueries.mbDown} {
1121
- grid-gap: 24px;
1122
- }
1123
- `,Ut=D.default.div`
1124
- padding: 5px;
1125
- flex: 1;
1126
- `,Ft=D.default.img`
1127
- width: 88px;
1128
- height: 88px;
1129
- border-radius: 4px;
1130
- object-fit: cover;
1131
- `,Rt=D.default.div`
1132
- font-size: 12px;
1133
- font-weight: 600;
1134
- color: ${e=>e.theme.colors.gray800};
1135
- text-decoration: none;
1136
- &[data-theme='marryBaby'] {
1137
- font-weight: 400;
1138
- letter-spacing: -0.2px;
1139
- }
1140
- `,Vt=D.default.div`
1141
- text-decoration: none;
1142
- font-size: 12px;
1143
- font-weight: 400;
1144
- color: ${e=>e.theme.colors.primaryBase};
1145
- &[data-theme='marryBaby'] {
1146
- font-weight: 400;
1147
- letter-spacing: -0.2px;
1148
- }
1149
- `,Gt=D.default.div`
1150
- font-size: 12px;
1151
- font-weight: 400;
1152
- color: ${e=>e.theme.colors.gray600};
1153
- `,It=D.default.div`
1154
- font-size: 12px;
1155
- font-weight: 400;
1156
- color: ${e=>e.theme.colors.gray600};
1157
- `,Qt=D.default.a`
1158
- display: flex;
1159
- gap: 10px;
1160
- text-decoration: none;
1161
- position: relative;
1162
- &::after {
1163
- content: '';
1164
- display: block;
1165
- width: 100%;
1166
- height: 1px;
1167
- border-top: 1px dashed
1168
- ${e=>e.theme.colors.neutral100};
1169
- position: absolute;
1170
- bottom: -24px;
1171
- ${v.MediaQueries.tdOnly} {
1172
- bottom: -16px;
1173
- }
1174
- ${v.MediaQueries.mbDown} {
1175
- bottom: -12px;
1176
- }
1177
- }
1178
- &:last-child {
1179
- &::after {
1180
- display: none;
1181
- }
1182
- }
1183
- ${v.MediaQueries.tdUp} {
1184
- &:nth-last-child(2) {
1185
- &::after {
1186
- display: none;
1187
- }
1188
- }
1189
- }
1190
- `,Zt=D.default.div`
1191
- display: flex;
1192
- gap: 10px;
1193
- vertical-align: middle;
1194
- align-items: center;
1195
- `,qt=D.default.div`
1196
- margin-top: 8px;
1197
- font-size: 16px;
1198
- font-weight: 600;
1199
- color: ${e=>e.theme.colors.gray800};
1200
- &[data-theme='marryBaby'] {
1201
- margin-top: 12px;
1202
- font-weight: 400;
1203
- font-size: 14px;
1204
- line-height: 24px;
1205
- letter-spacing: -0.2px;
1206
- }
1207
- `,Wt=D.default.div`
1208
- display: flex;
1209
- flex-wrap: wrap;
1210
- align-items: center;
1211
- column-gap: 5px;
1212
- `,Yt=D.default.div`
1213
- display: flex;
1214
- gap: 4px;
1215
- flex-direction: column;
1216
- `;S.default.extend(z.default);const Kt=({post:e,index:a=0})=>{var l,i,n,o,r,s,d;const{siteType:c,configs:{statics:m}}=t.useContext(Ue);if(!e)return null;const p=[m.TOGETHER_URL_FE,null===(l=e.community)||void 0===l?void 0:l.slug].join("/"),g=[p,e.slug].join("/"),h=e.createdAt,f=h?isNaN(new Date(h).getTime())?null:new Date(h):null,v=f?S.default(f).toNow(!0):h;return T.default.createElement(Qt,{href:g,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${a+1}`,"data-event-label":g},T.default.createElement(Ut,null,T.default.createElement(Zt,null,T.default.createElement(u.UserAvatar,{avatar:null===(i=e.author)||void 0===i?void 0:i.avatar,username:(null===(n=e.author)||void 0===n?void 0:n.name)||(null===(o=e.author)||void 0===o?void 0:o.username)}),T.default.createElement(Yt,null,T.default.createElement(Rt,{"data-theme":c},null===(r=e.author)||void 0===r?void 0:r.name),T.default.createElement(Wt,null,T.default.createElement(Vt,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${a+1}`,"data-event-label":p,onClick:e=>{e.preventDefault(),location.href=p},"data-theme":c},null===(s=e.community)||void 0===s?void 0:s.name),T.default.createElement(It,null,"•"),T.default.createElement(Gt,{"data-theme":c},v)))),T.default.createElement(qt,null,e.title)),!!(null===(d=e.photos)||void 0===d?void 0:d.length)&&T.default.createElement(Ft,{loading:"lazy",src:e.photos[0]}))},Jt=({spotlights:e=[]})=>{const{configs:{statics:a}}=t.useContext(Ue),{t:l}=m.useTranslations();return T.default.createElement(Tt,{title:l("home.navigator.menu.trendingPosts"),viewMore:l("home.navigator.menu.trendingPosts.seeMore"),link:s.normalizeLink(a.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==e.length?T.default.createElement(Ot,null,null==e?void 0:e.slice(0,4).map(((e,t)=>T.default.createElement(Kt,{index:t,post:e,key:e.id})))):T.default.createElement(Lt,{title:l("home.navigator.menu.together.noPosts.title"),description:l("home.navigator.menu.together.noPosts.description"),link:`${a.HOME_PAGE_URL}/community/`,cta:l("home.navigator.menu.together.noPosts.cta"),icon:o.CommonGAssets.getAssetPath("community.svg")}))};D.default.div`
1217
- & > a:not(:last-child) > div {
1218
- border-bottom: 1px solid
1219
- ${e=>e.theme.colors.neutral100};
1220
- }
1221
-
1222
- &[data-category-list-type='sub'] {
1223
- padding-bottom: 72px;
1224
- }
1225
-
1226
- &[data-is-displayed='false'] {
1227
- display: none;
1228
- }
1229
- `;const Xt=D.default.div`
1230
- display: grid;
1231
-
1232
- grid-template-columns: repeat(3, 1fr);
1233
- gap: 24px;
1234
- margin-bottom: 3.5rem;
1235
- ${v.MediaQueries.tdDown} {
1236
- grid-template-columns: repeat(1, 1fr);
1237
- }
1238
- `,ea=D.default.a`
1239
- text-decoration: none;
1240
- display: flex;
1241
- align-items: center;
1242
- `,ta=({item:e,index:t=0})=>e?T.default.createElement(ea,{href:e.url,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${t+1}`,"data-event-label":e.url},T.default.createElement("img",{loading:"lazy",alt:e.name,src:e.featuredImage||"/images/avatar.jpg",style:{width:"40px",height:"40px"}}),T.default.createElement(n.Text,{size:"p2",weight:"regular",style:{marginLeft:16}},e.name),T.default.createElement("img",{src:o.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"20px",height:"20px",marginLeft:"auto"},loading:"lazy"})):null,aa=({helpfulUrls:e=[]})=>{const{t:t}=m.useTranslations();return e.length?T.default.createElement(Tt,{title:t("home.navigator.menu.spotlightEcom")},0!==e.length?T.default.createElement(Xt,null,null==e?void 0:e.slice(0,5).map(((e,t)=>T.default.createElement(ta,{key:t,index:t,item:e})))):T.default.createElement(T.default.Fragment,null)):null};D.default.div`
1243
- &[data-is-display='false'] {
1244
- display: none;
1245
- }
1246
- `;const la=D.default.div`
1247
- display: grid;
1248
-
1249
- grid-template-columns: repeat(3, 1fr);
1250
- gap: 24px;
1251
- ${v.MediaQueries.tdDown} {
1252
- grid-template-columns: 1fr;
1253
- gap: 12px;
1254
- }
1255
- `,ia=D.default.a`
1256
- text-decoration: none;
1257
- border-radius: 4px;
1258
- background: ${e=>e.theme.colors.primary50};
1259
- position: relative;
1260
- overflow: hidden;
1261
- display: flex;
1262
- * {
1263
- pointer-events: none;
1264
- }
1265
- .bg-svg {
1266
- width: 245px;
1267
- top: 0;
1268
- right: 0;
1269
- height: 100%;
1270
- position: absolute;
1271
- ${v.MediaQueries.tdDown} {
1272
- top: calc(51% - 68px);
1273
- right: -8px;
1274
- }
1275
- }
1276
- padding: 180px 24px 16px;
1277
- a {
1278
- display: flex;
1279
- width: 100%;
1280
- }
1281
- ${v.MediaQueries.tdDown} {
1282
- padding-top: 16px;
1283
- display: flex;
1284
- align-items: center;
1285
- }
1286
- `,na=D.default.div`
1287
- width: 64px;
1288
- height: 64px;
1289
- background: white;
1290
- position: absolute;
1291
- right: 25px;
1292
- top: 35px;
1293
- z-index: 3;
1294
- border-radius: 50%;
1295
- img {
1296
- position: absolute;
1297
- width: 64px;
1298
- height: 64px;
1299
- top: 50%;
1300
- left: 50%;
1301
- display: block;
1302
- transform: translate(-50%, -50%);
1303
- }
1304
- ${v.MediaQueries.tdDown} {
1305
- position: relative;
1306
- top: unset;
1307
- right: unset;
1308
- }
1309
- `,oa=D.default.div`
1310
- display: flex;
1311
- align-items: center;
1312
- color: ${e=>e.theme.colors.primaryBase};
1313
- font-weight: 400;
1314
- font-size: 14px;
1315
- text-decoration: none;
1316
- `,ra=D.default.p`
1317
- font-size: 16px;
1318
- font-weight: 600;
1319
- line-height: 1.4;
1320
- color: ${e=>e.theme.colors.gray800};
1321
- `,sa=D.default.p`
1322
- font-size: 14px;
1323
- line-height: 1.4;
1324
- font-weight: 400;
1325
- color: ${e=>e.theme.colors.gray600};
1326
- height: 40px;
1327
- text-overflow: ellipsis;
1328
- overflow: hidden;
1329
- display: -webkit-box;
1330
- -webkit-line-clamp: 2;
1331
- -webkit-box-orient: vertical;
1332
- margin-bottom: auto;
1333
- ${v.MediaQueries.tdDown} {
1334
- display: none;
1335
- }
1336
- `,da=D.default.div`
1337
- display: flex;
1338
- flex-direction: column;
1339
- flex: 1;
1340
- z-index: 1;
1341
- ${v.MediaQueries.tdUp} {
1342
- gap: 8px;
1343
- }
1344
- ${v.MediaQueries.tdDown} {
1345
- gap: 4px;
1346
- flex: 1;
1347
- }
1348
- `,ua=({item:e,index:a=0})=>{const{t:l}=m.useTranslations(),{configs:{statics:i}}=t.useContext(Ue);if(!e)return null;const n=e.link?e.link.startsWith("http")?e.link:`${i.HOME_PAGE_URL}${e.link}`:void 0;return T.default.createElement(ia,{href:n,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${a+1}`,"data-event-label":n},T.default.createElement("img",{src:o.CommonGAssets.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),T.default.createElement(da,null,T.default.createElement(ra,null,e.title),T.default.createElement(sa,null,e.subtitle),T.default.createElement(oa,null,l("home.seeMore"),T.default.createElement("img",{src:o.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))),T.default.createElement(na,null,T.default.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},ca=D.default.a`
1349
- text-decoration: none;
1350
- border-radius: 12px;
1351
-
1352
- position: relative;
1353
- overflow: hidden;
1354
- display: flex;
1355
- * {
1356
- pointer-events: none;
1357
- }
1358
- .bg-svg {
1359
- top: 0;
1360
- left: 0;
1361
- position: absolute;
1362
- }
1363
-
1364
- .dot-svg {
1365
- width: 40px;
1366
- height: 30px;
1367
- top: 36px;
1368
- left: 16px;
1369
- position: absolute;
1370
- stroke-width: 0;
1371
- }
1372
-
1373
- &[data-color='pink'] {
1374
- background: ${e=>e.theme.mbColors.tonePink};
1375
- .bg-svg {
1376
- fill: ${e=>e.theme.mbColors.peach};
1377
- }
1378
- }
1379
- &[data-color='orange'] {
1380
- background: ${e=>e.theme.mbColors.toneYellow};
1381
- .bg-svg {
1382
- fill: ${e=>e.theme.mbColors.orange};
1383
- }
1384
- }
1385
- &[data-color='green'] {
1386
- background: ${e=>e.theme.mbColors.toneGreen};
1387
- .bg-svg {
1388
- fill: ${e=>e.theme.mbColors.mint};
1389
- }
1390
- }
1391
-
1392
- padding: 180px 24px 16px;
1393
- a {
1394
- display: flex;
1395
- width: 100%;
1396
- }
1397
- ${v.MediaQueries.tdDown} {
1398
- padding-top: 16px;
1399
- display: flex;
1400
- align-items: flex-start;
1401
- justify-content: flex-start;
1402
- }
1403
- ${v.MediaQueries.mbDown} {
1404
- padding-top: 0;
1405
- padding-left: 80px;
1406
- height: 96px;
1407
- align-items: flex-start;
1408
- justify-content: center;
1409
- flex-direction: column;
1410
- .dot-svg {
1411
- top: 22px;
1412
- left: 16px;
1413
- }
1414
- }
1415
- ${v.MediaQueries.tdUp} {
1416
- min-height: 296px;
1417
- }
1418
- .mobile-only {
1419
- ${v.MediaQueries.tdUp} {
1420
- display: none;
1421
- }
1422
- }
1423
- .desktop-only {
1424
- ${v.MediaQueries.tdDown} {
1425
- display: none;
1426
- }
1427
- }
1428
- `,ma=D.default.div`
1429
- width: 48px;
1430
- height: 48px;
1431
- background: white;
1432
- position: absolute;
1433
- right: 25px;
1434
- top: 35px;
1435
- z-index: 3;
1436
- border-radius: 50%;
1437
- img {
1438
- position: absolute;
1439
- width: 36px;
1440
- height: 36px;
1441
- top: 50%;
1442
- left: 50%;
1443
- display: block;
1444
- transform: translate(-50%, -50%);
1445
- }
1446
- ${v.MediaQueries.tdDown} {
1447
- position: relative;
1448
- top: unset;
1449
- right: unset;
1450
- }
1451
- ${v.MediaQueries.mbDown} {
1452
- position: absolute;
1453
- left: 32px;
1454
- top: 28px;
1455
- }
1456
- `,pa=D.default.div`
1457
- display: flex;
1458
- align-items: center;
1459
- background: white;
1460
- font-weight: 400;
1461
- font-size: 14px;
1462
- text-decoration: none;
1463
- border-radius: 50%;
1464
- width: 20px;
1465
- height: 20px;
1466
-
1467
- svg path {
1468
- fill: ${e=>e.theme.mbColors.gray};
1469
- }
1470
-
1471
- ${v.MediaQueries.tdDown} {
1472
- background: none;
1473
- width: 100%;
1474
- font-weight: 400;
1475
- font-size: 12px;
1476
- line-height: 18px;
1477
- color: ${e=>e.theme.mbColors.pink};
1478
- padding-left: 16px;
1479
- }
1480
- `,ga=D.default.p`
1481
- font-weight: 600;
1482
- font-size: 14px;
1483
- line-height: 24px;
1484
- letter-spacing: -0.2px;
1485
- color: ${e=>e.theme.colors.gray800};
1486
- `,ha=D.default.p`
1487
- font-weight: 400;
1488
- font-size: 12px;
1489
- line-height: 18px;
1490
- letter-spacing: -0.2px;
1491
- color: ${e=>e.theme.colors.gray600};
1492
- height: 54px;
1493
- text-overflow: ellipsis;
1494
- overflow: hidden;
1495
- display: -webkit-box;
1496
- -webkit-line-clamp: 3;
1497
- -webkit-box-orient: vertical;
1498
- margin-bottom: auto;
1499
- ${v.MediaQueries.tdDown} {
1500
- display: none;
1501
- }
1502
- `,fa=D.default.div`
1503
- display: flex;
1504
- flex: 1;
1505
- z-index: 1;
1506
- align-items: flex-end;
1507
- justify-content: flex-end;
1508
- ${v.MediaQueries.tdUp} {
1509
- gap: 8px;
1510
- flex-direction: row;
1511
- }
1512
-
1513
- ${v.MediaQueries.tdDown} {
1514
- align-items: flex-start;
1515
- justify-content: flex-start;
1516
- gap: 4px;
1517
- }
1518
- `,va=D.default.div`
1519
- display: flex;
1520
- flex-direction: column;
1521
- flex: 1;
1522
- z-index: 1;
1523
- ${v.MediaQueries.tdUp} {
1524
- gap: 8px;
1525
- }
1526
- ${v.MediaQueries.tdDown} {
1527
- gap: 4px;
1528
- flex: 1;
1529
- padding-left: 16px;
1530
- }
1531
- `,Ca=D.default.div`
1532
- display: flex;
1533
- flex-direction: row;
1534
- flex: 1;
1535
- z-index: 1;
1536
- ${v.MediaQueries.tdUp} {
1537
- gap: 8px;
1538
- justify-content: flex-end;
1539
- align-items: flex-end;
1540
- }
1541
- ${v.MediaQueries.tdDown} {
1542
- flex-direction: column;
1543
- justify-content: flex-start;
1544
- align-items: flex-start;
1545
- }
1546
- `,xa=({item:e,index:a=0,color:l})=>{const{t:i}=m.useTranslations(),{configs:{statics:n}}=t.useContext(Ue);if(!e)return null;const r=e.link?e.link.startsWith("http")?e.link:`${n.HOME_PAGE_URL}${e.link}`:void 0,s=()=>T.default.createElement(ma,null,T.default.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})),d=()=>T.default.createElement(Ca,null,T.default.createElement(va,null,T.default.createElement(ga,null,e.title),T.default.createElement(ha,null,e.subtitle)),T.default.createElement(pa,null,T.default.createElement("div",{className:"mobile-only"},i("home.seeMore")),T.default.createElement("img",{src:o.CommonGAssets.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"},loading:"lazy"})));return T.default.createElement(ca,{href:r,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${a+1}`,"data-event-label":r,"data-color":l},T.default.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none"},T.default.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"})),T.default.createElement("img",{src:o.CommonGAssets.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),T.default.createElement(fa,null,T.default.createElement("div",{className:"mobile-only"},s()),T.default.createElement("div",{className:"desktop-only"},d())),T.default.createElement("div",{className:"mobile-only"},d()),T.default.createElement("div",{className:"desktop-only"},s()))},ba=({hrefViewMore:e,spotlightHealthTools:a=[]})=>{const{t:l}=m.useTranslations(),i=["pink","orange","green"],{siteType:n}=t.useContext(Ue);return T.default.createElement(Tt,{title:l("home.navigator.menu.spotlightTools")},0!==a.length&&T.default.createElement(la,null,null==a?void 0:a.slice(0,3).map(((e,t)=>"marryBaby"===n?T.default.createElement(xa,{key:t,index:t,item:e,color:i[t]}):T.default.createElement(ua,{key:t,index:t,item:e})))),0===a.length&&T.default.createElement(Lt,{title:l("home.navigator.menu.healthTools.noDatas.title"),description:l("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:l("home.navigator.menu.healthTools.noDatas.cta"),icon:o.CommonGAssets.getAssetPath("community.svg")}))},ya=({closePopup:e,menuItems:a=[]})=>{var l,i;const{siteType:n,ssrMenuContent:{categories:o,healthTools:s,care:d,together:u,ecom:c},activeMenuService:p,configs:{statics:g,enableSearchBar:h},locale:f}=t.useContext(Ue),{t:v}=m.useTranslations();return T.default.createElement(Ze,{id:"categories-menu"},h?T.default.createElement(qe,{"data-theme":n,onClick:()=>{window.location.href=`${g.HOME_PAGE_URL}/search`}},T.default.createElement(Ke,null)):null,T.default.createElement(We,null,T.default.createElement(ut,{UrlFE:g.HOME_PAGE_URL,titleBtnViewMore:v("home.navigator.menuItem.allCategories"),menuItems:a,headingTitle:v("home.navigator.menuItem.healthCategories"),onClosePopup:e,activeItem:p}),"categories"===p&&T.default.createElement(jt,{spotlightsList:(null==o?void 0:o.spotlights)||[],hrefViewMore:`${g.HOME_PAGE_URL}${"tl-PH"===f?"/fil":""}/spotlight/`}),"tools"===p&&T.default.createElement(ba,{spotlightHealthTools:null==s?void 0:s.spotlights,hrefViewMore:`${g.HOME_PAGE_URL}${"tl-PH"===f?"/fil":""}${(null===(l=r.STATIC_PAGES[f])||void 0===l?void 0:l.HEALTH_TOOLS)||""}`}),"care"===p&&T.default.createElement(Dt,{spotlights:null==d?void 0:d.spotlights,hrefViewMore:`${g.CARE_URL_FE}/${null===(i=$.LOCALIZED_SLUGS[f])||void 0===i?void 0:i.SPECIALTIES}`}),"together"===p&&T.default.createElement(Jt,{spotlights:null==u?void 0:u.spotlights}),"ecom"===p&&T.default.createElement(aa,{helpfulUrls:null==c?void 0:c.helpfulUrls})))},Ea=({menuItems:e})=>{const{siteType:a,configs:{enableSearchBar:l}}=t.useContext(Ue),{containerRef:i,onContainerFocus:n,onContainerBlur:o,onButtonMouseDown:r,onClose:s}=ee();return T.default.createElement(X,{mediaQueryKey:"mbDown"},T.default.createElement("header",{className:ze},T.default.createElement("div",{className:je,ref:i,role:"button",tabIndex:0,onBlur:o,onFocus:n},T.default.createElement("div",{className:Oe,onMouseDown:r,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},T.default.createElement(Re,{className:"mobile-close-icon"}),T.default.createElement(Ve,{siteType:a,enableSearch:l,className:"mobile-hamburger-icon"})),T.default.createElement(ya,{menuItems:e,closePopup:s}))))},wa=D.default.div`
1547
- z-index: 201;
1548
- width: 100%;
1549
- align-items: center;
1550
-
1551
- background-color: ${e=>e.theme.colors.white};
1552
-
1553
- transition: height 0.3s, transform 0.3s;
1554
-
1555
- &[data-site-type='helloSites'] {
1556
- border-bottom: 1px solid
1557
- ${e=>e.theme.colors.neutral100};
1558
- }
1559
- &[data-sponsored='true'] {
1560
- border-bottom: none;
1561
- }
1562
- &[data-marry-baby-tone='pink'] {
1563
- background-color: ${e=>e.theme.mbColors.lightPink};
1564
- }
1565
-
1566
- ${v.MediaQueries.mbUp} {
1567
- &[data-sitewide-banner-shown='true'][data-collapsed='true'] {
1568
- transform: translateY(-64px);
1569
- }
1570
- }
1571
- ${v.MediaQueries.mbDown} {
1572
- &[data-site-type='marryBaby'] {
1573
- border-bottom: none;
1574
- }
1575
-
1576
- &[data-fixed-bar='true'] {
1577
- position: fixed;
1578
- transform: translateY(0);
1579
- }
1580
-
1581
- &[data-fixed-bar='false'] {
1582
- position: absolute;
1583
- }
1584
-
1585
- &[data-collapsed='true'] {
1586
- transform: translateY(-100%);
1587
- transition: transform 0.5s;
1588
- }
1589
- &[data-collapsed='false'] {
1590
- transform: translateY(0);
1591
- transition: transform 0.5s;
1592
- }
1593
-
1594
- .top-bar-header {
1595
- line-height: normal;
1596
- }
1597
-
1598
- &[data-header-type='home'] {
1599
- z-index: ${Ie};
1600
- }
1601
-
1602
- &[data-is-displayed='false'] {
1603
- //display: none;
1604
- visibility: hidden;
1605
- }
1606
- }
1607
-
1608
- .marry-baby {
1609
- input {
1610
- background: ${e=>e.theme.mbColors.lightGray};
1611
- border-radius: 16px;
1612
- border: none;
1613
- }
1614
- max-width: 172px;
1615
- }
1616
- &[data-site-type='marryBaby'] {
1617
- .close-btn {
1618
- top: 16px;
1619
- right: 16px;
1620
- }
1621
- }
1622
- `,ka=D.default.div`
1623
- display: flex;
1624
- height: 100%;
1625
- align-items: center;
1626
-
1627
- justify-content: space-between;
1628
- padding: 0 2rem;
1629
- height: 56px;
1630
- ${v.MediaQueries.pcDown} {
1631
- padding: 0 1rem;
1632
- }
1633
-
1634
- ${v.MediaQueries.mbDown} {
1635
- position: relative;
1636
- height: 56px;
1637
- background: white;
1638
- gap: 2px;
1639
- }
1640
-
1641
- &[data-site-type='marryBaby'] {
1642
- width: 100%;
1643
- margin: 0 auto;
1644
- padding: 0 16px;
1645
- ${v.MediaQueries.tdUp} {
1646
- max-width: 1064px;
1647
- }
1648
- }
1649
- `,$a=D.default.div`
1650
- display: flex;
1651
- align-items: center;
1652
- height: 100%;
1653
- gap: 24px;
1654
- ${v.MediaQueries.pcDown} {
1655
- flex-shrink: 0;
1656
- gap: 16px;
1657
- }
1658
- ${v.MediaQueries.pcDown} {
1659
- gap: 12px;
1660
- }
1661
- &[data-site-type='marryBaby'] {
1662
- gap: 26px;
1663
- }
1664
- `,Ma=D.default.div``,La=D.default.div`
1665
- display: flex;
1666
- align-items: center;
1667
- height: 100%;
1668
- flex-shrink: 0;
1669
- /* gap: 16px; */
1670
- ${v.MediaQueries.tdDown} {
1671
- flex-shrink: 0.6;
1672
- }
1673
- .hhgcomp-navigation-itemnav-headeritem {
1674
- gap: 2px;
1675
- ${v.MediaQueries.pcUp} {
1676
- padding: 0 10px;
1677
- }
1678
- ${v.MediaQueries.pcDown} {
1679
- padding: 0 6px;
1680
- }
1681
- ${v.MediaQueries.mbDown} {
1682
- display: none;
1683
- }
1684
- a {
1685
- text-decoration: none;
1686
- }
1687
- }
1688
- `;D.default.div`
1689
- .fake-search-input {
1690
- pointer-events: none;
1691
- input {
1692
- line-height: 20px;
1693
- padding-top: 10px;
1694
- padding-bottom: 10px;
1695
- }
1696
- }
1697
- `;const Aa=D.default.div`
1698
- margin-left: 16px;
1699
- display: flex;
1700
- gap: 12px;
1701
- align-items: center;
1702
- flex-shrink: 0;
1703
- ${v.MediaQueries.pcDown} {
1704
- margin-left: 8px;
1705
- gap: 8px;
1706
- }
1707
- ${v.MediaQueries.mbDown} {
1708
- margin-left: 0;
1709
- gap: 10px;
1710
- }
1711
- `,Ba=D.default.div`
1712
- display: flex;
1713
- align-items: center;
1714
- height: 100%;
1715
- &[data-site-type='marryBaby'] {
1716
- gap: 26px;
1717
- }
1718
- `,_a=e=>{var t,a,l,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?(i=e.sponsor,i?{title:i.title,logo:i.logo,link:i.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((e=>_a(e))))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(a=e.cat_parent)||void 0===a?void 0:a.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(l=e.reviewed_by,{postTitle:l.post_title,permalink:l.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>(e=>({title:e.title,content:e.content}))(e))):null,customizedUrl:e.customized_url||null}:{}},Ta=e=>{var t,a;if(!e)return{};const l=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),i=null===(a=e.link)||void 0===a?void 0:a.startsWith("/fil/"),n=e.link?e.link.startsWith("http")||l?e.link:i?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):`/health-tools${e.link.replace("/health-tools/","/")}`:void 0;return{icon:e.icon,link:n,subtitle:e.subtitle,title:e.title}},Da=e=>{var t,a,l,i,n;return e&&(null==e?void 0:e.object_id)?{thumbnail:(null===(t=null==e?void 0:e.object_id)||void 0===t?void 0:t.logo)||"",link:(null===(a=null==e?void 0:e.object_id)||void 0===a?void 0:a.slug)||"",subtitle:(null===(l=e.object_id)||void 0===l?void 0:l.name)||"",name:(null===(i=e.object_id)||void 0===i?void 0:i.name)||"",slug:(null===(n=e.object_id)||void 0===n?void 0:n.slug)||""}:{}},Pa=e=>{var t,a,l,i,n;return e&&(null==e?void 0:e.object_id)?{id:null===(t=e.object_id)||void 0===t?void 0:t.id,name:(null===(a=e.object_id)||void 0===a?void 0:a.name)||"",logo:(null===(l=null==e?void 0:e.object_id)||void 0===l?void 0:l.logo)||"",description:(null===(i=e.object_id)||void 0===i?void 0:i.description)||"",slug:(null===(n=e.object_id)||void 0===n?void 0:n.slug)||""}:{}},Sa=({type:e,specialtySlug:t,locale:a})=>{var l,i;return`${null===(l=$.LOCALIZED_SLUGS[a])||void 0===l?void 0:l.ALL}/${(null===(i=$.LOCALIZED_SLUGS[a])||void 0===i?void 0:i[e])||"doctor"}/${null!=t?t:""}`},Ha=e=>e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{},Na=e=>{const t=new Date;if(null==e?void 0:e.startDate){const a=new Date(e.startDate);if(t.getTime()<a.getTime())return!1}if(null==e?void 0:e.endDate){const a=new Date(e.endDate);if(t.getTime()>a.getTime())return!1}return!0};var za="q3nL5cp",ja="_2DNf80G",Oa="Q-glX-n";const Ua=({onClosePopup:e})=>T.default.createElement("div",{className:`${Oa} close-btn`,onClick:e},T.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},T.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),Fa=({onClosePopup:e,isDisplay:t,children:a,isNavMenu:l,hideCloseBtn:i})=>T.default.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!l},T.default.createElement(B.Container,null,!i&&T.default.createElement("div",{className:ja},T.default.createElement(Ua,{onClosePopup:e})),T.default.createElement(B.Container,{className:za},a))),Ra=({careSpecialties:e=[],isOpen:a,onClose:l,spotlights:i=[]})=>{var n;const{t:o}=m.useTranslations(),{locale:r,configs:{statics:s}}=t.useContext(Ue);return T.default.createElement(Fa,{onClosePopup:l,isDisplay:a,isNavMenu:!0},T.default.createElement(ut,{headingTitle:o("home.navigator.menuItem.specialties"),hrefViewMore:`${s.CARE_URL_FE}/`,UrlFE:s.CARE_URL_FE,onClosePopup:l,titleBtnViewMore:o("home.navigator.menuItem.allSpecialties"),menuItems:(null==e?void 0:e.map((e=>e?{name:String(e.name)||"",link:Sa({type:"DOCTOR",specialtySlug:e.slug,locale:r}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{})))||[]}),T.default.createElement(Dt,{spotlights:i,hrefViewMore:`${s.CARE_URL_FE}/${null===(n=$.LOCALIZED_SLUGS[r])||void 0===n?void 0:n.SPECIALTIES}/`}))},Va=({categories:e=[],spotlightsList:a=[],onClose:l,isOpen:i})=>{const{t:n}=m.useTranslations(),{locale:o,configs:{statics:r}}=t.useContext(Ue);return T.default.createElement(Fa,{onClosePopup:l,isDisplay:i,isNavMenu:!0},T.default.createElement(ut,{hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===o?"/fil":""}/categories/`,UrlFE:r.HOME_PAGE_URL,onClosePopup:l,titleBtnViewMore:n("home.navigator.menuItem.allCategories"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.displayName||null,link:(null==e?void 0:e.customizedUrl)||(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{})))||[],headingTitle:n("home.navigator.menuItem.healthCategories")}),T.default.createElement(jt,{spotlightsList:a,hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===o?"/fil":""}/spotlight/`}))},Ga=({communities:e=[],onClose:a,isOpen:l,spotlights:i=[]})=>{const{t:n}=m.useTranslations(),{configs:{statics:o}}=t.useContext(Ue);return T.default.createElement(Fa,{onClosePopup:a,isDisplay:l,isNavMenu:!0},T.default.createElement(ut,{hrefViewMore:s.normalizeLink(o.TOGETHER_URL_FE),UrlFE:s.normalizeLinkSlash(o.TOGETHER_URL_FE),onClosePopup:a,titleBtnViewMore:n("home.navigator.menuItem.allCommunities"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{})))||[],headingTitle:n("home.navigator.menuItem.allCommunitiesheadingTitle")}),T.default.createElement(Jt,{spotlights:i}))},Ia=({locale:e,onClose:a,isOpen:l,spotlightHealthTools:i=[],healthTools:n=[]})=>{var o;const{t:s}=m.useTranslations(),{configs:{statics:d}}=t.useContext(Ue),u=`${d.HOME_PAGE_URL}${"tl-PH"===e?"/fil":""}${(null===(o=r.STATIC_PAGES[e])||void 0===o?void 0:o.HEALTH_TOOLS)||""}`;return T.default.createElement(Fa,{onClosePopup:a,isDisplay:l,isNavMenu:!0},T.default.createElement(ut,{hrefViewMore:u,UrlFE:d.HOME_PAGE_URL,onClosePopup:a,headingTitle:s("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:s("home.navigator.menuItem.allHealthTools"),menuItems:n.map((e=>({name:e.title,link:e.link?e.link.startsWith("http")?e.link:`${d.HOME_PAGE_URL}${e.link}`:void 0,thumbnail:e.icon})))}),T.default.createElement(ba,{spotlightHealthTools:i,hrefViewMore:u}))},Qa=({onTopBarAppears:e,languageMenu:a,menuItems:l,logoComponent:i})=>{var n;const{siteType:d,isMobile:u=!1,locale:p,sitewideBanner:g,sitewideBannerShown:h=!0,sponsorComponent:f,onBookingClick:v,currentUrl:C,onLoginClick:x,cartNumber:b,configs:{statics:y,enableNavCareBooking:E,enableSearchBar:w},userState:{userInfo:k},onLogout:$,isUserLoading:M}=t.useContext(Ue),{t:L}=m.useTranslations(),{SSO_URL:A,HOME_PAGE_URL:B}=y,_=!!f,[D,S]=t.useState(!1),H=t.useRef(47),N=t.useRef(null),z=t.useRef(!1),j="helloSites"===d?null===(n=r.LOCALE_SPECS[p])||void 0===n?void 0:n.LOGO_TYPE:d,O="undefined"!=typeof window,U=t.useCallback(P.default((()=>{if(O){if(!N.current)return;const e=N.current.getBoundingClientRect();e.top<=0&&window.scrollY>H.current&&window.scrollY>e.height+20&&!z.current&&(z.current=!0,S(!0)),window.scrollY<H.current&&z.current&&(z.current=!1,S(!1)),window.scrollY>=0&&(H.current=window.scrollY)}}),200),[]);t.useEffect((()=>{null==e||e(!D)}),[D]),t.useEffect((()=>(window.addEventListener("scroll",U,{passive:!0}),()=>{window.removeEventListener("scroll",U)})),[]),t.useEffect((()=>{u&&U()}),[u]);const F=h&&!!g;return T.default.createElement(wa,{"data-site-type":d,"data-sponsored":_,"data-sitewide-banner-shown":F,"data-header-type":"home","data-collapsed":D,"data-is-displayed":!0,id:"site-header",ref:N},g,T.default.createElement(ka,{"data-site-type":d},T.default.createElement($a,{"data-site-type":d},T.default.createElement(Ea,{menuItems:l}),i||T.default.createElement("a",{style:{flexShrink:0},href:B},T.default.createElement(Ma,null,T.default.createElement(c.Logo,{style:{display:"flex"},type:j,badge:"id-ID"===p&&T.default.createElement("img",{src:o.CommonGAssets.getAssetPath("sehat-badge.png"),width:"56",height:"23",loading:"lazy"}),dateForSeasonal:new Date,locale:p,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===d?T.default.createElement(qa,{menuItems:l}):w&&T.default.createElement(Za,{siteType:d})),T.default.createElement(La,{"data-site-type":d},"marryBaby"===d?w&&T.default.createElement(Za,{siteType:d}):T.default.createElement(qa,{menuItems:l}),T.default.createElement(Aa,null,T.default.createElement(K,{count:b,locale:p}),E&&T.default.createElement(X,{mediaQueryKey:"mbUp"},T.default.createElement(Ne,{careUrlFe:y.CARE_URL_FE,currentUrl:C,btnName:L("login.booking"),onCareHeaderClick:v})),a,T.default.createElement(Pe,{userInfo:k,siteType:d,onLoginClick:x||(()=>{const e=window.location.href;window.location.href=A?s.normalizeLinkSlash(`${A}?returnUrl=${e}`):e}),SSO_URL:s.normalizeLink(y.SSO_URL),currentUrl:C,onLogout:$,isLoading:M,locale:p})))),f?T.default.isValidElement(f)?T.default.cloneElement(f,{isCollapsed:D,locale:p,isMobile:u}):f:null)},Za=({siteType:e})=>T.default.createElement(X,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},T.default.createElement(Ke,null)),qa=({menuItems:e})=>{const{siteType:a,locale:l,ssrMenuContent:{categories:i,healthTools:n,care:o,together:r}}=t.useContext(Ue);return T.default.createElement(X,{mediaQueryKey:"mbUp",style:{height:"100%"}},T.default.createElement(Ba,{"data-site-type":a},null==e?void 0:e.map(((e,t)=>T.default.createElement(st,{key:t,item:e,menu:"categories"===e.popupType?T.default.createElement(Va,{categories:null==i?void 0:i.items,spotlightsList:null==i?void 0:i.spotlights}):"tools"===e.popupType?T.default.createElement(Ia,{locale:l,healthTools:null==n?void 0:n.items,spotlightHealthTools:null==n?void 0:n.spotlights}):"together"===e.popupType?T.default.createElement(Ga,{communities:null==r?void 0:r.items,spotlights:null==r?void 0:r.spotlights}):"care"===e.popupType?T.default.createElement(Ra,{careSpecialties:null==o?void 0:o.items,spotlights:null==o?void 0:o.spotlights}):null})))))},Wa=D.default.div`
1719
- --header-z-index: 305;
1720
- top: 0;
1721
- z-index: var(--header-z-index);
1722
-
1723
- ${v.MediaQueries.mbDown} {
1724
- width: 100vw;
1725
- max-width: 100%;
1726
- }
1727
- --amp-site-wide-closed: 2px;
1728
-
1729
- -webkit-transform: translateZ(0);
1730
- position: sticky;
1731
-
1732
- &.nav-open {
1733
- margin-top: 64px;
1734
- }
1735
-
1736
- &:not(.nav-open) {
1737
- --amp-site-wide-closed: 66px;
1738
- }
1739
- pointer-events: none;
1740
- > section * {
1741
- pointer-events: auto;
1742
- }
1743
- `;D.default.div`
1744
- display: flex;
1745
- align-items: center;
1746
- gap: 8px;
1747
- `,D.default.a`
1748
- &[data-is-active='true'] {
1749
- color: unset;
1750
- }
1751
- font-size: 14px;
1752
- font-weight: 700;
1753
- line-height: 22px;
1754
- text-decoration: none;
1755
- `;const Ya=e=>{var a,l;const{isMobile:i,locale:n,onTopBarAppears:d,languageOptions:u,sponsorComponent:c,sitewideBanner:p,sitewideBannerShown:g,className:h,logoComponent:f}=e,v=(()=>{const{t:e}=m.useTranslations(),{siteType:a,locale:l,configs:{enableNavDiscover:i,enableNavHealthTools:n,enableNavCare:d,enableNavTogether:u,enableNavEcom:c,statics:p}}=t.useContext(Ue),g="marryBaby"===a;return t.useMemo((()=>{var t;const a=[];return i&&a.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${p.HOME_PAGE_URL}${"tl-PH"===l?"/fil":""}/categories`,niceName:"",thumbnail:g?o.CommonGAssets.getAssetPath("categories-mb.svg"):o.CommonGAssets.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),n&&a.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${p.HOME_PAGE_URL}${"tl-PH"===l?"/fil":""}${(null===(t=r.STATIC_PAGES[l])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:g?o.CommonGAssets.getAssetPath("healthtools-mb.svg"):o.CommonGAssets.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),u&&a.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:s.normalizeLinkSlash(p.TOGETHER_URL_FE+"/"),thumbnail:g?o.CommonGAssets.getAssetPath("community-mb.svg"):o.CommonGAssets.getAssetPath("nav-icons/community.svg"),popupType:"together"}),c&&a.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:s.normalizeLinkSlash(p.HOME_PAGE_URL+"/shop"),thumbnail:o.CommonGAssets.getAssetPath("nav-icons/shop.svg"),popupType:null}),d&&a.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:"ms-MY"===l?s.normalizeLinkSlash(p.HOME_PAGE_URL+"/care/current-location/hospital/"):s.normalizeLinkSlash(p.HOME_PAGE_URL+"/care"),thumbnail:o.CommonGAssets.getAssetPath("nav-icons/care.svg"),popupType:"id-ID"===l?"care":null}),a}),[l,d,u,c])})();(()=>{const{isFirstLogin:e,userState:a}=t.useContext(Ue),{userInfo:l}=a;t.useEffect((()=>{(null==l?void 0:l.id)&&(e?(null==l?void 0:l.email)&&""!==(null==l?void 0:l.email)?window.insider_object={user:Object.assign({uuid:null==l?void 0:l.id,email:null==l?void 0:l.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})}:window.insider_object={user:Object.assign({uuid:null==l?void 0:l.id,sign_up:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})}:(null==l?void 0:l.email)&&""!==(null==l?void 0:l.email)?window.insider_object={user:Object.assign({uuid:null==l?void 0:l.id,email:null==l?void 0:l.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})}:window.insider_object={user:Object.assign({uuid:null==l?void 0:l.id,log_in:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})})}),[])})();const C=g&&!!p,x=!!c,b=!!(null===(l=null===(a=null==c?void 0:c.props)||void 0===a?void 0:a.sponsoredBy)||void 0===l?void 0:l.length),{headerRef:y,defaultHeaderHeight:E,headerHeight:w,headerBottom:k}=(({hasSponsoredBanners:e,isSponsored:a,isShowingSiteWideBanner:l,isMobile:i})=>{const n=t.useRef(null),[o,r]=t.useState(0),[s,d]=t.useState(64),u=t.useCallback(N.default((()=>{var e,t,a,l;const i=(null===(e=n.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=n.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=i+200&&(r(i),d((null===(l=n.current)||void 0===l?void 0:l.getBoundingClientRect().bottom)||o))}),200),[]);t.useEffect((()=>(window.addEventListener("resize",u,{passive:!0}),window.addEventListener("scroll",u,{passive:!0}),u(),()=>{window.removeEventListener("resize",u),window.removeEventListener("scroll",u)})),[]),t.useEffect((()=>{u()}),[i,l,a,e,n.current]);const c=t.useMemo((()=>{let t=56;return l&&(t+=64),a&&(t+=40,e&&(t+=57)),t}),[i,l,e,a]);return{defaultHeaderHeight:c,headerHeight:o||c,headerBottom:s,headerRef:n}})({isShowingSiteWideBanner:C,isSponsored:x,hasSponsoredBanners:b,isMobile:i});return T.default.createElement(Wa,{id:"navigation-v2",style:{"--default-header-height":E+"px","--header-height":`calc(${w}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":k+"px"},className:h},T.default.createElement("section",{ref:y},T.default.createElement(Qa,{menuItems:v,onTopBarAppears:d,logoComponent:f,languageMenu:T.default.createElement(Z,{languageOptions:u,locale:n})})))},Ka=t=>e.__awaiter(void 0,void 0,void 0,(function*(){var e,a,l,i,n,o,c,m,p,g,h,f,v,C,x,b,y,E,w,k,$,M,L;const A={},B="vi-VN_MB"===t;try{const _="tl-PH"===t?"lang=fil":"";try{const[r,u,h,f]=yield Promise.all([fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/categories${_?"?"+_:""}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/spotlights?per_page=10&order_by=start_date${_?"&"+_:""}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/${B?"health-tools":"healthtools"}${_?"?"+_:""}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/${B?"health-tools":"healthtools"}/favorites${_?"?"+_:""}`)).then((e=>e.json()))]);A.categories={items:(null===(a=null===(e=null==r?void 0:r.data)||void 0===e?void 0:e.map)||void 0===a?void 0:a.call(e,_a))||[],spotlights:(null===(o=null===(n=null===(i=null===(l=null==u?void 0:u.data)||void 0===l?void 0:l.articles)||void 0===i?void 0:i.map)||void 0===n?void 0:n.call(i,Ha))||void 0===o?void 0:o.filter(Na))||[]},A.healthTools={items:(null===(m=null===(c=null==h?void 0:h.data)||void 0===c?void 0:c.map)||void 0===m?void 0:m.call(c,Ta))||[],spotlights:(null===(g=null===(p=null==f?void 0:f.data)||void 0===p?void 0:p.map)||void 0===g?void 0:g.call(p,Ta))||[]}}catch(e){}if(B||r.TOGETHER_LOCALES.includes(t))try{const[e,a]=yield Promise.all([fetch(s.normalizeLinkSlash(`${d.getTogetherApiDomain()}/api/v1/community?website_url=https://${r.domainLocales[t]}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getTogetherApiDomain()}/api/v1/options?website_url=https://${r.domainLocales[t]}&meta_key=popular_post`)).then((e=>e.json()))]);A.together={items:(null===(v=null===(f=null===(h=null==e?void 0:e.data)||void 0===h?void 0:h.communities)||void 0===f?void 0:f.map)||void 0===v?void 0:v.call(f,u.formatCommunity))||[],spotlights:(null===(b=null===(x=null===(C=null==a?void 0:a.data)||void 0===C?void 0:C.posts)||void 0===x?void 0:x.map)||void 0===b?void 0:b.call(x,u.formatPost))||[]}}catch(e){}if(r.CARE_LOCALES.includes(t))try{const[e,a]=yield Promise.all([fetch(s.normalizeLinkSlash(d.getCareApiDomain()+`/api/options/setting_menu?site=${r.domainLocales[t]}&type=0`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(d.getCareApiDomain()+`/api/options/setting_menu?site=${r.domainLocales[t]}&type=1`)).then((e=>e.json()))]);A.care={items:(null===(k=null===(w=null===(E=null===(y=null==e?void 0:e._data)||void 0===y?void 0:y.setting_menu)||void 0===E?void 0:E.menu_specialty)||void 0===w?void 0:w.map)||void 0===k?void 0:k.call(w,Da))||[],spotlights:(null===(L=null===(M=null===($=null==a?void 0:a._data.setting_menu)||void 0===$?void 0:$.menu_hospital)||void 0===M?void 0:M.map)||void 0===L?void 0:L.call(M,Pa))||[]}}catch(e){}}catch(e){console.error(e)}return A}));exports.LanguageSwitcher=Z,exports.NavigationLogoutPopup=De,exports.NavigationProfileButton=Pe,exports.NavigationV2=e=>{const t=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return T.default.createElement(Fe,Object.assign({},t),T.default.createElement(Ya,Object.assign({},t)))},exports.ProfileNavigation=Le,exports.getNavMenuContent=Ka,exports.getNavMenuContentWithCache=t=>e.__awaiter(void 0,void 0,void 0,(function*(){return(yield a.getDataWithCache("nav-menu-content",(()=>Ka(t||"en-PH")),(e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)})))||{}})),exports.getTogetherUserPostsApiPath=(e,t,a,l)=>(a||"https://together.hellohealthgroup.com/")+"api/v1/"+H.default(Ge,Object.assign(Object.assign({},l),{websiteUrl:t?"https://marrybaby.vn":`https://${r.domainLocales[e]}`})),exports.isInternalLink=O;