@hhgtech/hhg-components 1.29.341-beta-2 → 1.29.341-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 (551) hide show
  1. package/build/{LastPeriod-9eefea2a.js → LastPeriod-058a6f81.js} +1 -1
  2. package/build/{MobileBottomNavigationIcon-a0ffcd8e.js → MobileBottomNavigationIcon-a74b8ccb.js} +3 -3
  3. package/build/{Spinner-d6bb966b.js → Spinner-288367bb.js} +1 -1
  4. package/build/{WhatsApp-b529958a.js → WhatsApp-49077d6d.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-c0ec1cf1.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-84177dca.js} +1 -1
  21. package/build/{dataTransform-6b597ed3.js → dataTransform-e7cf33ae.js} +2 -1
  22. package/build/ecom.js +4 -4
  23. package/build/{editor-35d94fad.js → editor-55f4dd37.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-c7fd0762.js} +1 -1
  34. package/build/esm/{MobileBottomNavigationIcon-29e019c8.js → MobileBottomNavigationIcon-432830d2.js} +3 -3
  35. package/build/esm/{Spinner-3b1b67e0.js → Spinner-494a2b65.js} +1 -1
  36. package/build/esm/{WhatsApp-a6e3103b.js → WhatsApp-ce437e53.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-e17bdee7.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-084b493e.js} +1 -1
  53. package/build/esm/{dataTransform-5e753a25.js → dataTransform-250a1729.js} +2 -1
  54. package/build/esm/ecom.js +4 -4
  55. package/build/esm/{editor-208df683.js → editor-ab335623.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-9b6f74f8.js → index-037e28cc.js} +1 -1
  87. package/build/esm/{index-9899a453.js → index-0b0b3183.js} +15 -15
  88. package/build/esm/{index-572335b6.js → index-0c954c7e.js} +10 -10
  89. package/build/esm/{index-94d4a4e3.js → index-1041a645.js} +2 -2
  90. package/build/esm/{index-830617a3.js → index-168a0107.js} +16 -16
  91. package/build/esm/{index-19f88c7e.js → index-1c00c755.js} +2 -2
  92. package/build/esm/{index-74735e6d.js → index-213165da.js} +2 -2
  93. package/build/esm/{index-180d1faa.js → index-247168d8.js} +3 -3
  94. package/build/esm/{index-6eb890a9.js → index-2994eab3.js} +6 -6
  95. package/build/esm/{index-e7e39350.js → index-3230c9ce.js} +6 -6
  96. package/build/esm/{index-807b078a.js → index-39227e43.js} +1 -1
  97. package/build/esm/{index-bb993df3.js → index-401eea2b.js} +2 -2
  98. package/build/esm/{index-00d2416f.js → index-415a135f.js} +6 -6
  99. package/build/esm/{index-763cdb62.js → index-42a20908.js} +1 -1
  100. package/build/esm/{index-6eed8b3d.js → index-4a6923f9.js} +3 -3
  101. package/build/esm/{index-8d1b0ad1.js → index-4be874f7.js} +2 -2
  102. package/build/esm/{index-97aab36e.js → index-513c0a05.js} +21 -21
  103. package/build/esm/{index-7ecbd997.js → index-52f93c32.js} +15 -15
  104. package/build/esm/{index-24fa332c.js → index-56aa71e0.js} +18 -18
  105. package/build/esm/{index-b3c118a5.js → index-692e3eb1.js} +5 -5
  106. package/build/esm/{index-bbe976f0.js → index-6f136469.js} +13 -13
  107. package/build/esm/{index-1ec63921.js → index-704f2d32.js} +2 -2
  108. package/build/esm/{index-6a731a36.js → index-71079636.js} +16 -16
  109. package/build/esm/{index-0e75b7c4.js → index-72025426.js} +18 -18
  110. package/build/esm/{index-c1d7b626.js → index-74a6af36.js} +1 -1
  111. package/build/esm/{index-ace93f70.js → index-79c91268.js} +18 -18
  112. package/build/esm/{index-affbfb29.js → index-7e090e79.js} +13 -13
  113. package/build/esm/{index-a45bba40.js → index-7fac204b.js} +2 -2
  114. package/build/esm/{index-3c2d9188.js → index-8171289b.js} +17 -17
  115. package/build/esm/{index-80c66805.js → index-8327d7a7.js} +14 -14
  116. package/build/esm/{index-f2502fa0.js → index-83b73781.js} +13 -13
  117. package/build/esm/{index-ebc5d978.js → index-888abc38.js} +1 -1
  118. package/build/esm/{index-3e9b48e7.js → index-91120906.js} +17 -17
  119. package/build/esm/{index-667c32a0.js → index-92f921ae.js} +1 -1
  120. package/build/esm/{index-c141fd67.js → index-964b1e68.js} +5 -5
  121. package/build/esm/{index-f2c42d02.js → index-9713e8c3.js} +3 -3
  122. package/build/esm/{index-13ac8c47.js → index-9947fc3b.js} +1 -3
  123. package/build/esm/{index-1b06e628.js → index-99e3e02b.js} +2 -2
  124. package/build/esm/{index-61db2247.js → index-a0d62903.js} +1 -1
  125. package/build/esm/{index-946aa38b.js → index-a6d85eb3.js} +3 -3
  126. package/build/esm/{index-e901f471.js → index-a71a30c8.js} +2 -2
  127. package/build/esm/{index-982321d5.js → index-a9218094.js} +6 -6
  128. package/build/esm/{index-ddbc04ab.js → index-aa01fca9.js} +5 -17
  129. package/build/esm/{index-7bb53d5b.js → index-abdb3b9a.js} +16 -16
  130. package/build/esm/{index-d6fe7854.js → index-ae5d49f3.js} +7 -7
  131. package/build/esm/{index-c01d3a42.js → index-b19cacb0.js} +32 -32
  132. package/build/esm/{index-8145fc1a.js → index-bb25a9df.js} +30 -30
  133. package/build/esm/{index-865aa557.js → index-bcb41d1e.js} +116 -179
  134. package/build/esm/{index-46fe3ecd.js → index-bf3c08c1.js} +3 -3
  135. package/build/esm/{index-1d317a46.js → index-c951ca24.js} +3 -3
  136. package/build/esm/{index-2ccbdd1f.js → index-caa2e08a.js} +2 -2
  137. package/build/esm/{index-1291feef.js → index-ccd6b61b.js} +21 -21
  138. package/build/esm/{index-246a053e.js → index-ccdd5f53.js} +1 -1
  139. package/build/esm/{index-70b8d99b.js → index-d61fbb47.js} +7 -7
  140. package/build/esm/{index-8a2f5132.js → index-d76e8d8b.js} +24 -24
  141. package/build/esm/{index-e061ea1b.js → index-d770caf6.js} +24 -24
  142. package/build/esm/{index-eb498ba6.js → index-dc0abc94.js} +4 -4
  143. package/build/esm/{index-d074bdba.js → index-e87ff521.js} +2 -2
  144. package/build/esm/{index-eb1a6db2.js → index-eca6e880.js} +5 -5
  145. package/build/esm/{index-2ed7ad8b.js → index-f51fab19.js} +2 -2
  146. package/build/esm/{index-4e80521b.js → index-f6b863fb.js} +16 -16
  147. package/build/esm/{index-6e01d926.js → index-fb1c10e5.js} +13 -13
  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-5e198306.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-ee18db3c.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-5297e699.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-f3c957b4.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-a831af6b.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-25e6053f.js} +19 -19
  204. package/build/esm/{types-8e78d42b.js → types-28a37d9f.js} +2 -2
  205. package/build/esm/types.js +2 -2
  206. package/build/esm/{useCategory-411fa688.js → useCategory-48799edd.js} +5 -5
  207. package/build/esm/{useHealthToolCache-c41be258.js → useHealthToolCache-43683984.js} +1 -1
  208. package/build/esm/{useMantineLocale-d3f0ec10.js → useMantineLocale-45b033da.js} +6 -6
  209. package/build/esm/{usePlacesAutocomplete-b3aa6142.js → usePlacesAutocomplete-f9b4111d.js} +1 -2
  210. package/build/esm/{useScreenSize-7c7dd78f.js → useScreenSize-5deb0d17.js} +2 -2
  211. package/build/esm/useTogetherAuthRequiredAction.js +9 -9
  212. package/build/esm/{utils-f8a59939.js → utils-38fc8de4.js} +3 -3
  213. package/build/esm/{utils-c44c3f5b.js → utils-9398bc33.js} +2 -2
  214. package/build/esm/{utils-61465473.js → utils-d2896e4e.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-a0b8b752.js → index-04c92437.js} +21 -21
  238. package/build/{index-b434a94a.js → index-04cab518.js} +6 -6
  239. package/build/{index-aa53b3b1.js → index-0a71ccf9.js} +2 -2
  240. package/build/{index-e3ad6c33.js → index-134220c3.js} +15 -15
  241. package/build/{index-4471d931.js → index-17972091.js} +1 -1
  242. package/build/{index-09c30d26.js → index-193224c1.js} +21 -21
  243. package/build/{index-f757868e.js → index-19e49053.js} +15 -15
  244. package/build/{index-027d9cf5.js → index-1ca9c553.js} +1 -1
  245. package/build/{index-7c12cb71.js → index-202c2d66.js} +2 -2
  246. package/build/{index-adacb710.js → index-25e25b08.js} +2 -2
  247. package/build/{index-91ce7046.js → index-28163ece.js} +24 -24
  248. package/build/{index-a137f57d.js → index-31168039.js} +5 -5
  249. package/build/{index-ed245754.js → index-3377921d.js} +13 -13
  250. package/build/{index-f25a2fb7.js → index-34c5f8dd.js} +1 -1
  251. package/build/{index-d6b61fb2.js → index-3e7cc5fc.js} +16 -16
  252. package/build/{index-334d8879.js → index-41d50c85.js} +10 -10
  253. package/build/{index-e138e6ed.js → index-4a554cfe.js} +2 -2
  254. package/build/{index-c6246d25.js → index-554e5720.js} +116 -179
  255. package/build/{index-7cfb98fc.js → index-584af57c.js} +1 -1
  256. package/build/{index-92a81125.js → index-5e3bb0dd.js} +30 -30
  257. package/build/{index-a284492f.js → index-660a9519.js} +16 -16
  258. package/build/{index-a85b6c62.js → index-67a65780.js} +2 -2
  259. package/build/{index-0570b1ef.js → index-6a6b27b8.js} +1 -1
  260. package/build/{index-ce0c12ef.js → index-6b110d45.js} +4 -4
  261. package/build/{index-0f73a330.js → index-6b43a4d5.js} +16 -16
  262. package/build/{index-3af4f0a4.js → index-758533d9.js} +6 -6
  263. package/build/{index-e5a8e680.js → index-7d353a99.js} +18 -18
  264. package/build/{index-3aba0ee4.js → index-8044d8ed.js} +7 -7
  265. package/build/{index-9d23de66.js → index-82918804.js} +2 -2
  266. package/build/{index-1a1eb46d.js → index-844f352b.js} +6 -6
  267. package/build/{index-75323ad7.js → index-8a7f359d.js} +2 -2
  268. package/build/{index-eee099c9.js → index-8abe3eb4.js} +2 -2
  269. package/build/{index-1b75104a.js → index-8bfc84e8.js} +13 -13
  270. package/build/{index-27ab0db5.js → index-8e8e5191.js} +3 -3
  271. package/build/{index-3b148276.js → index-903d17d9.js} +18 -18
  272. package/build/{index-1e16a525.js → index-91feb53f.js} +5 -5
  273. package/build/{index-b9c9b3f6.js → index-96ee8cd3.js} +5 -5
  274. package/build/{index-2164695d.js → index-99abb271.js} +2 -2
  275. package/build/{index-f2304e1f.js → index-a3e3a637.js} +18 -18
  276. package/build/{index-f0d39dec.js → index-a57b9cc2.js} +3 -3
  277. package/build/{index-f6a80236.js → index-a82045b5.js} +1 -1
  278. package/build/{index-b36f7e6a.js → index-a9032506.js} +6 -6
  279. package/build/{index-f365926c.js → index-ae9b5f13.js} +3 -3
  280. package/build/{index-8e1dbca2.js → index-ba8cc3d4.js} +24 -24
  281. package/build/{index-5f72166c.js → index-bd6de9b6.js} +1 -1
  282. package/build/{index-442f30e6.js → index-be581db7.js} +17 -17
  283. package/build/{index-4eca23e2.js → index-cc3fc1a0.js} +1 -1
  284. package/build/{index-a83bc735.js → index-ce2ff900.js} +1 -3
  285. package/build/{index-3fdce15c.js → index-cf39bc2d.js} +16 -16
  286. package/build/{index-2b92a7f2.js → index-d0b141f9.js} +14 -14
  287. package/build/{index-cc8eab4f.js → index-d4bae37f.js} +4 -17
  288. package/build/{index-c1e510a4.js → index-e49b2394.js} +7 -7
  289. package/build/{index-85b24adb.js → index-e68978af.js} +17 -17
  290. package/build/{index-09f6f9ec.js → index-ecfd5aee.js} +3 -3
  291. package/build/{index-bf221387.js → index-ed5cf41f.js} +13 -13
  292. package/build/{index-52ac7db6.js → index-f3981183.js} +3 -3
  293. package/build/{index-720362b6.js → index-f56d591e.js} +13 -13
  294. package/build/{index-cb55c26a.js → index-f6413649.js} +32 -32
  295. package/build/{index-03415644.js → index-f6c5e8a8.js} +2 -2
  296. package/build/{index-9624a1f5.js → index-f7b950f7.js} +2 -2
  297. package/build/{index-93d20ef3.js → index-f9b35761.js} +3 -3
  298. package/build/{index-4887f1d2.js → index-fed9ddd2.js} +2 -2
  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-f0a1684f.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-05555245.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-daf8cc5f.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-92e62927.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-3fc4f973.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-98964377.js} +19 -19
  355. package/build/{types-368cc9e4.js → types-10bdd22d.js} +2 -2
  356. package/build/types.js +2 -2
  357. package/build/{useCategory-f43d5734.js → useCategory-927cbf2a.js} +5 -5
  358. package/build/{useHealthToolCache-b3f4625c.js → useHealthToolCache-175828d9.js} +1 -1
  359. package/build/{useMantineLocale-8e0f0db3.js → useMantineLocale-51a926dd.js} +6 -6
  360. package/build/{usePlacesAutocomplete-f514fcd0.js → usePlacesAutocomplete-79188708.js} +1 -2
  361. package/build/{useScreenSize-ccc634ca.js → useScreenSize-953c92b9.js} +2 -2
  362. package/build/useTogetherAuthRequiredAction.js +9 -9
  363. package/build/{utils-2fdb578d.js → utils-429e4ae6.js} +3 -3
  364. package/build/{utils-9d5c44e7.js → utils-61d8c7bb.js} +2 -2
  365. package/build/{utils-3dc7a4f2.js → utils-a635cb51.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-9666c184.js} +0 -0
  393. /package/build/{BMI_BOYS.percentile.weekly-597e945b.js → BMI_BOYS.percentile.weekly-6cc76e6b.js} +0 -0
  394. /package/build/{BMI_BOYS.percentile.yearly-ca7e61f3.js → BMI_BOYS.percentile.yearly-35b33805.js} +0 -0
  395. /package/build/{BMI_BOYS.zscore.monthly-e2770173.js → BMI_BOYS.zscore.monthly-30306c98.js} +0 -0
  396. /package/build/{BMI_BOYS.zscore.weekly-b65fb031.js → BMI_BOYS.zscore.weekly-9017a9fb.js} +0 -0
  397. /package/build/{BMI_BOYS.zscore.yearly-7d09e7ee.js → BMI_BOYS.zscore.yearly-8a0b675b.js} +0 -0
  398. /package/build/{BMI_GIRLS.percentile.monthly-913542f8.js → BMI_GIRLS.percentile.monthly-37ae0b1f.js} +0 -0
  399. /package/build/{BMI_GIRLS.percentile.weekly-f5055571.js → BMI_GIRLS.percentile.weekly-b2f598ea.js} +0 -0
  400. /package/build/{BMI_GIRLS.percentile.yearly-0dc6142c.js → BMI_GIRLS.percentile.yearly-b54fe618.js} +0 -0
  401. /package/build/{BMI_GIRLS.zscore.monthly-22c58cb4.js → BMI_GIRLS.zscore.monthly-d343f809.js} +0 -0
  402. /package/build/{BMI_GIRLS.zscore.weekly-8face7ac.js → BMI_GIRLS.zscore.weekly-b8ce09f3.js} +0 -0
  403. /package/build/{BMI_GIRLS.zscore.yearly-f4af356a.js → BMI_GIRLS.zscore.yearly-29991573.js} +0 -0
  404. /package/build/{ChevronDown-f09d8d57.js → ChevronDown-36995af3.js} +0 -0
  405. /package/build/{Close-81263912.js → Close-840f2a57.js} +0 -0
  406. /package/build/{Google-9d4c8260.js → Google-4915e0a8.js} +0 -0
  407. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-bbe6cac3.js → HEAD CIRCUM_BOYS.percentile.monthly-a6071b3e.js} +0 -0
  408. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-316251f4.js → HEAD CIRCUM_BOYS.percentile.weekly-142ccaa8.js} +0 -0
  409. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-cb4197ae.js → HEAD CIRCUM_BOYS.percentile.yearly-33139f00.js} +0 -0
  410. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-4ad81dfb.js → HEAD CIRCUM_BOYS.zscore.monthly-2841eb0e.js} +0 -0
  411. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-31767820.js → HEAD CIRCUM_BOYS.zscore.weekly-da4f019d.js} +0 -0
  412. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ad0ec53a.js → HEAD CIRCUM_BOYS.zscore.yearly-2aff721c.js} +0 -0
  413. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f1eb451a.js → HEAD CIRCUM_GIRLS.percentile.monthly-12e9b48f.js} +0 -0
  414. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-95e95c4f.js → HEAD CIRCUM_GIRLS.percentile.weekly-61e1dcdd.js} +0 -0
  415. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-63e41f07.js → HEAD CIRCUM_GIRLS.percentile.yearly-240b0c40.js} +0 -0
  416. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-35c89da5.js → HEAD CIRCUM_GIRLS.zscore.monthly-15c8874b.js} +0 -0
  417. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-202572af.js → HEAD CIRCUM_GIRLS.zscore.weekly-1634772e.js} +0 -0
  418. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-85f400e0.js → HEAD CIRCUM_GIRLS.zscore.yearly-669f21a5.js} +0 -0
  419. /package/build/{HEIGHT_BOYS.percentile.monthly-b43a0e0f.js → HEIGHT_BOYS.percentile.monthly-98d2f4f0.js} +0 -0
  420. /package/build/{HEIGHT_BOYS.percentile.weekly-597aee7e.js → HEIGHT_BOYS.percentile.weekly-80eaf258.js} +0 -0
  421. /package/build/{HEIGHT_BOYS.percentile.yearly-6f2813e1.js → HEIGHT_BOYS.percentile.yearly-a2b2519d.js} +0 -0
  422. /package/build/{HEIGHT_BOYS.zscore.monthly-506f6627.js → HEIGHT_BOYS.zscore.monthly-c0852382.js} +0 -0
  423. /package/build/{HEIGHT_BOYS.zscore.weekly-19f1ec85.js → HEIGHT_BOYS.zscore.weekly-db9d75fd.js} +0 -0
  424. /package/build/{HEIGHT_BOYS.zscore.yearly-ae5a5cbb.js → HEIGHT_BOYS.zscore.yearly-2a62c9c1.js} +0 -0
  425. /package/build/{HEIGHT_GIRLS.percentile.monthly-9c994ecc.js → HEIGHT_GIRLS.percentile.monthly-518d4a21.js} +0 -0
  426. /package/build/{HEIGHT_GIRLS.percentile.weekly-4f2dff00.js → HEIGHT_GIRLS.percentile.weekly-228e6730.js} +0 -0
  427. /package/build/{HEIGHT_GIRLS.percentile.yearly-debbec37.js → HEIGHT_GIRLS.percentile.yearly-284e0b87.js} +0 -0
  428. /package/build/{HEIGHT_GIRLS.zscore.monthly-8d6f0970.js → HEIGHT_GIRLS.zscore.monthly-53d3029c.js} +0 -0
  429. /package/build/{HEIGHT_GIRLS.zscore.weekly-6c2c30b6.js → HEIGHT_GIRLS.zscore.weekly-a5b58e56.js} +0 -0
  430. /package/build/{HEIGHT_GIRLS.zscore.yearly-f65a514b.js → HEIGHT_GIRLS.zscore.yearly-9627cbbb.js} +0 -0
  431. /package/build/{Locale-1e065e34.js → Locale-7419e563.js} +0 -0
  432. /package/build/{Visible-8685187f.js → Visible-e5e8ef3a.js} +0 -0
  433. /package/build/{WEIGHT_BOYS.percentile.monthly-e7ee06a6.js → WEIGHT_BOYS.percentile.monthly-70818d9f.js} +0 -0
  434. /package/build/{WEIGHT_BOYS.percentile.weekly-123009df.js → WEIGHT_BOYS.percentile.weekly-632c22cf.js} +0 -0
  435. /package/build/{WEIGHT_BOYS.percentile.yearly-a09ebb9b.js → WEIGHT_BOYS.percentile.yearly-f80f1754.js} +0 -0
  436. /package/build/{WEIGHT_BOYS.zscore.monthly-3e242d32.js → WEIGHT_BOYS.zscore.monthly-b44f9a01.js} +0 -0
  437. /package/build/{WEIGHT_BOYS.zscore.weekly-97cc24bc.js → WEIGHT_BOYS.zscore.weekly-3e391c04.js} +0 -0
  438. /package/build/{WEIGHT_BOYS.zscore.yearly-36566f1c.js → WEIGHT_BOYS.zscore.yearly-95ad9f44.js} +0 -0
  439. /package/build/{WEIGHT_GIRLS.percentile.monthly-fd4c7a74.js → WEIGHT_GIRLS.percentile.monthly-bd895eee.js} +0 -0
  440. /package/build/{WEIGHT_GIRLS.percentile.weekly-668b3731.js → WEIGHT_GIRLS.percentile.weekly-ef79bf3a.js} +0 -0
  441. /package/build/{WEIGHT_GIRLS.percentile.yearly-5d2e1adc.js → WEIGHT_GIRLS.percentile.yearly-2a6bc4a2.js} +0 -0
  442. /package/build/{WEIGHT_GIRLS.zscore.monthly-624ae9d7.js → WEIGHT_GIRLS.zscore.monthly-7bfa727b.js} +0 -0
  443. /package/build/{WEIGHT_GIRLS.zscore.weekly-c058a915.js → WEIGHT_GIRLS.zscore.weekly-0855e58c.js} +0 -0
  444. /package/build/{WEIGHT_GIRLS.zscore.yearly-3bd569b3.js → WEIGHT_GIRLS.zscore.yearly-4d5254b2.js} +0 -0
  445. /package/build/{animation-99bd29ad.js → animation-02f619c3.js} +0 -0
  446. /package/build/{constants-f48bf2f1.js → constants-2c4032b6.js} +0 -0
  447. /package/build/{constants-e08dab3d.js → constants-3f86cf8c.js} +0 -0
  448. /package/build/{constants-08bbc729.js → constants-5b5ca7fb.js} +0 -0
  449. /package/build/{dataTransform-e6127b7e.js → dataTransform-389c7463.js} +0 -0
  450. /package/build/{doctor-3fbd02e8.js → doctor-aea98f08.js} +0 -0
  451. /package/build/esm/{BMI_BOYS.percentile.monthly-cde59a74.js → BMI_BOYS.percentile.monthly-83488aed.js} +0 -0
  452. /package/build/esm/{BMI_BOYS.percentile.weekly-bf9bedac.js → BMI_BOYS.percentile.weekly-4cfb1e99.js} +0 -0
  453. /package/build/esm/{BMI_BOYS.percentile.yearly-bfcb4799.js → BMI_BOYS.percentile.yearly-a8ece4a4.js} +0 -0
  454. /package/build/esm/{BMI_BOYS.zscore.monthly-ce953cda.js → BMI_BOYS.zscore.monthly-5525161f.js} +0 -0
  455. /package/build/esm/{BMI_BOYS.zscore.weekly-9e2ecf80.js → BMI_BOYS.zscore.weekly-644e9b03.js} +0 -0
  456. /package/build/esm/{BMI_BOYS.zscore.yearly-74edb48c.js → BMI_BOYS.zscore.yearly-eea62d5b.js} +0 -0
  457. /package/build/esm/{BMI_GIRLS.percentile.monthly-084d89b4.js → BMI_GIRLS.percentile.monthly-03d7996c.js} +0 -0
  458. /package/build/esm/{BMI_GIRLS.percentile.weekly-0a610e9b.js → BMI_GIRLS.percentile.weekly-e0af3b82.js} +0 -0
  459. /package/build/esm/{BMI_GIRLS.percentile.yearly-c91889c3.js → BMI_GIRLS.percentile.yearly-ee9efcd8.js} +0 -0
  460. /package/build/esm/{BMI_GIRLS.zscore.monthly-6510f76d.js → BMI_GIRLS.zscore.monthly-e53e8af0.js} +0 -0
  461. /package/build/esm/{BMI_GIRLS.zscore.weekly-e8130bee.js → BMI_GIRLS.zscore.weekly-cb2e7a39.js} +0 -0
  462. /package/build/esm/{BMI_GIRLS.zscore.yearly-48749be4.js → BMI_GIRLS.zscore.yearly-563be44a.js} +0 -0
  463. /package/build/esm/{ChevronDown-7e1d7be3.js → ChevronDown-27d9dc44.js} +0 -0
  464. /package/build/esm/{Close-eda8cb6b.js → Close-32a40d4d.js} +0 -0
  465. /package/build/esm/{Google-12c14ae6.js → Google-55a847f9.js} +0 -0
  466. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-e877078a.js → HEAD CIRCUM_BOYS.percentile.monthly-1a07cba2.js} +0 -0
  467. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-4aa35668.js → HEAD CIRCUM_BOYS.percentile.weekly-f6535a48.js} +0 -0
  468. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-b7083b14.js → HEAD CIRCUM_BOYS.percentile.yearly-845509e7.js} +0 -0
  469. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-58e37e42.js → HEAD CIRCUM_BOYS.zscore.monthly-bab65948.js} +0 -0
  470. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-3fc837d7.js → HEAD CIRCUM_BOYS.zscore.weekly-568d2e20.js} +0 -0
  471. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-f4ae1f43.js → HEAD CIRCUM_BOYS.zscore.yearly-b7a34a7a.js} +0 -0
  472. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-b7026959.js → HEAD CIRCUM_GIRLS.percentile.monthly-15aefb8d.js} +0 -0
  473. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-74347545.js → HEAD CIRCUM_GIRLS.percentile.weekly-afc940ca.js} +0 -0
  474. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-720df95d.js → HEAD CIRCUM_GIRLS.percentile.yearly-23332776.js} +0 -0
  475. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-0d1e58f3.js → HEAD CIRCUM_GIRLS.zscore.monthly-2bcfb8e3.js} +0 -0
  476. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2dabd4d2.js → HEAD CIRCUM_GIRLS.zscore.weekly-df80ea9b.js} +0 -0
  477. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-61207834.js → HEAD CIRCUM_GIRLS.zscore.yearly-0dcac27f.js} +0 -0
  478. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-4d3cf734.js → HEIGHT_BOYS.percentile.monthly-f6962aaa.js} +0 -0
  479. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-ab647b2f.js → HEIGHT_BOYS.percentile.weekly-1dcaf4ba.js} +0 -0
  480. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-10d3af20.js → HEIGHT_BOYS.percentile.yearly-abf1352e.js} +0 -0
  481. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-ccfd9a17.js → HEIGHT_BOYS.zscore.monthly-63b3e39e.js} +0 -0
  482. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-3ed442e3.js → HEIGHT_BOYS.zscore.weekly-2607fc0c.js} +0 -0
  483. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-1ddc0ec5.js → HEIGHT_BOYS.zscore.yearly-bbdff4db.js} +0 -0
  484. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-0d34da48.js → HEIGHT_GIRLS.percentile.monthly-9ea693bf.js} +0 -0
  485. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-7461c975.js → HEIGHT_GIRLS.percentile.weekly-a6576c45.js} +0 -0
  486. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-74138c85.js → HEIGHT_GIRLS.percentile.yearly-7a39c168.js} +0 -0
  487. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-ba3eb555.js → HEIGHT_GIRLS.zscore.monthly-bc266d87.js} +0 -0
  488. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-9c79b8b1.js → HEIGHT_GIRLS.zscore.weekly-06fb8f3b.js} +0 -0
  489. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-6e082c06.js → HEIGHT_GIRLS.zscore.yearly-4bdd1200.js} +0 -0
  490. /package/build/esm/{Locale-ea6fdb5d.js → Locale-a69747b0.js} +0 -0
  491. /package/build/esm/{Visible-da8c1ddd.js → Visible-424fec66.js} +0 -0
  492. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-db00be6d.js → WEIGHT_BOYS.percentile.monthly-8f2c016c.js} +0 -0
  493. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3a76633f.js → WEIGHT_BOYS.percentile.weekly-7021c87e.js} +0 -0
  494. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-366a6367.js → WEIGHT_BOYS.percentile.yearly-e5372e8e.js} +0 -0
  495. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-6df5573b.js → WEIGHT_BOYS.zscore.monthly-d6275cf8.js} +0 -0
  496. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-55dd9fcc.js → WEIGHT_BOYS.zscore.weekly-73a9df13.js} +0 -0
  497. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-6f718b77.js → WEIGHT_BOYS.zscore.yearly-206ae55c.js} +0 -0
  498. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-dca1eef7.js → WEIGHT_GIRLS.percentile.monthly-4bf40fa6.js} +0 -0
  499. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-a6380333.js → WEIGHT_GIRLS.percentile.weekly-07cefe3c.js} +0 -0
  500. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-2ed67f29.js → WEIGHT_GIRLS.percentile.yearly-99e7afa4.js} +0 -0
  501. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-ba4f1be0.js → WEIGHT_GIRLS.zscore.monthly-5b624d48.js} +0 -0
  502. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-36cfc8ed.js → WEIGHT_GIRLS.zscore.weekly-30dcd73f.js} +0 -0
  503. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-3aa18fda.js → WEIGHT_GIRLS.zscore.yearly-b6df02e6.js} +0 -0
  504. /package/build/esm/{animation-277ec211.js → animation-67d6c696.js} +0 -0
  505. /package/build/esm/{constants-358f3638.js → constants-55db0870.js} +0 -0
  506. /package/build/esm/{constants-8489438b.js → constants-ab0a2b51.js} +0 -0
  507. /package/build/esm/{constants-25de28fa.js → constants-e522b798.js} +0 -0
  508. /package/build/esm/{dataTransform-d325133c.js → dataTransform-ab9e763e.js} +0 -0
  509. /package/build/esm/{doctor-97e9fadc.js → doctor-f52d6a86.js} +0 -0
  510. /package/build/esm/{index-8dcf9467.js → index-2202b890.js} +0 -0
  511. /package/build/esm/{index-31826a7c.js → index-2f4ae427.js} +0 -0
  512. /package/build/esm/{index-0909c509.js → index-59878bd2.js} +0 -0
  513. /package/build/esm/{index-43a93c49.js → index-5b078075.js} +0 -0
  514. /package/build/esm/{index-9802cb1c.js → index-5e780652.js} +0 -0
  515. /package/build/esm/{index-29e07496.js → index-c1e437e3.js} +0 -0
  516. /package/build/esm/{index-491adeb6.js → index-ce2fc777.js} +0 -0
  517. /package/build/esm/{index-74a0b1f7.js → index-f722ef2f.js} +0 -0
  518. /package/build/esm/{index.styles-41f74461.js → index.styles-00f152ae.js} +0 -0
  519. /package/build/esm/{localizeNumberFormat-df38f049.js → localizeNumberFormat-4c9a21df.js} +0 -0
  520. /package/build/esm/{normalizeLink-74f0a811.js → normalizeLink-c1d84f46.js} +0 -0
  521. /package/build/esm/{other-04246228.js → other-41878e68.js} +0 -0
  522. /package/build/esm/{paths-aad80498.js → paths-2bb7ca21.js} +0 -0
  523. /package/build/esm/{translationsContext-3e2e9520.js → translationsContext-9c7299cf.js} +0 -0
  524. /package/build/esm/{tslib.es6-74e511e5.js → tslib.es6-c2c5be8e.js} +0 -0
  525. /package/build/esm/{types-b62e3998.js → types-73d96589.js} +0 -0
  526. /package/build/esm/{useIsInit-752387a1.js → useIsInit-326490ca.js} +0 -0
  527. /package/build/esm/{useOutsideClick-de3022ff.js → useOutsideClick-020fd3ee.js} +0 -0
  528. /package/build/esm/{useScrollbarSize-a0baa763.js → useScrollbarSize-6c4260fa.js} +0 -0
  529. /package/build/esm/{useUniqueId-46461d21.js → useUniqueId-b6935208.js} +0 -0
  530. /package/build/esm/{utils-86244ba7.js → utils-4d8f4c8f.js} +0 -0
  531. /package/build/{index-d6c5473c.js → index-42605a94.js} +0 -0
  532. /package/build/{index-cbcae2ca.js → index-838b3839.js} +0 -0
  533. /package/build/{index-ef3d7e43.js → index-8de81482.js} +0 -0
  534. /package/build/{index-c4b42bc5.js → index-a951fee9.js} +0 -0
  535. /package/build/{index-0eb20162.js → index-b9948168.js} +0 -0
  536. /package/build/{index-d2aa1303.js → index-d068e79b.js} +0 -0
  537. /package/build/{index-96e4d9d8.js → index-df015e92.js} +0 -0
  538. /package/build/{index-80a6be79.js → index-e942748f.js} +0 -0
  539. /package/build/{index.styles-c8bfc88a.js → index.styles-412eb971.js} +0 -0
  540. /package/build/{localizeNumberFormat-8f2bc8be.js → localizeNumberFormat-0a8d3cec.js} +0 -0
  541. /package/build/{normalizeLink-512d95f0.js → normalizeLink-d76537c3.js} +0 -0
  542. /package/build/{other-b0296231.js → other-87be9d91.js} +0 -0
  543. /package/build/{paths-4e0a05d4.js → paths-7a0f0ef7.js} +0 -0
  544. /package/build/{translationsContext-669b2597.js → translationsContext-42ede26c.js} +0 -0
  545. /package/build/{tslib.es6-09b8177f.js → tslib.es6-a8efa306.js} +0 -0
  546. /package/build/{types-79a33b97.js → types-109e39f7.js} +0 -0
  547. /package/build/{useIsInit-32fa67bb.js → useIsInit-790e7b6f.js} +0 -0
  548. /package/build/{useOutsideClick-d1bc615f.js → useOutsideClick-2ec28576.js} +0 -0
  549. /package/build/{useScrollbarSize-bd3e62e4.js → useScrollbarSize-5e9bedc4.js} +0 -0
  550. /package/build/{useUniqueId-17449f5a.js → useUniqueId-a5b1a9fc.js} +0 -0
  551. /package/build/{utils-226fb693.js → utils-4ad82a02.js} +0 -0
