@hhgtech/hhg-components 1.29.319 → 1.29.320

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 (485) hide show
  1. package/build/{LastPeriod-c0e3440d.js → LastPeriod-497c1cc3.js} +1 -1
  2. package/build/{MobileBottomNavigationIcon-1a6ba702.js → MobileBottomNavigationIcon-1f57e757.js} +3 -3
  3. package/build/{Spinner-dbc435a8.js → Spinner-25b15010.js} +1 -1
  4. package/build/{WhatsApp-aaf94bb0.js → WhatsApp-c77ee670.js} +1 -1
  5. package/build/adapters.js +19 -19
  6. package/build/atoms.js +46 -46
  7. package/build/babyGrowth.js +83 -83
  8. package/build/cache.js +2 -2
  9. package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +2 -2
  10. package/build/care.js +17 -17
  11. package/build/careBookingSearchBar.js +14 -14
  12. package/build/careBookingSearchBarV2.js +15 -15
  13. package/build/components/atoms/drawer/helpers.d.ts +1 -1
  14. package/build/components/mantine/helpers.d.ts +1 -1
  15. package/build/components/molecules/mobileBottomNavigation/index.styled.d.ts +6 -1
  16. package/build/components/onboardingV2/frisoForm/index.d.ts +1 -1
  17. package/build/components/onboardingV2/index.d.ts +1 -1
  18. package/build/components.js +90 -90
  19. package/build/{constants-8f3784a8.js → constants-42bc6a79.js} +1 -1
  20. package/build/constants.js +3 -3
  21. package/build/constantsDomainLocales.js +1 -1
  22. package/build/constantsRiskScreener.js +2 -2
  23. package/build/constantsSite.js +2 -2
  24. package/build/{core-287c17ab.js → core-e11447fe.js} +1 -1
  25. package/build/{dataTransform-589a7ea8.js → dataTransform-5699bb3b.js} +1 -1
  26. package/build/ecom.js +4 -4
  27. package/build/{editor-e9405c86.js → editor-e3bf1de9.js} +11 -11
  28. package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
  29. package/build/embeddedHeathToolCards_babyPoop.js +19 -19
  30. package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
  31. package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
  32. package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
  33. package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  34. package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  35. package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
  36. package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
  37. package/build/esm/{LastPeriod-9d0898ca.js → LastPeriod-ecafc262.js} +1 -1
  38. package/build/esm/{MobileBottomNavigationIcon-b88891d5.js → MobileBottomNavigationIcon-8b2949e2.js} +3 -3
  39. package/build/esm/{Spinner-00ba6eea.js → Spinner-c23d4aa4.js} +1 -1
  40. package/build/esm/{WhatsApp-ea897797.js → WhatsApp-2e16cddf.js} +1 -1
  41. package/build/esm/adapters.js +19 -19
  42. package/build/esm/atoms.js +46 -46
  43. package/build/esm/babyGrowth.js +83 -83
  44. package/build/esm/cache.js +2 -2
  45. package/build/esm/care/components/organisms/bookingSearchBar/index.styled.d.ts +2 -2
  46. package/build/esm/care.js +17 -17
  47. package/build/esm/careBookingSearchBar.js +14 -14
  48. package/build/esm/careBookingSearchBarV2.js +15 -15
  49. package/build/esm/components/atoms/drawer/helpers.d.ts +1 -1
  50. package/build/esm/components/mantine/helpers.d.ts +1 -1
  51. package/build/esm/components/molecules/mobileBottomNavigation/index.styled.d.ts +6 -1
  52. package/build/esm/components/onboardingV2/frisoForm/index.d.ts +1 -1
  53. package/build/esm/components/onboardingV2/index.d.ts +1 -1
  54. package/build/esm/components.js +90 -90
  55. package/build/esm/{constants-6ab25eb6.js → constants-99a73cd7.js} +1 -1
  56. package/build/esm/constants.js +3 -3
  57. package/build/esm/constantsDomainLocales.js +1 -1
  58. package/build/esm/constantsRiskScreener.js +2 -2
  59. package/build/esm/constantsSite.js +2 -2
  60. package/build/esm/{core-53d8046d.js → core-f62195ea.js} +1 -1
  61. package/build/esm/{dataTransform-71878d6f.js → dataTransform-16050860.js} +1 -1
  62. package/build/esm/ecom.js +4 -4
  63. package/build/esm/{editor-8d8c8857.js → editor-4508da87.js} +11 -11
  64. package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
  65. package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
  66. package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
  67. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
  68. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
  69. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  70. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  71. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
  72. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
  73. package/build/esm/footer.js +21 -21
  74. package/build/esm/gAssets.js +2 -2
  75. package/build/esm/healthToolsCardWrapper.js +18 -18
  76. package/build/esm/healthToolsForm.js +33 -33
  77. package/build/esm/hooks.js +13 -13
  78. package/build/esm/i18n.js +2 -2
  79. package/build/esm/i18nV2.js +2 -2
  80. package/build/esm/{index-39975ece.js → index-05e1a6f7.js} +24 -24
  81. package/build/esm/{index-48b1b0d8.js → index-0cdbb81a.js} +2 -2
  82. package/build/esm/{index-8c62f861.js → index-1112c881.js} +2 -2
  83. package/build/esm/{index-72183abe.js → index-1bcd4a4f.js} +17 -17
  84. package/build/esm/{index-d11f456f.js → index-267ae4aa.js} +6 -6
  85. package/build/esm/{index-827b01a9.js → index-2946734b.js} +15 -15
  86. package/build/esm/{index-96ad4c5c.js → index-2d4597a1.js} +13 -13
  87. package/build/esm/{index-ff09d4e3.js → index-3223a18a.js} +2 -2
  88. package/build/esm/{index-f2ce73ce.js → index-372ea6a1.js} +20 -20
  89. package/build/esm/{index-ad870457.js → index-3b772e23.js} +32 -32
  90. package/build/esm/{index-ffb09b98.js → index-3ff0c5cd.js} +2 -2
  91. package/build/esm/{index-e99c0162.js → index-45da01df.js} +6 -6
  92. package/build/esm/{index-3236c8cc.js → index-485af9de.js} +13 -13
  93. package/build/esm/{index-e23ba33a.js → index-4902d406.js} +2 -2
  94. package/build/esm/{index-d8261673.js → index-499a3a34.js} +6 -6
  95. package/build/esm/{index-a3264c29.js → index-527e7f53.js} +1 -1
  96. package/build/esm/{index-22824646.js → index-56619127.js} +1 -1
  97. package/build/esm/{index-6b53f614.js → index-57566e02.js} +15 -15
  98. package/build/esm/{index-a415a0b9.js → index-5b1abe33.js} +1 -1
  99. package/build/esm/{index-a8a4567b.js → index-5ea9f4e0.js} +2 -2
  100. package/build/esm/{index-cf33fbac.js → index-5f82d35d.js} +4 -4
  101. package/build/esm/{index-30d78691.js → index-5feca96e.js} +18 -18
  102. package/build/esm/{index-cf6bd7e7.js → index-60926700.js} +7 -7
  103. package/build/esm/{index-548b74f0.js → index-6332437b.js} +2 -2
  104. package/build/esm/{index-fc2f74ee.js → index-671ab60b.js} +5 -5
  105. package/build/esm/{index-9dffd07c.js → index-6885689a.js} +1 -1
  106. package/build/esm/{index-9af7a0e6.js → index-70386ac3.js} +26 -26
  107. package/build/esm/{index-2a97ac41.js → index-76bd6b9a.js} +30 -30
  108. package/build/esm/{index-c315f8c0.js → index-953a9f6d.js} +16 -16
  109. package/build/esm/{index-98d12ee0.js → index-a03b7c7e.js} +3 -3
  110. package/build/esm/{index-7508150a.js → index-a0df2fc1.js} +1 -1
  111. package/build/esm/{index-38f2f27a.js → index-a2db8c2a.js} +5 -5
  112. package/build/esm/{index-d15b19b1.js → index-a33c0764.js} +3 -3
  113. package/build/esm/{index-5e6b5bfa.js → index-a6bbf555.js} +17 -17
  114. package/build/esm/{index-81d45397.js → index-a75e6728.js} +3 -3
  115. package/build/esm/{index-1d6355ef.js → index-a83dc41c.js} +1 -1
  116. package/build/esm/{index-7125a190.js → index-aaa46298.js} +16 -16
  117. package/build/esm/{index-d041dccc.js → index-ae5ed3ab.js} +13 -13
  118. package/build/esm/{index-528b7f1b.js → index-b695b404.js} +3 -3
  119. package/build/esm/{index-453c7fe5.js → index-c14d170c.js} +16 -16
  120. package/build/esm/index-c2c0593c.js +339 -0
  121. package/build/esm/{index-864133e6.js → index-c3833835.js} +7 -7
  122. package/build/esm/{index-65c5f9ff.js → index-c407454a.js} +1 -1
  123. package/build/esm/{index-d9412d5d.js → index-c4c21578.js} +13 -13
  124. package/build/esm/{index-224b1ffd.js → index-c50d357a.js} +16 -16
  125. package/build/esm/{index-87e48e6a.js → index-c8f4eec2.js} +2 -2
  126. package/build/esm/{index-52ac9bb8.js → index-c9220875.js} +3 -3
  127. package/build/esm/{index-9ed195e7.js → index-cb61c519.js} +17 -17
  128. package/build/esm/{index-8c71002f.js → index-ccc5f6e7.js} +2 -2
  129. package/build/esm/{index-821baf4d.js → index-d69892f4.js} +6 -6
  130. package/build/esm/{index-3b822c5c.js → index-d7c0cf31.js} +18 -18
  131. package/build/esm/{index-57807cec.js → index-d8f1469a.js} +10 -10
  132. package/build/esm/{index-f69efff3.js → index-dbd20106.js} +21 -21
  133. package/build/esm/{index-cfa693d6.js → index-e17bf4a4.js} +2 -2
  134. package/build/esm/{index-67962b2a.js → index-ec8e3c42.js} +2 -2
  135. package/build/esm/{index-9116f0e9.js → index-ed438ca0.js} +3 -3
  136. package/build/esm/{index-9d956264.js → index-f9887fb6.js} +11 -11
  137. package/build/esm/{index-2a2c81f0.js → index-fae543f2.js} +3 -3
  138. package/build/esm/{index-9d4eaf82.js → index-faf5fae9.js} +1 -1
  139. package/build/esm/{index-00d45d5d.js → index-fca96fe1.js} +2 -2
  140. package/build/esm/{index-3cfa6db4.js → index-fd01690c.js} +1 -1
  141. package/build/esm/{index-b0a1975a.js → index-febb64f7.js} +24 -24
  142. package/build/esm/index.js +112 -112
  143. package/build/esm/{labelSorting-206b8392.js → labelSorting-77f6aa73.js} +4 -4
  144. package/build/esm/lead.js +24 -24
  145. package/build/esm/{logoIcon-0ebcb7ee.js → logoIcon-cf77f069.js} +2 -2
  146. package/build/esm/mantine.js +25 -25
  147. package/build/esm/misc/animation.d.ts +54 -9
  148. package/build/esm/misc.js +16 -16
  149. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  150. package/build/esm/miscGetSocialList.js +8 -8
  151. package/build/esm/miscScreenSizeContext.js +1 -1
  152. package/build/esm/mobileBottomNavigation.js +5 -5
  153. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  154. package/build/esm/molecules.js +69 -69
  155. package/build/esm/moleculesArticleCard.js +6 -6
  156. package/build/esm/moleculesArticleCardV2.js +16 -16
  157. package/build/esm/navigation.js +40 -40
  158. package/build/esm/navigationLogoutPopup.js +9 -9
  159. package/build/esm/navigationProfileButton.js +23 -23
  160. package/build/esm/onboardingV2.js +29 -29
  161. package/build/esm/organisms.js +44 -44
  162. package/build/esm/{post-c1a023eb.js → post-8ae8f11c.js} +2 -2
  163. package/build/esm/profileNavigation.js +19 -19
  164. package/build/esm/progressBar.js +1 -1
  165. package/build/esm/pwg.js +22 -22
  166. package/build/esm/ssoV2/api/phoneUtils.d.ts +1 -1
  167. package/build/esm/ssoV2.js +26 -26
  168. package/build/esm/{store-60dbd39c.js → store-a60898cd.js} +3 -3
  169. package/build/esm/subot/utils/index.d.ts +1 -1
  170. package/build/esm/subot.js +137 -174
  171. package/build/esm/surveyOrPremiumBanner.js +31 -31
  172. package/build/esm/surveyQuestionCard.js +10 -10
  173. package/build/esm/{surveyThankyouCard-bd16b16a.js → surveyThankyouCard-2d7f4cd1.js} +5 -5
  174. package/build/esm/together.js +53 -53
  175. package/build/esm/togetherApiUtils.js +4 -4
  176. package/build/esm/togetherAtoms.js +30 -30
  177. package/build/esm/togetherComponentGlobalContext.js +4 -4
  178. package/build/esm/togetherMolecules.js +48 -48
  179. package/build/esm/togetherMoleculesCardAuthor.js +27 -27
  180. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  181. package/build/esm/togetherMoleculesProfileDetail.js +37 -37
  182. package/build/esm/togetherOrganisms.js +47 -47
  183. package/build/esm/togetherRichTextEditor.js +17 -17
  184. package/build/esm/togetherShareBox.js +10 -10
  185. package/build/esm/{treePopoverMenu-a73f346a.js → treePopoverMenu-9a61d3fa.js} +19 -19
  186. package/build/esm/{types-8cfe1612.js → types-45ef2fca.js} +2 -2
  187. package/build/esm/types.js +2 -2
  188. package/build/esm/{useCategory-8d4005fa.js → useCategory-8a3d27d5.js} +5 -5
  189. package/build/esm/{useHealthToolCache-9ae49071.js → useHealthToolCache-e3ee2c3e.js} +1 -1
  190. package/build/esm/{useMantineLocale-92f2ea43.js → useMantineLocale-463de4dc.js} +6 -6
  191. package/build/esm/{usePlacesAutocomplete-fb864ca8.js → usePlacesAutocomplete-e91197e8.js} +1 -1
  192. package/build/esm/{useScreenSize-b9c63fd4.js → useScreenSize-1c07e0db.js} +2 -2
  193. package/build/esm/useTogetherAuthRequiredAction.js +9 -9
  194. package/build/esm/{utils-e1753919.js → utils-4a9fef7b.js} +2 -2
  195. package/build/esm/{utils-a5a9607a.js → utils-9662d944.js} +3 -3
  196. package/build/esm/{utils-c5b955b5.js → utils-f96a5be1.js} +2 -2
  197. package/build/esm/vaccination.js +21 -21
  198. package/build/footer.js +21 -21
  199. package/build/gAssets.js +2 -2
  200. package/build/healthToolsCardWrapper.js +18 -18
  201. package/build/healthToolsForm.js +33 -33
  202. package/build/hooks.js +13 -13
  203. package/build/i18n.js +1 -1
  204. package/build/i18nV2.js +1 -1
  205. package/build/{index-ef87118c.js → index-0dbe4e51.js} +1 -1
  206. package/build/{index-f332e407.js → index-115c6a12.js} +16 -16
  207. package/build/{index-d429cb16.js → index-13ebaea8.js} +1 -1
  208. package/build/{index-817850c6.js → index-166f1018.js} +2 -2
  209. package/build/{index-b1d46f9c.js → index-16e876d1.js} +16 -16
  210. package/build/{index-77a491eb.js → index-1734a3b7.js} +3 -3
  211. package/build/{index-143aafea.js → index-18ba0af3.js} +2 -2
  212. package/build/{index-37d31689.js → index-1dc43958.js} +24 -24
  213. package/build/{index-23224883.js → index-1f7a42a3.js} +1 -1
  214. package/build/{index-d633b844.js → index-208ad38c.js} +16 -16
  215. package/build/{index-94eea6f7.js → index-21adf235.js} +15 -15
  216. package/build/{index-da13a167.js → index-21ed889a.js} +24 -24
  217. package/build/{index-1dfa9177.js → index-2a13f9cb.js} +2 -2
  218. package/build/{index-56546b60.js → index-2ce42c79.js} +18 -18
  219. package/build/{index-af5f451b.js → index-33a06f6f.js} +7 -7
  220. package/build/{index-129c74cb.js → index-397873b9.js} +3 -3
  221. package/build/{index-d944f3c3.js → index-3d39488c.js} +13 -13
  222. package/build/{index-46b2af54.js → index-3d46023a.js} +2 -2
  223. package/build/{index-2b404405.js → index-4561e542.js} +11 -11
  224. package/build/{index-81b53861.js → index-471600df.js} +20 -20
  225. package/build/{index-3a36a785.js → index-4f055f08.js} +2 -2
  226. package/build/{index-bf7ea186.js → index-518f63d1.js} +21 -21
  227. package/build/{index-b6143bc6.js → index-557d2f11.js} +2 -2
  228. package/build/{index-b51dc90a.js → index-56e70ecf.js} +2 -2
  229. package/build/{index-ac795f2b.js → index-59179d2c.js} +3 -3
  230. package/build/{index-97c6097e.js → index-63559f28.js} +16 -16
  231. package/build/{index-242bd862.js → index-6369b41f.js} +17 -17
  232. package/build/{index-ab14e573.js → index-64167c19.js} +17 -17
  233. package/build/{index-b27a8af5.js → index-66fbcfb4.js} +2 -2
  234. package/build/{index-c018b0ab.js → index-6ab4dd8d.js} +2 -2
  235. package/build/{index-af2a2f67.js → index-6e5edf5e.js} +1 -1
  236. package/build/{index-384d7645.js → index-7047c49e.js} +2 -2
  237. package/build/{index-18125b5e.js → index-708a71e9.js} +13 -13
  238. package/build/{index-f0df9598.js → index-75c177e2.js} +13 -13
  239. package/build/{index-9375980a.js → index-7ff568d5.js} +13 -13
  240. package/build/{index-32a0e8b8.js → index-8241c2f1.js} +6 -6
  241. package/build/{index-23fe1789.js → index-8390bb72.js} +2 -2
  242. package/build/{index-5b01f1e8.js → index-839c9486.js} +6 -6
  243. package/build/{index-fb5ffb96.js → index-870dba22.js} +1 -1
  244. package/build/index-8c7c9885.js +341 -0
  245. package/build/{index-74308b95.js → index-8e225fa2.js} +3 -3
  246. package/build/{index-d9dde73a.js → index-911cc655.js} +26 -26
  247. package/build/{index-9dabfdea.js → index-91ce180d.js} +1 -1
  248. package/build/{index-d4eaddce.js → index-9ba4a661.js} +1 -1
  249. package/build/{index-cddeb541.js → index-a6a67288.js} +3 -3
  250. package/build/{index-de7e7205.js → index-a6f169a6.js} +15 -15
  251. package/build/{index-6551d32d.js → index-a9a77632.js} +30 -30
  252. package/build/{index-478afe2d.js → index-b8f4153e.js} +7 -7
  253. package/build/{index-66771e62.js → index-b9ae86ae.js} +32 -32
  254. package/build/{index-343c12ba.js → index-bb562543.js} +5 -5
  255. package/build/{index-38d8436d.js → index-ce3b6f3c.js} +3 -3
  256. package/build/{index-ce187501.js → index-d6989184.js} +6 -6
  257. package/build/{index-863a8b0f.js → index-d7ec8f54.js} +4 -4
  258. package/build/{index-f7ddf327.js → index-dbef95df.js} +18 -18
  259. package/build/{index-b715b7cb.js → index-dfa09d1b.js} +17 -17
  260. package/build/{index-de60ae40.js → index-e39105a3.js} +1 -1
  261. package/build/{index-d1941d0b.js → index-e7dbce71.js} +5 -5
  262. package/build/{index-d839f382.js → index-ead49133.js} +1 -1
  263. package/build/{index-490445e0.js → index-eae36f8c.js} +2 -2
  264. package/build/{index-8521273b.js → index-ee2bf807.js} +3 -3
  265. package/build/{index-9afb93ca.js → index-f390df9c.js} +10 -10
  266. package/build/{index-c0feef5c.js → index-fb785f16.js} +6 -6
  267. package/build/index.js +112 -112
  268. package/build/{labelSorting-24d5d598.js → labelSorting-2ffc35c0.js} +4 -4
  269. package/build/lead.js +24 -24
  270. package/build/{logoIcon-0c29807d.js → logoIcon-e3ae9faa.js} +2 -2
  271. package/build/mantine.js +22 -22
  272. package/build/misc/animation.d.ts +54 -9
  273. package/build/misc.js +16 -16
  274. package/build/miscGetDynamicHealthTool.js +4 -4
  275. package/build/miscGetSocialList.js +8 -8
  276. package/build/miscScreenSizeContext.js +1 -1
  277. package/build/mobileBottomNavigation.js +5 -5
  278. package/build/mobileBottomNavigationIcon.js +5 -5
  279. package/build/molecules.js +69 -69
  280. package/build/moleculesArticleCard.js +6 -6
  281. package/build/moleculesArticleCardV2.js +16 -16
  282. package/build/navigation.js +40 -40
  283. package/build/navigationLogoutPopup.js +9 -9
  284. package/build/navigationProfileButton.js +23 -23
  285. package/build/onboardingV2.js +28 -28
  286. package/build/organisms.js +44 -44
  287. package/build/{post-a3a067cc.js → post-bb1cd2d3.js} +2 -2
  288. package/build/profileNavigation.js +19 -19
  289. package/build/progressBar.js +1 -1
  290. package/build/pwg.js +22 -22
  291. package/build/ssoV2/api/phoneUtils.d.ts +1 -1
  292. package/build/ssoV2.js +25 -25
  293. package/build/{store-3bdfd042.js → store-7867e783.js} +3 -3
  294. package/build/subot/utils/index.d.ts +1 -1
  295. package/build/subot.js +136 -173
  296. package/build/surveyOrPremiumBanner.js +31 -31
  297. package/build/surveyQuestionCard.js +10 -10
  298. package/build/{surveyThankyouCard-03764953.js → surveyThankyouCard-64bff3f5.js} +5 -5
  299. package/build/together.js +53 -53
  300. package/build/togetherApiUtils.js +4 -4
  301. package/build/togetherAtoms.js +30 -30
  302. package/build/togetherComponentGlobalContext.js +4 -4
  303. package/build/togetherMolecules.js +48 -48
  304. package/build/togetherMoleculesCardAuthor.js +27 -27
  305. package/build/togetherMoleculesPostImagePreview.js +11 -11
  306. package/build/togetherMoleculesProfileDetail.js +37 -37
  307. package/build/togetherOrganisms.js +47 -47
  308. package/build/togetherRichTextEditor.js +17 -17
  309. package/build/togetherShareBox.js +10 -10
  310. package/build/{treePopoverMenu-f9027eed.js → treePopoverMenu-31ac23f2.js} +19 -19
  311. package/build/{types-1faebc10.js → types-1d0eddb9.js} +2 -2
  312. package/build/types.js +2 -2
  313. package/build/{useCategory-0e3720da.js → useCategory-cfd7ed45.js} +5 -5
  314. package/build/{useHealthToolCache-20501867.js → useHealthToolCache-5bef85fd.js} +1 -1
  315. package/build/{useMantineLocale-741bf395.js → useMantineLocale-f832cdab.js} +6 -6
  316. package/build/{usePlacesAutocomplete-6f273c8d.js → usePlacesAutocomplete-508c2f5e.js} +1 -1
  317. package/build/{useScreenSize-865ab69f.js → useScreenSize-e92f91b6.js} +2 -2
  318. package/build/useTogetherAuthRequiredAction.js +9 -9
  319. package/build/{utils-cbf3e5fb.js → utils-63f48248.js} +2 -2
  320. package/build/{utils-ee2160b8.js → utils-67514439.js} +3 -3
  321. package/build/{utils-75487da1.js → utils-6ba416c5.js} +2 -2
  322. package/build/vaccination.js +21 -21
  323. package/package.json +1 -1
  324. package/build/esm/index-a03ee763.js +0 -275
  325. package/build/index-1e63f1f9.js +0 -277
  326. /package/build/{BMI_BOYS.percentile.monthly-7b140fc3.js → BMI_BOYS.percentile.monthly-a076e0cc.js} +0 -0
  327. /package/build/{BMI_BOYS.percentile.weekly-18ed5029.js → BMI_BOYS.percentile.weekly-efe230f6.js} +0 -0
  328. /package/build/{BMI_BOYS.percentile.yearly-6bd82753.js → BMI_BOYS.percentile.yearly-2ab9dcfd.js} +0 -0
  329. /package/build/{BMI_BOYS.zscore.monthly-365710ca.js → BMI_BOYS.zscore.monthly-86eb6727.js} +0 -0
  330. /package/build/{BMI_BOYS.zscore.weekly-253b5709.js → BMI_BOYS.zscore.weekly-ace7fbe8.js} +0 -0
  331. /package/build/{BMI_BOYS.zscore.yearly-ecb1d197.js → BMI_BOYS.zscore.yearly-cb04b30e.js} +0 -0
  332. /package/build/{BMI_GIRLS.percentile.monthly-cb3e7c24.js → BMI_GIRLS.percentile.monthly-1c5b48f3.js} +0 -0
  333. /package/build/{BMI_GIRLS.percentile.weekly-184b7c03.js → BMI_GIRLS.percentile.weekly-9164a321.js} +0 -0
  334. /package/build/{BMI_GIRLS.percentile.yearly-67c59c94.js → BMI_GIRLS.percentile.yearly-707dbf94.js} +0 -0
  335. /package/build/{BMI_GIRLS.zscore.monthly-a6194d7e.js → BMI_GIRLS.zscore.monthly-0df834a5.js} +0 -0
  336. /package/build/{BMI_GIRLS.zscore.weekly-3e0ef130.js → BMI_GIRLS.zscore.weekly-d4d96083.js} +0 -0
  337. /package/build/{BMI_GIRLS.zscore.yearly-f99598d4.js → BMI_GIRLS.zscore.yearly-5fc825c0.js} +0 -0
  338. /package/build/{ChevronDown-e33e886c.js → ChevronDown-ed1ac570.js} +0 -0
  339. /package/build/{Close-19f6fcc6.js → Close-1d44486e.js} +0 -0
  340. /package/build/{Google-c52fdf6a.js → Google-fcce9aa9.js} +0 -0
  341. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-398cdcb9.js → HEAD CIRCUM_BOYS.percentile.monthly-373531c3.js} +0 -0
  342. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-7b776639.js → HEAD CIRCUM_BOYS.percentile.weekly-c7af16fb.js} +0 -0
  343. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-59081efa.js → HEAD CIRCUM_BOYS.percentile.yearly-e9521c0e.js} +0 -0
  344. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-937c298f.js → HEAD CIRCUM_BOYS.zscore.monthly-ed28fb91.js} +0 -0
  345. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-831e8e63.js → HEAD CIRCUM_BOYS.zscore.weekly-a74979ae.js} +0 -0
  346. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ef886421.js → HEAD CIRCUM_BOYS.zscore.yearly-dcef4092.js} +0 -0
  347. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-2ed1b280.js → HEAD CIRCUM_GIRLS.percentile.monthly-8c826483.js} +0 -0
  348. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-02fcd964.js → HEAD CIRCUM_GIRLS.percentile.weekly-5e234efb.js} +0 -0
  349. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-adabab0c.js → HEAD CIRCUM_GIRLS.percentile.yearly-98086a1c.js} +0 -0
  350. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c439c958.js → HEAD CIRCUM_GIRLS.zscore.monthly-c35351bb.js} +0 -0
  351. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a65a52f7.js → HEAD CIRCUM_GIRLS.zscore.weekly-acf0f88b.js} +0 -0
  352. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-9b4c80b0.js → HEAD CIRCUM_GIRLS.zscore.yearly-aacae5c8.js} +0 -0
  353. /package/build/{HEIGHT_BOYS.percentile.monthly-95d33063.js → HEIGHT_BOYS.percentile.monthly-c50ca7fc.js} +0 -0
  354. /package/build/{HEIGHT_BOYS.percentile.weekly-58ae3923.js → HEIGHT_BOYS.percentile.weekly-96b88ac9.js} +0 -0
  355. /package/build/{HEIGHT_BOYS.percentile.yearly-17399309.js → HEIGHT_BOYS.percentile.yearly-c47f7586.js} +0 -0
  356. /package/build/{HEIGHT_BOYS.zscore.monthly-b8811800.js → HEIGHT_BOYS.zscore.monthly-741725e1.js} +0 -0
  357. /package/build/{HEIGHT_BOYS.zscore.weekly-ef932201.js → HEIGHT_BOYS.zscore.weekly-daec8f47.js} +0 -0
  358. /package/build/{HEIGHT_BOYS.zscore.yearly-c8da2d2c.js → HEIGHT_BOYS.zscore.yearly-e2138b4b.js} +0 -0
  359. /package/build/{HEIGHT_GIRLS.percentile.monthly-43670f9b.js → HEIGHT_GIRLS.percentile.monthly-bd367200.js} +0 -0
  360. /package/build/{HEIGHT_GIRLS.percentile.weekly-44578918.js → HEIGHT_GIRLS.percentile.weekly-fb367b81.js} +0 -0
  361. /package/build/{HEIGHT_GIRLS.percentile.yearly-0c2cc916.js → HEIGHT_GIRLS.percentile.yearly-cd8bc378.js} +0 -0
  362. /package/build/{HEIGHT_GIRLS.zscore.monthly-3e0b2efa.js → HEIGHT_GIRLS.zscore.monthly-17a4f5e8.js} +0 -0
  363. /package/build/{HEIGHT_GIRLS.zscore.weekly-45d8b1ff.js → HEIGHT_GIRLS.zscore.weekly-f5801a99.js} +0 -0
  364. /package/build/{HEIGHT_GIRLS.zscore.yearly-89ed91ea.js → HEIGHT_GIRLS.zscore.yearly-0a9e709e.js} +0 -0
  365. /package/build/{Locale-2d2d984d.js → Locale-a2b64e09.js} +0 -0
  366. /package/build/{Visible-5152f811.js → Visible-88815584.js} +0 -0
  367. /package/build/{WEIGHT_BOYS.percentile.monthly-b9c57dab.js → WEIGHT_BOYS.percentile.monthly-14674c52.js} +0 -0
  368. /package/build/{WEIGHT_BOYS.percentile.weekly-44c496f5.js → WEIGHT_BOYS.percentile.weekly-897a83c3.js} +0 -0
  369. /package/build/{WEIGHT_BOYS.percentile.yearly-19c8d5e3.js → WEIGHT_BOYS.percentile.yearly-3a7d4b45.js} +0 -0
  370. /package/build/{WEIGHT_BOYS.zscore.monthly-d30ee87c.js → WEIGHT_BOYS.zscore.monthly-3917871f.js} +0 -0
  371. /package/build/{WEIGHT_BOYS.zscore.weekly-c39216bc.js → WEIGHT_BOYS.zscore.weekly-0942cafb.js} +0 -0
  372. /package/build/{WEIGHT_BOYS.zscore.yearly-98e2d544.js → WEIGHT_BOYS.zscore.yearly-76d93296.js} +0 -0
  373. /package/build/{WEIGHT_GIRLS.percentile.monthly-ff182dfa.js → WEIGHT_GIRLS.percentile.monthly-f7b77bd0.js} +0 -0
  374. /package/build/{WEIGHT_GIRLS.percentile.weekly-a1ce388c.js → WEIGHT_GIRLS.percentile.weekly-78f25329.js} +0 -0
  375. /package/build/{WEIGHT_GIRLS.percentile.yearly-3ee50ac2.js → WEIGHT_GIRLS.percentile.yearly-8b42b0c5.js} +0 -0
  376. /package/build/{WEIGHT_GIRLS.zscore.monthly-2a0ee5f0.js → WEIGHT_GIRLS.zscore.monthly-5985e029.js} +0 -0
  377. /package/build/{WEIGHT_GIRLS.zscore.weekly-e78d5fd0.js → WEIGHT_GIRLS.zscore.weekly-2765cff3.js} +0 -0
  378. /package/build/{WEIGHT_GIRLS.zscore.yearly-ce52fd94.js → WEIGHT_GIRLS.zscore.yearly-fdeb5c5b.js} +0 -0
  379. /package/build/{animation-793aeedf.js → animation-c7cd865b.js} +0 -0
  380. /package/build/{constants-aa69f8d5.js → constants-4a55ae04.js} +0 -0
  381. /package/build/{constants-b8cae6b4.js → constants-8011d1df.js} +0 -0
  382. /package/build/{constants-ed8e89de.js → constants-984a461d.js} +0 -0
  383. /package/build/{dataTransform-5a866512.js → dataTransform-3249307f.js} +0 -0
  384. /package/build/{doctor-1e5df6e7.js → doctor-2b387668.js} +0 -0
  385. /package/build/esm/{BMI_BOYS.percentile.monthly-12418ad8.js → BMI_BOYS.percentile.monthly-89dd7101.js} +0 -0
  386. /package/build/esm/{BMI_BOYS.percentile.weekly-c8a8d77b.js → BMI_BOYS.percentile.weekly-c6bd46f5.js} +0 -0
  387. /package/build/esm/{BMI_BOYS.percentile.yearly-e593f2e6.js → BMI_BOYS.percentile.yearly-b89d0051.js} +0 -0
  388. /package/build/esm/{BMI_BOYS.zscore.monthly-641c6be7.js → BMI_BOYS.zscore.monthly-1a3be414.js} +0 -0
  389. /package/build/esm/{BMI_BOYS.zscore.weekly-6a93b93c.js → BMI_BOYS.zscore.weekly-a1ccda55.js} +0 -0
  390. /package/build/esm/{BMI_BOYS.zscore.yearly-b18a8e40.js → BMI_BOYS.zscore.yearly-aacea355.js} +0 -0
  391. /package/build/esm/{BMI_GIRLS.percentile.monthly-a6e40090.js → BMI_GIRLS.percentile.monthly-01090baf.js} +0 -0
  392. /package/build/esm/{BMI_GIRLS.percentile.weekly-8081af05.js → BMI_GIRLS.percentile.weekly-4b91a576.js} +0 -0
  393. /package/build/esm/{BMI_GIRLS.percentile.yearly-21b59817.js → BMI_GIRLS.percentile.yearly-c4684de9.js} +0 -0
  394. /package/build/esm/{BMI_GIRLS.zscore.monthly-93253b51.js → BMI_GIRLS.zscore.monthly-01bcc423.js} +0 -0
  395. /package/build/esm/{BMI_GIRLS.zscore.weekly-c7f61864.js → BMI_GIRLS.zscore.weekly-df7d9677.js} +0 -0
  396. /package/build/esm/{BMI_GIRLS.zscore.yearly-5b6025ac.js → BMI_GIRLS.zscore.yearly-5970b83a.js} +0 -0
  397. /package/build/esm/{ChevronDown-a053d433.js → ChevronDown-618c0f6e.js} +0 -0
  398. /package/build/esm/{Close-ec53611b.js → Close-111f9a5c.js} +0 -0
  399. /package/build/esm/{Google-316e2fad.js → Google-0bc6bba6.js} +0 -0
  400. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-b4387bda.js → HEAD CIRCUM_BOYS.percentile.monthly-1adc4fc0.js} +0 -0
  401. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-19b8b8d9.js → HEAD CIRCUM_BOYS.percentile.weekly-c7de7104.js} +0 -0
  402. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-b1b5482c.js → HEAD CIRCUM_BOYS.percentile.yearly-ba6c7f0b.js} +0 -0
  403. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-a3ef6253.js → HEAD CIRCUM_BOYS.zscore.monthly-09d9f8b5.js} +0 -0
  404. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-ec0c3c87.js → HEAD CIRCUM_BOYS.zscore.weekly-ae0e1e91.js} +0 -0
  405. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5744a3c8.js → HEAD CIRCUM_BOYS.zscore.yearly-e8061a71.js} +0 -0
  406. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4be449eb.js → HEAD CIRCUM_GIRLS.percentile.monthly-80790102.js} +0 -0
  407. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-602459a6.js → HEAD CIRCUM_GIRLS.percentile.weekly-eebaf04b.js} +0 -0
  408. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-df0e8158.js → HEAD CIRCUM_GIRLS.percentile.yearly-0af49b75.js} +0 -0
  409. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7279d043.js → HEAD CIRCUM_GIRLS.zscore.monthly-506dc6dd.js} +0 -0
  410. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e82fb902.js → HEAD CIRCUM_GIRLS.zscore.weekly-3c199dc4.js} +0 -0
  411. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b9266d18.js → HEAD CIRCUM_GIRLS.zscore.yearly-af2a2393.js} +0 -0
  412. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f9dd08b0.js → HEIGHT_BOYS.percentile.monthly-0f6f461b.js} +0 -0
  413. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-fe26422a.js → HEIGHT_BOYS.percentile.weekly-0378a915.js} +0 -0
  414. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-00293d31.js → HEIGHT_BOYS.percentile.yearly-ebe81d78.js} +0 -0
  415. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-97ca8986.js → HEIGHT_BOYS.zscore.monthly-4d912df8.js} +0 -0
  416. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-0a2f52b2.js → HEIGHT_BOYS.zscore.weekly-aabc87b3.js} +0 -0
  417. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-8bf8ef52.js → HEIGHT_BOYS.zscore.yearly-bda77188.js} +0 -0
  418. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-5cea3c6a.js → HEIGHT_GIRLS.percentile.monthly-c8ace495.js} +0 -0
  419. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-cceec355.js → HEIGHT_GIRLS.percentile.weekly-dd128a29.js} +0 -0
  420. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-287117f7.js → HEIGHT_GIRLS.percentile.yearly-c20b6643.js} +0 -0
  421. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-33b2c452.js → HEIGHT_GIRLS.zscore.monthly-ff0305c3.js} +0 -0
  422. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-04c90b25.js → HEIGHT_GIRLS.zscore.weekly-000ef16b.js} +0 -0
  423. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-edc1bef2.js → HEIGHT_GIRLS.zscore.yearly-fa273c5a.js} +0 -0
  424. /package/build/esm/{Locale-113763dc.js → Locale-91a0ee98.js} +0 -0
  425. /package/build/esm/{Visible-4e06b8e8.js → Visible-721952a4.js} +0 -0
  426. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-6bf93351.js → WEIGHT_BOYS.percentile.monthly-73101cb0.js} +0 -0
  427. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-d2bb1fae.js → WEIGHT_BOYS.percentile.weekly-04b55699.js} +0 -0
  428. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-a8909d86.js → WEIGHT_BOYS.percentile.yearly-14059daf.js} +0 -0
  429. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-2c6e2577.js → WEIGHT_BOYS.zscore.monthly-f1eb7d4f.js} +0 -0
  430. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-775c9410.js → WEIGHT_BOYS.zscore.weekly-827bfb79.js} +0 -0
  431. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-ef59a73f.js → WEIGHT_BOYS.zscore.yearly-2765774e.js} +0 -0
  432. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-63026604.js → WEIGHT_GIRLS.percentile.monthly-27d71288.js} +0 -0
  433. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-ef8c77ad.js → WEIGHT_GIRLS.percentile.weekly-dfbe68da.js} +0 -0
  434. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-584abc37.js → WEIGHT_GIRLS.percentile.yearly-8abe2252.js} +0 -0
  435. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-1c341007.js → WEIGHT_GIRLS.zscore.monthly-3eaff5f8.js} +0 -0
  436. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-8df06df9.js → WEIGHT_GIRLS.zscore.weekly-662d82d8.js} +0 -0
  437. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-e69ce3d3.js → WEIGHT_GIRLS.zscore.yearly-77681ff7.js} +0 -0
  438. /package/build/esm/{animation-f2fd7725.js → animation-346e76a6.js} +0 -0
  439. /package/build/esm/{constants-4f03c0d1.js → constants-3d4619e6.js} +0 -0
  440. /package/build/esm/{constants-ec91ac43.js → constants-4c8374b7.js} +0 -0
  441. /package/build/esm/{constants-b2406470.js → constants-5a48abab.js} +0 -0
  442. /package/build/esm/{dataTransform-e20c4054.js → dataTransform-3fc68ab6.js} +0 -0
  443. /package/build/esm/{doctor-4348bb91.js → doctor-a03acfc0.js} +0 -0
  444. /package/build/esm/{index-f21c93ea.js → index-3f001644.js} +0 -0
  445. /package/build/esm/{index-ffb7f4b1.js → index-46ba5ef1.js} +0 -0
  446. /package/build/esm/{index-a6852d97.js → index-4fd4e4ec.js} +0 -0
  447. /package/build/esm/{index-430e0ec8.js → index-822233d3.js} +0 -0
  448. /package/build/esm/{index-1487b182.js → index-9391c033.js} +0 -0
  449. /package/build/esm/{index-08abbf60.js → index-a53c68b6.js} +0 -0
  450. /package/build/esm/{index-4a9572c1.js → index-a5a44f61.js} +0 -0
  451. /package/build/esm/{index-7c6e8a3a.js → index-cf6b617c.js} +0 -0
  452. /package/build/esm/{index.styles-1ced5cf6.js → index.styles-ad357f5a.js} +0 -0
  453. /package/build/esm/{localizeNumberFormat-ac517662.js → localizeNumberFormat-ae027264.js} +0 -0
  454. /package/build/esm/{normalizeLink-f023bdfd.js → normalizeLink-1a9aaef2.js} +0 -0
  455. /package/build/esm/{other-829bfc4e.js → other-191c206c.js} +0 -0
  456. /package/build/esm/{paths-b1ce59c4.js → paths-88e50143.js} +0 -0
  457. /package/build/esm/{translationsContext-cb129b96.js → translationsContext-c5c62ce0.js} +0 -0
  458. /package/build/esm/{tslib.es6-19fe97c5.js → tslib.es6-49ca40fa.js} +0 -0
  459. /package/build/esm/{types-af4f8121.js → types-58c1605a.js} +0 -0
  460. /package/build/esm/{useIsInit-29b6b355.js → useIsInit-0bae394c.js} +0 -0
  461. /package/build/esm/{useOutsideClick-fe236274.js → useOutsideClick-c6c91b78.js} +0 -0
  462. /package/build/esm/{useScrollbarSize-d711e423.js → useScrollbarSize-5d427e6a.js} +0 -0
  463. /package/build/esm/{useUniqueId-e0046ffd.js → useUniqueId-b4e8c44b.js} +0 -0
  464. /package/build/esm/{utils-e1e4fc34.js → utils-91df31b9.js} +0 -0
  465. /package/build/{index-22e8438d.js → index-035574df.js} +0 -0
  466. /package/build/{index-15699259.js → index-2d845c49.js} +0 -0
  467. /package/build/{index-6b5f0268.js → index-323cc42d.js} +0 -0
  468. /package/build/{index-af8ed5bc.js → index-435378bf.js} +0 -0
  469. /package/build/{index-6c9b12e2.js → index-48e26311.js} +0 -0
  470. /package/build/{index-4a686bf9.js → index-a58559e7.js} +0 -0
  471. /package/build/{index-4cf96c4b.js → index-ba8efd94.js} +0 -0
  472. /package/build/{index-55716750.js → index-d07068f6.js} +0 -0
  473. /package/build/{index.styles-5365f226.js → index.styles-e8c404b0.js} +0 -0
  474. /package/build/{localizeNumberFormat-d1263239.js → localizeNumberFormat-919e2b18.js} +0 -0
  475. /package/build/{normalizeLink-bf87addf.js → normalizeLink-3c1efa0e.js} +0 -0
  476. /package/build/{other-337f9c41.js → other-6ba31b45.js} +0 -0
  477. /package/build/{paths-abf8b531.js → paths-89f8c5f5.js} +0 -0
  478. /package/build/{translationsContext-0f977577.js → translationsContext-a2668d17.js} +0 -0
  479. /package/build/{tslib.es6-2a2d42df.js → tslib.es6-6dfcc6f8.js} +0 -0
  480. /package/build/{types-57e610de.js → types-704fa4b0.js} +0 -0
  481. /package/build/{useIsInit-075143dc.js → useIsInit-af3eaaf4.js} +0 -0
  482. /package/build/{useOutsideClick-89fa06c9.js → useOutsideClick-5925251c.js} +0 -0
  483. /package/build/{useScrollbarSize-17884d4b.js → useScrollbarSize-847fc5de.js} +0 -0
  484. /package/build/{useUniqueId-7dc8618f.js → useUniqueId-3f5852dc.js} +0 -0
  485. /package/build/{utils-67d5f4f0.js → utils-35aa4893.js} +0 -0
