@hhgtech/hhg-components 1.29.255-beta-1 → 1.29.255-beta-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (542) hide show
  1. package/build/{LastPeriod-a49e09ac.js → LastPeriod-e978edf6.js} +1 -1
  2. package/build/{MobileBottomNavigationIcon-a9f285f8.js → MobileBottomNavigationIcon-f5f8912a.js} +3 -3
  3. package/build/{Spinner-661cd614.js → Spinner-261ca12b.js} +1 -1
  4. package/build/{WhatsApp-339413d1.js → WhatsApp-1e25de7e.js} +1 -1
  5. package/build/adapters.js +19 -19
  6. package/build/atoms.js +49 -49
  7. package/build/babyGrowth.js +83 -83
  8. package/build/cache.js +2 -2
  9. package/build/care.js +17 -17
  10. package/build/careBookingSearchBar.js +14 -14
  11. package/build/careBookingSearchBarV2.js +15 -15
  12. package/build/components.js +114 -114
  13. package/build/{constants-6e3dc4eb.js → constants-9221f489.js} +1 -1
  14. package/build/constants.js +3 -3
  15. package/build/constantsDomainLocales.js +1 -1
  16. package/build/constantsRiskScreener.js +2 -2
  17. package/build/constantsSite.js +2 -2
  18. package/build/{core-501219e2.js → core-2eca7a56.js} +1 -1
  19. package/build/{dataTransform-4a308e0b.js → dataTransform-92d8add2.js} +1 -1
  20. package/build/ecom.js +4 -4
  21. package/build/{editor-a8b0af34.js → editor-4a8f53ef.js} +30 -19
  22. package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
  23. package/build/embeddedHeathToolCards_babyPoop.js +19 -19
  24. package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
  25. package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
  26. package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
  27. package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  28. package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  29. package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
  30. package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
  31. package/build/esm/{LastPeriod-56e551d6.js → LastPeriod-079996eb.js} +1 -1
  32. package/build/esm/{MobileBottomNavigationIcon-33fd3156.js → MobileBottomNavigationIcon-7c987843.js} +3 -3
  33. package/build/esm/{Spinner-e2ea892f.js → Spinner-3aebab92.js} +1 -1
  34. package/build/esm/{WhatsApp-a666172c.js → WhatsApp-f98c35ac.js} +1 -1
  35. package/build/esm/adapters.js +19 -19
  36. package/build/esm/atoms.js +46 -46
  37. package/build/esm/babyGrowth.js +83 -83
  38. package/build/esm/cache.js +2 -2
  39. package/build/esm/care.js +17 -17
  40. package/build/esm/careBookingSearchBar.js +14 -14
  41. package/build/esm/careBookingSearchBarV2.js +15 -15
  42. package/build/esm/components.js +90 -90
  43. package/build/esm/{constants-dfbb02bb.js → constants-9bf6d063.js} +1 -1
  44. package/build/esm/constants.js +3 -3
  45. package/build/esm/constantsDomainLocales.js +1 -1
  46. package/build/esm/constantsRiskScreener.js +2 -2
  47. package/build/esm/constantsSite.js +2 -2
  48. package/build/esm/{core-4744f6f3.js → core-56a5f8a1.js} +1 -1
  49. package/build/esm/{dataTransform-9db75e68.js → dataTransform-04bb1b6b.js} +1 -1
  50. package/build/esm/ecom.js +4 -4
  51. package/build/esm/{editor-1909a687.js → editor-10538ef7.js} +30 -19
  52. package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
  53. package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
  54. package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
  55. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
  56. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
  57. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  58. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  59. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
  60. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
  61. package/build/esm/{fixedBottomAdBlock-ed7ed4e2.js → fixedBottomAdBlock-9aec1c7f.js} +24 -23
  62. package/build/esm/footer.js +21 -21
  63. package/build/esm/gAssets.js +2 -2
  64. package/build/esm/healthToolsCardWrapper.js +18 -18
  65. package/build/esm/healthToolsForm.js +33 -33
  66. package/build/esm/hooks/usePreview.d.ts +16 -0
  67. package/build/esm/hooks.js +13 -13
  68. package/build/esm/i18n/translationKeys.d.ts +1 -1
  69. package/build/esm/i18n-values/en-PH.js +19 -0
  70. package/build/esm/i18n-values/hi-IN.js +19 -0
  71. package/build/esm/i18n-values/id-ID.js +19 -0
  72. package/build/esm/i18n-values/km-KH.js +20 -1
  73. package/build/esm/i18n-values/ms-MY.js +19 -0
  74. package/build/esm/i18n-values/my-MM.js +19 -0
  75. package/build/esm/i18n-values/th-TH.js +19 -0
  76. package/build/esm/i18n-values/tl-PH.js +19 -0
  77. package/build/esm/i18n-values/vi-VN.js +21 -1
  78. package/build/esm/i18n-values/vi-VN_MB.js +21 -1
  79. package/build/esm/i18n-values/zh-TW.js +22 -2
  80. package/build/esm/i18n.js +2 -2
  81. package/build/esm/i18nV2.js +2 -2
  82. package/build/esm/{index-c673db76.js → index-057f2d1e.js} +2 -2
  83. package/build/esm/{index-1238c5b2.js → index-0756189f.js} +1 -1
  84. package/build/esm/{index-9f130a7f.js → index-08173da2.js} +6 -6
  85. package/build/esm/{index-559a0e6c.js → index-0ad66e2a.js} +16 -16
  86. package/build/esm/{index-e097a083.js → index-0ca935e6.js} +17 -17
  87. package/build/esm/{index-f68089de.js → index-0d6026dd.js} +2 -2
  88. package/build/esm/{index-01a221d1.js → index-1279323a.js} +15 -16
  89. package/build/esm/{index-e9050315.js → index-14226fb8.js} +13 -13
  90. package/build/esm/{index-1e71f4d7.js → index-14c2df62.js} +16 -16
  91. package/build/esm/{index-dc16bdc0.js → index-1641f810.js} +3 -3
  92. package/build/esm/index-1aa56c6c.js +1588 -0
  93. package/build/esm/{index-e7672482.js → index-233a4b0d.js} +21 -21
  94. package/build/esm/{index-abc47616.js → index-296a5f9a.js} +16 -16
  95. package/build/esm/{index-5d76c658.js → index-2e250193.js} +23 -6
  96. package/build/esm/{index-333f6856.js → index-364b0558.js} +7 -7
  97. package/build/esm/{index-85fe2034.js → index-38d50b59.js} +2 -2
  98. package/build/esm/{index-fa000615.js → index-3d881675.js} +13 -13
  99. package/build/esm/{index-fd84432b.js → index-3f9bbff5.js} +2 -2
  100. package/build/esm/{index-6231daa6.js → index-4586a7e6.js} +10 -10
  101. package/build/esm/{index-27b67e91.js → index-4d27d4d5.js} +17 -17
  102. package/build/esm/{index-43894578.js → index-55d2ff10.js} +2 -2
  103. package/build/esm/{index-feb05153.js → index-65bf5308.js} +16 -15
  104. package/build/esm/{index-33515e5d.js → index-65eb86b8.js} +3 -3
  105. package/build/esm/{index-e78813d5.js → index-6c4793d3.js} +24 -24
  106. package/build/esm/{index-9f27b7f4.js → index-6cd3f5e8.js} +15 -15
  107. package/build/esm/{index-1898da73.js → index-6d78a8a7.js} +2 -2
  108. package/build/esm/{index-0f4fba5c.js → index-78b3180a.js} +1 -1
  109. package/build/esm/{index-72976151.js → index-78b6be16.js} +3 -3
  110. package/build/esm/{index-1b795ea9.js → index-7e8aa571.js} +1 -1
  111. package/build/esm/{index-f8e0219d.js → index-7eb25449.js} +51 -45
  112. package/build/esm/{index-638cd733.js → index-819907ad.js} +3 -3
  113. package/build/esm/{index-63354509.js → index-85fddfd7.js} +1 -1
  114. package/build/esm/{index-c244d627.js → index-8ca04504.js} +1 -1
  115. package/build/esm/{index-c027fd0f.js → index-8f2e9737.js} +13 -13
  116. package/build/esm/{index-980ec7b9.js → index-8f716c39.js} +2 -2
  117. package/build/esm/{index-12fa6251.js → index-9711efd0.js} +4 -4
  118. package/build/esm/{index-5f0e8146.js → index-98c3fc54.js} +2 -2
  119. package/build/esm/{index-31369166.js → index-9927839b.js} +6 -6
  120. package/build/esm/{index-1d13b259.js → index-a2d9e627.js} +3 -3
  121. package/build/esm/{index-de634c83.js → index-a595566d.js} +11 -12
  122. package/build/esm/{index-d7c755b0.js → index-a60a7164.js} +146 -146
  123. package/build/esm/{index-d5632995.js → index-afea9eed.js} +1 -1
  124. package/build/esm/{index-386913a0.js → index-b0bd9cb3.js} +1 -1
  125. package/build/esm/{index-52d845a4.js → index-b6896227.js} +6 -6
  126. package/build/esm/{index-a064e7e2.js → index-c196772c.js} +3 -3
  127. package/build/esm/{index-28ada555.js → index-cae39c98.js} +1 -1
  128. package/build/esm/{index-de9892e3.js → index-cec1bbdc.js} +2 -2
  129. package/build/esm/{index-63a7f6e0.js → index-cf637bb0.js} +17 -17
  130. package/build/esm/{index-9208e3bb.js → index-cff54956.js} +30 -30
  131. package/build/esm/{index-64ceb47f.js → index-d63e0760.js} +2 -2
  132. package/build/esm/{index-99134425.js → index-d6986ca4.js} +13 -13
  133. package/build/esm/{index-e4c9d352.js → index-d9364bb7.js} +5 -5
  134. package/build/esm/{index-7374342d.js → index-dd765da5.js} +18 -18
  135. package/build/esm/{index-6577c177.js → index-e466cbf4.js} +213 -132
  136. package/build/esm/{index-d10a5a55.js → index-e57c93fa.js} +3 -3
  137. package/build/esm/{index-41e2e754.js → index-e5c5350b.js} +2 -2
  138. package/build/esm/{index-485a662c.js → index-e92c278a.js} +7 -7
  139. package/build/esm/{index-5ec12ba9.js → index-f0fa0bcd.js} +1 -1
  140. package/build/esm/{index-520d2095.js → index-f7477ebe.js} +5 -5
  141. package/build/esm/{index-59e6c9c3.js → index-f993926f.js} +2 -2
  142. package/build/esm/index.css +1 -1
  143. package/build/esm/index.js +112 -112
  144. package/build/esm/index.styles-eab929da.js +35 -0
  145. package/build/esm/interfaces/types/index.d.ts +1 -1
  146. package/build/esm/{labelSorting-cf27ba75.js → labelSorting-acef7ac3.js} +4 -4
  147. package/build/esm/lead.js +24 -24
  148. package/build/esm/{logoIcon-ba7fdeb5.js → logoIcon-5aa1e54b.js} +2 -2
  149. package/build/esm/mantine.js +25 -25
  150. package/build/esm/misc.js +16 -16
  151. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  152. package/build/esm/miscGetSocialList.js +8 -8
  153. package/build/esm/miscScreenSizeContext.js +1 -1
  154. package/build/esm/mobileBottomNavigation.js +5 -5
  155. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  156. package/build/esm/molecules.js +69 -69
  157. package/build/esm/moleculesArticleCard.js +6 -6
  158. package/build/esm/moleculesArticleCardV2.js +16 -16
  159. package/build/esm/navigation.js +40 -40
  160. package/build/esm/navigationLogoutPopup.js +9 -9
  161. package/build/esm/navigationProfileButton.js +23 -23
  162. package/build/esm/onboardingV2.js +29 -29
  163. package/build/esm/organisms.js +44 -44
  164. package/build/esm/{post-6b45ad4f.js → post-e0ff144e.js} +3 -3
  165. package/build/esm/profileNavigation.js +19 -19
  166. package/build/esm/progressBar.js +1 -1
  167. package/build/esm/pwg.js +22 -22
  168. package/build/esm/ssoV2.js +26 -26
  169. package/build/esm/{store-7c55f360.js → store-f24285e6.js} +3 -3
  170. package/build/esm/subot.js +33 -33
  171. package/build/esm/surveyOrPremiumBanner.js +31 -31
  172. package/build/esm/surveyQuestionCard.js +10 -10
  173. package/build/esm/{surveyThankyouCard-bade79b4.js → surveyThankyouCard-270b1fef.js} +5 -5
  174. package/build/esm/together/assets/icons/Ask.d.ts +7 -0
  175. package/build/esm/together/components/atoms/cardReactions/index.d.ts +2 -1
  176. package/build/esm/together/components/molecules/createNewPostContent/index.d.ts +6 -2
  177. package/build/esm/together/components/molecules/createNewPostContent/index.styled.d.ts +4 -0
  178. package/build/esm/together/components/molecules/createNewPostContent/type.d.ts +4 -0
  179. package/build/esm/together/components/molecules/createPostCommunity/index.d.ts +25 -0
  180. package/build/esm/together/components/molecules/createPostCommunity/index.styled.d.ts +9 -0
  181. package/build/esm/together/components/molecules/createPostCommunity/index.styles.d.ts +12 -0
  182. package/build/esm/together/components/molecules/createPostDescription/index.d.ts +2 -1
  183. package/build/esm/together/components/molecules/createPostPhotos/index.d.ts +7 -0
  184. package/build/esm/together/components/molecules/createPostVideo/index.d.ts +8 -0
  185. package/build/esm/together/components/molecules/createPostVideo/socialLinkPopup/index.d.ts +12 -0
  186. package/build/esm/together/components/molecules/createPostVideo/socialLinkPopup/index.styled.d.ts +15 -0
  187. package/build/esm/together/components/molecules/postPhotosReview/index.d.ts +8 -0
  188. package/build/esm/together/components/molecules/postPhotosReview/index.styled.d.ts +5 -0
  189. package/build/esm/together/components/molecules/postPhotosReview/index.styles.d.ts +12 -0
  190. package/build/esm/together/components/molecules/postVideoReview/index.d.ts +10 -0
  191. package/build/esm/together/components/molecules/postVideoReview/index.styled.d.ts +5 -0
  192. package/build/esm/together/components/molecules/postVideoReview/index.styles.d.ts +12 -0
  193. package/build/esm/together/components/organisms/cardPost/cardPostPopover.d.ts +1 -1
  194. package/build/esm/together/components/organisms/cardPost/index.d.ts +2 -1
  195. package/build/esm/together.js +53 -52
  196. package/build/esm/togetherApiUtils.js +4 -4
  197. package/build/esm/togetherAtoms.js +30 -30
  198. package/build/esm/togetherComponentGlobalContext.js +4 -4
  199. package/build/esm/togetherMolecules.js +48 -47
  200. package/build/esm/togetherMoleculesCardAuthor.js +27 -27
  201. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  202. package/build/esm/togetherMoleculesProfileDetail.js +37 -37
  203. package/build/esm/togetherOrganisms.js +47 -47
  204. package/build/esm/togetherRichTextEditor.js +17 -17
  205. package/build/esm/togetherShareBox.js +15 -12
  206. package/build/esm/{treePopoverMenu-f50ac599.js → treePopoverMenu-55dd0cf6.js} +27 -27
  207. package/build/esm/{types-98c0eb4f.js → types-3173cc94.js} +2 -2
  208. package/build/esm/types.js +2 -2
  209. package/build/esm/{useCategory-1ad6f5bd.js → useCategory-e8f7ddf8.js} +5 -5
  210. package/build/esm/{useHealthToolCache-c202d504.js → useHealthToolCache-2cba8952.js} +1 -1
  211. package/build/esm/{useMantineLocale-fbe0d85f.js → useMantineLocale-897de7b5.js} +5 -5
  212. package/build/esm/{usePlacesAutocomplete-e46d35f4.js → usePlacesAutocomplete-b1a4d70d.js} +1 -1
  213. package/build/esm/useScreenSize-72a6e414.js +50 -0
  214. package/build/esm/useTogetherAuthRequiredAction.js +9 -9
  215. package/build/esm/{utils-ea08e466.js → utils-226da7e7.js} +2 -2
  216. package/build/esm/{utils-03c20d75.js → utils-63a40dac.js} +2 -2
  217. package/build/esm/{utils-a30adc88.js → utils-d7a79b14.js} +4 -4
  218. package/build/esm/vaccination.js +21 -21
  219. package/build/{fixedBottomAdBlock-0d90f775.js → fixedBottomAdBlock-77d47ed1.js} +25 -24
  220. package/build/footer.js +21 -21
  221. package/build/gAssets.js +2 -2
  222. package/build/healthToolsCardWrapper.js +18 -18
  223. package/build/healthToolsForm.js +33 -33
  224. package/build/hooks/usePreview.d.ts +16 -0
  225. package/build/hooks.js +13 -13
  226. package/build/i18n/translationKeys.d.ts +1 -1
  227. package/build/i18n-values/en-PH.js +19 -0
  228. package/build/i18n-values/hi-IN.js +19 -0
  229. package/build/i18n-values/id-ID.js +19 -0
  230. package/build/i18n-values/km-KH.js +20 -1
  231. package/build/i18n-values/ms-MY.js +19 -0
  232. package/build/i18n-values/my-MM.js +19 -0
  233. package/build/i18n-values/th-TH.js +19 -0
  234. package/build/i18n-values/tl-PH.js +19 -0
  235. package/build/i18n-values/vi-VN.js +21 -1
  236. package/build/i18n-values/vi-VN_MB.js +21 -1
  237. package/build/i18n-values/zh-TW.js +22 -2
  238. package/build/i18n.js +1 -1
  239. package/build/i18nV2.js +1 -1
  240. package/build/{index-1e59ac18.js → index-024879f9.js} +2 -2
  241. package/build/{index-0a8fd916.js → index-06890150.js} +2 -2
  242. package/build/{index-e26057ef.js → index-0af1a89b.js} +2 -2
  243. package/build/{index-c39f90c0.js → index-1186fa5d.js} +1 -1
  244. package/build/{index-600be142.js → index-120a5070.js} +30 -30
  245. package/build/{index-94a2380e.js → index-123951cf.js} +23 -6
  246. package/build/{index-40968de6.js → index-1701cefe.js} +13 -13
  247. package/build/{index-a36ae2dd.js → index-176bf9ce.js} +2 -2
  248. package/build/{index-8875bd63.js → index-211f83c7.js} +2 -2
  249. package/build/{index-1b6ff5d2.js → index-2473a275.js} +3 -3
  250. package/build/{index-9c30fb0f.js → index-257127f0.js} +15 -15
  251. package/build/{index-cbf8013f.js → index-2987ce11.js} +1 -1
  252. package/build/{index-b7771139.js → index-2aae5e03.js} +3 -3
  253. package/build/{index-1193605d.js → index-2b1586aa.js} +13 -13
  254. package/build/{index-d9e2317d.js → index-2c4a10c7.js} +2 -2
  255. package/build/{index-359555bb.js → index-2f425921.js} +63 -63
  256. package/build/{index-e7f40c6c.js → index-3048d656.js} +3 -3
  257. package/build/{index-fce1fbe0.js → index-35d69f6d.js} +3 -3
  258. package/build/{index-876b0554.js → index-36fb2a30.js} +6 -6
  259. package/build/{index-c05017fc.js → index-37948e56.js} +18 -18
  260. package/build/index-3e80af41.js +1602 -0
  261. package/build/{index-ab91b4aa.js → index-41fe3c8c.js} +16 -16
  262. package/build/{index-417c9098.js → index-436b0626.js} +7 -7
  263. package/build/{index-0fbb70e6.js → index-4757077a.js} +147 -147
  264. package/build/{index-e8085041.js → index-4e3b8553.js} +2 -2
  265. package/build/{index-1d2f7127.js → index-4e4b2fec.js} +1 -1
  266. package/build/{index-0fb405b1.js → index-51f51570.js} +3 -3
  267. package/build/{index-b7f8ef88.js → index-52d4c791.js} +12 -12
  268. package/build/{index-bbcb1695.js → index-587c0854.js} +1 -1
  269. package/build/{index-99663cb3.js → index-5b9089ad.js} +17 -17
  270. package/build/{index-b79fefb7.js → index-642504fb.js} +10 -10
  271. package/build/{index-ead61105.js → index-704aca93.js} +213 -132
  272. package/build/{index-cbc3d699.js → index-7a2f707e.js} +2 -2
  273. package/build/{index-7fc1402c.js → index-8080f047.js} +13 -13
  274. package/build/{index-79d8be3f.js → index-808cfcbf.js} +2 -2
  275. package/build/{index-92f73c98.js → index-83dfec88.js} +2 -2
  276. package/build/{index-9cc8a110.js → index-84ea2727.js} +17 -17
  277. package/build/{index-2f965d34.js → index-88c46691.js} +13 -13
  278. package/build/{index-23482812.js → index-8c1c9ab3.js} +2 -2
  279. package/build/{index-ffe46049.js → index-97b39f68.js} +3 -3
  280. package/build/{index-0c9daa95.js → index-99784eb3.js} +1 -1
  281. package/build/{index-5c72b88a.js → index-9b459b73.js} +5 -5
  282. package/build/{index-7470b041.js → index-a3488c7c.js} +5 -5
  283. package/build/{index-ebf999c6.js → index-a9a1f171.js} +3 -3
  284. package/build/{index-4c1df74e.js → index-b0e50283.js} +50 -44
  285. package/build/{index-f6e67f1a.js → index-b13987b2.js} +1 -1
  286. package/build/{index-ec5786d9.js → index-b4452e14.js} +20 -21
  287. package/build/{index-e9cd2fc3.js → index-b4d5f71d.js} +2 -2
  288. package/build/{index-6e7190c1.js → index-b54c0584.js} +45 -46
  289. package/build/{index-a13ac487.js → index-ba506126.js} +2 -2
  290. package/build/{index-4775a6e3.js → index-bbbcd8fd.js} +4 -4
  291. package/build/{index-f5ceb6c4.js → index-be099908.js} +16 -16
  292. package/build/{index-efc112b4.js → index-cb3cbc02.js} +20 -20
  293. package/build/{index-b6f472df.js → index-cf80bf25.js} +50 -50
  294. package/build/{index-f378d164.js → index-d43aeb0f.js} +16 -16
  295. package/build/{index-ff414a50.js → index-d941c26d.js} +1 -1
  296. package/build/{index-e5b8cfe3.js → index-e6ebebfe.js} +6 -6
  297. package/build/{index-acce4797.js → index-eda91895.js} +1 -1
  298. package/build/{index-7964ea1e.js → index-f2d7d476.js} +17 -17
  299. package/build/{index-1c77f9c8.js → index-fc5e0fbe.js} +18 -17
  300. package/build/index.css +1 -1
  301. package/build/index.js +157 -157
  302. package/build/index.styles-d7aa47c6.js +37 -0
  303. package/build/interfaces/types/index.d.ts +1 -1
  304. package/build/{labelSorting-e5b411c3.js → labelSorting-7d1252e2.js} +4 -4
  305. package/build/lead.js +24 -24
  306. package/build/{logoIcon-4380c43d.js → logoIcon-6e1dee46.js} +3 -3
  307. package/build/mantine.js +22 -22
  308. package/build/misc.js +16 -16
  309. package/build/miscGetDynamicHealthTool.js +4 -4
  310. package/build/miscGetSocialList.js +8 -8
  311. package/build/miscScreenSizeContext.js +1 -1
  312. package/build/mobileBottomNavigation.js +5 -5
  313. package/build/mobileBottomNavigationIcon.js +5 -5
  314. package/build/molecules.js +69 -69
  315. package/build/moleculesArticleCard.js +6 -6
  316. package/build/moleculesArticleCardV2.js +18 -18
  317. package/build/navigation.js +40 -40
  318. package/build/navigationLogoutPopup.js +9 -9
  319. package/build/navigationProfileButton.js +23 -23
  320. package/build/onboardingV2.js +31 -31
  321. package/build/organisms.js +44 -44
  322. package/build/{post-5377dd29.js → post-32e0928d.js} +2 -2
  323. package/build/profileNavigation.js +19 -19
  324. package/build/progressBar.js +1 -1
  325. package/build/pwg.js +22 -22
  326. package/build/ssoV2.js +25 -25
  327. package/build/{store-19323e07.js → store-49419a3e.js} +3 -3
  328. package/build/subot.js +32 -32
  329. package/build/surveyOrPremiumBanner.js +31 -31
  330. package/build/surveyQuestionCard.js +10 -10
  331. package/build/{surveyThankyouCard-bdfceda3.js → surveyThankyouCard-e3b96ecc.js} +5 -5
  332. package/build/together/assets/icons/Ask.d.ts +7 -0
  333. package/build/together/components/atoms/cardReactions/index.d.ts +2 -1
  334. package/build/together/components/molecules/createNewPostContent/index.d.ts +6 -2
  335. package/build/together/components/molecules/createNewPostContent/index.styled.d.ts +4 -0
  336. package/build/together/components/molecules/createNewPostContent/type.d.ts +4 -0
  337. package/build/together/components/molecules/createPostCommunity/index.d.ts +25 -0
  338. package/build/together/components/molecules/createPostCommunity/index.styled.d.ts +9 -0
  339. package/build/together/components/molecules/createPostCommunity/index.styles.d.ts +12 -0
  340. package/build/together/components/molecules/createPostDescription/index.d.ts +2 -1
  341. package/build/together/components/molecules/createPostPhotos/index.d.ts +7 -0
  342. package/build/together/components/molecules/createPostVideo/index.d.ts +8 -0
  343. package/build/together/components/molecules/createPostVideo/socialLinkPopup/index.d.ts +12 -0
  344. package/build/together/components/molecules/createPostVideo/socialLinkPopup/index.styled.d.ts +15 -0
  345. package/build/together/components/molecules/postPhotosReview/index.d.ts +8 -0
  346. package/build/together/components/molecules/postPhotosReview/index.styled.d.ts +5 -0
  347. package/build/together/components/molecules/postPhotosReview/index.styles.d.ts +12 -0
  348. package/build/together/components/molecules/postVideoReview/index.d.ts +10 -0
  349. package/build/together/components/molecules/postVideoReview/index.styled.d.ts +5 -0
  350. package/build/together/components/molecules/postVideoReview/index.styles.d.ts +12 -0
  351. package/build/together/components/organisms/cardPost/cardPostPopover.d.ts +1 -1
  352. package/build/together/components/organisms/cardPost/index.d.ts +2 -1
  353. package/build/together.js +53 -52
  354. package/build/togetherApiUtils.js +4 -4
  355. package/build/togetherAtoms.js +30 -30
  356. package/build/togetherComponentGlobalContext.js +4 -4
  357. package/build/togetherMolecules.js +48 -47
  358. package/build/togetherMoleculesCardAuthor.js +27 -27
  359. package/build/togetherMoleculesPostImagePreview.js +11 -11
  360. package/build/togetherMoleculesProfileDetail.js +37 -37
  361. package/build/togetherOrganisms.js +47 -47
  362. package/build/togetherRichTextEditor.js +17 -17
  363. package/build/togetherShareBox.js +19 -16
  364. package/build/{treePopoverMenu-90e6c497.js → treePopoverMenu-d7d7606d.js} +28 -28
  365. package/build/{types-82089964.js → types-9019cbf8.js} +2 -2
  366. package/build/types.js +2 -2
  367. package/build/{useCategory-5d620b0c.js → useCategory-730ad168.js} +5 -5
  368. package/build/{useHealthToolCache-42764d8b.js → useHealthToolCache-40f11368.js} +1 -1
  369. package/build/{useMantineLocale-df553a85.js → useMantineLocale-07f0e967.js} +5 -5
  370. package/build/{usePlacesAutocomplete-c0d7e519.js → usePlacesAutocomplete-925da3d8.js} +1 -1
  371. package/build/{index-94c7aa0a.js → useScreenSize-377d423a.js} +30 -1
  372. package/build/useTogetherAuthRequiredAction.js +9 -9
  373. package/build/{utils-5abd04f3.js → utils-00bc3b27.js} +3 -3
  374. package/build/{utils-73b2a15c.js → utils-047b33e2.js} +2 -2
  375. package/build/{utils-831595ab.js → utils-2e2fb97e.js} +2 -2
  376. package/build/vaccination.js +25 -25
  377. package/package.json +1 -1
  378. package/build/esm/index-e09202bf.js +0 -22
  379. package/build/esm/index-e4d7c08b.js +0 -913
  380. package/build/esm/index.styles-c8f0bcdf.js +0 -64
  381. package/build/index-afe2faf7.js +0 -927
  382. package/build/index.styles-07513b4a.js +0 -67
  383. /package/build/{BMI_BOYS.percentile.monthly-b194da14.js → BMI_BOYS.percentile.monthly-90c63d14.js} +0 -0
  384. /package/build/{BMI_BOYS.percentile.weekly-ec6c69d3.js → BMI_BOYS.percentile.weekly-e07825ff.js} +0 -0
  385. /package/build/{BMI_BOYS.percentile.yearly-46719ff5.js → BMI_BOYS.percentile.yearly-ecfb4811.js} +0 -0
  386. /package/build/{BMI_BOYS.zscore.monthly-482901d6.js → BMI_BOYS.zscore.monthly-cc7c89e1.js} +0 -0
  387. /package/build/{BMI_BOYS.zscore.weekly-225568de.js → BMI_BOYS.zscore.weekly-6dd1da70.js} +0 -0
  388. /package/build/{BMI_BOYS.zscore.yearly-a252a912.js → BMI_BOYS.zscore.yearly-254f7b56.js} +0 -0
  389. /package/build/{BMI_GIRLS.percentile.monthly-4d8b4eb2.js → BMI_GIRLS.percentile.monthly-ba7eab70.js} +0 -0
  390. /package/build/{BMI_GIRLS.percentile.weekly-af009b15.js → BMI_GIRLS.percentile.weekly-de9e1b2a.js} +0 -0
  391. /package/build/{BMI_GIRLS.percentile.yearly-542dbed5.js → BMI_GIRLS.percentile.yearly-59c82a18.js} +0 -0
  392. /package/build/{BMI_GIRLS.zscore.monthly-26d46964.js → BMI_GIRLS.zscore.monthly-0c152106.js} +0 -0
  393. /package/build/{BMI_GIRLS.zscore.weekly-9257075f.js → BMI_GIRLS.zscore.weekly-dac29565.js} +0 -0
  394. /package/build/{BMI_GIRLS.zscore.yearly-68890e63.js → BMI_GIRLS.zscore.yearly-28f3b883.js} +0 -0
  395. /package/build/{ChevronDown-f564cb15.js → ChevronDown-7faa448b.js} +0 -0
  396. /package/build/{Close-55b74750.js → Close-2d5f227e.js} +0 -0
  397. /package/build/{Google-b46681e7.js → Google-749907f2.js} +0 -0
  398. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-728d94f7.js → HEAD CIRCUM_BOYS.percentile.monthly-b6fc017c.js} +0 -0
  399. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a38b311c.js → HEAD CIRCUM_BOYS.percentile.weekly-786cca3b.js} +0 -0
  400. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-35572fa8.js → HEAD CIRCUM_BOYS.percentile.yearly-84c22b3d.js} +0 -0
  401. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-c0635989.js → HEAD CIRCUM_BOYS.zscore.monthly-2d11ed07.js} +0 -0
  402. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-6a3237d7.js → HEAD CIRCUM_BOYS.zscore.weekly-54d2199b.js} +0 -0
  403. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-eb40dca6.js → HEAD CIRCUM_BOYS.zscore.yearly-73601e98.js} +0 -0
  404. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-df1ef165.js → HEAD CIRCUM_GIRLS.percentile.monthly-8a06ec52.js} +0 -0
  405. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-97861dd8.js → HEAD CIRCUM_GIRLS.percentile.weekly-abec48a9.js} +0 -0
  406. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-9a492044.js → HEAD CIRCUM_GIRLS.percentile.yearly-d31d9558.js} +0 -0
  407. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-ce9baa14.js → HEAD CIRCUM_GIRLS.zscore.monthly-f7e55982.js} +0 -0
  408. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-1d352768.js → HEAD CIRCUM_GIRLS.zscore.weekly-d7518680.js} +0 -0
  409. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e18972a5.js → HEAD CIRCUM_GIRLS.zscore.yearly-ad98b487.js} +0 -0
  410. /package/build/{HEIGHT_BOYS.percentile.monthly-945641ff.js → HEIGHT_BOYS.percentile.monthly-f759334e.js} +0 -0
  411. /package/build/{HEIGHT_BOYS.percentile.weekly-2b2a0983.js → HEIGHT_BOYS.percentile.weekly-acb7807a.js} +0 -0
  412. /package/build/{HEIGHT_BOYS.percentile.yearly-f4ec49b8.js → HEIGHT_BOYS.percentile.yearly-345c714c.js} +0 -0
  413. /package/build/{HEIGHT_BOYS.zscore.monthly-d8f097fd.js → HEIGHT_BOYS.zscore.monthly-e9127ee2.js} +0 -0
  414. /package/build/{HEIGHT_BOYS.zscore.weekly-ca870d22.js → HEIGHT_BOYS.zscore.weekly-b3e40201.js} +0 -0
  415. /package/build/{HEIGHT_BOYS.zscore.yearly-52355027.js → HEIGHT_BOYS.zscore.yearly-3bdfcd03.js} +0 -0
  416. /package/build/{HEIGHT_GIRLS.percentile.monthly-9d423433.js → HEIGHT_GIRLS.percentile.monthly-b5c12e56.js} +0 -0
  417. /package/build/{HEIGHT_GIRLS.percentile.weekly-a455b76d.js → HEIGHT_GIRLS.percentile.weekly-6efa19c7.js} +0 -0
  418. /package/build/{HEIGHT_GIRLS.percentile.yearly-059d0a18.js → HEIGHT_GIRLS.percentile.yearly-efb45d46.js} +0 -0
  419. /package/build/{HEIGHT_GIRLS.zscore.monthly-3b7683a4.js → HEIGHT_GIRLS.zscore.monthly-ea34114e.js} +0 -0
  420. /package/build/{HEIGHT_GIRLS.zscore.weekly-b14b42d5.js → HEIGHT_GIRLS.zscore.weekly-741873c2.js} +0 -0
  421. /package/build/{HEIGHT_GIRLS.zscore.yearly-20c7e5c6.js → HEIGHT_GIRLS.zscore.yearly-4954cc77.js} +0 -0
  422. /package/build/{Locale-bcde8996.js → Locale-7bb0fc27.js} +0 -0
  423. /package/build/{Visible-2bb88c95.js → Visible-0f5c8717.js} +0 -0
  424. /package/build/{WEIGHT_BOYS.percentile.monthly-85c444cc.js → WEIGHT_BOYS.percentile.monthly-c692a394.js} +0 -0
  425. /package/build/{WEIGHT_BOYS.percentile.weekly-a47b4ed2.js → WEIGHT_BOYS.percentile.weekly-c5810888.js} +0 -0
  426. /package/build/{WEIGHT_BOYS.percentile.yearly-374b1995.js → WEIGHT_BOYS.percentile.yearly-42f18fc2.js} +0 -0
  427. /package/build/{WEIGHT_BOYS.zscore.monthly-44e2f2e7.js → WEIGHT_BOYS.zscore.monthly-416af87d.js} +0 -0
  428. /package/build/{WEIGHT_BOYS.zscore.weekly-b08c0f41.js → WEIGHT_BOYS.zscore.weekly-2b0e2165.js} +0 -0
  429. /package/build/{WEIGHT_BOYS.zscore.yearly-5921b3a0.js → WEIGHT_BOYS.zscore.yearly-9d382ca9.js} +0 -0
  430. /package/build/{WEIGHT_GIRLS.percentile.monthly-984bf7ce.js → WEIGHT_GIRLS.percentile.monthly-466d3860.js} +0 -0
  431. /package/build/{WEIGHT_GIRLS.percentile.weekly-2cb8fb73.js → WEIGHT_GIRLS.percentile.weekly-833a1be5.js} +0 -0
  432. /package/build/{WEIGHT_GIRLS.percentile.yearly-6c98923d.js → WEIGHT_GIRLS.percentile.yearly-f789982a.js} +0 -0
  433. /package/build/{WEIGHT_GIRLS.zscore.monthly-ed2c531e.js → WEIGHT_GIRLS.zscore.monthly-7d0c15e0.js} +0 -0
  434. /package/build/{WEIGHT_GIRLS.zscore.weekly-f9ecb392.js → WEIGHT_GIRLS.zscore.weekly-9f1069f7.js} +0 -0
  435. /package/build/{WEIGHT_GIRLS.zscore.yearly-68ef941b.js → WEIGHT_GIRLS.zscore.yearly-73ae1d15.js} +0 -0
  436. /package/build/{animation-ea977495.js → animation-6f3b7847.js} +0 -0
  437. /package/build/{constants-e9691110.js → constants-2d91b0e1.js} +0 -0
  438. /package/build/{constants-4d7147a1.js → constants-9781ee0c.js} +0 -0
  439. /package/build/{constants-01354d80.js → constants-e9c423db.js} +0 -0
  440. /package/build/{dataTransform-3d45068d.js → dataTransform-0a3530e2.js} +0 -0
  441. /package/build/{doctor-f1e2bd10.js → doctor-a5ab1034.js} +0 -0
  442. /package/build/esm/{BMI_BOYS.percentile.monthly-676746a9.js → BMI_BOYS.percentile.monthly-412abb5f.js} +0 -0
  443. /package/build/esm/{BMI_BOYS.percentile.weekly-4ed23841.js → BMI_BOYS.percentile.weekly-f4e955d0.js} +0 -0
  444. /package/build/esm/{BMI_BOYS.percentile.yearly-98c98167.js → BMI_BOYS.percentile.yearly-001dd466.js} +0 -0
  445. /package/build/esm/{BMI_BOYS.zscore.monthly-47916b32.js → BMI_BOYS.zscore.monthly-59f049ab.js} +0 -0
  446. /package/build/esm/{BMI_BOYS.zscore.weekly-daaed956.js → BMI_BOYS.zscore.weekly-aac900c4.js} +0 -0
  447. /package/build/esm/{BMI_BOYS.zscore.yearly-eab0342a.js → BMI_BOYS.zscore.yearly-6dca440a.js} +0 -0
  448. /package/build/esm/{BMI_GIRLS.percentile.monthly-dfb759bb.js → BMI_GIRLS.percentile.monthly-bebf51b4.js} +0 -0
  449. /package/build/esm/{BMI_GIRLS.percentile.weekly-d29de620.js → BMI_GIRLS.percentile.weekly-2a2b4eb7.js} +0 -0
  450. /package/build/esm/{BMI_GIRLS.percentile.yearly-25fa0330.js → BMI_GIRLS.percentile.yearly-24ebd799.js} +0 -0
  451. /package/build/esm/{BMI_GIRLS.zscore.monthly-fc206d4e.js → BMI_GIRLS.zscore.monthly-eecb1682.js} +0 -0
  452. /package/build/esm/{BMI_GIRLS.zscore.weekly-98306141.js → BMI_GIRLS.zscore.weekly-2e1488eb.js} +0 -0
  453. /package/build/esm/{BMI_GIRLS.zscore.yearly-e4d0a11b.js → BMI_GIRLS.zscore.yearly-b75ac0b9.js} +0 -0
  454. /package/build/esm/{ChevronDown-2dece328.js → ChevronDown-ab409ca4.js} +0 -0
  455. /package/build/esm/{Close-414861c0.js → Close-255717e5.js} +0 -0
  456. /package/build/esm/{Google-0a3ac5a5.js → Google-e4d9094f.js} +0 -0
  457. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-22e90b94.js → HEAD CIRCUM_BOYS.percentile.monthly-6037f594.js} +0 -0
  458. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-138252c3.js → HEAD CIRCUM_BOYS.percentile.weekly-d737c37e.js} +0 -0
  459. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-45d0204c.js → HEAD CIRCUM_BOYS.percentile.yearly-31efd59d.js} +0 -0
  460. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-b251ea89.js → HEAD CIRCUM_BOYS.zscore.monthly-a8f7ddd6.js} +0 -0
  461. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-c0993a4a.js → HEAD CIRCUM_BOYS.zscore.weekly-d24e81d8.js} +0 -0
  462. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-ceac2f5f.js → HEAD CIRCUM_BOYS.zscore.yearly-1d62e084.js} +0 -0
  463. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-e4f09030.js → HEAD CIRCUM_GIRLS.percentile.monthly-1a981973.js} +0 -0
  464. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-9d21592c.js → HEAD CIRCUM_GIRLS.percentile.weekly-84bba439.js} +0 -0
  465. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-3a37d7d1.js → HEAD CIRCUM_GIRLS.percentile.yearly-1b9b6720.js} +0 -0
  466. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-efff377c.js → HEAD CIRCUM_GIRLS.zscore.monthly-ffcc7685.js} +0 -0
  467. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-21aa2b28.js → HEAD CIRCUM_GIRLS.zscore.weekly-f337d25b.js} +0 -0
  468. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-99a4f0e8.js → HEAD CIRCUM_GIRLS.zscore.yearly-38c72ae9.js} +0 -0
  469. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-529d91e6.js → HEIGHT_BOYS.percentile.monthly-da590313.js} +0 -0
  470. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-d786c46b.js → HEIGHT_BOYS.percentile.weekly-1a1ffe4b.js} +0 -0
  471. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f2b98286.js → HEIGHT_BOYS.percentile.yearly-914f3a91.js} +0 -0
  472. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9fd64cb2.js → HEIGHT_BOYS.zscore.monthly-09a91a77.js} +0 -0
  473. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-f5fb170c.js → HEIGHT_BOYS.zscore.weekly-24952bd6.js} +0 -0
  474. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-75ff7389.js → HEIGHT_BOYS.zscore.yearly-533c9933.js} +0 -0
  475. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-20d7dc21.js → HEIGHT_GIRLS.percentile.monthly-20adde21.js} +0 -0
  476. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-163bcbf7.js → HEIGHT_GIRLS.percentile.weekly-5c089a72.js} +0 -0
  477. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-133e9b9b.js → HEIGHT_GIRLS.percentile.yearly-0337efde.js} +0 -0
  478. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-1f697249.js → HEIGHT_GIRLS.zscore.monthly-31da8973.js} +0 -0
  479. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-64f7cfb0.js → HEIGHT_GIRLS.zscore.weekly-e925388a.js} +0 -0
  480. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-5d3a1f36.js → HEIGHT_GIRLS.zscore.yearly-1d982762.js} +0 -0
  481. /package/build/esm/{Locale-ca77b0a8.js → Locale-e3bf3674.js} +0 -0
  482. /package/build/esm/{Visible-ba31ca23.js → Visible-9cdd11c7.js} +0 -0
  483. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-a42e34eb.js → WEIGHT_BOYS.percentile.monthly-675875d5.js} +0 -0
  484. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c519e3e5.js → WEIGHT_BOYS.percentile.weekly-4380822d.js} +0 -0
  485. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-58cd559f.js → WEIGHT_BOYS.percentile.yearly-5f03ab81.js} +0 -0
  486. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-ed9e4281.js → WEIGHT_BOYS.zscore.monthly-7d53891c.js} +0 -0
  487. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-bb18ed2b.js → WEIGHT_BOYS.zscore.weekly-2b996595.js} +0 -0
  488. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-ce3809ed.js → WEIGHT_BOYS.zscore.yearly-9938a7b4.js} +0 -0
  489. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-cc6d74d0.js → WEIGHT_GIRLS.percentile.monthly-ced675a4.js} +0 -0
  490. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-faec125e.js → WEIGHT_GIRLS.percentile.weekly-a7f88686.js} +0 -0
  491. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-ee45c3d5.js → WEIGHT_GIRLS.percentile.yearly-dd257495.js} +0 -0
  492. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-328c309f.js → WEIGHT_GIRLS.zscore.monthly-22f9f972.js} +0 -0
  493. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-27ddd67a.js → WEIGHT_GIRLS.zscore.weekly-c21c9fbb.js} +0 -0
  494. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-f351e8ae.js → WEIGHT_GIRLS.zscore.yearly-58662d5a.js} +0 -0
  495. /package/build/esm/{animation-26ededa5.js → animation-b5fb6e1a.js} +0 -0
  496. /package/build/esm/{constants-24c945ff.js → constants-5ba4a06d.js} +0 -0
  497. /package/build/esm/{constants-63e3976e.js → constants-5d7dd1df.js} +0 -0
  498. /package/build/esm/{constants-4c555a78.js → constants-78902e5d.js} +0 -0
  499. /package/build/esm/{dataTransform-9fb86241.js → dataTransform-76f664d7.js} +0 -0
  500. /package/build/esm/{doctor-fa923c90.js → doctor-69b1c79d.js} +0 -0
  501. /package/build/esm/{index-f2dcdbdd.js → index-1127f8ba.js} +0 -0
  502. /package/build/esm/{index-7efb2ae6.js → index-4e256236.js} +0 -0
  503. /package/build/esm/{index-56c187d2.js → index-51f857f3.js} +0 -0
  504. /package/build/esm/{index-ae467e8a.js → index-8bc6741b.js} +0 -0
  505. /package/build/esm/{index-e15f4ebc.js → index-935a1f87.js} +0 -0
  506. /package/build/esm/{index-5ae6e655.js → index-c512146f.js} +0 -0
  507. /package/build/esm/{index-b960d7d2.js → index-cec2beab.js} +0 -0
  508. /package/build/esm/{index-ef4ef49a.js → index-cf5fc080.js} +0 -0
  509. /package/build/esm/{index-2f48ca28.js → index-f2dba474.js} +0 -0
  510. /package/build/esm/{localizeNumberFormat-a97ed6c7.js → localizeNumberFormat-ebf106eb.js} +0 -0
  511. /package/build/esm/{normalizeLink-4b5bf175.js → normalizeLink-5aca6bda.js} +0 -0
  512. /package/build/esm/{other-b2d9a044.js → other-6a7e1e43.js} +0 -0
  513. /package/build/esm/{paths-ddb6c4d8.js → paths-ced0fa9d.js} +0 -0
  514. /package/build/esm/{translationsContext-842b9deb.js → translationsContext-b0754e46.js} +0 -0
  515. /package/build/esm/{tslib.es6-1ac4ffe8.js → tslib.es6-a8899474.js} +0 -0
  516. /package/build/esm/{types-6790ba3a.js → types-54f52760.js} +0 -0
  517. /package/build/esm/{useIsInit-5732296a.js → useIsInit-65199c88.js} +0 -0
  518. /package/build/esm/{useOutsideClick-cbeba8ee.js → useOutsideClick-ab916fd7.js} +0 -0
  519. /package/build/esm/{useScrollbarSize-ac8256a4.js → useScrollbarSize-6c8a0342.js} +0 -0
  520. /package/build/esm/{useUniqueId-1ae14697.js → useUniqueId-f3f12863.js} +0 -0
  521. /package/build/esm/{utils-45fdcf7b.js → utils-bc4ce115.js} +0 -0
  522. /package/build/{index-80b90ecc.js → index-1bf23cbd.js} +0 -0
  523. /package/build/{index-315d9154.js → index-21ca1caf.js} +0 -0
  524. /package/build/{index-bbaaa76f.js → index-2e07a2d4.js} +0 -0
  525. /package/build/{index-1d17957f.js → index-36eaf39f.js} +0 -0
  526. /package/build/{index-be7ea2d7.js → index-501d871a.js} +0 -0
  527. /package/build/{index-5ba31c22.js → index-5dbab2ac.js} +0 -0
  528. /package/build/{index-a194922e.js → index-79f3a881.js} +0 -0
  529. /package/build/{index-022ab6d3.js → index-88fdd18c.js} +0 -0
  530. /package/build/{index-2201ea63.js → index-c67997e3.js} +0 -0
  531. /package/build/{localizeNumberFormat-7d547f95.js → localizeNumberFormat-e3fbff3c.js} +0 -0
  532. /package/build/{normalizeLink-1d312a04.js → normalizeLink-6b538145.js} +0 -0
  533. /package/build/{other-f35b1b1a.js → other-c659c2a9.js} +0 -0
  534. /package/build/{paths-a0e2dcbf.js → paths-181d46e2.js} +0 -0
  535. /package/build/{translationsContext-d89d941c.js → translationsContext-f85183a8.js} +0 -0
  536. /package/build/{tslib.es6-9e523431.js → tslib.es6-a80079d2.js} +0 -0
  537. /package/build/{types-908ee804.js → types-ca3505ea.js} +0 -0
  538. /package/build/{useIsInit-1fbe61dd.js → useIsInit-f20269ea.js} +0 -0
  539. /package/build/{useOutsideClick-42a8525c.js → useOutsideClick-32d65391.js} +0 -0
  540. /package/build/{useScrollbarSize-5d9399f0.js → useScrollbarSize-8efcf2fd.js} +0 -0
  541. /package/build/{useUniqueId-12b2db9f.js → useUniqueId-b4cc4b18.js} +0 -0
  542. /package/build/{utils-d865acbe.js → utils-8980d405.js} +0 -0