@@ -1,51 +1,51 @@
1
- import { _ as __rest, a as __awaiter } from './tslib.es6-74e511e5.js';
1
+ import { _ as __rest, a as __awaiter } from './tslib.es6-c2c5be8e.js';
2
2
  import React__default, { createContext, useState, useContext, useEffect } from 'react';
3
- import { T as Tabs } from './index-1d317a46.js';
4
- import { L as Loading } from './index-d074bdba.js';
5
- import './index-13ac8c47.js';
6
- import { g as formatArticle } from './dataTransform-5e753a25.js';
3
+ import { T as Tabs } from './index-c951ca24.js';
4
+ import { L as Loading } from './index-e87ff521.js';
5
+ import './index-9947fc3b.js';
6
+ import { g as formatArticle } from './dataTransform-250a1729.js';
7
7
  import { PATHS } from './togetherApiPaths.js';
8
- import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-f8a59939.js';
8
+ import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-38fc8de4.js';
9
9
  import { Minus, Plus } from '@hhgtech/icons/core';
10
10
  import { Collapse } from '@mantine/core';
11
- import { C as CardAuthor } from './index-7ecbd997.js';
12
- import { L as LOCALE } from './Locale-ea6fdb5d.js';
11
+ import { C as CardAuthor } from './index-52f93c32.js';
12
+ import { L as LOCALE } from './Locale-a69747b0.js';
13
13
  import '@hhgtech/icons/other';