@@ -1,27 +1,27 @@
1
- import { a as __awaiter, _ as __rest } from './tslib.es6-19fe97c5.js';
1
+ import { a as __awaiter, _ as __rest } from './tslib.es6-49ca40fa.js';
2
2
  import React__default, { createContext, useMemo, useEffect, useState, useCallback, forwardRef } from 'react';
3
- import { I as Input, s as styles, O as OTP, f as PasswordInput, E as ErrorBoundary } from './index-9d956264.js';
4
- import { S as SSOStepTypeType, a as useSSOSteps, u as useSSOV2Store, i as isUserFinishedSetup, f as fetchSSOV2Api, w as websiteId, b as SSO_V2_PATHS, c as checkUserExist, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, d as updateUserInfo, e as isPhoneNotVerifedYet, j as isLoginWithPhoneNotVerifedYet, k as isFlowFinishedSetup, r as resetPassword, l as redirect } from './store-60dbd39c.js';
5
- export { u as useSSOV2Store } from './store-60dbd39c.js';
3
+ import { I as Input, s as styles, O as OTP, f as PasswordInput, E as ErrorBoundary } from './index-f9887fb6.js';
4
+ import { S as SSOStepTypeType, a as useSSOSteps, u as useSSOV2Store, i as isUserFinishedSetup, f as fetchSSOV2Api, w as websiteId, b as SSO_V2_PATHS, c as checkUserExist, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, d as updateUserInfo, e as isPhoneNotVerifedYet, j as isLoginWithPhoneNotVerifedYet, k as isFlowFinishedSetup, r as resetPassword, l as redirect } from './store-a60898cd.js';
5
+ export { u as useSSOV2Store } from './store-a60898cd.js';
6
6
  import { ChevronLeft } from '@hhgtech/icons/arrow';