@@ -1,59 +1,57 @@
1
- import { a as __awaiter, _ as __rest } from './tslib.es6-1ac4ffe8.js';
1
+ import { a as __awaiter, _ as __rest } from './tslib.es6-a8899474.js';
2
2
  import React__default, { useContext, useState, useEffect, useMemo } from 'react';
3
- import { B as Button } from './index-59e6c9c3.js';
4
- import { H as Heading } from './index-43894578.js';
5
- import { u as useTranslations } from './index-c244d627.js';
3
+ import { B as Button } from './index-f993926f.js';
4
+ import { H as Heading } from './index-55d2ff10.js';
5
+ import { u as useTranslations } from './index-8ca04504.js';
6
6
  import innertext from 'innertext';
7
- import { S as SharePopup, P as PopupDanger, i as deletePost, j as IconAlertCircle, b as SubmitReportForm, k as deleteComment, l as decodeCommentBody, m as likeUnlikeComment, I as InputCommentBar, c as SocialLinkPreview, n as likeUnlikePost, g as getDefaultFailNoti } from './index-d7c755b0.js';
8
- import { C as CommonGAssets } from './index-f2dcdbdd.js';
9
- import { R as REPORT_REASON_MAP, D as DEFAULT_IMG } from './constants-63e3976e.js';
10
- import { PATHS, DISCOVER_PATHS, CARE_PATHS } from './togetherApiPaths.js';
11
- import { T as TogetherComponentGlobalContext, b as callApiWithAuth, d as getApiPath, c as callApi, p as getMarryBabyApiPath, o as getDiscoverApiPath, g as getCarePath, k as getCurrentBaseUrl$1, q as callApiWithOptionalAuth, l as domainLocales$1 } from './utils-a30adc88.js';
7
+ import { S as SharePopup, P as PopupDanger, i as deletePost, j as IconAlertCircle, b as SubmitReportForm, k as deleteComment, l as decodeCommentBody, m as likeUnlikeComment, I as InputCommentBar, c as SocialLinkPreview, n as likeUnlikePost, g as getDefaultFailNoti } from './index-a60a7164.js';
8
+ import { C as CommonGAssets } from './index-1127f8ba.js';
9
+ import { R as REPORT_REASON_MAP, D as DEFAULT_IMG } from './constants-5d7dd1df.js';
12
10
  import { useTogetherAuthRequiredAction, TogetherAuthConfigContextProvider } from './useTogetherAuthRequiredAction.js';