14
- import './index-246a053e.js';
15
- import './index-a45bba40.js';
16
- import './other-04246228.js';
17
- import './index-667c32a0.js';
18
- import './translationsContext-3e2e9520.js';
19
- import './index-19f88c7e.js';
20
- import './index-74a0b1f7.js';
14
+ import './index-ccdd5f53.js';
15
+ import './index-7fac204b.js';
16
+ import './other-41878e68.js';
17
+ import './index-92f921ae.js';
18
+ import './translationsContext-9c7299cf.js';
19
+ import './index-1c00c755.js';
20
+ import './index-f722ef2f.js';
21
21
  import './miscCookieHelper.js';
22
22
  import 'slugify';
23
23
  import './constantsIsProduction.js';
24
24
  import 'string-format';
25
- import './constants-358f3638.js';
25
+ import './constants-55db0870.js';
26
26
  import 'dayjs';
27
27
  import 'dayjs/plugin/relativeTime';
28
- import './utils-86244ba7.js';
29
- import './index-70b8d99b.js';
30
- import './paths-aad80498.js';
31
- import './constants-25de28fa.js';
32
- import './index-e901f471.js';
28
+ import './utils-4d8f4c8f.js';
29
+ import './index-d61fbb47.js';
30
+ import './paths-2bb7ca21.js';
31
+ import './constants-e522b798.js';
32
+ import './index-a71a30c8.js';
33
33
  import 'date-fns/locale';