7
7
  import { Close, Search, ReplySquare } from '@hhgtech/icons/core';
8
- import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES, Q as QUERY_HEALTH_TOOL } from './index-87e48e6a.js';
9
- import { L as LogoIcon } from './logoIcon-0ebcb7ee.js';
10
- import { B as Button } from './index-9dffd07c.js';
11
- import { M as Modal } from './index-00d45d5d.js';
8
+ import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES, Q as QUERY_HEALTH_TOOL } from './index-c8f4eec2.js';
9
+ import { L as LogoIcon } from './logoIcon-cf77f069.js';
10
+ import { B as Button } from './index-6885689a.js';
11
+ import { M as Modal } from './index-fca96fe1.js';
12
12
  import { Stack, Flex, Box, Group, Divider } from '@mantine/core';
13
13
  import '@mantine/dates';
14
- import './index-a415a0b9.js';
15
- import './index-ffb7f4b1.js';
16
- import { s as showNotification } from './useMantineLocale-92f2ea43.js';
17
- import { T as Text } from './index-cfa693d6.js';
18
- import { u as useTranslations } from './index-65c5f9ff.js';
14
+ import './index-5b1abe33.js';
15
+ import './index-46ba5ef1.js';
16
+ import { s as showNotification } from './useMantineLocale-463de4dc.js';
17
+ import { T as Text } from './index-e17bf4a4.js';
18
+ import { u as useTranslations } from './index-c407454a.js';
19
19
  import '@mantine/hooks';