13
- import { b as TreePopoverMenu, C as CardReactions, c as CardReactionType, a as LabelPin, T as TagTopic } from './treePopoverMenu-f50ac599.js';
11
+ import { T as TogetherComponentGlobalContext, c as callApi, q as getMarryBabyApiPath, o as getDiscoverApiPath, g as getCarePath, k as getCurrentBaseUrl$1, b as callApiWithAuth, d as getApiPath, r as callApiWithOptionalAuth, l as domainLocales$1 } from './utils-d7a79b14.js';
12
+ import { b as TreePopoverMenu, C as CardReactions, c as CardReactionType, a as LabelPin, T as TagTopic } from './treePopoverMenu-55dd0cf6.js';
14
13
  import styled from '@emotion/styled';
15
- import { M as MediaQueries } from './utils-45fdcf7b.js';
14
+ import { M as MediaQueries } from './utils-bc4ce115.js';
16
15
  import { theme } from './miscTheme.js';
17
- import { g as formatArticle, h as formatCategory, e as formatComment } from './dataTransform-9db75e68.js';
18
- import { C as CardLink } from './index-520d2095.js';
19
- import { C as CardAuthor, L as Loading, c as ProfileDetailModal } from './index-01a221d1.js';
20
- import { a as ProfileDetail, P as PostContent } from './index-e7672482.js';
21
- import { a as PostImagePreview } from './index-52d845a4.js';
22
- import { D as Divider } from './index-e15f4ebc.js';
23
- import './index-c673db76.js';
16
+ import { g as formatArticle, h as formatCategory, e as formatComment } from './dataTransform-04bb1b6b.js';
17
+ import { DISCOVER_PATHS, CARE_PATHS, PATHS } from './togetherApiPaths.js';
18
+ import { C as CardLink } from './index-f7477ebe.js';
19
+ import { C as CardAuthor, L as Loading, c as ProfileDetailModal } from './index-1279323a.js';
20
+ import { a as ProfileDetail, P as PostContent } from './index-233a4b0d.js';
21
+ import { a as PostImagePreview } from './index-b6896227.js';
22
+ import { D as Divider } from './index-935a1f87.js';
23
+ import './index-057f2d1e.js';
24
24
  import { Plus } from '@hhgtech/icons/core';