34
34
  import './constantsSite.js';
35
35
  import './constantsDomainLocales.js';
36
36
  import './constantsRiskScreener.js';
37
- import './index-180d1faa.js';
37
+ import './index-247168d8.js';
38
38
  import './miscTheme.js';
39
- import './WhatsApp-a6e3103b.js';
40
- import './Spinner-3b1b67e0.js';
41
- import './index-2ed7ad8b.js';
39
+ import './WhatsApp-ce437e53.js';
40
+ import './Spinner-494a2b65.js';
41
+ import './index-f51fab19.js';
42
42
  import '@emotion/styled';
43
- import './useScreenSize-7c7dd78f.js';
44
- import './index-29e07496.js';
43
+ import './useScreenSize-5deb0d17.js';
44
+ import './index-c1e437e3.js';
45
45
  import '@emotion/react';
46
- import './index-1ec63921.js';
47
- import './index-8d1b0ad1.js';
48
- import './index.styles-41f74461.js';
46
+ import './index-704f2d32.js';
47
+ import './index-4be874f7.js';
48
+ import './index.styles-00f152ae.js';
49
49
 
50
50
  const ProfileDetailContext = createContext({});
51
51
 
@@ -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-c2c5be8e.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-2202b890.js';
5
+ import { u as useTranslations } from './index-92f921ae.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-8327d7a7.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-a71a30c8.js';
12
+ import './index-9947fc3b.js';
13
+ import './index-c1e437e3.js';
14
+ import './useMantineLocale-45b033da.js';
15
+ import { T as Text } from './index-7fac204b.js';
16
+ import { B as Button } from './index-ccdd5f53.js';
17
+ import './index.styles-00f152ae.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-4d8f4c8f.js';
20
+ import './other-41878e68.js';
21
+ import './index-c951ca24.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-56aa71e0.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-38fc8de4.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-250a1729.js';
26
+ import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-55db0870.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-5297e699.js';
28
+ import { C as CardAuthor, L as Loading$1 } from './index-52f93c32.js';
29
+ import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-ab335623.js';
30
+ import { I as Input } from './index-caa2e08a.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-213165da.js';
35
+ import { C as CardLink } from './index-964b1e68.js';
36
+ import { B as BtnChoice } from './index-037e28cc.js';
37
+ import { L as LOCALE } from './Locale-a69747b0.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-3230c9ce.js';
40
+ import { B as Button$1 } from './index-1c00c755.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-b6935208.js';
43
+ import { U as UserAvatar } from './index-f51fab19.js';
44
+ import { P as PopoverMenu } from './index-99e3e02b.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,9 +1,9 @@
1
1
  import React__default, { useState } from 'react';
