@hhgtech/hhg-components 1.29.497 → 1.29.498

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 (513) hide show
  1. package/build/{InputDate-2efad9b5.js → InputDate-5bc92912.js} +5 -5
  2. package/build/{LastPeriod-ed1ef012.js → LastPeriod-713a65ea.js} +1 -1
  3. package/build/{MobileBottomNavigationIcon-ea6afca1.js → MobileBottomNavigationIcon-d51232c2.js} +3 -3
  4. package/build/{Spinner-fa6dd796.js → Spinner-a4f991b8.js} +1 -1
  5. package/build/{WhatsApp-147538b5.js → WhatsApp-58dd4970.js} +1 -1
  6. package/build/adapters.js +20 -20
  7. package/build/atoms.js +50 -50
  8. package/build/babyGrowth.js +86 -86
  9. package/build/cache.js +2 -2
  10. package/build/care.js +18 -18
  11. package/build/careBookingSearchBar.js +14 -14
  12. package/build/careBookingSearchBarV2.js +15 -15
  13. package/build/components/atoms/logo/logoIcon.d.ts +2 -1
  14. package/build/components/navigationV2/index.d.ts +1 -0
  15. package/build/components.js +104 -104
  16. package/build/{constants-a4b17fbc.js → constants-d2021c32.js} +1 -1
  17. package/build/constants.js +3 -3
  18. package/build/constantsDomainLocales.js +1 -1
  19. package/build/constantsRiskScreener.js +2 -2
  20. package/build/constantsSite.js +2 -2
  21. package/build/{core-d2d13ecb.js → core-313e22a2.js} +1 -1
  22. package/build/{dataTransform-a3e6afd9.js → dataTransform-fce5ba90.js} +1 -1
  23. package/build/ecom.js +5 -5
  24. package/build/{editor-c33a851e.js → editor-8c681d53.js} +11 -11
  25. package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
  26. package/build/embeddedHeathToolCards_babyPoop.js +22 -22
  27. package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
  28. package/build/embeddedHeathToolCards_bmi_bmi.js +27 -27
  29. package/build/embeddedHeathToolCards_bmrBmr.js +27 -27
  30. package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
  31. package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
  32. package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
  33. package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
  34. package/build/esm/{InputDate-49f168d6.js → InputDate-283a464b.js} +5 -5
  35. package/build/esm/{LastPeriod-edef7675.js → LastPeriod-f4521eff.js} +1 -1
  36. package/build/esm/{MobileBottomNavigationIcon-4dc6bf69.js → MobileBottomNavigationIcon-002ac3fe.js} +3 -3
  37. package/build/esm/{Spinner-7add3acc.js → Spinner-8fd732b8.js} +1 -1
  38. package/build/esm/{WhatsApp-a20383dc.js → WhatsApp-19abf17c.js} +1 -1
  39. package/build/esm/adapters.js +20 -20
  40. package/build/esm/atoms.js +50 -50
  41. package/build/esm/babyGrowth.js +86 -86
  42. package/build/esm/cache.js +2 -2
  43. package/build/esm/care.js +18 -18
  44. package/build/esm/careBookingSearchBar.js +14 -14
  45. package/build/esm/careBookingSearchBarV2.js +15 -15
  46. package/build/esm/components/atoms/logo/logoIcon.d.ts +2 -1
  47. package/build/esm/components/navigationV2/index.d.ts +1 -0
  48. package/build/esm/components.js +104 -104
  49. package/build/esm/{constants-8c956e09.js → constants-4c2763d4.js} +1 -1
  50. package/build/esm/constants.js +3 -3
  51. package/build/esm/constantsDomainLocales.js +1 -1
  52. package/build/esm/constantsRiskScreener.js +2 -2
  53. package/build/esm/constantsSite.js +2 -2
  54. package/build/esm/{core-43522474.js → core-9caa0114.js} +1 -1
  55. package/build/esm/{dataTransform-9fb697ea.js → dataTransform-c567e3d6.js} +2 -2
  56. package/build/esm/ecom.js +5 -5
  57. package/build/esm/{editor-f6350408.js → editor-630516cf.js} +11 -11
  58. package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
  59. package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
  60. package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
  61. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +27 -27
  62. package/build/esm/embeddedHeathToolCards_bmrBmr.js +27 -27
  63. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
  64. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
  65. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
  66. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
  67. package/build/esm/footer.js +22 -22
  68. package/build/esm/gAssets.js +2 -2
  69. package/build/esm/{healthTools-5fc1b0a3.js → healthTools-029b1e3b.js} +1 -1
  70. package/build/esm/healthToolsCardWrapper.js +20 -20
  71. package/build/esm/healthToolsForm.js +35 -35
  72. package/build/esm/hooks.js +13 -13
  73. package/build/esm/i18n.js +2 -2
  74. package/build/esm/i18nV2.js +2 -2
  75. package/build/esm/icons/HamburgerWhite.d.ts +4 -0
  76. package/build/esm/icons/LoginBlueWhite.d.ts +4 -0
  77. package/build/esm/icons/StarPair.d.ts +4 -0
  78. package/build/esm/icons/UserPlain.d.ts +4 -0
  79. package/build/esm/icons/index.d.ts +5 -1
  80. package/build/esm/{index-5e6f8fcb.js → index-02bfbfee.js} +14 -14
  81. package/build/esm/{index-23386ea1.js → index-03963d37.js} +9 -9
  82. package/build/esm/{index-4a0d6ffb.js → index-053e7b90.js} +2 -2
  83. package/build/esm/{index-51262156.js → index-08505fc8.js} +32 -32
  84. package/build/esm/{index-584bfe74.js → index-08cede59.js} +7 -7
  85. package/build/esm/{index-c6456ed7.js → index-09da7cf5.js} +2 -2
  86. package/build/esm/{index-e5316142.js → index-13833dd1.js} +1 -1
  87. package/build/esm/{index-d34b6fd5.js → index-19f3e770.js} +2 -2
  88. package/build/esm/{index-9334abf7.js → index-1c5aa60c.js} +18 -18
  89. package/build/esm/{index-aa8b53ca.js → index-200b8bc8.js} +14 -14
  90. package/build/esm/{index-8b657aa5.js → index-27351d40.js} +25 -25
  91. package/build/esm/{index-6bea7861.js → index-2d6472a6.js} +3 -3
  92. package/build/esm/{index-edd1c5ca.js → index-2e5bfdaa.js} +16 -16
  93. package/build/esm/{index-8ab1225b.js → index-2f09d42f.js} +2 -2
  94. package/build/esm/{index-e9286d30.js → index-326acba7.js} +2 -2
  95. package/build/esm/{index-659efdaf.js → index-35e5fb79.js} +4 -4
  96. package/build/esm/{index-4c4c5db9.js → index-37f48821.js} +21 -21
  97. package/build/esm/{index-f0de34e8.js → index-39757e83.js} +5 -5
  98. package/build/esm/{index-75e476c1.js → index-3addb19f.js} +2 -2
  99. package/build/esm/{index-faaeaf15.js → index-4600cb78.js} +32 -32
  100. package/build/esm/{index-d76e4992.js → index-4d5ca276.js} +14 -14
  101. package/build/esm/{index-c6ef3b57.js → index-55f13336.js} +2 -2
  102. package/build/esm/{index-f1e3e61f.js → index-5a7346c3.js} +1 -1
  103. package/build/esm/{index-e4e5afca.js → index-6187b3e5.js} +8 -8
  104. package/build/esm/{index-9726a3d2.js → index-633b28cc.js} +1 -1
  105. package/build/esm/{index-f35b1126.js → index-66f3aa0a.js} +2 -2
  106. package/build/esm/{index-04d9d156.js → index-6965a319.js} +2 -2
  107. package/build/esm/{index-76e8af5e.js → index-6aebc82b.js} +3 -3
  108. package/build/esm/{index-9d22028c.js → index-6b5a6af7.js} +2 -2
  109. package/build/esm/{index-afcf3d86.js → index-74f5cc07.js} +2 -2
  110. package/build/esm/{index-db6803a2.js → index-79ecd1bb.js} +7 -7
  111. package/build/esm/{index-1570165a.js → index-7ddce3c8.js} +1 -1
  112. package/build/esm/{index-a95d7c24.js → index-7eab5b31.js} +22 -22
  113. package/build/esm/{index-5df7467e.js → index-7f14f8b0.js} +26 -26
  114. package/build/esm/{index-a4637d2d.js → index-8051135e.js} +2 -2
  115. package/build/esm/{index-618ab3c4.js → index-805e2e4e.js} +15 -15
  116. package/build/esm/{index-102e63ae.js → index-81fbf719.js} +7 -7
  117. package/build/esm/{index-e574dac5.js → index-8b095b02.js} +16 -16
  118. package/build/esm/{index-05071268.js → index-8d7f1f71.js} +49 -17
  119. package/build/esm/{index-02599b85.js → index-9181155e.js} +2 -2
  120. package/build/esm/{index-a0cd8d6a.js → index-9451b322.js} +744 -714
  121. package/build/esm/{index-3076e3c0.js → index-94a11f6e.js} +18 -18
  122. package/build/esm/{index-a596ab57.js → index-98eb1bf4.js} +15 -15
  123. package/build/esm/{index-314619bc.js → index-9bf109b8.js} +2 -2
  124. package/build/esm/{index-5765326c.js → index-a01edf7c.js} +3 -3
  125. package/build/esm/{index-ce322828.js → index-a080a0fb.js} +17 -17
  126. package/build/esm/{index-a13e5bfe.js → index-a4b6228d.js} +3 -3
  127. package/build/esm/{index-e563e710.js → index-a6593fc5.js} +1 -1
  128. package/build/esm/{index-7dbfc9ee.js → index-a66798d9.js} +1 -1
  129. package/build/esm/{index-78b71928.js → index-a9cae9f8.js} +3 -3
  130. package/build/esm/{index-f23dcdff.js → index-aab829b3.js} +3 -3
  131. package/build/esm/{index-2614b7e2.js → index-b09f44ec.js} +6 -6
  132. package/build/esm/{index-ccfc570e.js → index-b2cc41bc.js} +19 -19
  133. package/build/esm/{index-b8e3b921.js → index-bbb9701a.js} +21 -21
  134. package/build/esm/{index-9ee2d716.js → index-c06c86b3.js} +10 -10
  135. package/build/esm/{index-5d8d9c62.js → index-c807ff34.js} +5 -5
  136. package/build/esm/{index-0e2ad036.js → index-ce4a3f25.js} +1 -1
  137. package/build/esm/{index-4d423d1e.js → index-cf09d09f.js} +9 -9
  138. package/build/esm/{index-cfe4aad9.js → index-d21d8696.js} +3 -3
  139. package/build/esm/{index-2ef6ccc5.js → index-d48cbe53.js} +6 -6
  140. package/build/esm/{index-478529bb.js → index-d55d080a.js} +13 -13
  141. package/build/esm/{index-800f027c.js → index-dbe7d116.js} +3 -3
  142. package/build/esm/{index-8e47a854.js → index-e06a7c13.js} +13 -13
  143. package/build/esm/{index-8f4f6749.js → index-e07018ce.js} +16 -16
  144. package/build/esm/{index-1789481f.js → index-e319e84e.js} +6 -6
  145. package/build/esm/{index-d86419e2.js → index-ed2129fb.js} +2 -2
  146. package/build/esm/{index-00eea2dc.js → index-eda8f4c9.js} +2 -2
  147. package/build/esm/{index-efd12484.js → index-ee4f4d98.js} +14 -14
  148. package/build/esm/{index-47281858.js → index-ef40ccbf.js} +4 -4
  149. package/build/esm/{index-2e3b0511.js → index-f1e54630.js} +3 -3
  150. package/build/esm/{index-35eade4a.js → index-f6ac1b8c.js} +3 -3
  151. package/build/esm/{index-de53bdd9.js → index-fa212bbc.js} +16 -16
  152. package/build/esm/index.css +1 -1
  153. package/build/esm/index.js +130 -130
  154. package/build/esm/{labelSorting-bdb309b9.js → labelSorting-5bcbf60e.js} +4 -4
  155. package/build/esm/lead.js +35 -35
  156. package/build/esm/{logoIcon-6c8720d4.js → logoIcon-9fccc5f7.js} +6 -5
  157. package/build/esm/mantine.js +27 -27
  158. package/build/esm/misc.js +19 -19
  159. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  160. package/build/esm/miscGetSocialList.js +8 -8
  161. package/build/esm/miscScreenSizeContext.js +1 -1
  162. package/build/esm/mobileBottomNavigation.js +5 -5
  163. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  164. package/build/esm/molecules.js +78 -78
  165. package/build/esm/moleculesArticleCard.js +6 -6
  166. package/build/esm/moleculesArticleCardV2.js +17 -17
  167. package/build/esm/navigation.js +47 -47
  168. package/build/esm/navigationLogoutPopup.js +11 -11
  169. package/build/esm/navigationProfileButton.js +28 -28
  170. package/build/esm/onboardingV2.js +30 -30
  171. package/build/esm/organisms.js +57 -57
  172. package/build/esm/{post-a0493a22.js → post-b7fe45c2.js} +2 -2
  173. package/build/esm/profileNavigation.js +20 -20
  174. package/build/esm/progressBar.js +1 -1
  175. package/build/esm/pwg.js +23 -23
  176. package/build/esm/ssoV2.js +31 -31
  177. package/build/esm/{store-06d924e7.js → store-aa9aa06b.js} +3 -3
  178. package/build/esm/subot.js +40 -40
  179. package/build/esm/surveyOrPremiumBanner.js +34 -34
  180. package/build/esm/surveyQuestionCard.js +11 -11
  181. package/build/esm/{surveyThankyouCard-19cb9db9.js → surveyThankyouCard-613a2f53.js} +5 -5
  182. package/build/esm/together.js +57 -57
  183. package/build/esm/togetherApiUtils.js +4 -4
  184. package/build/esm/togetherAtoms.js +31 -31
  185. package/build/esm/togetherComponentGlobalContext.js +4 -4
  186. package/build/esm/togetherMolecules.js +52 -52
  187. package/build/esm/togetherMoleculesCardAuthor.js +29 -29
  188. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  189. package/build/esm/togetherMoleculesProfileDetail.js +40 -40
  190. package/build/esm/togetherOrganisms.js +51 -51
  191. package/build/esm/togetherRichTextEditor.js +18 -18
  192. package/build/esm/togetherShareBox.js +10 -10
  193. package/build/esm/{translationsProvider-5295883a.js → translationsProvider-a7c03201.js} +1 -1
  194. package/build/esm/{treePopoverMenu-156a46d4.js → treePopoverMenu-926f2bd0.js} +19 -19
  195. package/build/esm/types.js +2 -2
  196. package/build/esm/{useHealthToolCache-f7c4ef25.js → useHealthToolCache-80317b15.js} +1 -1
  197. package/build/esm/{usePhoneValidator-ac87e7f6.js → usePhoneValidator-5f3b3c3a.js} +5 -5
  198. package/build/esm/{usePlacesAutocomplete-41f9c210.js → usePlacesAutocomplete-e0d18c1c.js} +1 -1
  199. package/build/esm/useTogetherAuthRequiredAction.js +10 -10
  200. package/build/esm/{utils-1bc4b86c.js → utils-203e9b1e.js} +5 -5
  201. package/build/esm/{utils-b276537a.js → utils-2275d82c.js} +2 -2
  202. package/build/esm/{utils-2f4443c9.js → utils-2cfeb177.js} +2 -2
  203. package/build/esm/{utils-0061a232.js → utils-ffe8c9cf.js} +4 -4
  204. package/build/esm/vaccination.js +22 -22
  205. package/build/footer.js +22 -22
  206. package/build/gAssets.js +2 -2
  207. package/build/{healthTools-a95b0d04.js → healthTools-70e6d818.js} +1 -1
  208. package/build/healthToolsCardWrapper.js +20 -20
  209. package/build/healthToolsForm.js +35 -35
  210. package/build/hooks.js +13 -13
  211. package/build/i18n.js +2 -2
  212. package/build/i18nV2.js +1 -1
  213. package/build/icons/HamburgerWhite.d.ts +4 -0
  214. package/build/icons/LoginBlueWhite.d.ts +4 -0
  215. package/build/icons/StarPair.d.ts +4 -0
  216. package/build/icons/UserPlain.d.ts +4 -0
  217. package/build/icons/index.d.ts +5 -1
  218. package/build/{index-9e83c6bf.js → index-0d497b99.js} +2 -2
  219. package/build/{index-ef51a26b.js → index-113cd139.js} +14 -14
  220. package/build/{index-9acf074f.js → index-114070f9.js} +3 -3
  221. package/build/{index-2ea8eb3f.js → index-12f1c192.js} +5 -5
  222. package/build/{index-9a0ff3fb.js → index-1476e100.js} +5 -5
  223. package/build/{index-adf13b0f.js → index-1c1b101b.js} +87 -36
  224. package/build/{index-49fb19c8.js → index-23a68eb1.js} +18 -18
  225. package/build/{index-938ea15c.js → index-2456fd16.js} +21 -21
  226. package/build/{index-b090480e.js → index-266e87d3.js} +2 -2
  227. package/build/{index-903406a9.js → index-292b5020.js} +1 -1
  228. package/build/{index-796a2ba5.js → index-32bf0573.js} +16 -16
  229. package/build/{index-e1f1547e.js → index-36eda0ad.js} +6 -6
  230. package/build/{index-b8ca3bee.js → index-3a09a4c4.js} +26 -26
  231. package/build/{index-e12d2213.js → index-3a22e925.js} +3 -3
  232. package/build/{index-0f859462.js → index-49755f79.js} +16 -16
  233. package/build/{index-495e564c.js → index-4af2fae3.js} +2 -2
  234. package/build/{index-7da3e9f0.js → index-56e2d93c.js} +10 -10
  235. package/build/{index-c16b755a.js → index-57c30fa2.js} +3 -3
  236. package/build/{index-1d687c60.js → index-5938f8f6.js} +1 -1
  237. package/build/{index-61da4afb.js → index-5a830abd.js} +2 -2
  238. package/build/{index-3f6c6591.js → index-5e0e4f44.js} +32 -32
  239. package/build/{index-1e2cb1dc.js → index-6c3e5c66.js} +13 -13
  240. package/build/{index-3ff08f17.js → index-6e5dcfb0.js} +8 -8
  241. package/build/{index-2bab5d27.js → index-6ea8a4cb.js} +22 -22
  242. package/build/{index-0905e994.js → index-76b147f3.js} +9 -9
  243. package/build/{index-afd5cb7f.js → index-76b699f0.js} +6 -6
  244. package/build/{index-89c9e3a4.js → index-772d03d9.js} +2 -2
  245. package/build/{index-f692a960.js → index-775fa3c5.js} +1 -1
  246. package/build/{index-a37d7b54.js → index-7deb6095.js} +2 -2
  247. package/build/{index-8a313d43.js → index-8254377a.js} +2 -2
  248. package/build/{index-c76747be.js → index-8402a791.js} +1 -1
  249. package/build/{index-47b6143b.js → index-868a1541.js} +1 -1
  250. package/build/{index-e85537d7.js → index-8aae2554.js} +25 -25
  251. package/build/{index-69f120bb.js → index-987e4d86.js} +2 -2
  252. package/build/{index-70673ea3.js → index-9a41f4c2.js} +2 -2
  253. package/build/{index-e72749c7.js → index-a23bedeb.js} +3 -3
  254. package/build/{index-99b2c795.js → index-a598951a.js} +14 -14
  255. package/build/{index-6a3caec9.js → index-a6764c8d.js} +2 -2
  256. package/build/{index-7db2dcf8.js → index-a7547bd4.js} +4 -4
  257. package/build/{index-5b44edb7.js → index-a80cc163.js} +3 -3
  258. package/build/{index-1432ae73.js → index-b2a98e7d.js} +21 -21
  259. package/build/{index-2d59210c.js → index-b309cf68.js} +32 -32
  260. package/build/{index-3ef06fc2.js → index-b438c12d.js} +2 -2
  261. package/build/{index-1e49ff95.js → index-b6220aa3.js} +14 -14
  262. package/build/{index-a6b3abef.js → index-b92a401a.js} +18 -18
  263. package/build/{index-ea892237.js → index-b98c40f1.js} +8 -8
  264. package/build/{index-84659c98.js → index-ba405bcc.js} +17 -17
  265. package/build/{index-502ca9a8.js → index-bb5e8457.js} +4 -4
  266. package/build/{index-ff62c7ed.js → index-bc2585c1.js} +7 -7
  267. package/build/{index-878fdf50.js → index-bd91d0f0.js} +19 -19
  268. package/build/{index-09822055.js → index-bdb23c01.js} +3 -3
  269. package/build/{index-c4470e9f.js → index-c12888b5.js} +3 -3
  270. package/build/{index-b05ef2ce.js → index-c76aeaaf.js} +2 -2
  271. package/build/{index-4e18ec7e.js → index-cd36724e.js} +3 -3
  272. package/build/{index-58b6e99e.js → index-cd41ab00.js} +2 -2
  273. package/build/{index-7365f3dc.js → index-d0f761d2.js} +2 -2
  274. package/build/{index-5f7a18fc.js → index-db072a1d.js} +7 -7
  275. package/build/{index-b9605e9d.js → index-dc65bbcd.js} +15 -15
  276. package/build/{index-2248039e.js → index-dd77c955.js} +16 -16
  277. package/build/{index-f40e34a1.js → index-ddf68858.js} +2 -2
  278. package/build/{index-46fb72b4.js → index-df570192.js} +1 -1
  279. package/build/{index-c86d7c9b.js → index-e5ec050c.js} +6 -6
  280. package/build/{index-b5ad1750.js → index-eea66b32.js} +15 -15
  281. package/build/{index-68f75007.js → index-f0ddbead.js} +2 -2
  282. package/build/{index-5b650da5.js → index-f107f204.js} +1 -1
  283. package/build/{index-7f6caabb.js → index-f33785f5.js} +14 -14
  284. package/build/{index-d1660098.js → index-f4cc94f4.js} +844 -795
  285. package/build/{index-a9fcd200.js → index-f7f4d96d.js} +16 -16
  286. package/build/{index-7e68de22.js → index-f9aea0d3.js} +2 -2
  287. package/build/{index-44361f49.js → index-fb46fecb.js} +13 -13
  288. package/build/{index-24207df2.js → index-fb531b1e.js} +3 -3
  289. package/build/{index-87f4198d.js → index-ff23eaa6.js} +7 -7
  290. package/build/index.css +1 -1
  291. package/build/index.js +138 -134
  292. package/build/{labelSorting-fb438492.js → labelSorting-7b2f8443.js} +4 -4
  293. package/build/lead.js +35 -35
  294. package/build/{logoIcon-b5508a3e.js → logoIcon-ad3352bd.js} +6 -5
  295. package/build/mantine.js +25 -25
  296. package/build/misc.js +19 -19
  297. package/build/miscGetDynamicHealthTool.js +4 -4
  298. package/build/miscGetSocialList.js +8 -8
  299. package/build/miscScreenSizeContext.js +1 -1
  300. package/build/mobileBottomNavigation.js +5 -5
  301. package/build/mobileBottomNavigationIcon.js +5 -5
  302. package/build/molecules.js +78 -78
  303. package/build/moleculesArticleCard.js +6 -6
  304. package/build/moleculesArticleCardV2.js +17 -17
  305. package/build/navigation.js +47 -47
  306. package/build/navigationLogoutPopup.js +11 -11
  307. package/build/navigationProfileButton.js +28 -28
  308. package/build/onboardingV2.js +29 -29
  309. package/build/organisms.js +57 -57
  310. package/build/{post-8e39144d.js → post-75f0383c.js} +2 -2
  311. package/build/profileNavigation.js +20 -20
  312. package/build/progressBar.js +1 -1
  313. package/build/pwg.js +23 -23
  314. package/build/ssoV2.js +29 -29
  315. package/build/{store-7ed1da48.js → store-2fcf7ea7.js} +3 -3
  316. package/build/subot.js +39 -39
  317. package/build/surveyOrPremiumBanner.js +34 -34
  318. package/build/surveyQuestionCard.js +11 -11
  319. package/build/{surveyThankyouCard-2b8f5d47.js → surveyThankyouCard-956d5673.js} +5 -5
  320. package/build/together.js +57 -57
  321. package/build/togetherApiUtils.js +4 -4
  322. package/build/togetherAtoms.js +31 -31
  323. package/build/togetherComponentGlobalContext.js +4 -4
  324. package/build/togetherMolecules.js +52 -52
  325. package/build/togetherMoleculesCardAuthor.js +29 -29
  326. package/build/togetherMoleculesPostImagePreview.js +11 -11
  327. package/build/togetherMoleculesProfileDetail.js +40 -40
  328. package/build/togetherOrganisms.js +51 -51
  329. package/build/togetherRichTextEditor.js +18 -18
  330. package/build/togetherShareBox.js +10 -10
  331. package/build/{translationsProvider-b40053bb.js → translationsProvider-e1f774f2.js} +1 -1
  332. package/build/{treePopoverMenu-611ddca6.js → treePopoverMenu-5ca0e3dd.js} +19 -19
  333. package/build/types.js +2 -2
  334. package/build/{useHealthToolCache-a2f333f8.js → useHealthToolCache-20cb8c88.js} +1 -1
  335. package/build/{usePhoneValidator-3879dea0.js → usePhoneValidator-370fffed.js} +5 -5
  336. package/build/{usePlacesAutocomplete-60c5492d.js → usePlacesAutocomplete-8ed4862d.js} +1 -1
  337. package/build/useTogetherAuthRequiredAction.js +10 -10
  338. package/build/{utils-c87e5fe6.js → utils-6ed78c37.js} +5 -5
  339. package/build/{utils-bf630ca0.js → utils-b29201f8.js} +3 -3
  340. package/build/{utils-fc056a2c.js → utils-b40dc912.js} +2 -2
  341. package/build/{utils-37e106cd.js → utils-d22122bb.js} +2 -2
  342. package/build/vaccination.js +22 -22
  343. package/package.json +1 -1
  344. /package/build/{BMI_BOYS.percentile.monthly-672a928b.js → BMI_BOYS.percentile.monthly-32dfbc91.js} +0 -0
  345. /package/build/{BMI_BOYS.percentile.weekly-cb1443c7.js → BMI_BOYS.percentile.weekly-4f4b8ee2.js} +0 -0
  346. /package/build/{BMI_BOYS.percentile.yearly-54ba198e.js → BMI_BOYS.percentile.yearly-440abd6a.js} +0 -0
  347. /package/build/{BMI_BOYS.zscore.monthly-e44a1c77.js → BMI_BOYS.zscore.monthly-e07fc0ab.js} +0 -0
  348. /package/build/{BMI_BOYS.zscore.weekly-60ff9f9e.js → BMI_BOYS.zscore.weekly-2d1b0186.js} +0 -0
  349. /package/build/{BMI_BOYS.zscore.yearly-47b0740d.js → BMI_BOYS.zscore.yearly-bc9ebf1d.js} +0 -0
  350. /package/build/{BMI_GIRLS.percentile.monthly-239e13cd.js → BMI_GIRLS.percentile.monthly-323a1fd9.js} +0 -0
  351. /package/build/{BMI_GIRLS.percentile.weekly-6ba8d2eb.js → BMI_GIRLS.percentile.weekly-1f3b5cce.js} +0 -0
  352. /package/build/{BMI_GIRLS.percentile.yearly-0ed3a559.js → BMI_GIRLS.percentile.yearly-b5d4ad07.js} +0 -0
  353. /package/build/{BMI_GIRLS.zscore.monthly-bae7a0c9.js → BMI_GIRLS.zscore.monthly-4fed9358.js} +0 -0
  354. /package/build/{BMI_GIRLS.zscore.weekly-d92a45a9.js → BMI_GIRLS.zscore.weekly-a6f6621d.js} +0 -0
  355. /package/build/{BMI_GIRLS.zscore.yearly-96389446.js → BMI_GIRLS.zscore.yearly-db9cfd02.js} +0 -0
  356. /package/build/{ChevronDown-591f565b.js → ChevronDown-b30a6cb7.js} +0 -0
  357. /package/build/{Close-979efd09.js → Close-6e08ac99.js} +0 -0
  358. /package/build/{Google-698097da.js → Google-9772ab58.js} +0 -0
  359. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-ad99582f.js → HEAD CIRCUM_BOYS.percentile.monthly-0375a781.js} +0 -0
  360. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-62927ace.js → HEAD CIRCUM_BOYS.percentile.weekly-e430130f.js} +0 -0
  361. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-34ba7512.js → HEAD CIRCUM_BOYS.percentile.yearly-cea1627e.js} +0 -0
  362. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-6214aaf6.js → HEAD CIRCUM_BOYS.zscore.monthly-5a1daa54.js} +0 -0
  363. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-afdf7d69.js → HEAD CIRCUM_BOYS.zscore.weekly-d46f51e1.js} +0 -0
  364. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-9c7a0ea3.js → HEAD CIRCUM_BOYS.zscore.yearly-532e84ef.js} +0 -0
  365. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-07ff01d2.js → HEAD CIRCUM_GIRLS.percentile.monthly-6dfcdf8d.js} +0 -0
  366. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-9d83eba9.js → HEAD CIRCUM_GIRLS.percentile.weekly-51164e1f.js} +0 -0
  367. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-6c9638c7.js → HEAD CIRCUM_GIRLS.percentile.yearly-376f9c4b.js} +0 -0
  368. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-b0e4930b.js → HEAD CIRCUM_GIRLS.zscore.monthly-11458006.js} +0 -0
  369. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-15a8093f.js → HEAD CIRCUM_GIRLS.zscore.weekly-bb8e1fcf.js} +0 -0
  370. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b4621e10.js → HEAD CIRCUM_GIRLS.zscore.yearly-8fd5405c.js} +0 -0
  371. /package/build/{HEIGHT_BOYS.percentile.monthly-a25ca826.js → HEIGHT_BOYS.percentile.monthly-c5855d06.js} +0 -0
  372. /package/build/{HEIGHT_BOYS.percentile.weekly-8c61f5d2.js → HEIGHT_BOYS.percentile.weekly-dd45811c.js} +0 -0
  373. /package/build/{HEIGHT_BOYS.percentile.yearly-c1df3e24.js → HEIGHT_BOYS.percentile.yearly-bf966ca2.js} +0 -0
  374. /package/build/{HEIGHT_BOYS.zscore.monthly-4da4a448.js → HEIGHT_BOYS.zscore.monthly-162c73ab.js} +0 -0
  375. /package/build/{HEIGHT_BOYS.zscore.weekly-3305726c.js → HEIGHT_BOYS.zscore.weekly-b3c45079.js} +0 -0
  376. /package/build/{HEIGHT_BOYS.zscore.yearly-19ee167b.js → HEIGHT_BOYS.zscore.yearly-0f719bc1.js} +0 -0
  377. /package/build/{HEIGHT_GIRLS.percentile.monthly-03111520.js → HEIGHT_GIRLS.percentile.monthly-99c8100e.js} +0 -0
  378. /package/build/{HEIGHT_GIRLS.percentile.weekly-367044cb.js → HEIGHT_GIRLS.percentile.weekly-9f1db227.js} +0 -0
  379. /package/build/{HEIGHT_GIRLS.percentile.yearly-85b029e5.js → HEIGHT_GIRLS.percentile.yearly-465d7fa9.js} +0 -0
  380. /package/build/{HEIGHT_GIRLS.zscore.monthly-c082e4d0.js → HEIGHT_GIRLS.zscore.monthly-7f9ce32f.js} +0 -0
  381. /package/build/{HEIGHT_GIRLS.zscore.weekly-0e4facca.js → HEIGHT_GIRLS.zscore.weekly-6863df33.js} +0 -0
  382. /package/build/{HEIGHT_GIRLS.zscore.yearly-37abe3e1.js → HEIGHT_GIRLS.zscore.yearly-8dc21270.js} +0 -0
  383. /package/build/{Locale-73e67735.js → Locale-0aa25e48.js} +0 -0
  384. /package/build/{Visible-4acfb4ec.js → Visible-2672b6d9.js} +0 -0
  385. /package/build/{WEIGHT_BOYS.percentile.monthly-3a50ca45.js → WEIGHT_BOYS.percentile.monthly-456153b6.js} +0 -0
  386. /package/build/{WEIGHT_BOYS.percentile.weekly-b5735b1a.js → WEIGHT_BOYS.percentile.weekly-998a4a62.js} +0 -0
  387. /package/build/{WEIGHT_BOYS.percentile.yearly-224be5c8.js → WEIGHT_BOYS.percentile.yearly-225eae12.js} +0 -0
  388. /package/build/{WEIGHT_BOYS.zscore.monthly-353fb2ad.js → WEIGHT_BOYS.zscore.monthly-6a6ae041.js} +0 -0
  389. /package/build/{WEIGHT_BOYS.zscore.weekly-38df2a7b.js → WEIGHT_BOYS.zscore.weekly-7b1ab452.js} +0 -0
  390. /package/build/{WEIGHT_BOYS.zscore.yearly-20b00f8f.js → WEIGHT_BOYS.zscore.yearly-c8b15e61.js} +0 -0
  391. /package/build/{WEIGHT_GIRLS.percentile.monthly-65bc179a.js → WEIGHT_GIRLS.percentile.monthly-07bd6f06.js} +0 -0
  392. /package/build/{WEIGHT_GIRLS.percentile.weekly-d05411d1.js → WEIGHT_GIRLS.percentile.weekly-59631b98.js} +0 -0
  393. /package/build/{WEIGHT_GIRLS.percentile.yearly-791e834e.js → WEIGHT_GIRLS.percentile.yearly-d887f7bd.js} +0 -0
  394. /package/build/{WEIGHT_GIRLS.zscore.monthly-72be6ef4.js → WEIGHT_GIRLS.zscore.monthly-a9aa1fcd.js} +0 -0
  395. /package/build/{WEIGHT_GIRLS.zscore.weekly-03592992.js → WEIGHT_GIRLS.zscore.weekly-3d6eb64d.js} +0 -0
  396. /package/build/{WEIGHT_GIRLS.zscore.yearly-1f9fb4ef.js → WEIGHT_GIRLS.zscore.yearly-af7121db.js} +0 -0
  397. /package/build/{ageGenerate-ec7b6680.js → ageGenerate-ae813b38.js} +0 -0
  398. /package/build/{animation-93e8fd89.js → animation-cede1a92.js} +0 -0
  399. /package/build/{constants-7484821d.js → constants-15104884.js} +0 -0
  400. /package/build/{constants-6ac2eab2.js → constants-32bfbdcf.js} +0 -0
  401. /package/build/{constants-f313f093.js → constants-cf83d2f2.js} +0 -0
  402. /package/build/{context-5d1211b0.js → context-3aaeaa26.js} +0 -0
  403. /package/build/{dataTransform-759bb2bd.js → dataTransform-7efe4007.js} +0 -0
  404. /package/build/esm/{BMI_BOYS.percentile.monthly-78185564.js → BMI_BOYS.percentile.monthly-ad82dafb.js} +0 -0
  405. /package/build/esm/{BMI_BOYS.percentile.weekly-55beba8c.js → BMI_BOYS.percentile.weekly-c33cda29.js} +0 -0
  406. /package/build/esm/{BMI_BOYS.percentile.yearly-fab782e1.js → BMI_BOYS.percentile.yearly-7e158a78.js} +0 -0
  407. /package/build/esm/{BMI_BOYS.zscore.monthly-e98a83d1.js → BMI_BOYS.zscore.monthly-672e34e2.js} +0 -0
  408. /package/build/esm/{BMI_BOYS.zscore.weekly-3c1d61a7.js → BMI_BOYS.zscore.weekly-ce4c93e3.js} +0 -0
  409. /package/build/esm/{BMI_BOYS.zscore.yearly-617f13d8.js → BMI_BOYS.zscore.yearly-4ef41b88.js} +0 -0
  410. /package/build/esm/{BMI_GIRLS.percentile.monthly-4191d9b8.js → BMI_GIRLS.percentile.monthly-aa997a8a.js} +0 -0
  411. /package/build/esm/{BMI_GIRLS.percentile.weekly-ca900191.js → BMI_GIRLS.percentile.weekly-e7f636d2.js} +0 -0
  412. /package/build/esm/{BMI_GIRLS.percentile.yearly-8f852686.js → BMI_GIRLS.percentile.yearly-d9bdc0f7.js} +0 -0
  413. /package/build/esm/{BMI_GIRLS.zscore.monthly-bb6d5032.js → BMI_GIRLS.zscore.monthly-311a5b21.js} +0 -0
  414. /package/build/esm/{BMI_GIRLS.zscore.weekly-f9e482dc.js → BMI_GIRLS.zscore.weekly-3b19ef9d.js} +0 -0
  415. /package/build/esm/{BMI_GIRLS.zscore.yearly-2c66296e.js → BMI_GIRLS.zscore.yearly-6a18d10e.js} +0 -0
  416. /package/build/esm/{ChevronDown-c0372b18.js → ChevronDown-923f1f7e.js} +0 -0
  417. /package/build/esm/{Close-ae615aa1.js → Close-6db34fea.js} +0 -0
  418. /package/build/esm/{Google-b2705a53.js → Google-105a0bd0.js} +0 -0
  419. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a93e9652.js → HEAD CIRCUM_BOYS.percentile.monthly-4eb99bd7.js} +0 -0
  420. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-43e4f2df.js → HEAD CIRCUM_BOYS.percentile.weekly-fa18d543.js} +0 -0
  421. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-2ce794f9.js → HEAD CIRCUM_BOYS.percentile.yearly-6ccb6331.js} +0 -0
  422. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-52b27e37.js → HEAD CIRCUM_BOYS.zscore.monthly-9d65f207.js} +0 -0
  423. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-ee0ac48e.js → HEAD CIRCUM_BOYS.zscore.weekly-91200aad.js} +0 -0
  424. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-8fa9e6f7.js → HEAD CIRCUM_BOYS.zscore.yearly-2b873e1b.js} +0 -0
  425. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-de3f5eac.js → HEAD CIRCUM_GIRLS.percentile.monthly-f0d09df3.js} +0 -0
  426. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-d0d1e519.js → HEAD CIRCUM_GIRLS.percentile.weekly-b3a57032.js} +0 -0
  427. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-0923df0f.js → HEAD CIRCUM_GIRLS.percentile.yearly-af6b9395.js} +0 -0
  428. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-992431f5.js → HEAD CIRCUM_GIRLS.zscore.monthly-48fc818e.js} +0 -0
  429. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2804d8fa.js → HEAD CIRCUM_GIRLS.zscore.weekly-758a8af7.js} +0 -0
  430. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-a06b70f0.js → HEAD CIRCUM_GIRLS.zscore.yearly-b6fd02e6.js} +0 -0
  431. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e6cf3c3c.js → HEIGHT_BOYS.percentile.monthly-1b179bcc.js} +0 -0
  432. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e302997f.js → HEIGHT_BOYS.percentile.weekly-263a827e.js} +0 -0
  433. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-8d90f34f.js → HEIGHT_BOYS.percentile.yearly-ad910726.js} +0 -0
  434. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e4d3ce37.js → HEIGHT_BOYS.zscore.monthly-6109aba8.js} +0 -0
  435. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-b4f709aa.js → HEIGHT_BOYS.zscore.weekly-0fb4d04e.js} +0 -0
  436. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-66d868b5.js → HEIGHT_BOYS.zscore.yearly-4b82993d.js} +0 -0
  437. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-b69da733.js → HEIGHT_GIRLS.percentile.monthly-7cac2c98.js} +0 -0
  438. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-82f4cc8f.js → HEIGHT_GIRLS.percentile.weekly-66bc8e59.js} +0 -0
  439. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-ae5ca574.js → HEIGHT_GIRLS.percentile.yearly-bb2d3d2a.js} +0 -0
  440. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c87fff30.js → HEIGHT_GIRLS.zscore.monthly-90ec4236.js} +0 -0
  441. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b7ac1ddf.js → HEIGHT_GIRLS.zscore.weekly-e8231346.js} +0 -0
  442. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-dc3c7cca.js → HEIGHT_GIRLS.zscore.yearly-f4f6ab99.js} +0 -0
  443. /package/build/esm/{Locale-28bde902.js → Locale-0e687ff5.js} +0 -0
  444. /package/build/esm/{Visible-9e2f26e1.js → Visible-868c507c.js} +0 -0
  445. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-9b675537.js → WEIGHT_BOYS.percentile.monthly-7501d991.js} +0 -0
  446. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3be77fd4.js → WEIGHT_BOYS.percentile.weekly-bfca8d7a.js} +0 -0
  447. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-602dab4c.js → WEIGHT_BOYS.percentile.yearly-42ddf98f.js} +0 -0
  448. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-60b975b1.js → WEIGHT_BOYS.zscore.monthly-aa91e2f3.js} +0 -0
  449. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-c2a33d8b.js → WEIGHT_BOYS.zscore.weekly-d3e0f69d.js} +0 -0
  450. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-a0a153c2.js → WEIGHT_BOYS.zscore.yearly-efaa901d.js} +0 -0
  451. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-fd3a2287.js → WEIGHT_GIRLS.percentile.monthly-c7731956.js} +0 -0
  452. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-03b5654f.js → WEIGHT_GIRLS.percentile.weekly-c13bac35.js} +0 -0
  453. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-5135588d.js → WEIGHT_GIRLS.percentile.yearly-000a8832.js} +0 -0
  454. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-032f0a2b.js → WEIGHT_GIRLS.zscore.monthly-6e21a9bc.js} +0 -0
  455. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-9c9e1dfc.js → WEIGHT_GIRLS.zscore.weekly-8b50d0a0.js} +0 -0
  456. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-38597c01.js → WEIGHT_GIRLS.zscore.yearly-5179889b.js} +0 -0
  457. /package/build/esm/{ageGenerate-fad1fad6.js → ageGenerate-6bbf0037.js} +0 -0
  458. /package/build/esm/{animation-65bd7658.js → animation-8c67ea62.js} +0 -0
  459. /package/build/esm/{constants-94763d10.js → constants-3db9e07a.js} +0 -0
  460. /package/build/esm/{constants-d8e15033.js → constants-534406dc.js} +0 -0
  461. /package/build/esm/{constants-23d34d77.js → constants-a9f0b321.js} +0 -0
  462. /package/build/esm/{context-e4acb779.js → context-06e735a2.js} +0 -0
  463. /package/build/esm/{dataTransform-695a9bac.js → dataTransform-caa47e1d.js} +0 -0
  464. /package/build/esm/{index-a930401d.js → index-3770342b.js} +0 -0
  465. /package/build/esm/{index-5515e8cb.js → index-3ed24e50.js} +0 -0
  466. /package/build/esm/{index-b49f2b93.js → index-4b7d3df4.js} +0 -0
  467. /package/build/esm/{index-d0161ed3.js → index-87f59fcb.js} +0 -0
  468. /package/build/esm/{index-46af32bd.js → index-957ad8bc.js} +0 -0
  469. /package/build/esm/{index-cf89c650.js → index-99a6e238.js} +0 -0
  470. /package/build/esm/{index-dc3eb3b9.js → index-beb3ccde.js} +0 -0
  471. /package/build/esm/{index-c3dfb7dd.js → index-d589b8b4.js} +0 -0
  472. /package/build/esm/{index-18c2a8d9.js → index-ffe09d08.js} +0 -0
  473. /package/build/esm/{index.styles-c7224475.js → index.styles-f9403cd8.js} +0 -0
  474. /package/build/esm/{localizeNumberFormat-b046e207.js → localizeNumberFormat-ecd8859f.js} +0 -0
  475. /package/build/esm/{normalizeLink-45806ec4.js → normalizeLink-4e7809ca.js} +0 -0
  476. /package/build/esm/{number-75624342.js → number-6f22ec5a.js} +0 -0
  477. /package/build/esm/{paths-2038b75f.js → paths-4bcff645.js} +0 -0
  478. /package/build/esm/{shared-81da4ce8.js → shared-93e28ff6.js} +0 -0
  479. /package/build/esm/{translationsContext-403d37e6.js → translationsContext-ec597c09.js} +0 -0
  480. /package/build/esm/{tslib.es6-78b606f6.js → tslib.es6-4c2b392a.js} +0 -0
  481. /package/build/esm/{types-eeaec5d9.js → types-a88ea33c.js} +0 -0
  482. /package/build/esm/{types-2c0cbc81.js → types-f3b28c80.js} +0 -0
  483. /package/build/esm/{useIsInit-eb9ba0a9.js → useIsInit-19f924c2.js} +0 -0
  484. /package/build/esm/{useOutsideClick-ad5ab22f.js → useOutsideClick-7f385522.js} +0 -0
  485. /package/build/esm/{useScrollbarSize-ecff6ecd.js → useScrollbarSize-73a9e3bc.js} +0 -0
  486. /package/build/esm/{useUniqueId-63c3d1ac.js → useUniqueId-1f0e04cb.js} +0 -0
  487. /package/build/esm/{utils-13a041bc.js → utils-3ea907e9.js} +0 -0
  488. /package/build/esm/{utils-87ed54ce.js → utils-9da52e63.js} +0 -0
  489. /package/build/{index-d0dab534.js → index-00b07de3.js} +0 -0
  490. /package/build/{index-6fdcb4cf.js → index-23163439.js} +0 -0
  491. /package/build/{index-ff59e4bc.js → index-2d2d16ea.js} +0 -0
  492. /package/build/{index-f951cace.js → index-69aefe45.js} +0 -0
  493. /package/build/{index-d6bf8662.js → index-b6cbae51.js} +0 -0
  494. /package/build/{index-35ba8f6c.js → index-c119b13b.js} +0 -0
  495. /package/build/{index-acc8f2da.js → index-d2532a99.js} +0 -0
  496. /package/build/{index-98dc6cc7.js → index-d36d7cad.js} +0 -0
  497. /package/build/{index-b02571be.js → index-fc98883d.js} +0 -0
  498. /package/build/{index.styles-099ebf20.js → index.styles-2bbe7c2a.js} +0 -0
  499. /package/build/{localizeNumberFormat-7a57dc14.js → localizeNumberFormat-b63b7ab9.js} +0 -0
  500. /package/build/{normalizeLink-6a2361cc.js → normalizeLink-55887f2e.js} +0 -0
  501. /package/build/{number-4043360d.js → number-4f4e260d.js} +0 -0
  502. /package/build/{paths-5d8e3e38.js → paths-2ec032a8.js} +0 -0
  503. /package/build/{shared-fd902766.js → shared-d700ff7f.js} +0 -0
  504. /package/build/{translationsContext-1a788810.js → translationsContext-cef5ed06.js} +0 -0
  505. /package/build/{tslib.es6-cd12fb57.js → tslib.es6-5e70b71c.js} +0 -0
  506. /package/build/{types-41af1a9a.js → types-96d526ba.js} +0 -0
  507. /package/build/{types-1d0d9375.js → types-cfc32503.js} +0 -0
  508. /package/build/{useIsInit-9b941e73.js → useIsInit-9c8afbb0.js} +0 -0
  509. /package/build/{useOutsideClick-bfeff3f3.js → useOutsideClick-0b72cf56.js} +0 -0
  510. /package/build/{useScrollbarSize-2edf843f.js → useScrollbarSize-cbfe5647.js} +0 -0
  511. /package/build/{useUniqueId-0bf9689d.js → useUniqueId-eb7ad875.js} +0 -0
  512. /package/build/{utils-683bfafc.js → utils-af19daf3.js} +0 -0
  513. /package/build/{utils-db7f5cb0.js → utils-b7fa667f.js} +0 -0
