@hhgtech/hhg-components 1.29.88 → 1.29.89

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 (459) hide show
  1. package/build/{LastPeriod-235fc10e.js → LastPeriod-c8c46da3.js} +1 -1
  2. package/build/MobileBottomNavigationIcon-efacfc0c.js +193 -0
  3. package/build/{WhatsApp-e6406d8d.js → WhatsApp-8a1d6d0c.js} +1 -1
  4. package/build/adapters.js +18 -16
  5. package/build/atoms.js +47 -45
  6. package/build/babyGrowth.js +82 -80
  7. package/build/cache.js +2 -2
  8. package/build/care.js +28 -25
  9. package/build/careBookingSearchBar.js +1594 -0
  10. package/build/careBookingSearchBarV2.js +1665 -0
  11. package/build/components.js +125 -115
  12. package/build/{constants-2d046b25.js → constants-f5c5e2ae.js} +1 -1
  13. package/build/constants.js +3 -3
  14. package/build/constantsDomainLocales.js +1 -1
  15. package/build/constantsRiskScreener.js +2 -2
  16. package/build/constantsSite.js +2 -2
  17. package/build/{core-ab09e68b.js → core-58a245c5.js} +1 -1
  18. package/build/{dataTransform-945e5f4f.js → dataTransform-9ec385e3.js} +1 -1
  19. package/build/ecom.js +4 -4
  20. package/build/editor-40386fe7.js +986 -0
  21. package/build/embeddedHeathToolCards_babyGrowth.js +22 -20
  22. package/build/embeddedHeathToolCards_babyPoop.js +18 -16
  23. package/build/embeddedHeathToolCards_babyVaccine.js +21 -19
  24. package/build/embeddedHeathToolCards_bmi_bmi.js +25 -23
  25. package/build/embeddedHeathToolCards_bmrBmr.js +25 -23
  26. package/build/embeddedHeathToolCards_dueDate_dueDate.js +21 -19
  27. package/build/embeddedHeathToolCards_ovulation_ovulation.js +21 -19
  28. package/build/embeddedHeathToolCards_pwg_pwg.js +26 -24
  29. package/build/embeddedHeathToolCards_targetHeartRate.js +27 -25
  30. package/build/esm/{LastPeriod-fcd2b5ec.js → LastPeriod-46d6c03f.js} +1 -1
  31. package/build/esm/MobileBottomNavigationIcon-ae6490d7.js +185 -0
  32. package/build/esm/{WhatsApp-2f54ed26.js → WhatsApp-ed8ce0f2.js} +1 -1
  33. package/build/esm/adapters.js +18 -16
  34. package/build/esm/atoms.js +44 -42
  35. package/build/esm/babyGrowth.js +82 -80
  36. package/build/esm/cache.js +2 -2
  37. package/build/esm/care.js +26 -23
  38. package/build/esm/careBookingSearchBar.js +1582 -0
  39. package/build/esm/careBookingSearchBarV2.js +1655 -0
  40. package/build/esm/components.js +93 -83
  41. package/build/esm/{constants-b68073ea.js → constants-e9ebe043.js} +1 -1
  42. package/build/esm/constants.js +3 -3
  43. package/build/esm/constantsDomainLocales.js +1 -1
  44. package/build/esm/constantsRiskScreener.js +2 -2
  45. package/build/esm/constantsSite.js +2 -2
  46. package/build/esm/{core-bcdf3422.js → core-6d8629c2.js} +1 -1
  47. package/build/esm/{dataTransform-c3905a10.js → dataTransform-2023858d.js} +2 -2
  48. package/build/esm/ecom.js +4 -4
  49. package/build/esm/editor-82c3d476.js +959 -0
  50. package/build/esm/embeddedHeathToolCards_babyGrowth.js +22 -20
  51. package/build/esm/embeddedHeathToolCards_babyPoop.js +18 -16
  52. package/build/esm/embeddedHeathToolCards_babyVaccine.js +21 -19
  53. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -23
  54. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -23
  55. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +21 -19
  56. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +21 -19
  57. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -24
  58. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -25
  59. package/build/esm/{fixedBottomAdBlock-bb1a3c50.js → fixedBottomAdBlock-2af1606f.js} +26 -662
  60. package/build/esm/footer.js +20 -18
  61. package/build/esm/gAssets.js +2 -2
  62. package/build/esm/healthToolsCardWrapper.js +17 -15
  63. package/build/esm/healthToolsForm.js +33 -31
  64. package/build/esm/hooks.js +15 -15
  65. package/build/esm/i18n.js +2 -2
  66. package/build/esm/i18nV2.js +2 -2
  67. package/build/esm/{index-04146795.js → index-04ba5caa.js} +1 -1
  68. package/build/esm/{index-69c631bf.js → index-082a24ae.js} +12 -11
  69. package/build/esm/{index-478546e8.js → index-1313a7ac.js} +12 -11
  70. package/build/esm/{index-155daac5.js → index-13783871.js} +2 -2
  71. package/build/esm/{index-48fdf51c.js → index-16a4f1c7.js} +16 -15
  72. package/build/esm/{index-877a46df.js → index-19f27bd3.js} +2 -2
  73. package/build/esm/{index-8570e132.js → index-1a2bc551.js} +2 -2
  74. package/build/esm/{index-fcf9a2ce.js → index-275c8526.js} +14 -13
  75. package/build/esm/{index-0cf91429.js → index-277566f7.js} +1 -1
  76. package/build/esm/{index-67603e6c.js → index-2ac50d8f.js} +15 -14
  77. package/build/esm/{index-19a9a60d.js → index-2c4a2d31.js} +1 -1
  78. package/build/esm/{index-ef2b1e44.js → index-32a968a1.js} +6 -6
  79. package/build/esm/{index-cde1edae.js → index-346fd194.js} +21 -19
  80. package/build/esm/{index-b927d85a.js → index-38b87b21.js} +12 -11
  81. package/build/esm/{index-a7bfcfbd.js → index-46c22744.js} +6 -6
  82. package/build/esm/index-4cf37916.js +22 -0
  83. package/build/esm/{index-a715b700.js → index-4d27d02e.js} +15 -14
  84. package/build/esm/{index-9a0b3bcd.js → index-52d04cc5.js} +7 -7
  85. package/build/esm/index-538ca8aa.js +860 -0
  86. package/build/esm/{index-a2704991.js → index-57da0f13.js} +16 -88
  87. package/build/esm/{index-b4cab951.js → index-5e17f985.js} +16 -15
  88. package/build/esm/{index-83ab0594.js → index-605eed95.js} +35 -800
  89. package/build/esm/{index-5303fcd9.js → index-628c5e84.js} +2 -2
  90. package/build/esm/{index-321f0612.js → index-64b1cd5c.js} +1 -1
  91. package/build/esm/index-673fd5bd.js +1264 -0
  92. package/build/esm/{index-140ea208.js → index-70883b48.js} +17 -16
  93. package/build/esm/{index-e84f16f3.js → index-71c8b83f.js} +3 -142
  94. package/build/esm/{index-e5797070.js → index-72c269cf.js} +3 -3
  95. package/build/esm/index-7ad9db02.js +1030 -0
  96. package/build/esm/{index-17115a3b.js → index-7ca4ec53.js} +15 -14
  97. package/build/esm/{index-5a81cbdd.js → index-7decdf27.js} +1 -1
  98. package/build/esm/index-7e95ba03.js +144 -0
  99. package/build/esm/{index-11bc6557.js → index-84b3ef3d.js} +3 -3
  100. package/build/esm/{index-4e92aaf2.js → index-8b9c7b45.js} +3 -3
  101. package/build/esm/{index-63d30402.js → index-930b0a77.js} +16 -15
  102. package/build/esm/{index-2292c1f3.js → index-93c8863d.js} +2 -2
  103. package/build/esm/{index-29676661.js → index-949f771c.js} +6 -6
  104. package/build/esm/{index-7d97103f.js → index-99551970.js} +2 -2
  105. package/build/esm/{index-d3c3615e.js → index-9c268a93.js} +2 -2
  106. package/build/esm/{index-d10d5d1f.js → index-9d7d3a53.js} +4 -4
  107. package/build/esm/{index-69ca7b6a.js → index-9e220aaa.js} +2 -2
  108. package/build/esm/{index-58982ea1.js → index-a424a33d.js} +3 -3
  109. package/build/esm/{index-b23b0c82.js → index-a54b6536.js} +14 -13
  110. package/build/esm/{index-05075062.js → index-b09ced58.js} +1 -1
  111. package/build/esm/{index-1f944c2d.js → index-b5ed732f.js} +5 -5
  112. package/build/esm/{index-0e0f3ac6.js → index-b867d267.js} +1 -1
  113. package/build/esm/{index-2f06b1d8.js → index-c4b04b5f.js} +1 -1
  114. package/build/esm/{index-efdc151c.js → index-c5286b89.js} +12 -11
  115. package/build/esm/{index-2b20b8ce.js → index-cbb45a5d.js} +2 -2
  116. package/build/esm/{index-f42f0c66.js → index-d4dcfb68.js} +2 -2
  117. package/build/esm/{index-c0790cdc.js → index-dec46974.js} +20 -17
  118. package/build/esm/index-e19da15e.js +468 -0
  119. package/build/esm/{index-fbe76c43.js → index-e1d35fec.js} +7 -6
  120. package/build/esm/{index-58ed669e.js → index-e477c2a3.js} +23 -19
  121. package/build/esm/{index-7ab1ac4c.js → index-ed292946.js} +2 -2
  122. package/build/esm/index-f3f06437.js +281 -0
  123. package/build/esm/index.js +118 -98
  124. package/build/esm/index.styles-25454e9c.js +62 -0
  125. package/build/esm/interfaces/types/Subot.d.ts +3 -3
  126. package/build/esm/{labelSorting-db27bdad.js → labelSorting-27ecf45e.js} +4 -4
  127. package/build/esm/lead.js +22 -20
  128. package/build/esm/{logoIcon-6ed45e55.js → logoIcon-ef6d9e4c.js} +2 -2
  129. package/build/esm/mantine.js +24 -22
  130. package/build/esm/misc.js +18 -18
  131. package/build/esm/miscGetDynamicHealthTool.js +7 -7
  132. package/build/esm/miscGetSocialList.js +8 -8
  133. package/build/esm/miscScreenSizeContext.js +1 -1
  134. package/build/esm/mobileBottomNavigation.js +19 -0
  135. package/build/esm/mobileBottomNavigationIcon.js +10 -0
  136. package/build/esm/molecules.js +71 -64
  137. package/build/esm/moleculesArticleCard.js +85 -0
  138. package/build/esm/moleculesArticleCardV2.js +171 -0
  139. package/build/esm/navigation.js +40 -35
  140. package/build/esm/navigationLogoutPopup.js +116 -0
  141. package/build/esm/navigationProfileButton.js +43 -0
  142. package/build/esm/{normalizeLink-fcd22117.js → normalizeLink-d756e5e6.js} +1 -1
  143. package/build/esm/onboardingV2.js +27 -25
  144. package/build/esm/organisms.js +46 -41
  145. package/build/esm/post-86117110.js +267 -0
  146. package/build/esm/profileNavigation.js +441 -0
  147. package/build/esm/progressBar.js +250 -0
  148. package/build/esm/pwg.js +21 -19
  149. package/build/esm/{routing-ed745cc6.js → routing-b81b8f17.js} +1 -1
  150. package/build/esm/subot.js +29 -27
  151. package/build/esm/surveyOrPremiumBanner.js +30 -28
  152. package/build/esm/surveyQuestionCard.js +10 -10
  153. package/build/esm/{surveyThankyouCard-6fc9a327.js → surveyThankyouCard-1b30aa0b.js} +5 -5
  154. package/build/esm/together.js +53 -44
  155. package/build/esm/togetherApiUtils.js +4 -4
  156. package/build/esm/togetherAtoms.js +29 -26
  157. package/build/esm/togetherComponentGlobalContext.js +4 -4
  158. package/build/esm/togetherMolecules.js +56 -47
  159. package/build/esm/togetherMoleculesCardAuthor.js +41 -0
  160. package/build/esm/togetherMoleculesPostImagePreview.js +21 -0
  161. package/build/esm/togetherMoleculesProfileDetail.js +53 -0
  162. package/build/esm/togetherOrganisms.js +53 -44
  163. package/build/esm/togetherRichTextEditor.js +27 -0
  164. package/build/esm/togetherShareBox.js +305 -0
  165. package/build/esm/{treePopoverMenu-937ef815.js → treePopoverMenu-04ded0ef.js} +18 -17
  166. package/build/esm/types-3eb97d85.js +44 -0
  167. package/build/esm/types.js +2 -2
  168. package/build/esm/{useCategory-d239339f.js → useCategory-391ffab0.js} +5 -5
  169. package/build/esm/{useHealthToolCache-e6e0e96c.js → useHealthToolCache-931ab3ca.js} +1 -1
  170. package/build/esm/{useMantineLocale-2ece6eac.js → useMantineLocale-b29ca68b.js} +5 -5
  171. package/build/esm/{usePlacesAutocomplete-ecf31643.js → usePlacesAutocomplete-91226a4d.js} +1 -1
  172. package/build/esm/useTogetherAuthRequiredAction.js +4 -4
  173. package/build/esm/{useTranslations-160e66cc.js → useTranslations-b66d9f2b.js} +1 -1
  174. package/build/esm/utils-92e2bc22.js +206 -0
  175. package/build/esm/{utils-d78e02e6.js → utils-f4b925d7.js} +2 -2
  176. package/build/esm/{utils-3d9043fb.js → utils-f873578b.js} +4 -4
  177. package/build/esm/vaccination.js +20 -18
  178. package/build/{fixedBottomAdBlock-87988744.js → fixedBottomAdBlock-605a8692.js} +49 -691
  179. package/build/footer.js +20 -18
  180. package/build/gAssets.js +2 -2
  181. package/build/healthToolsCardWrapper.js +17 -15
  182. package/build/healthToolsForm.js +33 -31
  183. package/build/hooks.js +15 -15
  184. package/build/i18n.js +1 -1
  185. package/build/i18nV2.js +1 -1
  186. package/build/{index-6ce119f5.js → index-0afde39e.js} +2 -2
  187. package/build/{index-bac0bd08.js → index-0cb2de9d.js} +3 -3
  188. package/build/{index-84e8b355.js → index-188e2316.js} +15 -14
  189. package/build/index-1b06e81f.js +151 -0
  190. package/build/{index-fcf16e35.js → index-1cdccd4e.js} +2 -2
  191. package/build/index-27e50de1.js +478 -0
  192. package/build/{index-a688f865.js → index-32abfb15.js} +12 -11
  193. package/build/{index-a136cba7.js → index-36723718.js} +6 -6
  194. package/build/{index-9e92431c.js → index-36ba9947.js} +2 -2
  195. package/build/{index-5006f129.js → index-3c593ede.js} +6 -6
  196. package/build/{index-6c2d2f25.js → index-4bf6b5da.js} +24 -99
  197. package/build/{index-5ddda8f4.js → index-4fd69136.js} +16 -15
  198. package/build/{index-6313ec6f.js → index-526cee72.js} +6 -6
  199. package/build/{index-92e82d0d.js → index-549b9e8c.js} +1 -1
  200. package/build/{index-a6acde43.js → index-5b52b076.js} +38 -34
  201. package/build/{index-8b8263ed.js → index-5dbd317c.js} +34 -33
  202. package/build/index-5dcd87b7.js +289 -0
  203. package/build/{index-e4004288.js → index-648aac83.js} +2 -2
  204. package/build/{index-c294ccc2.js → index-6b7b4292.js} +3 -3
  205. package/build/{index-2de1a14d.js → index-6b95442c.js} +2 -2
  206. package/build/{index-9add51eb.js → index-6b9e8dda.js} +3 -3
  207. package/build/{index-b040447b.js → index-767f9ac6.js} +2 -2
  208. package/build/{index-1ebaa446.js → index-7ce45455.js} +16 -15
  209. package/build/{index-f05721a0.js → index-81ff6094.js} +7 -7
  210. package/build/{index-03834ac7.js → index-86ecfc48.js} +3 -3
  211. package/build/{index-66b34bd9.js → index-8a19ce1b.js} +96 -864
  212. package/build/{index-f3553904.js → index-8d9663db.js} +9 -8
  213. package/build/{index-227e17fd.js → index-9151d357.js} +2 -2
  214. package/build/index-922020ed.js +1045 -0
  215. package/build/{index-347a91f6.js → index-a76596ef.js} +1 -1
  216. package/build/{index-1489f027.js → index-a839c6ca.js} +3 -3
  217. package/build/{index-4dc41ef1.js → index-a8705384.js} +1 -1
  218. package/build/{index-b8620e16.js → index-aad249ab.js} +2 -2
  219. package/build/{index-92815934.js → index-af48fea3.js} +5 -5
  220. package/build/{index-ae03f378.js → index-b04c5212.js} +16 -15
  221. package/build/{index-7e8732ae.js → index-b4fd3100.js} +1 -1
  222. package/build/{index-f3f648e1.js → index-be0a9d63.js} +17 -16
  223. package/build/{index-d9559ac1.js → index-be262a50.js} +2 -2
  224. package/build/index-becfec7a.js +1307 -0
  225. package/build/index-bf3796aa.js +870 -0
  226. package/build/{index-196d4981.js → index-cc4ce0c4.js} +1 -1
  227. package/build/{index-9f995309.js → index-cd0db938.js} +34 -31
  228. package/build/{index-c016b1bb.js → index-d0610b0f.js} +14 -13
  229. package/build/{index-554ad68c.js → index-d393d57e.js} +1 -1
  230. package/build/{index-0772398f.js → index-d471ff2d.js} +1 -1
  231. package/build/{index-7024d536.js → index-d5d9ceb9.js} +15 -14
  232. package/build/{index-1245ea43.js → index-de26b5d1.js} +12 -11
  233. package/build/{index-7ca746d3.js → index-dec3abcf.js} +15 -14
  234. package/build/{index-a97a7a53.js → index-e018af91.js} +31 -29
  235. package/build/index-e8dc7fdb.js +29 -0
  236. package/build/{index-4a6c95fe.js → index-f30e56f1.js} +12 -11
  237. package/build/{index-519a6287.js → index-f6b32484.js} +12 -11
  238. package/build/{index-d39f2445.js → index-f91ed3be.js} +4 -4
  239. package/build/{index-e7b871b4.js → index-faa2908c.js} +3 -143
  240. package/build/{index-9cc21262.js → index-fbb369ff.js} +1 -1
  241. package/build/{index-f8a51099.js → index-fde11604.js} +2 -2
  242. package/build/index.js +182 -162
  243. package/build/index.styles-9031f6d6.js +65 -0
  244. package/build/interfaces/types/Subot.d.ts +3 -3
  245. package/build/{labelSorting-60b0f16a.js → labelSorting-11165c8e.js} +4 -4
  246. package/build/lead.js +22 -20
  247. package/build/{logoIcon-8e1ff0aa.js → logoIcon-f3283bfd.js} +2 -2
  248. package/build/mantine.js +20 -18
  249. package/build/misc.js +18 -18
  250. package/build/miscGetDynamicHealthTool.js +7 -7
  251. package/build/miscGetSocialList.js +8 -8
  252. package/build/miscScreenSizeContext.js +1 -1
  253. package/build/mobileBottomNavigation.js +27 -0
  254. package/build/mobileBottomNavigationIcon.js +18 -0
  255. package/build/molecules.js +76 -69
  256. package/build/moleculesArticleCard.js +93 -0
  257. package/build/moleculesArticleCardV2.js +180 -0
  258. package/build/navigation.js +40 -35
  259. package/build/navigationLogoutPopup.js +125 -0
  260. package/build/navigationProfileButton.js +51 -0
  261. package/build/onboardingV2.js +29 -27
  262. package/build/organisms.js +49 -44
  263. package/build/post-0fec66f4.js +303 -0
  264. package/build/profileNavigation.js +450 -0
  265. package/build/progressBar.js +260 -0
  266. package/build/pwg.js +21 -19
  267. package/build/{routing-d764168d.js → routing-7a9c8608.js} +1 -1
  268. package/build/subot.js +28 -26
  269. package/build/surveyOrPremiumBanner.js +30 -28
  270. package/build/surveyQuestionCard.js +10 -10
  271. package/build/{surveyThankyouCard-944ab001.js → surveyThankyouCard-db73c893.js} +5 -5
  272. package/build/together.js +77 -68
  273. package/build/togetherApiUtils.js +4 -4
  274. package/build/togetherAtoms.js +29 -26
  275. package/build/togetherComponentGlobalContext.js +4 -4
  276. package/build/togetherMolecules.js +79 -70
  277. package/build/togetherMoleculesCardAuthor.js +49 -0
  278. package/build/togetherMoleculesPostImagePreview.js +29 -0
  279. package/build/togetherMoleculesProfileDetail.js +70 -0
  280. package/build/togetherOrganisms.js +53 -44
  281. package/build/togetherRichTextEditor.js +36 -0
  282. package/build/togetherShareBox.js +314 -0
  283. package/build/{treePopoverMenu-0cbe3fd0.js → treePopoverMenu-61ebd05c.js} +18 -17
  284. package/build/types-57052089.js +52 -0
  285. package/build/types.js +2 -2
  286. package/build/{useCategory-32558796.js → useCategory-d9f73b82.js} +5 -5
  287. package/build/{useHealthToolCache-cbe4b1b4.js → useHealthToolCache-4b5bfb11.js} +1 -1
  288. package/build/{useMantineLocale-992ae094.js → useMantineLocale-cc272195.js} +5 -5
  289. package/build/{usePlacesAutocomplete-c19d396b.js → usePlacesAutocomplete-a0156f14.js} +1 -1
  290. package/build/useTogetherAuthRequiredAction.js +4 -4
  291. package/build/{useTranslations-5d28e8df.js → useTranslations-8a9fa84d.js} +1 -1
  292. package/build/{utils-1a876a51.js → utils-251b2841.js} +3 -3
  293. package/build/{utils-d3353e9c.js → utils-c29214c6.js} +2 -2
  294. package/build/utils-f47b2d2d.js +229 -0
  295. package/build/vaccination.js +24 -22
  296. package/package.json +1 -1
  297. package/build/esm/index-c7b92115.js +0 -5060
  298. package/build/esm/types-f387cdcf.js +0 -3433
  299. package/build/index-2ce324cf.js +0 -5123
  300. package/build/types-d798cef3.js +0 -3447
  301. /package/build/{BMI_BOYS.percentile.monthly-2fdec618.js → BMI_BOYS.percentile.monthly-5f29289b.js} +0 -0
  302. /package/build/{BMI_BOYS.percentile.weekly-4b1616c4.js → BMI_BOYS.percentile.weekly-53584232.js} +0 -0
  303. /package/build/{BMI_BOYS.percentile.yearly-f7761749.js → BMI_BOYS.percentile.yearly-84aaf8fb.js} +0 -0
  304. /package/build/{BMI_BOYS.zscore.monthly-6767b0d4.js → BMI_BOYS.zscore.monthly-76d7fd0e.js} +0 -0
  305. /package/build/{BMI_BOYS.zscore.weekly-5c57342b.js → BMI_BOYS.zscore.weekly-ed3d66f2.js} +0 -0
  306. /package/build/{BMI_BOYS.zscore.yearly-d970734e.js → BMI_BOYS.zscore.yearly-7e74f0e8.js} +0 -0
  307. /package/build/{BMI_GIRLS.percentile.monthly-ba4d972d.js → BMI_GIRLS.percentile.monthly-6973d8b0.js} +0 -0
  308. /package/build/{BMI_GIRLS.percentile.weekly-f73dacf3.js → BMI_GIRLS.percentile.weekly-a873a4e6.js} +0 -0
  309. /package/build/{BMI_GIRLS.percentile.yearly-a5b59a8c.js → BMI_GIRLS.percentile.yearly-e86761bb.js} +0 -0
  310. /package/build/{BMI_GIRLS.zscore.monthly-110d6823.js → BMI_GIRLS.zscore.monthly-9a12fa84.js} +0 -0
  311. /package/build/{BMI_GIRLS.zscore.weekly-cfe97ba9.js → BMI_GIRLS.zscore.weekly-5936ed5b.js} +0 -0
  312. /package/build/{BMI_GIRLS.zscore.yearly-ab4ae640.js → BMI_GIRLS.zscore.yearly-d40d8356.js} +0 -0
  313. /package/build/{ChevronDown-d37704eb.js → ChevronDown-a6775d48.js} +0 -0
  314. /package/build/{Close-1514c815.js → Close-9fa735bc.js} +0 -0
  315. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-6c797045.js → HEAD CIRCUM_BOYS.percentile.monthly-873a839f.js} +0 -0
  316. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-7ac501c0.js → HEAD CIRCUM_BOYS.percentile.weekly-bbe3965d.js} +0 -0
  317. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-2999cdb8.js → HEAD CIRCUM_BOYS.percentile.yearly-645dfc78.js} +0 -0
  318. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-7e3a78aa.js → HEAD CIRCUM_BOYS.zscore.monthly-9fe137bf.js} +0 -0
  319. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2ea72789.js → HEAD CIRCUM_BOYS.zscore.weekly-2ccb15fb.js} +0 -0
  320. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-826ab425.js → HEAD CIRCUM_BOYS.zscore.yearly-48aed724.js} +0 -0
  321. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-0f1636c1.js → HEAD CIRCUM_GIRLS.percentile.monthly-d99d6d30.js} +0 -0
  322. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-b32da590.js → HEAD CIRCUM_GIRLS.percentile.weekly-8a49b504.js} +0 -0
  323. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-850c4e29.js → HEAD CIRCUM_GIRLS.percentile.yearly-d747b0cd.js} +0 -0
  324. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-f942b53a.js → HEAD CIRCUM_GIRLS.zscore.monthly-8ef18721.js} +0 -0
  325. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-26daad32.js → HEAD CIRCUM_GIRLS.zscore.weekly-853cca20.js} +0 -0
  326. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-0f331108.js → HEAD CIRCUM_GIRLS.zscore.yearly-4d5b2175.js} +0 -0
  327. /package/build/{HEIGHT_BOYS.percentile.monthly-6bfc3799.js → HEIGHT_BOYS.percentile.monthly-070590b8.js} +0 -0
  328. /package/build/{HEIGHT_BOYS.percentile.weekly-0ed4b053.js → HEIGHT_BOYS.percentile.weekly-56741428.js} +0 -0
  329. /package/build/{HEIGHT_BOYS.percentile.yearly-cc4c343d.js → HEIGHT_BOYS.percentile.yearly-9c81f767.js} +0 -0
  330. /package/build/{HEIGHT_BOYS.zscore.monthly-b2d384dc.js → HEIGHT_BOYS.zscore.monthly-729982c3.js} +0 -0
  331. /package/build/{HEIGHT_BOYS.zscore.weekly-b65aa792.js → HEIGHT_BOYS.zscore.weekly-ddb206fb.js} +0 -0
  332. /package/build/{HEIGHT_BOYS.zscore.yearly-0bae3840.js → HEIGHT_BOYS.zscore.yearly-5fc7ea6a.js} +0 -0
  333. /package/build/{HEIGHT_GIRLS.percentile.monthly-34960fd2.js → HEIGHT_GIRLS.percentile.monthly-8cbc8d18.js} +0 -0
  334. /package/build/{HEIGHT_GIRLS.percentile.weekly-949ca5b1.js → HEIGHT_GIRLS.percentile.weekly-7145e94f.js} +0 -0
  335. /package/build/{HEIGHT_GIRLS.percentile.yearly-4c40b714.js → HEIGHT_GIRLS.percentile.yearly-ab0e4f4e.js} +0 -0
  336. /package/build/{HEIGHT_GIRLS.zscore.monthly-a3856728.js → HEIGHT_GIRLS.zscore.monthly-b851b1d7.js} +0 -0
  337. /package/build/{HEIGHT_GIRLS.zscore.weekly-b39f321f.js → HEIGHT_GIRLS.zscore.weekly-98aef3cf.js} +0 -0
  338. /package/build/{HEIGHT_GIRLS.zscore.yearly-f50c6d58.js → HEIGHT_GIRLS.zscore.yearly-65d990f7.js} +0 -0
  339. /package/build/{Locale-e3b7ae56.js → Locale-07aceee9.js} +0 -0
  340. /package/build/{Visible-c6736a66.js → Visible-ddeaf4cc.js} +0 -0
  341. /package/build/{WEIGHT_BOYS.percentile.monthly-685aabfc.js → WEIGHT_BOYS.percentile.monthly-0ce96694.js} +0 -0
  342. /package/build/{WEIGHT_BOYS.percentile.weekly-3c1a6d2f.js → WEIGHT_BOYS.percentile.weekly-b5397f20.js} +0 -0
  343. /package/build/{WEIGHT_BOYS.percentile.yearly-2bd65c8f.js → WEIGHT_BOYS.percentile.yearly-80cccd42.js} +0 -0
  344. /package/build/{WEIGHT_BOYS.zscore.monthly-bba8cd92.js → WEIGHT_BOYS.zscore.monthly-12907f1f.js} +0 -0
  345. /package/build/{WEIGHT_BOYS.zscore.weekly-7bdc0673.js → WEIGHT_BOYS.zscore.weekly-a1af17eb.js} +0 -0
  346. /package/build/{WEIGHT_BOYS.zscore.yearly-32f635e0.js → WEIGHT_BOYS.zscore.yearly-2649ff58.js} +0 -0
  347. /package/build/{WEIGHT_GIRLS.percentile.monthly-ad305e84.js → WEIGHT_GIRLS.percentile.monthly-222d7201.js} +0 -0
  348. /package/build/{WEIGHT_GIRLS.percentile.weekly-92e552b6.js → WEIGHT_GIRLS.percentile.weekly-2997b740.js} +0 -0
  349. /package/build/{WEIGHT_GIRLS.percentile.yearly-df0dd71c.js → WEIGHT_GIRLS.percentile.yearly-3dc5928a.js} +0 -0
  350. /package/build/{WEIGHT_GIRLS.zscore.monthly-8820671b.js → WEIGHT_GIRLS.zscore.monthly-742b7617.js} +0 -0
  351. /package/build/{WEIGHT_GIRLS.zscore.weekly-31d29b05.js → WEIGHT_GIRLS.zscore.weekly-5ee1ca40.js} +0 -0
  352. /package/build/{WEIGHT_GIRLS.zscore.yearly-f731d1e2.js → WEIGHT_GIRLS.zscore.yearly-d6ca7d60.js} +0 -0
  353. /package/build/{animation-b224626d.js → animation-a1ed71d8.js} +0 -0
  354. /package/build/{cart-149e990d.js → cart-7bc1b943.js} +0 -0
  355. /package/build/{constants-f9eca9ad.js → constants-4cad9f4d.js} +0 -0
  356. /package/build/{constants-9c314450.js → constants-81b95117.js} +0 -0
  357. /package/build/{constants-42eed92d.js → constants-c3b9c9a9.js} +0 -0
  358. /package/build/{dataTransform-104761fc.js → dataTransform-867c472c.js} +0 -0
  359. /package/build/{doctor-d8f36158.js → doctor-dca6d1b2.js} +0 -0
  360. /package/build/esm/{BMI_BOYS.percentile.monthly-df1b3770.js → BMI_BOYS.percentile.monthly-2388d98f.js} +0 -0
  361. /package/build/esm/{BMI_BOYS.percentile.weekly-1d9595b1.js → BMI_BOYS.percentile.weekly-8ebe6955.js} +0 -0
  362. /package/build/esm/{BMI_BOYS.percentile.yearly-6bd2bb46.js → BMI_BOYS.percentile.yearly-3a97e95b.js} +0 -0
  363. /package/build/esm/{BMI_BOYS.zscore.monthly-658792d1.js → BMI_BOYS.zscore.monthly-f7572dcd.js} +0 -0
  364. /package/build/esm/{BMI_BOYS.zscore.weekly-d3c4d378.js → BMI_BOYS.zscore.weekly-d6281906.js} +0 -0
  365. /package/build/esm/{BMI_BOYS.zscore.yearly-8ad375e2.js → BMI_BOYS.zscore.yearly-fbebaaca.js} +0 -0
  366. /package/build/esm/{BMI_GIRLS.percentile.monthly-25f98c64.js → BMI_GIRLS.percentile.monthly-a75c8880.js} +0 -0
  367. /package/build/esm/{BMI_GIRLS.percentile.weekly-d60b034d.js → BMI_GIRLS.percentile.weekly-652bc9af.js} +0 -0
  368. /package/build/esm/{BMI_GIRLS.percentile.yearly-0560df43.js → BMI_GIRLS.percentile.yearly-8bcb5a6e.js} +0 -0
  369. /package/build/esm/{BMI_GIRLS.zscore.monthly-2104651f.js → BMI_GIRLS.zscore.monthly-ecbe2982.js} +0 -0
  370. /package/build/esm/{BMI_GIRLS.zscore.weekly-37757497.js → BMI_GIRLS.zscore.weekly-3abed735.js} +0 -0
  371. /package/build/esm/{BMI_GIRLS.zscore.yearly-56872c59.js → BMI_GIRLS.zscore.yearly-d88a34a0.js} +0 -0
  372. /package/build/esm/{ChevronDown-5633c5e8.js → ChevronDown-dfd91883.js} +0 -0
  373. /package/build/esm/{Close-f541a904.js → Close-b8fc27b1.js} +0 -0
  374. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-47e6539d.js → HEAD CIRCUM_BOYS.percentile.monthly-ff980a90.js} +0 -0
  375. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-594e065d.js → HEAD CIRCUM_BOYS.percentile.weekly-eb86eac9.js} +0 -0
  376. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-d24f1cc6.js → HEAD CIRCUM_BOYS.percentile.yearly-27ed6504.js} +0 -0
  377. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-94d82cb5.js → HEAD CIRCUM_BOYS.zscore.monthly-0d345597.js} +0 -0
  378. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-cb0109d0.js → HEAD CIRCUM_BOYS.zscore.weekly-c182ab46.js} +0 -0
  379. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-79a794c9.js → HEAD CIRCUM_BOYS.zscore.yearly-d45dbce1.js} +0 -0
  380. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-89615b43.js → HEAD CIRCUM_GIRLS.percentile.monthly-61919e45.js} +0 -0
  381. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-29d9184f.js → HEAD CIRCUM_GIRLS.percentile.weekly-51fa8f98.js} +0 -0
  382. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-140da49d.js → HEAD CIRCUM_GIRLS.percentile.yearly-c1fa6006.js} +0 -0
  383. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-fe41d0e8.js → HEAD CIRCUM_GIRLS.zscore.monthly-4dfc55d8.js} +0 -0
  384. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-c6193e75.js → HEAD CIRCUM_GIRLS.zscore.weekly-b21b5bf1.js} +0 -0
  385. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-7018fed4.js → HEAD CIRCUM_GIRLS.zscore.yearly-c42836fa.js} +0 -0
  386. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-fae5e6a0.js → HEIGHT_BOYS.percentile.monthly-24ff8afa.js} +0 -0
  387. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-ddc33aee.js → HEIGHT_BOYS.percentile.weekly-2be7b66e.js} +0 -0
  388. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-9e3064f0.js → HEIGHT_BOYS.percentile.yearly-ac02aa2d.js} +0 -0
  389. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-7c9e0bb8.js → HEIGHT_BOYS.zscore.monthly-b43667dc.js} +0 -0
  390. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-50b0a6a0.js → HEIGHT_BOYS.zscore.weekly-abcfcf3a.js} +0 -0
  391. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-afb6c4a2.js → HEIGHT_BOYS.zscore.yearly-71598c16.js} +0 -0
  392. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-5c7487f0.js → HEIGHT_GIRLS.percentile.monthly-7f9d679c.js} +0 -0
  393. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-33465e14.js → HEIGHT_GIRLS.percentile.weekly-6ce1d4e7.js} +0 -0
  394. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-ae62b279.js → HEIGHT_GIRLS.percentile.yearly-c398fd6b.js} +0 -0
  395. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-fd13c492.js → HEIGHT_GIRLS.zscore.monthly-8d33bc28.js} +0 -0
  396. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-f509ffbe.js → HEIGHT_GIRLS.zscore.weekly-eb44c302.js} +0 -0
  397. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-bf3a867b.js → HEIGHT_GIRLS.zscore.yearly-10b4d1fe.js} +0 -0
  398. /package/build/esm/{Locale-81beb37e.js → Locale-b86a7a92.js} +0 -0
  399. /package/build/esm/{Visible-3d8c22f1.js → Visible-69da852f.js} +0 -0
  400. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4db4c32c.js → WEIGHT_BOYS.percentile.monthly-fd349fe7.js} +0 -0
  401. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-5321689a.js → WEIGHT_BOYS.percentile.weekly-d5e52d60.js} +0 -0
  402. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-0c2aee80.js → WEIGHT_BOYS.percentile.yearly-929119b3.js} +0 -0
  403. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-ddf307e5.js → WEIGHT_BOYS.zscore.monthly-3f0f08cd.js} +0 -0
  404. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-be1d57ac.js → WEIGHT_BOYS.zscore.weekly-b9fd3298.js} +0 -0
  405. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-6dab88ff.js → WEIGHT_BOYS.zscore.yearly-9945948d.js} +0 -0
  406. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a666fe8a.js → WEIGHT_GIRLS.percentile.monthly-1e83ae51.js} +0 -0
  407. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-cd85042c.js → WEIGHT_GIRLS.percentile.weekly-c3531852.js} +0 -0
  408. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f22705ec.js → WEIGHT_GIRLS.percentile.yearly-3c0040b0.js} +0 -0
  409. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9f3f1083.js → WEIGHT_GIRLS.zscore.monthly-3baeda15.js} +0 -0
  410. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-7dcf0ba5.js → WEIGHT_GIRLS.zscore.weekly-2d8e6618.js} +0 -0
  411. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-c658040c.js → WEIGHT_GIRLS.zscore.yearly-826f5bdd.js} +0 -0
  412. /package/build/esm/{animation-db89f033.js → animation-7207941a.js} +0 -0
  413. /package/build/esm/{cart-47013af9.js → cart-4f482601.js} +0 -0
  414. /package/build/esm/{constants-f9614464.js → constants-0497b893.js} +0 -0
  415. /package/build/esm/{constants-247d5eb0.js → constants-af02be2a.js} +0 -0
  416. /package/build/esm/{constants-410be40f.js → constants-f7943ab2.js} +0 -0
  417. /package/build/esm/{dataTransform-f9e5b4ec.js → dataTransform-610e61bf.js} +0 -0
  418. /package/build/esm/{doctor-88e78d2c.js → doctor-63e09ada.js} +0 -0
  419. /package/build/esm/{index-907fffe6.js → index-20192854.js} +0 -0
  420. /package/build/esm/{index-c3d6b2ed.js → index-20199246.js} +0 -0
  421. /package/build/esm/{index-6dd5a329.js → index-5364f2db.js} +0 -0
  422. /package/build/esm/{index-0ca51fbb.js → index-56d0ac47.js} +0 -0
  423. /package/build/esm/{index-24f2f569.js → index-9f076f64.js} +0 -0
  424. /package/build/esm/{index-6f44d928.js → index-a2506e52.js} +0 -0
  425. /package/build/esm/{index-5f214b71.js → index-c130afdc.js} +0 -0
  426. /package/build/esm/{index-fcd9b927.js → index-c9467e39.js} +0 -0
  427. /package/build/esm/{localizeNumberFormat-be70a31e.js → localizeNumberFormat-3bf28240.js} +0 -0
  428. /package/build/esm/{number-7e3f376a.js → number-d26abebe.js} +0 -0
  429. /package/build/esm/{other-811b7d93.js → other-08d0b30e.js} +0 -0
  430. /package/build/esm/{paths-650d5eee.js → paths-ce59b252.js} +0 -0
  431. /package/build/esm/{translationsContext-0cbb21e6.js → translationsContext-8afb0ce3.js} +0 -0
  432. /package/build/esm/{tslib.es6-3970c414.js → tslib.es6-e0840efa.js} +0 -0
  433. /package/build/esm/{types-78bfaf40.js → types-41242882.js} +0 -0
  434. /package/build/esm/{useIsInit-3f7af1fd.js → useIsInit-f59c6bd2.js} +0 -0
  435. /package/build/esm/{useOutsideClick-2fae5fb5.js → useOutsideClick-12815e56.js} +0 -0
  436. /package/build/esm/{useScrollbarSize-2a7e6dd2.js → useScrollbarSize-431cf33c.js} +0 -0
  437. /package/build/esm/{useUniqueId-d714426d.js → useUniqueId-8f710187.js} +0 -0
  438. /package/build/esm/{utils-cee25689.js → utils-8a1f05c9.js} +0 -0
  439. /package/build/{index-27f25094.js → index-017f99b2.js} +0 -0
  440. /package/build/{index-1d528960.js → index-1a6a94cd.js} +0 -0
  441. /package/build/{index-41a348a2.js → index-668f591b.js} +0 -0
  442. /package/build/{index-32917720.js → index-70abc2ac.js} +0 -0
  443. /package/build/{index-20a5cee0.js → index-c6b0831a.js} +0 -0
  444. /package/build/{index-9f501aac.js → index-ce2d2850.js} +0 -0
  445. /package/build/{index-186f9324.js → index-e3e72aed.js} +0 -0
  446. /package/build/{index-e327613c.js → index-f70c0edf.js} +0 -0
  447. /package/build/{localizeNumberFormat-a5804ea2.js → localizeNumberFormat-30e7f015.js} +0 -0
  448. /package/build/{normalizeLink-2878a2ce.js → normalizeLink-c1b2b407.js} +0 -0
  449. /package/build/{number-35662113.js → number-20d56f69.js} +0 -0
  450. /package/build/{other-a7f01b3d.js → other-eedaf6ca.js} +0 -0
  451. /package/build/{paths-488dafd4.js → paths-4c182009.js} +0 -0
  452. /package/build/{translationsContext-951038ad.js → translationsContext-cd046df4.js} +0 -0
  453. /package/build/{tslib.es6-145af9ce.js → tslib.es6-f3c387c0.js} +0 -0
  454. /package/build/{types-aeea2cc2.js → types-2614ec58.js} +0 -0
  455. /package/build/{useIsInit-0c37752a.js → useIsInit-e56642e4.js} +0 -0
  456. /package/build/{useOutsideClick-aa477d22.js → useOutsideClick-f18dfe3f.js} +0 -0
  457. /package/build/{useScrollbarSize-01b12b72.js → useScrollbarSize-4aaa4dd1.js} +0 -0
  458. /package/build/{useUniqueId-17c2097b.js → useUniqueId-621ec272.js} +0 -0
  459. /package/build/{utils-a1cfbdac.js → utils-ae9740c0.js} +0 -0