20
- import './utils-e1e4fc34.js';
21
- import './other-829bfc4e.js';
22
- import './index-98d12ee0.js';
23
- import { L as LOCALE } from './Locale-113763dc.js';
24
- import { G as Google, F as Facebook } from './Google-316e2fad.js';
20
+ import './utils-91df31b9.js';
21
+ import './other-191c206c.js';
22
+ import './index-a03b7c7e.js';
23
+ import { L as LOCALE } from './Locale-91a0ee98.js';
24
+ import { G as Google, F as Facebook } from './Google-0bc6bba6.js';
25
25
  import { parsePhoneNumber, getCountryCallingCode } from 'react-phone-number-input';
26
26
  import styled from '@emotion/styled';
27
27
  import cn from 'classnames';
@@ -29,28 +29,28 @@ import { CaretDown } from '@hhgtech/icons/other';
29
29
  import debounce from 'lodash/debounce';
30
30
  import throttle from 'lodash/throttle';
31
31
  import Flags from 'react-phone-number-input/flags';
32
- import { u as useScreenSize } from './useScreenSize-b9c63fd4.js';
32
+ import { u as useScreenSize } from './useScreenSize-1c07e0db.js';
33
33
  import { Drawer } from 'vaul';
34
- import { M as MAPPED_LOCALE } from './utils-e1753919.js';
35
- import { S as Spoiler } from './index-528b7f1b.js';
34
+ import { M as MAPPED_LOCALE } from './utils-4a9fef7b.js';
35
+ import { S as Spoiler } from './index-b695b404.js';
36
36
  import { domainLocales } from './constantsDomainLocales.js';