2
- import { F as Flag } from './index-80c66805.js';
2
+ import { F as Flag } from './index-8327d7a7.js';
3
3
  import styled from '@emotion/styled';
4
4
  import { theme } from './miscTheme.js';
5
- import { T as Text } from './index-a45bba40.js';
6
- import { C as CommonGAssets } from './index-29e07496.js';
5
+ import { T as Text } from './index-7fac204b.js';
6
+ import { C as CommonGAssets } from './index-c1e437e3.js';
7
7
 
8
8
  const ALLOW_DOMAIN_URL = [
9
9
  'hellobacsi.com',
@@ -1,9 +1,9 @@
1
- import { _ as __rest } from './tslib.es6-74e511e5.js';
1
+ import { _ as __rest } from './tslib.es6-c2c5be8e.js';
2
2
  import React__default, { useRef, useState, useEffect } from 'react';
3
3
  import { ArrowLeft, ArrowRight } from '@hhgtech/icons/other';
4
4
  import { createStyles, rem, Tabs as Tabs$1, ScrollArea } from '@mantine/core';
5
- import { B as Button } from './index-246a053e.js';
6
- import { T as Text } from './index-a45bba40.js';
5
+ import { B as Button } from './index-ccdd5f53.js';
6
+ import { T as Text } from './index-7fac204b.js';
7
7
 
8
8
  var useStyles = createStyles((theme, params) => {
9
9
  const { variant } = params;
@@ -1,9 +1,9 @@
1
- import { _ as __rest } from './tslib.es6-74e511e5.js';
1
+ import { _ as __rest } from './tslib.es6-c2c5be8e.js';
2
2
  import React__default, { useMemo } from 'react';
3
3
  import { useMantineTheme } from '@mantine/core';
4
4
  import styled from '@emotion/styled';
5
5
  import { theme } from './miscTheme.js';
6
- import { M as MediaQueries } from './utils-86244ba7.js';
6
+ import { M as MediaQueries } from './utils-4d8f4c8f.js';
7
7
 
8
8
  const StyledInput = styled.div `
9
9
  position: relative;