@hhgtech/hhg-components 1.29.405 → 1.29.407

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 (493) hide show
  1. package/build/{InputDate-926c7a26.js → InputDate-9cf239a2.js} +3 -3
  2. package/build/{LastPeriod-2c6a248a.js → LastPeriod-0aad6aeb.js} +1 -1
  3. package/build/{MobileBottomNavigationIcon-cb2c6d45.js → MobileBottomNavigationIcon-e8a89f99.js} +3 -3
  4. package/build/{Spinner-54ccb044.js → Spinner-e78dd588.js} +1 -1
  5. package/build/{WhatsApp-b4917e75.js → WhatsApp-19563388.js} +1 -1
  6. package/build/adapters.js +19 -19
  7. package/build/atoms.js +48 -48
  8. package/build/babyGrowth.js +83 -83
  9. package/build/cache.js +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/molecules/impressionTrackingWrapper/index.d.ts +9 -0
  14. package/build/components.js +97 -97
  15. package/build/{constants-60697265.js → constants-038ff2cf.js} +1 -1
  16. package/build/constants.js +3 -3
  17. package/build/constantsDomainLocales.js +1 -1
  18. package/build/constantsRiskScreener.js +2 -2
  19. package/build/constantsSite.js +2 -2
  20. package/build/{core-290248c4.js → core-dfe56c84.js} +1 -1
  21. package/build/{dataTransform-bee6ab22.js → dataTransform-47fb9c25.js} +1 -1
  22. package/build/ecom.js +4 -4
  23. package/build/{editor-9b73a9f7.js → editor-0d62b189.js} +11 -11
  24. package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
  25. package/build/embeddedHeathToolCards_babyPoop.js +19 -19
  26. package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
  27. package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
  28. package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
  29. package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  30. package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  31. package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
  32. package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
  33. package/build/esm/{InputDate-4ab03ef5.js → InputDate-02ac2039.js} +3 -3
  34. package/build/esm/{LastPeriod-6fa2c177.js → LastPeriod-39aed1af.js} +1 -1
  35. package/build/esm/{MobileBottomNavigationIcon-17b4d024.js → MobileBottomNavigationIcon-1ad760f1.js} +3 -3
  36. package/build/esm/{Spinner-2de4053c.js → Spinner-1e8f3846.js} +1 -1
  37. package/build/esm/{WhatsApp-aea301c2.js → WhatsApp-16f72ee0.js} +1 -1
  38. package/build/esm/adapters.js +19 -19
  39. package/build/esm/atoms.js +48 -48
  40. package/build/esm/babyGrowth.js +83 -83
  41. package/build/esm/cache.js +2 -2
  42. package/build/esm/care.js +17 -17
  43. package/build/esm/careBookingSearchBar.js +14 -14
  44. package/build/esm/careBookingSearchBarV2.js +15 -15
  45. package/build/esm/components/molecules/impressionTrackingWrapper/index.d.ts +9 -0
  46. package/build/esm/components.js +97 -97
  47. package/build/esm/{constants-32069fe5.js → constants-ac16bf11.js} +1 -1
  48. package/build/esm/constants.js +3 -3
  49. package/build/esm/constantsDomainLocales.js +1 -1
  50. package/build/esm/constantsRiskScreener.js +2 -2
  51. package/build/esm/constantsSite.js +2 -2
  52. package/build/esm/{core-ef5d28da.js → core-d30b924b.js} +1 -1
  53. package/build/esm/{dataTransform-c3236da3.js → dataTransform-36ab1327.js} +1 -1
  54. package/build/esm/ecom.js +4 -4
  55. package/build/esm/{editor-f1bcba79.js → editor-4dd7385f.js} +11 -11
  56. package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
  57. package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
  58. package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
  59. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
  60. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
  61. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  62. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  63. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
  64. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
  65. package/build/esm/footer.js +21 -21
  66. package/build/esm/gAssets.js +2 -2
  67. package/build/esm/{healthTools-92f1412d.js → healthTools-98ed731c.js} +1 -1
  68. package/build/esm/healthToolsCardWrapper.js +18 -18
  69. package/build/esm/healthToolsForm.js +33 -33
  70. package/build/esm/hooks.js +13 -13
  71. package/build/esm/i18n-values/id-ID.js +1 -1
  72. package/build/esm/i18n-values/ms-MY.js +1 -1
  73. package/build/esm/i18n.js +2 -2
  74. package/build/esm/i18nV2.js +2 -2
  75. package/build/esm/{index-4541764a.js → index-00af1716.js} +7 -7
  76. package/build/esm/{index-2489691e.js → index-01973e11.js} +3 -3
  77. package/build/esm/{index-7a833f64.js → index-0b8d0fee.js} +24 -24
  78. package/build/esm/{index-1d4236f6.js → index-0eac438e.js} +4 -4
  79. package/build/esm/{index-7f202a12.js → index-17771c99.js} +1 -1
  80. package/build/esm/{index-6a0f58a2.js → index-19e02ce7.js} +3 -3
  81. package/build/esm/{index-92babb26.js → index-22283e00.js} +2 -2
  82. package/build/esm/{index-27938ee5.js → index-23d15ce4.js} +32 -32
  83. package/build/esm/{index-2ac3e592.js → index-2530d29a.js} +11 -11
  84. package/build/esm/{index-8f702423.js → index-26480cab.js} +3 -3
  85. package/build/esm/{index-51203f5c.js → index-2c332c13.js} +2 -2
  86. package/build/esm/{index-2b0ae2b6.js → index-2c7075f0.js} +2 -2
  87. package/build/esm/{index-25d860e1.js → index-36dc04cb.js} +22 -22
  88. package/build/esm/{index-caee75db.js → index-38fc67a5.js} +7 -7
  89. package/build/esm/{index-b8c58518.js → index-417cba5e.js} +2 -2
  90. package/build/esm/{index-e3c889fc.js → index-43440940.js} +13 -13
  91. package/build/esm/{index-3814b903.js → index-43b6edf7.js} +2 -2
  92. package/build/esm/{index-bc24b8a9.js → index-4c2c3adb.js} +1 -1
  93. package/build/esm/{index-0eee03a5.js → index-4c5e8cc7.js} +15 -15
  94. package/build/esm/{index-177b719c.js → index-4e32f324.js} +3 -3
  95. package/build/esm/{index-14391ebe.js → index-4e4d59d0.js} +5 -5
  96. package/build/esm/{index-4817b6fb.js → index-58b827e5.js} +1 -1
  97. package/build/esm/{index-18e42349.js → index-61faa59a.js} +21 -21
  98. package/build/esm/{index-9dc7408f.js → index-639f2e47.js} +1 -1
  99. package/build/esm/{index-5233bef3.js → index-6fc7a1f4.js} +16 -16
  100. package/build/esm/{index-040c30d3.js → index-75e56029.js} +5 -5
  101. package/build/esm/{index-8c558e96.js → index-7632db56.js} +2 -2
  102. package/build/esm/{index-52583e9e.js → index-7bbf1d9e.js} +3 -3
  103. package/build/esm/{index-62ab1e02.js → index-809a3812.js} +25 -25
  104. package/build/esm/{index-2d2f032d.js → index-83f69095.js} +2 -2
  105. package/build/esm/{index-78b4e90b.js → index-86468ba1.js} +30 -30
  106. package/build/esm/{index-7fe6d273.js → index-896fae24.js} +1 -1
  107. package/build/esm/{index-cc8507de.js → index-8de84f32.js} +2 -2
  108. package/build/esm/{index-bb371c10.js → index-9178febc.js} +17 -17
  109. package/build/esm/{index-5f342fe5.js → index-9674a142.js} +1 -1
  110. package/build/esm/{index-6443a126.js → index-9a1f9a70.js} +1 -1
  111. package/build/esm/{index-903b4042.js → index-9bdafc3a.js} +13 -13
  112. package/build/esm/{index-87f1d493.js → index-a1d99841.js} +6 -6
  113. package/build/esm/{index-3bb092d2.js → index-a516efb8.js} +17 -17
  114. package/build/esm/{index-6a38412d.js → index-a690b782.js} +2 -2
  115. package/build/esm/{index-1653034a.js → index-a6bb21b2.js} +17 -17
  116. package/build/esm/{index-c35193c7.js → index-aa7dbca5.js} +1 -1
  117. package/build/esm/{index-3970f28a.js → index-b2365ddf.js} +16 -16
  118. package/build/esm/{index-942e7604.js → index-b6b1e0a5.js} +13 -13
  119. package/build/esm/{index-7a70ac70.js → index-b7e843d2.js} +16 -16
  120. package/build/esm/{index-5fc3cc59.js → index-b8cda673.js} +2 -2
  121. package/build/esm/{index-592e52aa.js → index-bf069ba3.js} +6 -6
  122. package/build/esm/{index-1f23a42d.js → index-c705458e.js} +6 -6
  123. package/build/esm/{index-ef1dc9b1.js → index-cc019504.js} +10 -10
  124. package/build/esm/{index-7f0fb92c.js → index-ceaf25b1.js} +1 -1
  125. package/build/esm/{index-c40a5354.js → index-d72734c0.js} +4 -4
  126. package/build/esm/{index-215a5937.js → index-da6b7a4b.js} +18 -18
  127. package/build/esm/{index-9a5acaef.js → index-da7b8b5b.js} +16 -16
  128. package/build/esm/{index-f8a0c44a.js → index-e0e693dc.js} +6 -6
  129. package/build/esm/{index-e9014616.js → index-e18cfd4c.js} +11 -11
  130. package/build/esm/{index-553fa3bf.js → index-e60bd377.js} +2 -2
  131. package/build/esm/{index-95970813.js → index-eb8a96ab.js} +17 -17
  132. package/build/esm/{index-1801b6ac.js → index-ebab6148.js} +31 -31
  133. package/build/esm/{index-b39ea3e4.js → index-ebf5b95a.js} +18 -18
  134. package/build/esm/{index-dfd1bbe2.js → index-ec35b1b9.js} +2 -2
  135. package/build/esm/{index-1e5324cc.js → index-f2a59f5a.js} +2 -2
  136. package/build/esm/{index-c57832ef.js → index-f30d6c0b.js} +13 -13
  137. package/build/esm/{index-2b3a4a7e.js → index-f3d91b03.js} +3 -3
  138. package/build/esm/{index-0f575835.js → index-f6034f66.js} +6 -6
  139. package/build/esm/{index-9128c48a.js → index-f7dfc285.js} +2 -2
  140. package/build/esm/index.js +118 -118
  141. package/build/esm/{labelSorting-14c473b5.js → labelSorting-d801277d.js} +4 -4
  142. package/build/esm/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +15 -9
  143. package/build/esm/lead/layouts/inline.d.ts +5 -3
  144. package/build/esm/lead/layouts/lightbox/index.d.ts +2 -1
  145. package/build/esm/lead/services/index.d.ts +14 -0
  146. package/build/esm/lead.js +310 -129
  147. package/build/esm/{logoIcon-fa695a3d.js → logoIcon-a7e6e1bc.js} +2 -2
  148. package/build/esm/mantine.js +25 -25
  149. package/build/esm/misc.js +17 -17
  150. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  151. package/build/esm/miscGetSocialList.js +8 -8
  152. package/build/esm/miscScreenSizeContext.js +1 -1
  153. package/build/esm/mobileBottomNavigation.js +5 -5
  154. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  155. package/build/esm/molecules.js +74 -74
  156. package/build/esm/moleculesArticleCard.js +6 -6
  157. package/build/esm/moleculesArticleCardV2.js +16 -16
  158. package/build/esm/navigation.js +46 -46
  159. package/build/esm/navigationLogoutPopup.js +9 -9
  160. package/build/esm/navigationProfileButton.js +26 -26
  161. package/build/esm/onboardingV2.js +29 -29
  162. package/build/esm/organisms.js +50 -50
  163. package/build/esm/{post-7d90605b.js → post-9315886f.js} +2 -2
  164. package/build/esm/profileNavigation.js +19 -19
  165. package/build/esm/progressBar.js +1 -1
  166. package/build/esm/pwg.js +22 -22
  167. package/build/esm/ssoV2.js +30 -30
  168. package/build/esm/{store-61732839.js → store-47296880.js} +3 -3
  169. package/build/esm/subot.js +36 -36
  170. package/build/esm/surveyOrPremiumBanner.js +33 -33
  171. package/build/esm/surveyQuestionCard.js +10 -10
  172. package/build/esm/{surveyThankyouCard-9eef1a4b.js → surveyThankyouCard-3fd65311.js} +5 -5
  173. package/build/esm/together.js +56 -56
  174. package/build/esm/togetherApiUtils.js +4 -4
  175. package/build/esm/togetherAtoms.js +30 -30
  176. package/build/esm/togetherComponentGlobalContext.js +4 -4
  177. package/build/esm/togetherMolecules.js +51 -51
  178. package/build/esm/togetherMoleculesCardAuthor.js +28 -28
  179. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  180. package/build/esm/togetherMoleculesProfileDetail.js +39 -39
  181. package/build/esm/togetherOrganisms.js +50 -50
  182. package/build/esm/togetherRichTextEditor.js +17 -17
  183. package/build/esm/togetherShareBox.js +10 -10
  184. package/build/esm/{translationsProvider-20266cbb.js → translationsProvider-173c0289.js} +1 -1
  185. package/build/esm/{treePopoverMenu-7901d856.js → treePopoverMenu-569bf415.js} +19 -19
  186. package/build/esm/{types-e1ee79c6.js → types-43bbf8fe.js} +2 -2
  187. package/build/esm/types.js +2 -2
  188. package/build/esm/{useCategory-3d87bc53.js → useCategory-be0c3ba1.js} +5 -5
  189. package/build/esm/{useHealthToolCache-7f1c8e27.js → useHealthToolCache-02c20dd0.js} +1 -1
  190. package/build/esm/{useMantineLocale-255491dc.js → useMantineLocale-ecd3a0dc.js} +6 -6
  191. package/build/esm/{usePlacesAutocomplete-46dd7177.js → usePlacesAutocomplete-d4c3286c.js} +1 -1
  192. package/build/esm/{useScreenSize-1fc99ffb.js → useScreenSize-3e1b853b.js} +2 -2
  193. package/build/esm/useTogetherAuthRequiredAction.js +10 -10
  194. package/build/esm/{utils-451862e4.js → utils-0a01a9e0.js} +2 -2
  195. package/build/esm/{utils-3134b1b6.js → utils-377724aa.js} +5 -5
  196. package/build/esm/{utils-fab23c47.js → utils-851c0348.js} +2 -2
  197. package/build/esm/{utils-867c0cbb.js → utils-d407e2ca.js} +3 -3
  198. package/build/esm/vaccination.js +21 -21
  199. package/build/footer.js +21 -21
  200. package/build/gAssets.js +2 -2
  201. package/build/{healthTools-c995fc11.js → healthTools-c49e0a21.js} +1 -1
  202. package/build/healthToolsCardWrapper.js +18 -18
  203. package/build/healthToolsForm.js +33 -33
  204. package/build/hooks.js +13 -13
  205. package/build/i18n-values/id-ID.js +1 -1
  206. package/build/i18n-values/ms-MY.js +1 -1
  207. package/build/i18n.js +2 -2
  208. package/build/i18nV2.js +1 -1
  209. package/build/{index-1ce51920.js → index-024ae1de.js} +5 -5
  210. package/build/{index-8fb2ab05.js → index-1014165d.js} +7 -7
  211. package/build/{index-2baa2bb1.js → index-140b1563.js} +1 -1
  212. package/build/{index-b0429dab.js → index-18561c7e.js} +2 -2
  213. package/build/{index-8764cbee.js → index-193b3c6f.js} +1 -1
  214. package/build/{index-6e49bbff.js → index-1dda0894.js} +2 -2
  215. package/build/{index-3eebb693.js → index-2237c5bd.js} +2 -2
  216. package/build/{index-b721f5c0.js → index-2a6164cd.js} +17 -17
  217. package/build/{index-4dfa0e22.js → index-2c121a6f.js} +3 -3
  218. package/build/{index-d2be824e.js → index-2e9dbd95.js} +2 -2
  219. package/build/{index-40aaeaf5.js → index-2ebef774.js} +13 -13
  220. package/build/{index-dc2e7f29.js → index-3a7660d0.js} +17 -17
  221. package/build/{index-20e138b3.js → index-47367088.js} +6 -6
  222. package/build/{index-ba13c196.js → index-50f12883.js} +2 -2
  223. package/build/{index-f788c425.js → index-5696955d.js} +2 -2
  224. package/build/{index-d5b26cc7.js → index-57808ed6.js} +13 -13
  225. package/build/{index-2ae4fa54.js → index-5e5e7ab1.js} +32 -32
  226. package/build/{index-9a3cdb91.js → index-5ed26bd7.js} +1 -1
  227. package/build/{index-45ca7463.js → index-62376260.js} +6 -6
  228. package/build/{index-be817e96.js → index-64835b34.js} +15 -15
  229. package/build/{index-2bd79615.js → index-6b1da466.js} +24 -24
  230. package/build/{index-0ce3466b.js → index-6d92f306.js} +3 -3
  231. package/build/{index-53311e38.js → index-6e6df916.js} +5 -5
  232. package/build/{index-8c82b438.js → index-738e0c97.js} +2 -2
  233. package/build/{index-554495c4.js → index-773a6609.js} +17 -17
  234. package/build/{index-46a44671.js → index-781768d9.js} +3 -3
  235. package/build/{index-5eb6495e.js → index-7865cac8.js} +2 -2
  236. package/build/{index-ad8e30b9.js → index-7a2d17ca.js} +16 -16
  237. package/build/{index-72aed9e3.js → index-7e122775.js} +6 -6
  238. package/build/{index-6780d887.js → index-819d64e7.js} +6 -6
  239. package/build/{index-f21bae47.js → index-85588d21.js} +2 -2
  240. package/build/{index-348bd5ea.js → index-8b844c2f.js} +6 -6
  241. package/build/{index-4ab6cdf6.js → index-8c1151ae.js} +2 -2
  242. package/build/{index-fff4ad3e.js → index-8c770558.js} +25 -25
  243. package/build/{index-3b3f34cd.js → index-9195f57f.js} +11 -11
  244. package/build/{index-84cbd016.js → index-9591c495.js} +1 -1
  245. package/build/{index-e15c03da.js → index-9960f5de.js} +2 -2
  246. package/build/{index-1481d67f.js → index-998cc80f.js} +2 -2
  247. package/build/{index-87a0a84d.js → index-9eb515bb.js} +13 -13
  248. package/build/{index-dbe0b6cf.js → index-a1fc0221.js} +10 -10
  249. package/build/{index-aa09c75d.js → index-a4e24c4a.js} +21 -21
  250. package/build/{index-1d42d9bf.js → index-b45befef.js} +18 -18
  251. package/build/{index-5a504e3b.js → index-bb7a6a78.js} +1 -1
  252. package/build/{index-0dc28efe.js → index-bc8ae28c.js} +1 -1
  253. package/build/{index-42b21267.js → index-bd1f125a.js} +3 -3
  254. package/build/{index-f84293ae.js → index-bd4b0032.js} +11 -11
  255. package/build/{index-3cbb460f.js → index-c0ae03fe.js} +2 -2
  256. package/build/{index-04ce842a.js → index-c8eda329.js} +31 -31
  257. package/build/{index-be48e256.js → index-cfa3e968.js} +18 -18
  258. package/build/{index-092a91d9.js → index-d474bdfe.js} +3 -3
  259. package/build/{index-b3038deb.js → index-d5099a67.js} +4 -4
  260. package/build/{index-c55f22c1.js → index-def94cd6.js} +1 -1
  261. package/build/{index-f062abe5.js → index-e35dc0da.js} +1 -1
  262. package/build/{index-86a6f833.js → index-e46efde4.js} +4 -4
  263. package/build/{index-36e5d4e8.js → index-e5ac9aa9.js} +16 -16
  264. package/build/{index-3651c3b3.js → index-e8775aad.js} +17 -17
  265. package/build/{index-f89a8ed4.js → index-e9848941.js} +22 -22
  266. package/build/{index-2f404f54.js → index-e99444f9.js} +3 -3
  267. package/build/{index-72481e92.js → index-ea07e057.js} +16 -16
  268. package/build/{index-e92cfefa.js → index-eb607d59.js} +13 -13
  269. package/build/{index-b84440f7.js → index-ec89c28e.js} +16 -16
  270. package/build/{index-28228122.js → index-f3eff4ed.js} +1 -1
  271. package/build/{index-3ba6f818.js → index-f81491f3.js} +30 -30
  272. package/build/{index-d9767fd2.js → index-fa91930a.js} +2 -2
  273. package/build/{index-04c41314.js → index-fe7021f1.js} +7 -7
  274. package/build/index.js +118 -118
  275. package/build/{labelSorting-5c6b0bca.js → labelSorting-f688d0ba.js} +4 -4
  276. package/build/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +15 -9
  277. package/build/lead/layouts/inline.d.ts +5 -3
  278. package/build/lead/layouts/lightbox/index.d.ts +2 -1
  279. package/build/lead/services/index.d.ts +14 -0
  280. package/build/lead.js +309 -128
  281. package/build/{logoIcon-7d83fee2.js → logoIcon-da4cf6d1.js} +2 -2
  282. package/build/mantine.js +22 -22
  283. package/build/misc.js +17 -17
  284. package/build/miscGetDynamicHealthTool.js +4 -4
  285. package/build/miscGetSocialList.js +8 -8
  286. package/build/miscScreenSizeContext.js +1 -1
  287. package/build/mobileBottomNavigation.js +5 -5
  288. package/build/mobileBottomNavigationIcon.js +5 -5
  289. package/build/molecules.js +74 -74
  290. package/build/moleculesArticleCard.js +6 -6
  291. package/build/moleculesArticleCardV2.js +16 -16
  292. package/build/navigation.js +46 -46
  293. package/build/navigationLogoutPopup.js +9 -9
  294. package/build/navigationProfileButton.js +26 -26
  295. package/build/onboardingV2.js +28 -28
  296. package/build/organisms.js +50 -50
  297. package/build/{post-88df517f.js → post-e58b0600.js} +2 -2
  298. package/build/profileNavigation.js +19 -19
  299. package/build/progressBar.js +1 -1
  300. package/build/pwg.js +22 -22
  301. package/build/ssoV2.js +28 -28
  302. package/build/{store-f7b33d38.js → store-95fb013c.js} +3 -3
  303. package/build/subot.js +35 -35
  304. package/build/surveyOrPremiumBanner.js +33 -33
  305. package/build/surveyQuestionCard.js +10 -10
  306. package/build/{surveyThankyouCard-91561af7.js → surveyThankyouCard-5a555e4e.js} +5 -5
  307. package/build/together.js +56 -56
  308. package/build/togetherApiUtils.js +4 -4
  309. package/build/togetherAtoms.js +30 -30
  310. package/build/togetherComponentGlobalContext.js +4 -4
  311. package/build/togetherMolecules.js +51 -51
  312. package/build/togetherMoleculesCardAuthor.js +28 -28
  313. package/build/togetherMoleculesPostImagePreview.js +11 -11
  314. package/build/togetherMoleculesProfileDetail.js +39 -39
  315. package/build/togetherOrganisms.js +50 -50
  316. package/build/togetherRichTextEditor.js +17 -17
  317. package/build/togetherShareBox.js +10 -10
  318. package/build/{translationsProvider-8d5df267.js → translationsProvider-f14ffcbf.js} +1 -1
  319. package/build/{treePopoverMenu-5d5967ad.js → treePopoverMenu-ec105c37.js} +19 -19
  320. package/build/{types-24fd04de.js → types-55df76f4.js} +2 -2
  321. package/build/types.js +2 -2
  322. package/build/{useCategory-9d817d57.js → useCategory-237b4e24.js} +5 -5
  323. package/build/{useHealthToolCache-ac1d2cea.js → useHealthToolCache-10fb2d70.js} +1 -1
  324. package/build/{useMantineLocale-1e970fcb.js → useMantineLocale-bfe79d12.js} +6 -6
  325. package/build/{usePlacesAutocomplete-c1e3dcb7.js → usePlacesAutocomplete-b2dcc6e5.js} +1 -1
  326. package/build/{useScreenSize-c1c8bf0b.js → useScreenSize-bda826ea.js} +2 -2
  327. package/build/useTogetherAuthRequiredAction.js +10 -10
  328. package/build/{utils-c738e51e.js → utils-143e4eea.js} +5 -5
  329. package/build/{utils-cf5d5be2.js → utils-396716cf.js} +2 -2
  330. package/build/{utils-e657f8d9.js → utils-43d6aad2.js} +3 -3
  331. package/build/{utils-c73477d9.js → utils-8beef391.js} +2 -2
  332. package/build/vaccination.js +21 -21
  333. package/package.json +1 -1
  334. /package/build/{BMI_BOYS.percentile.monthly-d26f3e66.js → BMI_BOYS.percentile.monthly-2fbbb98c.js} +0 -0
  335. /package/build/{BMI_BOYS.percentile.weekly-41d497d6.js → BMI_BOYS.percentile.weekly-1d49e788.js} +0 -0
  336. /package/build/{BMI_BOYS.percentile.yearly-47c04f08.js → BMI_BOYS.percentile.yearly-5fce1af5.js} +0 -0
  337. /package/build/{BMI_BOYS.zscore.monthly-c243a228.js → BMI_BOYS.zscore.monthly-8d7cbd7a.js} +0 -0
  338. /package/build/{BMI_BOYS.zscore.weekly-e73c7c93.js → BMI_BOYS.zscore.weekly-d126798c.js} +0 -0
  339. /package/build/{BMI_BOYS.zscore.yearly-2d709837.js → BMI_BOYS.zscore.yearly-2e69a76c.js} +0 -0
  340. /package/build/{BMI_GIRLS.percentile.monthly-a185799a.js → BMI_GIRLS.percentile.monthly-c3bbb2a2.js} +0 -0
  341. /package/build/{BMI_GIRLS.percentile.weekly-14dc7dde.js → BMI_GIRLS.percentile.weekly-e6d90cb3.js} +0 -0
  342. /package/build/{BMI_GIRLS.percentile.yearly-91c8ff95.js → BMI_GIRLS.percentile.yearly-d531cdbe.js} +0 -0
  343. /package/build/{BMI_GIRLS.zscore.monthly-5c6f097e.js → BMI_GIRLS.zscore.monthly-fa3b33c0.js} +0 -0
  344. /package/build/{BMI_GIRLS.zscore.weekly-0b9314f5.js → BMI_GIRLS.zscore.weekly-ed4dc2fc.js} +0 -0
  345. /package/build/{BMI_GIRLS.zscore.yearly-e4bbdbd9.js → BMI_GIRLS.zscore.yearly-da768102.js} +0 -0
  346. /package/build/{ChevronDown-401a85c7.js → ChevronDown-962e379d.js} +0 -0
  347. /package/build/{Close-20277205.js → Close-34c7f1fa.js} +0 -0
  348. /package/build/{Google-402454c3.js → Google-ab8b2b5c.js} +0 -0
  349. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-b79eb7de.js → HEAD CIRCUM_BOYS.percentile.monthly-6322a09e.js} +0 -0
  350. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-38b7f8f7.js → HEAD CIRCUM_BOYS.percentile.weekly-25d3db36.js} +0 -0
  351. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-c8da0e53.js → HEAD CIRCUM_BOYS.percentile.yearly-c80c748a.js} +0 -0
  352. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-63d313ce.js → HEAD CIRCUM_BOYS.zscore.monthly-082e65a8.js} +0 -0
  353. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-3623fb54.js → HEAD CIRCUM_BOYS.zscore.weekly-0d953f9c.js} +0 -0
  354. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-85c5a541.js → HEAD CIRCUM_BOYS.zscore.yearly-7bea54ab.js} +0 -0
  355. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f5e3ff78.js → HEAD CIRCUM_GIRLS.percentile.monthly-5f652537.js} +0 -0
  356. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-2c9bd4d3.js → HEAD CIRCUM_GIRLS.percentile.weekly-1fddd821.js} +0 -0
  357. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-e8197a16.js → HEAD CIRCUM_GIRLS.percentile.yearly-77690770.js} +0 -0
  358. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-aaab18f8.js → HEAD CIRCUM_GIRLS.zscore.monthly-c2b6de9b.js} +0 -0
  359. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-dbd4115b.js → HEAD CIRCUM_GIRLS.zscore.weekly-c381e15e.js} +0 -0
  360. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-5fe975ce.js → HEAD CIRCUM_GIRLS.zscore.yearly-aaac178e.js} +0 -0
  361. /package/build/{HEIGHT_BOYS.percentile.monthly-dd41b0ac.js → HEIGHT_BOYS.percentile.monthly-ce7cdf63.js} +0 -0
  362. /package/build/{HEIGHT_BOYS.percentile.weekly-eafba6e0.js → HEIGHT_BOYS.percentile.weekly-9e65635f.js} +0 -0
  363. /package/build/{HEIGHT_BOYS.percentile.yearly-4d2dc2e8.js → HEIGHT_BOYS.percentile.yearly-d9ae7d5a.js} +0 -0
  364. /package/build/{HEIGHT_BOYS.zscore.monthly-1374e396.js → HEIGHT_BOYS.zscore.monthly-5f3ffc56.js} +0 -0
  365. /package/build/{HEIGHT_BOYS.zscore.weekly-e74df470.js → HEIGHT_BOYS.zscore.weekly-8a2f11fc.js} +0 -0
  366. /package/build/{HEIGHT_BOYS.zscore.yearly-56b58cbd.js → HEIGHT_BOYS.zscore.yearly-03bb7881.js} +0 -0
  367. /package/build/{HEIGHT_GIRLS.percentile.monthly-32fc9f2f.js → HEIGHT_GIRLS.percentile.monthly-d42d5d20.js} +0 -0
  368. /package/build/{HEIGHT_GIRLS.percentile.weekly-8953368e.js → HEIGHT_GIRLS.percentile.weekly-250b7079.js} +0 -0
  369. /package/build/{HEIGHT_GIRLS.percentile.yearly-b4b78baa.js → HEIGHT_GIRLS.percentile.yearly-8087f8b1.js} +0 -0
  370. /package/build/{HEIGHT_GIRLS.zscore.monthly-f00d7160.js → HEIGHT_GIRLS.zscore.monthly-54d0d838.js} +0 -0
  371. /package/build/{HEIGHT_GIRLS.zscore.weekly-3fabe52d.js → HEIGHT_GIRLS.zscore.weekly-3be7ccb4.js} +0 -0
  372. /package/build/{HEIGHT_GIRLS.zscore.yearly-cb9b0d99.js → HEIGHT_GIRLS.zscore.yearly-8e06c46e.js} +0 -0
  373. /package/build/{Locale-bd7a10ae.js → Locale-77fad212.js} +0 -0
  374. /package/build/{Visible-a39968f4.js → Visible-b0157e1b.js} +0 -0
  375. /package/build/{WEIGHT_BOYS.percentile.monthly-6aa97aa0.js → WEIGHT_BOYS.percentile.monthly-7b606619.js} +0 -0
  376. /package/build/{WEIGHT_BOYS.percentile.weekly-435f9dfb.js → WEIGHT_BOYS.percentile.weekly-b7d582c7.js} +0 -0
  377. /package/build/{WEIGHT_BOYS.percentile.yearly-808bace0.js → WEIGHT_BOYS.percentile.yearly-97319d9d.js} +0 -0
  378. /package/build/{WEIGHT_BOYS.zscore.monthly-e4c2c184.js → WEIGHT_BOYS.zscore.monthly-84818411.js} +0 -0
  379. /package/build/{WEIGHT_BOYS.zscore.weekly-450c0d37.js → WEIGHT_BOYS.zscore.weekly-808b19b3.js} +0 -0
  380. /package/build/{WEIGHT_BOYS.zscore.yearly-67638d07.js → WEIGHT_BOYS.zscore.yearly-d9755ec5.js} +0 -0
  381. /package/build/{WEIGHT_GIRLS.percentile.monthly-22808439.js → WEIGHT_GIRLS.percentile.monthly-33295e90.js} +0 -0
  382. /package/build/{WEIGHT_GIRLS.percentile.weekly-a6762119.js → WEIGHT_GIRLS.percentile.weekly-bf0b60f1.js} +0 -0
  383. /package/build/{WEIGHT_GIRLS.percentile.yearly-8ba04579.js → WEIGHT_GIRLS.percentile.yearly-d3db6e6b.js} +0 -0
  384. /package/build/{WEIGHT_GIRLS.zscore.monthly-4b3ff237.js → WEIGHT_GIRLS.zscore.monthly-06b3bdd5.js} +0 -0
  385. /package/build/{WEIGHT_GIRLS.zscore.weekly-49912fc4.js → WEIGHT_GIRLS.zscore.weekly-a01c900d.js} +0 -0
  386. /package/build/{WEIGHT_GIRLS.zscore.yearly-f8b1bce8.js → WEIGHT_GIRLS.zscore.yearly-526a7f01.js} +0 -0
  387. /package/build/{animation-627e40e1.js → animation-e277556d.js} +0 -0
  388. /package/build/{constants-2614d9f4.js → constants-c825c14b.js} +0 -0
  389. /package/build/{constants-ff097b2f.js → constants-db7fb8cb.js} +0 -0
  390. /package/build/{constants-87c22ac6.js → constants-f24d84e4.js} +0 -0
  391. /package/build/{dataTransform-9ca67190.js → dataTransform-34095576.js} +0 -0
  392. /package/build/esm/{BMI_BOYS.percentile.monthly-80c44e26.js → BMI_BOYS.percentile.monthly-4d333090.js} +0 -0
  393. /package/build/esm/{BMI_BOYS.percentile.weekly-51caaacf.js → BMI_BOYS.percentile.weekly-11367af2.js} +0 -0
  394. /package/build/esm/{BMI_BOYS.percentile.yearly-ecf87a4d.js → BMI_BOYS.percentile.yearly-1d0143ba.js} +0 -0
  395. /package/build/esm/{BMI_BOYS.zscore.monthly-a86cac6b.js → BMI_BOYS.zscore.monthly-95a898df.js} +0 -0
  396. /package/build/esm/{BMI_BOYS.zscore.weekly-72a975e2.js → BMI_BOYS.zscore.weekly-cb3731ae.js} +0 -0
  397. /package/build/esm/{BMI_BOYS.zscore.yearly-573813de.js → BMI_BOYS.zscore.yearly-e2745a46.js} +0 -0
  398. /package/build/esm/{BMI_GIRLS.percentile.monthly-801ff224.js → BMI_GIRLS.percentile.monthly-0d8f6e9e.js} +0 -0
  399. /package/build/esm/{BMI_GIRLS.percentile.weekly-b792850f.js → BMI_GIRLS.percentile.weekly-58586c34.js} +0 -0
  400. /package/build/esm/{BMI_GIRLS.percentile.yearly-a8d4f8c9.js → BMI_GIRLS.percentile.yearly-35412c77.js} +0 -0
  401. /package/build/esm/{BMI_GIRLS.zscore.monthly-244db734.js → BMI_GIRLS.zscore.monthly-3ef8be31.js} +0 -0
  402. /package/build/esm/{BMI_GIRLS.zscore.weekly-e10b0bdd.js → BMI_GIRLS.zscore.weekly-7d584b08.js} +0 -0
  403. /package/build/esm/{BMI_GIRLS.zscore.yearly-936fd8d6.js → BMI_GIRLS.zscore.yearly-54032d91.js} +0 -0
  404. /package/build/esm/{ChevronDown-4874306c.js → ChevronDown-c14d1b50.js} +0 -0
  405. /package/build/esm/{Close-33a553b5.js → Close-5af62142.js} +0 -0
  406. /package/build/esm/{Google-09e397e8.js → Google-02fec1f2.js} +0 -0
  407. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-11f46383.js → HEAD CIRCUM_BOYS.percentile.monthly-395adeda.js} +0 -0
  408. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c8231bdc.js → HEAD CIRCUM_BOYS.percentile.weekly-624d7e1d.js} +0 -0
  409. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-a46cf76a.js → HEAD CIRCUM_BOYS.percentile.yearly-6e243778.js} +0 -0
  410. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-c3196aa1.js → HEAD CIRCUM_BOYS.zscore.monthly-28a0ca72.js} +0 -0
  411. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8dab52bf.js → HEAD CIRCUM_BOYS.zscore.weekly-b2d5785f.js} +0 -0
  412. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b8f42563.js → HEAD CIRCUM_BOYS.zscore.yearly-471118f2.js} +0 -0
  413. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-0a9f78c2.js → HEAD CIRCUM_GIRLS.percentile.monthly-c395959d.js} +0 -0
  414. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-bc6e1a9f.js → HEAD CIRCUM_GIRLS.percentile.weekly-3d2f793d.js} +0 -0
  415. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-e47fd635.js → HEAD CIRCUM_GIRLS.percentile.yearly-a8593c58.js} +0 -0
  416. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-1a150f28.js → HEAD CIRCUM_GIRLS.zscore.monthly-15ffe18e.js} +0 -0
  417. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e511b4c9.js → HEAD CIRCUM_GIRLS.zscore.weekly-d0495d12.js} +0 -0
  418. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b45b85c9.js → HEAD CIRCUM_GIRLS.zscore.yearly-b58a3949.js} +0 -0
  419. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-48c1f044.js → HEIGHT_BOYS.percentile.monthly-181ebd64.js} +0 -0
  420. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-ea858eeb.js → HEIGHT_BOYS.percentile.weekly-0ed62382.js} +0 -0
  421. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d93c26db.js → HEIGHT_BOYS.percentile.yearly-c5ec15e7.js} +0 -0
  422. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-089b682a.js → HEIGHT_BOYS.zscore.monthly-77671e0c.js} +0 -0
  423. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-e6add158.js → HEIGHT_BOYS.zscore.weekly-3a0a4c32.js} +0 -0
  424. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-fb222952.js → HEIGHT_BOYS.zscore.yearly-27e9bfc5.js} +0 -0
  425. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-b254bd16.js → HEIGHT_GIRLS.percentile.monthly-28adde5d.js} +0 -0
  426. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f5ac8cfe.js → HEIGHT_GIRLS.percentile.weekly-187f51ba.js} +0 -0
  427. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-d57277e5.js → HEIGHT_GIRLS.percentile.yearly-731d21ca.js} +0 -0
  428. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-bd15ac10.js → HEIGHT_GIRLS.zscore.monthly-1ad7c5f3.js} +0 -0
  429. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b30da4a4.js → HEIGHT_GIRLS.zscore.weekly-f0ab9c7a.js} +0 -0
  430. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-49ddcabf.js → HEIGHT_GIRLS.zscore.yearly-9e736ddd.js} +0 -0
  431. /package/build/esm/{Locale-195d354b.js → Locale-683c97c6.js} +0 -0
  432. /package/build/esm/{Visible-82268433.js → Visible-f693d84d.js} +0 -0
  433. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-2896f774.js → WEIGHT_BOYS.percentile.monthly-1f9fba79.js} +0 -0
  434. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-a27e0725.js → WEIGHT_BOYS.percentile.weekly-fe9f0f80.js} +0 -0
  435. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-3cf0bd05.js → WEIGHT_BOYS.percentile.yearly-733e1f58.js} +0 -0
  436. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-1b22ac16.js → WEIGHT_BOYS.zscore.monthly-ce0b8359.js} +0 -0
  437. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-4827e847.js → WEIGHT_BOYS.zscore.weekly-448dabaa.js} +0 -0
  438. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-0105e7d6.js → WEIGHT_BOYS.zscore.yearly-dc25821e.js} +0 -0
  439. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-824eee53.js → WEIGHT_GIRLS.percentile.monthly-11394d74.js} +0 -0
  440. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-c092dfcb.js → WEIGHT_GIRLS.percentile.weekly-e99a57b2.js} +0 -0
  441. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f54bdf64.js → WEIGHT_GIRLS.percentile.yearly-e803082c.js} +0 -0
  442. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-e9b5d068.js → WEIGHT_GIRLS.zscore.monthly-fcae4162.js} +0 -0
  443. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f3ff3cf7.js → WEIGHT_GIRLS.zscore.weekly-a3eb858e.js} +0 -0
  444. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-c47918d6.js → WEIGHT_GIRLS.zscore.yearly-2606b031.js} +0 -0
  445. /package/build/esm/{animation-1e759e01.js → animation-1e5a5248.js} +0 -0
  446. /package/build/esm/{constants-787d1047.js → constants-4def9466.js} +0 -0
  447. /package/build/esm/{constants-dfd4fec2.js → constants-e8a5e74c.js} +0 -0
  448. /package/build/esm/{constants-b91a6387.js → constants-f225f32d.js} +0 -0
  449. /package/build/esm/{dataTransform-24704549.js → dataTransform-796848bf.js} +0 -0
  450. /package/build/esm/{index-107190c6.js → index-1dc7689a.js} +0 -0
  451. /package/build/esm/{index-e767a5ce.js → index-3a017fc9.js} +0 -0
  452. /package/build/esm/{index-fae47190.js → index-5fba6d70.js} +0 -0
  453. /package/build/esm/{index-1a1b91b9.js → index-8013e658.js} +0 -0
  454. /package/build/esm/{index-f26595dd.js → index-812f6290.js} +0 -0
  455. /package/build/esm/{index-bde09734.js → index-b334bedf.js} +0 -0
  456. /package/build/esm/{index-f7c78a98.js → index-c2452a54.js} +0 -0
  457. /package/build/esm/{index-5881649f.js → index-fab09c98.js} +0 -0
  458. /package/build/esm/{index.styles-4cdbea78.js → index.styles-179ee464.js} +0 -0
  459. /package/build/esm/{localizeNumberFormat-ca7b01c6.js → localizeNumberFormat-ef630a3b.js} +0 -0
  460. /package/build/esm/{normalizeLink-16f982aa.js → normalizeLink-bc66e172.js} +0 -0
  461. /package/build/esm/{number-8bcabfaf.js → number-cc23e945.js} +0 -0
  462. /package/build/esm/{other-02f43079.js → other-ee5f20a1.js} +0 -0
  463. /package/build/esm/{paths-86ff00ad.js → paths-491b6e8a.js} +0 -0
  464. /package/build/esm/{translationsContext-b2dc340c.js → translationsContext-58e15c77.js} +0 -0
  465. /package/build/esm/{tslib.es6-61a5e155.js → tslib.es6-20ac9177.js} +0 -0
  466. /package/build/esm/{types-8c1739a1.js → types-062f8dae.js} +0 -0
  467. /package/build/esm/{useIsInit-572bb275.js → useIsInit-d1981499.js} +0 -0
  468. /package/build/esm/{useOutsideClick-3da10969.js → useOutsideClick-a1e27d9a.js} +0 -0
  469. /package/build/esm/{useScrollbarSize-dcafed17.js → useScrollbarSize-f7c3bf7e.js} +0 -0
  470. /package/build/esm/{useUniqueId-2e1f61a7.js → useUniqueId-db0157fd.js} +0 -0
  471. /package/build/esm/{utils-6fe70468.js → utils-8ff50ed6.js} +0 -0
  472. /package/build/{index-423fcd07.js → index-278d22d4.js} +0 -0
  473. /package/build/{index-0f53ccd0.js → index-286ce15a.js} +0 -0
  474. /package/build/{index-7fd91055.js → index-2cca60e1.js} +0 -0
  475. /package/build/{index-993665ec.js → index-2f875a80.js} +0 -0
  476. /package/build/{index-d589d7c3.js → index-57d80839.js} +0 -0
  477. /package/build/{index-c6a7dd24.js → index-8095ef40.js} +0 -0
  478. /package/build/{index-7c86d056.js → index-843257d8.js} +0 -0
  479. /package/build/{index-27f3b644.js → index-b360c4e8.js} +0 -0
  480. /package/build/{index.styles-6a861840.js → index.styles-a9b79120.js} +0 -0
  481. /package/build/{localizeNumberFormat-54e706f5.js → localizeNumberFormat-3cdce5aa.js} +0 -0
  482. /package/build/{normalizeLink-881a333f.js → normalizeLink-ff95ece1.js} +0 -0
  483. /package/build/{number-4f82eab1.js → number-318c6835.js} +0 -0
  484. /package/build/{other-be45c1fc.js → other-9f6773be.js} +0 -0
  485. /package/build/{paths-2f37bbaf.js → paths-0a242732.js} +0 -0
  486. /package/build/{translationsContext-6dc487d0.js → translationsContext-678d593a.js} +0 -0
  487. /package/build/{tslib.es6-e7c9ab79.js → tslib.es6-4c6c8eb6.js} +0 -0
  488. /package/build/{types-167beb92.js → types-0af77a40.js} +0 -0
  489. /package/build/{useIsInit-f8cc3bdc.js → useIsInit-f96fac87.js} +0 -0
  490. /package/build/{useOutsideClick-e33b7ee7.js → useOutsideClick-35efa8b6.js} +0 -0
  491. /package/build/{useScrollbarSize-18803479.js → useScrollbarSize-7dc40dba.js} +0 -0
  492. /package/build/{useUniqueId-a27907fa.js → useUniqueId-73e84d75.js} +0 -0
  493. /package/build/{utils-085bd563.js → utils-901ab40e.js} +0 -0