@@ -1,48 +1,58 @@
1
- import { _ as __rest, a as __awaiter } from './tslib.es6-78b606f6.js';
1
+ import { _ as __rest, a as __awaiter } from './tslib.es6-4c2b392a.js';
2
+ import * as React from 'react';
2
3
  import React__default, { useContext, useState, useCallback, useEffect, useMemo, useRef } from 'react';
3
- import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-9ee2d716.js';
4
- import { L as LOCALE_SPECS, S as STATIC_PAGES, a as ZINDEX_HEADER, c as VIDEO_LOCALES, d as LOCALE_HAS_COMMUNITY_SITE, e as CARE_LOCALES } from './index-6bea7861.js';
5
- import { e as normalizeLink, n as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-45806ec4.js';
6
- import { a as formatCommunity, b as formatPost } from './dataTransform-9fb697ea.js';
4
+ import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-c06c86b3.js';
5
+ import { L as LOCALE_SPECS, S as STATIC_PAGES, a as ZINDEX_HEADER, V as VIDEO_LOCALES, c as LOCALE_HAS_COMMUNITY_SITE, C as CARE_LOCALES } from './index-2d6472a6.js';
6
+ import { e as normalizeLink, n as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-4e7809ca.js';
7
+ import { f as formatCommunity, a as formatPost } from './dataTransform-c567e3d6.js';
7
8
  import { Close, Logo } from '@hhgtech/icons/core';
8
- import './translationsContext-403d37e6.js';
9
+ import './translationsContext-ec597c09.js';
9
10
  import styled from '@emotion/styled';
10
- import { I as Input } from './index-23386ea1.js';
11
+ import { I as Input } from './index-03963d37.js';
11
12
  import { theme } from './miscTheme.js';
12
- import { a as NavigationContext, u as useCSSFocusPopupHelper, N as NavigationProfileButton, b as NavigationProvider } from './index-05071268.js';
13
+ import { a as NavigationContext, u as useCSSFocusPopupHelper, N as NavigationProfileButton, b as NavigationProvider } from './index-8d7f1f71.js';
13
14
  import { ArrowRight, ChatAi } from '@hhgtech/icons/other';
14
15
  import { createStyles, Box, Indicator, useMantineTheme, clsx } from '@mantine/core';
15
- import { L as Logo$1 } from './index-102e63ae.js';
16
+ import { L as Logo$1 } from './index-81fbf719.js';
16
17
  import throttle from 'lodash/throttle';
17
18
  import '@mantine/dates';
18
- import { V as VideoType } from './index-9726a3d2.js';
19
- import { C as CommonGAssets } from './index-46af32bd.js';
20
- import './index-e4e5afca.js';
21
- import { T as Text } from './index-02599b85.js';
22
- import { B as Button } from './index-800f027c.js';
23
- import './index-a930401d.js';
24
- import './index.styles-c7224475.js';
19
+ import { V as VideoType } from './index-633b28cc.js';
20
+ import { C as CommonGAssets } from './index-957ad8bc.js';
21
+ import './index-6187b3e5.js';
22
+ import { T as Text } from './index-9181155e.js';
23
+ import { B as Button } from './index-dbe7d116.js';
24
+ import './index-3770342b.js';
25
+ import './index.styles-f9403cd8.js';
25
26
  import '@mantine/hooks';
26
- import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-87ed54ce.js';
27
- import './index-a13e5bfe.js';
28
- import { L as LOCALISED_SLUGS } from './constants-8c956e09.js';
29
- import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-06d924e7.js';
30
- import { L as LOCALIZED_SLUGS } from './constants-94763d10.js';
31
- import { u as useTranslations } from './index-e563e710.js';
32
- import { H as Heading } from './index-75e476c1.js';
33
- import { I as Indicator$1 } from './index-7dbfc9ee.js';
34
- import { u as useIsInit } from './useIsInit-eb9ba0a9.js';
27
+ import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-9da52e63.js';
28
+ import './index-a4b6228d.js';
29
+ import { L as LOCALISED_SLUGS } from './constants-4c2763d4.js';
30
+ import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-aa9aa06b.js';
31
+ import { I as Indicator$1 } from './index-a66798d9.js';
32
+ import { u as useTranslations } from './index-a6593fc5.js';
33
+ import { u as useIsInit } from './useIsInit-19f924c2.js';
34
+ import { L as LOCALIZED_SLUGS } from './constants-3db9e07a.js';
35
35
  import { setDefaultClass } from './miscDefaultClassWrapper.js';
36
- import { B as Button$1 } from './index-314619bc.js';
36
+ import { B as Button$1 } from './index-9bf109b8.js';
37
+ import { H as Heading } from './index-3addb19f.js';
37
38
  import formatString from 'string-format';
38
39
  import { domainLocales } from './constantsDomainLocales.js';
40
+ import { C as Container } from './index-beb3ccde.js';
39
41
  import dayjs from 'dayjs';
40
42
  import relativeTime from 'dayjs/plugin/relativeTime';
41
- import { U as UserAvatar } from './index-00eea2dc.js';
42
- import { C as Container } from './index-dc3eb3b9.js';
43
- import { L as LOCALE } from './Locale-28bde902.js';
43
+ import { U as UserAvatar } from './index-eda8f4c9.js';
44
+ import { L as LOCALE } from './Locale-0e687ff5.js';
44
45
  import debounce from 'lodash/debounce';
45
- import { g as getDataWithCache } from './core-43522474.js';
46
+ import { g as getDataWithCache } from './core-9caa0114.js';
47
+
48
+ const HamburgerWhite = (props) => (React.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
49
+ React.createElement("path", { d: "M4 12H20", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
50
+ React.createElement("path", { d: "M4 7H20", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
51
+ React.createElement("path", { d: "M4 17H20", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })));
52
+
53
+ const StarPair = (props) => (React.createElement("svg", Object.assign({ width: "22", height: "28", viewBox: "0 0 22 28", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
54
+ React.createElement("path", { d: "M6.35278 10.7516C6.42759 10.976 6.63881 11.1279 6.87534 11.1279C7.11187 11.1279 7.322 10.976 7.39791 10.7516C7.68947 9.87691 8.37585 9.19053 9.25054 8.89896C9.47497 8.82415 9.62679 8.61403 9.62679 8.3775C9.62679 8.14097 9.47497 7.93084 9.25054 7.85603C8.37585 7.56446 7.68947 6.87809 7.39791 6.00339C7.24719 5.55453 6.5046 5.55453 6.35388 6.00339C6.06231 6.87809 5.37594 7.56446 4.50125 7.85603C4.27682 7.93084 4.125 8.14097 4.125 8.3775C4.125 8.61403 4.27682 8.82415 4.50125 8.89896C5.37565 9.19043 6.06193 9.87699 6.35278 10.7516Z", fill: "#2743AD" }),
55
+ React.createElement("path", { d: "M20.1723 14.3286L18.5342 13.6789C16.821 12.9995 15.4655 11.6411 14.7897 9.92641L14.1396 8.27697C13.9232 7.72994 13.0262 7.72994 12.8097 8.27697L12.1597 9.92641C11.4839 11.6411 10.1284 12.9995 8.41517 13.6789L6.77705 14.3286C6.5044 14.4367 6.32422 14.7016 6.32422 14.9952C6.32422 15.2888 6.50345 15.5537 6.77705 15.6618L8.41517 16.3115C10.1284 16.991 11.4839 18.3494 12.1597 20.064L12.8097 21.7135C12.9175 21.987 13.1815 22.1668 13.4742 22.1668C13.7669 22.1668 14.031 21.987 14.1387 21.7135L14.7888 20.064C15.4646 18.3494 16.8201 16.991 18.5333 16.3115L20.1714 15.6618C20.444 15.5537 20.6242 15.2888 20.6242 14.9952C20.6242 14.7016 20.4459 14.4367 20.1723 14.3286Z", fill: "#2743AD" })));
46
56
 
47
57
  const StyleInput = styled(Input) `
48
58
  .mantine-Input-input {
@@ -75,7 +85,7 @@ const StyleInput = styled(Input) `
75
85
 
76
86
  const HHG_SEARCH_BACK_KEY = 'hhg_search_history';
77
87
  const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, isRedirectSearchPage = false, }) => {
78
- const { locale, siteType } = useContext(NavigationContext);
88
+ const { locale, siteType, isWinCashBackTheme: winCashBackTheme, } = useContext(NavigationContext);
79
89
  const [keyword, setKeyword] = useState('');
80
90
  const [eventCategoryTracking, setEventCategoryTracking] = useState('Search From Another Page');
81
91
  const { t } = useTranslations();
@@ -139,7 +149,7 @@ const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, is
139
149
  goToSearchPage('');
140
150
  }
141
151
  }, rightSection: keyword ? (React__default.createElement("div", { className: "close-icon-wrapper", onClick: () => setKeyword(''), "data-event-category": "Search Page", "data-event-action": "Delete Search" },
142
- React__default.createElement(Close, { size: 17, color: theme.colors.white }))) : (''), icon: React__default.createElement("a", { "data-event-category": "Search Button", "data-event-action": "Click", className: "search-icon-btn", onClick: () => {
152
+ React__default.createElement(Close, { size: 17, color: theme.colors.white }))) : winCashBackTheme ? (React__default.createElement(StarPair, { className: "star-pair-icon" })) : (''), icon: React__default.createElement("a", { "data-event-category": "Search Button", "data-event-action": "Click", className: "search-icon-btn", onClick: () => {
143
153
  if ((isMobile && isHomepage) || isRedirectSearchPage) {
144
154
  goToSearchPage('');
145
155
  }
@@ -191,208 +201,10 @@ const DisplayWrapper = ({ forceDisplay, mediaQueryKey, children, className, styl
191
201
  return (React__default.createElement(StyledDisplayWrapper, { lowerBound: forceDisplay ? 0 : lowerBoundValue, upperBound: forceDisplay ? 0 : upperBoundValue, className: className, style: style }, children));
192
202
  };
193
203
 
194
- var styles$2 = {"menuContainer":"y5VJdvw","menuIcon":"oVhOSCy","menuIconWrapper":"pX8OXTM"};
195
-
196
- function ClosePopupIcon({ className }) {
197
- return (React__default.createElement("div", null,
198
- React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
199
- React__default.createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" }))));
200
- }
201
-
202
- function HamburgerIcon({ siteType, enableSearch, className, style, }) {
203
- if (siteType === 'helloSites') {
204
- return (React__default.createElement("div", { className: "hamburger-container" },
205
- React__default.createElement("img", { "data-list-type": "Header", "data-content-type": "Navigation", "data-content-topic": "Hamburger", src: enableSearch
206
- ? CommonGAssets.getAssetPath('hamburgerMenuNewWithSearch.svg')
207
- : CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: Object.assign({ width: '24px', height: '24px' }, style), alt: "home", className: className, loading: "lazy" })));
208
- }
209
- /** Marry Baby */
210
- return (React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
211
- React__default.createElement("path", { d: "M3.35 15a.65.65 0 0 1 .65-.65h10a.65.65 0 1 1 0 1.3H4a.65.65 0 0 1-.65-.65m0-6A.65.65 0 0 1 4 8.35h16a.65.65 0 1 1 0 1.3H4A.65.65 0 0 1 3.35 9", fill: "#3E3F58" })));
212
- }
213
-
214
- const StyledMasterMenuContainer = styled.div `
215
- position: fixed;
216
- z-index: 201;
217
- top: calc(100% - 1px);
218
- width: 100%;
219
- height: calc(100vh - var(--header-bottom));
220
- overflow-x: hidden;
221
- overflow-y: auto;
222
- background: white;
223
- display: flex;
224
- flex-direction: column;
225
- padding-bottom: 0;
226
- left: 0;
227
- .hhgcomp-navigation-popupwrapper-menuwrapper {
228
- position: unset;
229
- }
230
- `;
231
- styled.div `
232
- padding: 16px;
233
- padding-bottom: 12px;
234
- .fake-search-input {
235
- pointer-events: none;
236
- input {
237
- line-height: 20px;
238
- padding-top: 10px;
239
- padding-bottom: 10px;
240
- }
241
- }
242
- &[data-theme='marryBaby'] {
243
- input {
244
- background: ${theme.mbColors.lightGray};
245
- border-radius: 16px;
246
- border: none;
247
- }
248
- }
249
- `;
250
- const StyledWrapper = styled.div `
251
- display: block;
252
- overflow-y: auto;
253
- flex: 1;
254
- padding-bottom: 16px;
255
- &::-webkit-scrollbar {
256
- width: 0;
257
- display: none;
258
- }
259
- `;
260
- const StyleWrapperSearch = styled.div `
261
- padding: 0 16px;
262
- `;
263
-
264
- const Phone = (_a) => {
265
- var { size = 24, color = theme.colors.neutral600 } = _a, rest = __rest(_a, ["size", "color"]);
266
- return (React__default.createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
267
- React__default.createElement("path", { d: "M6.088 18.75q-.63 0-1.068-.437a1.45 1.45 0 0 1-.438-1.07V2.757q0-.63.438-1.068a1.45 1.45 0 0 1 1.068-.438h7.82q.633 0 1.07.438.437.437.437 1.068v14.488q0 .63-.437 1.069a1.45 1.45 0 0 1-1.07.437zm3.91-1.859a.7.7 0 0 0 .522-.216.7.7 0 0 0 .216-.521.7.7 0 0 0-.216-.522.7.7 0 0 0-.521-.215.7.7 0 0 0-.522.215.7.7 0 0 0-.215.522.7.7 0 0 0 .215.521.7.7 0 0 0 .522.216m-4.166-3.333h8.333V4.792H5.832z", fill: color })));
268
- };
269
-
270
- const StyledItemGridLeft = styled.div `
271
- padding-right: 1rem;
272
- background: #ffffff;
273
- padding: 5px 15px;
274
- ${MediaQueries.mbUp} {
275
- border-right: 1px solid #e4e8ec;
276
- display: flex;
277
- flex-direction: column;
278
- justify-content: space-between;
279
- }
280
- `;
281
- const StyledItem$6 = styled.a `
282
- padding: 10px 0;
283
- position: relative;
284
-
285
- display: flex;
286
- align-items: center;
287
- &[data-is-mobile-tool='true'] {
288
- align-items: flex-start;
289
- .name,
290
- .phone-icon {
291
- margin-top: 4px;
292
- }
293
- }
294
- text-decoration: none;
295
- color: ${theme.colors.gray800};
296
- * {
297
- pointer-events: none;
298
- }
299
- .name {
300
- font-size: 16px;
301
- font-weight: 400;
302
- }
303
-
304
- &[data-theme='marryBaby']:hover,
305
- &[data-theme='marryBaby'][data-active='true'] {
306
- p {
307
- color: ${theme.mbColors.pink};
308
- }
309
- .icon {
310
- background-color: ${theme.mbColors.lightPink};
311
- }
312
- }
313
- &[data-theme='helloSites']:hover,
314
- &[data-theme='helloSites'][data-active='true'] {
315
- p {
316
- color: ${theme.colors.primaryActive};
317
- }
318
- }
319
- a {
320
- }
321
-
322
- &[data-theme='marryBaby'] {
323
- .icon {
324
- display: flex;
325
- align-items: center;
326
- justify-content: center;
327
- max-width: 40px;
328
- width: 100%;
329
- height: 40px;
330
- border-radius: 50%;
331
- background-color: ${theme.mbColors.lightGray};
332
- img {
333
- border-radius: 50%;
334
- }
335
- }
336
- }
337
- `;
338
- const StyledHeading$1 = styled.div `
339
- margin: 15px 0;
340
- ${MediaQueries.mbDown} {
341
- display: none;
342
- }
343
- `;
344
- const StyledIconNav = styled.div `
345
- display: flex;
346
- position: absolute;
347
- right: 0;
348
- ${MediaQueries.mbUp} {
349
- &.arrow-icon {
350
- display: none;
351
- }
352
- }
353
- `;
354
- const StyledItemAll = styled.div `
355
- display: flex;
356
- align-items: center;
357
- color: ${theme.colors.primaryBase};
358
- font-size: ${theme.sizes.fsParagraph4};
359
- font-weight: ${theme.sizes.fwBold};
360
- line-height: 24px;
361
- font-size: 14px;
362
- font-weight: 600;
363
- &[data-theme='marryBaby'] {
364
- color: ${theme.mbColors.pink};
365
- }
366
- `;
367
- const StyledImageWrapper = styled.div `
368
- display: flex;
369
- align-items: center;
370
- margin-left: 10px;
371
- `;
372
- const StyledViewMore$1 = styled.a `
373
- border: 1px solid ${theme.colors.primaryBase};
374
- &[data-theme='marryBaby'] {
375
- border: 1px solid ${theme.mbColors.pink};
376
-
377
- svg path {
378
- stroke: ${theme.mbColors.pink};
379
- }
380
- }
381
- position: relative;
382
- display: flex;
383
- align-items: center;
384
- justify-content: center;
385
- padding: 6px;
386
- border-radius: 5px;
387
- margin-top: 20px;
388
- ${MediaQueries.mbDown} {
389
- display: none;
390
- }
391
- `;
392
-
393
- var styles$1 = {"menuIconWrapper":"wnUb-dV","menuButton":"cjbOxWe","itemNavButton":"-sx0jrx","scale":"EDlp5Zf"};
204
+ var styles$2 = {"menuIconWrapper":"wnUb-dV","menuButton":"cjbOxWe","itemNavButton":"-sx0jrx","scale":"EDlp5Zf"};
394
205
 
395
206
  const ItemMenu = ({ item, menu }) => {
207
+ const { isWinCashBackTheme: winCashBackTheme } = useContext(NavigationContext);
396
208
  const { containerRef, onButtonMouseDown, onClose } = useCSSFocusPopupHelper({
397
209
  allowBgScroll: true,
398
210
  });
@@ -400,18 +212,22 @@ const ItemMenu = ({ item, menu }) => {
400
212
  if (!item.popupType && item.link) {
401
213
  return (React__default.createElement(NewWrapper, { isNew: item.isNew },
402
214
  React__default.createElement("a", { className: `hhgcomp-navigation-itemnav-headeritem ${!isInit ? `menu-handler-${item.id}` : ''}`, tabIndex: 0, href: item.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link },
403
- React__default.createElement("div", { "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, className: styles$1.menuButton }, item.name))));
215
+ React__default.createElement("div", { "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, className: styles$2.menuButton }, item.name))));
404
216
  }
405
217
  return (React__default.createElement(NewWrapper, { isNew: item.isNew },
406
- React__default.createElement("div", { ref: containerRef, className: `hhgcomp-navigation-itemnav-headeritem ${!isInit ? `menu-handler-${item.id}` : ''}`, tabIndex: 0, key: item.id, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link },
407
- React__default.createElement("div", { "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, onMouseDown: onButtonMouseDown, className: styles$1.menuButton },
218
+ React__default.createElement("div", { ref: containerRef, className: `hhgcomp-navigation-itemnav-headeritem ${!isInit ? `menu-handler-${item.id}` : ''}`, tabIndex: 0, key: item.id, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, style: { borderBottom: winCashBackTheme ? 'none' : undefined } },
219
+ React__default.createElement("div", { "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, onMouseDown: onButtonMouseDown, className: styles$2.menuButton, style: { color: winCashBackTheme ? 'white' : undefined } },
408
220
  item.name,
409
221
  item.popupType && (React__default.createElement(React__default.Fragment, null, (item === null || item === void 0 ? void 0 : item.icon) ? (React__default.createElement("div", { className: "wrapper-menu-icon" },
410
- React__default.createElement("div", { className: "origin-icon" }, item.icon),
222
+ React__default.createElement("div", { className: "origin-icon", style: {
223
+ filter: winCashBackTheme
224
+ ? 'brightness(0) invert(1)'
225
+ : undefined,
226
+ } }, item.icon),
411
227
  React__default.createElement("div", { className: "close-icon", onClick: onClose },
412
- React__default.createElement(Close, { size: 16 })))) : (React__default.createElement("div", { className: styles$1.menuIconWrapper },
228
+ React__default.createElement(Close, { size: 16, color: winCashBackTheme ? 'white' : undefined })))) : (React__default.createElement("div", { className: styles$2.menuIconWrapper },
413
229
  React__default.createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" },
414
- React__default.createElement("path", { d: "M11.5 7.5L9 10L6.5 7.5", stroke: "#202135", strokeWidth: "1.33", strokeLinecap: "round", strokeLinejoin: "round" }))))))),
230
+ React__default.createElement("path", { d: "M11.5 7.5L9 10L6.5 7.5", stroke: winCashBackTheme ? 'white' : '#202135', strokeWidth: "1.33", strokeLinecap: "round", strokeLinejoin: "round" }))))))),
415
231
  React__default.isValidElement(menu)
416
232
  ? React__default.cloneElement(menu, {
417
233
  onClose,
@@ -430,52 +246,6 @@ const NewWrapper = ({ isNew, children, }) => {
430
246
  return React__default.createElement(React__default.Fragment, null, children);
431
247
  };
432
248
 
433
- const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuItems, headingTitle, activeItem, }) => {
434
- const { siteType } = useContext(NavigationContext);
435
- const { t } = useTranslations();
436
- const theme = useMantineTheme();
437
- return (React__default.createElement(StyledItemGridLeft, null,
438
- React__default.createElement("div", null,
439
- React__default.createElement(StyledHeading$1, null,
440
- React__default.createElement(Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, headingTitle)), menuItems === null || menuItems === void 0 ? void 0 :
441
- menuItems.slice(0, 6).map((item, index) => {
442
- const href = (item === null || item === void 0 ? void 0 : item.link)
443
- ? (item === null || item === void 0 ? void 0 : item.link.startsWith('http'))
444
- ? item === null || item === void 0 ? void 0 : item.link
445
- : `${UrlFE}/${item === null || item === void 0 ? void 0 : item.link.split('/').filter(Boolean).join('/')}/`
446
- : '/';
447
- return (React__default.createElement(StyledItem$6, Object.assign({ className: clsx('iconMenu', `itemMenu-${item.id}`), "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": href, "data-is-heading-category": false, "data-active": item.id && item.id === activeItem, "data-is-mobile-tool": item.isMobileAppTool, href: href }, (!isInternalLink(href) && {
448
- target: '_blank',
449
- }), { "data-theme": siteType, key: index, onClick: onClosePopup }),
450
- React__default.createElement("div", { className: "icon" },
451
- React__default.createElement("img", { loading: "lazy", alt: item.name, src: item.thumbnail || '/images/avatar.jpg', style: {
452
- width: 32,
453
- height: 32,
454
- maxWidth: 32,
455
- maxHeight: 32,
456
- overflow: 'hidden',
457
- } })),
458
- React__default.createElement(NewWrapper, { isNew: item.isNew },
459
- React__default.createElement("div", { style: {
460
- padding: '0 0.4rem',
461
- paddingRight: item.isNew ? 10 : 0,
462
- } },
463
- React__default.createElement("p", { className: "name" }, item.name),
464
- item.isMobileAppTool && (React__default.createElement(Text, { size: "n1", color: theme.fn.primaryColor(), weight: "regular" }, t('home.calcWithApp'))))),
465
- item.isMobileAppTool && (React__default.createElement(StyledIconNav, null,
466
- React__default.createElement(Phone, { className: "phone-icon", size: 16 }))),
467
- React__default.createElement(StyledIconNav, { className: "arrow-icon" },
468
- React__default.createElement("img", { src: CommonGAssets.getAssetPath('chevronRight.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" }))));
469
- })),
470
- titleBtnViewMore && (React__default.createElement(StyledViewMore$1, { "data-theme": siteType, style: { textDecoration: 'none' }, href: hrefViewMore, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": hrefViewMore },
471
- React__default.createElement(StyledItemAll, { onClick: onClosePopup, "data-theme": siteType, "data-is-heading-category": false },
472
- titleBtnViewMore,
473
- React__default.createElement(StyledImageWrapper, null,
474
- React__default.createElement("img", { className: "svg", src: siteType === 'marryBaby'
475
- ? CommonGAssets.getAssetPath('chevronRightPink.svg')
476
- : CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))))));
477
- };
478
-
479
249
  const StyledContainerItems$5 = styled.div `
480
250
  display: grid;
481
251
 
@@ -573,7 +343,7 @@ const StyledContentWrapper$2 = setDefaultClass(styled.div `
573
343
  gap: 4px;
574
344
  }
575
345
  `, 'hhgcomp-navigation-menucareitem-contentwrapper');
576
- const StyledItem$5 = styled.a `
346
+ const StyledItem$6 = styled.a `
577
347
  text-decoration: none;
578
348
  border-radius: 4px;
579
349
  background: ${theme.colors.white};
@@ -644,7 +414,7 @@ const Item$4 = ({ item, index = 0 }) => {
644
414
  if (!item)
645
415
  return null;
646
416
  const href = `${statics.CARE_URL_FE}/${(_a = LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.HOSPITAL}/${item.slug}-${item.id}`;
647
- return (React__default.createElement(StyledItem$5, { key: item.id, href: href, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index + 1}`, "data-event-label": href },
417
+ return (React__default.createElement(StyledItem$6, { key: item.id, href: href, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index + 1}`, "data-event-label": href },
648
418
  React__default.createElement("img", { src: CommonGAssets.getAssetPath('navCareCardBg.svg'), alt: "", className: "bg-svg", loading: "lazy" }),
649
419
  React__default.createElement(StyledImageCard$3, null,
650
420
  React__default.createElement(StyledImageCardInner, null,
@@ -761,11 +531,11 @@ const StyledItemGridRight = styled.div `
761
531
  }
762
532
  }
763
533
  `;
764
- const StyledHeading = styled.div `
534
+ const StyledHeading$1 = styled.div `
765
535
  margin: 15px 0;
766
536
  display: flex;
767
537
  `;
768
- const StyledViewMore = styled.a `
538
+ const StyledViewMore$1 = styled.a `
769
539
  padding-left: 10px;
770
540
  display: flex;
771
541
  align-items: center;
@@ -787,9 +557,9 @@ const StyledViewMore = styled.a `
787
557
  const Spotlights = ({ title, viewMore, children, link, dataEventAction = '', }) => {
788
558
  const { siteType } = useContext(NavigationContext);
789
559
  return (React__default.createElement(StyledItemGridRight, null,
790
- React__default.createElement(StyledHeading, null,
560
+ React__default.createElement(StyledHeading$1, null,
791
561
  React__default.createElement(Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, title),
792
- viewMore && (React__default.createElement(StyledViewMore, { "data-event-category": "Hamburger Navigation", "data-event-action": dataEventAction, "data-event-label": link, href: link, "data-theme": siteType },
562
+ viewMore && (React__default.createElement(StyledViewMore$1, { "data-event-category": "Hamburger Navigation", "data-event-action": dataEventAction, "data-event-label": link, href: link, "data-theme": siteType },
793
563
  viewMore,
794
564
  React__default.createElement("img", { src: siteType === 'marryBaby'
795
565
  ? CommonGAssets.getAssetPath('chevronRightPink.svg')
@@ -811,17 +581,6 @@ const CareSpotlights = ({ spotlights = [], hrefViewMore }) => {
811
581
  React__default.createElement(Button$1, { theme: siteType, className: "survey-contact-submit", size: "md" }, t('home.navigator.menu.care.homeButton')))))) : (React__default.createElement(SpotlightNoData, { title: t('home.navigator.menu.care.noDatas.title'), description: t('home.navigator.menu.care.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.care.homeButton'), icon: CommonGAssets.getAssetPath('community.svg') }))));
812
582
  };
813
583
 
814
- const StyledContainerItems$4 = styled.div `
815
- display: grid;
816
-
817
- grid-template-columns: repeat(4, 1fr);
818
- gap: 24px;
819
- ${MediaQueries.tdDown} {
820
- gap: 12px;
821
- grid-template-columns: 1fr;
822
- }
823
- `;
824
-
825
584
  const TOGETHER_PATHS = {
826
585
  COMMUNITIES: 'community?website_url={websiteUrl}',
827
586
  MENU_TOPIC: 'topic?community_id={communityId}&website_url={websiteUrl}',
@@ -1061,6 +820,229 @@ function hsbToRgb(h, s, b) {
1061
820
  return [255 * f(5), 255 * f(3), 255 * f(1)];
1062
821
  }
1063
822
 
823
+ var styles$1 = {"gridContainer":"q3nL5cp","container":"_2DNf80G","closeWrapper":"Q-glX-n"};
824
+
825
+ const BtnClosePopup = ({ onClosePopup }) => {
826
+ return (React__default.createElement("div", { className: `${styles$1.closeWrapper} close-btn`, onClick: onClosePopup },
827
+ React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
828
+ React__default.createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" }))));
829
+ };
830
+
831
+ const PopupWrapper = ({ onClosePopup, isDisplay, children, isNavMenu, hideCloseBtn, stylesContainer, }) => {
832
+ return (React__default.createElement("div", { className: "hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools", "data-is-display": !!isDisplay, "data-is-nav-menu": !!isNavMenu },
833
+ React__default.createElement(Container, { className: "hhgcomp-navigation-popupwrapper-menuwrapper-child" },
834
+ !hideCloseBtn && (React__default.createElement("div", { className: styles$1.container },
835
+ React__default.createElement(BtnClosePopup, { onClosePopup: onClosePopup }))),
836
+ React__default.createElement(Container, { className: styles$1.gridContainer, style: stylesContainer }, children))));
837
+ };
838
+
839
+ const Phone = (_a) => {
840
+ var { size = 24, color = theme.colors.neutral600 } = _a, rest = __rest(_a, ["size", "color"]);
841
+ return (React__default.createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
842
+ React__default.createElement("path", { d: "M6.088 18.75q-.63 0-1.068-.437a1.45 1.45 0 0 1-.438-1.07V2.757q0-.63.438-1.068a1.45 1.45 0 0 1 1.068-.438h7.82q.633 0 1.07.438.437.437.437 1.068v14.488q0 .63-.437 1.069a1.45 1.45 0 0 1-1.07.437zm3.91-1.859a.7.7 0 0 0 .522-.216.7.7 0 0 0 .216-.521.7.7 0 0 0-.216-.522.7.7 0 0 0-.521-.215.7.7 0 0 0-.522.215.7.7 0 0 0-.215.522.7.7 0 0 0 .215.521.7.7 0 0 0 .522.216m-4.166-3.333h8.333V4.792H5.832z", fill: color })));
843
+ };
844
+
845
+ const StyledItemGridLeft = styled.div `
846
+ padding-right: 1rem;
847
+ background: #ffffff;
848
+ padding: 5px 15px;
849
+ ${MediaQueries.mbUp} {
850
+ border-right: 1px solid #e4e8ec;
851
+ display: flex;
852
+ flex-direction: column;
853
+ justify-content: space-between;
854
+ }
855
+ `;
856
+ const StyledItem$5 = styled.a `
857
+ padding: 10px 0;
858
+ position: relative;
859
+
860
+ display: flex;
861
+ align-items: center;
862
+ &[data-is-mobile-tool='true'] {
863
+ align-items: flex-start;
864
+ .name,
865
+ .phone-icon {
866
+ margin-top: 4px;
867
+ }
868
+ }
869
+ text-decoration: none;
870
+ color: ${theme.colors.gray800};
871
+ * {
872
+ pointer-events: none;
873
+ }
874
+ .name {
875
+ font-size: 16px;
876
+ font-weight: 400;
877
+ }
878
+
879
+ &[data-theme='marryBaby']:hover,
880
+ &[data-theme='marryBaby'][data-active='true'] {
881
+ p {
882
+ color: ${theme.mbColors.pink};
883
+ }
884
+ .icon {
885
+ background-color: ${theme.mbColors.lightPink};
886
+ }
887
+ }
888
+ &[data-theme='helloSites']:hover,
889
+ &[data-theme='helloSites'][data-active='true'] {
890
+ p {
891
+ color: ${theme.colors.primaryActive};
892
+ }
893
+ }
894
+ a {
895
+ }
896
+
897
+ &[data-theme='marryBaby'] {
898
+ .icon {
899
+ display: flex;
900
+ align-items: center;
901
+ justify-content: center;
902
+ max-width: 40px;
903
+ width: 100%;
904
+ height: 40px;
905
+ border-radius: 50%;
906
+ background-color: ${theme.mbColors.lightGray};
907
+ img {
908
+ border-radius: 50%;
909
+ }
910
+ }
911
+ }
912
+ `;
913
+ const StyledHeading = styled.div `
914
+ margin: 15px 0;
915
+ ${MediaQueries.mbDown} {
916
+ display: none;
917
+ }
918
+ `;
919
+ const StyledIconNav = styled.div `
920
+ display: flex;
921
+ position: absolute;
922
+ right: 0;
923
+ ${MediaQueries.mbUp} {
924
+ &.arrow-icon {
925
+ display: none;
926
+ }
927
+ }
928
+ `;
929
+ const StyledItemAll = styled.div `
930
+ display: flex;
931
+ align-items: center;
932
+ color: ${theme.colors.primaryBase};
933
+ font-size: ${theme.sizes.fsParagraph4};
934
+ font-weight: ${theme.sizes.fwBold};
935
+ line-height: 24px;
936
+ font-size: 14px;
937
+ font-weight: 600;
938
+ &[data-theme='marryBaby'] {
939
+ color: ${theme.mbColors.pink};
940
+ }
941
+ `;
942
+ const StyledImageWrapper = styled.div `
943
+ display: flex;
944
+ align-items: center;
945
+ margin-left: 10px;
946
+ `;
947
+ const StyledViewMore = styled.a `
948
+ border: 1px solid ${theme.colors.primaryBase};
949
+ &[data-theme='marryBaby'] {
950
+ border: 1px solid ${theme.mbColors.pink};
951
+
952
+ svg path {
953
+ stroke: ${theme.mbColors.pink};
954
+ }
955
+ }
956
+ position: relative;
957
+ display: flex;
958
+ align-items: center;
959
+ justify-content: center;
960
+ padding: 6px;
961
+ border-radius: 5px;
962
+ margin-top: 20px;
963
+ ${MediaQueries.mbDown} {
964
+ display: none;
965
+ }
966
+ `;
967
+
968
+ const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuItems, headingTitle, activeItem, }) => {
969
+ const { siteType } = useContext(NavigationContext);
970
+ const { t } = useTranslations();
971
+ const theme = useMantineTheme();
972
+ return (React__default.createElement(StyledItemGridLeft, null,
973
+ React__default.createElement("div", null,
974
+ React__default.createElement(StyledHeading, null,
975
+ React__default.createElement(Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, headingTitle)), menuItems === null || menuItems === void 0 ? void 0 :
976
+ menuItems.slice(0, 6).map((item, index) => {
977
+ const href = (item === null || item === void 0 ? void 0 : item.link)
978
+ ? (item === null || item === void 0 ? void 0 : item.link.startsWith('http'))
979
+ ? item === null || item === void 0 ? void 0 : item.link
980
+ : `${UrlFE}/${item === null || item === void 0 ? void 0 : item.link.split('/').filter(Boolean).join('/')}/`
981
+ : '/';
982
+ return (React__default.createElement(StyledItem$5, Object.assign({ className: clsx('iconMenu', `itemMenu-${item.id}`), "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": href, "data-is-heading-category": false, "data-active": item.id && item.id === activeItem, "data-is-mobile-tool": item.isMobileAppTool, href: href }, (!isInternalLink(href) && {
983
+ target: '_blank',
984
+ }), { "data-theme": siteType, key: index, onClick: onClosePopup }),
985
+ React__default.createElement("div", { className: "icon" },
986
+ React__default.createElement("img", { loading: "lazy", alt: item.name, src: item.thumbnail || '/images/avatar.jpg', style: {
987
+ width: 32,
988
+ height: 32,
989
+ maxWidth: 32,
990
+ maxHeight: 32,
991
+ overflow: 'hidden',
992
+ } })),
993
+ React__default.createElement(NewWrapper, { isNew: item.isNew },
994
+ React__default.createElement("div", { style: {
995
+ padding: '0 0.4rem',
996
+ paddingRight: item.isNew ? 10 : 0,
997
+ } },
998
+ React__default.createElement("p", { className: "name" }, item.name),
999
+ item.isMobileAppTool && (React__default.createElement(Text, { size: "n1", color: theme.fn.primaryColor(), weight: "regular" }, t('home.calcWithApp'))))),
1000
+ item.isMobileAppTool && (React__default.createElement(StyledIconNav, null,
1001
+ React__default.createElement(Phone, { className: "phone-icon", size: 16 }))),
1002
+ React__default.createElement(StyledIconNav, { className: "arrow-icon" },
1003
+ React__default.createElement("img", { src: CommonGAssets.getAssetPath('chevronRight.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" }))));
1004
+ })),
1005
+ titleBtnViewMore && (React__default.createElement(StyledViewMore, { "data-theme": siteType, style: { textDecoration: 'none' }, href: hrefViewMore, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": hrefViewMore },
1006
+ React__default.createElement(StyledItemAll, { onClick: onClosePopup, "data-theme": siteType, "data-is-heading-category": false },
1007
+ titleBtnViewMore,
1008
+ React__default.createElement(StyledImageWrapper, null,
1009
+ React__default.createElement("img", { className: "svg", src: siteType === 'marryBaby'
1010
+ ? CommonGAssets.getAssetPath('chevronRightPink.svg')
1011
+ : CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))))));
1012
+ };
1013
+
1014
+ const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [], }) => {
1015
+ var _a;
1016
+ const { t } = useTranslations();
1017
+ const { locale, configs: { statics }, } = useContext(NavigationContext);
1018
+ return (React__default.createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
1019
+ React__default.createElement(Categories, { headingTitle: t('home.navigator.menuItem.specialties'), hrefViewMore: `${statics.CARE_URL_FE}/`, UrlFE: statics.CARE_URL_FE, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allSpecialties'), menuItems: (careSpecialties === null || careSpecialties === void 0 ? void 0 : careSpecialties.map((specialty) => {
1020
+ if (!specialty)
1021
+ return {};
1022
+ return {
1023
+ name: String(specialty.name) || '',
1024
+ link: getCareSearchUrl({
1025
+ type: 'DOCTOR',
1026
+ specialtySlug: specialty.slug,
1027
+ locale,
1028
+ }),
1029
+ thumbnail: (specialty === null || specialty === void 0 ? void 0 : specialty.thumbnail) || '',
1030
+ };
1031
+ })) || [] }),
1032
+ React__default.createElement(CareSpotlights, { spotlights: spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_a = LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.SPECIALTIES}/` })));
1033
+ };
1034
+
1035
+ const StyledContainerItems$4 = styled.div `
1036
+ display: grid;
1037
+
1038
+ grid-template-columns: repeat(4, 1fr);
1039
+ gap: 24px;
1040
+ ${MediaQueries.tdDown} {
1041
+ gap: 12px;
1042
+ grid-template-columns: 1fr;
1043
+ }
1044
+ `;
1045
+
1064
1046
  const StyledItem$4 = styled.a `
1065
1047
  position: relative;
1066
1048
  width: 100%;
@@ -1190,6 +1172,22 @@ const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
1190
1172
  } }))))) : (React__default.createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.category.noDatas.cta'), icon: CommonGAssets.getAssetPath('Spotlight.svg') }))));
1191
1173
  };
1192
1174
 
1175
+ const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isOpen, }) => {
1176
+ const { t } = useTranslations();
1177
+ const { locale, configs: { statics }, } = useContext(NavigationContext);
1178
+ return (React__default.createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
1179
+ React__default.createElement(Categories, { hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/categories/`, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allCategories'), menuItems: (categories === null || categories === void 0 ? void 0 : categories.map((cat) => {
1180
+ if (!cat)
1181
+ return {};
1182
+ return {
1183
+ name: cat.displayName || null,
1184
+ link: (cat === null || cat === void 0 ? void 0 : cat.customizedUrl) || (cat === null || cat === void 0 ? void 0 : cat.permalink) || '/',
1185
+ thumbnail: cat.iconUrl || null,
1186
+ };
1187
+ })) || [], headingTitle: t('home.navigator.menuItem.healthCategories') }),
1188
+ React__default.createElement(CategorySpotlights, { spotlightsList: spotlightsList, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })));
1189
+ };
1190
+
1193
1191
  const StyledContainerItems$3 = styled.div `
1194
1192
  display: grid;
1195
1193
  grid-template-columns: repeat(2, 1fr);
@@ -1345,65 +1343,30 @@ const CommunitySpotlights = ({ spotlights = [] }) => {
1345
1343
  return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.trendingPosts'), viewMore: t('home.navigator.menu.trendingPosts.seeMore'), link: normalizeLink(statics.TOGETHER_URL_FE), dataEventAction: "Together See More Click" }, spotlights.length !== 0 ? (React__default.createElement(StyledContainerItems$3, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 4).map((p, index) => (React__default.createElement(Item$2, { index: index, post: p, key: p.id }))))) : (React__default.createElement(SpotlightNoData, { title: t('home.navigator.menu.together.noPosts.title'), description: t('home.navigator.menu.together.noPosts.description'), link: `${statics.HOME_PAGE_URL}/community/`, cta: t('home.navigator.menu.together.noPosts.cta'), icon: CommonGAssets.getAssetPath('community.svg') }))));
1346
1344
  };
1347
1345
 
1346
+ const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [], }) => {
1347
+ const { t } = useTranslations();
1348
+ const { configs: { statics }, } = useContext(NavigationContext);
1349
+ return (React__default.createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
1350
+ React__default.createElement(Categories, { hrefViewMore: normalizeLink(statics.TOGETHER_URL_FE), UrlFE: normalizeLinkSlash(statics.TOGETHER_URL_FE), onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allCommunities'), menuItems: (communities === null || communities === void 0 ? void 0 : communities.map((community) => {
1351
+ if (!community)
1352
+ return {};
1353
+ return {
1354
+ name: community.name || '',
1355
+ link: community.slug || '/',
1356
+ thumbnail: community.thumbnail || '',
1357
+ };
1358
+ })) || [], headingTitle: t('home.navigator.menuItem.allCommunitiesheadingTitle') }),
1359
+ React__default.createElement(CommunitySpotlights, { spotlights: spotlights })));
1360
+ };
1361
+
1348
1362
  const StyledContainerItems$2 = styled.div `
1349
1363
  display: grid;
1350
1364
 
1351
1365
  grid-template-columns: repeat(3, 1fr);
1352
1366
  gap: 24px;
1353
- margin-bottom: 3.5rem;
1354
1367
  ${MediaQueries.tdDown} {
1355
- grid-template-columns: repeat(1, 1fr);
1356
- }
1357
- `;
1358
-
1359
- const StyledItem$2 = styled.a `
1360
- text-decoration: none;
1361
- display: flex;
1362
- align-items: center;
1363
- `;
1364
-
1365
- const Item$1 = ({ item, index = 0 }) => {
1366
- if (!item)
1367
- return null;
1368
- return (React__default.createElement(StyledItem$2, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index + 1}`, "data-event-label": item.url },
1369
- React__default.createElement("img", { loading: "lazy", alt: item.name, src: item.featuredImage || '/images/avatar.jpg', style: {
1370
- width: '40px',
1371
- height: '40px',
1372
- } }),
1373
- React__default.createElement(Text, { size: "p2", weight: "regular", style: {
1374
- marginLeft: 16,
1375
- } }, item.name),
1376
- React__default.createElement("img", { src: CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
1377
- width: '20px',
1378
- height: '20px',
1379
- marginLeft: 'auto',
1380
- }, loading: "lazy" })));
1381
- };
1382
-
1383
- const EcomSpotlights = ({ helpfulUrls = [], }) => {
1384
- const { t } = useTranslations();
1385
- // const { siteType } = useContext(NavigationContext)
1386
- if (!helpfulUrls.length)
1387
- return null;
1388
- return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.spotlightEcom') }, helpfulUrls.length !== 0 ? (React__default.createElement(StyledContainerItems$2, null, helpfulUrls === null || helpfulUrls === void 0 ? void 0 : helpfulUrls.slice(0, 5).map((s, index) => (React__default.createElement(Item$1, { key: index, index: index, item: s }))))) : (React__default.createElement(React__default.Fragment, null)
1389
- // <SpotlightNoData
1390
- // title={t('home.navigator.menu.ecom.noDatas.title')}
1391
- // description={t('home.navigator.menu.ecom.noDatas.description')}
1392
- // link={hrefViewMore}
1393
- // cta={t('home.navigator.menu.ecom.homeButton')}
1394
- // icon={CommonGAssets.getAssetPath('ecom.svg')}
1395
- // />
1396
- )));
1397
- };
1398
-
1399
- const StyledContainerItems$1 = styled.div `
1400
- display: grid;
1401
-
1402
- grid-template-columns: repeat(3, 1fr);
1403
- gap: 24px;
1404
- ${MediaQueries.tdDown} {
1405
- grid-template-columns: 1fr;
1406
- gap: 12px;
1368
+ grid-template-columns: 1fr;
1369
+ gap: 12px;
1407
1370
  }
1408
1371
  `;
1409
1372
 
@@ -1415,7 +1378,7 @@ const AppIcon = (_a) => {
1415
1378
  React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.927 9.821c0 1.338.925 2.46 2.162 2.743-.089 1.583-2.049 1.657-3.22 1.47a2.5 2.5 0 0 1-.716-.225 1.3 1.3 0 0 1-.614-.68c-.057-.142-.093-.293-.158-.431a.58.58 0 0 0-.674-.346.59.59 0 0 0-.462.603c.017.415.192.827.44 1.156.26.354.607.625 1.058.827.636.29 1.336.375 2.03.375.774 0 1.591-.132 2.267-.53.643-.38 1.25-.878 1.263-2.217a2.81 2.81 0 0 0 2.17-2.745c0-1.55-1.244-2.811-2.773-2.811S9.927 8.27 9.927 9.82m4.275 0c0 .841-.674 1.525-1.502 1.525a1.515 1.515 0 0 1-1.502-1.525c0-.84.674-1.525 1.502-1.525a1.516 1.516 0 0 1 1.502 1.525", fill: "#fff" })));
1416
1379
  };
1417
1380
 
1418
- const StyledItem$1 = styled.a `
1381
+ const StyledItem$2 = styled.a `
1419
1382
  text-decoration: none;
1420
1383
  border-radius: 4px;
1421
1384
  background: ${theme.colors.primary50};
@@ -1526,7 +1489,7 @@ const StyledContentWrapper$1 = styled.div `
1526
1489
  }
1527
1490
  `;
1528
1491
 
1529
- const Item = ({ item, index = 0 }) => {
1492
+ const Item$1 = ({ item, index = 0 }) => {
1530
1493
  const { t } = useTranslations();
1531
1494
  const { configs: { statics }, } = useContext(NavigationContext);
1532
1495
  if (!item)
@@ -1536,7 +1499,7 @@ const Item = ({ item, index = 0 }) => {
1536
1499
  ? item.link
1537
1500
  : `${statics.HOME_PAGE_URL}${item.link}`
1538
1501
  : undefined;
1539
- return (React__default.createElement(StyledItem$1, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link },
1502
+ return (React__default.createElement(StyledItem$2, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link },
1540
1503
  item.isMobileAppTool && React__default.createElement(Phone, { size: 20, className: "phone-badge" }),
1541
1504
  React__default.createElement("img", { src: CommonGAssets.getAssetPath('navToolCardBg.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
1542
1505
  React__default.createElement(StyledContentWrapper$1, null,
@@ -1551,7 +1514,7 @@ const Item = ({ item, index = 0 }) => {
1551
1514
  React__default.createElement("img", { loading: "lazy", alt: item.title, src: item.icon || '/images/avatar.jpg' }))));
1552
1515
  };
1553
1516
 
1554
- const StyledItem = styled.a `
1517
+ const StyledItem$1 = styled.a `
1555
1518
  text-decoration: none;
1556
1519
  border-radius: 12px;
1557
1520
 
@@ -1782,7 +1745,7 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
1782
1745
  marginTop: '2px',
1783
1746
  marginLeft: '5px',
1784
1747
  }, loading: "lazy" }))));
1785
- return (React__default.createElement(StyledItem, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link, "data-color": color },
1748
+ return (React__default.createElement(StyledItem$1, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link, "data-color": color },
1786
1749
  React__default.createElement("svg", { className: "bg-svg", width: "74", height: "121", viewBox: "0 0 74 121", fill: "none" },
1787
1750
  React__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" })),
1788
1751
  React__default.createElement("img", { src: CommonGAssets.getAssetPath('navMBCardDotBg.svg'), className: "dot-svg", loading: "lazy", alt: "" }),
@@ -1798,11 +1761,30 @@ const ToolSpotlights = ({ hrefViewMore, spotlightHealthTools = [] }) => {
1798
1761
  const marryBabyCardColor = ['pink', 'orange', 'green'];
1799
1762
  const { siteType } = useContext(NavigationContext);
1800
1763
  return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.spotlightTools') },
1801
- spotlightHealthTools.length !== 0 && (React__default.createElement(StyledContainerItems$1, null, spotlightHealthTools === null || spotlightHealthTools === void 0 ? void 0 : spotlightHealthTools.slice(0, 3).map((item, index) => siteType === 'marryBaby' ? (React__default.createElement(ItemMarryBaby, { key: index, index: index, item: item, color: marryBabyCardColor[index] })) : (React__default.createElement(Item, { key: index, index: index, item: item }))))),
1764
+ spotlightHealthTools.length !== 0 && (React__default.createElement(StyledContainerItems$2, null, spotlightHealthTools === null || spotlightHealthTools === void 0 ? void 0 : spotlightHealthTools.slice(0, 3).map((item, index) => siteType === 'marryBaby' ? (React__default.createElement(ItemMarryBaby, { key: index, index: index, item: item, color: marryBabyCardColor[index] })) : (React__default.createElement(Item$1, { key: index, index: index, item: item }))))),
1802
1765
  spotlightHealthTools.length === 0 && (React__default.createElement(SpotlightNoData, { title: t('home.navigator.menu.healthTools.noDatas.title'), description: t('home.navigator.menu.healthTools.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.healthTools.noDatas.cta'), icon: CommonGAssets.getAssetPath('community.svg') }))));
1803
1766
  };
1804
1767
 
1805
- const StyledContainerItems = styled.div `
1768
+ const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [], healthTools = [], }) => {
1769
+ var _a;
1770
+ const { t } = useTranslations();
1771
+ const { configs: { statics }, } = useContext(NavigationContext);
1772
+ const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`;
1773
+ return (React__default.createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
1774
+ React__default.createElement(Categories, { hrefViewMore: hrefViewMore, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, headingTitle: t('home.navigator.menuItem.healthToolsList'), titleBtnViewMore: t('home.navigator.menuItem.allHealthTools'), menuItems: healthTools.map((t) => ({
1775
+ name: t.title,
1776
+ link: t.link
1777
+ ? t.link.startsWith('http')
1778
+ ? t.link
1779
+ : `${statics.HOME_PAGE_URL}${t.link}`
1780
+ : undefined,
1781
+ thumbnail: t.icon,
1782
+ isMobileAppTool: t.isMobileAppTool,
1783
+ })) }),
1784
+ React__default.createElement(ToolSpotlights, { spotlightHealthTools: spotlightHealthTools, hrefViewMore: hrefViewMore })));
1785
+ };
1786
+
1787
+ const StyledContainerItems$1 = styled.div `
1806
1788
  display: grid;
1807
1789
 
1808
1790
  grid-template-columns: repeat(4, 1fr);
@@ -1816,132 +1798,413 @@ const StyledContainerItems = styled.div `
1816
1798
  const VideoSpotlights = ({ spotlightsList = [], layout = 'default', }) => {
1817
1799
  const { t } = useTranslations();
1818
1800
  const { configs: { statics }, } = useContext(NavigationContext);
1819
- return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__default.createElement(StyledContainerItems, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => (React__default.createElement(VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: VideoType.SHORTS }), layout: layout === 'default' ? 'overlay' : 'horizon', dataEventCategory: "Hamburger Navigation", dataEventAction: `Video Click ${index + 1}` }))))) : (React__default.createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: `${statics.VIDEO_URL_FE}/`, cta: t('home.navigator.menu.category.noDatas.cta'), icon: CommonGAssets.getAssetPath('Spotlight.svg') }))));
1801
+ return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__default.createElement(StyledContainerItems$1, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => (React__default.createElement(VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: VideoType.SHORTS }), layout: layout === 'default' ? 'overlay' : 'horizon', dataEventCategory: "Hamburger Navigation", dataEventAction: `Video Click ${index + 1}` }))))) : (React__default.createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: `${statics.VIDEO_URL_FE}/`, cta: t('home.navigator.menu.category.noDatas.cta'), icon: CommonGAssets.getAssetPath('Spotlight.svg') }))));
1820
1802
  };