25
25
  import { ArrowRight, ArrowDown, Trash, Endorse } from '@hhgtech/icons/other';
26
26
  import { Accordion } from '@mantine/core';
27
- import { I as Input } from './index-64ceb47f.js';
28
- import { T as Text } from './index-1898da73.js';
29
- import { g as getCurrentBaseUrl } from './normalizeLink-4b5bf175.js';
27
+ import { I as Input } from './index-d63e0760.js';
28
+ import { T as Text } from './index-6d78a8a7.js';
29
+ import { g as getCurrentBaseUrl } from './normalizeLink-5aca6bda.js';
30
30
  import { domainLocales } from './constantsDomainLocales.js';
31
31
 
32
- var img$8 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3cpath fill='%233E3F58' d='M5 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2M19 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2'/%3e%3c/svg%3e";
33
- var MBMoreSolid = img$8;
32
+ var img$7 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3cpath fill='%233E3F58' d='M5 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2M19 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2'/%3e%3c/svg%3e";
33
+ var MBMoreSolid = img$7;
34
34
 
35
- var img$7 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23595959'%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M12 13.333 8 10.37l-4 2.963V3.852c0-.314.12-.616.335-.838.214-.222.505-.347.808-.347h5.714c.303 0 .594.125.808.347s.335.524.335.838z'/%3e%3c/svg%3e";
36
- var IconBookmarkFill = img$7;
35
+ var img$6 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='3' height='13' fill='none'%3e%3ccircle cx='1.583' cy='6.417' r='1.25' fill='%23595959' transform='rotate(90 1.583 6.417)'/%3e%3ccircle cx='1.583' cy='1.417' r='1.25' fill='%23595959' transform='rotate(90 1.583 1.417)'/%3e%3ccircle cx='1.583' cy='11.417' r='1.25' fill='%23595959' transform='rotate(90 1.583 11.417)'/%3e%3c/svg%3e";
36
+ var IconKebab = img$6;
37
37
 