@@ -0,0 +1,281 @@
1
+ import { a as __awaiter } from './tslib.es6-e0840efa.js';
2
+ import React__default, { useRef, useState, useEffect } from 'react';
3
+ import { User } from '@hhgtech/icons/core';
4
+ import { a as Avatar } from './index-57da0f13.js';
5
+ import { B as Button } from './index-c4b04b5f.js';
6
+ import { T as Text } from './index-99551970.js';
7
+ import { u as useTranslations } from './useTranslations-b66d9f2b.js';
8
+ import './index-7decdf27.js';
9
+ import { C as CommonGAssets } from './index-9f076f64.js';
10
+ import { a as normalizeLinkSlash } from './normalizeLink-d756e5e6.js';
11
+ import { theme } from './miscTheme.js';
12
+ import styled from '@emotion/styled';
13
+ import { M as MediaQueries } from './utils-8a1f05c9.js';
14
+ import { setDefaultClass } from './miscDefaultClassWrapper.js';
15
+ import { ProfileNavigation } from './profileNavigation.js';
16
+ import { NavigationLogoutPopup } from './navigationLogoutPopup.js';
17
+ import { L as LOCALE } from './Locale-b86a7a92.js';
18
+
19
+ const useCSSFocusPopupHelper = (configs) => {
20
+ const { allowBgScroll } = configs || {};
21
+ const ref = useRef();
22
+ return {
23
+ containerRef: ref,
24
+ onContainerFocus: () => {
25
+ if (!allowBgScroll)
26
+ document.documentElement.style.overflow = 'hidden';
27
+ },
28
+ onContainerBlur: () => {
29
+ if (!allowBgScroll)
30
+ document.documentElement.style.overflow = '';
31
+ },
32
+ onButtonMouseDown: (e) => {
33
+ // this close popup when click, run after REact init
34
+ if (ref.current &&
35
+ (document.activeElement === ref.current ||
36
+ ref.current.contains(document.activeElement))) {
37
+ ref.current.blur();
38
+ document.activeElement.blur();
39
+ e.preventDefault();
40
+ }
41
+ },
42
+ onClose: () => {
43
+ if (ref.current &&
44
+ (document.activeElement === ref.current ||
45
+ ref.current.contains(document.activeElement))) {
46
+ ref.current.blur();
47
+ document.activeElement.blur();
48
+ }
49
+ },
50
+ };
51
+ };
52
+
53
+ const StyledPopup = setDefaultClass(styled.div `
54
+ position: absolute;
55
+ right: 0;
56
+ transition: all 0.5s ease-in-out;
57
+ overflow-y: auto;
58
+
59
+ &[data-open='true'] {
60
+ z-index: 200;
61
+ top: 120%;
62
+ opacity: 1;
63
+ visibility: visible;
64
+ }
65
+
66
+ &[data-open='false'] {
67
+ display: none;
68
+ }
69
+
70
+ .popup-content {
71
+ z-index: 111;
72
+ height: 100%;
73
+ border: 1px solid #0000001a;
74
+ border-radius: 16px;
75
+ border-top-left-radius: 0;
76
+ border-top-right-radius: 0;
77
+ }
78
+
79
+ /* min-height: 415px; */
80
+ ${MediaQueries.mbUp} {
81
+ width: 320px;
82
+ }
83
+ ${MediaQueries.mbDown} {
84
+ position: fixed;
85
+ left: 0;
86
+ width: 100%;
87
+ padding-bottom: 70px;
88
+ }
89
+ `, 'hhgcomp-navprofilebutton-popup');
90
+ const StyledPopupWrapper = setDefaultClass(styled.div `
91
+ position: fixed;
92
+ z-index: 150;
93
+ top: var(--header-bottom, 56px);
94
+ left: 0;
95
+ width: 100%;
96
+ height: 100%;
97
+ align-items: center;
98
+
99
+ ${MediaQueries.mbUp} {
100
+ background-color: transparent;
101
+ &[data-type='welcome'] {
102
+ background: rgba(38, 38, 38, 0.3);
103
+ }
104
+ &[data-type='due-date'] {
105
+ background: rgba(38, 38, 38, 0.3);
106
+ }
107
+ }
108
+
109
+ ${MediaQueries.mbDown} {
110
+ background: rgba(38, 38, 38, 0.3);
111
+ }
112
+
113
+ &[data-type='welcome'] {
114
+ top: 0;
115
+ }
116
+
117
+ &[data-open='false'] {
118
+ display: none;
119
+ }
120
+ `, 'hhgcomp-navprofilebutton-popupwrapper');
121
+ const StyledAvatar = styled.div `
122
+ width: 36px;
123
+ height: 36px;
124
+ cursor: pointer;
125
+
126
+ img {
127
+ border-radius: 50%;
128
+ }
129
+
130
+ .avatar {
131
+ width: 36px;
132
+ height: 36px;
133
+ object-fit: cover;
134
+ }
135
+
136
+ .avatar-default {
137
+ display: flex;
138
+ align-items: center;
139
+ justify-content: center;
140
+ background-color: ${theme.colors.secondaryBase};
141
+ border-radius: 50%;
142
+ color: white;
143
+ font-size: 20px;
144
+ font-weight: bold;
145
+ }
146
+ `;
147
+ const StyledImageWrapper = styled.div `
148
+ display: inline-flex;
149
+ position: relative;
150
+ width: 36px;
151
+ height: 36px;
152
+ display: flex;
153
+ align-items: center;
154
+ justify-content: center;
155
+ text-decoration: none;
156
+ flex-shrink: 0;
157
+ cursor: pointer;
158
+
159
+ .user-close-icon {
160
+ display: none;
161
+ }
162
+ &:focus-within {
163
+ .user-close-icon {
164
+ display: block;
165
+ }
166
+ .user-avatar {
167
+ display: none;
168
+ }
169
+ ${StyledPopup.classSelector} {
170
+ z-index: 200;
171
+ top: 120%;
172
+ opacity: 1;
173
+ visibility: visible;
174
+ display: initial;
175
+ ${MediaQueries.mbDown} {
176
+ top: 100%;
177
+ }
178
+ }
179
+ ${StyledPopupWrapper.classSelector} {
180
+ display: initial;
181
+ }
182
+ }
183
+ `;
184
+ const StyledLoggedOutAnchor = styled.a `
185
+ display: inline-flex;
186
+ .login-btn[data-color='tertiary'][data-size='md'] {
187
+ padding-left: 12px;
188
+ padding-right: 12px;
189
+ }
190
+ .mobile-only {
191
+ ${MediaQueries.mbUp} {
192
+ display: none;
193
+ }
194
+ }
195
+ .login-btn {
196
+ display: none;
197
+ ${MediaQueries.mbUp} {
198
+ display: block;
199
+ }
200
+ }
201
+ `;
202
+
203
+ const ProfilePopup = ({ isOpen, userInfo, closePopup, siteType = 'helloSites', dispatchLogout, }) => {
204
+ const handleClickLogout = () => {
205
+ if (dispatchLogout) {
206
+ dispatchLogout();
207
+ closePopup();
208
+ }
209
+ };
210
+ return (React__default.createElement(StyledPopup, { "data-open": isOpen },
211
+ React__default.createElement("div", { className: "popup-content" },
212
+ React__default.createElement(ProfileNavigation, { siteType: siteType, onLogout: handleClickLogout, userInfo: userInfo }))));
213
+ };
214
+
215
+ const NavigationProfileButton = ({ userInfo, siteType, onLoginClick, SSO_URL, currentUrl, isMinifyLogin, onLogout, style, isLoading, locale, }) => {
216
+ const { t } = useTranslations();
217
+ const [isLogoutConfirmOpen, setIsLogoutConfirmOpen] = useState(false);
218
+ const name = (userInfo === null || userInfo === void 0 ? void 0 : userInfo.name) || (userInfo === null || userInfo === void 0 ? void 0 : userInfo.username);
219
+ const [init, setInit] = useState(false);
220
+ useEffect(() => {
221
+ setInit(true);
222
+ }, []);
223
+ const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = useCSSFocusPopupHelper();
224
+ if (isLoading)
225
+ return React__default.createElement(Button, { size: "sm", color: "transparent", loading: true });
226
+ return (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) ? (React__default.createElement(React__default.Fragment, null,
227
+ React__default.createElement(StyledImageWrapper, { ref: containerRef, style: style, tabIndex: 0, onBlur: onContainerBlur, onFocus: () => {
228
+ var _a;
229
+ onContainerFocus();
230
+ const popup = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.querySelector('#desktop-sticky-header .hhgcomp-navprofilebutton-popup');
231
+ if (popup) {
232
+ const bound = popup.getBoundingClientRect();
233
+ const top = bound.top;
234
+ const maxHeight = `calc(100vh - ${top}px)`;
235
+ popup.setAttribute('style', `max-height: ${maxHeight};`);
236
+ }
237
+ } },
238
+ React__default.createElement("div", { onMouseDown: onButtonMouseDown },
239
+ React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: "user-close-icon" },
240
+ React__default.createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" })),
241
+ React__default.createElement(Avatar, { size: 36, className: "user-avatar", src: userInfo === null || userInfo === void 0 ? void 0 : userInfo.avatar, color: siteType === 'marryBaby'
242
+ ? theme.mbColors.pink
243
+ : theme.colors.secondaryBase, placeholderText: name && name.length ? name[0].toUpperCase() : 'A' })),
244
+ React__default.createElement(ProfilePopup, { dispatchLogout: () => {
245
+ onClose();
246
+ setIsLogoutConfirmOpen(true);
247
+ }, isOpen: false, closePopup: onClose, siteType: siteType, userInfo: userInfo })),
248
+ React__default.createElement(NavigationLogoutPopup, { openLogoutPopup: isLogoutConfirmOpen, onCloseHandler: () => {
249
+ document.body.classList.toggle('noscroll', false);
250
+ setIsLogoutConfirmOpen(false);
251
+ }, siteType: siteType, onLogoutHandler: () => __awaiter(void 0, void 0, void 0, function* () {
252
+ setIsLogoutConfirmOpen(false);
253
+ document.body.classList.toggle('noscroll', false);
254
+ yield onLogout();
255
+ }) }))) : (React__default.createElement(StyledLoggedOutAnchor, { style: Object.assign({ textDecoration: 'none' }, style), "data-event-category": "Sign Up", "data-event-action": "Button Click", "data-event-label": currentUrl, href: !init
256
+ ? normalizeLinkSlash(`${SSO_URL}?returnUrl=${currentUrl}`)
257
+ : undefined, "data-site-type": siteType, onClick: onLoginClick }, isMinifyLogin ? (React__default.createElement(StyledAvatar, null,
258
+ React__default.createElement("img", { src: CommonGAssets.getAssetPath('lock.png'), className: "avatar", loading: "lazy", alt: "avatar" }))) : (
259
+ // LOGIC:
260
+ // - DEsktop: always show button
261
+ // - Mobile: show button only for helloSites, show text for MarryBaby
262
+ React__default.createElement(React__default.Fragment, null,
263
+ siteType === 'helloSites' &&
264
+ (locale === LOCALE.Indonesia ||
265
+ locale === LOCALE.PhilippinesTagalog ||
266
+ locale === LOCALE.PhilippinesEnglish ? (React__default.createElement("img", { className: "mobile-only", src: CommonGAssets.getAssetPath('login.svg'), style: {
267
+ cursor: 'pointer',
268
+ height: 24,
269
+ width: 24,
270
+ } })) : (React__default.createElement(Button, { className: "mobile-only", size: "sm", leftIcon: React__default.createElement(User, { color: "currentColor", isSolid: true, size: 22 }), sx: {
271
+ paddingLeft: '8px',
272
+ paddingRight: '12px',
273
+ } }, t('navigation.loginJoin')))),
274
+ siteType === 'marryBaby' && (React__default.createElement("div", { className: "mobile-only", style: {
275
+ paddingLeft: 16,
276
+ } },
277
+ React__default.createElement(Text, { size: "p3", color: theme.mbColors.pink }, t('navigation.loginJoin')))),
278
+ siteType === 'marryBaby' ? (React__default.createElement(Button, { className: "login-btn", size: "md", leftIcon: React__default.createElement(User, { color: "currentColor", isSolid: true, size: 22 }) }, t('navigation.loginJoin'))) : (React__default.createElement(Button, { className: "login-btn", size: "md", leftIcon: React__default.createElement(User, { color: "#595959", isSolid: true, size: 22 }), variant: "ghost", color: "#262626" }, t('navigation.loginJoin')))))));
279
+ };
280
+
281
+ export { NavigationProfileButton as N, useCSSFocusPopupHelper as u };
@@ -1,121 +1,138 @@
1
- export { i as Types } from './index-5a81cbdd.js';
2
- export { i as Constants } from './index-69ca7b6a.js';
3
- export { C as CaretDown, F as Flag, I as ImageWrap } from './index-a2704991.js';
1
+ export { i as Types } from './index-7decdf27.js';
2
+ export { i as Constants } from './index-9e220aaa.js';
3
+ export { C as CaretDown, F as Flag } from './index-57da0f13.js';
4
4
  import * as React from 'react';
