@hhgtech/hhg-components 1.29.341-beta-2 → 1.29.341-beta-4

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 (551) hide show
  1. package/build/{LastPeriod-9eefea2a.js → LastPeriod-4df2c8b1.js} +1 -1
  2. package/build/{MobileBottomNavigationIcon-a0ffcd8e.js → MobileBottomNavigationIcon-791dc985.js} +3 -3
  3. package/build/{Spinner-d6bb966b.js → Spinner-cd86fb09.js} +1 -1
  4. package/build/{WhatsApp-b529958a.js → WhatsApp-4b7edd41.js} +1 -1
  5. package/build/adapters.js +19 -19
  6. package/build/atoms.js +46 -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/adapters/button/index.d.ts +1 -3
  13. package/build/components/atoms/index.d.ts +0 -1
  14. package/build/components.js +131 -134
  15. package/build/{constants-7af1ad00.js → constants-b131fbd8.js} +1 -1
  16. package/build/constants.js +3 -3
  17. package/build/constantsDomainLocales.js +1 -1
  18. package/build/constantsRiskScreener.js +2 -2
  19. package/build/constantsSite.js +2 -2
  20. package/build/{core-1d83981c.js → core-9a347a8e.js} +1 -1
  21. package/build/{dataTransform-6b597ed3.js → dataTransform-a15b85e7.js} +2 -1
  22. package/build/ecom.js +4 -4
  23. package/build/{editor-35d94fad.js → editor-ca130e52.js} +11 -11
  24. package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
  25. package/build/embeddedHeathToolCards_babyPoop.js +19 -19
  26. package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
  27. package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
  28. package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
  29. package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  30. package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  31. package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
  32. package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
  33. package/build/esm/{LastPeriod-c74bdd8b.js → LastPeriod-eb2c8a58.js} +1 -1
  34. package/build/esm/{MobileBottomNavigationIcon-29e019c8.js → MobileBottomNavigationIcon-a324653a.js} +3 -3
  35. package/build/esm/{Spinner-3b1b67e0.js → Spinner-489c409d.js} +1 -1
  36. package/build/esm/{WhatsApp-a6e3103b.js → WhatsApp-314e285f.js} +1 -1
  37. package/build/esm/adapters.js +19 -19
  38. package/build/esm/atoms.js +46 -48
  39. package/build/esm/babyGrowth.js +83 -83
  40. package/build/esm/cache.js +2 -2
  41. package/build/esm/care.js +17 -17
  42. package/build/esm/careBookingSearchBar.js +14 -14
  43. package/build/esm/careBookingSearchBarV2.js +15 -15
  44. package/build/esm/components/adapters/button/index.d.ts +1 -3
  45. package/build/esm/components/atoms/index.d.ts +0 -1
  46. package/build/esm/components.js +90 -92
  47. package/build/esm/{constants-10fac832.js → constants-2d6d49ae.js} +1 -1
  48. package/build/esm/constants.js +3 -3
  49. package/build/esm/constantsDomainLocales.js +1 -1
  50. package/build/esm/constantsRiskScreener.js +2 -2
  51. package/build/esm/constantsSite.js +2 -2
  52. package/build/esm/{core-4e786b97.js → core-c1984e84.js} +1 -1
  53. package/build/esm/{dataTransform-5e753a25.js → dataTransform-a32da5ec.js} +2 -1
  54. package/build/esm/ecom.js +4 -4
  55. package/build/esm/{editor-208df683.js → editor-634c24d8.js} +11 -11
  56. package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
  57. package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
  58. package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
  59. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
  60. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
  61. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  62. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  63. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
  64. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
  65. package/build/esm/footer.js +21 -21
  66. package/build/esm/gAssets.js +2 -2
  67. package/build/esm/healthToolsCardWrapper.js +18 -18
  68. package/build/esm/healthToolsForm.js +33 -33
  69. package/build/esm/hooks/usePlacesAutocomplete.d.ts +0 -2
  70. package/build/esm/hooks.js +13 -13
  71. package/build/esm/i18n/translationKeys.d.ts +1 -1
  72. package/build/esm/i18n-values/en-PH.js +0 -5
  73. package/build/esm/i18n-values/hi-IN.js +0 -5
  74. package/build/esm/i18n-values/id-ID.js +0 -5
  75. package/build/esm/i18n-values/km-KH.js +0 -5
  76. package/build/esm/i18n-values/ms-MY.js +0 -5
  77. package/build/esm/i18n-values/my-MM.js +0 -5
  78. package/build/esm/i18n-values/th-TH.js +0 -5
  79. package/build/esm/i18n-values/tl-PH.js +0 -5
  80. package/build/esm/i18n-values/vi-VN.js +0 -5
  81. package/build/esm/i18n-values/vi-VN_MB.js +0 -5
  82. package/build/esm/i18n-values/zh-TW.js +0 -5
  83. package/build/esm/i18n.js +2 -2
  84. package/build/esm/i18nV2.js +2 -2
  85. package/build/esm/icons/index.d.ts +3 -5
  86. package/build/esm/{index-830617a3.js → index-0ad2837c.js} +16 -16
  87. package/build/esm/{index-8d1b0ad1.js → index-0d24d252.js} +2 -2
  88. package/build/esm/{index-19f88c7e.js → index-12832709.js} +2 -2
  89. package/build/esm/{index-6eed8b3d.js → index-1587e9a8.js} +3 -3
  90. package/build/esm/{index-7ecbd997.js → index-1b96e37c.js} +15 -15
  91. package/build/esm/{index-4e80521b.js → index-2343cb0b.js} +16 -16
  92. package/build/esm/{index-9b6f74f8.js → index-26676d6e.js} +1 -1
  93. package/build/esm/{index-c1d7b626.js → index-2a8da5b2.js} +1 -1
  94. package/build/esm/{index-ace93f70.js → index-2bea99aa.js} +18 -18
  95. package/build/esm/{index-74735e6d.js → index-2c47a78c.js} +2 -2
  96. package/build/esm/{index-2ed7ad8b.js → index-32988940.js} +2 -2
  97. package/build/esm/{index-eb498ba6.js → index-3522cfb9.js} +4 -4
  98. package/build/esm/{index-1b06e628.js → index-37a8a068.js} +2 -2
  99. package/build/esm/{index-763cdb62.js → index-4150228a.js} +1 -1
  100. package/build/esm/{index-97aab36e.js → index-453f193f.js} +21 -21
  101. package/build/esm/{index-6e01d926.js → index-4679b320.js} +13 -13
  102. package/build/esm/{index-e901f471.js → index-481ad938.js} +2 -2
  103. package/build/esm/{index-c141fd67.js → index-4b903423.js} +5 -5
  104. package/build/esm/{index-94d4a4e3.js → index-55c53a67.js} +2 -2
  105. package/build/esm/{index-1291feef.js → index-5adc925f.js} +21 -21
  106. package/build/esm/{index-e7e39350.js → index-61053ab7.js} +6 -6
  107. package/build/esm/{index-affbfb29.js → index-61b8f629.js} +13 -13
  108. package/build/esm/{index-807b078a.js → index-64e7e665.js} +1 -1
  109. package/build/esm/{index-d6fe7854.js → index-67803ccd.js} +7 -7
  110. package/build/esm/{index-b3c118a5.js → index-685228b7.js} +5 -5
  111. package/build/esm/{index-ebc5d978.js → index-75670317.js} +1 -1
  112. package/build/esm/{index-180d1faa.js → index-75bc5f47.js} +3 -3
  113. package/build/esm/{index-6eb890a9.js → index-78fc08fd.js} +6 -6
  114. package/build/esm/{index-6a731a36.js → index-7ade79a7.js} +16 -16
  115. package/build/esm/{index-946aa38b.js → index-85be1e4e.js} +3 -3
  116. package/build/esm/{index-8145fc1a.js → index-87c6b14e.js} +30 -30
  117. package/build/esm/{index-a45bba40.js → index-8b47416e.js} +2 -2
  118. package/build/esm/{index-24fa332c.js → index-8ca75b47.js} +18 -18
  119. package/build/esm/{index-982321d5.js → index-8cc0a55f.js} +6 -6
  120. package/build/esm/{index-572335b6.js → index-900fa51b.js} +10 -10
  121. package/build/esm/{index-0e75b7c4.js → index-90428778.js} +18 -18
  122. package/build/esm/{index-80c66805.js → index-90cac9e5.js} +14 -14
  123. package/build/esm/{index-d074bdba.js → index-929059cd.js} +2 -2
  124. package/build/esm/{index-eb1a6db2.js → index-9de7d709.js} +5 -5
  125. package/build/esm/{index-1d317a46.js → index-9fb8d0d3.js} +3 -3
  126. package/build/esm/{index-bb993df3.js → index-a2ec7027.js} +2 -2
  127. package/build/esm/{index-3c2d9188.js → index-a7e760ae.js} +17 -17
  128. package/build/esm/{index-f2c42d02.js → index-acfabf14.js} +3 -3
  129. package/build/esm/{index-ddbc04ab.js → index-ae8e25e7.js} +5 -17
  130. package/build/esm/{index-13ac8c47.js → index-b06d4aac.js} +1 -3
  131. package/build/esm/{index-00d2416f.js → index-b659beed.js} +6 -6
  132. package/build/esm/{index-246a053e.js → index-c2d7df1b.js} +1 -1
  133. package/build/esm/{index-1ec63921.js → index-c903debb.js} +2 -2
  134. package/build/esm/{index-865aa557.js → index-c9734a66.js} +116 -179
  135. package/build/esm/{index-c01d3a42.js → index-cc43fb31.js} +32 -32
  136. package/build/esm/{index-bbe976f0.js → index-cea02a07.js} +13 -13
  137. package/build/esm/{index-2ccbdd1f.js → index-d5a7776d.js} +2 -2
  138. package/build/esm/{index-3e9b48e7.js → index-dd87b4da.js} +17 -17
  139. package/build/esm/{index-8a2f5132.js → index-dee4461c.js} +24 -24
  140. package/build/esm/{index-7bb53d5b.js → index-e7ab7147.js} +16 -16
  141. package/build/esm/{index-f2502fa0.js → index-eabdeceb.js} +13 -13
  142. package/build/esm/{index-667c32a0.js → index-eee7f80e.js} +1 -1
  143. package/build/esm/{index-70b8d99b.js → index-f4c72268.js} +7 -7
  144. package/build/esm/{index-e061ea1b.js → index-f6e657f5.js} +24 -24
  145. package/build/esm/{index-61db2247.js → index-fb02c05f.js} +1 -1
  146. package/build/esm/{index-46fe3ecd.js → index-fb05ea22.js} +3 -3
  147. package/build/esm/{index-9899a453.js → index-fdb47cc4.js} +15 -15
  148. package/build/esm/index.css +1 -1
  149. package/build/esm/index.js +117 -146
  150. package/build/esm/interfaces/types/Subot.d.ts +0 -1
  151. package/build/esm/{labelSorting-8cac5f43.js → labelSorting-0babe708.js} +4 -4
  152. package/build/esm/lead/components/context.d.ts +0 -2
  153. package/build/esm/lead/components/index.d.ts +2 -4
  154. package/build/esm/lead/index.d.ts +1 -1
  155. package/build/esm/lead/layouts/lightbox/index.d.ts +2 -4
  156. package/build/esm/lead/newLeadPopup.d.ts +2 -4
  157. package/build/esm/lead.css +1 -1
  158. package/build/esm/lead.js +352 -822
  159. package/build/esm/{logoIcon-25fa5ebd.js → logoIcon-927917c4.js} +2 -2
  160. package/build/esm/mantine.js +25 -25
  161. package/build/esm/misc.js +16 -16
  162. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  163. package/build/esm/miscGetSocialList.js +8 -8
  164. package/build/esm/miscScreenSizeContext.js +1 -1
  165. package/build/esm/mobileBottomNavigation.js +5 -5
  166. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  167. package/build/esm/molecules.js +69 -69
  168. package/build/esm/moleculesArticleCard.js +6 -6
  169. package/build/esm/moleculesArticleCardV2.js +16 -16
  170. package/build/esm/navigation.js +40 -40
  171. package/build/esm/navigationLogoutPopup.js +9 -9
  172. package/build/esm/navigationProfileButton.js +23 -23
  173. package/build/esm/onboardingV2.js +29 -29
  174. package/build/esm/organisms.js +44 -44
  175. package/build/esm/{post-033bf211.js → post-b39031d2.js} +2 -2
  176. package/build/esm/profileNavigation.js +19 -19
  177. package/build/esm/progressBar.js +1 -1
  178. package/build/esm/pwg.js +22 -22
  179. package/build/esm/ssoV2.js +26 -26
  180. package/build/esm/{store-16e2912e.js → store-04270867.js} +4 -4
  181. package/build/esm/subot/utils/index.d.ts +0 -1
  182. package/build/esm/subot.js +45 -184
  183. package/build/esm/surveyOrPremiumBanner.js +31 -31
  184. package/build/esm/surveyQuestionCard.js +10 -10
  185. package/build/esm/{surveyThankyouCard-b01c7140.js → surveyThankyouCard-750453b4.js} +5 -5
  186. package/build/esm/together/components/molecules/createNewPostContentV2/createPostCommunity/commonCommunity/index.d.ts +3 -3
  187. package/build/esm/together/components/molecules/createNewPostContentV2/createPostCommunity/index.d.ts +5 -5
  188. package/build/esm/together/components/molecules/createNewPostContentV2/createPostCommunity/suggestedCommunity/index.d.ts +2 -2
  189. package/build/esm/together/components/molecules/createNewPostContentV2/index.d.ts +3 -2
  190. package/build/esm/together/components/molecules/createNewPostContentV2/topicSelectList/index.d.ts +3 -8
  191. package/build/esm/together/interfaces/types.d.ts +2 -5
  192. package/build/esm/together.js +53 -53
  193. package/build/esm/togetherApiUtils.js +4 -4
  194. package/build/esm/togetherAtoms.js +30 -30
  195. package/build/esm/togetherComponentGlobalContext.js +4 -4
  196. package/build/esm/togetherMolecules.js +48 -48
  197. package/build/esm/togetherMoleculesCardAuthor.js +27 -27
  198. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  199. package/build/esm/togetherMoleculesProfileDetail.js +37 -37
  200. package/build/esm/togetherOrganisms.js +47 -47
  201. package/build/esm/togetherRichTextEditor.js +17 -17
  202. package/build/esm/togetherShareBox.js +10 -10
  203. package/build/esm/{treePopoverMenu-855a4f52.js → treePopoverMenu-017aa3d1.js} +19 -19
  204. package/build/esm/{types-8e78d42b.js → types-dc535f4e.js} +2 -2
  205. package/build/esm/types.js +2 -2
  206. package/build/esm/{useCategory-411fa688.js → useCategory-2ab01bcd.js} +5 -5
  207. package/build/esm/{useHealthToolCache-c41be258.js → useHealthToolCache-b9949e32.js} +1 -1
  208. package/build/esm/{useMantineLocale-d3f0ec10.js → useMantineLocale-5a4595f2.js} +6 -6
  209. package/build/esm/{usePlacesAutocomplete-b3aa6142.js → usePlacesAutocomplete-05366516.js} +1 -2
  210. package/build/esm/{useScreenSize-7c7dd78f.js → useScreenSize-727c5292.js} +2 -2
  211. package/build/esm/useTogetherAuthRequiredAction.js +9 -9
  212. package/build/esm/{utils-61465473.js → utils-3f153bc3.js} +2 -2
  213. package/build/esm/{utils-f8a59939.js → utils-e173a83d.js} +3 -3
  214. package/build/esm/{utils-c44c3f5b.js → utils-faa45c9d.js} +2 -2
  215. package/build/esm/vaccination.js +21 -21
  216. package/build/footer.js +21 -21
  217. package/build/gAssets.js +2 -2
  218. package/build/healthToolsCardWrapper.js +18 -18
  219. package/build/healthToolsForm.js +33 -33
  220. package/build/hooks/usePlacesAutocomplete.d.ts +0 -2
  221. package/build/hooks.js +13 -13
  222. package/build/i18n/translationKeys.d.ts +1 -1
  223. package/build/i18n-values/en-PH.js +0 -5
  224. package/build/i18n-values/hi-IN.js +0 -5
  225. package/build/i18n-values/id-ID.js +0 -5
  226. package/build/i18n-values/km-KH.js +0 -5
  227. package/build/i18n-values/ms-MY.js +0 -5
  228. package/build/i18n-values/my-MM.js +0 -5
  229. package/build/i18n-values/th-TH.js +0 -5
  230. package/build/i18n-values/tl-PH.js +0 -5
  231. package/build/i18n-values/vi-VN.js +0 -5
  232. package/build/i18n-values/vi-VN_MB.js +0 -5
  233. package/build/i18n-values/zh-TW.js +0 -5
  234. package/build/i18n.js +1 -1
  235. package/build/i18nV2.js +1 -1
  236. package/build/icons/index.d.ts +3 -5
  237. package/build/{index-334d8879.js → index-081e8f90.js} +10 -10
  238. package/build/{index-c1e510a4.js → index-1076403d.js} +7 -7
  239. package/build/{index-09c30d26.js → index-13529096.js} +21 -21
  240. package/build/{index-1e16a525.js → index-15d71fb1.js} +5 -5
  241. package/build/{index-b36f7e6a.js → index-16479235.js} +6 -6
  242. package/build/{index-f25a2fb7.js → index-186d54e1.js} +1 -1
  243. package/build/{index-09f6f9ec.js → index-1ec2efb0.js} +3 -3
  244. package/build/{index-c6246d25.js → index-1fcad208.js} +116 -179
  245. package/build/{index-4887f1d2.js → index-23151399.js} +2 -2
  246. package/build/{index-ce0c12ef.js → index-27c09bf6.js} +4 -4
  247. package/build/{index-ed245754.js → index-29cf2fe1.js} +13 -13
  248. package/build/{index-92a81125.js → index-2cf33195.js} +30 -30
  249. package/build/{index-2164695d.js → index-2d2e3b0c.js} +2 -2
  250. package/build/{index-bf221387.js → index-327000b4.js} +13 -13
  251. package/build/{index-a85b6c62.js → index-362bc4f9.js} +2 -2
  252. package/build/{index-52ac7db6.js → index-3778c82e.js} +3 -3
  253. package/build/{index-f0d39dec.js → index-3b962dba.js} +3 -3
  254. package/build/{index-e3ad6c33.js → index-3fe0c60c.js} +15 -15
  255. package/build/{index-4eca23e2.js → index-469c8890.js} +1 -1
  256. package/build/{index-1a1eb46d.js → index-4c378886.js} +6 -6
  257. package/build/{index-b434a94a.js → index-54496c56.js} +6 -6
  258. package/build/{index-2b92a7f2.js → index-54683d40.js} +14 -14
  259. package/build/{index-75323ad7.js → index-55d014c0.js} +2 -2
  260. package/build/{index-a83bc735.js → index-57cd81cf.js} +1 -3
  261. package/build/{index-f6a80236.js → index-58be9dad.js} +1 -1
  262. package/build/{index-7c12cb71.js → index-5a2de97e.js} +2 -2
  263. package/build/{index-f2304e1f.js → index-620c1a47.js} +18 -18
  264. package/build/{index-e138e6ed.js → index-66aeb2b8.js} +2 -2
  265. package/build/{index-5f72166c.js → index-690bdbc6.js} +1 -1
  266. package/build/{index-27ab0db5.js → index-6b71cbb2.js} +3 -3
  267. package/build/{index-9d23de66.js → index-6c5ff1d0.js} +2 -2
  268. package/build/{index-027d9cf5.js → index-70ded784.js} +1 -1
  269. package/build/{index-4471d931.js → index-722ab417.js} +1 -1
  270. package/build/{index-b9c9b3f6.js → index-78624ca3.js} +5 -5
  271. package/build/{index-720362b6.js → index-7c206478.js} +13 -13
  272. package/build/{index-a284492f.js → index-803cf9fb.js} +16 -16
  273. package/build/{index-a0b8b752.js → index-81ac4232.js} +21 -21
  274. package/build/{index-cc8eab4f.js → index-84ae746e.js} +4 -17
  275. package/build/{index-3aba0ee4.js → index-84dad248.js} +7 -7
  276. package/build/{index-e5a8e680.js → index-851da335.js} +18 -18
  277. package/build/{index-0570b1ef.js → index-98afbdc8.js} +1 -1
  278. package/build/{index-442f30e6.js → index-9d97b930.js} +17 -17
  279. package/build/{index-93d20ef3.js → index-9dcc7a03.js} +3 -3
  280. package/build/{index-03415644.js → index-9effb66f.js} +2 -2
  281. package/build/{index-a137f57d.js → index-a0823c33.js} +5 -5
  282. package/build/{index-3fdce15c.js → index-a1b84b97.js} +16 -16
  283. package/build/{index-1b75104a.js → index-a3450adc.js} +13 -13
  284. package/build/{index-f757868e.js → index-ac273880.js} +15 -15
  285. package/build/{index-9624a1f5.js → index-ac76bfbc.js} +2 -2
  286. package/build/{index-91ce7046.js → index-b0348bdc.js} +24 -24
  287. package/build/{index-d6b61fb2.js → index-baba72ad.js} +16 -16
  288. package/build/{index-7cfb98fc.js → index-bdf8592e.js} +1 -1
  289. package/build/{index-aa53b3b1.js → index-be4ae18d.js} +2 -2
  290. package/build/{index-8e1dbca2.js → index-c2e6e664.js} +24 -24
  291. package/build/{index-0f73a330.js → index-ccc06c84.js} +16 -16
  292. package/build/{index-f365926c.js → index-da6e4c71.js} +3 -3
  293. package/build/{index-eee099c9.js → index-e8e4b0db.js} +2 -2
  294. package/build/{index-cb55c26a.js → index-eabe773f.js} +32 -32
  295. package/build/{index-3b148276.js → index-ede69033.js} +18 -18
  296. package/build/{index-adacb710.js → index-f67663ff.js} +2 -2
  297. package/build/{index-85b24adb.js → index-fa9d1127.js} +17 -17
  298. package/build/{index-3af4f0a4.js → index-fc5db3e8.js} +6 -6
  299. package/build/index.css +1 -1
  300. package/build/index.js +179 -211
  301. package/build/interfaces/types/Subot.d.ts +0 -1
  302. package/build/{labelSorting-4377a645.js → labelSorting-637a3504.js} +4 -4
  303. package/build/lead/components/context.d.ts +0 -2
  304. package/build/lead/components/index.d.ts +2 -4
  305. package/build/lead/index.d.ts +1 -1
  306. package/build/lead/layouts/lightbox/index.d.ts +2 -4
  307. package/build/lead/newLeadPopup.d.ts +2 -4
  308. package/build/lead.css +1 -1
  309. package/build/lead.js +351 -822
  310. package/build/{logoIcon-80988ba8.js → logoIcon-51dfe937.js} +2 -2
  311. package/build/mantine.js +22 -22
  312. package/build/misc.js +16 -16
  313. package/build/miscGetDynamicHealthTool.js +4 -4
  314. package/build/miscGetSocialList.js +8 -8
  315. package/build/miscScreenSizeContext.js +1 -1
  316. package/build/mobileBottomNavigation.js +5 -5
  317. package/build/mobileBottomNavigationIcon.js +5 -5
  318. package/build/molecules.js +69 -69
  319. package/build/moleculesArticleCard.js +6 -6
  320. package/build/moleculesArticleCardV2.js +16 -16
  321. package/build/navigation.js +40 -40
  322. package/build/navigationLogoutPopup.js +9 -9
  323. package/build/navigationProfileButton.js +23 -23
  324. package/build/onboardingV2.js +28 -28
  325. package/build/organisms.js +44 -44
  326. package/build/{post-1f928c0b.js → post-7adf6e08.js} +2 -2
  327. package/build/profileNavigation.js +19 -19
  328. package/build/progressBar.js +1 -1
  329. package/build/pwg.js +22 -22
  330. package/build/ssoV2.js +25 -25
  331. package/build/{store-61c85bcc.js → store-7bfeef3a.js} +4 -4
  332. package/build/subot/utils/index.d.ts +0 -1
  333. package/build/subot.js +46 -187
  334. package/build/surveyOrPremiumBanner.js +31 -31
  335. package/build/surveyQuestionCard.js +10 -10
  336. package/build/{surveyThankyouCard-1d5838d8.js → surveyThankyouCard-c2a7974e.js} +5 -5
  337. package/build/together/components/molecules/createNewPostContentV2/createPostCommunity/commonCommunity/index.d.ts +3 -3
  338. package/build/together/components/molecules/createNewPostContentV2/createPostCommunity/index.d.ts +5 -5
  339. package/build/together/components/molecules/createNewPostContentV2/createPostCommunity/suggestedCommunity/index.d.ts +2 -2
  340. package/build/together/components/molecules/createNewPostContentV2/index.d.ts +3 -2
  341. package/build/together/components/molecules/createNewPostContentV2/topicSelectList/index.d.ts +3 -8
  342. package/build/together/interfaces/types.d.ts +2 -5
  343. package/build/together.js +53 -53
  344. package/build/togetherApiUtils.js +4 -4
  345. package/build/togetherAtoms.js +30 -30
  346. package/build/togetherComponentGlobalContext.js +4 -4
  347. package/build/togetherMolecules.js +48 -48
  348. package/build/togetherMoleculesCardAuthor.js +27 -27
  349. package/build/togetherMoleculesPostImagePreview.js +11 -11
  350. package/build/togetherMoleculesProfileDetail.js +37 -37
  351. package/build/togetherOrganisms.js +47 -47
  352. package/build/togetherRichTextEditor.js +17 -17
  353. package/build/togetherShareBox.js +10 -10
  354. package/build/{treePopoverMenu-51a48327.js → treePopoverMenu-0ccf0827.js} +19 -19
  355. package/build/{types-368cc9e4.js → types-3e202b50.js} +2 -2
  356. package/build/types.js +2 -2
  357. package/build/{useCategory-f43d5734.js → useCategory-f786d678.js} +5 -5
  358. package/build/{useHealthToolCache-b3f4625c.js → useHealthToolCache-85f08a9a.js} +1 -1
  359. package/build/{useMantineLocale-8e0f0db3.js → useMantineLocale-479576d6.js} +6 -6
  360. package/build/{usePlacesAutocomplete-f514fcd0.js → usePlacesAutocomplete-1536ff39.js} +1 -2
  361. package/build/{useScreenSize-ccc634ca.js → useScreenSize-008ea8b8.js} +2 -2
  362. package/build/useTogetherAuthRequiredAction.js +9 -9
  363. package/build/{utils-2fdb578d.js → utils-5dcf29aa.js} +3 -3
  364. package/build/{utils-3dc7a4f2.js → utils-695e0f2a.js} +2 -2
  365. package/build/{utils-9d5c44e7.js → utils-77ef001a.js} +2 -2
  366. package/build/vaccination.js +21 -21
  367. package/package.json +1 -1
  368. package/build/components/atoms/drawerComponent/index.d.ts +0 -17
  369. package/build/components/atoms/drawerComponent/index.styled.d.ts +0 -7
  370. package/build/components/atoms/googleLocation/index.d.ts +0 -7
  371. package/build/esm/components/atoms/drawerComponent/index.d.ts +0 -17
  372. package/build/esm/components/atoms/drawerComponent/index.styled.d.ts +0 -7
  373. package/build/esm/components/atoms/googleLocation/index.d.ts +0 -7
  374. package/build/esm/hooks/useGetClientGaId.d.ts +0 -4
  375. package/build/esm/icons/ChatbotBg.d.ts +0 -4
  376. package/build/esm/icons/Search.d.ts +0 -4
  377. package/build/esm/index-1fdf797b.js +0 -106
  378. package/build/esm/lead/layouts/ emptyIcon.d.ts +0 -6
  379. package/build/esm/lead/layouts/lightbox/fields/textField/index.d.ts +0 -13
  380. package/build/esm/lead/layouts/lightbox/fields/textField/index.styled.d.ts +0 -11
  381. package/build/esm/subot/components/dob/index.d.ts +0 -4
  382. package/build/esm/subot/components/dob/utils.d.ts +0 -14
  383. package/build/hooks/useGetClientGaId.d.ts +0 -4
  384. package/build/icons/ChatbotBg.d.ts +0 -4
  385. package/build/icons/Search.d.ts +0 -4
  386. package/build/index-c4e0ff93.js +0 -113
  387. package/build/lead/layouts/ emptyIcon.d.ts +0 -6
  388. package/build/lead/layouts/lightbox/fields/textField/index.d.ts +0 -13
  389. package/build/lead/layouts/lightbox/fields/textField/index.styled.d.ts +0 -11
  390. package/build/subot/components/dob/index.d.ts +0 -4
  391. package/build/subot/components/dob/utils.d.ts +0 -14
  392. /package/build/{BMI_BOYS.percentile.monthly-02911531.js → BMI_BOYS.percentile.monthly-f6248477.js} +0 -0
  393. /package/build/{BMI_BOYS.percentile.weekly-597e945b.js → BMI_BOYS.percentile.weekly-dcde4451.js} +0 -0
  394. /package/build/{BMI_BOYS.percentile.yearly-ca7e61f3.js → BMI_BOYS.percentile.yearly-507adec0.js} +0 -0
  395. /package/build/{BMI_BOYS.zscore.monthly-e2770173.js → BMI_BOYS.zscore.monthly-d5a66ed8.js} +0 -0
  396. /package/build/{BMI_BOYS.zscore.weekly-b65fb031.js → BMI_BOYS.zscore.weekly-2b60ac52.js} +0 -0
  397. /package/build/{BMI_BOYS.zscore.yearly-7d09e7ee.js → BMI_BOYS.zscore.yearly-cade3a5e.js} +0 -0
  398. /package/build/{BMI_GIRLS.percentile.monthly-913542f8.js → BMI_GIRLS.percentile.monthly-276936e9.js} +0 -0
  399. /package/build/{BMI_GIRLS.percentile.weekly-f5055571.js → BMI_GIRLS.percentile.weekly-224acb2a.js} +0 -0
  400. /package/build/{BMI_GIRLS.percentile.yearly-0dc6142c.js → BMI_GIRLS.percentile.yearly-393c9509.js} +0 -0
  401. /package/build/{BMI_GIRLS.zscore.monthly-22c58cb4.js → BMI_GIRLS.zscore.monthly-72d88b06.js} +0 -0
  402. /package/build/{BMI_GIRLS.zscore.weekly-8face7ac.js → BMI_GIRLS.zscore.weekly-32e66039.js} +0 -0
  403. /package/build/{BMI_GIRLS.zscore.yearly-f4af356a.js → BMI_GIRLS.zscore.yearly-14a64fc6.js} +0 -0
  404. /package/build/{ChevronDown-f09d8d57.js → ChevronDown-99b32e71.js} +0 -0
  405. /package/build/{Close-81263912.js → Close-50a057e1.js} +0 -0
  406. /package/build/{Google-9d4c8260.js → Google-b0a6a799.js} +0 -0
  407. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-bbe6cac3.js → HEAD CIRCUM_BOYS.percentile.monthly-800f9ad6.js} +0 -0
  408. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-316251f4.js → HEAD CIRCUM_BOYS.percentile.weekly-ff39e218.js} +0 -0
  409. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-cb4197ae.js → HEAD CIRCUM_BOYS.percentile.yearly-96833429.js} +0 -0
  410. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-4ad81dfb.js → HEAD CIRCUM_BOYS.zscore.monthly-cc6fe272.js} +0 -0
  411. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-31767820.js → HEAD CIRCUM_BOYS.zscore.weekly-391fbf23.js} +0 -0
  412. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ad0ec53a.js → HEAD CIRCUM_BOYS.zscore.yearly-3b6e1e4b.js} +0 -0
  413. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f1eb451a.js → HEAD CIRCUM_GIRLS.percentile.monthly-8bf89c41.js} +0 -0
  414. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-95e95c4f.js → HEAD CIRCUM_GIRLS.percentile.weekly-0eb51033.js} +0 -0
  415. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-63e41f07.js → HEAD CIRCUM_GIRLS.percentile.yearly-85b823c9.js} +0 -0
  416. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-35c89da5.js → HEAD CIRCUM_GIRLS.zscore.monthly-0df24f0e.js} +0 -0
  417. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-202572af.js → HEAD CIRCUM_GIRLS.zscore.weekly-2ba73ae2.js} +0 -0
  418. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-85f400e0.js → HEAD CIRCUM_GIRLS.zscore.yearly-82905d89.js} +0 -0
  419. /package/build/{HEIGHT_BOYS.percentile.monthly-b43a0e0f.js → HEIGHT_BOYS.percentile.monthly-834a3c28.js} +0 -0
  420. /package/build/{HEIGHT_BOYS.percentile.weekly-597aee7e.js → HEIGHT_BOYS.percentile.weekly-68536dab.js} +0 -0
  421. /package/build/{HEIGHT_BOYS.percentile.yearly-6f2813e1.js → HEIGHT_BOYS.percentile.yearly-f5d17411.js} +0 -0
  422. /package/build/{HEIGHT_BOYS.zscore.monthly-506f6627.js → HEIGHT_BOYS.zscore.monthly-4769df04.js} +0 -0
  423. /package/build/{HEIGHT_BOYS.zscore.weekly-19f1ec85.js → HEIGHT_BOYS.zscore.weekly-9de082cd.js} +0 -0
  424. /package/build/{HEIGHT_BOYS.zscore.yearly-ae5a5cbb.js → HEIGHT_BOYS.zscore.yearly-0354ad3f.js} +0 -0
  425. /package/build/{HEIGHT_GIRLS.percentile.monthly-9c994ecc.js → HEIGHT_GIRLS.percentile.monthly-d97e8033.js} +0 -0
  426. /package/build/{HEIGHT_GIRLS.percentile.weekly-4f2dff00.js → HEIGHT_GIRLS.percentile.weekly-32df44a5.js} +0 -0
  427. /package/build/{HEIGHT_GIRLS.percentile.yearly-debbec37.js → HEIGHT_GIRLS.percentile.yearly-12035f64.js} +0 -0
  428. /package/build/{HEIGHT_GIRLS.zscore.monthly-8d6f0970.js → HEIGHT_GIRLS.zscore.monthly-a8c8d847.js} +0 -0
  429. /package/build/{HEIGHT_GIRLS.zscore.weekly-6c2c30b6.js → HEIGHT_GIRLS.zscore.weekly-cb50e425.js} +0 -0
  430. /package/build/{HEIGHT_GIRLS.zscore.yearly-f65a514b.js → HEIGHT_GIRLS.zscore.yearly-f2508459.js} +0 -0
  431. /package/build/{Locale-1e065e34.js → Locale-5a458df9.js} +0 -0
  432. /package/build/{Visible-8685187f.js → Visible-b0d75028.js} +0 -0
  433. /package/build/{WEIGHT_BOYS.percentile.monthly-e7ee06a6.js → WEIGHT_BOYS.percentile.monthly-df19f912.js} +0 -0
  434. /package/build/{WEIGHT_BOYS.percentile.weekly-123009df.js → WEIGHT_BOYS.percentile.weekly-2409e44d.js} +0 -0
  435. /package/build/{WEIGHT_BOYS.percentile.yearly-a09ebb9b.js → WEIGHT_BOYS.percentile.yearly-32a62f5c.js} +0 -0
  436. /package/build/{WEIGHT_BOYS.zscore.monthly-3e242d32.js → WEIGHT_BOYS.zscore.monthly-72414ef5.js} +0 -0
  437. /package/build/{WEIGHT_BOYS.zscore.weekly-97cc24bc.js → WEIGHT_BOYS.zscore.weekly-9f72fc9a.js} +0 -0
  438. /package/build/{WEIGHT_BOYS.zscore.yearly-36566f1c.js → WEIGHT_BOYS.zscore.yearly-0d59e1e7.js} +0 -0
  439. /package/build/{WEIGHT_GIRLS.percentile.monthly-fd4c7a74.js → WEIGHT_GIRLS.percentile.monthly-1952aff3.js} +0 -0
  440. /package/build/{WEIGHT_GIRLS.percentile.weekly-668b3731.js → WEIGHT_GIRLS.percentile.weekly-5540a4b2.js} +0 -0
  441. /package/build/{WEIGHT_GIRLS.percentile.yearly-5d2e1adc.js → WEIGHT_GIRLS.percentile.yearly-93e8e785.js} +0 -0
  442. /package/build/{WEIGHT_GIRLS.zscore.monthly-624ae9d7.js → WEIGHT_GIRLS.zscore.monthly-8cf04311.js} +0 -0
  443. /package/build/{WEIGHT_GIRLS.zscore.weekly-c058a915.js → WEIGHT_GIRLS.zscore.weekly-e2adfd5d.js} +0 -0
  444. /package/build/{WEIGHT_GIRLS.zscore.yearly-3bd569b3.js → WEIGHT_GIRLS.zscore.yearly-2ee7f10f.js} +0 -0
  445. /package/build/{animation-99bd29ad.js → animation-12e35c54.js} +0 -0
  446. /package/build/{constants-08bbc729.js → constants-3c7cf264.js} +0 -0
  447. /package/build/{constants-e08dab3d.js → constants-752fb6de.js} +0 -0
  448. /package/build/{constants-f48bf2f1.js → constants-8154719d.js} +0 -0
  449. /package/build/{dataTransform-e6127b7e.js → dataTransform-ab5a74f6.js} +0 -0
  450. /package/build/{doctor-3fbd02e8.js → doctor-42953223.js} +0 -0
  451. /package/build/esm/{BMI_BOYS.percentile.monthly-cde59a74.js → BMI_BOYS.percentile.monthly-b62662ad.js} +0 -0
  452. /package/build/esm/{BMI_BOYS.percentile.weekly-bf9bedac.js → BMI_BOYS.percentile.weekly-8f9998cc.js} +0 -0
  453. /package/build/esm/{BMI_BOYS.percentile.yearly-bfcb4799.js → BMI_BOYS.percentile.yearly-a72bf4fb.js} +0 -0
  454. /package/build/esm/{BMI_BOYS.zscore.monthly-ce953cda.js → BMI_BOYS.zscore.monthly-478cbb86.js} +0 -0
  455. /package/build/esm/{BMI_BOYS.zscore.weekly-9e2ecf80.js → BMI_BOYS.zscore.weekly-0b78150c.js} +0 -0
  456. /package/build/esm/{BMI_BOYS.zscore.yearly-74edb48c.js → BMI_BOYS.zscore.yearly-56395f67.js} +0 -0
  457. /package/build/esm/{BMI_GIRLS.percentile.monthly-084d89b4.js → BMI_GIRLS.percentile.monthly-7afdb95b.js} +0 -0
  458. /package/build/esm/{BMI_GIRLS.percentile.weekly-0a610e9b.js → BMI_GIRLS.percentile.weekly-4a5ad749.js} +0 -0
  459. /package/build/esm/{BMI_GIRLS.percentile.yearly-c91889c3.js → BMI_GIRLS.percentile.yearly-2f41621b.js} +0 -0
  460. /package/build/esm/{BMI_GIRLS.zscore.monthly-6510f76d.js → BMI_GIRLS.zscore.monthly-502de42b.js} +0 -0
  461. /package/build/esm/{BMI_GIRLS.zscore.weekly-e8130bee.js → BMI_GIRLS.zscore.weekly-9f83b9d7.js} +0 -0
  462. /package/build/esm/{BMI_GIRLS.zscore.yearly-48749be4.js → BMI_GIRLS.zscore.yearly-b40eef2f.js} +0 -0
  463. /package/build/esm/{ChevronDown-7e1d7be3.js → ChevronDown-2e2c53a9.js} +0 -0
  464. /package/build/esm/{Close-eda8cb6b.js → Close-bff77e63.js} +0 -0
  465. /package/build/esm/{Google-12c14ae6.js → Google-b4f655d1.js} +0 -0
  466. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-e877078a.js → HEAD CIRCUM_BOYS.percentile.monthly-0c8eefbd.js} +0 -0
  467. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-4aa35668.js → HEAD CIRCUM_BOYS.percentile.weekly-c0dce6a5.js} +0 -0
  468. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-b7083b14.js → HEAD CIRCUM_BOYS.percentile.yearly-6e753044.js} +0 -0
  469. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-58e37e42.js → HEAD CIRCUM_BOYS.zscore.monthly-265595d2.js} +0 -0
  470. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-3fc837d7.js → HEAD CIRCUM_BOYS.zscore.weekly-2f65d229.js} +0 -0
  471. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-f4ae1f43.js → HEAD CIRCUM_BOYS.zscore.yearly-7c8e6df2.js} +0 -0
  472. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-b7026959.js → HEAD CIRCUM_GIRLS.percentile.monthly-63fb3524.js} +0 -0
  473. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-74347545.js → HEAD CIRCUM_GIRLS.percentile.weekly-958bee8d.js} +0 -0
  474. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-720df95d.js → HEAD CIRCUM_GIRLS.percentile.yearly-601af1ad.js} +0 -0
  475. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-0d1e58f3.js → HEAD CIRCUM_GIRLS.zscore.monthly-eaa72981.js} +0 -0
  476. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2dabd4d2.js → HEAD CIRCUM_GIRLS.zscore.weekly-4dc5b657.js} +0 -0
  477. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-61207834.js → HEAD CIRCUM_GIRLS.zscore.yearly-9e0fa09d.js} +0 -0
  478. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-4d3cf734.js → HEIGHT_BOYS.percentile.monthly-14a41e5b.js} +0 -0
  479. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-ab647b2f.js → HEIGHT_BOYS.percentile.weekly-37b16a80.js} +0 -0
  480. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-10d3af20.js → HEIGHT_BOYS.percentile.yearly-12522a6a.js} +0 -0
  481. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-ccfd9a17.js → HEIGHT_BOYS.zscore.monthly-e4cb8e09.js} +0 -0
  482. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-3ed442e3.js → HEIGHT_BOYS.zscore.weekly-43b66ebd.js} +0 -0
  483. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-1ddc0ec5.js → HEIGHT_BOYS.zscore.yearly-a7f89716.js} +0 -0
  484. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-0d34da48.js → HEIGHT_GIRLS.percentile.monthly-ab995a7e.js} +0 -0
  485. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-7461c975.js → HEIGHT_GIRLS.percentile.weekly-aa1fa070.js} +0 -0
  486. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-74138c85.js → HEIGHT_GIRLS.percentile.yearly-99254df4.js} +0 -0
  487. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-ba3eb555.js → HEIGHT_GIRLS.zscore.monthly-c5b52ddf.js} +0 -0
  488. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-9c79b8b1.js → HEIGHT_GIRLS.zscore.weekly-d6c830ac.js} +0 -0
  489. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-6e082c06.js → HEIGHT_GIRLS.zscore.yearly-fe158097.js} +0 -0
  490. /package/build/esm/{Locale-ea6fdb5d.js → Locale-5c4592c0.js} +0 -0
  491. /package/build/esm/{Visible-da8c1ddd.js → Visible-38b6fdaf.js} +0 -0
  492. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-db00be6d.js → WEIGHT_BOYS.percentile.monthly-fd207284.js} +0 -0
  493. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3a76633f.js → WEIGHT_BOYS.percentile.weekly-ef65f0bd.js} +0 -0
  494. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-366a6367.js → WEIGHT_BOYS.percentile.yearly-d74c2741.js} +0 -0
  495. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-6df5573b.js → WEIGHT_BOYS.zscore.monthly-0cadd974.js} +0 -0
  496. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-55dd9fcc.js → WEIGHT_BOYS.zscore.weekly-faa93ee8.js} +0 -0
  497. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-6f718b77.js → WEIGHT_BOYS.zscore.yearly-b5d9afeb.js} +0 -0
  498. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-dca1eef7.js → WEIGHT_GIRLS.percentile.monthly-ae1cfe72.js} +0 -0
  499. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-a6380333.js → WEIGHT_GIRLS.percentile.weekly-54476e6f.js} +0 -0
  500. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-2ed67f29.js → WEIGHT_GIRLS.percentile.yearly-90caedbf.js} +0 -0
  501. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-ba4f1be0.js → WEIGHT_GIRLS.zscore.monthly-2f3341ca.js} +0 -0
  502. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-36cfc8ed.js → WEIGHT_GIRLS.zscore.weekly-f8ad0bb4.js} +0 -0
  503. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-3aa18fda.js → WEIGHT_GIRLS.zscore.yearly-9655f188.js} +0 -0
  504. /package/build/esm/{animation-277ec211.js → animation-8d27b4e4.js} +0 -0
  505. /package/build/esm/{constants-25de28fa.js → constants-0e4c7913.js} +0 -0
  506. /package/build/esm/{constants-8489438b.js → constants-1c673233.js} +0 -0
  507. /package/build/esm/{constants-358f3638.js → constants-c1b6e6e6.js} +0 -0
  508. /package/build/esm/{dataTransform-d325133c.js → dataTransform-3e830ba6.js} +0 -0
  509. /package/build/esm/{doctor-97e9fadc.js → doctor-6a91f2a7.js} +0 -0
  510. /package/build/esm/{index-491adeb6.js → index-1ab17628.js} +0 -0
  511. /package/build/esm/{index-29e07496.js → index-3e095706.js} +0 -0
  512. /package/build/esm/{index-0909c509.js → index-3fe65768.js} +0 -0
  513. /package/build/esm/{index-8dcf9467.js → index-469aca76.js} +0 -0
  514. /package/build/esm/{index-31826a7c.js → index-77c8d3c0.js} +0 -0
  515. /package/build/esm/{index-9802cb1c.js → index-89875847.js} +0 -0
  516. /package/build/esm/{index-43a93c49.js → index-aa298135.js} +0 -0
  517. /package/build/esm/{index-74a0b1f7.js → index-b1b602a3.js} +0 -0
  518. /package/build/esm/{index.styles-41f74461.js → index.styles-b22f6e1f.js} +0 -0
  519. /package/build/esm/{localizeNumberFormat-df38f049.js → localizeNumberFormat-2d00f0d6.js} +0 -0
  520. /package/build/esm/{normalizeLink-74f0a811.js → normalizeLink-a8b6e66c.js} +0 -0
  521. /package/build/esm/{other-04246228.js → other-c7b41bb1.js} +0 -0
  522. /package/build/esm/{paths-aad80498.js → paths-2cebbd7c.js} +0 -0
  523. /package/build/esm/{translationsContext-3e2e9520.js → translationsContext-b378aad7.js} +0 -0
  524. /package/build/esm/{tslib.es6-74e511e5.js → tslib.es6-a28612e9.js} +0 -0
  525. /package/build/esm/{types-b62e3998.js → types-50d3bb6c.js} +0 -0
  526. /package/build/esm/{useIsInit-752387a1.js → useIsInit-dfcf70a1.js} +0 -0
  527. /package/build/esm/{useOutsideClick-de3022ff.js → useOutsideClick-43a2ed0b.js} +0 -0
  528. /package/build/esm/{useScrollbarSize-a0baa763.js → useScrollbarSize-2e99c67d.js} +0 -0
  529. /package/build/esm/{useUniqueId-46461d21.js → useUniqueId-adb5c890.js} +0 -0
  530. /package/build/esm/{utils-86244ba7.js → utils-f9df87ad.js} +0 -0
  531. /package/build/{index-cbcae2ca.js → index-3eda77c6.js} +0 -0
  532. /package/build/{index-96e4d9d8.js → index-51298ce7.js} +0 -0
  533. /package/build/{index-d6c5473c.js → index-53735eff.js} +0 -0
  534. /package/build/{index-d2aa1303.js → index-72754c1f.js} +0 -0
  535. /package/build/{index-c4b42bc5.js → index-cecd41a8.js} +0 -0
  536. /package/build/{index-80a6be79.js → index-d0dee133.js} +0 -0
  537. /package/build/{index-0eb20162.js → index-ec9173d8.js} +0 -0
  538. /package/build/{index-ef3d7e43.js → index-f044180a.js} +0 -0
  539. /package/build/{index.styles-c8bfc88a.js → index.styles-be64e85f.js} +0 -0
  540. /package/build/{localizeNumberFormat-8f2bc8be.js → localizeNumberFormat-f489eb10.js} +0 -0
  541. /package/build/{normalizeLink-512d95f0.js → normalizeLink-e1acde98.js} +0 -0
  542. /package/build/{other-b0296231.js → other-f704af7f.js} +0 -0
  543. /package/build/{paths-4e0a05d4.js → paths-7a6aa986.js} +0 -0
  544. /package/build/{translationsContext-669b2597.js → translationsContext-ac37a205.js} +0 -0
  545. /package/build/{tslib.es6-09b8177f.js → tslib.es6-4dedca11.js} +0 -0
  546. /package/build/{types-79a33b97.js → types-9f509ead.js} +0 -0
  547. /package/build/{useIsInit-32fa67bb.js → useIsInit-9bf00bd0.js} +0 -0
  548. /package/build/{useOutsideClick-d1bc615f.js → useOutsideClick-9d4aa36b.js} +0 -0
  549. /package/build/{useScrollbarSize-bd3e62e4.js → useScrollbarSize-5c089b9f.js} +0 -0
  550. /package/build/{useUniqueId-17449f5a.js → useUniqueId-30cb684a.js} +0 -0
  551. /package/build/{utils-226fb693.js → utils-26666340.js} +0 -0