38
- var img$6 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M12 13.333 8 10.37l-4 2.963V3.852c0-.314.12-.616.335-.838.214-.222.505-.347.808-.347h5.714c.303 0 .594.125.808.347s.335.524.335.838z'/%3e%3c/svg%3e";
39
- var IconBookmark = img$6;
38
+ var img$5 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M7.17 3.236H2.995a1.193 1.193 0 0 0-1.193 1.192v8.35a1.193 1.193 0 0 0 1.193 1.192h8.35a1.193 1.193 0 0 0 1.192-1.192V8.603'/%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M11.643 2.341a1.265 1.265 0 0 1 1.789 1.79L7.766 9.795l-2.385.596.596-2.385z'/%3e%3c/svg%3e";
39
+ var IconTabEdit = img$5;
40
40
 
41
- var img$5 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='3' height='13' fill='none'%3e%3ccircle cx='1.583' cy='6.417' r='1.25' fill='%23595959' transform='rotate(90 1.583 6.417)'/%3e%3ccircle cx='1.583' cy='1.417' r='1.25' fill='%23595959' transform='rotate(90 1.583 1.417)'/%3e%3ccircle cx='1.583' cy='11.417' r='1.25' fill='%23595959' transform='rotate(90 1.583 11.417)'/%3e%3c/svg%3e";
42
- var IconKebab = img$5;
43
-
44
- var img$4 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M12 5.333a2 2 0 1 0 0-4 2 2 0 0 0 0 4M4 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4M12 14.667a2 2 0 1 0 0-4 2 2 0 0 0 0 4M5.727 9.007l4.553 2.653M10.273 4.34 5.727 6.993'/%3e%3c/svg%3e";
45
- var IconShareOnMedia = img$4;
46
-
47
- var img$3 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M7.17 3.236H2.995a1.193 1.193 0 0 0-1.193 1.192v8.35a1.193 1.193 0 0 0 1.193 1.192h8.35a1.193 1.193 0 0 0 1.192-1.192V8.603'/%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M11.643 2.341a1.265 1.265 0 0 1 1.789 1.79L7.766 9.795l-2.385.596.596-2.385z'/%3e%3c/svg%3e";
48
- var IconTabEdit = img$3;
49
-
50
- var img$2 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23737373' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='M2 4h12'/%3e%3cpath stroke='%23737373' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M5.333 4V2.667a1.333 1.333 0 0 1 1.334-1.334h2.666a1.334 1.334 0 0 1 1.334 1.334V4m2 0v9.333a1.334 1.334 0 0 1-1.334 1.334H4.667a1.334 1.334 0 0 1-1.334-1.334V4zM6.667 7.333v4M9.333 7.333v4'/%3e%3c/svg%3e";
51
- var IconTrashBin = img$2;
41
+ var img$4 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23737373' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='M2 4h12'/%3e%3cpath stroke='%23737373' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M5.333 4V2.667a1.333 1.333 0 0 1 1.334-1.334h2.666a1.334 1.334 0 0 1 1.334 1.334V4m2 0v9.333a1.334 1.334 0 0 1-1.334 1.334H4.667a1.334 1.334 0 0 1-1.334-1.334V4zM6.667 7.333v4M9.333 7.333v4'/%3e%3c/svg%3e";
42
+ var IconTrashBin = img$4;
52
43
 