5
- export { C as ChevronDown } from './ChevronDown-5633c5e8.js';
6
- export { C as Close } from './Close-f541a904.js';
7
- export { V as Visible } from './Visible-3d8c22f1.js';
8
- export { A as Alert, B as Badge, a as BorderHeading, F as FileDropdown, G as Grid, P as Pagination, R as Radio, c as RateStars, S as StepRenderer, d as StepRendererContext, T as Tag, b as Toggle } from './index-1f944c2d.js';
9
- export { A as Avatar } from './index-321f0612.js';
10
- export { B as Button } from './index-d3c3615e.js';
11
- export { D as Divider } from './index-6dd5a329.js';
12
- export { H as Heading } from './index-8570e132.js';
13
- export { I as Input, L as Label } from './index-f42f0c66.js';
14
- export { L as Logo } from './index-29676661.js';
15
- export { C as Checkbox, P as PureInput } from './index-e5797070.js';
16
- export { T as Text } from './index-b927d85a.js';
17
- export { T as TextArea } from './index-19a9a60d.js';
18
- export { C as Container } from './index-fcd9b927.js';
19
- export { I as Icon } from './index-877a46df.js';
20
- export { D as Drawer } from './index-4e92aaf2.js';
21
- export { R as RadioImageGroup } from './index-2b20b8ce.js';
22
- export { A as AuthorBadge, B as BookingBtn } from './index-9a0b3bcd.js';
23
- export { C as CustomReferenceDot } from './index-6f44d928.js';
24
- export { B as BtnChoice } from './index-0e0f3ac6.js';
25
- export { L as LogoIcon } from './logoIcon-6ed45e55.js';
26
- export { G as GenderOptionControl } from './index-478546e8.js';
27
- export { L as Loading } from './index-5303fcd9.js';
28
- export { l as AdBlock, A as ArticleCard, a as ArticleCardV2, B as Breadcrumbs, C as CategoryCard, b as CheckboxGroup, e as CookieAcceptConfirm, h as DateRangePicker, D as DoctorInfo, m as FixedBottomAdBlock, F as FloatButtonGroup, I as IconText, M as MobileBottomNavigation, f as MobileBottomNavigationIcon, P as ProgressBar, R as RadioGroup, S as ScrollList, g as SeoHead, j as ShareContainer, k as ShareDrawer, i as SideMenu, c as StatisticCard, d as Table, T as Tabs } from './fixedBottomAdBlock-bb1a3c50.js';
29
- export { D as DatePicker } from './index-5f214b71.js';
30
- export { D as Dropdown } from './index-907fffe6.js';
31
- export { P as Popup } from './index-04146795.js';
32
- export { M as Modal } from './index-155daac5.js';
33
- export { S as SurveyQuestionCard, a as SurveyThankyouCard } from './surveyThankyouCard-6fc9a327.js';
34
- export { T as ToolsBannerCard } from './index-efdc151c.js';
35
- export { D as DueDateForm } from './index-a715b700.js';
5
+ export { C as ChevronDown } from './ChevronDown-dfd91883.js';
6
+ export { C as Close } from './Close-b8fc27b1.js';
7
+ export { V as Visible } from './Visible-69da852f.js';
8
+ export { A as Alert, B as Badge, a as BorderHeading, F as FileDropdown, G as Grid, P as Pagination, R as Radio, c as RateStars, S as StepRenderer, d as StepRendererContext, T as Tag, b as Toggle } from './index-b5ed732f.js';
9
+ export { A as Avatar } from './index-64b1cd5c.js';
10
+ export { B as Button } from './index-9c268a93.js';
11
+ export { D as Divider } from './index-5364f2db.js';
12
+ export { H as Heading } from './index-1a2bc551.js';
13
+ export { I as Input, L as Label } from './index-d4dcfb68.js';
14
+ export { L as Logo } from './index-949f771c.js';
15
+ export { C as Checkbox, P as PureInput } from './index-72c269cf.js';
16
+ export { T as Text } from './index-38b87b21.js';
17
+ export { T as TextArea } from './index-2c4a2d31.js';
18
+ export { C as Container } from './index-c9467e39.js';
19
+ export { I as Icon } from './index-19f27bd3.js';
20
+ export { D as Drawer } from './index-8b9c7b45.js';
21
+ export { R as RadioImageGroup } from './index-cbb45a5d.js';
22
+ export { A as AuthorBadge, B as BookingBtn } from './index-52d04cc5.js';
23
+ export { C as CustomReferenceDot } from './index-a2506e52.js';
24
+ export { B as BtnChoice } from './index-b867d267.js';
25
+ export { L as LogoIcon } from './logoIcon-ef6d9e4c.js';
26
+ export { I as ImageWrap } from './index-4cf37916.js';
27
+ export { G as GenderOptionControl } from './index-1313a7ac.js';
28
+ export { L as Loading } from './index-628c5e84.js';
29
+ export { ArticleCard } from './moleculesArticleCard.js';
30
+ export { ArticleCard as ArticleCardV2 } from './moleculesArticleCardV2.js';
31
+ export { A as AdBlock, B as Breadcrumbs, C as CategoryCard, a as CheckboxGroup, d as CookieAcceptConfirm, f as DateRangePicker, D as DoctorInfo, j as FixedBottomAdBlock, F as FloatButtonGroup, I as IconText, R as RadioGroup, S as ScrollList, e as SeoHead, g as ShareContainer, h as ShareDrawer, i as SideMenu, b as StatisticCard, c as Table, T as Tabs } from './fixedBottomAdBlock-2af1606f.js';
32
+ export { D as DatePicker } from './index-c130afdc.js';
33
+ export { D as Dropdown } from './index-20192854.js';
34
+ export { P as Popup } from './index-04ba5caa.js';
35
+ export { M as Modal } from './index-13783871.js';
36
+ export { ProgressBar } from './progressBar.js';
37
+ export { S as SurveyQuestionCard, a as SurveyThankyouCard } from './surveyThankyouCard-1b30aa0b.js';
38
+ export { MobileBottomNavigation } from './mobileBottomNavigation.js';
39
+ export { M as MobileBottomNavigationIcon } from './MobileBottomNavigationIcon-ae6490d7.js';
40
+ export { T as ToolsBannerCard } from './index-c5286b89.js';
41
+ export { D as DueDateForm } from './index-4d27d02e.js';
36
42
  export { DueDateCardEmbed } from './embeddedHeathToolCards_dueDate_dueDate.js';