@@ -1,7 +1,7 @@
1
- import { _ as __rest } from './tslib.es6-74e511e5.js';
1
+ import { _ as __rest } from './tslib.es6-a28612e9.js';
2
2
  import React__default from 'react';
3
3
  import { useMantineTheme } from '@mantine/core';
4
- import { T as Text } from './index-a45bba40.js';
4
+ import { T as Text } from './index-8b47416e.js';
5
5
 
6
6
  /**
7
7
  * @deprecated Consider to use import { Title } from '@mantine/core'
@@ -1,47 +1,47 @@
1
- import { a as __awaiter, _ as __rest } from './tslib.es6-74e511e5.js';
1
+ import { a as __awaiter, _ as __rest } from './tslib.es6-a28612e9.js';
2
2
  import React__default, { useState, useRef, useEffect, useCallback, useContext, useMemo } from 'react';
3
3
  import { Info, Ask } from '@hhgtech/icons/other';
4
- import { D as Dropdown } from './index-8dcf9467.js';
5
- import { u as useTranslations } from './index-667c32a0.js';
4
+ import { D as Dropdown } from './index-469aca76.js';
5
+ import { u as useTranslations } from './index-eee7f80e.js';
6
6
  import innertext from 'innertext';
7
7
  import { theme } from './miscTheme.js';
8
- import { I as Input$1 } from './index-80c66805.js';
8
+ import { I as Input$1 } from './index-90cac9e5.js';
9
9
  import { useMantineTheme, Switch, Popover } from '@mantine/core';
10
10
  import '@mantine/dates';
11
- import './index-e901f471.js';
12
- import './index-13ac8c47.js';
13
- import './index-29e07496.js';
14
- import './useMantineLocale-d3f0ec10.js';
15
- import { T as Text } from './index-a45bba40.js';
16
- import { B as Button } from './index-246a053e.js';
17
- import './index.styles-41f74461.js';
11
+ import './index-481ad938.js';
12
+ import './index-b06d4aac.js';
13
+ import './index-3e095706.js';
14
+ import './useMantineLocale-5a4595f2.js';
15
+ import { T as Text } from './index-8b47416e.js';
16
+ import { B as Button } from './index-c2d7df1b.js';
17
+ import './index.styles-b22f6e1f.js';
18
18
  import '@mantine/hooks';
19
- import { M as MediaQueries } from './utils-86244ba7.js';
20
- import './other-04246228.js';
21
- import './index-1d317a46.js';
22
- import { u as useImagePicker, a as PopupFrame, d as IconCloseCircle, g as getDefaultFailNoti, e as getPostFormData, f as editPost, h as createPost } from './index-24fa332c.js';
23
- import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath, p as getCurrentHref, b as callApiWithAuth, q as callApiWithAdminAuth, r as getChatbotAiApiPath } from './utils-f8a59939.js';
19
+ import { M as MediaQueries } from './utils-f9df87ad.js';
20
+ import './other-c7b41bb1.js';
21
+ import './index-9fb8d0d3.js';
22
+ import { u as useImagePicker, a as PopupFrame, d as IconCloseCircle, g as getDefaultFailNoti, e as getPostFormData, f as editPost, h as createPost } from './index-8ca75b47.js';
23
+ import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath, p as getCurrentHref, b as callApiWithAuth, q as callApiWithAdminAuth, k as getCurrentBaseUrl, r as getChatbotAiApiPath } from './utils-e173a83d.js';
24
24
  import styled from '@emotion/styled';
25
- import { b as formatPost, a as formatCommunity, c as formatTopic } from './dataTransform-5e753a25.js';
26
- import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-358f3638.js';
27
- import { h as highlightBadWords, f as fixMalformedMention, r as removeFontFormat, a as removeEdittedBannedWord, w as wrapAnchorAroundUrls, g as getUrlsFromEditorString, A as ALLOW_DOMAIN_URL, e as escapeRegExp, d as decodeMention, b as decodePostUrl, c as reformatUrl, i as getMentionIdsFromString, L as LIMIT_MENTION } from './post-033bf211.js';
28
- import { C as CardAuthor, L as Loading$1 } from './index-7ecbd997.js';
29
- import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-208df683.js';
30
- import { I as Input } from './index-2ccbdd1f.js';
25
+ import { b as formatPost, c as formatTopic } from './dataTransform-a32da5ec.js';
26
+ import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-c1b6e6e6.js';
27
+ import { h as highlightBadWords, f as fixMalformedMention, r as removeFontFormat, a as removeEdittedBannedWord, w as wrapAnchorAroundUrls, g as getUrlsFromEditorString, A as ALLOW_DOMAIN_URL, e as escapeRegExp, d as decodeMention, b as decodePostUrl, c as reformatUrl, i as getMentionIdsFromString, L as LIMIT_MENTION } from './post-b39031d2.js';
28
+ import { C as CardAuthor, L as Loading$1 } from './index-1b96e37c.js';
29
+ import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-634c24d8.js';
30
+ import { I as Input } from './index-d5a7776d.js';
31
31
  import debounce from 'lodash/debounce';
32
32
  import ContentEditable from 'react-contenteditable';
33
33
  import { PATHS, ADMIN_PATHS } from './togetherApiPaths.js';
34
- import { L as Loading } from './index-74735e6d.js';
35
- import { C as CardLink } from './index-c141fd67.js';
36
- import { B as BtnChoice } from './index-9b6f74f8.js';
37
- import { L as LOCALE } from './Locale-ea6fdb5d.js';
34
+ import { L as Loading } from './index-2c47a78c.js';
35
+ import { C as CardLink } from './index-4b903423.js';
36
+ import { B as BtnChoice } from './index-26676d6e.js';
37
+ import { L as LOCALE } from './Locale-5c4592c0.js';
38
38
  import * as ReactDOM from 'react-dom';
39
- import { b as IconArrowLeft } from './index-e7e39350.js';
40
- import { B as Button$1 } from './index-19f88c7e.js';
39
+ import { b as IconArrowLeft } from './index-61053ab7.js';
40
+ import { B as Button$1 } from './index-12832709.js';
41
41
  import { getCookie } from './miscCookieHelper.js';
42
- import { a as useUniqueId } from './useUniqueId-46461d21.js';
43
- import { U as UserAvatar } from './index-2ed7ad8b.js';
44
- import { P as PopoverMenu } from './index-1b06e628.js';
42
+ import { a as useUniqueId } from './useUniqueId-adb5c890.js';
43
+ import { U as UserAvatar } from './index-32988940.js';
44
+ import { P as PopoverMenu } from './index-37a8a068.js';
45
45
  import { Close, Check } from '@hhgtech/icons/core';
46
46
 
47
47
  const StyledCreateNewPost$1 = styled.div `
@@ -1438,18 +1438,10 @@ const StyledTopicSelectList$1 = styled.div `
1438
1438
  }
1439
1439
  `;
1440
1440
 
1441
- const TopicSelectList$1 = ({ className, style, topics: topicsProp, communityId, onChange, isLoading, disabled,
1442
- // forceTopics,
1443
- selectedTopics: selectedTopicsProp, noFetch, dataEventCategory, dataEventAction, dataEventLabel, }) => {
1441
+ const TopicSelectList$1 = ({ className, style, topics: topicsProp, communityId, onChange, isLoading, disabled, forceTopics, selectedTopics: selectedTopicsProp, noFetch, dataEventCategory, dataEventAction, dataEventLabel, }) => {
1444
1442
  const { data: { locale, env: { isMarryBaby }, }, } = useContext(TogetherComponentGlobalContext);
1445
- // const [topics, setTopics] = useState<Topic[]>(
1446
- // topicsProp ? [...topicsProp] : [],
1447
- // )
1448
- const [topics, setTopics] = useState([]);
1449
- // const [selectedTopics, setSelectedTopics] = useState<Topic[]>(
1450
- // selectedTopicsProp ? [...selectedTopicsProp] : [],
1451
- // )
1452
- const [selectedTopics, setSelectedTopics] = useState([]);
1443
+ const [topics, setTopics] = useState(topicsProp ? [...topicsProp] : []);
1444
+ const [selectedTopics, setSelectedTopics] = useState(selectedTopicsProp ? [...selectedTopicsProp] : []);
1453
1445
  const [isLoadingTopics, setIsLoadingTopics] = useState(false);
1454
1446
  const topicsPropRef = useRef(topicsProp);
1455
1447
  topicsPropRef.current = topicsProp;
@@ -1467,19 +1459,7 @@ selectedTopics: selectedTopicsProp, noFetch, dataEventCategory, dataEventAction,
1467
1459
  }), 'GET');
1468
1460
  const topicRes = (_b = res === null || res === void 0 ? void 0 : res.data) === null || _b === void 0 ? void 0 : _b.topics;
1469
1461
  if (Array.isArray(topicRes)) {
1470
- // setTopics(
1471
- // () =>
1472
- // topicRes
1473
- // ?.map<Topic>(formatTopic)
1474
- // .sort(
1475
- // (t1: Topic, t2: Topic) => (t1.order || 0) - (t2.order || 0),
1476
- // ) || [],
1477
- // )
1478
- let newTopics = [];
1479
- topicRes === null || topicRes === void 0 ? void 0 : topicRes.forEach((item) => {
1480
- newTopics = newTopics.concat(item.discover_category);
1481
- });
1482
- setTopics(newTopics);
1462
+ setTopics(() => (topicRes === null || topicRes === void 0 ? void 0 : topicRes.map(formatTopic).sort((t1, t2) => (t1.order || 0) - (t2.order || 0))) || []);
1483
1463
  }
1484
1464
  }
1485
1465
  catch (e) {
@@ -1490,54 +1470,42 @@ selectedTopics: selectedTopicsProp, noFetch, dataEventCategory, dataEventAction,
1490
1470
  }))();
1491
1471
  }
1492
1472
  }, [communityId, noFetch]);
1493
- // const topicsPropString = topicsProp?.map((t) => t.id).join('-')
1494
- // const topicsStateString = topics?.map((t) => t.id).join('-')
1495
- // const forceTopicsPropString = forceTopics?.map((t) => t.id).join('-')
1496
- // useEffect(() => {
1497
- // if (
1498
- // topicsProp &&
1499
- // typeof topicsPropString !== 'undefined' &&
1500
- // topicsPropString !== topicsStateString
1501
- // ) {
1502
- // setTopics(topicsProp)
1503
- // }
1504
- // }, [topicsProp, topicsPropString, topicsStateString])
1505
- // const topicsWithoutForced = useMemo(
1506
- // () =>
1507
- // topics.filter(
1508
- // (t) =>
1509
- // !forceTopics?.some(
1510
- // (ft) =>
1511
- // (ft.id && ft.id === t.id) ||
1512
- // (ft.mappedCategoryId &&
1513
- // ft.mappedCategoryId === t.mappedCategoryId),
1514
- // ),
1515
- // ),
1516
- // [topicsStateString, forceTopicsPropString],
1517
- // )
1473
+ const topicsPropString = topicsProp === null || topicsProp === void 0 ? void 0 : topicsProp.map((t) => t.id).join('-');
1474
+ const topicsStateString = topics === null || topics === void 0 ? void 0 : topics.map((t) => t.id).join('-');
1475
+ const forceTopicsPropString = forceTopics === null || forceTopics === void 0 ? void 0 : forceTopics.map((t) => t.id).join('-');
1476
+ useEffect(() => {
1477
+ if (topicsProp &&
1478
+ typeof topicsPropString !== 'undefined' &&
1479
+ topicsPropString !== topicsStateString) {
1480
+ setTopics(topicsProp);
1481
+ }
1482
+ }, [topicsProp, topicsPropString, topicsStateString]);
1483
+ const topicsWithoutForced = useMemo(() => topics.filter((t) => !(forceTopics === null || forceTopics === void 0 ? void 0 : forceTopics.some((ft) => (ft.id && ft.id === t.id) ||
1484
+ (ft.mappedCategoryId &&
1485
+ ft.mappedCategoryId === t.mappedCategoryId)))), [topicsStateString, forceTopicsPropString]);
1518
1486
  return (React__default.createElement(StyledTopicSelectList$1, { "data-is-marrybaby": isMarryBaby, className: className, style: style },
1519
- topics.map((topic) => {
1520
- return (React__default.createElement(TopicItem$1, { key: `${topic.id}-${topic.category_id}`, topic: topic, disabled: disabled, selected: (selectedTopicsProp || selectedTopics).some((t) => (t.id && t.id === topic.id) ||
1521
- ((t === null || t === void 0 ? void 0 : t.category_id) && (t === null || t === void 0 ? void 0 : t.category_id) === topic.category_id)), onClick: () => {
1522
- const _selected = (selectedTopicsProp || selectedTopics);
1523
- const foundIndex = _selected.findIndex((_selected) => (_selected.id && _selected.id === topic.id) ||
1524
- ((_selected === null || _selected === void 0 ? void 0 : _selected.category_id) &&
1525
- (_selected === null || _selected === void 0 ? void 0 : _selected.category_id) === topic.category_id));
1526
- if (foundIndex !== -1) {
1527
- _selected.splice(foundIndex, 1);
1528
- }
1529
- else {
1530
- _selected.push(topic);
1531
- }
1532
- if (onChange && selectedTopicsProp) {
1533
- onChange(_selected.slice());
1534
- }
1535
- else {
1536
- onChange && onChange(_selected.slice());
1537
- setSelectedTopics(_selected.slice());
1538
- }
1539
- }, dataEventAction: dataEventAction, dataEventCategory: dataEventCategory, dataEventLabel: dataEventLabel }));
1540
- }),
1487
+ forceTopics.map((topic) => (React__default.createElement(TopicItem$1, { key: `${topic.id}-${topic.mappedCategoryId}`, topic: topic, disabled: true, selected: true, dataEventAction: dataEventAction, dataEventCategory: dataEventCategory, dataEventLabel: dataEventLabel }))),
1488
+ topicsWithoutForced.map((topic) => (React__default.createElement(TopicItem$1, { key: `${topic.id}-${topic.mappedCategoryId}`, topic: topic, disabled: disabled, selected: (selectedTopicsProp || selectedTopics).some((t) => (t.id && t.id === topic.id) ||
1489
+ (t.mappedCategoryId &&
1490
+ t.mappedCategoryId === topic.mappedCategoryId)), onClick: () => {
1491
+ const _selected = selectedTopicsProp || selectedTopics;
1492
+ const foundIndex = _selected.findIndex((_selected) => (_selected.id && _selected.id === topic.id) ||
1493
+ (_selected.mappedCategoryId &&
1494
+ _selected.mappedCategoryId === topic.mappedCategoryId));
1495
+ if (foundIndex !== -1) {
1496
+ _selected.splice(foundIndex, 1);
1497
+ }
1498
+ else {
1499
+ _selected.push(topic);
1500
+ }
1501
+ if (onChange && selectedTopicsProp) {
1502
+ onChange(_selected.slice());
1503
+ }
1504
+ else {
1505
+ onChange && onChange(_selected.slice());
1506
+ setSelectedTopics(_selected.slice());
1507
+ }
1508
+ }, dataEventAction: dataEventAction, dataEventCategory: dataEventCategory, dataEventLabel: dataEventLabel }))),
1541
1509
  (isLoading || isLoadingTopics) && React__default.createElement(Loading$1, { className: "topic-spinner" })));
1542
1510
  };
1543
1511
  const TopicItem$1 = (_a) => {
@@ -2466,7 +2434,7 @@ const RichTextEditor = ({ html, onChange, className, style, placeholder, onImage
2466
2434
  onChange === null || onChange === void 0 ? void 0 : onChange(value);
2467
2435
  }
2468
2436
  }
2469
- }, 200), []);
2437
+ }, 500), []);
2470
2438
  useEffect(() => {
2471
2439
  onInvalidUrlsChange && onInvalidUrlsChange(invalidUrls);
2472
2440
  }, [invalidUrls]);
@@ -3244,6 +3212,11 @@ const StyleActionFooter = styled.div `
3244
3212
  flex-direction: column;
3245
3213
  justify-content: flex-start;
3246
3214
  align-items: flex-start;
3215
+
3216
+ .action-wrapper {
3217
+ width: 100%;
3218
+ flex: 1 1 100%;
3219
+ }
3247
3220
  }
3248
3221
  .input-group {
3249
3222
  margin-bottom: 0 !important;
@@ -3416,11 +3389,9 @@ const applySpecialCharSite = [
3416
3389
  LOCALE.Malaysia,
3417
3390
  LOCALE.Vietnam,
3418
3391
  ];
3419
- const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited, forceSelectCommunity, forceSelectTopics, articleId, editPostData, defaultCommunity, communities, userInfo, isMarryBaby = false, }) => {
3392
+ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunity, articleId, editPostData, defaultCommunity, defaultTopics, userInfo, isMarryBaby = false, }) => {
3420
3393
  const isInEditMode = !!(editPostData === null || editPostData === void 0 ? void 0 : editPostData.id);
3421
- const { data: { locale,
3422
- // env: { togetherBasePath },
3423
- }, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
3394
+ const { data: { locale, env: { togetherBasePath }, }, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
3424
3395
  const { t } = useTranslations();
3425
3396
  const containerRef = useRef(null);
3426
3397
  const [isAskDoctor, setIsAskDoctor] = useState(false);
@@ -3431,7 +3402,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3431
3402
  label: t('community.choose'),
3432
3403
  value: '',
3433
3404
  });
3434
- const [selectedTopics, setSelectedTopics] = useState([...forceSelectTopics] || []);
3405
+ const [selectedTopics, setSelectedTopics] = useState([]);
3435
3406
  const [error, setError] = useState({});
3436
3407
  const [imageFiles, setImageFiles] = useState([]);
3437
3408
  const [bannedWords, setBannedWords] = useState([]);
@@ -3470,16 +3441,14 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3470
3441
  } })),
3471
3442
  },
3472
3443
  ];
3473
- // const currentCommunity = useMemo(() => {
3474
- // if (!communityValue.value) return null
3475
- // const result = communitiesList.find(
3476
- // (item) => String(item.id) === String(communityValue.value),
3477
- // )
3478
- // if (!result) return null
3479
- // return result
3480
- // }, [communityValue, communitiesList])
3481
- const currentCommunity = forceSelectCommunity ||
3482
- communities.find((c) => `${c.id || ''}-${c.mappedCategoryId || ''}` === communityValue.value);
3444
+ const currentCommunity = useMemo(() => {
3445
+ if (!communityValue.value)
3446
+ return null;
3447
+ const result = communitiesList.find((item) => String(item.id) === String(communityValue.value));
3448
+ if (!result)
3449
+ return null;
3450
+ return result;
3451
+ }, [communityValue, communitiesList]);
3483
3452
  // HANDLE etra action when OPEN AND CLOSE
3484
3453
  useEffect(() => {
3485
3454
  if (editPostData) {
@@ -3490,7 +3459,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3490
3459
  label: post.community.name,
3491
3460
  value: `${post.community.id || ''}-${post.community.mappedCategoryId || ''}`,
3492
3461
  });
3493
- // setSelectedTopics(post.topics || [])
3462
+ setSelectedTopics(post.topics || []);
3494
3463
  setImageFiles(post.photos || []);
3495
3464
  setIsAskDoctor(!!post.isAskDoctor || false);
3496
3465
  }
@@ -3501,9 +3470,9 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3501
3470
  value: `${defaultCommunity.id || ''}-${defaultCommunity.mappedCategoryId || ''}`,
3502
3471
  });
3503
3472
  }
3504
- // if (defaultTopics) {
3505
- // setSelectedTopics(defaultTopics)
3506
- // }
3473
+ if (defaultTopics) {
3474
+ setSelectedTopics(defaultTopics);
3475
+ }
3507
3476
  }
3508
3477
  }, []);
3509
3478
  useEffect(() => {
@@ -3530,8 +3499,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3530
3499
  ]);
3531
3500
  const communitiesApi = (_a = resListCommunity === null || resListCommunity === void 0 ? void 0 : resListCommunity.data) === null || _a === void 0 ? void 0 : _a.communities;
3532
3501
  if (Array.isArray(communitiesApi) && communitiesApi.length) {
3533
- const resultFormat = communitiesApi.map((item) => formatCommunity(item));
3534
- setCommunitiesList(resultFormat);
3502
+ setCommunitiesList(communitiesApi);
3535
3503
  }
3536
3504
  const topicRes = (_b = resListTopic === null || resListTopic === void 0 ? void 0 : resListTopic.data) === null || _b === void 0 ? void 0 : _b.topics;
3537
3505
  if (Array.isArray(topicRes)) {
@@ -3543,12 +3511,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3543
3511
  }
3544
3512
  }))();
3545
3513
  }, []);
3546
- const onCreateEditSuccess = (res) => {
3547
- if (onPostCreatedEdited) {
3548
- onPostCreatedEdited(formatPost(res), isInEditMode);
3549
- }
3550
- onClose && onClose();
3551
- };
3552
3514
  const validationUploadPhoto = (files) => {
3553
3515
  const errorMessage = Object.assign({}, error);
3554
3516
  if (files && files.length > 10) {
@@ -3631,20 +3593,22 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3631
3593
  console.log(value);
3632
3594
  }
3633
3595
  };
3634
- console.log(uncategorizedId);
3635
- console.log(topicsList);
3636
3596
  const submitPost = (uncategorized) => __awaiter(void 0, void 0, void 0, function* () {
3637
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
3597
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3638
3598
  const isError = validationPost();
3639
3599
  if (isError)
3640
3600
  return;
3641
3601
  const bodyFormData = yield getPostFormData({
3642
3602
  title: titleValue,
3643
3603
  description: descriptionValue,
3644
- communityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
3604
+ communityId: uncategorized
3605
+ ? uncategorizedId
3606
+ : String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
3645
3607
  imageFiles,
3646
3608
  previewUrl,
3647
- topicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
3609
+ topicIds: uncategorized
3610
+ ? []
3611
+ : selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
3648
3612
  locale,
3649
3613
  sanitizeFunction,
3650
3614
  categoryCommunityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.mappedCategoryId) || ''),
@@ -3656,7 +3620,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3656
3620
  if (articleId) {
3657
3621
  bodyFormData.append('article_id', articleId);
3658
3622
  }
3659
- console.log(uncategorized);
3660
3623
  let res;
3661
3624
  if (isInEditMode) {
3662
3625
  if (editPostData === null || editPostData === void 0 ? void 0 : editPostData.id) {
@@ -3671,28 +3634,17 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3671
3634
  res = yield createPost({
3672
3635
  formData: bodyFormData,
3673
3636
  locale,
3674
- isArticleComment: true,
3637
+ isArticleComment: !(currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) && !!(currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.mappedCategoryId),
3675
3638
  });
3676
3639
  }
3677
3640
  const resData = res === null || res === void 0 ? void 0 : res.data;
3678
3641
  if ((resData === null || resData === void 0 ? void 0 : resData.id) && !((_b = (_a = res === null || res === void 0 ? void 0 : res.messages) === null || _a === void 0 ? void 0 : _a.moderation) === null || _b === void 0 ? void 0 : _b.type)) {
3679
- // const params = `action=${
3680
- // editPostData ? 'editPost' : 'createPost'
3681
- // }&askDoctor=${resData?.is_question ? 'true' : 'false'}`
3682
- // const postHref = `${getCurrentBaseUrl(locale)}${togetherBasePath}/${
3683
- // resData?.community?.slug
3684
- // }/${resData?.slug}/?${params}`
3685
- // window.location.href = postHref
3686
- pushNotifications({
3687
- message: isInEditMode
3688
- ? t('updatePost.popup.success')
3689
- : t('createPost.popup.success'),
3690
- type: 'success',
3691
- });
3692
- onCreateEditSuccess(resData);
3642
+ const params = `action=${editPostData ? 'editPost' : 'createPost'}&askDoctor=${(resData === null || resData === void 0 ? void 0 : resData.is_question) ? 'true' : 'false'}`;
3643
+ const postHref = `${getCurrentBaseUrl(locale)}${togetherBasePath}/${(_c = resData === null || resData === void 0 ? void 0 : resData.community) === null || _c === void 0 ? void 0 : _c.slug}/${resData === null || resData === void 0 ? void 0 : resData.slug}/?${params}`;
3644
+ window.location.href = postHref;
3693
3645
  }
3694
3646
  else {
3695
- if (((_d = (_c = res === null || res === void 0 ? void 0 : res.messages) === null || _c === void 0 ? void 0 : _c.moderation) === null || _d === void 0 ? void 0 : _d.type) === 'banned') {
3647
+ if (((_e = (_d = res === null || res === void 0 ? void 0 : res.messages) === null || _d === void 0 ? void 0 : _d.moderation) === null || _e === void 0 ? void 0 : _e.type) === 'banned') {
3696
3648
  pushNotifications({
3697
3649
  title: t('notification.post.blocked.title'),
3698
3650
  message: t('notification.post.blocked.message'),
@@ -3702,7 +3654,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3702
3654
  setBannedWords(res.messages.moderation.words);
3703
3655
  }
3704
3656
  }
3705
- else if (((_f = (_e = res === null || res === void 0 ? void 0 : res.messages) === null || _e === void 0 ? void 0 : _e.moderation) === null || _f === void 0 ? void 0 : _f.type) === 'suspect') {
3657
+ else if (((_g = (_f = res === null || res === void 0 ? void 0 : res.messages) === null || _f === void 0 ? void 0 : _f.moderation) === null || _g === void 0 ? void 0 : _g.type) === 'suspect') {
3706
3658
  pushNotifications({
3707
3659
  title: t('notification.post.suspect.title'),
3708
3660
  message: t('notification.post.suspect.message'),
@@ -3710,7 +3662,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3710
3662
  });
3711
3663
  onClose && onClose();
3712
3664
  }
3713
- else if ((_h = (_g = res === null || res === void 0 ? void 0 : res.messages) === null || _g === void 0 ? void 0 : _g.find) === null || _h === void 0 ? void 0 : _h.call(_g, (m) => { var _a; return !!((_a = m === null || m === void 0 ? void 0 : m.includes) === null || _a === void 0 ? void 0 : _a.call(m, 'suspend')); })) {
3665
+ else if ((_j = (_h = res === null || res === void 0 ? void 0 : res.messages) === null || _h === void 0 ? void 0 : _h.find) === null || _j === void 0 ? void 0 : _j.call(_h, (m) => { var _a; return !!((_a = m === null || m === void 0 ? void 0 : m.includes) === null || _a === void 0 ? void 0 : _a.call(m, 'suspend')); })) {
3714
3666
  pushNotifications({
3715
3667
  message: t('notification.suspend.message'),
3716
3668
  type: 'danger',
@@ -3719,7 +3671,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3719
3671
  }
3720
3672
  else {
3721
3673
  pushNotifications({
3722
- message: ((_j = res === null || res === void 0 ? void 0 : res.messages) === null || _j === void 0 ? void 0 : _j[0]) || t('notification.failure'),
3674
+ message: ((_k = res === null || res === void 0 ? void 0 : res.messages) === null || _k === void 0 ? void 0 : _k[0]) || t('notification.failure'),
3723
3675
  type: 'danger',
3724
3676
  });
3725
3677
  }
@@ -3751,20 +3703,13 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3751
3703
  }
3752
3704
  };
3753
3705
  const onSubmitContinuePost = () => __awaiter(void 0, void 0, void 0, function* () {
3754
- var _k;
3706
+ var _l;
3755
3707
  const isError = validationPost();
3756
3708
  if (isError) {
3757
3709
  const keyElmToScroll = getFirstOrderErroKey(orderErrorFieldKey);
3758
3710
  handleScrollToError(keyElmToScroll);
3759
3711
  return;
3760
3712
  }
3761
- submitPost();
3762
- if (stepPost)
3763
- return;
3764
- if (isInEditMode) {
3765
- submitPost();
3766
- return;
3767
- }
3768
3713
  setStepPost('step_community');
3769
3714
  // Current just apply ai suggest community for Vietnam site
3770
3715
  if (locale === LOCALE.Vietnam && !isMarryBaby && !isInEditMode) {
@@ -3796,16 +3741,11 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3796
3741
  topic_in: listTopicId.join(),
3797
3742
  pageSize: 100,
3798
3743
  }), 'GET');
3799
- const topicsApi = (_k = resTopic === null || resTopic === void 0 ? void 0 : resTopic.data) === null || _k === void 0 ? void 0 : _k.topics;
3800
- // const topicSuggested = topicsApi
3801
- // ? topicsApi.map((item) => formatTopic(item))
3802
- // : ([] as Topic[])
3803
- let newTopics = [];
3804
- topicsApi === null || topicsApi === void 0 ? void 0 : topicsApi.forEach((item) => {
3805
- newTopics = newTopics.concat(item.discover_category);
3806
- });
3807
- // setTopics(newTopics)
3808
- setSelectedTopics(newTopics);
3744
+ const topicsApi = (_l = resTopic === null || resTopic === void 0 ? void 0 : resTopic.data) === null || _l === void 0 ? void 0 : _l.topics;
3745
+ const topicSuggested = topicsApi
3746
+ ? topicsApi.map((item) => formatTopic(item))
3747
+ : [];
3748
+ setSelectedTopics(topicSuggested);
3809
3749
  }
3810
3750
  }
3811
3751
  }
@@ -3818,6 +3758,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3818
3758
  }
3819
3759
  }
3820
3760
  });
3761
+ console.log('topicsList: ', topicsList);
3821
3762
  return (React__default.createElement(StyledCreateNewPost, { className: `${className} create-post-popup-frame`, style: style },
3822
3763
  React__default.createElement("div", { className: "input-group-container", ref: containerRef },
3823
3764
  React__default.createElement(StyledFormGroupInner, null,
@@ -3890,12 +3831,8 @@ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited
3890
3831
  setImageFiles(data);
3891
3832
  validationUploadPhoto(data);
3892
3833
  } }),
3893
- React__default.createElement("div", null,
3894
- React__default.createElement(Button, { className: "submit-btn pointer-event-child-none", size: "lg", "data-event-category": "Ask Doctor", "data-event-action": "Submit Question", "data-event-label": window.location.href, onClick: onSubmitContinuePost, loading: isLoadingSuggest, disabled: isLoadingSuggest },
3895
- /* {isInEditMode
3896
- ? t('createPost.popup.submit')
3897
- : t('onboarding.button.continue')} */
3898
- t('createPost.popup.submit'))))));
3834
+ React__default.createElement("div", { className: "action-wrapper" },
3835
+ React__default.createElement(Button, { className: "submit-btn pointer-event-child-none", size: "lg", "data-event-category": "Ask Doctor", "data-event-action": "Submit Question", "data-event-label": window.location.href, onClick: onSubmitContinuePost, loading: isLoadingSuggest, disabled: isLoadingSuggest }, t('onboarding.button.continue'))))));
3899
3836
  };