1821
1803
 
1822
- const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage = false, }) => {
1823
- var _a, _b;
1824
- const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, customClasses, } = useContext(NavigationContext);
1804
+ const MenuVideoList = ({ spotlightsList = [], onClose, isOpen }) => {
1825
1805
  const { t } = useTranslations();
1826
- return (React__default.createElement(StyledMasterMenuContainer, { className: customClasses.categoriesMenu, id: "categories-menu" },
1827
- !isHomepage && (React__default.createElement(StyleWrapperSearch, null,
1828
- React__default.createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: false, isRedirectSearchPage: true }))),
1829
- React__default.createElement(StyledWrapper, null,
1830
- React__default.createElement(Categories, { UrlFE: statics.HOME_PAGE_URL, titleBtnViewMore: t('home.navigator.menuItem.allCategories'), menuItems: menuItems, headingTitle: t('home.navigator.menuItem.healthCategories'), onClosePopup: closePopup, activeItem: activeMenuService }),
1831
- activeMenuService === 'categories' && (React__default.createElement(CategorySpotlights, { spotlightsList: (categories === null || categories === void 0 ? void 0 : categories.spotlights) || [], hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })),
1832
- activeMenuService === 'tools' && (React__default.createElement(ToolSpotlights, { spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}` })),
1833
- activeMenuService === 'care' && (React__default.createElement(CareSpotlights, { spotlights: care === null || care === void 0 ? void 0 : care.spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_b = LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b.SPECIALTIES}` })),
1834
- activeMenuService === 'together' && (React__default.createElement(CommunitySpotlights, { spotlights: together === null || together === void 0 ? void 0 : together.spotlights })),
1835
- activeMenuService === 'ecom' && (React__default.createElement(EcomSpotlights, { helpfulUrls: ecom === null || ecom === void 0 ? void 0 : ecom.helpfulUrls })),
1836
- activeMenuService === 'video' && (React__default.createElement(VideoSpotlights, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights, layout: "stack" })))));
1837
- };
1838
-
1839
- const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
1840
- const { siteType } = useContext(NavigationContext);
1841
- const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = useCSSFocusPopupHelper();
1842
- return (React__default.createElement(DisplayWrapper, { mediaQueryKey: "mbDown" },
1843
- React__default.createElement("header", { className: styles$2.menuContainer },
1844
- React__default.createElement("div", { className: styles$2.menuIcon, ref: containerRef, role: "button", tabIndex: 0, onBlur: onContainerBlur, onFocus: onContainerFocus },
1845
- React__default.createElement("div", { className: styles$2.menuIconWrapper, onMouseDown: onButtonMouseDown, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": "Hamburger Navigation URL" },
1846
- React__default.createElement(ClosePopupIcon, { className: "mobile-close-icon" }),
1847
- React__default.createElement(HamburgerIcon, { siteType: siteType, enableSearch: false, className: "mobile-hamburger-icon" })),
1848
- React__default.createElement(MenuServiceList, { menuItems: menuItems, isHomepage: isHomepage, projectType: projectType, closePopup: onClose })))));
1806
+ const { locale, configs: { statics }, } = useContext(NavigationContext);
1807
+ const listing = useMemo(() => [
1808
+ {
1809
+ name: t('home.navigator.menu.videos'),
1810
+ link: `${statics.VIDEO_URL_FE}/video/`,
1811
+ thumbnail: CommonGAssets.getAssetPath('nav-icons/video.svg'),
1812
+ },
1813
+ {
1814
+ name: t('home.navigator.menu.shorts'),
1815
+ link: `${statics.VIDEO_URL_FE}/short/`,
1816
+ thumbnail: CommonGAssets.getAssetPath('nav-icons/short.svg'),
1817
+ },
1818
+ // {
1819
+ // name: t('home.navigator.menu.podcasts'),
1820
+ // link: `${statics.VIDEO_URL_FE}/podcast/`,
1821
+ // thumbnail: CommonGAssets.getAssetPath('nav-icons/podcast.svg'),
1822
+ // },
1823
+ ], []);
1824
+ return (React__default.createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
1825
+ React__default.createElement(Categories, { hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/videos/`, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allVideos'), menuItems: listing, headingTitle: t('home.navigator.menuItem.videoCategories') }),
1826
+ React__default.createElement(VideoSpotlights, { spotlightsList: spotlightsList })));
1849
1827
  };
1850
1828
 
1851
- const StyledHeaderWrapper = styled.div `
1852
- z-index: 201;
1853
- width: 100%;
1854
- align-items: center;
1855
-
1856
- background-color: ${theme.colors.white};
1857
-
1858
- transition: height 0.3s, transform 0.3s;
1859
-
1860
- &[data-site-type='helloSites'] {
1861
- border-bottom: 1px solid ${theme.colors.neutral100};
1862
- }
1863
- &[data-sponsored='true'] {
1864
- border-bottom: none;
1865
- }
1866
- &[data-marry-baby-tone='pink'] {
1867
- background-color: ${theme.mbColors.lightPink};
1868
- }
1869
-
1870
- ${MediaQueries.mbUp} {
1871
- &[data-sitewide-banner-shown='true'][data-collapsed='true'] {
1872
- transform: translateY(-64px);
1873
- }
1874
- }
1875
- ${MediaQueries.mbDown} {
1876
- &[data-site-type='marryBaby'] {
1877
- border-bottom: none;
1878
- }
1879
-
1880
- &[data-fixed-bar='true'] {
1881
- position: fixed;
1882
- transform: translateY(0);
1883
- }
1884
-
1885
- &[data-fixed-bar='false'] {
1886
- position: absolute;
1887
- }
1888
-
1889
- &[data-collapsed='true'] {
1890
- transform: translateY(-100%);
1891
- transition: transform 0.5s;
1892
- }
1893
- &[data-collapsed='false'] {
1894
- transform: translateY(0);
1895
- transition: transform 0.5s;
1896
- }
1897
-
1898
- .top-bar-header {
1899
- line-height: normal;
1900
- }
1901
-
1902
- &[data-header-type='home'] {
1903
- z-index: ${Z_INDEX.headerContainerHome};
1904
- }
1905
-
1906
- &[data-is-displayed='false'] {
1907
- //display: none;
1908
- visibility: hidden;
1909
- }
1910
- }
1911
-
1912
- .marry-baby {
1913
- input {
1914
- background: ${theme.mbColors.lightGray};
1915
- border-radius: 16px;
1916
- border: none;
1917
- }
1918
- max-width: 172px;
1829
+ styled.div `
1830
+ display: grid;
1831
+ grid-template-columns: repeat(4, 1fr);
1832
+ gap: 24px;
1833
+ ${MediaQueries.tdDown} {
1834
+ gap: 12px;
1835
+ grid-template-columns: 1fr;
1919
1836
  }
1920
- &[data-site-type='marryBaby'] {
1921
- .close-btn {
1922
- top: 16px;
1923
- right: 16px;
1924
- }
1837
+ `;
1838
+ const StyleButton = styled(Button) `
1839
+ border: 1px solid ${theme.colors.white} !important;
1840
+ .mantine-Button-leftIcon {
1841
+ width: 24px;
1842
+ height: 24px;
1925
1843
  }
1926
1844
  `;
1927
- const StyledHeader = styled.div `
1845
+ const StyleWrapperIcon = styled.div `
1846
+ width: 20px;
1847
+ height: 20px;
1928
1848
  display: flex;
1929
- height: 100%;
1849
+ justify-content: center;
1930
1850
  align-items: center;
1931
1851
 
1932
- justify-content: space-between;
1933
- padding: 0 2rem;
1934
- height: 56px;
1935
- ${MediaQueries.pcDown} {
1936
- padding: 0 1rem;
1937
- }
1852
+ border-radius: 5px;
1853
+ background: linear-gradient(
1854
+ 180deg,
1855
+ rgba(255, 255, 255, 0.1) 15.1%,
1856
+ rgba(0, 0, 0, 0.01) 100%
1857
+ ),
1858
+ linear-gradient(180deg, #65b5ff 0%, #2685f1 100%);
1859
+ background-blend-mode: soft-light, normal;
1860
+ `;
1938
1861
 
1939
- ${MediaQueries.mbDown} {
1940
- position: relative;
1941
- height: 56px;
1942
- background: white;
1943
- gap: 2px;
1944
- }
1862
+ const InitialCart = () => (React__default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: "512", height: "512", style: {
1863
+ width: '100%',
1864
+ height: '100%',
1865
+ contentVisibility: 'visible',
1866
+ }, viewBox: "0 0 512 512" },
1867
+ React__default.createElement("defs", null,
1868
+ React__default.createElement("clipPath", { id: "__lottie_element_2" },
1869
+ React__default.createElement("path", { d: "M0 0h512v512H0z" })),
1870
+ React__default.createElement("path", { fill: "#FFF", d: "m139 0-13 174h244l-30 292 165 1 4-466z", opacity: "1", id: "__lottie_element_6", display: "block" }),
1871
+ React__default.createElement("mask", { id: "__lottie_element_6_1", "mask-type": "alpha" },
1872
+ React__default.createElement("use", { xlinkHref: "#__lottie_element_6" }))),
1873
+ React__default.createElement("g", { clipPath: "url(#__lottie_element_2)" },
1874
+ React__default.createElement("path", { fill: "#2B62CD", d: "m430 181-40 41-111-120a18 18 0 0 1-5-13c0-5 2-9 5-13l6-5a18 18 0 0 1 25-1zm-348 0 40 41 111-120a18 18 0 0 0 0-26l-6-5a18 18 0 0 0-25-1z", display: "block" }),
1875
+ React__default.createElement("g", { display: "block" },
1876
+ React__default.createElement("path", { fill: "#2D87F3", d: "M385 427H125c-4 0-9-1-13-5a20 20 0 0 1-6-12L88 239h335l-18 171a20 20 0 0 1-7 12c-3 4-8 5-13 5" }),
1877
+ React__default.createElement("path", { fill: "#2B62CD", d: "m160 402-5-2a6 6 0 0 1-1-4l-8-114v-2a6 6 0 0 1 3-4 6 6 0 0 1 5 0 6 6 0 0 1 4 5l8 115-1 2a6 6 0 0 1-1 2 6 6 0 0 1-4 2m61 0-5-2a6 6 0 0 1-1-4l-2-114c0-2 0-3 2-5a6 6 0 0 1 4-1l4 1a6 6 0 0 1 2 4l2 115a6 6 0 0 1-2 4 6 6 0 0 1-4 2zm131 0a6 6 0 0 1-5-4l-1-2 8-115a6 6 0 0 1 2-4l2-1a6 6 0 0 1 2 0 6 6 0 0 1 5 2 6 6 0 0 1 1 4l-8 114a6 6 0 0 1-6 6m-61 0a6 6 0 0 1-6-6l2-114 2-5a6 6 0 0 1 4-1 6 6 0 0 1 5 1 6 6 0 0 1 1 5l-2 114a6 6 0 0 1-1 4 6 6 0 0 1-5 2" }),
1878
+ React__default.createElement("path", { fill: "#91CAFF", d: "M424 243H88a20 20 0 0 1-21-18l-3-28a20 20 0 0 1 20-23h344a20 20 0 0 1 20 23l-3 28a20 20 0 0 1-21 18" })),
1879
+ React__default.createElement("g", { mask: "url(#__lottie_element_6_1)", display: "block" },
1880
+ React__default.createElement("path", { fill: "#FFC326", d: "m294 198-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z" }),
1881
+ React__default.createElement("path", { fill: "#FFD658", d: "M272 189c0 3 0 7 2 10a12 12 0 0 0 10 6h-81l-3-1c-3-1-5-3-6-5a15 15 0 0 1 5-19 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9" }),
1882
+ React__default.createElement("path", { fill: "#FEA21E", d: "M277 326h-4c3 0 5-2 5-4l15-115 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-5-4-7-2-15 5-19 2-2 5-3 9-3h1c4 0 7 2 10 4l6 9 1 11 14 119-1 4z" }),
1883
+ React__default.createElement("path", { fill: "#FC7419", d: "M303 310v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-5 1v1c0 2-1 3-2 3a3 3 0 0 1-3-2l1-4a9 9 0 0 1 11-4c3 1 5 3 6 6v9" })),
1884
+ React__default.createElement("g", { display: "block" },
1885
+ React__default.createElement("path", { fill: "#FFC326", d: "m460 330-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z" }),
1886
+ React__default.createElement("path", { fill: "#FFD658", d: "M438 321c0 3 0 6 2 9a12 12 0 0 0 10 7h-81l-3-1c-3-1-5-3-6-6a15 15 0 0 1 5-18 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9" }),
1887
+ React__default.createElement("path", { fill: "#FEA21E", d: "M443 458h-4c3 0 5-2 5-5l15-114 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-6-4-6-2-14 5-18 2-2 5-3 9-3h1c4 0 7 2 10 4s5 5 6 9l1 11 14 119-1 4z" }),
1888
+ React__default.createElement("path", { fill: "#FC7419", d: "M469 442v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-4 1l-1 1-2 3a3 3 0 0 1-3-3l1-3a9 9 0 0 1 11-4c3 1 5 3 6 5 1 3 2 7 0 10" })))));
1889
+
1890
+ const InitialDoctor = () => (React__default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "512", height: "512", style: {
1891
+ width: '100%',
1892
+ height: '100%',
1893
+ contentVisibility: 'visible',
1894
+ }, viewBox: "0 0 512 512" },
1895
+ React__default.createElement("defs", null,
1896
+ React__default.createElement("clipPath", { id: "__lottie_element_23" },
1897
+ React__default.createElement("path", { d: "M0 0h512v512H0z" }))),
1898
+ React__default.createElement("g", { clipPath: "url(#__lottie_element_23)" },
1899
+ React__default.createElement("g", { display: "block" },
1900
+ React__default.createElement("path", { fill: "#1B3250", d: "M430 332c-13-17-52-37-42-63 16-41-9-72-28-84-22-14-23-43-30-66-15-50-53-73-103-73s-88 21-103 71c-7 22-7 53-29 67-19 12-61 41-45 82 10 26-15 52-28 69-39 53 13 89 72 98l255 2c59-9 120-50 81-103" }),
1901
+ React__default.createElement("path", { fill: "#FFB497", d: "M120 202c-11 4-13 17-10 29a29 29 0 0 0 14 17 29 29 0 0 0 22 3l-8-49a25 25 0 0 0-18 0" }),
1902
+ React__default.createElement("path", { fill: "#FF977B", d: "M147 235a5 5 0 0 1-4-2c-6-8-17-8-17-8a5 5 0 0 1-4-2 5 5 0 0 1 0-7l4-1c1 0 16 0 25 11a5 5 0 0 1-4 9" }),
1903
+ React__default.createElement("path", { fill: "#FFB497", d: "M332 202a25 25 0 0 0-18 0l-8 49a29 29 0 0 0 22-3c7-3 12-10 14-17 3-12 1-25-10-29" }),
1904
+ React__default.createElement("path", { fill: "#FF977B", d: "M305 235a5 5 0 0 1-5-3 5 5 0 0 1 1-6c9-11 24-11 25-11a5 5 0 0 1 5 5 5 5 0 0 1-5 5s-11 0-17 8a5 5 0 0 1-4 2" }),
1905
+ React__default.createElement("path", { fill: "#E3F2FF", d: "M366 452H86a3 3 0 0 1-4-4c5-19 19-47 37-65a153 153 0 0 1 42-28l1-1a85 85 0 0 1 29-19h70a84 84 0 0 1 29 19l1 1a153 153 0 0 1 42 28c18 18 32 46 37 65a3 3 0 0 1-1 3 3 3 0 0 1-3 1" }),
1906
+ React__default.createElement("path", { fill: "#FCCAAF", d: "M261 335c-25 32-48 32-70 0l5-10v-1a45 45 0 0 0 2-13h56a48 48 0 0 0 2 13v1l5 10" }),
1907
+ React__default.createElement("path", { fill: "#2D87F3", d: "M281 452H175c-14-93 16-117 16-117 7 9 20 15 35 15s28-6 35-15c0 0 9 12 16 37 5 20 6 60 4 80" }),
1908
+ React__default.createElement("path", { fill: "#BCDEFF", d: "M191 335a84 84 0 0 0-30 19 53 53 0 0 0-13 28c0 3 11 1 16 0h1v1c-13 8-17 19-16 25 2 15 6 30 13 44h26s-12-72 3-117m96 48a1 1 0 0 1 0-1h1c1 0 0 0 0 0 5 1 16 3 16 0a53 53 0 0 0-13-28 83 83 0 0 0-30-19c15 45 3 117 3 117h26a157 157 0 0 0 13-44c1-6-3-17-16-25" }),
1909
+ React__default.createElement("path", { fill: "#FF977B", d: "M256 325c-20 18-40 18-60 0v-1a46 46 0 0 0 2-13h56a48 48 0 0 0 2 13v1" }),
1910
+ React__default.createElement("path", { fill: "#FCCAAF", d: "M314 205c-3 54-17 80-39 96-14 11-37 24-49 24s-35-13-49-24c-22-16-36-42-39-96 52-21 30-127 85-99a7 7 0 0 0 6 0c55-28 33 78 85 99" }),
1911
+ React__default.createElement("path", { fill: "#FFB497", d: "M221 106c-27-12-34 12-43 40-7 25-16 54-41 63l1 3c43 0 71-62 83-106" })),
1912
+ React__default.createElement("path", { fill: "#FF977B", d: "M233 233a5 5 0 0 0-4 2l-3 1-3-1a5 5 0 0 0-2-2 5 5 0 0 0-4 0 5 5 0 0 0-3 5c0 6 9 8 12 8s12-2 12-8a5 5 0 0 0-2-3 5 5 0 0 0-3-2", display: "block" }),
1913
+ React__default.createElement("path", { fill: "#1B3250", d: "m261 199 9-5a27 27 0 0 1 11-1c4 0 7 0 11 2l8 4a2 2 0 0 1 1 2 2 2 0 0 1 0 1h-1l-10-1h-9a20 20 0 0 0-7 2 65 65 0 0 0-7 4 5 5 0 0 1-4 1 5 5 0 0 1-3-2 5 5 0 0 1-1-2 5 5 0 0 1 2-5", display: "block" }),
1914
+ React__default.createElement("path", { fill: "#284A75", d: "M280 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19", display: "block" }),
1915
+ React__default.createElement("path", { fill: "#1B3250", d: "m192 210-7-4-7-2h-9l-9 1a2 2 0 0 1-2-1v-1l1-1 9-4c3-2 6-2 10-2 4-1 7 0 11 1l9 5a5 5 0 0 1 2 3v4a5 5 0 0 1-7 2l-1-1", display: "block" }),
1916
+ React__default.createElement("path", { fill: "#284A75", d: "M184 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19", display: "block" }),
1917
+ React__default.createElement("g", { fill: "#FFF", display: "block" },
1918
+ React__default.createElement("path", { d: "m216 213-4-1a5 5 0 0 1-1-3v-4a5 5 0 0 1 3-2 33 33 0 0 1 24 0 5 5 0 0 1 3 7 5 5 0 0 1-3 2h-3a23 23 0 0 0-18 1h-1" }),
1919
+ React__default.createElement("path", { d: "M183 249a38 38 0 0 1-35-23 38 38 0 0 1-2-22 38 38 0 0 1 11-19 38 38 0 0 1 19-11c7-1 15 0 22 2a38 38 0 0 1 16 14 38 38 0 0 1 7 21 38 38 0 0 1-11 27 38 38 0 0 1-27 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 42-4c3-4 4-9 4-15a27 27 0 0 0-8-19 27 27 0 0 0-19-8zm86 65a38 38 0 0 1-35-24 38 38 0 0 1 27-51 38 38 0 0 1 39 16 38 38 0 0 1 6 21 38 38 0 0 1-11 27 38 38 0 0 1-26 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 46-19 27 27 0 0 0-8-19 27 27 0 0 0-19-8z" })),
1920
+ React__default.createElement("path", { d: "m205 180-2-1c-10-4-39-9-47-1a5 5 0 0 1-3 2 5 5 0 0 1-4-2 5 5 0 0 1-2-3l1-4c14-15 52-4 59-1a5 5 0 0 1 3 6 5 5 0 0 1-2 3l-3 1zm42 0-3-1a5 5 0 0 1-1-7 5 5 0 0 1 2-2c7-3 45-14 59 1a5 5 0 0 1 1 4l-2 3a5 5 0 0 1-4 2l-3-2c-8-8-37-3-47 1l-2 1", fill: "#284A75", display: "block" }),
1921
+ React__default.createElement("path", { fill: "#FF886C", d: "M208 260a4 4 0 0 0-3 1 4 4 0 0 0-1 3c2 8 6 19 22 19s21-11 22-19a4 4 0 0 0-4-4l-18-1-18 1", display: "block" }),
1922
+ React__default.createElement("g", { display: "block" },
1923
+ React__default.createElement("g", { fill: "#FFF" },
1924
+ React__default.createElement("path", { d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" }),
1925
+ React__default.createElement("path", { d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" })),
1926
+ React__default.createElement("path", { fill: "#E4E8EC", d: "M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171" }),
1927
+ React__default.createElement("path", { fill: "#FFF", d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" }),
1928
+ React__default.createElement("path", { fill: "#E4E8EC", d: "M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171" }),
1929
+ React__default.createElement("path", { fill: "#FF6F4D", d: "M389 358h-11a17 17 0 0 0-12 5 17 17 0 0 0-5 12v3l-1 3a4 4 0 0 1-3 1h-3a17 17 0 0 0-17 17v12a17 17 0 0 0 17 17h3a4 4 0 0 1 4 3v3a17 17 0 0 0 17 17h11c5 0 9-2 12-5s5-7 5-12v-3a4 4 0 0 1 4-3h3c4 0 9-2 12-5s5-8 5-12v-12c0-5-2-9-5-12a17 17 0 0 0-12-5h-3a4 4 0 0 1-4-4v-3a17 17 0 0 0-5-12 17 17 0 0 0-12-5" })))));
1930
+
1931
+ const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
1932
+ const { locale, configs: { enableAppIntroPage }, } = useContext(NavigationContext);
1933
+ const ecomNavItem = menuItems.find((m) => m.id === 'ecom');
1934
+ const careNavItem = menuItems.find((m) => m.id === 'care');
1935
+ return (React__default.createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true, hideCloseBtn: true, stylesContainer: {
1936
+ display: 'flex',
1937
+ gap: 0,
1938
+ padding: 0,
1939
+ } },
1940
+ ecomNavItem && (React__default.createElement("a", { tabIndex: 0, href: ecomNavItem.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": ecomNavItem.link },
1941
+ React__default.createElement(StyleButton, { variant: "tertiary", leftIcon: React__default.createElement(InitialCart, null) }, ecomNavItem.name))),
1942
+ careNavItem && (React__default.createElement("a", { tabIndex: 0, href: careNavItem.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": careNavItem.link },
1943
+ React__default.createElement(StyleButton, { variant: "tertiary", leftIcon: React__default.createElement(InitialDoctor, null) }, careNavItem.name))),
1944
+ enableAppIntroPage && (React__default.createElement("a", { tabIndex: 0, href: "https://applink.hellobacsi.com/o9Q88rQh7Mb", "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": `https://applink.hellobacsi.com/o9Q88rQh7Mb` },
1945
+ React__default.createElement(StyleButton, { variant: "tertiary", leftIcon: React__default.createElement(StyleWrapperIcon, null,
1946
+ React__default.createElement(Logo, { width: 16, height: 15 })) }, `${LOCALE_SPECS[locale || 'en-PH'].SITE_NAME_FORMATTED} App`)))));
1947
+ };
1948
+
1949
+ var styles = {"menuContainer":"y5VJdvw","menuIcon":"oVhOSCy","menuIconWrapper":"pX8OXTM"};
1950
+
1951
+ function ClosePopupIcon({ className }) {
1952
+ return (React__default.createElement("div", null,
1953
+ React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
1954
+ React__default.createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" }))));
1955
+ }
1956
+
1957
+ function HamburgerIcon({ siteType, enableSearch, className, style, }) {
1958
+ const { isWinCashBackTheme } = useContext(NavigationContext);
1959
+ if (siteType === 'helloSites') {
1960
+ return (React__default.createElement("div", { className: "hamburger-container" }, isWinCashBackTheme ? (React__default.createElement(HamburgerWhite, { className: className })) : (React__default.createElement("img", { "data-list-type": "Header", "data-content-type": "Navigation", "data-content-topic": "Hamburger", src: enableSearch
1961
+ ? CommonGAssets.getAssetPath('hamburgerMenuNewWithSearch.svg')
1962
+ : CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: Object.assign({ width: '24px', height: '24px' }, style), alt: "home", className: className, loading: "lazy" }))));
1963
+ }
1964
+ /** Marry Baby */
1965
+ return (React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
1966
+ React__default.createElement("path", { d: "M3.35 15a.65.65 0 0 1 .65-.65h10a.65.65 0 1 1 0 1.3H4a.65.65 0 0 1-.65-.65m0-6A.65.65 0 0 1 4 8.35h16a.65.65 0 1 1 0 1.3H4A.65.65 0 0 1 3.35 9", fill: "#3E3F58" })));
1967
+ }
1968
+
1969
+ const StyledMasterMenuContainer = styled.div `
1970
+ position: fixed;
1971
+ z-index: 201;
1972
+ top: calc(100% - 1px);
1973
+ width: 100%;
1974
+ height: calc(100vh - var(--header-bottom));
1975
+ overflow-x: hidden;
1976
+ overflow-y: auto;
1977
+ background: white;
1978
+ display: flex;
1979
+ flex-direction: column;
1980
+ padding-bottom: 0;
1981
+ left: 0;
1982
+ .hhgcomp-navigation-popupwrapper-menuwrapper {
1983
+ position: unset;
1984
+ }
1985
+ `;
1986
+ styled.div `
1987
+ padding: 16px;
1988
+ padding-bottom: 12px;
1989
+ .fake-search-input {
1990
+ pointer-events: none;
1991
+ input {
1992
+ line-height: 20px;
1993
+ padding-top: 10px;
1994
+ padding-bottom: 10px;
1995
+ }
1996
+ }
1997
+ &[data-theme='marryBaby'] {
1998
+ input {
1999
+ background: ${theme.mbColors.lightGray};
2000
+ border-radius: 16px;
2001
+ border: none;
2002
+ }
2003
+ }
2004
+ `;
2005
+ const StyledWrapper = styled.div `
2006
+ display: block;
2007
+ overflow-y: auto;
2008
+ flex: 1;
2009
+ padding-bottom: 16px;
2010
+ &::-webkit-scrollbar {
2011
+ width: 0;
2012
+ display: none;
2013
+ }
2014
+ `;
2015
+ const StyleWrapperSearch = styled.div `
2016
+ padding: 0 16px;
2017
+ `;
2018
+
2019
+ const StyledContainerItems = styled.div `
2020
+ display: grid;
2021
+
2022
+ grid-template-columns: repeat(3, 1fr);
2023
+ gap: 24px;
2024
+ margin-bottom: 3.5rem;
2025
+ ${MediaQueries.tdDown} {
2026
+ grid-template-columns: repeat(1, 1fr);
2027
+ }
2028
+ `;
2029
+
2030
+ const StyledItem = styled.a `
2031
+ text-decoration: none;
2032
+ display: flex;
2033
+ align-items: center;
2034
+ `;
2035
+
2036
+ const Item = ({ item, index = 0 }) => {
2037
+ if (!item)
2038
+ return null;
2039
+ return (React__default.createElement(StyledItem, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index + 1}`, "data-event-label": item.url },
2040
+ React__default.createElement("img", { loading: "lazy", alt: item.name, src: item.featuredImage || '/images/avatar.jpg', style: {
2041
+ width: '40px',
2042
+ height: '40px',
2043
+ } }),
2044
+ React__default.createElement(Text, { size: "p2", weight: "regular", style: {
2045
+ marginLeft: 16,
2046
+ } }, item.name),
2047
+ React__default.createElement("img", { src: CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
2048
+ width: '20px',
2049
+ height: '20px',
2050
+ marginLeft: 'auto',
2051
+ }, loading: "lazy" })));
2052
+ };
2053
+
2054
+ const EcomSpotlights = ({ helpfulUrls = [], }) => {
2055
+ const { t } = useTranslations();
2056
+ // const { siteType } = useContext(NavigationContext)
2057
+ if (!helpfulUrls.length)
2058
+ return null;
2059
+ return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.spotlightEcom') }, helpfulUrls.length !== 0 ? (React__default.createElement(StyledContainerItems, null, helpfulUrls === null || helpfulUrls === void 0 ? void 0 : helpfulUrls.slice(0, 5).map((s, index) => (React__default.createElement(Item, { key: index, index: index, item: s }))))) : (React__default.createElement(React__default.Fragment, null)
2060
+ // <SpotlightNoData
2061
+ // title={t('home.navigator.menu.ecom.noDatas.title')}
2062
+ // description={t('home.navigator.menu.ecom.noDatas.description')}
2063
+ // link={hrefViewMore}
2064
+ // cta={t('home.navigator.menu.ecom.homeButton')}
2065
+ // icon={CommonGAssets.getAssetPath('ecom.svg')}
2066
+ // />
2067
+ )));
2068
+ };
2069
+
2070
+ const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage = false, }) => {
2071
+ var _a, _b;
2072
+ const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, customClasses, } = useContext(NavigationContext);
2073
+ const { t } = useTranslations();
2074
+ return (React__default.createElement(StyledMasterMenuContainer, { className: customClasses.categoriesMenu, id: "categories-menu" },
2075
+ !isHomepage && (React__default.createElement(StyleWrapperSearch, null,
2076
+ React__default.createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: false, isRedirectSearchPage: true }))),
2077
+ React__default.createElement(StyledWrapper, null,
2078
+ React__default.createElement(Categories, { UrlFE: statics.HOME_PAGE_URL, titleBtnViewMore: t('home.navigator.menuItem.allCategories'), menuItems: menuItems, headingTitle: t('home.navigator.menuItem.healthCategories'), onClosePopup: closePopup, activeItem: activeMenuService }),
2079
+ activeMenuService === 'categories' && (React__default.createElement(CategorySpotlights, { spotlightsList: (categories === null || categories === void 0 ? void 0 : categories.spotlights) || [], hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })),
2080
+ activeMenuService === 'tools' && (React__default.createElement(ToolSpotlights, { spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}` })),
2081
+ activeMenuService === 'care' && (React__default.createElement(CareSpotlights, { spotlights: care === null || care === void 0 ? void 0 : care.spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_b = LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b.SPECIALTIES}` })),
2082
+ activeMenuService === 'together' && (React__default.createElement(CommunitySpotlights, { spotlights: together === null || together === void 0 ? void 0 : together.spotlights })),
2083
+ activeMenuService === 'ecom' && (React__default.createElement(EcomSpotlights, { helpfulUrls: ecom === null || ecom === void 0 ? void 0 : ecom.helpfulUrls })),
2084
+ activeMenuService === 'video' && (React__default.createElement(VideoSpotlights, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights, layout: "stack" })))));
2085
+ };
2086
+
2087
+ const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
2088
+ const { siteType } = useContext(NavigationContext);
2089
+ const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = useCSSFocusPopupHelper();
2090
+ return (React__default.createElement(DisplayWrapper, { mediaQueryKey: "mbDown" },
2091
+ React__default.createElement("header", { className: styles.menuContainer },
2092
+ React__default.createElement("div", { className: styles.menuIcon, ref: containerRef, role: "button", tabIndex: 0, onBlur: onContainerBlur, onFocus: onContainerFocus },
2093
+ React__default.createElement("div", { className: styles.menuIconWrapper, onMouseDown: onButtonMouseDown, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": "Hamburger Navigation URL" },
2094
+ React__default.createElement(ClosePopupIcon, { className: "mobile-close-icon" }),
2095
+ React__default.createElement(HamburgerIcon, { siteType: siteType, enableSearch: false, className: "mobile-hamburger-icon" })),
2096
+ React__default.createElement(MenuServiceList, { menuItems: menuItems, isHomepage: isHomepage, projectType: projectType, closePopup: onClose })))));
2097
+ };
2098
+
2099
+ const StyledHeaderWrapper = styled.div `
2100
+ z-index: 201;
2101
+ width: 100%;
2102
+ align-items: center;
2103
+
2104
+ background-color: ${theme.colors.white};
2105
+
2106
+ transition: height 0.3s, transform 0.3s;
2107
+
2108
+ &[data-win-cash-back-theme='true'] {
2109
+ background-color: ${theme.colors.blue900};
2110
+ }
2111
+
2112
+ &[data-site-type='helloSites'] {
2113
+ border-bottom: 1px solid ${theme.colors.neutral100};
2114
+ }
2115
+
2116
+ &[data-site-type='helloSites'][data-win-cash-back-theme='true'] {
2117
+ border-bottom: none;
2118
+ }
2119
+
2120
+ &[data-sponsored='true'] {
2121
+ border-bottom: none;
2122
+ }
2123
+ &[data-marry-baby-tone='pink'] {
2124
+ background-color: ${theme.mbColors.lightPink};
2125
+ }
2126
+
2127
+ ${MediaQueries.mbUp} {
2128
+ &[data-sitewide-banner-shown='true'][data-collapsed='true'] {
2129
+ transform: translateY(-64px);
2130
+ }
2131
+ }
2132
+ ${MediaQueries.mbDown} {
2133
+ &[data-site-type='marryBaby'] {
2134
+ border-bottom: none;
2135
+ }
2136
+
2137
+ &[data-fixed-bar='true'] {
2138
+ position: fixed;
2139
+ transform: translateY(0);
2140
+ }
2141
+
2142
+ &[data-fixed-bar='false'] {
2143
+ position: absolute;
2144
+ }
2145
+
2146
+ &[data-collapsed='true'] {
2147
+ transform: translateY(-100%);
2148
+ transition: transform 0.5s;
2149
+ }
2150
+ &[data-collapsed='false'] {
2151
+ transform: translateY(0);
2152
+ transition: transform 0.5s;
2153
+ }
2154
+
2155
+ .top-bar-header {
2156
+ line-height: normal;
2157
+ }
2158
+
2159
+ &[data-header-type='home'] {
2160
+ z-index: ${Z_INDEX.headerContainerHome};
2161
+ }
2162
+
2163
+ &[data-is-displayed='false'] {
2164
+ //display: none;
2165
+ visibility: hidden;
2166
+ }
2167
+ }
2168
+
2169
+ .marry-baby {
2170
+ input {
2171
+ background: ${theme.mbColors.lightGray};
2172
+ border-radius: 16px;
2173
+ border: none;
2174
+ }
2175
+ max-width: 172px;
2176
+ }
2177
+ &[data-site-type='marryBaby'] {
2178
+ .close-btn {
2179
+ top: 16px;
2180
+ right: 16px;
2181
+ }
2182
+ }
2183
+ `;
2184
+ const StyledHeader = styled.div `
2185
+ display: flex;
2186
+ height: 100%;
2187
+ align-items: center;
2188
+
2189
+ justify-content: space-between;
2190
+ padding: 0 2rem;
2191
+ height: 56px;
2192
+ ${MediaQueries.pcDown} {
2193
+ padding: 0 1rem;
2194
+ }
2195
+
2196
+ ${MediaQueries.mbDown} {
2197
+ position: relative;
2198
+ height: 56px;
2199
+ background: ${theme.colors.white};
2200
+ gap: 2px;
2201
+ }
2202
+
2203
+ &[data-win-cash-back-theme='true'] {
2204
+ ${MediaQueries.mbDown} {
2205
+ background: ${theme.colors.blue900};
2206
+ }
2207
+ }
1945
2208
 
1946
2209
  &[data-site-type='marryBaby'] {
1947
2210
  width: 100%;
@@ -2066,239 +2329,6 @@ const StyleButtonAiChat = styled(Button) `
2066
2329
  }
2067
2330
  `;
2068
2331
 
2069
- var styles = {"gridContainer":"q3nL5cp","container":"_2DNf80G","closeWrapper":"Q-glX-n"};
2070
-
2071
- const BtnClosePopup = ({ onClosePopup }) => {
2072
- return (React__default.createElement("div", { className: `${styles.closeWrapper} close-btn`, onClick: onClosePopup },
2073
- React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
2074
- React__default.createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" }))));
2075
- };
2076
-
2077
- const PopupWrapper = ({ onClosePopup, isDisplay, children, isNavMenu, hideCloseBtn, stylesContainer, }) => {
2078
- return (React__default.createElement("div", { className: "hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools", "data-is-display": !!isDisplay, "data-is-nav-menu": !!isNavMenu },
2079
- React__default.createElement(Container, { className: "hhgcomp-navigation-popupwrapper-menuwrapper-child" },
2080
- !hideCloseBtn && (React__default.createElement("div", { className: styles.container },
2081
- React__default.createElement(BtnClosePopup, { onClosePopup: onClosePopup }))),
2082
- React__default.createElement(Container, { className: styles.gridContainer, style: stylesContainer }, children))));
2083
- };
2084
-
2085
- const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [], }) => {
2086
- var _a;
2087
- const { t } = useTranslations();
2088
- const { locale, configs: { statics }, } = useContext(NavigationContext);
2089
- return (React__default.createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
2090
- React__default.createElement(Categories, { headingTitle: t('home.navigator.menuItem.specialties'), hrefViewMore: `${statics.CARE_URL_FE}/`, UrlFE: statics.CARE_URL_FE, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allSpecialties'), menuItems: (careSpecialties === null || careSpecialties === void 0 ? void 0 : careSpecialties.map((specialty) => {
2091
- if (!specialty)
2092
- return {};
2093
- return {
2094
- name: String(specialty.name) || '',
2095
- link: getCareSearchUrl({
2096
- type: 'DOCTOR',
2097
- specialtySlug: specialty.slug,
2098
- locale,
2099
- }),
2100
- thumbnail: (specialty === null || specialty === void 0 ? void 0 : specialty.thumbnail) || '',
2101
- };
2102
- })) || [] }),
2103
- React__default.createElement(CareSpotlights, { spotlights: spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_a = LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.SPECIALTIES}/` })));
2104
- };
2105
-
2106
- const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isOpen, }) => {
2107
- const { t } = useTranslations();
2108
- const { locale, configs: { statics }, } = useContext(NavigationContext);
2109
- return (React__default.createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
2110
- React__default.createElement(Categories, { hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/categories/`, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allCategories'), menuItems: (categories === null || categories === void 0 ? void 0 : categories.map((cat) => {
2111
- if (!cat)
2112
- return {};
2113
- return {
2114
- name: cat.displayName || null,
2115
- link: (cat === null || cat === void 0 ? void 0 : cat.customizedUrl) || (cat === null || cat === void 0 ? void 0 : cat.permalink) || '/',
2116
- thumbnail: cat.iconUrl || null,
2117
- };
2118
- })) || [], headingTitle: t('home.navigator.menuItem.healthCategories') }),
2119
- React__default.createElement(CategorySpotlights, { spotlightsList: spotlightsList, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })));
2120
- };
2121
-
2122
- const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [], }) => {
2123
- const { t } = useTranslations();
2124
- const { configs: { statics }, } = useContext(NavigationContext);
2125
- return (React__default.createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
2126
- React__default.createElement(Categories, { hrefViewMore: normalizeLink(statics.TOGETHER_URL_FE), UrlFE: normalizeLinkSlash(statics.TOGETHER_URL_FE), onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allCommunities'), menuItems: (communities === null || communities === void 0 ? void 0 : communities.map((community) => {
2127
- if (!community)
2128
- return {};
2129
- return {
2130
- name: community.name || '',
2131
- link: community.slug || '/',
2132
- thumbnail: community.thumbnail || '',
2133
- };
2134
- })) || [], headingTitle: t('home.navigator.menuItem.allCommunitiesheadingTitle') }),
2135
- React__default.createElement(CommunitySpotlights, { spotlights: spotlights })));
2136
- };
2137
-
2138
- const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [], healthTools = [], }) => {
2139
- var _a;
2140
- const { t } = useTranslations();
2141
- const { configs: { statics }, } = useContext(NavigationContext);
2142
- const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`;
2143
- return (React__default.createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
2144
- React__default.createElement(Categories, { hrefViewMore: hrefViewMore, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, headingTitle: t('home.navigator.menuItem.healthToolsList'), titleBtnViewMore: t('home.navigator.menuItem.allHealthTools'), menuItems: healthTools.map((t) => ({
2145
- name: t.title,
2146
- link: t.link
2147
- ? t.link.startsWith('http')
2148
- ? t.link
2149
- : `${statics.HOME_PAGE_URL}${t.link}`
2150
- : undefined,
2151
- thumbnail: t.icon,
2152
- isMobileAppTool: t.isMobileAppTool,
2153
- })) }),
2154
- React__default.createElement(ToolSpotlights, { spotlightHealthTools: spotlightHealthTools, hrefViewMore: hrefViewMore })));
2155
- };
2156
-
2157
- const MenuVideoList = ({ spotlightsList = [], onClose, isOpen }) => {
2158
- const { t } = useTranslations();
2159
- const { locale, configs: { statics }, } = useContext(NavigationContext);
2160
- const listing = useMemo(() => [
2161
- {
2162
- name: t('home.navigator.menu.videos'),
2163
- link: `${statics.VIDEO_URL_FE}/video/`,
2164
- thumbnail: CommonGAssets.getAssetPath('nav-icons/video.svg'),
2165
- },
2166
- {
2167
- name: t('home.navigator.menu.shorts'),
2168
- link: `${statics.VIDEO_URL_FE}/short/`,
2169
- thumbnail: CommonGAssets.getAssetPath('nav-icons/short.svg'),
2170
- },
2171
- // {
2172
- // name: t('home.navigator.menu.podcasts'),
2173
- // link: `${statics.VIDEO_URL_FE}/podcast/`,
2174
- // thumbnail: CommonGAssets.getAssetPath('nav-icons/podcast.svg'),
2175
- // },
2176
- ], []);
2177
- return (React__default.createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
2178
- React__default.createElement(Categories, { hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/videos/`, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allVideos'), menuItems: listing, headingTitle: t('home.navigator.menuItem.videoCategories') }),
2179
- React__default.createElement(VideoSpotlights, { spotlightsList: spotlightsList })));
2180
- };
2181
-
2182
- styled.div `
2183
- display: grid;
2184
- grid-template-columns: repeat(4, 1fr);
2185
- gap: 24px;
2186
- ${MediaQueries.tdDown} {
2187
- gap: 12px;
2188
- grid-template-columns: 1fr;
2189
- }
2190
- `;
2191
- const StyleButton = styled(Button) `
2192
- border: 1px solid ${theme.colors.white} !important;
2193
- .mantine-Button-leftIcon {
2194
- width: 24px;
2195
- height: 24px;
2196
- }
2197
- `;
2198
- const StyleWrapperIcon = styled.div `
2199
- width: 20px;
2200
- height: 20px;
2201
- display: flex;
2202
- justify-content: center;
2203
- align-items: center;
2204
-
2205
- border-radius: 5px;
2206
- background: linear-gradient(
2207
- 180deg,
2208
- rgba(255, 255, 255, 0.1) 15.1%,
2209
- rgba(0, 0, 0, 0.01) 100%
2210
- ),
2211
- linear-gradient(180deg, #65b5ff 0%, #2685f1 100%);
2212
- background-blend-mode: soft-light, normal;
2213
- `;
2214
-
2215
- const InitialCart = () => (React__default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: "512", height: "512", style: {
2216
- width: '100%',
2217
- height: '100%',
2218
- contentVisibility: 'visible',
2219
- }, viewBox: "0 0 512 512" },
2220
- React__default.createElement("defs", null,
2221
- React__default.createElement("clipPath", { id: "__lottie_element_2" },
2222
- React__default.createElement("path", { d: "M0 0h512v512H0z" })),
2223
- React__default.createElement("path", { fill: "#FFF", d: "m139 0-13 174h244l-30 292 165 1 4-466z", opacity: "1", id: "__lottie_element_6", display: "block" }),
2224
- React__default.createElement("mask", { id: "__lottie_element_6_1", "mask-type": "alpha" },
2225
- React__default.createElement("use", { xlinkHref: "#__lottie_element_6" }))),
2226
- React__default.createElement("g", { clipPath: "url(#__lottie_element_2)" },
2227
- React__default.createElement("path", { fill: "#2B62CD", d: "m430 181-40 41-111-120a18 18 0 0 1-5-13c0-5 2-9 5-13l6-5a18 18 0 0 1 25-1zm-348 0 40 41 111-120a18 18 0 0 0 0-26l-6-5a18 18 0 0 0-25-1z", display: "block" }),
2228
- React__default.createElement("g", { display: "block" },
2229
- React__default.createElement("path", { fill: "#2D87F3", d: "M385 427H125c-4 0-9-1-13-5a20 20 0 0 1-6-12L88 239h335l-18 171a20 20 0 0 1-7 12c-3 4-8 5-13 5" }),
2230
- React__default.createElement("path", { fill: "#2B62CD", d: "m160 402-5-2a6 6 0 0 1-1-4l-8-114v-2a6 6 0 0 1 3-4 6 6 0 0 1 5 0 6 6 0 0 1 4 5l8 115-1 2a6 6 0 0 1-1 2 6 6 0 0 1-4 2m61 0-5-2a6 6 0 0 1-1-4l-2-114c0-2 0-3 2-5a6 6 0 0 1 4-1l4 1a6 6 0 0 1 2 4l2 115a6 6 0 0 1-2 4 6 6 0 0 1-4 2zm131 0a6 6 0 0 1-5-4l-1-2 8-115a6 6 0 0 1 2-4l2-1a6 6 0 0 1 2 0 6 6 0 0 1 5 2 6 6 0 0 1 1 4l-8 114a6 6 0 0 1-6 6m-61 0a6 6 0 0 1-6-6l2-114 2-5a6 6 0 0 1 4-1 6 6 0 0 1 5 1 6 6 0 0 1 1 5l-2 114a6 6 0 0 1-1 4 6 6 0 0 1-5 2" }),
2231
- React__default.createElement("path", { fill: "#91CAFF", d: "M424 243H88a20 20 0 0 1-21-18l-3-28a20 20 0 0 1 20-23h344a20 20 0 0 1 20 23l-3 28a20 20 0 0 1-21 18" })),
2232
- React__default.createElement("g", { mask: "url(#__lottie_element_6_1)", display: "block" },
2233
- React__default.createElement("path", { fill: "#FFC326", d: "m294 198-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z" }),
2234
- React__default.createElement("path", { fill: "#FFD658", d: "M272 189c0 3 0 7 2 10a12 12 0 0 0 10 6h-81l-3-1c-3-1-5-3-6-5a15 15 0 0 1 5-19 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9" }),
2235
- React__default.createElement("path", { fill: "#FEA21E", d: "M277 326h-4c3 0 5-2 5-4l15-115 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-5-4-7-2-15 5-19 2-2 5-3 9-3h1c4 0 7 2 10 4l6 9 1 11 14 119-1 4z" }),
2236
- React__default.createElement("path", { fill: "#FC7419", d: "M303 310v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-5 1v1c0 2-1 3-2 3a3 3 0 0 1-3-2l1-4a9 9 0 0 1 11-4c3 1 5 3 6 6v9" })),
2237
- React__default.createElement("g", { display: "block" },
2238
- React__default.createElement("path", { fill: "#FFC326", d: "m460 330-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z" }),
2239
- React__default.createElement("path", { fill: "#FFD658", d: "M438 321c0 3 0 6 2 9a12 12 0 0 0 10 7h-81l-3-1c-3-1-5-3-6-6a15 15 0 0 1 5-18 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9" }),
2240
- React__default.createElement("path", { fill: "#FEA21E", d: "M443 458h-4c3 0 5-2 5-5l15-114 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-6-4-6-2-14 5-18 2-2 5-3 9-3h1c4 0 7 2 10 4s5 5 6 9l1 11 14 119-1 4z" }),
2241
- React__default.createElement("path", { fill: "#FC7419", d: "M469 442v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-4 1l-1 1-2 3a3 3 0 0 1-3-3l1-3a9 9 0 0 1 11-4c3 1 5 3 6 5 1 3 2 7 0 10" })))));
2242
-
2243
- const InitialDoctor = () => (React__default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "512", height: "512", style: {
2244
- width: '100%',
2245
- height: '100%',
2246
- contentVisibility: 'visible',
2247
- }, viewBox: "0 0 512 512" },
2248
- React__default.createElement("defs", null,
2249
- React__default.createElement("clipPath", { id: "__lottie_element_23" },
2250
- React__default.createElement("path", { d: "M0 0h512v512H0z" }))),
2251
- React__default.createElement("g", { clipPath: "url(#__lottie_element_23)" },
2252
- React__default.createElement("g", { display: "block" },
2253
- React__default.createElement("path", { fill: "#1B3250", d: "M430 332c-13-17-52-37-42-63 16-41-9-72-28-84-22-14-23-43-30-66-15-50-53-73-103-73s-88 21-103 71c-7 22-7 53-29 67-19 12-61 41-45 82 10 26-15 52-28 69-39 53 13 89 72 98l255 2c59-9 120-50 81-103" }),
2254
- React__default.createElement("path", { fill: "#FFB497", d: "M120 202c-11 4-13 17-10 29a29 29 0 0 0 14 17 29 29 0 0 0 22 3l-8-49a25 25 0 0 0-18 0" }),
2255
- React__default.createElement("path", { fill: "#FF977B", d: "M147 235a5 5 0 0 1-4-2c-6-8-17-8-17-8a5 5 0 0 1-4-2 5 5 0 0 1 0-7l4-1c1 0 16 0 25 11a5 5 0 0 1-4 9" }),
2256
- React__default.createElement("path", { fill: "#FFB497", d: "M332 202a25 25 0 0 0-18 0l-8 49a29 29 0 0 0 22-3c7-3 12-10 14-17 3-12 1-25-10-29" }),
2257
- React__default.createElement("path", { fill: "#FF977B", d: "M305 235a5 5 0 0 1-5-3 5 5 0 0 1 1-6c9-11 24-11 25-11a5 5 0 0 1 5 5 5 5 0 0 1-5 5s-11 0-17 8a5 5 0 0 1-4 2" }),
2258
- React__default.createElement("path", { fill: "#E3F2FF", d: "M366 452H86a3 3 0 0 1-4-4c5-19 19-47 37-65a153 153 0 0 1 42-28l1-1a85 85 0 0 1 29-19h70a84 84 0 0 1 29 19l1 1a153 153 0 0 1 42 28c18 18 32 46 37 65a3 3 0 0 1-1 3 3 3 0 0 1-3 1" }),
2259
- React__default.createElement("path", { fill: "#FCCAAF", d: "M261 335c-25 32-48 32-70 0l5-10v-1a45 45 0 0 0 2-13h56a48 48 0 0 0 2 13v1l5 10" }),
2260
- React__default.createElement("path", { fill: "#2D87F3", d: "M281 452H175c-14-93 16-117 16-117 7 9 20 15 35 15s28-6 35-15c0 0 9 12 16 37 5 20 6 60 4 80" }),
2261
- React__default.createElement("path", { fill: "#BCDEFF", d: "M191 335a84 84 0 0 0-30 19 53 53 0 0 0-13 28c0 3 11 1 16 0h1v1c-13 8-17 19-16 25 2 15 6 30 13 44h26s-12-72 3-117m96 48a1 1 0 0 1 0-1h1c1 0 0 0 0 0 5 1 16 3 16 0a53 53 0 0 0-13-28 83 83 0 0 0-30-19c15 45 3 117 3 117h26a157 157 0 0 0 13-44c1-6-3-17-16-25" }),
2262
- React__default.createElement("path", { fill: "#FF977B", d: "M256 325c-20 18-40 18-60 0v-1a46 46 0 0 0 2-13h56a48 48 0 0 0 2 13v1" }),
2263
- React__default.createElement("path", { fill: "#FCCAAF", d: "M314 205c-3 54-17 80-39 96-14 11-37 24-49 24s-35-13-49-24c-22-16-36-42-39-96 52-21 30-127 85-99a7 7 0 0 0 6 0c55-28 33 78 85 99" }),
2264
- React__default.createElement("path", { fill: "#FFB497", d: "M221 106c-27-12-34 12-43 40-7 25-16 54-41 63l1 3c43 0 71-62 83-106" })),
2265
- React__default.createElement("path", { fill: "#FF977B", d: "M233 233a5 5 0 0 0-4 2l-3 1-3-1a5 5 0 0 0-2-2 5 5 0 0 0-4 0 5 5 0 0 0-3 5c0 6 9 8 12 8s12-2 12-8a5 5 0 0 0-2-3 5 5 0 0 0-3-2", display: "block" }),
2266
- React__default.createElement("path", { fill: "#1B3250", d: "m261 199 9-5a27 27 0 0 1 11-1c4 0 7 0 11 2l8 4a2 2 0 0 1 1 2 2 2 0 0 1 0 1h-1l-10-1h-9a20 20 0 0 0-7 2 65 65 0 0 0-7 4 5 5 0 0 1-4 1 5 5 0 0 1-3-2 5 5 0 0 1-1-2 5 5 0 0 1 2-5", display: "block" }),
2267
- React__default.createElement("path", { fill: "#284A75", d: "M280 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19", display: "block" }),
2268
- React__default.createElement("path", { fill: "#1B3250", d: "m192 210-7-4-7-2h-9l-9 1a2 2 0 0 1-2-1v-1l1-1 9-4c3-2 6-2 10-2 4-1 7 0 11 1l9 5a5 5 0 0 1 2 3v4a5 5 0 0 1-7 2l-1-1", display: "block" }),
2269
- React__default.createElement("path", { fill: "#284A75", d: "M184 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19", display: "block" }),
2270
- React__default.createElement("g", { fill: "#FFF", display: "block" },
2271
- React__default.createElement("path", { d: "m216 213-4-1a5 5 0 0 1-1-3v-4a5 5 0 0 1 3-2 33 33 0 0 1 24 0 5 5 0 0 1 3 7 5 5 0 0 1-3 2h-3a23 23 0 0 0-18 1h-1" }),
2272
- React__default.createElement("path", { d: "M183 249a38 38 0 0 1-35-23 38 38 0 0 1-2-22 38 38 0 0 1 11-19 38 38 0 0 1 19-11c7-1 15 0 22 2a38 38 0 0 1 16 14 38 38 0 0 1 7 21 38 38 0 0 1-11 27 38 38 0 0 1-27 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 42-4c3-4 4-9 4-15a27 27 0 0 0-8-19 27 27 0 0 0-19-8zm86 65a38 38 0 0 1-35-24 38 38 0 0 1 27-51 38 38 0 0 1 39 16 38 38 0 0 1 6 21 38 38 0 0 1-11 27 38 38 0 0 1-26 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 46-19 27 27 0 0 0-8-19 27 27 0 0 0-19-8z" })),
2273
- React__default.createElement("path", { d: "m205 180-2-1c-10-4-39-9-47-1a5 5 0 0 1-3 2 5 5 0 0 1-4-2 5 5 0 0 1-2-3l1-4c14-15 52-4 59-1a5 5 0 0 1 3 6 5 5 0 0 1-2 3l-3 1zm42 0-3-1a5 5 0 0 1-1-7 5 5 0 0 1 2-2c7-3 45-14 59 1a5 5 0 0 1 1 4l-2 3a5 5 0 0 1-4 2l-3-2c-8-8-37-3-47 1l-2 1", fill: "#284A75", display: "block" }),
2274
- React__default.createElement("path", { fill: "#FF886C", d: "M208 260a4 4 0 0 0-3 1 4 4 0 0 0-1 3c2 8 6 19 22 19s21-11 22-19a4 4 0 0 0-4-4l-18-1-18 1", display: "block" }),
2275
- React__default.createElement("g", { display: "block" },
2276
- React__default.createElement("g", { fill: "#FFF" },
2277
- React__default.createElement("path", { d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" }),
2278
- React__default.createElement("path", { d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" })),
2279
- React__default.createElement("path", { fill: "#E4E8EC", d: "M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171" }),
2280
- React__default.createElement("path", { fill: "#FFF", d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" }),
2281
- React__default.createElement("path", { fill: "#E4E8EC", d: "M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171" }),
2282
- React__default.createElement("path", { fill: "#FF6F4D", d: "M389 358h-11a17 17 0 0 0-12 5 17 17 0 0 0-5 12v3l-1 3a4 4 0 0 1-3 1h-3a17 17 0 0 0-17 17v12a17 17 0 0 0 17 17h3a4 4 0 0 1 4 3v3a17 17 0 0 0 17 17h11c5 0 9-2 12-5s5-7 5-12v-3a4 4 0 0 1 4-3h3c4 0 9-2 12-5s5-8 5-12v-12c0-5-2-9-5-12a17 17 0 0 0-12-5h-3a4 4 0 0 1-4-4v-3a17 17 0 0 0-5-12 17 17 0 0 0-12-5" })))));
2283
-
2284
- const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
2285
- const { locale, configs: { enableAppIntroPage }, } = useContext(NavigationContext);
2286
- const ecomNavItem = menuItems.find((m) => m.id === 'ecom');
2287
- const careNavItem = menuItems.find((m) => m.id === 'care');
2288
- return (React__default.createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true, hideCloseBtn: true, stylesContainer: {
2289
- display: 'flex',
2290
- gap: 0,
2291
- padding: 0,
2292
- } },
2293
- ecomNavItem && (React__default.createElement("a", { tabIndex: 0, href: ecomNavItem.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": ecomNavItem.link },
2294
- React__default.createElement(StyleButton, { variant: "tertiary", leftIcon: React__default.createElement(InitialCart, null) }, ecomNavItem.name))),
2295
- careNavItem && (React__default.createElement("a", { tabIndex: 0, href: careNavItem.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": careNavItem.link },
2296
- React__default.createElement(StyleButton, { variant: "tertiary", leftIcon: React__default.createElement(InitialDoctor, null) }, careNavItem.name))),
2297
- enableAppIntroPage && (React__default.createElement("a", { tabIndex: 0, href: "https://applink.hellobacsi.com/o9Q88rQh7Mb", "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": `https://applink.hellobacsi.com/o9Q88rQh7Mb` },
2298
- React__default.createElement(StyleButton, { variant: "tertiary", leftIcon: React__default.createElement(StyleWrapperIcon, null,
2299
- React__default.createElement(Logo, { width: 16, height: 15 })) }, `${LOCALE_SPECS[locale || 'en-PH'].SITE_NAME_FORMATTED} App`)))));
2300
- };
2301
-
2302
2332
  const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, customClasses, }) => {
2303
2333
  var _a, _b, _c, _d;
2304
2334
  const { siteType, isMobile = false, locale, sitewideBanner, sitewideBannerShown = true, sponsorComponent, isHomepage = false,
@@ -2316,7 +2346,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
2316
2346
  // enableProfileEcom,
2317
2347
  }, userState: { userInfo }, onLogout,
2318
2348
  // userProfileRouterPush,
2319
- isUserLoading, slot, } = useContext(NavigationContext);
2349
+ isUserLoading, slot, isWinCashBackTheme: winCashBackTheme, } = useContext(NavigationContext);
2320
2350
  const { triggerLogin } = useSSOV2Store();
2321
2351
  const { SSO_URL, HOME_PAGE_URL } = statics;
2322
2352
  const isSponsored = !!sponsorComponent;
@@ -2372,9 +2402,9 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
2372
2402
  scrolling();
2373
2403
  }, [isMobile]);