37
43
  export { BMICardEmbed } from './embeddedHeathToolCards_bmi_bmi.js';
38
- export { B as BmiForm } from './index-b4cab951.js';
44
+ export { B as BmiForm } from './index-5e17f985.js';
39
45
  export { BabyGrowthCardEmbed } from './embeddedHeathToolCards_babyGrowth.js';
40
46
  export { BabyPoopEmbed } from './embeddedHeathToolCards_babyPoop.js';
41
- export { B as BabyPoopForm } from './index-69c631bf.js';
47
+ export { B as BabyPoopForm } from './index-082a24ae.js';
42
48
  export { THRCardEmbed } from './embeddedHeathToolCards_targetHeartRate.js';
43
- export { T as ThrForm } from './index-140ea208.js';
49
+ export { T as ThrForm } from './index-70883b48.js';
44
50
  export { BMRCardEmbed } from './embeddedHeathToolCards_bmrBmr.js';
45
51
  export { OvulationCardEmbed } from './embeddedHeathToolCards_ovulation_ovulation.js';
46
- export { O as OvulationForm } from './index-17115a3b.js';
47
- export { B as BabyVaccineForm } from './index-67603e6c.js';
52
+ export { O as OvulationForm } from './index-7ca4ec53.js';
53
+ export { B as BabyVaccineForm } from './index-2ac50d8f.js';
48
54
  export { BabyVaccineCardEmbed } from './embeddedHeathToolCards_babyVaccine.js';