3900
3837
 
3901
3838
  const StyledTopicSelectList = styled.div `
@@ -1,49 +1,49 @@
1
- import { _ as __rest, a as __awaiter } from './tslib.es6-74e511e5.js';
1
+ import { _ as __rest, a as __awaiter } from './tslib.es6-a28612e9.js';
2
2
  import React__default, { useMemo, useEffect, useContext, useState, useRef, useCallback } from 'react';
3
- import { i as isInternalLink, L as LanguageSwitcher } from './index-46fe3ecd.js';
4
- import { a as CARE_LOCALES, b as CARE_BOOKING_LOCALES, T as TOGETHER_LOCALES, E as ECOM_LOCALES, S as STATIC_PAGES, L as LOCALE_SPECS } from './index-e901f471.js';
5
- import { g as getCurrentBaseUrl, a as getCurrentSsoUrl, b as getTogetherApiDomain, c as getDiscoverApiDomain, n as normalizeLink, e as normalizeLinkSlash, d as getCareApiDomain } from './normalizeLink-74f0a811.js';
6
- import { a as formatCommunity, b as formatPost } from './dataTransform-5e753a25.js';
3
+ import { i as isInternalLink, L as LanguageSwitcher } from './index-fb05ea22.js';
4
+ import { a as CARE_LOCALES, b as CARE_BOOKING_LOCALES, T as TOGETHER_LOCALES, E as ECOM_LOCALES, S as STATIC_PAGES, L as LOCALE_SPECS } from './index-481ad938.js';
5
+ import { g as getCurrentBaseUrl, a as getCurrentSsoUrl, b as getTogetherApiDomain, c as getDiscoverApiDomain, n as normalizeLink, e as normalizeLinkSlash, d as getCareApiDomain } from './normalizeLink-a8b6e66c.js';
6
+ import { a as formatCommunity, b as formatPost } from './dataTransform-a32da5ec.js';
7
7
  import { Close, Download } from '@hhgtech/icons/core';
8
8
  import { createStyles, Box, Indicator, useMantineTheme } from '@mantine/core';
9
- import { L as Logo } from './index-982321d5.js';
10
- import { u as useTranslations } from './index-667c32a0.js';
9
+ import { L as Logo } from './index-8cc0a55f.js';
10
+ import { u as useTranslations } from './index-eee7f80e.js';
11
11
  import throttle from 'lodash/throttle';
12
- import { I as Input } from './index-80c66805.js';
12
+ import { I as Input } from './index-90cac9e5.js';
13
13
  import '@mantine/dates';
14
- import './index-13ac8c47.js';
15
- import { C as CommonGAssets } from './index-29e07496.js';
16
- import './useMantineLocale-d3f0ec10.js';
17
- import { T as Text } from './index-a45bba40.js';
18
- import { B as Button$1 } from './index-246a053e.js';
19
- import './index.styles-41f74461.js';
20
- import './translationsContext-3e2e9520.js';
14
+ import './index-b06d4aac.js';
15
+ import { C as CommonGAssets } from './index-3e095706.js';
16
+ import './useMantineLocale-5a4595f2.js';
17
+ import { T as Text } from './index-8b47416e.js';
18
+ import { B as Button$1 } from './index-c2d7df1b.js';
19
+ import './index.styles-b22f6e1f.js';
20
+ import './translationsContext-b378aad7.js';
21
21
  import '@mantine/hooks';
22
- import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-86244ba7.js';
23
- import './other-04246228.js';
24
- import './index-1d317a46.js';
25
- import { L as LOCALISED_SLUGS } from './constants-10fac832.js';
22
+ import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-f9df87ad.js';
23
+ import './other-c7b41bb1.js';
24
+ import './index-9fb8d0d3.js';
25
+ import { L as LOCALISED_SLUGS } from './constants-2d6d49ae.js';
26
26
  import styled from '@emotion/styled';
27
- import { u as useCSSFocusPopupHelper, N as NavigationProfileButton } from './index-572335b6.js';
28
- import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-16e2912e.js';
29
- import { B as Button } from './index-19f88c7e.js';
30
- import { i as domainLocalesMarryBaby } from './utils-f8a59939.js';
27
+ import { u as useCSSFocusPopupHelper, N as NavigationProfileButton } from './index-900fa51b.js';
28
+ import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-04270867.js';
29
+ import { B as Button } from './index-12832709.js';
30
+ import { i as domainLocalesMarryBaby } from './utils-e173a83d.js';
31
31
  import { domainLocales } from './constantsDomainLocales.js';
32
- import { L as LOCALIZED_SLUGS } from './constants-25de28fa.js';
32
+ import { L as LOCALIZED_SLUGS } from './constants-0e4c7913.js';
33
33
  import { theme } from './miscTheme.js';
34
- import { H as Heading } from './index-1ec63921.js';
35
- import { I as Indicator$1 } from './index-807b078a.js';
36
- import { u as useIsInit } from './useIsInit-752387a1.js';
34
+ import { H as Heading } from './index-c903debb.js';
35
+ import { I as Indicator$1 } from './index-64e7e665.js';
36
+ import { u as useIsInit } from './useIsInit-dfcf70a1.js';
37
37
  import { setDefaultClass } from './miscDefaultClassWrapper.js';
38
38
  import dayjs from 'dayjs';
39
39
  import relativeTime from 'dayjs/plugin/relativeTime';
40
- import { U as UserAvatar } from './index-2ed7ad8b.js';
40
+ import { U as UserAvatar } from './index-32988940.js';
41
41
  import { ArrowRight } from '@hhgtech/icons/other';
42
42
  import formatString from 'string-format';
43
- import { C as Container } from './index-491adeb6.js';
44
- import { L as LOCALE } from './Locale-ea6fdb5d.js';
43
+ import { C as Container } from './index-1ab17628.js';
44
+ import { L as LOCALE } from './Locale-5c4592c0.js';
45
45
  import debounce from 'lodash/debounce';
46
- import { g as getDataWithCache } from './core-4e786b97.js';
46
+ import { g as getDataWithCache } from './core-c1984e84.js';
47
47
 
48
48
  const getEcomUrl = ({ path, locale, }) => {
49
49
  var _a;
@@ -2053,7 +2053,7 @@ const ItemNavButton = ({ item, color = 'blue' }) => {
2053
2053
  });
2054
2054
  }
2055
2055
  if (item.id === 'care') {
2056
- import('./doctor-97e9fadc.js').then((data) => {
2056
+ import('./doctor-6a91f2a7.js').then((data) => {
2057
2057
  if (data === null || data === void 0 ? void 0 : data.default)
2058
2058
  setIconJson(() => data.default);
2059
2059
  });
@@ -1,21 +1,21 @@
1
- import { _ as __rest } from './tslib.es6-74e511e5.js';
1
+ import { _ as __rest } from './tslib.es6-a28612e9.js';
2
2
  import React__default, { useState, useRef, useMemo, useEffect } from 'react';
3
3
  import { BabyBoyMB, BabyGirlMB } from '@hhgtech/icons/other';
4
4
  import { createStyles, rem, Box, Flex } from '@mantine/core';
5
- import { R as Radio } from './index-80c66805.js';
5
+ import { R as Radio } from './index-90cac9e5.js';
6
6
  import '@mantine/dates';
7
- import './index-e901f471.js';
8
- import './index-13ac8c47.js';
9
- import { C as CommonGAssets } from './index-29e07496.js';
10
- import './useMantineLocale-d3f0ec10.js';
11
- import { T as Text } from './index-a45bba40.js';
12
- import './index-246a053e.js';
13
- import './index.styles-41f74461.js';
14
- import { u as useTranslations } from './index-667c32a0.js';
7
+ import './index-481ad938.js';
8
+ import './index-b06d4aac.js';
9
+ import { C as CommonGAssets } from './index-3e095706.js';
10
+ import './useMantineLocale-5a4595f2.js';
11
+ import { T as Text } from './index-8b47416e.js';
12
+ import './index-c2d7df1b.js';
13
+ import './index.styles-b22f6e1f.js';
14
+ import { u as useTranslations } from './index-eee7f80e.js';
15
15
  import '@mantine/hooks';
16
- import './utils-86244ba7.js';
17
- import './other-04246228.js';
18
- import './index-1d317a46.js';
16
+ import './utils-f9df87ad.js';
17
+ import './other-c7b41bb1.js';
18
+ import './index-9fb8d0d3.js';
19
19
 
20
20
  var useStyles = createStyles((theme, { type }) => {
21
21
  const isMarryBaby = theme.other.template === 'mb';