@hhgtech/hhg-components 1.29.337 → 1.29.338-beta-2

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 (543) hide show
  1. package/build/{LastPeriod-51408700.js → LastPeriod-26fb8cdf.js} +1 -1
  2. package/build/{MobileBottomNavigationIcon-5b6727d2.js → MobileBottomNavigationIcon-a75dc2dd.js} +3 -3
  3. package/build/{Spinner-3da24dda.js → Spinner-770e4b67.js} +1 -1
  4. package/build/{WhatsApp-8d005727.js → WhatsApp-18b5a29e.js} +1 -1
  5. package/build/adapters.js +19 -19
  6. package/build/atoms.js +49 -46
  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 +3 -1
  13. package/build/components/atoms/drawerComponent/index.d.ts +17 -0
  14. package/build/components/atoms/drawerComponent/index.styled.d.ts +7 -0
  15. package/build/components/atoms/googleLocation/index.d.ts +7 -0
  16. package/build/components/atoms/index.d.ts +1 -0
  17. package/build/components.js +134 -131
  18. package/build/{constants-7cc8b8bc.js → constants-d0493dcf.js} +1 -1
  19. package/build/constants.js +3 -3
  20. package/build/constantsDomainLocales.js +1 -1
  21. package/build/constantsRiskScreener.js +2 -2
  22. package/build/constantsSite.js +2 -2
  23. package/build/{core-d30b3e3a.js → core-4f438239.js} +1 -1
  24. package/build/{dataTransform-420b28f0.js → dataTransform-3ea36027.js} +1 -1
  25. package/build/ecom.js +4 -4
  26. package/build/{editor-04e20704.js → editor-eb358ad1.js} +11 -11
  27. package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
  28. package/build/embeddedHeathToolCards_babyPoop.js +19 -19
  29. package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
  30. package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
  31. package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
  32. package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  33. package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  34. package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
  35. package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
  36. package/build/esm/{LastPeriod-dde51f8e.js → LastPeriod-4a14893d.js} +1 -1
  37. package/build/esm/{MobileBottomNavigationIcon-7d5f5972.js → MobileBottomNavigationIcon-4342d770.js} +3 -3
  38. package/build/esm/{Spinner-cb34617f.js → Spinner-61d3848d.js} +1 -1
  39. package/build/esm/{WhatsApp-f96d3e7f.js → WhatsApp-9b3d9931.js} +1 -1
  40. package/build/esm/adapters.js +19 -19
  41. package/build/esm/atoms.js +48 -46
  42. package/build/esm/babyGrowth.js +83 -83
  43. package/build/esm/cache.js +2 -2
  44. package/build/esm/care.js +17 -17
  45. package/build/esm/careBookingSearchBar.js +14 -14
  46. package/build/esm/careBookingSearchBarV2.js +15 -15
  47. package/build/esm/components/adapters/button/index.d.ts +3 -1
  48. package/build/esm/components/atoms/drawerComponent/index.d.ts +17 -0
  49. package/build/esm/components/atoms/drawerComponent/index.styled.d.ts +7 -0
  50. package/build/esm/components/atoms/googleLocation/index.d.ts +7 -0
  51. package/build/esm/components/atoms/index.d.ts +1 -0
  52. package/build/esm/components.js +92 -90
  53. package/build/esm/{constants-a998921a.js → constants-708df670.js} +1 -1
  54. package/build/esm/constants.js +3 -3
  55. package/build/esm/constantsDomainLocales.js +1 -1
  56. package/build/esm/constantsRiskScreener.js +2 -2
  57. package/build/esm/constantsSite.js +2 -2
  58. package/build/esm/{core-183254a1.js → core-78258573.js} +1 -1
  59. package/build/esm/{dataTransform-bb00e470.js → dataTransform-4caafa0e.js} +1 -1
  60. package/build/esm/ecom.js +4 -4
  61. package/build/esm/{editor-daf734ce.js → editor-1db311d8.js} +11 -11
  62. package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
  63. package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
  64. package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
  65. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
  66. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
  67. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  68. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  69. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
  70. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
  71. package/build/esm/footer.js +21 -21
  72. package/build/esm/gAssets.js +2 -2
  73. package/build/esm/healthToolsCardWrapper.js +18 -18
  74. package/build/esm/healthToolsForm.js +33 -33
  75. package/build/esm/hooks/usePlacesAutocomplete.d.ts +2 -0
  76. package/build/esm/hooks.js +13 -13
  77. package/build/esm/i18n/translationKeys.d.ts +1 -1
  78. package/build/esm/i18n-values/en-PH.js +5 -0
  79. package/build/esm/i18n-values/hi-IN.js +5 -0
  80. package/build/esm/i18n-values/id-ID.js +5 -0
  81. package/build/esm/i18n-values/km-KH.js +5 -0
  82. package/build/esm/i18n-values/ms-MY.js +5 -0
  83. package/build/esm/i18n-values/my-MM.js +5 -0
  84. package/build/esm/i18n-values/th-TH.js +5 -0
  85. package/build/esm/i18n-values/tl-PH.js +5 -0
  86. package/build/esm/i18n-values/vi-VN.js +5 -0
  87. package/build/esm/i18n-values/vi-VN_MB.js +5 -0
  88. package/build/esm/i18n-values/zh-TW.js +5 -0
  89. package/build/esm/i18n.js +2 -2
  90. package/build/esm/i18nV2.js +2 -2
  91. package/build/esm/icons/ChatbotBg.d.ts +4 -0
  92. package/build/esm/icons/Search.d.ts +4 -0
  93. package/build/esm/icons/index.d.ts +5 -3
  94. package/build/esm/{index-b2c17404.js → index-014124f3.js} +2 -2
  95. package/build/esm/{index-6366de18.js → index-022db00c.js} +2 -2
  96. package/build/esm/{index-33929f40.js → index-039a9eaf.js} +1 -1
  97. package/build/esm/{index-61dfe9ca.js → index-04f4358d.js} +2 -2
  98. package/build/esm/{index-3bc237f8.js → index-08e53de8.js} +3 -3
  99. package/build/esm/{index-1b258af5.js → index-0c5f8556.js} +2 -2
  100. package/build/esm/{index-0f7b01fc.js → index-1466e9dc.js} +178 -110
  101. package/build/esm/{index-f465ce78.js → index-16615545.js} +16 -16
  102. package/build/esm/{index-aa21b8da.js → index-1756fb91.js} +1 -1
  103. package/build/esm/{index-f347069e.js → index-209ce4ee.js} +6 -6
  104. package/build/esm/{index-51482477.js → index-25e8231a.js} +14 -14
  105. package/build/esm/{index-ba73d604.js → index-26402d9a.js} +13 -13
  106. package/build/esm/{index-0225ecb1.js → index-278965b8.js} +2 -2
  107. package/build/esm/{index-d8519871.js → index-2a6d27c2.js} +16 -16
  108. package/build/esm/{index-0eb067b7.js → index-2cc5c261.js} +24 -24
  109. package/build/esm/{index-36863000.js → index-38ce8c9c.js} +1 -1
  110. package/build/esm/{index-b1770ad1.js → index-3aea9788.js} +16 -16
  111. package/build/esm/{index-9b2001a7.js → index-3b212f5f.js} +18 -18
  112. package/build/esm/{index-f8ea6ac6.js → index-3cc9f70b.js} +1 -1
  113. package/build/esm/{index-c4c56d77.js → index-3d3f5468.js} +30 -30
  114. package/build/esm/{index-1389ea44.js → index-3f7ea5a7.js} +3 -3
  115. package/build/esm/{index-b038b8c7.js → index-44debaaa.js} +2 -2
  116. package/build/esm/{index-b067b442.js → index-48d6e836.js} +1 -1
  117. package/build/esm/{index-25d93e74.js → index-49778458.js} +5 -5
  118. package/build/esm/{index-fdae3796.js → index-4b8716e6.js} +2 -2
  119. package/build/esm/{index-2c4d67d7.js → index-5248780f.js} +18 -18
  120. package/build/esm/{index-93cc11dc.js → index-56fc6a32.js} +6 -6
  121. package/build/esm/{index-05bd1e2b.js → index-57150ca8.js} +3 -3
  122. package/build/esm/{index-e2b7b489.js → index-5b9d7c36.js} +3 -3
  123. package/build/esm/{index-cc394577.js → index-5deb21e5.js} +1 -1
  124. package/build/esm/{index-83de252c.js → index-5fbe1ca4.js} +13 -13
  125. package/build/esm/{index-b380b8ce.js → index-62524755.js} +2 -2
  126. package/build/esm/{index-c6660844.js → index-670e2a08.js} +20 -20
  127. package/build/esm/{index-fd283ee7.js → index-6c8d8c6f.js} +13 -13
  128. package/build/esm/{index-b1d4087d.js → index-7b181843.js} +3 -3
  129. package/build/esm/{index-a1ccb283.js → index-7fbeeef2.js} +5 -5
  130. package/build/esm/{index-a6229525.js → index-83fc790d.js} +7 -7
  131. package/build/esm/{index-8f05c711.js → index-87106b1f.js} +6 -6
  132. package/build/esm/{index-0c8caf51.js → index-8a4280d2.js} +3 -3
  133. package/build/esm/{index-b4d90966.js → index-8c4d5e2e.js} +1 -1
  134. package/build/esm/{index-e4463daa.js → index-9cc7bfdb.js} +1 -1
  135. package/build/esm/{index-295e34f2.js → index-ad612933.js} +15 -15
  136. package/build/esm/{index-0713eb59.js → index-b01d9778.js} +24 -24
  137. package/build/esm/{index-1275c1d7.js → index-b8b6c9b5.js} +21 -21
  138. package/build/esm/{index-63fd8b36.js → index-c03f370f.js} +2 -2
  139. package/build/esm/{index-4aec70fd.js → index-c3d78d26.js} +15 -15
  140. package/build/esm/{index-eaafdb62.js → index-c515b425.js} +7 -7
  141. package/build/esm/{index-0415b01c.js → index-c568f406.js} +13 -13
  142. package/build/esm/{index-4b39ea24.js → index-c5df0293.js} +17 -17
  143. package/build/esm/{index-5f57b1dc.js → index-c63924df.js} +2 -2
  144. package/build/esm/{index-09b0659a.js → index-cff4ec0a.js} +16 -16
  145. package/build/esm/{index-dd78ba83.js → index-d7952b64.js} +32 -32
  146. package/build/esm/{index-7bae9527.js → index-e14dff58.js} +2 -2
  147. package/build/esm/{index-a5464abb.js → index-e398c9af.js} +2 -2
  148. package/build/esm/{index-78878ea0.js → index-eaf06162.js} +4 -4
  149. package/build/esm/{index-155e0388.js → index-efcfeb0b.js} +17 -17
  150. package/build/esm/{index-d562cac5.js → index-f22a0b96.js} +18 -18
  151. package/build/esm/index-f4264734.js +106 -0
  152. package/build/esm/{index-71c6552e.js → index-f4b17ed6.js} +3 -3
  153. package/build/esm/{index-94a1162c.js → index-f5bcd8d8.js} +5 -5
  154. package/build/esm/{index-d298354a.js → index-f6ca8cb2.js} +10 -10
  155. package/build/esm/{index-196497c1.js → index-f9c76e69.js} +6 -6
  156. package/build/esm/{index-5539b7bd.js → index-fc025d21.js} +1 -1
  157. package/build/esm/index.css +1 -1
  158. package/build/esm/index.js +146 -117
  159. package/build/esm/{labelSorting-754c363d.js → labelSorting-71faf842.js} +4 -4
  160. package/build/esm/lead/components/context.d.ts +2 -0
  161. package/build/esm/lead/components/index.d.ts +4 -2
  162. package/build/esm/lead/index.d.ts +1 -1
  163. package/build/esm/lead/layouts/ emptyIcon.d.ts +6 -0
  164. package/build/esm/lead/layouts/lightbox/fields/textField/index.d.ts +13 -0
  165. package/build/esm/lead/layouts/lightbox/fields/textField/index.styled.d.ts +11 -0
  166. package/build/esm/lead/layouts/lightbox/index.d.ts +4 -2
  167. package/build/esm/lead/newLeadPopup.d.ts +4 -2
  168. package/build/esm/lead.css +1 -1
  169. package/build/esm/lead.js +822 -352
  170. package/build/esm/{logoIcon-f1d05426.js → logoIcon-d5e639e4.js} +2 -2
  171. package/build/esm/mantine.js +25 -25
  172. package/build/esm/misc.js +16 -16
  173. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  174. package/build/esm/miscGetSocialList.js +8 -8
  175. package/build/esm/miscScreenSizeContext.js +1 -1
  176. package/build/esm/mobileBottomNavigation.js +5 -5
  177. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  178. package/build/esm/molecules.js +69 -69
  179. package/build/esm/moleculesArticleCard.js +6 -6
  180. package/build/esm/moleculesArticleCardV2.js +16 -16
  181. package/build/esm/navigation.js +40 -40
  182. package/build/esm/navigationLogoutPopup.js +9 -9
  183. package/build/esm/navigationProfileButton.js +23 -23
  184. package/build/esm/onboardingV2.js +29 -29
  185. package/build/esm/organisms.js +44 -44
  186. package/build/esm/{post-0674aab6.js → post-3be83524.js} +2 -2
  187. package/build/esm/profileNavigation.js +19 -19
  188. package/build/esm/progressBar.js +1 -1
  189. package/build/esm/pwg.js +22 -22
  190. package/build/esm/ssoV2/api/featureFlag.d.ts +2 -1
  191. package/build/esm/ssoV2.js +48 -36
  192. package/build/esm/{store-62172a24.js → store-08cd60db.js} +4 -4
  193. package/build/esm/subot.js +33 -33
  194. package/build/esm/surveyOrPremiumBanner.js +31 -31
  195. package/build/esm/surveyQuestionCard.js +10 -10
  196. package/build/esm/{surveyThankyouCard-5b3a42fd.js → surveyThankyouCard-0ae48702.js} +5 -5
  197. package/build/esm/together/components/molecules/createNewPostContentV2/createPostCommunity/commonCommunity/index.d.ts +3 -3
  198. package/build/esm/together/components/molecules/createNewPostContentV2/createPostCommunity/index.d.ts +5 -5
  199. package/build/esm/together/components/molecules/createNewPostContentV2/createPostCommunity/suggestedCommunity/index.d.ts +2 -2
  200. package/build/esm/together/components/molecules/createNewPostContentV2/index.d.ts +2 -3
  201. package/build/esm/together/components/molecules/createNewPostContentV2/topicSelectList/index.d.ts +8 -3
  202. package/build/esm/together/interfaces/types.d.ts +5 -0
  203. package/build/esm/together.js +53 -53
  204. package/build/esm/togetherApiUtils.js +4 -4
  205. package/build/esm/togetherAtoms.js +30 -30
  206. package/build/esm/togetherComponentGlobalContext.js +4 -4
  207. package/build/esm/togetherMolecules.js +48 -48
  208. package/build/esm/togetherMoleculesCardAuthor.js +27 -27
  209. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  210. package/build/esm/togetherMoleculesProfileDetail.js +37 -37
  211. package/build/esm/togetherOrganisms.js +47 -47
  212. package/build/esm/togetherRichTextEditor.js +17 -17
  213. package/build/esm/togetherShareBox.js +10 -10
  214. package/build/esm/{treePopoverMenu-2a1c1fe7.js → treePopoverMenu-f0b92ab1.js} +19 -19
  215. package/build/esm/{types-8d50c603.js → types-d36c283f.js} +2 -2
  216. package/build/esm/types.js +2 -2
  217. package/build/esm/{useCategory-0dd2cbd2.js → useCategory-1deb4c61.js} +5 -5
  218. package/build/esm/{useHealthToolCache-f97d58e6.js → useHealthToolCache-568826c0.js} +1 -1
  219. package/build/esm/{useMantineLocale-8cc72830.js → useMantineLocale-1f4d8845.js} +6 -6
  220. package/build/esm/{usePlacesAutocomplete-206540a6.js → usePlacesAutocomplete-470d7389.js} +2 -1
  221. package/build/esm/{useScreenSize-623e1764.js → useScreenSize-1f7aac9e.js} +2 -2
  222. package/build/esm/useTogetherAuthRequiredAction.js +9 -9
  223. package/build/esm/{utils-4233ebc1.js → utils-430ee323.js} +2 -2
  224. package/build/esm/{utils-351e2780.js → utils-b427f865.js} +2 -2
  225. package/build/esm/{utils-d5aeff78.js → utils-bf86b17e.js} +3 -3
  226. package/build/esm/vaccination.js +21 -21
  227. package/build/footer.js +21 -21
  228. package/build/gAssets.js +2 -2
  229. package/build/healthToolsCardWrapper.js +18 -18
  230. package/build/healthToolsForm.js +33 -33
  231. package/build/hooks/usePlacesAutocomplete.d.ts +2 -0
  232. package/build/hooks.js +13 -13
  233. package/build/i18n/translationKeys.d.ts +1 -1
  234. package/build/i18n-values/en-PH.js +5 -0
  235. package/build/i18n-values/hi-IN.js +5 -0
  236. package/build/i18n-values/id-ID.js +5 -0
  237. package/build/i18n-values/km-KH.js +5 -0
  238. package/build/i18n-values/ms-MY.js +5 -0
  239. package/build/i18n-values/my-MM.js +5 -0
  240. package/build/i18n-values/th-TH.js +5 -0
  241. package/build/i18n-values/tl-PH.js +5 -0
  242. package/build/i18n-values/vi-VN.js +5 -0
  243. package/build/i18n-values/vi-VN_MB.js +5 -0
  244. package/build/i18n-values/zh-TW.js +5 -0
  245. package/build/i18n.js +1 -1
  246. package/build/i18nV2.js +1 -1
  247. package/build/icons/ChatbotBg.d.ts +4 -0
  248. package/build/icons/Search.d.ts +4 -0
  249. package/build/icons/index.d.ts +5 -3
  250. package/build/{index-426b2b90.js → index-054ef04c.js} +15 -15
  251. package/build/{index-e69aba76.js → index-0be57e51.js} +17 -17
  252. package/build/{index-aeec1e64.js → index-0e1a851a.js} +30 -30
  253. package/build/{index-f9a87ed6.js → index-11c02738.js} +13 -13
  254. package/build/{index-7c62dccd.js → index-15b6a7ea.js} +21 -21
  255. package/build/{index-41cd44d2.js → index-1e2901cf.js} +13 -13
  256. package/build/{index-e53902a2.js → index-1ee80a83.js} +2 -2
  257. package/build/{index-fcb4f855.js → index-1ffa43f9.js} +5 -5
  258. package/build/{index-110b5ca9.js → index-2442d0ff.js} +20 -20
  259. package/build/{index-49719113.js → index-2463ac65.js} +2 -2
  260. package/build/{index-0a72c320.js → index-27df93b1.js} +2 -2
  261. package/build/{index-e632b1b0.js → index-2aeb6fa3.js} +1 -1
  262. package/build/{index-a12c9263.js → index-2b93fac1.js} +13 -13
  263. package/build/{index-ff7fd56a.js → index-2cf43734.js} +3 -3
  264. package/build/{index-039dbe88.js → index-339f94f9.js} +1 -1
  265. package/build/{index-b66036d6.js → index-52eda92d.js} +24 -24
  266. package/build/{index-1cd769fe.js → index-53247e10.js} +18 -18
  267. package/build/{index-c8b7370e.js → index-53b65306.js} +14 -14
  268. package/build/{index-bdb891cd.js → index-587343c6.js} +2 -2
  269. package/build/{index-d041a262.js → index-5a411312.js} +2 -2
  270. package/build/{index-0519086c.js → index-612f0273.js} +7 -7
  271. package/build/{index-f7161b6e.js → index-64187ef3.js} +1 -1
  272. package/build/{index-ee3654b0.js → index-69554d14.js} +32 -32
  273. package/build/{index-c977f82b.js → index-6a7b756a.js} +1 -1
  274. package/build/{index-528ea33c.js → index-734a3542.js} +2 -2
  275. package/build/{index-fa7a4ea1.js → index-7b147f11.js} +16 -16
  276. package/build/{index-d3dfe803.js → index-7c579455.js} +3 -3
  277. package/build/{index-63fe8b11.js → index-7c80cfcc.js} +3 -3
  278. package/build/{index-5acbd524.js → index-82f75090.js} +16 -16
  279. package/build/{index-91d396e3.js → index-85b5916b.js} +5 -5
  280. package/build/{index-2301b9c3.js → index-875c8ad8.js} +18 -18
  281. package/build/{index-15c69d9d.js → index-90bc4e8a.js} +6 -6
  282. package/build/index-a6484b25.js +113 -0
  283. package/build/{index-ded652c3.js → index-a6cda024.js} +3 -3
  284. package/build/{index-a4b66208.js → index-a89758b9.js} +1 -1
  285. package/build/{index-57a3f434.js → index-abaefc82.js} +3 -3
  286. package/build/{index-d68df310.js → index-abc83ab4.js} +18 -18
  287. package/build/{index-ac08cf6a.js → index-ac0eab5e.js} +6 -6
  288. package/build/{index-8055f38c.js → index-acba7b2c.js} +24 -24
  289. package/build/{index-00da00b2.js → index-b15ef760.js} +13 -13
  290. package/build/{index-83b6bfdc.js → index-b192b5cd.js} +1 -1
  291. package/build/{index-222aaf59.js → index-b7ea3bc5.js} +7 -7
  292. package/build/{index-d7fd57cc.js → index-baa44166.js} +2 -2
  293. package/build/{index-a8524fa7.js → index-bdafa733.js} +178 -110
  294. package/build/{index-6b115786.js → index-be4f4f8d.js} +16 -16
  295. package/build/{index-afc908e9.js → index-c7014061.js} +2 -2
  296. package/build/{index-4576c899.js → index-c774c449.js} +3 -3
  297. package/build/{index-1b3acda3.js → index-c7da2c4b.js} +2 -2
  298. package/build/{index-893e7e0e.js → index-c8bfbf3f.js} +1 -1
  299. package/build/{index-42dd30d8.js → index-ca079c88.js} +10 -10
  300. package/build/{index-01413f5f.js → index-cb6c703e.js} +2 -2
  301. package/build/{index-f1f8a6b7.js → index-ce2dbcca.js} +5 -5
  302. package/build/{index-5850f264.js → index-da82fe1e.js} +1 -1
  303. package/build/{index-5c0d6586.js → index-e05cbcc8.js} +3 -3
  304. package/build/{index-64997aff.js → index-e2c3c1ca.js} +2 -2
  305. package/build/{index-f7b507b7.js → index-e5fcd7bb.js} +17 -17
  306. package/build/{index-6f47c87f.js → index-ebf47738.js} +1 -1
  307. package/build/{index-a5a1bfaf.js → index-ec99b8a2.js} +4 -4
  308. package/build/{index-3991f253.js → index-eda064a0.js} +2 -2
  309. package/build/{index-41f6bd5f.js → index-f1f90761.js} +15 -15
  310. package/build/{index-2b8ad5c2.js → index-f8ade80c.js} +6 -6
  311. package/build/{index-b2df0989.js → index-f910498e.js} +6 -6
  312. package/build/{index-30faaa61.js → index-ff8d9187.js} +16 -16
  313. package/build/index.css +1 -1
  314. package/build/index.js +211 -179
  315. package/build/{labelSorting-1668e583.js → labelSorting-030da342.js} +4 -4
  316. package/build/lead/components/context.d.ts +2 -0
  317. package/build/lead/components/index.d.ts +4 -2
  318. package/build/lead/index.d.ts +1 -1
  319. package/build/lead/layouts/ emptyIcon.d.ts +6 -0
  320. package/build/lead/layouts/lightbox/fields/textField/index.d.ts +13 -0
  321. package/build/lead/layouts/lightbox/fields/textField/index.styled.d.ts +11 -0
  322. package/build/lead/layouts/lightbox/index.d.ts +4 -2
  323. package/build/lead/newLeadPopup.d.ts +4 -2
  324. package/build/lead.css +1 -1
  325. package/build/lead.js +822 -351
  326. package/build/{logoIcon-6fe14bde.js → logoIcon-cb4d0480.js} +2 -2
  327. package/build/mantine.js +22 -22
  328. package/build/misc.js +16 -16
  329. package/build/miscGetDynamicHealthTool.js +4 -4
  330. package/build/miscGetSocialList.js +8 -8
  331. package/build/miscScreenSizeContext.js +1 -1
  332. package/build/mobileBottomNavigation.js +5 -5
  333. package/build/mobileBottomNavigationIcon.js +5 -5
  334. package/build/molecules.js +69 -69
  335. package/build/moleculesArticleCard.js +6 -6
  336. package/build/moleculesArticleCardV2.js +16 -16
  337. package/build/navigation.js +40 -40
  338. package/build/navigationLogoutPopup.js +9 -9
  339. package/build/navigationProfileButton.js +23 -23
  340. package/build/onboardingV2.js +28 -28
  341. package/build/organisms.js +44 -44
  342. package/build/{post-39abb64f.js → post-181365df.js} +2 -2
  343. package/build/profileNavigation.js +19 -19
  344. package/build/progressBar.js +1 -1
  345. package/build/pwg.js +22 -22
  346. package/build/ssoV2/api/featureFlag.d.ts +2 -1
  347. package/build/ssoV2.js +47 -35
  348. package/build/{store-1dcf5e8f.js → store-ab91dcde.js} +4 -4
  349. package/build/subot.js +32 -32
  350. package/build/surveyOrPremiumBanner.js +31 -31
  351. package/build/surveyQuestionCard.js +10 -10
  352. package/build/{surveyThankyouCard-df98bad7.js → surveyThankyouCard-61ccc036.js} +5 -5
  353. package/build/together/components/molecules/createNewPostContentV2/createPostCommunity/commonCommunity/index.d.ts +3 -3
  354. package/build/together/components/molecules/createNewPostContentV2/createPostCommunity/index.d.ts +5 -5
  355. package/build/together/components/molecules/createNewPostContentV2/createPostCommunity/suggestedCommunity/index.d.ts +2 -2
  356. package/build/together/components/molecules/createNewPostContentV2/index.d.ts +2 -3
  357. package/build/together/components/molecules/createNewPostContentV2/topicSelectList/index.d.ts +8 -3
  358. package/build/together/interfaces/types.d.ts +5 -0
  359. package/build/together.js +53 -53
  360. package/build/togetherApiUtils.js +4 -4
  361. package/build/togetherAtoms.js +30 -30
  362. package/build/togetherComponentGlobalContext.js +4 -4
  363. package/build/togetherMolecules.js +48 -48
  364. package/build/togetherMoleculesCardAuthor.js +27 -27
  365. package/build/togetherMoleculesPostImagePreview.js +11 -11
  366. package/build/togetherMoleculesProfileDetail.js +37 -37
  367. package/build/togetherOrganisms.js +47 -47
  368. package/build/togetherRichTextEditor.js +17 -17
  369. package/build/togetherShareBox.js +10 -10
  370. package/build/{treePopoverMenu-0805ee36.js → treePopoverMenu-4262fa2f.js} +19 -19
  371. package/build/{types-3c4d173e.js → types-da859bcc.js} +2 -2
  372. package/build/types.js +2 -2
  373. package/build/{useCategory-9f653803.js → useCategory-2308ec32.js} +5 -5
  374. package/build/{useHealthToolCache-daaae90b.js → useHealthToolCache-d8d8de31.js} +1 -1
  375. package/build/{useMantineLocale-d5e030cb.js → useMantineLocale-d0451227.js} +6 -6
  376. package/build/{usePlacesAutocomplete-8e9ebb28.js → usePlacesAutocomplete-67d958ba.js} +2 -1
  377. package/build/{useScreenSize-aae08299.js → useScreenSize-da8385c8.js} +2 -2
  378. package/build/useTogetherAuthRequiredAction.js +9 -9
  379. package/build/{utils-dac6d657.js → utils-27282587.js} +2 -2
  380. package/build/{utils-c204a71e.js → utils-809fd5f1.js} +2 -2
  381. package/build/{utils-56c0b75f.js → utils-e73d4f08.js} +3 -3
  382. package/build/vaccination.js +21 -21
  383. package/package.json +1 -1
  384. /package/build/{BMI_BOYS.percentile.monthly-c470c17c.js → BMI_BOYS.percentile.monthly-6c763651.js} +0 -0
  385. /package/build/{BMI_BOYS.percentile.weekly-8fe07247.js → BMI_BOYS.percentile.weekly-d36fe897.js} +0 -0
  386. /package/build/{BMI_BOYS.percentile.yearly-9ada1b75.js → BMI_BOYS.percentile.yearly-62cf505f.js} +0 -0
  387. /package/build/{BMI_BOYS.zscore.monthly-103049e7.js → BMI_BOYS.zscore.monthly-2d68dd10.js} +0 -0
  388. /package/build/{BMI_BOYS.zscore.weekly-cf6e85a7.js → BMI_BOYS.zscore.weekly-60d5ab8d.js} +0 -0
  389. /package/build/{BMI_BOYS.zscore.yearly-c3140c6e.js → BMI_BOYS.zscore.yearly-25c0f702.js} +0 -0
  390. /package/build/{BMI_GIRLS.percentile.monthly-550dad06.js → BMI_GIRLS.percentile.monthly-4229c401.js} +0 -0
  391. /package/build/{BMI_GIRLS.percentile.weekly-31a1c78a.js → BMI_GIRLS.percentile.weekly-0095478b.js} +0 -0
  392. /package/build/{BMI_GIRLS.percentile.yearly-9700bd31.js → BMI_GIRLS.percentile.yearly-5316a293.js} +0 -0
  393. /package/build/{BMI_GIRLS.zscore.monthly-b59f761b.js → BMI_GIRLS.zscore.monthly-2c75ab9f.js} +0 -0
  394. /package/build/{BMI_GIRLS.zscore.weekly-adab5203.js → BMI_GIRLS.zscore.weekly-6b14e974.js} +0 -0
  395. /package/build/{BMI_GIRLS.zscore.yearly-c61853fe.js → BMI_GIRLS.zscore.yearly-75f01f10.js} +0 -0
  396. /package/build/{ChevronDown-1254e5e7.js → ChevronDown-d3648be8.js} +0 -0
  397. /package/build/{Close-bc735f06.js → Close-86c8bc90.js} +0 -0
  398. /package/build/{Google-4bf24997.js → Google-a2d7241c.js} +0 -0
  399. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-91d56131.js → HEAD CIRCUM_BOYS.percentile.monthly-8350144f.js} +0 -0
  400. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a549dea0.js → HEAD CIRCUM_BOYS.percentile.weekly-c514e6cf.js} +0 -0
  401. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-d82244f1.js → HEAD CIRCUM_BOYS.percentile.yearly-388723c4.js} +0 -0
  402. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-3b8875b5.js → HEAD CIRCUM_BOYS.zscore.monthly-4ea5a72c.js} +0 -0
  403. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-3131348a.js → HEAD CIRCUM_BOYS.zscore.weekly-5f798745.js} +0 -0
  404. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-0f7a48ac.js → HEAD CIRCUM_BOYS.zscore.yearly-373c9d92.js} +0 -0
  405. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-47b3dfd0.js → HEAD CIRCUM_GIRLS.percentile.monthly-dc8793ca.js} +0 -0
  406. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-93c8bf73.js → HEAD CIRCUM_GIRLS.percentile.weekly-0829ea11.js} +0 -0
  407. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-7c4f00da.js → HEAD CIRCUM_GIRLS.percentile.yearly-049817f9.js} +0 -0
  408. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-51443e7a.js → HEAD CIRCUM_GIRLS.zscore.monthly-a2061b75.js} +0 -0
  409. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-c4554378.js → HEAD CIRCUM_GIRLS.zscore.weekly-83b94282.js} +0 -0
  410. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-f0c480e8.js → HEAD CIRCUM_GIRLS.zscore.yearly-a9ed4ca6.js} +0 -0
  411. /package/build/{HEIGHT_BOYS.percentile.monthly-6028051c.js → HEIGHT_BOYS.percentile.monthly-28eaa898.js} +0 -0
  412. /package/build/{HEIGHT_BOYS.percentile.weekly-222bab41.js → HEIGHT_BOYS.percentile.weekly-4a0a72c3.js} +0 -0
  413. /package/build/{HEIGHT_BOYS.percentile.yearly-60f28dcb.js → HEIGHT_BOYS.percentile.yearly-c9c36721.js} +0 -0
  414. /package/build/{HEIGHT_BOYS.zscore.monthly-87b419bd.js → HEIGHT_BOYS.zscore.monthly-15c02c6e.js} +0 -0
  415. /package/build/{HEIGHT_BOYS.zscore.weekly-4a523306.js → HEIGHT_BOYS.zscore.weekly-b715a343.js} +0 -0
  416. /package/build/{HEIGHT_BOYS.zscore.yearly-83d35ba6.js → HEIGHT_BOYS.zscore.yearly-74b0d06b.js} +0 -0
  417. /package/build/{HEIGHT_GIRLS.percentile.monthly-327ab176.js → HEIGHT_GIRLS.percentile.monthly-50c6f644.js} +0 -0
  418. /package/build/{HEIGHT_GIRLS.percentile.weekly-1f69f3df.js → HEIGHT_GIRLS.percentile.weekly-b0be94a3.js} +0 -0
  419. /package/build/{HEIGHT_GIRLS.percentile.yearly-057eee90.js → HEIGHT_GIRLS.percentile.yearly-cd507196.js} +0 -0
  420. /package/build/{HEIGHT_GIRLS.zscore.monthly-c6b2db50.js → HEIGHT_GIRLS.zscore.monthly-bf4c9c77.js} +0 -0
  421. /package/build/{HEIGHT_GIRLS.zscore.weekly-80c73904.js → HEIGHT_GIRLS.zscore.weekly-03fa984e.js} +0 -0
  422. /package/build/{HEIGHT_GIRLS.zscore.yearly-ccd25a92.js → HEIGHT_GIRLS.zscore.yearly-ebcff78a.js} +0 -0
  423. /package/build/{Locale-fa9ab7e8.js → Locale-4a2467cc.js} +0 -0
  424. /package/build/{Visible-4c3bd92a.js → Visible-4b9af68b.js} +0 -0
  425. /package/build/{WEIGHT_BOYS.percentile.monthly-bb45acfa.js → WEIGHT_BOYS.percentile.monthly-78f41938.js} +0 -0
  426. /package/build/{WEIGHT_BOYS.percentile.weekly-02a19ea0.js → WEIGHT_BOYS.percentile.weekly-77c1c7ca.js} +0 -0
  427. /package/build/{WEIGHT_BOYS.percentile.yearly-a108603a.js → WEIGHT_BOYS.percentile.yearly-67c209b7.js} +0 -0
  428. /package/build/{WEIGHT_BOYS.zscore.monthly-f3c424f0.js → WEIGHT_BOYS.zscore.monthly-276a676b.js} +0 -0
  429. /package/build/{WEIGHT_BOYS.zscore.weekly-5291fbca.js → WEIGHT_BOYS.zscore.weekly-1edeb1c6.js} +0 -0
  430. /package/build/{WEIGHT_BOYS.zscore.yearly-c7ad1c05.js → WEIGHT_BOYS.zscore.yearly-c4c4085a.js} +0 -0
  431. /package/build/{WEIGHT_GIRLS.percentile.monthly-a7e8d88e.js → WEIGHT_GIRLS.percentile.monthly-d3925df7.js} +0 -0
  432. /package/build/{WEIGHT_GIRLS.percentile.weekly-aaa95410.js → WEIGHT_GIRLS.percentile.weekly-779b1da2.js} +0 -0
  433. /package/build/{WEIGHT_GIRLS.percentile.yearly-bb1cab5e.js → WEIGHT_GIRLS.percentile.yearly-a306e1b5.js} +0 -0
  434. /package/build/{WEIGHT_GIRLS.zscore.monthly-115826fc.js → WEIGHT_GIRLS.zscore.monthly-b8b7390c.js} +0 -0
  435. /package/build/{WEIGHT_GIRLS.zscore.weekly-69901775.js → WEIGHT_GIRLS.zscore.weekly-b251e17e.js} +0 -0
  436. /package/build/{WEIGHT_GIRLS.zscore.yearly-8e47c3fb.js → WEIGHT_GIRLS.zscore.yearly-160e3f36.js} +0 -0
  437. /package/build/{animation-004e6eaf.js → animation-f7b5529a.js} +0 -0
  438. /package/build/{constants-46d1fa7f.js → constants-530d5282.js} +0 -0
  439. /package/build/{constants-56e85889.js → constants-617ac1ca.js} +0 -0
  440. /package/build/{constants-d923bea8.js → constants-a138e2cd.js} +0 -0
  441. /package/build/{dataTransform-092fa532.js → dataTransform-139a8cdd.js} +0 -0
  442. /package/build/{doctor-04ac13c3.js → doctor-cf393b42.js} +0 -0
  443. /package/build/esm/{BMI_BOYS.percentile.monthly-86443d5d.js → BMI_BOYS.percentile.monthly-f415e0a7.js} +0 -0
  444. /package/build/esm/{BMI_BOYS.percentile.weekly-78217e7c.js → BMI_BOYS.percentile.weekly-703fd427.js} +0 -0
  445. /package/build/esm/{BMI_BOYS.percentile.yearly-bb07f235.js → BMI_BOYS.percentile.yearly-68f10fa6.js} +0 -0
  446. /package/build/esm/{BMI_BOYS.zscore.monthly-04b3338d.js → BMI_BOYS.zscore.monthly-98acbb48.js} +0 -0
  447. /package/build/esm/{BMI_BOYS.zscore.weekly-7676acb6.js → BMI_BOYS.zscore.weekly-8ec64d80.js} +0 -0
  448. /package/build/esm/{BMI_BOYS.zscore.yearly-abfdaa38.js → BMI_BOYS.zscore.yearly-22ab0668.js} +0 -0
  449. /package/build/esm/{BMI_GIRLS.percentile.monthly-dba11eec.js → BMI_GIRLS.percentile.monthly-8cc16b6d.js} +0 -0
  450. /package/build/esm/{BMI_GIRLS.percentile.weekly-b76ceba9.js → BMI_GIRLS.percentile.weekly-53ce3763.js} +0 -0
  451. /package/build/esm/{BMI_GIRLS.percentile.yearly-21554853.js → BMI_GIRLS.percentile.yearly-81427a7b.js} +0 -0
  452. /package/build/esm/{BMI_GIRLS.zscore.monthly-d672d772.js → BMI_GIRLS.zscore.monthly-9cf2a2d4.js} +0 -0
  453. /package/build/esm/{BMI_GIRLS.zscore.weekly-aeaf4750.js → BMI_GIRLS.zscore.weekly-02819f89.js} +0 -0
  454. /package/build/esm/{BMI_GIRLS.zscore.yearly-7f86f4e6.js → BMI_GIRLS.zscore.yearly-97470602.js} +0 -0
  455. /package/build/esm/{ChevronDown-18102a27.js → ChevronDown-4bdb343a.js} +0 -0
  456. /package/build/esm/{Close-50ddb594.js → Close-f656ebf8.js} +0 -0
  457. /package/build/esm/{Google-43112225.js → Google-6f14dc0e.js} +0 -0
  458. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-76c68fdd.js → HEAD CIRCUM_BOYS.percentile.monthly-d2971771.js} +0 -0
  459. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-699c669d.js → HEAD CIRCUM_BOYS.percentile.weekly-c3ec05c1.js} +0 -0
  460. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-921ec436.js → HEAD CIRCUM_BOYS.percentile.yearly-52b16b8c.js} +0 -0
  461. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-3129b286.js → HEAD CIRCUM_BOYS.zscore.monthly-3ce43b56.js} +0 -0
  462. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-60c8e0fd.js → HEAD CIRCUM_BOYS.zscore.weekly-dfb09b33.js} +0 -0
  463. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-a2e35c00.js → HEAD CIRCUM_BOYS.zscore.yearly-ece512c0.js} +0 -0
  464. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-d697c1b3.js → HEAD CIRCUM_GIRLS.percentile.monthly-038c7740.js} +0 -0
  465. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1a50c753.js → HEAD CIRCUM_GIRLS.percentile.weekly-961be017.js} +0 -0
  466. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b0cad34e.js → HEAD CIRCUM_GIRLS.percentile.yearly-135f819a.js} +0 -0
  467. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-6b2f52bb.js → HEAD CIRCUM_GIRLS.zscore.monthly-b5528b9b.js} +0 -0
  468. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2ff9842c.js → HEAD CIRCUM_GIRLS.zscore.weekly-00df4982.js} +0 -0
  469. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-47620ae6.js → HEAD CIRCUM_GIRLS.zscore.yearly-680a0e52.js} +0 -0
  470. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-a3350ff4.js → HEIGHT_BOYS.percentile.monthly-24f234ce.js} +0 -0
  471. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-515e3cc5.js → HEIGHT_BOYS.percentile.weekly-44167b20.js} +0 -0
  472. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-86933180.js → HEIGHT_BOYS.percentile.yearly-f7e067e8.js} +0 -0
  473. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-4196c3b8.js → HEIGHT_BOYS.zscore.monthly-0ad1b07f.js} +0 -0
  474. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-1a5331c9.js → HEIGHT_BOYS.zscore.weekly-13738aec.js} +0 -0
  475. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-727c8ba5.js → HEIGHT_BOYS.zscore.yearly-260c44fc.js} +0 -0
  476. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-174f8bc9.js → HEIGHT_GIRLS.percentile.monthly-01f6a5ff.js} +0 -0
  477. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-ba25e40b.js → HEIGHT_GIRLS.percentile.weekly-6d8314cb.js} +0 -0
  478. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-94063ac1.js → HEIGHT_GIRLS.percentile.yearly-42c46de1.js} +0 -0
  479. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-7afb1cfa.js → HEIGHT_GIRLS.zscore.monthly-a9981647.js} +0 -0
  480. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-baff09ec.js → HEIGHT_GIRLS.zscore.weekly-a5dfba03.js} +0 -0
  481. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-9033ac96.js → HEIGHT_GIRLS.zscore.yearly-50769f1b.js} +0 -0
  482. /package/build/esm/{Locale-3221a5f1.js → Locale-30483a63.js} +0 -0
  483. /package/build/esm/{Visible-b093b1f0.js → Visible-8ccd5822.js} +0 -0
  484. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-94244946.js → WEIGHT_BOYS.percentile.monthly-d21ef260.js} +0 -0
  485. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-13fa6dd1.js → WEIGHT_BOYS.percentile.weekly-c13fd92a.js} +0 -0
  486. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-e085f080.js → WEIGHT_BOYS.percentile.yearly-f1f2c13a.js} +0 -0
  487. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-8376024c.js → WEIGHT_BOYS.zscore.monthly-9932e342.js} +0 -0
  488. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-b9016360.js → WEIGHT_BOYS.zscore.weekly-aa18d209.js} +0 -0
  489. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-d50e701d.js → WEIGHT_BOYS.zscore.yearly-de1127ea.js} +0 -0
  490. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-61b9516b.js → WEIGHT_GIRLS.percentile.monthly-87446766.js} +0 -0
  491. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-49967c00.js → WEIGHT_GIRLS.percentile.weekly-4b73c1c2.js} +0 -0
  492. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f8a33ff5.js → WEIGHT_GIRLS.percentile.yearly-0ec08e46.js} +0 -0
  493. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-b22cc822.js → WEIGHT_GIRLS.zscore.monthly-cec8823c.js} +0 -0
  494. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-02f56171.js → WEIGHT_GIRLS.zscore.weekly-19c6497d.js} +0 -0
  495. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-f102931c.js → WEIGHT_GIRLS.zscore.yearly-a1dba903.js} +0 -0
  496. /package/build/esm/{animation-f7d95062.js → animation-2e9e516a.js} +0 -0
  497. /package/build/esm/{constants-d51b53da.js → constants-569dafc4.js} +0 -0
  498. /package/build/esm/{constants-00af6c95.js → constants-6f83f3ba.js} +0 -0
  499. /package/build/esm/{constants-f8ec0fb2.js → constants-f6f1a2c6.js} +0 -0
  500. /package/build/esm/{dataTransform-a93a37f0.js → dataTransform-67c2896a.js} +0 -0
  501. /package/build/esm/{doctor-f3e3bf8d.js → doctor-aac64b3a.js} +0 -0
  502. /package/build/esm/{index-3fe6a644.js → index-147e6ca0.js} +0 -0
  503. /package/build/esm/{index-63ece1e8.js → index-21b70779.js} +0 -0
  504. /package/build/esm/{index-4ee4ec9f.js → index-3e07a585.js} +0 -0
  505. /package/build/esm/{index-e7141fc3.js → index-62436643.js} +0 -0
  506. /package/build/esm/{index-ad8421da.js → index-824f77f1.js} +0 -0
  507. /package/build/esm/{index-3549da96.js → index-874a7c75.js} +0 -0
  508. /package/build/esm/{index-3bf7820a.js → index-9ae66e1e.js} +0 -0
  509. /package/build/esm/{index-93183ae3.js → index-9f6c634c.js} +0 -0
  510. /package/build/esm/{index.styles-01bc7738.js → index.styles-bfd355b2.js} +0 -0
  511. /package/build/esm/{localizeNumberFormat-283dde55.js → localizeNumberFormat-5cbbbc9e.js} +0 -0
  512. /package/build/esm/{normalizeLink-faff4495.js → normalizeLink-b7ec7f71.js} +0 -0
  513. /package/build/esm/{other-978957e0.js → other-51b99f75.js} +0 -0
  514. /package/build/esm/{paths-35441d30.js → paths-59285d56.js} +0 -0
  515. /package/build/esm/{translationsContext-6625ef10.js → translationsContext-e4acb4e4.js} +0 -0
  516. /package/build/esm/{tslib.es6-7b710789.js → tslib.es6-2e8db8a5.js} +0 -0
  517. /package/build/esm/{types-81c042bb.js → types-d263481d.js} +0 -0
  518. /package/build/esm/{useIsInit-334ecdf2.js → useIsInit-09c5fda0.js} +0 -0
  519. /package/build/esm/{useOutsideClick-99cf1e8a.js → useOutsideClick-be55112d.js} +0 -0
  520. /package/build/esm/{useScrollbarSize-5765dfe0.js → useScrollbarSize-caf44fb2.js} +0 -0
  521. /package/build/esm/{useUniqueId-dc3856df.js → useUniqueId-3ac7c649.js} +0 -0
  522. /package/build/esm/{utils-a7413d88.js → utils-7926bf07.js} +0 -0
  523. /package/build/{index-d1685111.js → index-16a0a9c5.js} +0 -0
  524. /package/build/{index-1ec90590.js → index-1a5086b3.js} +0 -0
  525. /package/build/{index-2cfd24d1.js → index-3f31f42c.js} +0 -0
  526. /package/build/{index-92d2e15c.js → index-46682219.js} +0 -0
  527. /package/build/{index-5678e1f8.js → index-76cad28a.js} +0 -0
  528. /package/build/{index-63b6bb84.js → index-7d0a2359.js} +0 -0
  529. /package/build/{index-4b93e7d8.js → index-d524baf5.js} +0 -0
  530. /package/build/{index-aab4a11a.js → index-f36dd33a.js} +0 -0
  531. /package/build/{index.styles-282b5f51.js → index.styles-fe452bb6.js} +0 -0
  532. /package/build/{localizeNumberFormat-96ffcba7.js → localizeNumberFormat-50e8cdb5.js} +0 -0
  533. /package/build/{normalizeLink-a0020d17.js → normalizeLink-7129a1ce.js} +0 -0
  534. /package/build/{other-dbb2467d.js → other-989538fb.js} +0 -0
  535. /package/build/{paths-e2fa0160.js → paths-bc2c5392.js} +0 -0
  536. /package/build/{translationsContext-8eddc47b.js → translationsContext-c5783cb1.js} +0 -0
  537. /package/build/{tslib.es6-f49889de.js → tslib.es6-891bdac0.js} +0 -0
  538. /package/build/{types-f52c0573.js → types-deba7e61.js} +0 -0
  539. /package/build/{useIsInit-06292bee.js → useIsInit-60803f3c.js} +0 -0
  540. /package/build/{useOutsideClick-961bbb1b.js → useOutsideClick-5e6973d6.js} +0 -0
  541. /package/build/{useScrollbarSize-e5289898.js → useScrollbarSize-5eb4b430.js} +0 -0
  542. /package/build/{useUniqueId-0206d180.js → useUniqueId-4287455a.js} +0 -0
  543. /package/build/{utils-29060b96.js → utils-10aeceb7.js} +0 -0