package/build/esm/lead.js CHANGED
@@ -1,53 +1,53 @@
1
- import { _ as __rest, a as __awaiter } from './tslib.es6-61a5e155.js';
1
+ import { _ as __rest, a as __awaiter } from './tslib.es6-20ac9177.js';
2
2
  import React__default, { createContext, useMemo, useEffect, useRef, useState, useContext, useCallback, forwardRef, useImperativeHandle, memo, useLayoutEffect } from 'react';
3
3
  import { createStyles, Box, Button as Button$1, Input as Input$1, Autocomplete, clsx, Checkbox as Checkbox$1, Radio as Radio$1, Select as Select$1, TextInput, NumberInput as NumberInput$1, Portal, Transition, Overlay } from '@mantine/core';
4
4
  import debounce from 'lodash/debounce';
5
5
  import { createFormContext, useForm } from '@mantine/form';
6
6
  import dayjs from 'dayjs';
7
- import { B as BEARER_TOKEN_COOKIE } from './index-c40a5354.js';
7
+ import { B as BEARER_TOKEN_COOKIE } from './index-d72734c0.js';
8
8
  import { getCookie, setCookie } from './miscCookieHelper.js';
9
- import { u as useTranslations } from './index-4817b6fb.js';
10
- import { T as TranslationsContext } from './translationsContext-b2dc340c.js';
11
- import { M as MediaQueries, b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-6fe70468.js';
12
- import { T as Text } from './index-51203f5c.js';
13
- import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput, O as OTP } from './index-e9014616.js';
14
- import { D as DatePicker } from './index-0f575835.js';
15
- import { B as Button } from './index-7f0fb92c.js';
16
- import './index.styles-4cdbea78.js';
17
- import { useClickOutside } from '@mantine/hooks';
18
- import './useMantineLocale-255491dc.js';
19
- import { C as COMMON_DATE_TRANSLATE_KEY } from './index-bc24b8a9.js';
20
- import './index-f26595dd.js';
21
- import { Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-92babb26.js';
22
- import './other-02f43079.js';
23
- import './index-6a0f58a2.js';
24
- import { M as MAPPED_LOCALE } from './utils-fab23c47.js';
9
+ import { u as useTranslations } from './index-58b827e5.js';
10
+ import { T as TranslationsContext } from './translationsContext-58e15c77.js';
11
+ import { M as MediaQueries, b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-8ff50ed6.js';
12
+ import { T as Text } from './index-2c332c13.js';
13
+ import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput, O as OTP } from './index-e18cfd4c.js';
14
+ import { D as DatePicker } from './index-f6034f66.js';
15
+ import { B as Button } from './index-ceaf25b1.js';
16
+ import './index.styles-179ee464.js';
17
+ import { useIntersection, useClickOutside } from '@mantine/hooks';
18
+ import './useMantineLocale-ecd3a0dc.js';
19
+ import { C as COMMON_DATE_TRANSLATE_KEY } from './index-4c2c3adb.js';
20
+ import './index-812f6290.js';
21
+ import { L as LOCALE_SPECS, Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-22283e00.js';
22
+ import './other-ee5f20a1.js';
23
+ import './index-19e02ce7.js';
24
+ import { M as MAPPED_LOCALE } from './utils-851c0348.js';
25
25
  import { DateInput } from '@mantine/dates';
26
- import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-46dd7177.js';
27
- import { H as Heading$1 } from './index-6a38412d.js';
28
- import { t as translationsMap$1 } from './translationsProvider-20266cbb.js';
29
- import { L as LOCALE } from './Locale-195d354b.js';
26
+ import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-d4c3286c.js';
27
+ import { H as Heading$1 } from './index-a690b782.js';
28
+ import { t as translationsMap$1 } from './translationsProvider-173c0289.js';
29
+ import { L as LOCALE } from './Locale-683c97c6.js';
30
30
  import { v1 } from 'uuid';
31
+ import { domainLocales } from './constantsDomainLocales.js';
31
32
  import { parsePhoneNumber } from 'react-phone-number-input';
32
33
  import styled from '@emotion/styled';
33
34
  import { theme } from './miscTheme.js';
34
35
  import { css } from '@emotion/react';
35
- import { T as TogetherComponentGlobalContext } from './utils-867c0cbb.js';
36
- import { i as isVideo } from './index-1a1b91b9.js';
37
- import { u as useScreenSize } from './useScreenSize-1fc99ffb.js';
36
+ import { T as TogetherComponentGlobalContext } from './utils-d407e2ca.js';
37
+ import { i as isVideo } from './index-8013e658.js';
38
+ import { u as useScreenSize } from './useScreenSize-3e1b853b.js';
38
39
  import { motion } from 'framer-motion';
39
40
  import { createPortal } from 'react-dom';
40
- import { B as Button$2 } from './index-cc8507de.js';
41
- import { I as InputDate } from './InputDate-4ab03ef5.js';
42
- import { D as DrawerComponent } from './index-2d2f032d.js';
43
- import { C as Close } from './Close-33a553b5.js';
41
+ import { B as Button$2 } from './index-8de84f32.js';
42
+ import { I as InputDate } from './InputDate-02ac2039.js';
43
+ import { D as DrawerComponent } from './index-83f69095.js';
44
+ import { C as Close } from './Close-5af62142.js';
44
45
  import './constantsIsProduction.js';
45
- import './normalizeLink-16f982aa.js';
46
- import './constantsDomainLocales.js';
46
+ import './normalizeLink-bc66e172.js';
47
47
  import '@hhgtech/icons/other';
48
48
  import '@mantine/carousel';
49
49
  import 'classnames';
50
- import './useUniqueId-2e1f61a7.js';
50
+ import './useUniqueId-db0157fd.js';
51
51
  import './constantsSite.js';
52
52
  import '@hhgtech/icons/core';
53
53
  import '@mantine/notifications';
@@ -65,11 +65,11 @@ import './i18n-values/vi-VN.js';
65
65
  import './i18n-values/vi-VN_MB.js';
66
66
  import './i18n-values/zh-SG.js';
67
67
  import './i18n-values/zh-TW.js';
68
- import './index-fae47190.js';
68
+ import './index-5fba6d70.js';
69
69
  import 'slugify';
70
70
  import 'string-format';
71
71
  import './togetherApiPaths.js';
72
- import './constants-b91a6387.js';
72
+ import './constants-f225f32d.js';
73
73
  import 'vaul';
74
74
 
75
75
  const LeadGenComponentContext = createContext({});
@@ -159,11 +159,6 @@ const LEAD_TIMEZONE_DATA = {
159
159
  9: 'Asia/Manila', // Philippines / Filipinos Site
160
160
  };
161
161
 
162
- const LEADGEN_ACTIONS = {
163
- SHOW: 'SHOW',
164
- SCROLL: 'SCROLL',
165
- TIME: 'TIME',
166
- };
167
162
  var LEADGEN_LAYOUT;
168
163
  (function (LEADGEN_LAYOUT) {
169
164
  LEADGEN_LAYOUT["LightBoxA"] = "LightBoxA";
@@ -562,6 +557,13 @@ const campaignPostImpression = ({ code, action, title_article, ga_client_id, coo
562
557
  },
563
558
  });
564
559
  };
560
+ const trackingSubscription = (data) => {
561
+ return leadApi.call({
562
+ url: `api/collection/tracking-subscription`,
563
+ method: METHOD.POST,
564
+ data,
565
+ });
566
+ };
565
567
  const Service = {
566
568
  campaignGetById,
567
569
  getCampaignByCode,
@@ -569,6 +571,7 @@ const Service = {
569
571
  postSubscriptionBoxLead,
570
572
  postUserInfoFromLeadGen,
571
573
  campaignPostImpression,
574
+ trackingSubscription,
572
575
  validateEmailOrPhoneOnSubot,
573
576
  validateEmailOrPhoneOnLeadGen,
574
577
  validatePhoneNumberOnLeadGen,
@@ -1983,27 +1986,30 @@ const LeadGenContext = createContext({
1983
1986
  LeadLog('** LeadGen SubmitSubscriptionBox : ', value);
1984
1987
  return Promise.reject(value);
1985
1988
  },
1986
- impression(value) {
1989
+ impression(type) {
1987
1990
  /** Init for FAKING function */
1988
- LeadLog('** LeadGen Impression : ', value);
1989
- return Promise.reject(value);
1991
+ LeadLog('** LeadGen Impression : ', type);
1992
+ return Promise.reject();
1990
1993
  },
1991
1994
  /** For Subscription Box */
1992
1995
  subscriptionIcon: '',
1993
1996
  subscriptionTitle: '',
1997
+ subscriptionPhoneType: '',
1994
1998
  });
1995
1999
  const LeadGenContextProvider = (props) => {
1996
- const { campaign_code: campaignCodeProps, apiSsoUrl, apiLeadUrl, apiSubotUrl, locale: localeProps, forceCampaign: forceCampaignProps, extraValues, articleId = 1, categoryId = 1, siteDomain: site_domain, children } = props, restProps = __rest(props, ["campaign_code", "apiSsoUrl", "apiLeadUrl", "apiSubotUrl", "locale", "forceCampaign", "extraValues", "articleId", "categoryId", "siteDomain", "children"]);
2000
+ const { campaign_code: campaignCodeProps, apiSsoUrl, apiLeadUrl, apiSubotUrl, locale: localeProps, forceCampaign: forceCampaignProps, extraValues, articleId = 1, categoryId = 1, siteDomain: site_domain, children, userInfo } = props, restProps = __rest(props, ["campaign_code", "apiSsoUrl", "apiLeadUrl", "apiSubotUrl", "locale", "forceCampaign", "extraValues", "articleId", "categoryId", "siteDomain", "children", "userInfo"]);
2001
+ const { t } = useTranslations();
1997
2002
  const [forceCampaign, setForceCampaign] = useState(forceCampaignProps);
1998
2003
  const [subscriptionInfo, setSubscriptionInfo] = useState({
1999
2004
  subscriptionIcon: '',
2000
2005
  subscriptionTitle: '',
2001
2006
  subscriptionType: 'TypeA',
2007
+ subscriptionPhoneType: '',
2002
2008
  });
2003
2009
  const locale = useMemo(() => {
2004
2010
  return localeProps || LOCALE['PhilippinesEnglish'];
2005
2011
  }, [localeProps]);
2006
- const { url, campaign_id, campaign_code, cookie_id, ga_client_id, category_id, article_id, article_title, } = useMemo(() => ({
2012
+ const { url, campaign_id, cookie_id, ga_client_id, category_id, article_id, article_title, category_name, } = useMemo(() => ({
2007
2013
  url: location.href.toLowerCase() || '',
2008
2014
  cookie_id: getCookie('hhg-id') || null,
2009
2015
  ga_client_id: getCookie('_ga'),
@@ -2012,27 +2018,33 @@ const LeadGenContextProvider = (props) => {
2012
2018
  category_id: categoryId,
2013
2019
  article_id: articleId,
2014
2020
  article_title: (extraValues === null || extraValues === void 0 ? void 0 : extraValues.article_title) || document.title || '',
2021
+ category_name: (extraValues === null || extraValues === void 0 ? void 0 : extraValues.category_name) || '',
2015
2022
  }), [
2016
2023
  campaignCodeProps,
2017
2024
  articleId,
2018
2025
  categoryId,
2019
2026
  forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.id,
2020
2027
  extraValues === null || extraValues === void 0 ? void 0 : extraValues.article_title,
2028
+ extraValues === null || extraValues === void 0 ? void 0 : extraValues.category_name,
2021
2029
  ]);
2022
- const fetchCampaign = useCallback((campaign_code) => {
2023
- Service.getCampaignByCode(campaign_code).then((res) => {
2024
- const { _data } = res || {};
2025
- const { campaigns } = _data || {};
2026
- LeadLog('** LeadGen Campaign : ', campaigns);
2027
- setForceCampaign(formatCampaignDetail(campaigns));
2028
- });
2029
- }, [campaignCodeProps]);
2030
+ // const fetchCampaign = useCallback(
2031
+ // (campaign_code: string) => {
2032
+ // Service.getCampaignByCode(campaign_code).then((res) => {
2033
+ // const { _data } = res || {}
2034
+ // const { campaigns } = _data || {}
2035
+ // LeadLog('** LeadGen Campaign : ', campaigns)
2036
+ // setForceCampaign(formatCampaignDetail(campaigns))
2037
+ // })
2038
+ // },
2039
+ // [campaignCodeProps],
2040
+ // )
2030
2041
  // TODO : Update form for LeadGen
2031
2042
  const submit = useCallback((data) => {
2032
2043
  return Service.postSubscriptionBoxLead({ data });
2033
2044
  }, []);
2034
2045
  const submitSubscriptionBox = useCallback((value) => {
2035
- const data = Object.assign(Object.assign(Object.assign(Object.assign({}, value), { campaign_id,
2046
+ const data = Object.assign(Object.assign(Object.assign(Object.assign({}, value), {
2047
+ // campaign_id,
2036
2048
  site_domain, url: (value === null || value === void 0 ? void 0 : value.url) || url, cookie_id, ga_client_id: (value === null || value === void 0 ? void 0 : value.ga_client_id) || ga_client_id }), extraValues), { article_id,
2037
2049
  category_id,
2038
2050
  article_title });
@@ -2048,33 +2060,36 @@ const LeadGenContextProvider = (props) => {
2048
2060
  cookie_id,
2049
2061
  ga_client_id,
2050
2062
  ]);
2051
- const impression = useCallback((value) => {
2063
+ const impression = useCallback((type) => {
2064
+ const gaCookie = getCookie('_ga') || null;
2052
2065
  const impression = {
2053
- url: (value === null || value === void 0 ? void 0 : value.url) || url,
2054
- action: (value === null || value === void 0 ? void 0 : value.action) || LEADGEN_ACTIONS.SCROLL,
2055
- code: (value === null || value === void 0 ? void 0 : value.code) || campaign_code,
2056
- title_article: (value === null || value === void 0 ? void 0 : value.title_article) || article_title,
2057
- cookie_id: (value === null || value === void 0 ? void 0 : value.cookie_id) || cookie_id,
2058
- ga_client_id: (value === null || value === void 0 ? void 0 : value.ga_client_id) || ga_client_id,
2059
- referrer: value === null || value === void 0 ? void 0 : value.referrer,
2060
- extra: Object.assign(Object.assign(Object.assign({}, value === null || value === void 0 ? void 0 : value.extra), { cookie_id,
2061
- article_id, subscription_title: subscriptionInfo.subscriptionTitle, subscription_type: subscriptionInfo.subscriptionType }), extraValues),
2066
+ subscription_title: subscriptionInfo.subscriptionTitle,
2067
+ name: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.name) || '',
2068
+ area_code: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.area_code) || '',
2069
+ phone_number: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone) || '',
2070
+ site_domain: domainLocales[locale],
2071
+ url: location.href.toLowerCase(),
2072
+ cookie_id: getCookie('hhg-id'),
2073
+ ga_client_id: gaCookie,
2074
+ article_title,
2075
+ article_id,
2076
+ category_id,
2077
+ category_name,
2078
+ type,
2062
2079
  };
2063
- if (!impression.extra.subscription_title) {
2064
- delete impression.extra.subscription_title;
2065
- }
2066
- return Service.campaignPostImpression(impression);
2080
+ return Service.trackingSubscription(impression);
2067
2081
  }, [
2068
- extraValues,
2069
2082
  campaign_id,
2070
2083
  url,
2071
- campaign_code,
2072
2084
  article_title,
2073
2085
  cookie_id,
2074
2086
  ga_client_id,
2087
+ categoryId,
2075
2088
  article_id,
2076
2089
  subscriptionInfo.subscriptionTitle,
2077
- subscriptionInfo.subscriptionType,
2090
+ userInfo === null || userInfo === void 0 ? void 0 : userInfo.name,
2091
+ userInfo === null || userInfo === void 0 ? void 0 : userInfo.area_code,
2092
+ userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone,
2078
2093
  ]);
2079
2094
  useEffect(() => {
2080
2095
  if (forceCampaignProps) {
@@ -2089,21 +2104,138 @@ const LeadGenContextProvider = (props) => {
2089
2104
  slug: location === null || location === void 0 ? void 0 : location.pathname,
2090
2105
  }).then((res) => {
2091
2106
  const { _data } = res || {};
2092
- const { item, campaign_code } = _data || {};
2107
+ const { item, campaign_code, btn_type = 'zalo' } = _data || {};
2093
2108
  const { icon, content } = item || {};
2094
2109
  LeadLog('** LeadGen SubscriptionBox campaign_code : ', campaign_code);
2095
2110
  LeadLog('** LeadGen SubscriptionBox subscription_icon : ', icon);
2096
2111
  LeadLog('** LeadGen SubscriptionBox subscription_title : ', content);
2097
- setSubscriptionInfo((prev) => (Object.assign(Object.assign({}, prev), { subscriptionIcon: icon, subscriptionTitle: content })));
2098
- if (campaign_code) {
2099
- fetchCampaign(campaign_code);
2100
- }
2112
+ setSubscriptionInfo((prev) => (Object.assign(Object.assign({}, prev), { subscriptionIcon: icon, subscriptionTitle: content, subscriptionPhoneType: btn_type })));
2113
+ setForceCampaign(formatCampaignDetail({
2114
+ id: 6993,
2115
+ name: '',
2116
+ code: '49qvztwzzlfvmk6',
2117
+ site: {
2118
+ id: LOCALE_SPECS[locale].SITE_ID || 1,
2119
+ name: domainLocales[locale],
2120
+ },
2121
+ thank_you_image: 'https://cdn-lead.hellohealthgroup.com/2025/05/1747009374_68213f5e5fa5a9.58533462.png',
2122
+ extra_fields: {
2123
+ actionBlocks: `{"submitBlock":{"data":{"value":"${t('subscriptionBox.ctaBtn')}"}},"linkButtonBlock":{"data":{"value":"Join now","url":"","newtab":true}}}`,
2124
+ currentLayout: 'LightBoxB',
2125
+ imageBlocks: '{"imageMobile":{"data":{"url":"","newtab":true}},"imageDesktop":{"data":{"url":"","newtab":true}},"imageBackground":{"data":{}},"imageOverlayMobile":{"data":{}},"imageOverlayDesktop":{"data":{}},"imageThankYou":{"data":{}}}',
2126
+ listBlockAdded: `[{"name":"TextBlock","id":"c9be7202-05af-4d62-94bb-0001f8ad50de","data":{"placeholder":"${t('subscriptionBox.name')}","value":"name","required":true, "requiredMessage": "${t('subscriptionBox.nameRequire')}"}},{"name":"PhoneBlock","id":1744087889773,"data":{"value":"phone","required":true,"requiredMessage": "${t('subscriptionBox.phoneRequire')}","placeholder":"${t('subscriptionBox.phone')}"}}]`,
2127
+ listBlockThankyou: `[{"name":"TitleBlock","id":"c74d5525-b7ae-4714-b5f1-552f50160ac1","data":{"value":"${t('subscriptionBox.thankyouTitle')}","align":"center"}},{"name":"SubtitleBlock","id":"f9a6ac63-b532-41d4-9c2e-3f3e71124e05","data":{"value":"${t('subscriptionBox.thankyou')}","align":"center"}}]`,
2128
+ textBlocks: '{"titleBlock":{"data":{"value":"VN - Campaign SUBSCRIPTION BOX "}},"subtitleBlock":{"data":{"value":"Sample description"}}}',
2129
+ },
2130
+ total_lead: 0,
2131
+ total_submit: 0,
2132
+ total_click: 0,
2133
+ started_at: null,
2134
+ ended_at: null,
2135
+ created_at: '2025-04-08 04:54:32',
2136
+ updated_at: '2025-05-12 00:22:54',
2137
+ site_logo: 'https://hhg-common.hellobacsi.com/common/logo/hellobacsi.png',
2138
+ custom_logo: null,
2139
+ status: 1,
2140
+ formatted_status: 1,
2141
+ creator: 'admin@hellohealthgroup.com',
2142
+ total_impression: 4237940,
2143
+ conversion_rate: 0,
2144
+ total_visitor: 0,
2145
+ total_habit_exit: 0,
2146
+ total_intentional_exit: 0,
2147
+ trigger_type: 'on_landing',
2148
+ targets: [
2149
+ {
2150
+ is_import: 0,
2151
+ option: 'start_with',
2152
+ sub_target: [],
2153
+ target: 'https://hellobacsi.com/sample',
2154
+ type: 1,
2155
+ },
2156
+ ],
2157
+ forms: [
2158
+ {
2159
+ control: 'TextBlock',
2160
+ default: null,
2161
+ name: 'TextBlock',
2162
+ options: [],
2163
+ required: 1,
2164
+ },
2165
+ {
2166
+ control: 'PhoneBlock',
2167
+ default: null,
2168
+ name: 'PhoneBlock',
2169
+ options: [],
2170
+ required: 1,
2171
+ requiredMessage: t('subscriptionBox.phoneRequire'),
2172
+ },
2173
+ ],
2174
+ rules: [
2175
+ {
2176
+ rule: 'campaign_popup_exit',
2177
+ value: '7',
2178
+ },
2179
+ {
2180
+ rule: 'site_popup_exit',
2181
+ value: '7',
2182
+ },
2183
+ {
2184
+ rule: 'show_again_after_submit',
2185
+ value: '0',
2186
+ },
2187
+ {
2188
+ rule: 'show_again_after_exit',
2189
+ value: '0',
2190
+ },
2191
+ {
2192
+ rule: 'appearance_time',
2193
+ value: {
2194
+ endTime: null,
2195
+ startTime: null,
2196
+ },
2197
+ },
2198
+ {
2199
+ rule: 'exclude_sponsored',
2200
+ value: '1',
2201
+ },
2202
+ {
2203
+ rule: 'exclude_sponsored_list',
2204
+ value: [],
2205
+ },
2206
+ {
2207
+ rule: 'days_to_show_again',
2208
+ value: '7',
2209
+ },
2210
+ {
2211
+ rule: 'time',
2212
+ value: '3',
2213
+ },
2214
+ ],
2215
+ is_scheduled: true,
2216
+ last_step: null,
2217
+ kpis: {
2218
+ lead: 500,
2219
+ },
2220
+ forever: 1,
2221
+ is_target_import: 0,
2222
+ is_expired: 0,
2223
+ score: 6,
2224
+ price: 2.5,
2225
+ type: 0,
2226
+ is_testing_running: 0,
2227
+ campaign_group_id: 0,
2228
+ bot_id: [],
2229
+ }));
2230
+ // if (campaign_code) {
2231
+ // fetchCampaign(campaign_code)
2232
+ // }
2101
2233
  });
2102
2234
  return;
2103
2235
  }
2104
- if (campaignCodeProps) {
2105
- fetchCampaign(campaignCodeProps);
2106
- }
2236
+ // if (campaignCodeProps) {
2237
+ // fetchCampaign(campaignCodeProps)
2238
+ // }
2107
2239
  }, [forceCampaignProps, campaignCodeProps, categoryId]);
2108
2240
  useEffect(() => {
2109
2241
  leadStore.apiSsoUrl = apiSsoUrl;
@@ -2113,7 +2245,7 @@ const LeadGenContextProvider = (props) => {
2113
2245
  if (!forceCampaign || !(forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.id)) {
2114
2246
  return null;
2115
2247
  }
2116
- return (React__default.createElement(LeadGenContext.Provider, { value: Object.assign(Object.assign(Object.assign({}, restProps), subscriptionInfo), { campaign_code: campaignCodeProps, apiSsoUrl,
2248
+ return (React__default.createElement(LeadGenContext.Provider, { value: Object.assign(Object.assign(Object.assign({}, restProps), subscriptionInfo), { userInfo, campaign_code: campaignCodeProps, apiSsoUrl,
2117
2249
  apiLeadUrl,
2118
2250
  apiSubotUrl, locale: localeProps, extraValues,
2119
2251
  articleId,
@@ -2128,6 +2260,39 @@ const useLeadGenContext = () => {
2128
2260
  return Object.assign(Object.assign({}, context), { apiSsoUrl: context.apiSsoUrl || leadStore.apiSsoUrl, apiLeadUrl: context.apiLeadUrl || leadStore.apiLeadUrl, apiSubotUrl: context.apiSubotUrl || leadStore.apiSubotUrl });
2129
2261
  };
2130
2262
 
2263
+ const ImpressionTrackingWrapper = ({ children, stayDuration = 3, onImpression, dependency = '', }) => {
2264
+ const { ref, entry } = useIntersection({
2265
+ threshold: 1,
2266
+ });
2267
+ const [tracked, setTracked] = useState(false);
2268
+ useEffect(() => {
2269
+ let timer = null;
2270
+ let count = 1;
2271
+ if ((entry === null || entry === void 0 ? void 0 : entry.isIntersecting) && !tracked) {
2272
+ timer = setInterval(() => {
2273
+ console.log('Impression count: ', count);
2274
+ if (count >= stayDuration) {
2275
+ setTracked(true);
2276
+ }
2277
+ else {
2278
+ count += 1;
2279
+ }
2280
+ }, 1000);
2281
+ }
2282
+ return () => clearInterval(timer);
2283
+ }, [entry === null || entry === void 0 ? void 0 : entry.isIntersecting, tracked]);
2284
+ useEffect(() => {
2285
+ if (tracked) {
2286
+ onImpression();
2287
+ console.log('Impression call API');
2288
+ }
2289
+ }, [tracked]);
2290
+ useEffect(() => {
2291
+ setTracked(false);
2292
+ }, [dependency]);
2293
+ return (React__default.createElement(Box, { "data-impression": true, ref: ref }, children));
2294
+ };
2295
+
2131
2296
  // eslint-disable-next-line @typescript-eslint/no-var-requires
2132
2297
  const customParseFormat = require('dayjs/plugin/customParseFormat');
2133
2298
  dayjs.extend(customParseFormat);
@@ -2164,7 +2329,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
2164
2329
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2165
2330
  block) => {
2166
2331
  return (value) => {
2167
- var _a;
2332
+ var _a, _b;
2168
2333
  const isBLockRequired = (_a = block === null || block === void 0 ? void 0 : block.data) === null || _a === void 0 ? void 0 : _a.required;
2169
2334
  if (!formRef.current.isTouched(name))
2170
2335
  return;
@@ -2172,7 +2337,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
2172
2337
  typeof value === 'undefined' ||
2173
2338
  (Array.isArray(value) && value.length === 0)) {
2174
2339
  return isBLockRequired
2175
- ? t('validator.required')
2340
+ ? ((_b = block === null || block === void 0 ? void 0 : block.data) === null || _b === void 0 ? void 0 : _b.requiredMessage) || t('validator.required')
2176
2341
  : cb === null || cb === void 0 ? void 0 : cb(value);
2177
2342
  }
2178
2343
  return cb === null || cb === void 0 ? void 0 : cb(value);
@@ -2421,12 +2586,25 @@ const StyledLeadGenSubscriptionBox = styled.div `
2421
2586
  border: 1px solid ${theme.colors.neutral100};
2422
2587
  background: linear-gradient(
2423
2588
  180.71deg,
2424
- #7bc2ff -18.54%,
2425
- #e3f2ff 17.12%,
2426
- #ffffff 99.25%
2589
+ rgba(44, 183, 66, 0.8) -18.54%,
2590
+ rgba(44, 183, 66, 0.1) 17.12%,
2591
+ rgba(44, 183, 66, 0) 99.25%
2427
2592
  );
2428
2593
  border-radius: 12px;
2429
2594
  margin-inline: auto;
2595
+ &[data-phone-type='zalo'] {
2596
+ background: linear-gradient(
2597
+ 180.71deg,
2598
+ #7bc2ff -18.54%,
2599
+ #e3f2ff 17.12%,
2600
+ #ffffff 99.25%
2601
+ );
2602
+ }
2603
+ &[data-phone-type]:not([data-phone-type='zalo']) {
2604
+ .leadgen-btn {
2605
+ background-color: #2cb742 !important;
2606
+ }
2607
+ }
2430
2608
  .leadgen-form_inputs {
2431
2609
  .leadgen-form_input {
2432
2610
  width: 100%;
@@ -3102,10 +3280,9 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3102
3280
  const { image, extra_fields, id: campaign_id, bot_id: campaign_subot_id = [], ThankYouBlock, } = forceCampaign || {};
3103
3281
  const { textBlocks, listBlockAdded, actionBlocks } = extra_fields || {};
3104
3282
  const { submitBlock } = actionBlocks || {};
3105
- const { apiLeadUrl, subscriptionIcon, subscriptionTitle, submitSubscriptionBox, impression, onFinish, } = useLeadGenContext();
3283
+ const { apiLeadUrl, subscriptionIcon, subscriptionTitle, subscriptionPhoneType, submitSubscriptionBox, onFinish, impression, } = useLeadGenContext();
3106
3284
  const { t } = useTranslations();
3107
3285
  const { action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
3108
- const refContainer = useRef(null);
3109
3286
  const [loading, setLoading] = useState(false);
3110
3287
  const [showThankyou, setShowThankyou] = useState(false);
3111
3288
  const validatingEmailRef = useRef(false);
@@ -3125,17 +3302,6 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3125
3302
  t('leadgen.message.title.default');
3126
3303
  }, [subscriptionTitle, (_b = (_a = textBlocks === null || textBlocks === void 0 ? void 0 : textBlocks.titleBlock) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.value]);
3127
3304
  const { image: thankyouImage, title: thankyouTitle, description: thankyouDescription, button: thankyouButton, } = ThankYouBlock || {};
3128
- const intersectionObserverCallback = useCallback((entries) => {
3129
- entries.forEach((entry) => {
3130
- const { isIntersecting, target } = entry;
3131
- if (!showThankyou &&
3132
- isIntersecting &&
3133
- target === refContainer.current) {
3134
- impression();
3135
- }
3136
- });
3137
- }, [impression, showThankyou]);
3138
- const IObserver = new IntersectionObserver(intersectionObserverCallback);
3139
3305
  const middlewareOnSubmit = useCallback((values) => __awaiter(void 0, void 0, void 0, function* () {
3140
3306
  const newValues = {
3141
3307
  subscription_title,
@@ -3172,7 +3338,11 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3172
3338
  setLoading(true);
3173
3339
  try {
3174
3340
  const reqValues = Object.assign(Object.assign({}, newValues), ssoValues);
3175
- const { _data } = (yield submitSubscriptionBox(reqValues)) || {};
3341
+ const [res] = yield Promise.all([
3342
+ submitSubscriptionBox(reqValues),
3343
+ impression('submit_form'),
3344
+ ]);
3345
+ const { _data } = res || {};
3176
3346
  const { model } = _data || {};
3177
3347
  if (model && (model === null || model === void 0 ? void 0 : model.id)) {
3178
3348
  setShowThankyou(true);
@@ -3216,16 +3386,8 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3216
3386
  userInfo === null || userInfo === void 0 ? void 0 : userInfo.uid,
3217
3387
  userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone,
3218
3388
  ]);
3219
- useEffect(() => {
3220
- if (refContainer.current) {
3221
- IObserver.observe(refContainer.current);
3222
- }
3223
- return () => {
3224
- IObserver.disconnect();
3225
- };
3226
- }, [categoryId]);
3227
- return (React__default.createElement("div", { ref: refContainer },
3228
- React__default.createElement(StyledLeadGenSubscriptionBox, { "data-type": "subscription_box_A" },
3389
+ return (React__default.createElement(ImpressionTrackingWrapper, { dependency: categoryId, onImpression: () => impression('impression') },
3390
+ React__default.createElement(StyledLeadGenSubscriptionBox, { "data-phone-type": subscriptionPhoneType, "data-type": "subscription_box_A" },
3229
3391
  showThankyou && (React__default.createElement(LeadGenThankYou, { image: Object.assign(Object.assign({}, thankyouImage), { src: thankyouImage.src || `${apiLeadUrl}admin/img/thanksyou.png` }), title: thankyouTitle, description: thankyouDescription, button: thankyouButton })),
3230
3392
  !showThankyou && (React__default.createElement(LeadGenSubscriptionBoxA, { loading: loading, image: subscriptionIcon || image, title: subscription_title, submitText: (_c = submitBlock === null || submitBlock === void 0 ? void 0 : submitBlock.data) === null || _c === void 0 ? void 0 : _c.value, blocks: listBlockAdded, locale: locale, form: form, rules: validateObj, onFinish: middlewareOnSubmit })))));
3231
3393
  };
@@ -3240,8 +3402,12 @@ const Container = () => {
3240
3402
  return (React__default.createElement(LeadGenSubscriptionBox$1, { locale: locale, siteId: siteId, siteDomain: siteDomain, userInfo: userInfo, forceCampaign: forceCampaign, campaign_code: campaign_code }));
3241
3403
  };
3242
3404
  Container.displayName = 'LeadGenSubscriptionBox';
3405
+ const ALLOW_LOCALE = [LOCALE.Vietnam, LOCALE.Malaysia, LOCALE.Indonesia];
3243
3406
  const LeadGenSubscriptionBoxContainer = (props) => {
3244
- const { apiUrl, apiSubotUrl } = props;
3407
+ const { apiUrl, apiSubotUrl, locale } = props;
3408
+ if (!ALLOW_LOCALE.includes(locale)) {
3409
+ return null;
3410
+ }
3245
3411
  return (React__default.createElement(LeadGenContextProvider, Object.assign({}, props, { apiLeadUrl: apiUrl, apiSubotUrl: apiSubotUrl }),
3246
3412
  React__default.createElement(Container, null)));
3247
3413
  };
@@ -3872,7 +4038,8 @@ const ThankyouPopup = ({ title, titleAlign, subtitle, subtitleAlign, link, linkN
3872
4038
  React__default.createElement(Button, { className: `lead-modal__btn ${LEAD_CLASS}`, color: primaryColor }, linkText)))))));
3873
4039
  };
3874
4040
 
3875
- const InlineLayout = ({ content, inlinePosition, }) => {
4041
+ const InlineLayout = ({ action, content, inlinePosition, campaignCode, }) => {
4042
+ const { apiUrl } = useContext(LeadGenContext$1);
3876
4043
  const target = useMemo(() => {
3877
4044
  if (!inlinePosition)
3878
4045
  return null;
@@ -3979,7 +4146,22 @@ const InlineLayout = ({ content, inlinePosition, }) => {
3979
4146
  }, [inlinePosition]);
3980
4147
  if (!inlinePosition || !target)
3981
4148
  return null;
3982
- return createPortal(content, target);
4149
+ return createPortal(React__default.createElement(ImpressionTrackingWrapper, { onImpression: () => __awaiter(void 0, void 0, void 0, function* () {
4150
+ const gaCookie = getCookie('_ga') || null;
4151
+ fetch(`${apiUrl}api/campaign/${campaignCode}/impression`, {
4152
+ method: 'POST',
4153
+ headers: {
4154
+ 'Content-Type': 'application/json',
4155
+ },
4156
+ body: JSON.stringify({
4157
+ action,
4158
+ url: location.href.toLowerCase(),
4159
+ title_article: document.title,
4160
+ cookie_id: getCookie('hhg-id'),
4161
+ ga_client_id: gaCookie,
4162
+ }),
4163
+ });
4164
+ }) }, content), target);
3983
4165
  };
3984
4166
 
3985
4167
  const SideBarLayout = ({ content }) => {
@@ -4746,7 +4928,7 @@ const LEADGEN_SHOW_HEADER = [
4746
4928
  ];
4747
4929
  // const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39', 'u0adw7hw8kw7t89']
4748
4930
  const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39'];
4749
- const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, onUnmount, showThankyou, campaignId, campaignCode, campaign_subot_id, locale, showEmpty, setShowEmpty, userInfo, }) => {
4931
+ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, onUnmount, showThankyou, campaignId, campaignCode, campaign_subot_id, locale, showEmpty, setShowEmpty, userInfo, action, }) => {
4750
4932
  var _a, _b;
4751
4933
  const { primaryColor } = useContext(LeadGenContext$1);
4752
4934
  const { isMobile } = useScreenSize();
@@ -5081,7 +5263,7 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
5081
5263
  return React__default.createElement(SideBarLayout, { content: PopupContainer });
5082
5264
  }
5083
5265
  else if (isInline) {
5084
- return (React__default.createElement(InlineLayout, { content: PopupContainer, inlinePosition: extraFields.popupInlinePosition }));
5266
+ return (React__default.createElement(InlineLayout, { action: action, content: PopupContainer, campaignCode: campaignCode, inlinePosition: extraFields.popupInlinePosition }));
5085
5267
  }
5086
5268
  return null;
5087
5269
  };
@@ -5179,19 +5361,20 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
5179
5361
  const { apiUrl, siteDomain } = useContext(LeadGenContext$1);
5180
5362
  useEffect(() => {
5181
5363
  const gaCookie = getCookie('_ga') || null;
5182
- fetch(`${apiUrl}api/campaign/${code}/impression`, {
5183
- method: 'POST',
5184
- headers: {
5185
- 'Content-Type': 'application/json',
5186
- },
5187
- body: JSON.stringify({
5188
- action,
5189
- url: location.href.toLowerCase(),
5190
- title_article: document.title,
5191
- cookie_id: getCookie('hhg-id'),
5192
- ga_client_id: gaCookie,
5193
- }),
5194
- });
5364
+ !currentLayout.includes('Inline') &&
5365
+ fetch(`${apiUrl}api/campaign/${code}/impression`, {
5366
+ method: 'POST',
5367
+ headers: {
5368
+ 'Content-Type': 'application/json',
5369
+ },
5370
+ body: JSON.stringify({
5371
+ action,
5372
+ url: location.href.toLowerCase(),
5373
+ title_article: document.title,
5374
+ cookie_id: getCookie('hhg-id'),
5375
+ ga_client_id: gaCookie,
5376
+ }),
5377
+ });
5195
5378
  }, []);
5196
5379
  const { extra_fields, image, image_desktop, code, image_background, image_overlay_mobile, image_overlay_desktop, } = campaign || {};
5197
5380
  const { currentLayout } = extra_fields;
@@ -5293,7 +5476,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
5293
5476
  currentLayout == 'Fullscreen' ||
5294
5477
  currentLayout == 'Sidebar' ||
5295
5478
  currentLayout == 'Slider') {
5296
- return (React__default.createElement(LightboxLayout, { popupId: popupIdRef.current, extraFields: extra_fields, onClose: onClose, onOtherSubmit: onOtherSubmit, onUnmount: onUnmount, imageMobile: image, imageDesktop: image_desktop, imageBackground: image_background, currentLayout: currentLayout, title: titleText, onSubmit: (params) => onSubmit(params, categoryLevel, categoryData), key: currentLayout, imageOverlayDesktop: image_overlay_desktop, imageOverlayMobile: image_overlay_mobile, showThankyou: showThankyou, campaignId: campaign.id, campaignCode: campaign.code, campaign_subot_id: campaign.bot_id || [], locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo }));
5479
+ return (React__default.createElement(LightboxLayout, { popupId: popupIdRef.current, extraFields: extra_fields, onClose: onClose, onOtherSubmit: onOtherSubmit, onUnmount: onUnmount, imageMobile: image, imageDesktop: image_desktop, imageBackground: image_background, currentLayout: currentLayout, title: titleText, onSubmit: (params) => onSubmit(params, categoryLevel, categoryData), key: currentLayout, imageOverlayDesktop: image_overlay_desktop, imageOverlayMobile: image_overlay_mobile, showThankyou: showThankyou, campaignId: campaign.id, campaignCode: campaign.code, campaign_subot_id: campaign.bot_id || [], locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo, action: action }));
5297
5480
  }
5298
5481
  else if (currentLayout.includes('Skin')) {
5299
5482
  return (React__default.createElement(SkinLayout, { popupId: popupIdRef.current, link: actionBlocks.linkButtonBlock.data.url, linkNewTab: !!actionBlocks.linkButtonBlock.data.newtab, linkText: actionBlocks.linkButtonBlock.data.value, onClose: onClose, onOtherSubmit: onOtherSubmit, imageMobile: image, imageDesktop: image_desktop, currentLayout: currentLayout }));
@@ -5684,8 +5867,6 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, primaryColor
5684
5867
  leadStartTimeRef.current = Date.now();
5685
5868
  }
5686
5869
  }, [showCampaign]);
5687
- if (!currentLayout.includes('Inline'))
5688
- return null;
5689
5870
  return (React__default.createElement(LeadGenContext$1.Provider, { value: {
5690
5871
  primaryColor,
5691
5872
  apiUrl,