2374
2404
  const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
2375
- return (React__default.createElement(StyledHeaderWrapper, { "data-site-type": siteType, "data-sponsored": isSponsored, "data-sitewide-banner-shown": isShowingSiteWideBanner, "data-header-type": "home", "data-collapsed": isCollapsed, "data-is-displayed": true, id: "site-header", ref: headerRef, className: customClasses.wrapper },
2405
+ return (React__default.createElement(StyledHeaderWrapper, { "data-site-type": siteType, "data-sponsored": isSponsored, "data-sitewide-banner-shown": isShowingSiteWideBanner, "data-header-type": "home", "data-collapsed": isCollapsed, "data-is-displayed": true, "data-win-cash-back-theme": winCashBackTheme, id: "site-header", ref: headerRef, className: customClasses.wrapper },
2376
2406
  sitewideBanner,
2377
- React__default.createElement(StyledHeader, { className: customClasses.header, "data-site-type": siteType },
2407
+ React__default.createElement(StyledHeader, { className: customClasses.header, "data-site-type": siteType, "data-win-cash-back-theme": winCashBackTheme },
2378
2408
  React__default.createElement(StyledLeftGroup, { className: customClasses.leftGroup, "data-site-type": siteType },
2379
2409
  isMobile && (React__default.createElement(HamburgerMenu, { menuItems: menuItems.filter((m) => !!m.link), isHomepage: isHomepage, projectType: projectType })),
2380
2410
  logoComponent || (React__default.createElement("a", { style: {
@@ -2383,7 +2413,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
2383
2413
  React__default.createElement("div", null,
2384
2414
  React__default.createElement(Logo$1, { style: {
2385
2415
  display: 'flex',
2386
- }, type: logoType, badge: locale === 'id-ID' && (React__default.createElement("img", { src: CommonGAssets.getAssetPath('sehat-badge.png'), width: "56", height: "23", loading: "lazy" })), dateForSeasonal: new Date(), locale: locale, key: typeof window !== 'undefined' ? 'client' : 'server' })))),
2416
+ }, type: logoType, badge: locale === 'id-ID' && (React__default.createElement("img", { src: CommonGAssets.getAssetPath('sehat-badge.png'), width: "56", height: "23", loading: "lazy" })), dateForSeasonal: new Date(), locale: locale, key: typeof window !== 'undefined' ? 'client' : 'server', isLightLogo: winCashBackTheme })))),
2387
2417
  !isMobile && (React__default.createElement(React__default.Fragment, null, siteType === 'marryBaby' ? (React__default.createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems, className: customClasses.navMenu })) : (enableSearchBar && (React__default.createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile })))))),