@@ -364,6 +364,9 @@ var zhTranslations = {
364
364
  insert: insert,
365
365
  "label.latestPost": "Latest Post",
366
366
  "label.pinnedPost": "Pinned Post",
367
+ "lead.empty.cancel": "取消",
368
+ "lead.empty.submitAgain": "重新提交",
369
+ "lead.empty.title": "哎呀,您的資訊似乎是空的,您想要重新提交資訊嗎?",
367
370
  loading: loading,
368
371
  "login.booking": "預約醫生",
369
372
  "logout.popup.ask.mb": "Logout of Marry Baby",
@@ -796,6 +799,7 @@ var zhTranslations = {
796
799
  "tools.selectBabyGender": "請問您孩子的性別是?",
797
800
  "tools.selectGender": "你的性別",
798
801
  "tools.yearsOld": "歲",
802
+ "updatePost.popup.success": "The post has been updated successfully.",
799
803
  "userProfile.nav.card.eCom": "eShop",
800
804
  "userProfile.nav.card.ecom.DeliveryAddress": "Manage addresses",
801
805
  "userProfile.nav.card.ecom.manageOrders": "Manage orders",
@@ -821,6 +825,7 @@ var zhTranslations = {
821
825
  "userProfile.userRank.expert": "專家",
822
826
  "userProfile.userRank.influencer": "名人",
823
827
  "userProfile.userRank.member": "會員",
828
+ "validation.error.requiredAgeGroup": "Your child is not in the required age group",
824
829
  "validation.error.requiredField": "此為必填欄位",
825
830
  "verifyBotAnswer.confirmEndorse.accept": "Yes, endorse",
826
831
  "verifyBotAnswer.confirmEndorse.cancel": "No, cancel",
package/build/esm/i18n.js CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TranslationsContext } from './translationsContext-6625ef10.js';
2
- export { T as TranslationsContext } from './translationsContext-6625ef10.js';
1
+ import { T as TranslationsContext } from './translationsContext-e4acb4e4.js';
2
+ export { T as TranslationsContext } from './translationsContext-e4acb4e4.js';
3
3
  import React__default, { useState, useEffect, useMemo } from 'react';
4
4
  import defaultTranslations from './i18n-values/en-PH.js';
5
5
  import hiTranslations from './i18n-values/hi-IN.js';
@@ -1,5 +1,5 @@
1
- import { T as TranslationsContext } from './translationsContext-6625ef10.js';
2
- export { T as TranslationsContext } from './translationsContext-6625ef10.js';
1
+ import { T as TranslationsContext } from './translationsContext-e4acb4e4.js';
2
+ export { T as TranslationsContext } from './translationsContext-e4acb4e4.js';
3
3
  import React__default, { useMemo } from 'react';
4
4
 
5
5
  const TranslationsProvider = ({ locale = 'en-PH', values, children, }) => {
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { SVGProps } from 'react';
3
+ declare const ChatbotBg: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default ChatbotBg;
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { SVGProps } from 'react';
3
+ declare const Search: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default Search;
@@ -1,16 +1,18 @@
1
1
  import CaretDown from "./CaretDown";
2
+ import ChatbotBg from "./ChatbotBg";
2
3
  import CheckCircle from "./CheckCircle";
3
4
  import ChevronDown from "./ChevronDown";
4
5
  import ChevronLeft from "./ChevronLeft";
5
6
  import ChevronRight from "./ChevronRight";
6
7
  import ChevronUp from "./ChevronUp";
7
- import Circle from "./Circle";
8
8
  import Close from "./Close";
9
9
  import EmailCheck from "./EmailCheck";
10
10
  import EmailFail from "./EmailFail";
11
11
  import Facebook from "./Facebook";
12
12
  import Google from "./Google";
13
13
  import InVisible from "./InVisible";
14
- import Spinning from "./Spinning";
14
+ import Search from "./Search";
15
15
  import Visible from "./Visible";
16
- export { CaretDown, CheckCircle, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Close, EmailCheck, EmailFail, Facebook, Google, InVisible, Visible, Circle, Spinning, };
16
+ import Circle from "./Circle";
17
+ import Spinning from "./Spinning";
18
+ export { CaretDown, ChatbotBg, CheckCircle, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Close, EmailCheck, EmailFail, Facebook, Google, InVisible, Search, Visible, Circle, Spinning, };
@@ -1,7 +1,7 @@
1
- import { _ as __rest } from './tslib.es6-7b710789.js';
1
+ import { _ as __rest } from './tslib.es6-2e8db8a5.js';
2
2
  import React__default from 'react';
3
3
  import { useMantineTheme } from '@mantine/core';
4
- import { T as Text } from './index-b380b8ce.js';
4
+ import { T as Text } from './index-62524755.js';
5
5
 
6
6
  /**
7
7
  * @deprecated Consider to use import { Title } from '@mantine/core'
@@ -1,10 +1,10 @@
1
1
  import { enUS, vi, km, hi, id, ms, th, zhTW } from 'date-fns/locale';
2
- import './index-b067b442.js';
2
+ import './index-48d6e836.js';
3
3
  import { siteHost, siteOptions } from './constantsSite.js';
4
4
  import { domainLocales, MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
5
5
  import { RISK_SCREENER_NAME, RISK_SCREENER_SLUG } from './constantsRiskScreener.js';
6
6
  import { isProduction } from './constantsIsProduction.js';
7
- import { L as LOCALE } from './Locale-3221a5f1.js';
7
+ import { L as LOCALE } from './Locale-30483a63.js';
8
8
 
9
9
  const basePath = process.env.NEXT_PUBLIC_DEPLOY_LOCALE === 'tl-PH' ? '/fil' : '';
10
10
  const SSO_URL = process.env.NEXT_PUBLIC_SSO;
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import styled from '@emotion/styled';
3
- import { M as MediaQueries } from './utils-a7413d88.js';
3
+ import { M as MediaQueries } from './utils-7926bf07.js';
4
4
  import { theme } from './miscTheme.js';
5
5
 
6
6
  const StyledPopup = styled.div `
@@ -1,8 +1,8 @@
1
1
  import React__default, { useState } from 'react';
2
2
  import { theme } from './miscTheme.js';
3
3
  import styled from '@emotion/styled';
4
- import { M as MarryBabyText } from './index-f8ea6ac6.js';
5
- import { T as Text } from './index-fd283ee7.js';
4
+ import { M as MarryBabyText } from './index-3cc9f70b.js';
5
+ import { T as Text } from './index-6c8d8c6f.js';
6
6
 
7
7
  const StyledRadioImageGroup = styled.div `
8
8
  display: flex;
@@ -1,6 +1,6 @@
1
- import { c as cookie } from './index-4ee4ec9f.js';
2
- import { d as BEARER_TOKEN_COOKIE } from './index-6366de18.js';
3
- import { N as NodeIntentType } from './index-b067b442.js';
1
+ import { c as cookie } from './index-3e07a585.js';
2
+ import { d as BEARER_TOKEN_COOKIE } from './index-022db00c.js';
3
+ import { N as NodeIntentType } from './index-48d6e836.js';
4
4
  import Cookies from 'js-cookie';
5
5
  import { v4 } from 'uuid';
6
6
  import { isProduction } from './constantsIsProduction.js';
@@ -1,8 +1,8 @@
1
1
  import React__default, { useState, useRef, useEffect } from 'react';
2
- import { u as useScrollbarSize } from './useScrollbarSize-5765dfe0.js';
2
+ import { u as useScrollbarSize } from './useScrollbarSize-caf44fb2.js';
3
3
  import { createPortal } from 'react-dom';
4
4
  import styled from '@emotion/styled';
5
- import { M as MediaQueries } from './utils-a7413d88.js';
5
+ import { M as MediaQueries } from './utils-7926bf07.js';
6
6
  import { setDefaultClass } from './miscDefaultClassWrapper.js';
7
7
  import { theme } from './miscTheme.js';
8
8
 
@@ -1,47 +1,47 @@
1
- import { a as __awaiter, _ as __rest } from './tslib.es6-7b710789.js';
1
+ import { a as __awaiter, _ as __rest } from './tslib.es6-2e8db8a5.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-3fe6a644.js';
5
- import { u as useTranslations } from './index-5539b7bd.js';
4
+ import { D as Dropdown } from './index-147e6ca0.js';
5
+ import { u as useTranslations } from './index-fc025d21.js';
6
6
  import innertext from 'innertext';
7
7
  import { theme } from './miscTheme.js';
8
- import { I as Input$1 } from './index-51482477.js';
8
+ import { I as Input$1 } from './index-25e8231a.js';
9
9
  import { useMantineTheme, Switch, Popover } from '@mantine/core';
10
10
  import '@mantine/dates';
11
- import './index-6366de18.js';
12
- import './index-b067b442.js';
13
- import './index-93183ae3.js';
14
- import './useMantineLocale-8cc72830.js';
15
- import { T as Text } from './index-b380b8ce.js';
16
- import { B as Button } from './index-cc394577.js';
17
- import './index.styles-01bc7738.js';
11
+ import './index-022db00c.js';
12
+ import './index-48d6e836.js';
13
+ import './index-9f6c634c.js';
14
+ import './useMantineLocale-1f4d8845.js';
15
+ import { T as Text } from './index-62524755.js';
16
+ import { B as Button } from './index-5deb21e5.js';
17
+ import './index.styles-bfd355b2.js';
18
18
  import '@mantine/hooks';
19
- import { M as MediaQueries } from './utils-a7413d88.js';
20
- import './other-978957e0.js';
21
- import './index-0c8caf51.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-9b2001a7.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-d5aeff78.js';
19
+ import { M as MediaQueries } from './utils-7926bf07.js';
20
+ import './other-51b99f75.js';
21
+ import './index-8a4280d2.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-3b212f5f.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-bf86b17e.js';
24
24
  import styled from '@emotion/styled';
25
- import { b as formatPost, c as formatTopic } from './dataTransform-bb00e470.js';
26
- import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-d51b53da.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-0674aab6.js';
28
- import { C as CardAuthor, L as Loading$1 } from './index-4aec70fd.js';
29
- import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-daf734ce.js';
30
- import { I as Input } from './index-63fd8b36.js';
25
+ import { b as formatPost, a as formatCommunity, c as formatTopic } from './dataTransform-4caafa0e.js';
26
+ import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-569dafc4.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-3be83524.js';
28
+ import { C as CardAuthor, L as Loading$1 } from './index-c3d78d26.js';
29
+ import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-1db311d8.js';
30
+ import { I as Input } from './index-c03f370f.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-0225ecb1.js';
35
- import { C as CardLink } from './index-94a1162c.js';
36
- import { B as BtnChoice } from './index-aa21b8da.js';
37
- import { L as LOCALE } from './Locale-3221a5f1.js';
34
+ import { L as Loading } from './index-278965b8.js';
35
+ import { C as CardLink } from './index-f5bcd8d8.js';
36
+ import { B as BtnChoice } from './index-1756fb91.js';
37
+ import { L as LOCALE } from './Locale-30483a63.js';
38
38
  import * as ReactDOM from 'react-dom';
39
- import { b as IconArrowLeft } from './index-8f05c711.js';
40
- import { B as Button$1 } from './index-5f57b1dc.js';
39
+ import { b as IconArrowLeft } from './index-87106b1f.js';
40
+ import { B as Button$1 } from './index-c63924df.js';
41
41
  import { getCookie } from './miscCookieHelper.js';
42
- import { a as useUniqueId } from './useUniqueId-dc3856df.js';
43
- import { U as UserAvatar } from './index-fdae3796.js';
44
- import { P as PopoverMenu } from './index-7bae9527.js';
42
+ import { a as useUniqueId } from './useUniqueId-3ac7c649.js';
43
+ import { U as UserAvatar } from './index-4b8716e6.js';
44
+ import { P as PopoverMenu } from './index-e14dff58.js';
45
45
  import { Close, Check } from '@hhgtech/icons/core';
46
46
 
47
47
  const StyledCreateNewPost$1 = styled.div `
@@ -1438,10 +1438,18 @@ const StyledTopicSelectList$1 = styled.div `
1438
1438
  }
1439
1439
  `;
1440
1440
 
1441
- const TopicSelectList$1 = ({ className, style, topics: topicsProp, communityId, onChange, isLoading, disabled, forceTopics, selectedTopics: selectedTopicsProp, noFetch, dataEventCategory, dataEventAction, dataEventLabel, }) => {
1441
+ const TopicSelectList$1 = ({ className, style, topics: topicsProp, communityId, onChange, isLoading, disabled,
1442
+ // forceTopics,
1443
+ selectedTopics: selectedTopicsProp, noFetch, dataEventCategory, dataEventAction, dataEventLabel, }) => {
1442
1444
  const { data: { locale, env: { isMarryBaby }, }, } = useContext(TogetherComponentGlobalContext);
1443
- const [topics, setTopics] = useState(topicsProp ? [...topicsProp] : []);
1444
- const [selectedTopics, setSelectedTopics] = useState(selectedTopicsProp ? [...selectedTopicsProp] : []);
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([]);
1445
1453
  const [isLoadingTopics, setIsLoadingTopics] = useState(false);
1446
1454
  const topicsPropRef = useRef(topicsProp);
1447
1455
  topicsPropRef.current = topicsProp;
@@ -1459,7 +1467,19 @@ const TopicSelectList$1 = ({ className, style, topics: topicsProp, communityId,
1459
1467
  }), 'GET');
1460
1468
  const topicRes = (_b = res === null || res === void 0 ? void 0 : res.data) === null || _b === void 0 ? void 0 : _b.topics;
1461
1469
  if (Array.isArray(topicRes)) {
1462
- setTopics(() => (topicRes === null || topicRes === void 0 ? void 0 : topicRes.map(formatTopic).sort((t1, t2) => (t1.order || 0) - (t2.order || 0))) || []);
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);
1463
1483
  }
1464
1484
  }
1465
1485
  catch (e) {
@@ -1470,42 +1490,54 @@ const TopicSelectList$1 = ({ className, style, topics: topicsProp, communityId,
1470
1490
  }))();
1471
1491
  }
1472
1492
  }, [communityId, noFetch]);
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]);
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
+ // )
1486
1518
  return (React__default.createElement(StyledTopicSelectList$1, { "data-is-marrybaby": isMarryBaby, className: className, style: style },
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 }))),
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
+ }),
1509
1541
  (isLoading || isLoadingTopics) && React__default.createElement(Loading$1, { className: "topic-spinner" })));
1510
1542
  };
1511
1543
  const TopicItem$1 = (_a) => {
@@ -2434,7 +2466,7 @@ const RichTextEditor = ({ html, onChange, className, style, placeholder, onImage
2434
2466
  onChange === null || onChange === void 0 ? void 0 : onChange(value);
2435
2467
  }
2436
2468
  }
2437
- }, 500), []);
2469
+ }, 200), []);
2438
2470
  useEffect(() => {
2439
2471
  onInvalidUrlsChange && onInvalidUrlsChange(invalidUrls);
2440
2472
  }, [invalidUrls]);
@@ -3384,9 +3416,11 @@ const applySpecialCharSite = [
3384
3416
  LOCALE.Malaysia,
3385
3417
  LOCALE.Vietnam,
3386
3418
  ];
3387
- const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunity, articleId, editPostData, defaultCommunity, defaultTopics, userInfo, isMarryBaby = false, }) => {
3419
+ const CreateNewPostContentV2 = ({ className, style, onClose, onPostCreatedEdited, forceSelectCommunity, forceSelectTopics, articleId, editPostData, defaultCommunity, communities, userInfo, isMarryBaby = false, }) => {
3388
3420
  const isInEditMode = !!(editPostData === null || editPostData === void 0 ? void 0 : editPostData.id);
3389
- const { data: { locale, env: { togetherBasePath }, }, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
3421
+ const { data: { locale,
3422
+ // env: { togetherBasePath },
3423
+ }, action: { pushNotifications, sanitizeFunction }, } = useContext(TogetherComponentGlobalContext);
3390
3424
  const { t } = useTranslations();
3391
3425
  const containerRef = useRef(null);
3392
3426
  const [isAskDoctor, setIsAskDoctor] = useState(false);
@@ -3397,7 +3431,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3397
3431
  label: t('community.choose'),
3398
3432
  value: '',
3399
3433
  });
3400
- const [selectedTopics, setSelectedTopics] = useState([]);
3434
+ const [selectedTopics, setSelectedTopics] = useState([...forceSelectTopics] || []);
3401
3435
  const [error, setError] = useState({});
3402
3436
  const [imageFiles, setImageFiles] = useState([]);
3403
3437
  const [bannedWords, setBannedWords] = useState([]);
@@ -3436,14 +3470,16 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3436
3470
  } })),
3437
3471
  },
3438
3472
  ];
3439
- const currentCommunity = useMemo(() => {
3440
- if (!communityValue.value)
3441
- return null;
3442
- const result = communitiesList.find((item) => String(item.id) === String(communityValue.value));
3443
- if (!result)
3444
- return null;
3445
- return result;
3446
- }, [communityValue, communitiesList]);
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);
3447
3483
  // HANDLE etra action when OPEN AND CLOSE
3448
3484
  useEffect(() => {
3449
3485
  if (editPostData) {
@@ -3454,7 +3490,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3454
3490
  label: post.community.name,
3455
3491
  value: `${post.community.id || ''}-${post.community.mappedCategoryId || ''}`,
3456
3492
  });
3457
- setSelectedTopics(post.topics || []);
3493
+ // setSelectedTopics(post.topics || [])
3458
3494
  setImageFiles(post.photos || []);
3459
3495
  setIsAskDoctor(!!post.isAskDoctor || false);
3460
3496
  }
@@ -3465,9 +3501,9 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3465
3501
  value: `${defaultCommunity.id || ''}-${defaultCommunity.mappedCategoryId || ''}`,
3466
3502
  });
3467
3503
  }
3468
- if (defaultTopics) {
3469
- setSelectedTopics(defaultTopics);
3470
- }
3504
+ // if (defaultTopics) {
3505
+ // setSelectedTopics(defaultTopics)
3506
+ // }
3471
3507
  }
3472
3508
  }, []);
3473
3509
  useEffect(() => {
@@ -3494,7 +3530,8 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3494
3530
  ]);
3495
3531
  const communitiesApi = (_a = resListCommunity === null || resListCommunity === void 0 ? void 0 : resListCommunity.data) === null || _a === void 0 ? void 0 : _a.communities;
3496
3532
  if (Array.isArray(communitiesApi) && communitiesApi.length) {
3497
- setCommunitiesList(communitiesApi);
3533
+ const resultFormat = communitiesApi.map((item) => formatCommunity(item));
3534
+ setCommunitiesList(resultFormat);
3498
3535
  }
3499
3536
  const topicRes = (_b = resListTopic === null || resListTopic === void 0 ? void 0 : resListTopic.data) === null || _b === void 0 ? void 0 : _b.topics;
3500
3537
  if (Array.isArray(topicRes)) {
@@ -3506,6 +3543,12 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3506
3543
  }
3507
3544
  }))();
3508
3545
  }, []);
3546
+ const onCreateEditSuccess = (res) => {
3547
+ if (onPostCreatedEdited) {
3548
+ onPostCreatedEdited(formatPost(res), isInEditMode);
3549
+ }
3550
+ onClose && onClose();
3551
+ };
3509
3552
  const validationUploadPhoto = (files) => {
3510
3553
  const errorMessage = Object.assign({}, error);
3511
3554
  if (files && files.length > 10) {
@@ -3588,22 +3631,20 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3588
3631
  console.log(value);
3589
3632
  }
3590
3633
  };
3634
+ console.log(uncategorizedId);
3635
+ console.log(topicsList);
3591
3636
  const submitPost = (uncategorized) => __awaiter(void 0, void 0, void 0, function* () {
3592
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3637
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
3593
3638
  const isError = validationPost();
3594
3639
  if (isError)
3595
3640
  return;
3596
3641
  const bodyFormData = yield getPostFormData({
3597
3642
  title: titleValue,
3598
3643
  description: descriptionValue,
3599
- communityId: uncategorized
3600
- ? uncategorizedId
3601
- : String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
3644
+ communityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) || ''),
3602
3645
  imageFiles,
3603
3646
  previewUrl,
3604
- topicIds: uncategorized
3605
- ? []
3606
- : selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
3647
+ topicIds: selectedTopics === null || selectedTopics === void 0 ? void 0 : selectedTopics.map((topic) => String(topic.id || '')).filter(Boolean),
3607
3648
  locale,
3608
3649
  sanitizeFunction,
3609
3650
  categoryCommunityId: String((currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.mappedCategoryId) || ''),
@@ -3615,6 +3656,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3615
3656
  if (articleId) {
3616
3657
  bodyFormData.append('article_id', articleId);
3617
3658
  }
3659
+ console.log(uncategorized);
3618
3660
  let res;
3619
3661
  if (isInEditMode) {
3620
3662
  if (editPostData === null || editPostData === void 0 ? void 0 : editPostData.id) {
@@ -3629,17 +3671,28 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3629
3671
  res = yield createPost({
3630
3672
  formData: bodyFormData,
3631
3673
  locale,
3632
- isArticleComment: !(currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.id) && !!(currentCommunity === null || currentCommunity === void 0 ? void 0 : currentCommunity.mappedCategoryId),
3674
+ isArticleComment: true,
3633
3675
  });
3634
3676
  }
3635
3677
  const resData = res === null || res === void 0 ? void 0 : res.data;
3636
3678
  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)) {
3637
- const params = `action=${editPostData ? 'editPost' : 'createPost'}&askDoctor=${(resData === null || resData === void 0 ? void 0 : resData.is_question) ? 'true' : 'false'}`;
3638
- 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}`;
3639
- window.location.href = postHref;
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);
3640
3693
  }
3641
3694
  else {
3642
- 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') {
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') {
3643
3696
  pushNotifications({
3644
3697
  title: t('notification.post.blocked.title'),
3645
3698
  message: t('notification.post.blocked.message'),
@@ -3649,7 +3702,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3649
3702
  setBannedWords(res.messages.moderation.words);
3650
3703
  }
3651
3704
  }
3652
- 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') {
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') {
3653
3706
  pushNotifications({
3654
3707
  title: t('notification.post.suspect.title'),
3655
3708
  message: t('notification.post.suspect.message'),
@@ -3657,7 +3710,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3657
3710
  });
3658
3711
  onClose && onClose();
3659
3712
  }
3660
- 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')); })) {
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')); })) {
3661
3714
  pushNotifications({
3662
3715
  message: t('notification.suspend.message'),
3663
3716
  type: 'danger',
@@ -3666,7 +3719,7 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3666
3719
  }
3667
3720
  else {
3668
3721
  pushNotifications({
3669
- message: ((_k = res === null || res === void 0 ? void 0 : res.messages) === null || _k === void 0 ? void 0 : _k[0]) || t('notification.failure'),
3722
+ message: ((_j = res === null || res === void 0 ? void 0 : res.messages) === null || _j === void 0 ? void 0 : _j[0]) || t('notification.failure'),
3670
3723
  type: 'danger',
3671
3724
  });
3672
3725
  }
@@ -3698,13 +3751,20 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3698
3751
  }
3699
3752
  };
3700
3753
  const onSubmitContinuePost = () => __awaiter(void 0, void 0, void 0, function* () {
3701
- var _l;
3754
+ var _k;
3702
3755
  const isError = validationPost();
3703
3756
  if (isError) {
3704
3757
  const keyElmToScroll = getFirstOrderErroKey(orderErrorFieldKey);
3705
3758
  handleScrollToError(keyElmToScroll);
3706
3759
  return;
3707
3760
  }
3761
+ submitPost();
3762
+ if (stepPost)
3763
+ return;
3764
+ if (isInEditMode) {
3765
+ submitPost();
3766
+ return;
3767
+ }
3708
3768
  setStepPost('step_community');
3709
3769
  // Current just apply ai suggest community for Vietnam site
3710
3770
  if (locale === LOCALE.Vietnam && !isMarryBaby && !isInEditMode) {
@@ -3736,11 +3796,16 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3736
3796
  topic_in: listTopicId.join(),
3737
3797
  pageSize: 100,
3738
3798
  }), 'GET');
3739
- const topicsApi = (_l = resTopic === null || resTopic === void 0 ? void 0 : resTopic.data) === null || _l === void 0 ? void 0 : _l.topics;
3740
- const topicSuggested = topicsApi
3741
- ? topicsApi.map((item) => formatTopic(item))
3742
- : [];
3743
- setSelectedTopics(topicSuggested);
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
3809
  }
3745
3810
  }
3746
3811
  }
@@ -3753,7 +3818,6 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3753
3818
  }
3754
3819
  }
3755
3820
  });
3756
- console.log('topicsList: ', topicsList);
3757
3821
  return (React__default.createElement(StyledCreateNewPost, { className: `${className} create-post-popup-frame`, style: style },
3758
3822
  React__default.createElement("div", { className: "input-group-container", ref: containerRef },
3759
3823
  React__default.createElement(StyledFormGroupInner, null,
@@ -3827,7 +3891,11 @@ const CreateNewPostContentV2 = ({ className, style, onClose, forceSelectCommunit
3827
3891
  validationUploadPhoto(data);
3828
3892
  } }),
3829
3893
  React__default.createElement("div", null,
3830
- 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'))))));
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'))))));
3831
3899
  };
3832
3900
 
3833
3901
  const StyledTopicSelectList = styled.div `