49
55
  export { PWGCardEmbed } from './embeddedHeathToolCards_pwg_pwg.js';
50
- export { P as PWGForm } from './index-48fdf51c.js';
51
- export { L as LanguageSwitcher } from './index-11bc6557.js';
52
- export { P as PillCarousel } from './index-fbe76c43.js';
53
- export { A as AddressInput } from './index-b23b0c82.js';
54
- export { a as MAPPING_CATEGORY_PREMIUM_API_TYPE, M as MAPPING_CATEGORY_PREMIUM_TYPE, b as SideBannerModal, S as SurveyOrPremiumBanner } from './index-cde1edae.js';
55
- export { b as NavigationLogoutPopup, c as NavigationProfileButton, N as NavigationV2, P as ProfileNavigation, g as getNavMenuContent, a as getNavMenuContentWithCache } from './index-83ab0594.js';
56
- export { U as UserProfileNavigation, N as UserProfileNavigationHeader, a as UserProfileNavigationStats } from './index-a7bfcfbd.js';
57
- export { F as Footer } from './index-fcf9a2ce.js';
58
- export { u as useTranslations } from './useTranslations-160e66cc.js';
59
- export { M as MEASURE_ELEMENT_CLASS, u as useScrollbarSize } from './useScrollbarSize-2a7e6dd2.js';
60
- export { M as MAPPED_CATEGORY_SLUGS, P as PREGNANCY_SLUG, c as useCategory, u as useFbDataLayer, a as usePrevious, b as useRafState } from './useCategory-d239339f.js';
61
- export { u as useHealthToolsCache } from './useHealthToolCache-e6e0e96c.js';
62
- export { u as useIsInit } from './useIsInit-3f7af1fd.js';
63
- export { i as initSharedOutSideClickListener, a as useOutsideClick, u as useSharedOutsideClick } from './useOutsideClick-2fae5fb5.js';
64
- export { u as useInitialMount, a as useUniqueId } from './useUniqueId-d714426d.js';
56
+ export { P as PWGForm } from './index-16a4f1c7.js';
57
+ export { L as LanguageSwitcher } from './index-84b3ef3d.js';
58
+ export { P as PillCarousel } from './index-e1d35fec.js';
59
+ export { A as AddressInput } from './index-a54b6536.js';
60
+ export { a as MAPPING_CATEGORY_PREMIUM_API_TYPE, M as MAPPING_CATEGORY_PREMIUM_TYPE, b as SideBannerModal, S as SurveyOrPremiumBanner } from './index-346fd194.js';
61
+ export { N as NavigationV2, g as getNavMenuContent, a as getNavMenuContentWithCache } from './index-605eed95.js';
62
+ export { U as UserProfileNavigation, N as UserProfileNavigationHeader, a as UserProfileNavigationStats } from './index-46c22744.js';
63
+ export { F as Footer } from './index-275c8526.js';
64
+ export { NavigationLogoutPopup } from './navigationLogoutPopup.js';
65
+ export { N as NavigationProfileButton } from './index-f3f06437.js';
66
+ export { ProfileNavigation } from './profileNavigation.js';
67
+ export { u as useTranslations } from './useTranslations-b66d9f2b.js';
68
+ export { M as MEASURE_ELEMENT_CLASS, u as useScrollbarSize } from './useScrollbarSize-431cf33c.js';
69
+ export { M as MAPPED_CATEGORY_SLUGS, P as PREGNANCY_SLUG, c as useCategory, u as useFbDataLayer, a as usePrevious, b as useRafState } from './useCategory-391ffab0.js';
70
+ export { u as useHealthToolsCache } from './useHealthToolCache-931ab3ca.js';
71
+ export { u as useIsInit } from './useIsInit-f59c6bd2.js';
72
+ export { i as initSharedOutSideClickListener, a as useOutsideClick, u as useSharedOutsideClick } from './useOutsideClick-12815e56.js';
73
+ export { u as useInitialMount, a as useUniqueId } from './useUniqueId-8f710187.js';
65
74
  export { TogetherAuthConfigContext, TogetherAuthConfigContextProvider, useTogetherAuthRequiredAction } from './useTogetherAuthRequiredAction.js';