37
37
  import { useForm, yupResolver } from '@mantine/form';
38
38
  import * as yup from 'yup';
39
39
  import dayjs from 'dayjs';
40
- import { D as DatePicker } from './index-d11f456f.js';
40
+ import { D as DatePicker } from './index-267ae4aa.js';
41
41
  import '@mantine/carousel';
42
42
  import './miscTheme.js';
43
- import './useUniqueId-e0046ffd.js';
43
+ import './useUniqueId-b4e8c44b.js';
44
44
  import './constantsSite.js';
45
45
  import 'zustand';
46
46
  import './constantsIsProduction.js';
47
- import './normalizeLink-f023bdfd.js';
47
+ import './normalizeLink-1a9aaef2.js';
48
48
  import './miscCookieHelper.js';
49
49
  import 'date-fns/locale';
50
50
  import './constantsRiskScreener.js';
51
- import './index.styles-1ced5cf6.js';
51
+ import './index.styles-ad357f5a.js';
52
52
  import '@mantine/notifications';
53
- import './translationsContext-cb129b96.js';
53
+ import './translationsContext-c5c62ce0.js';
54
54
 
55
55
  const SSOStateContext = createContext({
56
56
  locale: LOCALE.Vietnam,
@@ -1,8 +1,8 @@
1
- import { a as __awaiter } from './tslib.es6-19fe97c5.js';
1
+ import { a as __awaiter } from './tslib.es6-49ca40fa.js';
2
2
  import { create } from 'zustand';
3
3
  import { isProduction } from './constantsIsProduction.js';
4
- import { e as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-f023bdfd.js';
5
- import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, d as BEARER_TOKEN_COOKIE$1 } from './index-87e48e6a.js';
4
+ import { e as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-1a9aaef2.js';
5
+ import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, d as BEARER_TOKEN_COOKIE$1 } from './index-c8f4eec2.js';
6
6
  import { setCookie, getCookie } from './miscCookieHelper.js';
7
7
  import { domainLocales } from './constantsDomainLocales.js';
8
8
 
@@ -17,7 +17,7 @@ export declare const getUserInfoFromCookie: (reqCookie?: string) => {
17
17
  email: any;
18
18
  id: any;
19
19
  };
20
- export declare const getWindowId: () => any;
20
+ export declare const getWindowId: () => string;
21
21
  export declare const getHelloSitesUrl: (locale: LOCALE | LocaleType, ignoreLocal?: boolean) => string;
22
22
  export declare const checkMobile: (userAgent: string) => boolean;
23
23
  export declare const clickAndOpenInNewTab: (url: string) => void;
@@ -1,73 +1,73 @@
1
1
  import React__default, { createContext, useContext, useRef, useState, useEffect, useCallback, useMemo, forwardRef, memo, useImperativeHandle } from 'react';
2
- import { d as NodeType, c as NodePosition, f as NodeActionType, e as NodeFinalTypes, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, N as NodeIntentType, F as FULL_KEY_ADDRESS } from './index-a415a0b9.js';
3
- import { a as __awaiter, _ as __rest } from './tslib.es6-19fe97c5.js';
4
- import { e as basePath, G as GA_TOKEN_COOKIE, h as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, f as SSO_URL } from './index-87e48e6a.js';
2
+ import { d as NodeType, c as NodePosition, f as NodeActionType, e as NodeFinalTypes, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, N as NodeIntentType, F as FULL_KEY_ADDRESS } from './index-5b1abe33.js';
3
+ import { a as __awaiter, _ as __rest } from './tslib.es6-49ca40fa.js';
4
+ import { e as basePath, G as GA_TOKEN_COOKIE, h as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, f as SSO_URL } from './index-c8f4eec2.js';
5
5
  import Cookies from 'js-cookie';
6
6
  import fd from 'fastdom';
7
7
  import fastdomPromised from 'fastdom/extensions/fastdom-promised';
8
- import { G as GlobalData, c as callApi, t as locale, T as TogetherComponentGlobalContext } from './utils-a5a9607a.js';
8
+ import { G as GlobalData, c as callApi, t as locale, T as TogetherComponentGlobalContext } from './utils-9662d944.js';
9
9
  import formatString from 'string-format';
10
- import { a as getUserIdFromCookie, b as getSubotCookieId, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, e as checkUntilFinished, g as getHelloSitesUrl, f as checkMobile, h as clickAndOpenInNewTab, T as TIME_RESET_RESEND_OTP, i as isFakeEmail, s as ssoIntents, j as getHhgIdFromCookie } from './index-2a2c81f0.js';
11
- export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, g as getHelloSitesUrl, j as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, i as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-2a2c81f0.js';
10
+ import { a as getUserIdFromCookie, b as getSubotCookieId, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, e as checkUntilFinished, g as getHelloSitesUrl, f as checkMobile, h as clickAndOpenInNewTab, T as TIME_RESET_RESEND_OTP, i as isFakeEmail, s as ssoIntents, j as getHhgIdFromCookie } from './index-fae543f2.js';
11
+ export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, g as getHelloSitesUrl, j as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, i as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-fae543f2.js';
12
12
  import { MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
13
13
  import cn from 'classnames';
14
- import { C as Container$w } from './index-430e0ec8.js';
15
- import { L as Loading } from './index-ff09d4e3.js';
14
+ import { C as Container$w } from './index-822233d3.js';
15
+ import { L as Loading } from './index-3223a18a.js';
16
16
  import { motion } from 'framer-motion';
17
17
  import styled from '@emotion/styled';
18
- import { M as MediaQueries } from './utils-e1e4fc34.js';
19
- import { B as Button } from './index-9dffd07c.js';
18
+ import { M as MediaQueries } from './utils-91df31b9.js';
19
+ import { B as Button } from './index-6885689a.js';
20
20
  import { Remarkable } from 'remarkable';
21
21
  import { ArrowRight } from '@hhgtech/icons/other';
22
22
  import { useInView } from 'react-intersection-observer';
23
23
  import { Box, Textarea } from '@mantine/core';
24
- import { C as CommonGAssets } from './index-ffb7f4b1.js';
24
+ import { C as CommonGAssets } from './index-46ba5ef1.js';
25
25
  import dayjs from 'dayjs';
26
26
  import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
27
- import { d as LEAD_TOKEN_COOKIE } from './constants-ec91ac43.js';
27
+ import { d as LEAD_TOKEN_COOKIE } from './constants-4c8374b7.js';
28
28
  import { v4 } from 'uuid';
29
- import { T as Text } from './index-cfa693d6.js';
29
+ import { T as Text } from './index-e17bf4a4.js';
30
30
  import { theme } from './miscTheme.js';
31
31
  import { isProduction } from './constantsIsProduction.js';
32
- import { S as Select } from './index-9d956264.js';
32
+ import { S as Select } from './index-f9887fb6.js';
33
33
  import '@mantine/dates';
34
- import './useMantineLocale-92f2ea43.js';
35
- import './index.styles-1ced5cf6.js';
36
- import './translationsContext-cb129b96.js';
34
+ import './useMantineLocale-463de4dc.js';
35
+ import './index.styles-ad357f5a.js';
36
+ import './translationsContext-c5c62ce0.js';
37
37
  import '@mantine/hooks';
38
- import './other-829bfc4e.js';
39
- import './index-98d12ee0.js';
38
+ import './other-191c206c.js';
39
+ import './index-a03b7c7e.js';
40
40
  import isEmpty from 'lodash/isEmpty';
41
41
  import { Controller, useForm } from 'react-hook-form';
42
42
  import PhoneInputBase, { getCountryCallingCode, isPossiblePhoneNumber, parsePhoneNumber } from 'react-phone-number-input';
43
43
  import { LoadScript } from '@react-google-maps/api';
44
- import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-fb864ca8.js';
44
+ import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-e91197e8.js';
45
45
  import { setDefaultClass } from './miscDefaultClassWrapper.js';
46
- import { L as LOCALE } from './Locale-113763dc.js';
47
- import { D as DatePicker } from './index-08abbf60.js';
48
- import { D as Dropdown } from './index-4a9572c1.js';
49
- import { B as Button$1 } from './index-e23ba33a.js';
50
- import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-60dbd39c.js';
46
+ import { L as LOCALE } from './Locale-91a0ee98.js';
47
+ import { D as DatePicker } from './index-a53c68b6.js';
48
+ import { D as Dropdown } from './index-a5a44f61.js';
49
+ import { B as Button$1 } from './index-4902d406.js';
50
+ import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-a60898cd.js';
51
51
  import 'date-fns/locale';
52
52
  import './constantsSite.js';
53
53
  import './constantsRiskScreener.js';
54
- import './index-a03ee763.js';
54
+ import './index-c2c0593c.js';
55
55
  import './miscCookieHelper.js';
56
56
  import 'slugify';
57
57
  import './togetherApiPaths.js';
58
- import './index-81d45397.js';
59
- import './WhatsApp-ea897797.js';
60
- import './Spinner-00ba6eea.js';
61
- import './index-65c5f9ff.js';
62
- import './useScreenSize-b9c63fd4.js';
58
+ import './index-a75e6728.js';
59
+ import './WhatsApp-2e16cddf.js';
60
+ import './Spinner-c23d4aa4.js';
61
+ import './index-c407454a.js';
62
+ import './useScreenSize-1c07e0db.js';
63
63
  import '@mantine/carousel';
64
- import './useUniqueId-e0046ffd.js';
64
+ import './useUniqueId-b4e8c44b.js';
65
65
  import '@hhgtech/icons/core';
66
66
  import '@mantine/notifications';
67
67
  import 'date-fns';
68
68
  import 'react-day-picker/DayPickerInput';
69
69
  import 'zustand';
70
- import './normalizeLink-f023bdfd.js';
70
+ import './normalizeLink-1a9aaef2.js';
71
71
 
72
72
  // extend fastdom
73
73
  const fastdom = fd.extend(fastdomPromised);
@@ -1538,7 +1538,7 @@ const excludeNodeList = [
1538
1538
  // return false
1539
1539
  // }
1540
1540
  const Container$u = () => {
1541
- var _a, _b, _c, _d, _e;
1541
+ var _a, _b, _c;
1542
1542
  const { formatMessage: f, action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
1543
1543
  const currentUrl = useCurrentUrl();
1544
1544
  const { listNodes, activeId, isShowFooter, onNext, onPrev, params, onStartOver, loading, } = useContext(SubotInlineContext);
@@ -1549,15 +1549,16 @@ const Container$u = () => {
1549
1549
  const actionNextChoice = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.find((act) => act.type === NodeActionType.USER_CHOICE_NEXT);
1550
1550
  const actionPollSubmit = (_b = node === null || node === void 0 ? void 0 : node.actions) === null || _b === void 0 ? void 0 : _b.find(({ type }) => type == NodeActionType.POLL_BUTTON);
1551
1551
  const actionMultipleSubmit = (_c = node === null || node === void 0 ? void 0 : node.actions) === null || _c === void 0 ? void 0 : _c.find(({ type }) => type == NodeActionType.ACTION_MULTIPLE_BUTTON);
1552
- const selectedWithOtherInput = ((_e = (_d = node === null || node === void 0 ? void 0 : node.actions) === null || _d === void 0 ? void 0 : _d.find(({ id }) => id === value.action_id)) === null || _e === void 0 ? void 0 : _e.type) ===
1553
- NodeActionType.USER_CHOICE_TEXT_BY_INPUT;
1552
+ // const selectedWithOtherInput =
1553
+ // node?.actions?.find(({ id }) => id === value.action_id)?.type ===
1554
+ // NodeActionType.USER_CHOICE_TEXT_BY_INPUT
1554
1555
  const handleNextChoice = () => {
1555
1556
  const nextValue = {
1556
1557
  node_id: node.id,
1557
1558
  action_id: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.id,
1558
1559
  action_value: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.key,
1559
1560
  };
1560
- onNext(Object.assign(Object.assign(Object.assign({}, params), nextValue), node === null || node === void 0 ? void 0 : node._message));
1561
+ onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message), nextValue));
1561
1562
  };
1562
1563
  const handlePollSubmit = () => {
1563
1564
  var _a;
@@ -1602,15 +1603,15 @@ const Container$u = () => {
1602
1603
  });
1603
1604
  }
1604
1605
  else {
1605
- onNext(Object.assign(Object.assign(Object.assign({}, params), value), node === null || node === void 0 ? void 0 : node._message));
1606
+ onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message), value));
1606
1607
  }