53
44
  // import IconBellOff from '../../../assets/svg/icon-bell-off.svg'
54
45
  // import IconBellOn from '../../../assets/svg/icon-bell-on.svg'
55
- const CardPostPopoverMore = ({ authorEmail, onDeletePost, shareUrl, post, className = '', popoverClassName = '', onBookmark, onRemoveBookmark, onEditPost, }) => {
56
- const { data: { locale, userInfo, togetherUserId, env: { isMarryBaby }, }, action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
46
+ const CardPostPopoverMore = ({ authorEmail, onDeletePost, shareUrl, post, className = '', popoverClassName = '',
47
+ // onBookmark,
48
+ // onRemoveBookmark,
49
+ onEditPost, }) => {
50
+ const { data: { locale, userInfo,
51
+ // togetherUserId,
52
+ env: { isMarryBaby }, },
53
+ // action: { pushNotifications },
54
+ } = useContext(TogetherComponentGlobalContext);
57
55
  const { t } = useTranslations();
58
56
  // const [localHasNoti, setLocalHasNoti] = useState(false)
59
57
  const [loading, setLoading] = useState(false);
@@ -88,11 +86,11 @@ const CardPostPopoverMore = ({ authorEmail, onDeletePost, shareUrl, post, classN
88
86
  isShowheader: false,
89
87
  type: 'list',
90
88
  list: [
91
- {
92
- icon: IconShareOnMedia,
93
- label: t('morePopover.share'),
94
- onClick: () => setIsOpenSharePopup(true),
95
- },
89
+ // {
90
+ // icon: IconShareOnMedia,
91
+ // label: t('morePopover.share'),
92
+ // onClick: () => setIsOpenSharePopup(true),
93
+ // },
96
94
  {
97
95
  icon: IconTabEdit,
98
96
  label: t('actionPopover.edit'),
@@ -111,76 +109,80 @@ const CardPostPopoverMore = ({ authorEmail, onDeletePost, shareUrl, post, classN
111
109
  isShowheader: false,
112
110
  type: 'list',
113
111
  list: [
114
- {
115
- icon: IconShareOnMedia,
116
- label: t('morePopover.share'),
117
- onClick: () => setIsOpenSharePopup(true),
118
- },
119
- {
120
- icon: !!(post === null || post === void 0 ? void 0 : post.bookmarked) ? IconBookmarkFill : IconBookmark,
121
- label: !!(post === null || post === void 0 ? void 0 : post.bookmarked)
122
- ? t('morePopover.unsavePost')
123
- : t('morePopover.savePost'),
124
- onClick: () => {
125
- authActionWrapper(() => __awaiter(void 0, void 0, void 0, function* () {
126
- if (!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) || !(post === null || post === void 0 ? void 0 : post.id))
127
- return;
128
- if (post === null || post === void 0 ? void 0 : post.bookmarked) {
129
- const res = yield callApiWithAuth(getApiPath(PATHS.BOOKMARK.DELETE, {
130
- _locale: locale,
131
- }), 'DELETE', {
132
- data: {
133
- post_id: String(post.id),
134
- },
135
- });
136
- if ((res === null || res === void 0 ? void 0 : res.status) === 1) {
137
- pushNotifications({
138
- title: '',
139
- message: 'Removed saved post',
140
- type: 'success',
141
- displayIcon: IconBookmark,
142
- });
143
- onRemoveBookmark && onRemoveBookmark();
144
- }
145
- else {
146
- pushNotifications({
147
- title: '',
148
- message: 'Remove failed',
149
- type: 'danger',
150
- displayIcon: IconBookmark,
151
- });
152
- }
153
- }
154
- else {
155
- const res = yield callApiWithAuth(getApiPath(PATHS.BOOKMARK.CREATE, {
156
- _locale: locale,
157
- }), 'POST', {
158
- data: {
159
- user_id: togetherUserId || userInfo.id,
160
- post_id: post.id,
161
- },
162
- });
163
- if ((res === null || res === void 0 ? void 0 : res.status) === 1) {
164
- pushNotifications({
165
- title: '',
166
- message: 'Post saved',
167
- type: 'success',
168
- displayIcon: IconBookmarkFill,
169
- });
170
- onBookmark && onBookmark();
171
- }
172
- else {
173
- pushNotifications({
174
- title: '',
175
- message: 'Post saved failed',
176
- type: 'danger',
177
- displayIcon: IconBookmark,
178
- });
179
- }
180
- }
181
- }));
182
- },
183
- },
112
+ // {
113
+ // icon: IconShareOnMedia,
114
+ // label: t('morePopover.share'),
115
+ // onClick: () => setIsOpenSharePopup(true),
116
+ // },
117
+ // {
118
+ // icon: !!post?.bookmarked ? IconBookmarkFill : IconBookmark,
119
+ // label: !!post?.bookmarked
120
+ // ? t('morePopover.unsavePost')
121
+ // : t('morePopover.savePost'),
122
+ // onClick: () => {
123
+ // authActionWrapper(async () => {
124
+ // if (!userInfo?.id || !post?.id) return
125
+ // if (post?.bookmarked) {
126
+ // const res = await callApiWithAuth(
127
+ // getApiPath(PATHS.BOOKMARK.DELETE, {
128
+ // _locale: locale,
129
+ // }),
130
+ // 'DELETE',
131
+ // {
132
+ // data: {
133
+ // post_id: String(post.id),
134
+ // },
135
+ // },
136
+ // )
137
+ // if (res?.status === 1) {
138
+ // pushNotifications({
139
+ // title: '',
140
+ // message: 'Removed saved post',
141
+ // type: 'success',
142
+ // displayIcon: IconBookmark,
143
+ // })
144
+ // onRemoveBookmark && onRemoveBookmark()
145
+ // } else {
146
+ // pushNotifications({
147
+ // title: '',
148
+ // message: 'Remove failed',
149
+ // type: 'danger',
150
+ // displayIcon: IconBookmark,
151
+ // })
152
+ // }
153
+ // } else {
154
+ // const res = await callApiWithAuth(
155
+ // getApiPath(PATHS.BOOKMARK.CREATE, {
156
+ // _locale: locale,
157
+ // }),
158
+ // 'POST',
159
+ // {
160
+ // data: {
161
+ // user_id: togetherUserId || userInfo.id,
162
+ // post_id: post.id,
163
+ // },
164
+ // },
165
+ // )
166
+ // if (res?.status === 1) {
167
+ // pushNotifications({
168
+ // title: '',
169
+ // message: 'Post saved',
170
+ // type: 'success',
171
+ // displayIcon: IconBookmarkFill,
172
+ // })
173
+ // onBookmark && onBookmark()
174
+ // } else {
175
+ // pushNotifications({
176
+ // title: '',
177
+ // message: 'Post saved failed',
178
+ // type: 'danger',
179
+ // displayIcon: IconBookmark,
180
+ // })
181
+ // }
182
+ // }
183
+ // })
184
+ // },
185
+ // },
184
186
  // {
185
187
  // icon: togetherBasePath + '/svg/icon-bell-on.svg',
186
188
  // label: !localHasNoti
@@ -417,6 +419,12 @@ const StyledCardPost$1 = styled.div `
417
419
  }
418
420
  `;
419
421
 
422
+ var img$3 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23595959'%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M12 13.333 8 10.37l-4 2.963V3.852c0-.314.12-.616.335-.838.214-.222.505-.347.808-.347h5.714c.303 0 .594.125.808.347s.335.524.335.838z'/%3e%3c/svg%3e";
423
+ var IconBookmarkFill = img$3;
424
+
425
+ var img$2 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' d='M12 13.333 8 10.37l-4 2.963V3.852c0-.314.12-.616.335-.838.214-.222.505-.347.808-.347h5.714c.303 0 .594.125.808.347s.335.524.335.838z'/%3e%3c/svg%3e";
426
+ var IconBookmark = img$2;
427
+
420
428
  var img$1 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' fill='none'%3e%3cg stroke='%23737373' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' clip-path='url(%23a)'%3e%3cpath d='M2 4.008h12m-8.667 0V2.675a1.333 1.333 0 0 1 1.334-1.333h2.666a1.333 1.333 0 0 1 1.334 1.333v1.333m2 0v9.334a1.333 1.333 0 0 1-1.334 1.333H4.667a1.333 1.333 0 0 1-1.334-1.333V4.008zm-6 3.334v4m2.666-4v4'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='a'%3e%3cpath fill='white' d='M0 .008h16v16H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
421
429
  var IconDelete = img$1;
422
430
 
@@ -1184,12 +1192,13 @@ const getMostEngagingComment = (postId, locale) => __awaiter(void 0, void 0, voi
1184
1192
  }), 'GET');
1185
1193
  return (_c = (_b = (_a = commentsRes === null || commentsRes === void 0 ? void 0 : commentsRes.data) === null || _a === void 0 ? void 0 : _a.comments) === null || _b === void 0 ? void 0 : _b.map(formatComment)) === null || _c === void 0 ? void 0 : _c[0];
1186
1194
  });
1187
- const CardPost = ({ className, style, hideViewMoreComment, showMostEngaging, onCommentClick, onCommentCountClick, onMostEngagingCommentClick, onPostCommentSuccess: onPostCommentSuccessProp, disableCardLink, disableShortenContent, onDeletePost, onEditPost, post: postProp, mostEngagingComment: mostEngagingCommentProp, onDeleteComment: onDeleteCommentProp, showInputComment: propsShowInputComment, InlineCommentsComponent, hasQuickBookingEnable, handleMakeAppointment, cardAuthorProps, }) => {
1195
+ const CardPost = ({ className, style, hideViewMoreComment, showMostEngaging, onCommentClick, onCommentCountClick, onMostEngagingCommentClick, onPostCommentSuccess: onPostCommentSuccessProp, disableCardLink, disableShortenContent, onDeletePost, onEditPost, post: postProp, mostEngagingComment: mostEngagingCommentProp, onDeleteComment: onDeleteCommentProp, showInputComment: propsShowInputComment, InlineCommentsComponent, hasQuickBookingEnable, handleMakeAppointment, cardAuthorProps, verticalReactions = false, }) => {
1188
1196
  const [post, setPost] = useState(postProp);
1189
1197
  const [isOpenSharePopup, setIsOpenSharePopup] = useState(false);
1190
1198
  const [mostEngagingComment, setMostEngagingComment] = useState(mostEngagingCommentProp);
1191
1199
  const { community, topics, author, slug, isPin, liked, photos, mentions, title, description, previewUrl, likesCount, commentsCount, id, commented, } = post;
1192
- const { data: { locale, env: { isMarryBaby, togetherBasePath }, }, action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
1200
+ const { data: { locale, togetherUserId, userInfo, env: { isMarryBaby, togetherBasePath }, }, action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
1201
+ const isLoggedIn = Boolean(userInfo === null || userInfo === void 0 ? void 0 : userInfo.id);
1193
1202
  const { t } = useTranslations();
1194
1203
  const [showInputComment, setShowInputComment] = useState(propsShowInputComment);
1195
1204
  const postRelativeHref = `${togetherBasePath}/${(community === null || community === void 0 ? void 0 : community.slug) || '_'}/${slug || ''}`;
@@ -1300,7 +1309,7 @@ const CardPost = ({ className, style, hideViewMoreComment, showMostEngaging, onC
1300
1309
  React__default.createElement(PostImagePreview, { images: photos, authorName: author === null || author === void 0 ? void 0 : author.name }))) : null),
1301
1310
  React__default.createElement("div", { key: "link-preview" }, !(post === null || post === void 0 ? void 0 : post.introUrl) && !(photos === null || photos === void 0 ? void 0 : photos.length) && (previewUrl === null || previewUrl === void 0 ? void 0 : previewUrl.url) ? (React__default.createElement("div", { className: "link-preview-wrapper" },
1302
1311
  React__default.createElement(CardLink, { title: previewUrl.title, url: previewUrl.url, image: previewUrl.image }))) : null),
1303
- React__default.createElement(CardReactions, { isMarryBaby: isMarryBaby, type: CardReactionType.post, loveCount: likesCount, replyCount: commentsCount, className: `post-reaction ${(photos === null || photos === void 0 ? void 0 : photos.length) || (previewUrl === null || previewUrl === void 0 ? void 0 : previewUrl.url) ? 'hide-top-border' : ''}`, liked: isLikeLoading ? !liked : liked, isReplied: commented, onCommentClick: () => authActionWrapper(() => {
1312
+ React__default.createElement(CardReactions, { isMarryBaby: isMarryBaby, type: CardReactionType.post, loveCount: likesCount, replyCount: commentsCount, className: `post-reaction ${(photos === null || photos === void 0 ? void 0 : photos.length) || (previewUrl === null || previewUrl === void 0 ? void 0 : previewUrl.url) ? 'hide-top-border' : ''}`, liked: isLikeLoading ? !liked : liked, isReplied: commented, isSaved: (post === null || post === void 0 ? void 0 : post.bookmarked) || false, onCommentClick: () => authActionWrapper(() => {
1304
1313
  onCommentClick ? onCommentClick() : setShowInputComment((v) => !v);
1305
1314
  }), onCommentCountClick: () => {
1306
1315
  authActionWrapper(() => {
@@ -1313,26 +1322,98 @@ const CardPost = ({ className, style, hideViewMoreComment, showMostEngaging, onC
1313
1322
  }, onShareClick: () => {
1314
1323
  setIsOpenSharePopup(true);
1315
1324
  }, onLikeClick: () => __awaiter(void 0, void 0, void 0, function* () {
1316
- if (!id || isLikeLoading)
1317
- return;
1318
- setIsLikeLoading(true);
1319
- try {
1320
- const res = yield likeUnlikePost({
1321
- id,
1322
- locale,
1323
- });
1324
- if ((res === null || res === void 0 ? void 0 : res.status) !== 1) {
1325
+ authActionWrapper(() => __awaiter(void 0, void 0, void 0, function* () {
1326
+ if (!id || isLikeLoading)
1327
+ return;
1328
+ setIsLikeLoading(true);
1329
+ try {
1330
+ const res = yield likeUnlikePost({
1331
+ id,
1332
+ locale,
1333
+ });
1334
+ if ((res === null || res === void 0 ? void 0 : res.status) !== 1) {
1335
+ pushNotifications(getDefaultFailNoti(t));
1336
+ }
1337
+ else {
1338
+ setPost((p) => (Object.assign(Object.assign({}, p), { likesCount: (p.likesCount || 0) + (!p.liked ? 1 : -1), liked: !p.liked })));
1339
+ }
1340
+ }
1341
+ catch (_a) {
1325
1342
  pushNotifications(getDefaultFailNoti(t));
1326
1343
  }
1344
+ setIsLikeLoading(false);
1345
+ }));
1346
+ }), onSaveClick: () => {
1347
+ authActionWrapper(() => __awaiter(void 0, void 0, void 0, function* () {
1348
+ if (!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) || !(post === null || post === void 0 ? void 0 : post.id))
1349
+ return;
1350
+ if (post === null || post === void 0 ? void 0 : post.bookmarked) {
1351
+ const res = yield callApiWithAuth(getApiPath(PATHS.BOOKMARK.DELETE, {
1352
+ _locale: locale,
1353
+ }), 'DELETE', {
1354
+ headers: {
1355
+ 'Content-Type': 'application/json',
1356
+ },
1357
+ data: {
1358
+ post_id: String(post.id),
1359
+ },
1360
+ });
1361
+ if ((res === null || res === void 0 ? void 0 : res.status) === 1) {
1362
+ pushNotifications({
1363
+ title: '',
1364
+ message: 'Removed saved post',
1365
+ type: 'success',
1366
+ displayIcon: IconBookmark,
1367
+ });
1368
+ }
1369
+ else {
1370
+ pushNotifications({
1371
+ title: '',
1372
+ message: 'Remove failed',
1373
+ type: 'danger',
1374
+ displayIcon: IconBookmark,
1375
+ });
1376
+ }
1377
+ }
1327
1378
  else {
1328
- setPost((p) => (Object.assign(Object.assign({}, p), { likesCount: (p.likesCount || 0) + (!p.liked ? 1 : -1), liked: !p.liked })));
1379
+ const res = yield callApiWithAuth(getApiPath(PATHS.BOOKMARK.CREATE, {
1380
+ _locale: locale,
1381
+ }), 'POST', {
1382
+ headers: {
1383
+ 'Content-Type': 'application/json',
1384
+ },
1385
+ data: {
1386
+ user_id: togetherUserId || userInfo.id,
1387
+ post_id: post.id,
1388
+ },
1389
+ });
1390
+ if ((res === null || res === void 0 ? void 0 : res.status) === 1) {
1391
+ pushNotifications({
1392
+ title: '',
1393
+ message: 'Post saved',
1394
+ type: 'success',
1395
+ displayIcon: IconBookmarkFill,
1396
+ });
1397
+ }
1398
+ else {
1399
+ pushNotifications({
1400
+ title: '',
1401
+ message: 'Post saved failed',
1402
+ type: 'danger',
1403
+ displayIcon: IconBookmark,
1404
+ });
1405
+ }
1329
1406
  }
1407
+ }));
1408
+ }, onGoToUrl: (params) => {
1409
+ const urlDetailPost = params ? `${postHref}${params}` : postHref;
1410
+ if (!isLoggedIn) {
1411
+ authActionWrapper(() => (window.location.href = urlDetailPost));
1330
1412
  }
1331
- catch (_a) {
1332
- pushNotifications(getDefaultFailNoti(t));
1413
+ else {
1414
+ window.location.href = urlDetailPost;
1333
1415
  }
1334
- setIsLikeLoading(false);
1335
- }), showingMostEngaging: !!(showMostEngaging && (mostEngagingComment === null || mostEngagingComment === void 0 ? void 0 : mostEngagingComment.id)) }),
1416
+ }, showingMostEngaging: !!(showMostEngaging && (mostEngagingComment === null || mostEngagingComment === void 0 ? void 0 : mostEngagingComment.id)), isVertical: verticalReactions }),
1336
1417
  showInputComment && (React__default.createElement(InputCommentBar, { isMainCmt: !propsShowInputComment, onClose: () => setShowInputComment(false), onPostSuccess: onPostCommentSuccess, post: post })),
1337
1418
  showMostEngaging && (mostEngagingComment === null || mostEngagingComment === void 0 ? void 0 : mostEngagingComment.id) ? (React__default.createElement("div", { className: "most-engaging-wrapper", onClick: (e) => {
1338
1419
  if (onMostEngagingCommentClick) {
@@ -1,11 +1,11 @@
1
1
  import React__default, { useRef, useEffect } from 'react';
2
2
  import { Portal } from '@mantine/core';
3
- import { t as toggleNoScroll } from './utils-45fdcf7b.js';
3
+ import { t as toggleNoScroll } from './utils-bc4ce115.js';
4
4
  import { css } from '@emotion/react';
5
5
  import styled from '@emotion/styled';
6
6
  import { theme } from './miscTheme.js';
7
- import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-26ededa5.js';
8
- import { T as Text } from './index-1898da73.js';
7
+ import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-b5fb6e1a.js';
8
+ import { T as Text } from './index-6d78a8a7.js';
9
9
 
10
10
  const DURATION = '600ms';
11
11
  const generateStyleBasedOnPlacement = (placement, open) => {
@@ -1,8 +1,8 @@
1
1
  import React__default, { useState } from 'react';
2
2
  import { theme } from './miscTheme.js';
3
3
  import styled from '@emotion/styled';
4
- import { M as MarryBabyText } from './index-1b795ea9.js';
5
- import { T as Text } from './index-e9050315.js';
4
+ import { M as MarryBabyText } from './index-7e8aa571.js';
5
+ import { T as Text } from './index-14226fb8.js';
6
6
 
7
7
  const StyledRadioImageGroup = styled.div `
8
8
  display: flex;
@@ -1,13 +1,13 @@
1
- import { _ as __rest } from './tslib.es6-1ac4ffe8.js';
1
+ import { _ as __rest } from './tslib.es6-a8899474.js';
2
2
  import React__default, { useMemo, useState, useEffect } from 'react';
3
- import './index-d5632995.js';
3
+ import './index-afea9eed.js';
4
4
  import styled from '@emotion/styled';
5
- import { C as CommonGAssets } from './index-f2dcdbdd.js';
5
+ import { C as CommonGAssets } from './index-1127f8ba.js';
6
6
  import { theme } from './miscTheme.js';
7
- import { I as ImageWrap } from './index-e09202bf.js';
8
- import { T as Text } from './index-e9050315.js';
9
- import { L as LOCALE } from './Locale-ca77b0a8.js';
10
- import { c as CentralCarousel } from './index-de634c83.js';
7
+ import { I as ImageWrap } from './useScreenSize-72a6e414.js';
8
+ import { T as Text } from './index-14226fb8.js';
9
+ import { L as LOCALE } from './Locale-e3bf3674.js';
10
+ import { c as CentralCarousel } from './index-a595566d.js';
11
11
 
12
12
  const StyledIconContainer = styled.div `
13
13
  display: inline-flex;
@@ -1,5 +1,5 @@
1
1
  import React__default, { useState, useEffect } from 'react';
2
- import { B as Button } from './index-1238c5b2.js';
2
+ import { B as Button } from './index-0756189f.js';
3
3
  import styled from '@emotion/styled';
4
4
 
5
5
  const StyledContainer = styled.div `
@@ -1,12 +1,12 @@
1
- import { a as __awaiter } from './tslib.es6-1ac4ffe8.js';
1
+ import { a as __awaiter } from './tslib.es6-a8899474.js';
2
2
  import React__default, { useContext, useState, useRef, useEffect } from 'react';
3
3
  import { useMantineTheme } from '@mantine/core';
4
- import { H as Heading } from './index-43894578.js';
5
- import { T as Text } from './index-1898da73.js';
6
- import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-a30adc88.js';
4
+ import { H as Heading } from './index-55d2ff10.js';
5
+ import { T as Text } from './index-6d78a8a7.js';
6
+ import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-d7a79b14.js';
7
7
  import styled from '@emotion/styled';
8
8
  import { PATHS } from './togetherApiPaths.js';
9
- import { D as DEFAULT_IMG } from './constants-63e3976e.js';
9
+ import { D as DEFAULT_IMG } from './constants-5d7dd1df.js';
10
10
 
11
11
  const StyledCardLink = styled.div `
12
12
  .link-info-container {
@@ -1,6 +1,6 @@
1
- import { _ as __rest } from './tslib.es6-1ac4ffe8.js';
1
+ import { _ as __rest } from './tslib.es6-a8899474.js';
2
2
  import React__default from 'react';
3
- import { B as Button$1 } from './index-1238c5b2.js';
3
+ import { B as Button$1 } from './index-0756189f.js';
4
4
 
5
5
  /**
6
6
  * @deprecated Consider to use at '@hhgtech/hhg-components/mantine'