66
- export { d as TogetherDataTransforms } from './dataTransform-c3905a10.js';
67
- export { t as TogetherTypes } from './types-78bfaf40.js';
68
- export { c as TogetherConstants } from './constants-f9614464.js';
69
- export { U as UserAvatar } from './index-2292c1f3.js';
70
- export { C as CardLink, P as PopoverMenu } from './index-e84f16f3.js';
71
- export { C as CardReactions, a as LabelPin, L as LabelSortPin, T as TagTopic } from './treePopoverMenu-937ef815.js';
72
- export { L as LabelSorting } from './labelSorting-db27bdad.js';
73
- export { C as CardAuthor, h as ImagePreviewPopup, I as InputCommentBar, P as PopupDanger, b as PopupDoctor, a as PopupExpert, d as PopupFrame, c as PopupHospital, g as PostContent, j as PostImagePreview, i as PostSingleImageViewPopup, m as ProfileDetail, l as ProfileDetailModal, f as ShareBox, S as SharePopup, k as SocialLinkPreview, e as SubmitReportForm, T as TabNameInProfileDetail } from './index-c7b92115.js';
74
- export { C as CreateNewPostContent, a as CreatePostDescription, b as CreatePostTitle, S as SkipQuestionOfExpertBtn, T as TopicSelectList } from './index-58ed669e.js';
75
- export { C as CardPost, a as CardPostPopoverMore, b as CardReply, c as CardReplyPopover, S as SourceList, V as VerifiedTag } from './index-c0790cdc.js';
76
- export { D as DefaultComponentGlobalContextData, G as GlobalData, T as TogetherComponentGlobalContext, a as TogetherComponentGlobalContextProvider } from './utils-3d9043fb.js';
77
- export { B as BookingSearchBar, a as BookingSearchBarV2, t as CareTypes, T as TextDivider } from './types-f387cdcf.js';
78
- export { c as CareConstants } from './constants-410be40f.js';
79
- export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-be70a31e.js';
80
- export { h as fadeIn, a as slideInDown, b as slideInLeft, c as slideInRight, s as slideInUp, e as slideOutDown, f as slideOutLeft, g as slideOutRight, d as slideOutUp } from './animation-db89f033.js';
75
+ export { d as TogetherDataTransforms } from './dataTransform-2023858d.js';
76
+ export { t as TogetherTypes } from './types-41242882.js';
77
+ export { c as TogetherConstants } from './constants-0497b893.js';
78
+ export { U as UserAvatar } from './index-93c8863d.js';
79
+ export { C as CardLink } from './index-7e95ba03.js';
80
+ export { C as CardReactions, a as LabelPin, L as LabelSortPin, T as TagTopic } from './treePopoverMenu-04ded0ef.js';
81
+ export { L as LabelSorting } from './labelSorting-27ecf45e.js';
82
+ export { C as CardAuthor, a as PopupDoctor, P as PopupExpert, b as PopupHospital, c as ProfileDetailModal } from './index-7ad9db02.js';
83
+ export { C as CreateNewPostContent, a as CreatePostDescription, b as CreatePostTitle, S as SkipQuestionOfExpertBtn, T as TopicSelectList } from './index-e477c2a3.js';
84
+ export { I as InputCommentBar, P as PopupDanger, a as PopupFrame, S as SharePopup, c as SocialLinkPreview, b as SubmitReportForm } from './index-673fd5bd.js';
85
+ export { ShareBox } from './togetherShareBox.js';
86
+ export { P as PostContent, a as ProfileDetail, T as TabNameInProfileDetail } from './index-538ca8aa.js';
87
+ export { I as ImagePreviewPopup, a as PostImagePreview, P as PostSingleImageViewPopup } from './index-e19da15e.js';
88
+ export { C as CardPost, a as CardPostPopoverMore, b as CardReply, c as CardReplyPopover, S as SourceList, V as VerifiedTag } from './index-dec46974.js';
89
+ export { P as PopoverMenu } from './index-71c8b83f.js';
90
+ export { D as DefaultComponentGlobalContextData, G as GlobalData, T as TogetherComponentGlobalContext, a as TogetherComponentGlobalContextProvider } from './utils-f873578b.js';
91
+ export { BookingSearchBar } from './careBookingSearchBar.js';
92
+ export { BookingSearchBarV2 } from './careBookingSearchBarV2.js';
93
+ export { t as CareTypes, T as TextDivider } from './types-3eb97d85.js';
94
+ export { c as CareConstants } from './constants-f7943ab2.js';
95
+ export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-3bf28240.js';
96
+ export { h as fadeIn, a as slideInDown, b as slideInLeft, c as slideInRight, s as slideInUp, e as slideOutDown, f as slideOutLeft, g as slideOutRight, d as slideOutUp } from './animation-7207941a.js';
81
97
  export { deleteCookie, getCookie, setCookie } from './miscCookieHelper.js';