1607
1608
  };
1608
1609
  if (!isShowFooter)
1609
1610
  return null;
1610
1611
  const found = listNodes.find((nodeItem) => nodeItem.id == activeId);
1611
1612
  const isDisabled = disabledNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '') ||
1612
- disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '') ||
1613
- selectedWithOtherInput;
1613
+ disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '');
1614
+ // selectedWithOtherInput
1614
1615
  const isDisplayAction = !excludeNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '');
1615
1616
  return (React__default.createElement(StyledWrap$p, { "data-show-action": isDisplayAction },
1616
1617
  React__default.createElement("button", { onClick: onStartOver, "data-event-category": "Service Connection", "data-event-action": "Risk Screening Start Over", "data-event-label": currentUrl, "data-bot-id": params.bot_id, className: "si-footer-start-over", disabled: Boolean((botItem === null || botItem === void 0 ? void 0 : botItem.subot_field_type) && activeId == (listNodes === null || listNodes === void 0 ? void 0 : listNodes[1].id)) },
@@ -5416,21 +5417,9 @@ const stylesTextarea = {
5416
5417
  boxShadow: '0px 0px 0px 2px var(--subot-inline-primary-color-300) !important',
5417
5418
  },
5418
5419
  },
5419
- };
5420
- const stylesButtonSubmitOther = {
5421
- root: {
5422
- ':not(:disabled)': {
5423
- backgroundColor: 'var(--subot-inline-primary-color) !important',
5424
- '&:hover': {
5425
- backgroundColor: 'var(--subot-inline-primary-color-hover) !important',
5426
- },
5427
- },
5428
- },
5429
5420
  };
5430
5421
 
5431
5422
  const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) => {
5432
- const timeoutId = useRef(null);
5433
- const { formatMessage: f } = useContext(TogetherComponentGlobalContext);
5434
5423
  const currentUrl = useCurrentUrl();
5435
5424
  const inputRef = useRef(null);
5436
5425
  const [otherText, setOtherText] = useState('');
@@ -5438,14 +5427,6 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
5438
5427
  const isActionPollWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
5439
5428
  const isActionSelectWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
5440
5429
  isActionPollWithOther;
5441
- const actionSubmitted = isActionPollWithOther
5442
- ? {
5443
- key: action === null || action === void 0 ? void 0 : action.key,
5444
- control: ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type],
5445
- value: '',
5446
- action_id: action === null || action === void 0 ? void 0 : action.id,
5447
- }
5448
- : action;
5449
5430
  useEffect(() => {
5450
5431
  var _a, _b;
5451
5432
  if (active) {
@@ -5453,45 +5434,24 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
5453
5434
  (_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.focus();
5454
5435
  }
5455
5436
  }, [active, formSubmitMeta]);
5456
- const handleClickWithFormMeta = () => {
5457
- if (otherText) {
5458
- onChange &&
5459
- onChange(actionSubmitted, [
5460
- {
5461
- key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
5462
- control: 'text',
5463
- value: otherText,
5464
- },
5465
- ]);
5466
- }
5467
- };
5468
5437
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5469
5438
  const onChangeTextArea = (evt) => {
5470
5439
  setOtherText(evt.target.value);
5471
- if (isActionPollWithOther) {
5472
- timeoutId.current && clearTimeout(timeoutId.current);
5473
- timeoutId.current = setTimeout(() => {
5474
- onChange &&
5475
- onChange(actionSubmitted, [
5476
- {
5477
- key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
5478
- control: 'text',
5479
- value: evt.target.value,
5480
- },
5481
- ]);
5482
- }, 300);
5483
- }
5440
+ onChange === null || onChange === void 0 ? void 0 : onChange(action, [
5441
+ {
5442
+ key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
5443
+ control: 'text',
5444
+ value: evt.target.value,
5445
+ action_id: action === null || action === void 0 ? void 0 : action.id,
5446
+ },
5447
+ ]);
5484
5448
  };
5485
5449
  return (React__default.createElement(React__default.Fragment, null,
5486
- React__default.createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange && onChange(actionSubmitted), "data-event-category": "Service Connection", "data-event-action": "Risk Screening Answer Click", "data-event-label": currentUrl, "data-bot-id": params.bot_id },
5450
+ React__default.createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange === null || onChange === void 0 ? void 0 : onChange(action), "data-event-category": "Service Connection", "data-event-action": "Risk Screening Answer Click", "data-event-label": currentUrl, "data-bot-id": params.bot_id },
5487
5451
  React__default.createElement(StyledRadioIcon, { active: !!active }, htmlType === 'checkbox' && (React__default.createElement(Checkbox, { className: "icon-checkbox", viewBox: "0 0 22 22" }))),
5488
5452
  React__default.createElement("div", { className: "label" }, action === null || action === void 0 ? void 0 : action.label)),