2388
2418
  React__default.createElement(StyledRightGroup, { className: customClasses.rightGroup, "data-site-type": siteType },
2389
2419
  !isMobile && siteType !== 'marryBaby' && (React__default.createElement(NavigationMenu, { menuItems: menuItems.filter((m) => locale === LOCALE.Vietnam
@@ -2409,7 +2439,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
2409
2439
  borderLeft: '1px solid #E4E8EC',
2410
2440
  } })),
2411
2441
  React__default.createElement(CartBadge, { "data-cart-menu": "true", "data-event-category": "Ecommerce", "data-event-action": "Cart Click", "data-event-label": currentUrl, count: cartNumber, locale: locale })))))),
2412
- isMobile && isHomepage && (React__default.createElement(StyleWrapperNavigtionSearch, null,
2442
+ isMobile && isHomepage && (React__default.createElement(StyleWrapperNavigtionSearch, { style: { padding: winCashBackTheme ? '12px 16px' : undefined } },
2413
2443
  React__default.createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile, isHomepage: isHomepage }))),
2414
2444
  sponsorComponent
2415
2445
  ? !React__default.isValidElement(sponsorComponent)
@@ -2728,4 +2758,4 @@ const getNavMenuContentWithCache = (locale) => __awaiter(void 0, void 0, void 0,
2728
2758
  return (yield getDataWithCache('nav-menu-content', () => getNavMenuContent(locale || 'en-PH'), (data) => { var _a, _b; return !!((_b = (_a = data === null || data === void 0 ? void 0 : data.categories) === null || _a === void 0 ? void 0 : _a.items) === null || _b === void 0 ? void 0 : _b.length); })) || {};
2729
2759
  });
2730
2760
 
2731
- export { HHG_SEARCH_BACK_KEY as H, NavigationV2 as N, getNavMenuContentWithCache as a, getTogetherUserPostsApiPath as b, getNavMenuContent as g };
2761
+ export { HamburgerWhite as H, NavigationV2 as N, StarPair as S, getNavMenuContentWithCache as a, getTogetherUserPostsApiPath as b, HHG_SEARCH_BACK_KEY as c, getNavMenuContent as g };