82
- export { a as abbreviateNumber } from './number-7e3f376a.js';
83
- export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './routing-ed745cc6.js';
98
+ export { a as abbreviateNumber } from './number-d26abebe.js';
99
+ export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './routing-b81b8f17.js';
84
100
  export { MBTheme, theme } from './miscTheme.js';
85
- export { B as Breakpoints, M as MediaQueries, f as formatUrlWithPageParam, g as getBoundariesFromMediaQueryKey, a as getPopupWrapperDom, b as getWrapperDomWithSelector, m as makeParams, c as safeEncodeURI, s as startCase, t as toggleNoScroll } from './utils-cee25689.js';
101
+ export { B as Breakpoints, M as MediaQueries, f as formatUrlWithPageParam, g as getBoundariesFromMediaQueryKey, a as getPopupWrapperDom, b as getWrapperDomWithSelector, m as makeParams, c as safeEncodeURI, s as startCase, t as toggleNoScroll } from './utils-8a1f05c9.js';
86
102
  export { formatHealthTool, getDynamicHealthTool, getDynamicHealthToolWithCache } from './miscGetDynamicHealthTool.js';
87
103
  export { getSocialList } from './miscGetSocialList.js';
88
104
  export { ScreenSizeContext, ScreenSizeContextProvider, getWindowSizeGroups } from './miscScreenSizeContext.js';