5489
5453
  isActionSelectWithOther && active && (React__default.createElement(Box, { px: "2px", style: { textAlign: 'right' } },
5490
- React__default.createElement(Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 }),
5491
- !isActionPollWithOther && (React__default.createElement(Button, { size: "sm", mt: "5px", styles: stylesButtonSubmitOther, disabled: !otherText, onClick: handleClickWithFormMeta }, f({
5492
- id: 'feedback.submit',
5493
- defaultMessage: 'Submit',
5494
- })))))));
5454
+ React__default.createElement(Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 })))));
5495
5455
  };
5496
5456
  Container$a.displayName = 'SubotInlineActionTextChoice';
5497
5457
 
@@ -5651,34 +5611,49 @@ const Container$5 = ({ node, indexNumber }) => {
5651
5611
  }
5652
5612
  return [];
5653
5613
  }, [value, value === null || value === void 0 ? void 0 : value.selected_actions]);
5654
- const handleOnChange = (action) => __awaiter(void 0, void 0, void 0, function* () {
5655
- if (!action) {
5656
- return;
5657
- }
5658
- const _value = Object.assign(Object.assign({}, value), { action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key });
5659
- if (!_value.selected_actions) {
5660
- const tmp = {};
5661
- tmp[action.id] = action === null || action === void 0 ? void 0 : action.key;
5662
- setValue(Object.assign(Object.assign({}, _value), { selected_actions: Object.assign({}, tmp) }));
5663
- return;
5664
- }
5665
- if (!_value.selected_actions[action.id]) {
5666
- _value.selected_actions[action.id] = action === null || action === void 0 ? void 0 : action.key;
5667
- onChange && onChange(_value);
5668
- setValue(_value);
5669
- return;
5670
- }
5671
- if (_value.selected_actions[action.id]) {
5672
- delete _value.selected_actions[action.id];
5673
- onChange && onChange(_value);
5674
- setValue(_value);
5675
- return;
5614
+ const handleOnChange = (action, formSubmitMeta) => __awaiter(void 0, void 0, void 0, function* () {
5615
+ var _b, _c;
5616
+ if (action) {
5617
+ const _value = JSON.parse(JSON.stringify(Object.assign(Object.assign({}, value), { action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, selected_actions: Object.assign({}, value === null || value === void 0 ? void 0 : value.selected_actions) })));
5618
+ if ((action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT ||
5619
+ (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT) {
5620
+ const isExistedPoll = (_value === null || _value === void 0 ? void 0 : _value.selected_actions) && action.id in _value.selected_actions;
5621
+ if (isExistedPoll) {
5622
+ if (formSubmitMeta) {
5623
+ _value.form_submit_meta = formSubmitMeta;
5624
+ }
5625
+ else {
5626
+ delete _value.form_submit_meta;
5627
+ (_b = _value.selected_actions) === null || _b === void 0 ? true : delete _b[action.id];
5628
+ }
5629
+ }
5630
+ else {
5631
+ if (action === null || action === void 0 ? void 0 : action.id) {
5632
+ _value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
5633
+ }
5634
+ }
5635
+ setValue(_value);
5636
+ onChange === null || onChange === void 0 ? void 0 : onChange(_value);
5637
+ return;
5638
+ }
5639
+ if (!((_c = _value.selected_actions) === null || _c === void 0 ? void 0 : _c[action.id])) {
5640
+ _value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
5641
+ onChange && onChange(_value);
5642
+ setValue(_value);
5643
+ return;
5644
+ }
5645
+ if (_value.selected_actions[action.id]) {
5646
+ delete _value.selected_actions[action.id];
5647
+ onChange && onChange(_value);
5648
+ setValue(_value);
5649
+ return;
5650
+ }
5676
5651
  }
5677
5652
  });
5678
5653
  const actionsRemoveMultipleBtn = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.filter((a) => a.type !== NodeActionType.ACTION_MULTIPLE_BUTTON);
5679
5654
  return (React__default.createElement(StyledWrap$3, { id: "si-node-text" },
5680
5655
  React__default.createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
5681
- React__default.createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange })));
5656
+ React__default.createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
5682
5657
  };
5683
5658
  Container$5.displayName = 'SubotInlineNodeMultipleContainer';
5684
5659
 
@@ -5722,8 +5697,7 @@ const StyledWrap$2 = styled.div `
5722
5697
  `;
5723
5698
 
5724
5699
  const Container$4 = ({ node, indexNumber }) => {
5725
- var _a;
5726
- const { params, setIsShowFooter } = useContext(SubotInlineContext);
5700
+ const { onChange, setIsShowFooter } = useContext(SubotInlineContext);
5727
5701
  const { value, setValue } = useContext(NodeContext);
5728
5702
  const descriptionNode = useDescriptionPollNode({ node });
5729
5703
  useMemo(() => {
@@ -5740,48 +5714,41 @@ const Container$4 = ({ node, indexNumber }) => {
5740
5714
  return null;
5741
5715
  }, [node === null || node === void 0 ? void 0 : node.actions]);
5742
5716
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5743
- const handleOnChange = (formValue, formSubmitMetaWithOther) => {
5744
- if (formValue) {
5745
- const { is_multi_select } = node;
5746
- const _message = Object.assign(Object.assign(Object.assign({}, params), value), { node_id: node.id, action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, form_submit_meta: (value === null || value === void 0 ? void 0 : value.form_submit_meta)
5747
- ? [...value === null || value === void 0 ? void 0 : value.form_submit_meta]
5748
- : [] });
5749
- let tmpFormSubmitMeta = [];
5750
- const currentSubmitMeta = [
5751
- ..._message === null || _message === void 0 ? void 0 : _message.form_submit_meta,
5752
- ];
5753
- if (!formSubmitMetaWithOther) {
5754
- const formUpdateIndex = currentSubmitMeta.findIndex(({ action_id }) => action_id === formValue.action_id);
5755
- /**
5756
- * The current logic when onChange is called will remove/add this poll action in the submit meta
5757
- * But IF the onChange is called due to the input text other, this action will be not removed from the previous list
5758
- */
5759
- if (formUpdateIndex !== -1) {
5760
- tmpFormSubmitMeta = [
5761
- ...currentSubmitMeta.slice(0, formUpdateIndex),
5762
- ...currentSubmitMeta.slice(formUpdateIndex + 1),
5763
- ];
5764
- }
5765
- else {
5766
- if (!is_multi_select) {
5767
- tmpFormSubmitMeta = [Object.assign({}, formValue)];
5768
- }
5769
- else {
5770
- tmpFormSubmitMeta = [...currentSubmitMeta];
5771
- tmpFormSubmitMeta.push(formValue);
5772
- }
5773
- }
5717
+ const handleOnChange = (action, formSubmitMeta) => {
5718
+ var _a, _b, _c, _d, _e, _f, _g;
5719
+ const newValue = JSON.parse(JSON.stringify(Object.assign(Object.assign({}, value), { node_id: node.id, action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, form_submit_meta: [...((value === null || value === void 0 ? void 0 : value.form_submit_meta) || [])] })));
5720
+ if ((action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT ||
5721
+ (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT) {
5722
+ const isExistedPoll = (_a = newValue.form_submit_meta) === null || _a === void 0 ? void 0 : _a.some(({ action_id }) => action_id === action.id);
5723
+ if (isExistedPoll) {
5724
+ newValue.form_submit_meta =
5725
+ typeof formSubmitMeta === 'undefined'
5726
+ ? (_b = newValue.form_submit_meta) === null || _b === void 0 ? void 0 : _b.filter(({ action_id }) => action_id !== action.id)
5727
+ : (_c = newValue.form_submit_meta) === null || _c === void 0 ? void 0 : _c.filter(({ action_id }) => action_id !== action.id).concat(formSubmitMeta);
5774
5728
  }
5775
5729
  else {
5776
- tmpFormSubmitMeta = currentSubmitMeta;
5730
+ newValue.form_submit_meta = (_d = newValue.form_submit_meta) === null || _d === void 0 ? void 0 : _d.concat([
5731
+ {
5732
+ key: action === null || action === void 0 ? void 0 : action.key,
5733
+ control: ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type] || 'text',
5734
+ value: '',
5735
+ action_id: action === null || action === void 0 ? void 0 : action.id,
5736
+ },
5737
+ ]);
5777
5738
  }
5778
- _message.form_submit_meta = [...tmpFormSubmitMeta]
5779
- .filter((item) => formSubmitMetaWithOther
5780
- ? item.key !== KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD
5781
- : true)
5782
- .concat(formSubmitMetaWithOther || []);
5783
- setValue(_message);
5739
+ setValue(newValue);
5740
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
5741
+ return;
5742
+ }
5743
+ const isPoll = (_e = newValue.form_submit_meta) === null || _e === void 0 ? void 0 : _e.some(({ action_id }) => action_id === (action === null || action === void 0 ? void 0 : action.action_id));
5744
+ if (isPoll) {
5745
+ newValue.form_submit_meta = (_f = newValue.form_submit_meta) === null || _f === void 0 ? void 0 : _f.filter(({ action_id }) => action_id !== (action === null || action === void 0 ? void 0 : action.action_id));
5784
5746
  }
5747
+ else {
5748
+ newValue.form_submit_meta = (_g = newValue.form_submit_meta) === null || _g === void 0 ? void 0 : _g.concat([action]);
5749
+ }
5750
+ setValue(newValue);
5751
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
5785
5752
  };
5786
5753
  const activeActions = useMemo(() => {
5787
5754
  if (value === null || value === void 0 ? void 0 : value.form_submit_meta) {
@@ -5789,10 +5756,14 @@ const Container$4 = ({ node, indexNumber }) => {
5789
5756
  }
5790
5757
  return [];
5791
5758
  }, [value, value === null || value === void 0 ? void 0 : value.form_submit_meta]);
5759
+ useEffect(() => {
5760
+ console.log('adfsafsdf');
5761
+ setValue(node === null || node === void 0 ? void 0 : node._message);
5762
+ }, []);
5792
5763
  return (React__default.createElement(StyledWrap$2, null,
5793
5764
  React__default.createElement(Container$h, { intents: node.intents || [], indexNumber: indexNumber }),
5794
5765
  React__default.createElement("p", { className: "si-poll-description" }, descriptionNode),
5795
- React__default.createElement(Container$7, { node_type: node === null || node === void 0 ? void 0 : node.type, value: activeActions, actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: (_a = node._message) === null || _a === void 0 ? void 0 : _a.form_submit_meta })));
5766
+ React__default.createElement(Container$7, { node_type: node === null || node === void 0 ? void 0 : node.type, value: activeActions, actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
5796
5767
  };
5797
5768
  Container$4.displayName = 'SubotinlineNodePoll';
5798
5769
 
@@ -5863,7 +5834,6 @@ const StyledWrap = styled.div `
5863
5834
  `;
5864
5835
 
5865
5836
  const Container$2 = ({ node, indexNumber }) => {
5866
- var _a;
5867
5837
  const { params, onSubmit, setIsShowFooter, listNodes, activeId, setLoading, onChange, } = useContext(SubotInlineContext);
5868
5838
  const { value, setValue } = useContext(NodeContext);
5869
5839
  useMemo(() => {
@@ -5883,7 +5853,7 @@ const Container$2 = ({ node, indexNumber }) => {
5883
5853
  const res = yield subotInlineMessage(newParams);
5884
5854
  setLoading(false);
5885
5855
  if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
5886
- const _b = res === null || res === void 0 ? void 0 : res._data, { node } = _b, restData = __rest(_b, ["node"]);
5856
+ const _a = res === null || res === void 0 ? void 0 : res._data, { node } = _a, restData = __rest(_a, ["node"]);
5887
5857
  const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
5888
5858
  onSubmit(nextNode, newParams);
5889
5859
  }
@@ -5891,28 +5861,21 @@ const Container$2 = ({ node, indexNumber }) => {
5891
5861
  const handleOnChange = (action, formSubmitMeta) => __awaiter(void 0, void 0, void 0, function* () {
5892
5862
  if (!action)
5893
5863
  return;
5894
- const isActionSelectWithOther = action.type === NodeActionType.USER_CHOICE_TEXT_BY_INPUT;
5895
- setValue(Object.assign(Object.assign({}, value), { action_id: action === null || action === void 0 ? void 0 : action.id, action_value: action === null || action === void 0 ? void 0 : action.key }));
5896
- if (!isActionSelectWithOther) {
5897
- handleOnChangeNormal(action);
5864
+ const actionWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
5865
+ (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
5866
+ const newValue = Object.assign(Object.assign({}, value), { action_id: action === null || action === void 0 ? void 0 : action.id, action_value: action === null || action === void 0 ? void 0 : action.key, form_submit_meta: formSubmitMeta });
5867
+ if (actionWithOther) {
5868
+ setValue(newValue);
5869
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
5898
5870
  return;
5899
5871
  }
5900
- if (formSubmitMeta) {
5901
- const newParams = Object.assign(Object.assign(Object.assign(Object.assign({}, params), value), { node_id: node.id, action_id: action === null || action === void 0 ? void 0 : action.id, action_value: action === null || action === void 0 ? void 0 : action.key, form_submit_meta: formSubmitMeta }), getCurrentTotalDynamicScore(listNodes, activeId, action.id));
5902
- onChange(newParams);
5903
- setLoading(true);
5904
- const res = yield subotInlineMessage(newParams);
5905
- setLoading(false);
5906
- if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
5907
- const _c = res === null || res === void 0 ? void 0 : res._data, { node } = _c, restData = __rest(_c, ["node"]);
5908
- const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
5909
- onSubmit(nextNode, newParams);
5910
- }
5911
- }
5872
+ delete newValue.form_submit_meta;
5873
+ setValue(newValue);
5874
+ handleOnChangeNormal(action);
5912
5875
  });
5913
5876
  return (React__default.createElement(StyledWrap, { id: "si-node-text" },
5914
5877
  React__default.createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
5915
- React__default.createElement(Container$7, { value: (value === null || value === void 0 ? void 0 : value.action_id) ? [value === null || value === void 0 ? void 0 : value.action_id] : [], actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: (_a = node === null || node === void 0 ? void 0 : node._message) === null || _a === void 0 ? void 0 : _a.form_submit_meta })));
5878
+ React__default.createElement(Container$7, { value: (value === null || value === void 0 ? void 0 : value.action_id) ? [value === null || value === void 0 ? void 0 : value.action_id] : [], actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
5916
5879
  };
5917
5880
  Container$2.displayName = 'SubotInlineNodeTextContainer';
5918
5881