89
- export { f as formatPill } from './dataTransform-f9e5b4ec.js';
90
- import './Locale-81beb37e.js';
105
+ export { f as formatPill } from './dataTransform-610e61bf.js';
106
+ import './Locale-b86a7a92.js';
91
107
  import 'date-fns/locale';
92
108
  import './constantsIsProduction.js';
93
109
  import './constantsSite.js';
94
110
  import './constantsDomainLocales.js';
95
111
  import './constantsRiskScreener.js';
96
- import './tslib.es6-3970c414.js';
112
+ import './tslib.es6-e0840efa.js';
97
113
  import '@hhgtech/icons/other';
98
114
  import '@mantine/core';
99
115
  import '@mantine/hooks';
100
- import './index-24f2f569.js';
116
+ import './index-9f076f64.js';
117
+ import './index.styles-25454e9c.js';
101
118
  import '@emotion/styled';
102
119
  import '@mantine/carousel';
103
- import './index-7d97103f.js';
104
- import './other-811b7d93.js';
105
- import './useMantineLocale-2ece6eac.js';
120
+ import './index-99551970.js';
121
+ import './other-08d0b30e.js';
122
+ import './useMantineLocale-b29ca68b.js';
106
123
  import 'dayjs';
107
- import './index-2f06b1d8.js';
124
+ import './index-c4b04b5f.js';
108
125
  import 'classnames';
109
126
  import '@hhgtech/icons/core';
110
127
  import './miscDefaultClassWrapper.js';
111
128
  import 'react-keyed-flatten-children';
112
129
  import '@mantine/dates';
113
- import './translationsContext-0cbb21e6.js';
130
+ import './translationsContext-8afb0ce3.js';
114
131
  import 'string-format';
115
- import './WhatsApp-2f54ed26.js';
132
+ import './WhatsApp-ed8ce0f2.js';
116
133
  import '@emotion/react';
117
- import './index-05075062.js';
118
- import './paths-650d5eee.js';
134
+ import './index-b09ced58.js';
135
+ import './paths-ce59b252.js';
119
136
  import 'innertext';
120
137
  import 'lodash/throttle';
121
138
  import 'html-react-parser';
@@ -127,32 +144,35 @@ import 'date-fns/locale/zh-TW';
127
144
  import 'uuid';
128
145
  import 'react-day-picker/DayPickerInput';
129
146
  import 'react-dom';
130
- import './LastPeriod-fcd2b5ec.js';
147
+ import './LastPeriod-46d6c03f.js';
131
148
  import '@mantine/form';
132
- import './index-ef2b1e44.js';
133
- import './index-d10d5d1f.js';
149
+ import './index-32a968a1.js';
150
+ import './index-9d7d3a53.js';
134
151
  import 'react-hook-form';
135
152
  import './embeddedHeathToolCards_helpers.js';
136
- import './index-63d30402.js';
137
- import './constants-247d5eb0.js';
138
- import './utils-d78e02e6.js';
153
+ import './index-930b0a77.js';
154
+ import './constants-af02be2a.js';
155
+ import './utils-f4b925d7.js';
139
156
  import './togetherApiPaths.js';
140
- import './index-7ab1ac4c.js';
157
+ import './index-ed292946.js';
141
158
  import 'js-cookie';
142
159
  import 'lodash/flatten';
143
160
  import 'lodash/uniqBy';
144
- import './normalizeLink-fcd22117.js';
145
- import './constants-b68073ea.js';
146
- import './index-0cf91429.js';
161
+ import './normalizeLink-d756e5e6.js';
162
+ import './constants-e9ebe043.js';
163
+ import './index-277566f7.js';
147
164
  import 'dayjs/plugin/relativeTime';
148
165
  import 'lodash/debounce';
149
- import './core-bcdf3422.js';
166
+ import './core-6d8629c2.js';
167
+ import './post-86117110.js';
168
+ import './editor-82c3d476.js';
150
169
  import 'react-contenteditable';
151
- import './index-0ca51fbb.js';
170
+ import './index-56d0ac47.js';
152
171
  import 'slugify';
153
- import 'lodash/shuffle';
172
+ import './utils-92e2bc22.js';
154
173
  import 'react-loading-skeleton';
155
- import './index-58982ea1.js';
174
+ import 'lodash/shuffle';
175
+ import './index-a424a33d.js';
156
176
 
157
177
  /* eslint-disable prettier/prettier */
158
178
  const CheckCircle = (props) => (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "currentColor" }, props),
@@ -0,0 +1,62 @@
1
+ import { useState, useEffect } from 'react';
2
+ import { B as Breakpoints } from './utils-8a1f05c9.js';
3
+ import { createStyles } from '@mantine/core';
4
+
5
+ const getIsMobile = () => {
6
+ return (typeof window !== 'undefined' &&
7
+ window.innerWidth < Breakpoints.BREAK_POINT_MOBILE);
8
+ };
9
+ const getIsLargeMobile = () => {
10
+ return (typeof window !== 'undefined' &&
11
+ window.innerWidth >= Breakpoints.BREAK_POINT_MOBILE &&
12
+ window.innerWidth < Breakpoints.BREAK_POINT_PC);
13
+ };
14
+ const useScreenSize = () => {
15
+ const [isMobile, setIsMobile] = useState(getIsMobile());
16
+ const [isLargeMobile, setIsLargeMobile] = useState(getIsLargeMobile());
17
+ useEffect(() => {
18
+ const handleResize = () => {
19
+ setIsMobile(getIsMobile());
20
+ setIsLargeMobile(getIsLargeMobile());
21
+ };
22
+ window.addEventListener('resize', handleResize, {
23
+ passive: true,
24
+ });
25
+ return () => {
26
+ window.removeEventListener('resize', handleResize);
27
+ };
28
+ }, []);
29
+ return { isMobile, isLargeMobile };
30
+ };
31
+
32
+ var useStyles = createStyles((theme) => {
33
+ return {
34
+ root: {},
35
+ inner: {},
36
+ content: {},
37
+ header: {
38
+ borderBottom: `1px solid ${theme.colors.neutral[1]}`,
39
+ marginRight: 0,
40
+ marginBottom: 0,
41
+ padding: '12px',
42
+ },
43
+ overlay: {},
44
+ title: {
45
+ fontSize: 16,
46
+ fontWeight: 700,
47
+ lineHeight: 1.5,
48
+ },
49
+ body: {},
50
+ close: {
51
+ cursor: 'pointer',
52
+ width: 'unset',
53
+ height: 'unset',
54
+ svg: {
55
+ width: '24px !important',
56
+ height: '24px !important',
57
+ },
58
+ },
59
+ };
60
+ });
61
+
62
+ export { useStyles as a, useScreenSize as u };
@@ -167,9 +167,9 @@ export type SubotNode = {
167
167
  multi_select_option?: NodeMultipleOptions;
168
168
  from?: number;
169
169
  to?: number;
170
- intents?: Array<SubotNodeIntent> | [];
171
- intents_bottom?: Array<SubotNodeIntent> | [];
172
- actions?: Array<SubotNodeAction> | [];
170
+ intents?: Array<SubotNodeIntent>;
171
+ intents_bottom?: Array<SubotNodeIntent>;
172
+ actions?: Array<SubotNodeAction>;
173
173
  isMobile?: boolean;
174
174
  };
175
175
  export type SubotNodeMessage = SubotNode & {