@hhgtech/hhg-components 1.29.402 → 1.29.403-beta-1

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 (529) hide show
  1. package/build/{InputDate-67ffe3ac.js → InputDate-a5e7e2a2.js} +3 -3
  2. package/build/{LastPeriod-470b5a3a.js → LastPeriod-fe271391.js} +1 -1
  3. package/build/{Locale-c6661f1a.js → Locale-ef189ed8.js} +1 -1
  4. package/build/{MobileBottomNavigationIcon-2e8b07fc.js → MobileBottomNavigationIcon-00aa86ee.js} +3 -3
  5. package/build/{Spinner-fb8508c3.js → Spinner-56d2b03c.js} +1 -1
  6. package/build/{WhatsApp-0550652f.js → WhatsApp-5cb4feea.js} +1 -1
  7. package/build/adapters.js +19 -19
  8. package/build/atoms.js +48 -48
  9. package/build/babyGrowth.js +83 -83
  10. package/build/cache.js +2 -2
  11. package/build/care.js +17 -17
  12. package/build/careBookingSearchBar.js +14 -14
  13. package/build/careBookingSearchBarV2.js +15 -15
  14. package/build/components/molecules/impressionTrackingWrapper/index.d.ts +9 -0
  15. package/build/components/navigationV2/components/molecules/navigationBar/index.d.ts +3 -1
  16. package/build/components/navigationV2/index.d.ts +13 -1
  17. package/build/components/organisms/navigationProfileButton/index.d.ts +2 -1
  18. package/build/components.js +97 -97
  19. package/build/{constants-ab799375.js → constants-4ecd7a18.js} +1 -1
  20. package/build/{constants-1de7952c.js → constants-6d5141c6.js} +1 -1
  21. package/build/constants.js +3 -3
  22. package/build/constantsDomainLocales.js +3 -3
  23. package/build/constantsRiskScreener.js +2 -2
  24. package/build/constantsSite.js +2 -2
  25. package/build/{core-ef14789d.js → core-400b062b.js} +1 -1
  26. package/build/{dataTransform-25557600.js → dataTransform-ba8b5a5f.js} +1 -1
  27. package/build/ecom.js +4 -4
  28. package/build/{editor-30a816d5.js → editor-ff4c96be.js} +11 -11
  29. package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
  30. package/build/embeddedHeathToolCards_babyPoop.js +19 -19
  31. package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
  32. package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
  33. package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
  34. package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  35. package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  36. package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
  37. package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
  38. package/build/esm/{InputDate-93c5e459.js → InputDate-e74ebf81.js} +3 -3
  39. package/build/esm/{LastPeriod-b83426ec.js → LastPeriod-18bb986f.js} +1 -1
  40. package/build/esm/{Locale-d66f3a35.js → Locale-c1c68746.js} +1 -1
  41. package/build/esm/{MobileBottomNavigationIcon-9154c653.js → MobileBottomNavigationIcon-41483a6b.js} +3 -3
  42. package/build/esm/{Spinner-8d172e17.js → Spinner-f63e9863.js} +1 -1
  43. package/build/esm/{WhatsApp-6c807beb.js → WhatsApp-1acd5a49.js} +1 -1
  44. package/build/esm/adapters.js +19 -19
  45. package/build/esm/atoms.js +48 -48
  46. package/build/esm/babyGrowth.js +83 -83
  47. package/build/esm/cache.js +2 -2
  48. package/build/esm/care.js +17 -17
  49. package/build/esm/careBookingSearchBar.js +14 -14
  50. package/build/esm/careBookingSearchBarV2.js +15 -15
  51. package/build/esm/components/molecules/impressionTrackingWrapper/index.d.ts +9 -0
  52. package/build/esm/components/navigationV2/components/molecules/navigationBar/index.d.ts +3 -1
  53. package/build/esm/components/navigationV2/index.d.ts +13 -1
  54. package/build/esm/components/organisms/navigationProfileButton/index.d.ts +2 -1
  55. package/build/esm/components.js +97 -97
  56. package/build/esm/{constants-44a758f4.js → constants-c5026d2e.js} +1 -1
  57. package/build/esm/{constants-1ce79c4b.js → constants-c6734801.js} +1 -1
  58. package/build/esm/constants.js +3 -3
  59. package/build/esm/constantsDomainLocales.js +3 -3
  60. package/build/esm/constantsRiskScreener.js +2 -2
  61. package/build/esm/constantsSite.js +2 -2
  62. package/build/esm/{core-bb5eeda6.js → core-b95641f3.js} +1 -1
  63. package/build/esm/{dataTransform-a0af498d.js → dataTransform-45b0db14.js} +1 -1
  64. package/build/esm/ecom.js +4 -4
  65. package/build/esm/{editor-296581b7.js → editor-8f4905ab.js} +11 -11
  66. package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
  67. package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
  68. package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
  69. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
  70. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
  71. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  72. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  73. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
  74. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
  75. package/build/esm/footer.js +21 -21
  76. package/build/esm/gAssets.js +2 -2
  77. package/build/esm/{healthTools-e6af67e9.js → healthTools-33bbbe2c.js} +1 -1
  78. package/build/esm/healthToolsCardWrapper.js +18 -18
  79. package/build/esm/healthToolsForm.js +33 -33
  80. package/build/esm/hooks.js +13 -13
  81. package/build/esm/i18n/translationKeys.d.ts +1 -1
  82. package/build/esm/i18n-values/en-PH.js +7 -0
  83. package/build/esm/i18n-values/hi-IN.js +7 -0
  84. package/build/esm/i18n-values/id-ID.js +7 -0
  85. package/build/esm/i18n-values/km-KH.js +7 -0
  86. package/build/esm/i18n-values/ms-MY.js +7 -0
  87. package/build/esm/i18n-values/my-MM.js +7 -0
  88. package/build/esm/i18n-values/th-TH.js +7 -0
  89. package/build/esm/i18n-values/tl-PH.js +7 -0
  90. package/build/esm/i18n-values/vi-VN.js +7 -0
  91. package/build/esm/i18n-values/vi-VN_MB.js +7 -0
  92. package/build/esm/i18n-values/{zh-CN.js → zh-SG.js} +9 -2
  93. package/build/esm/i18n-values/zh-TW.js +7 -0
  94. package/build/esm/i18n.js +3 -2
  95. package/build/esm/i18nV2.js +2 -2
  96. package/build/esm/{index-0d2bab3b.js → index-017af8bf.js} +2 -2
  97. package/build/esm/{index-3ad5fa37.js → index-01b39292.js} +18 -18
  98. package/build/esm/{index-8490f612.js → index-061bce8d.js} +2 -2
  99. package/build/esm/{index-a670cbef.js → index-0e09521c.js} +6 -6
  100. package/build/esm/{index-fc644071.js → index-0e4eff19.js} +1 -1
  101. package/build/esm/{index-e8904085.js → index-11de8451.js} +3 -3
  102. package/build/esm/{index-878de0b3.js → index-13636d2f.js} +1 -1
  103. package/build/esm/{index-10a82486.js → index-1a031c4a.js} +21 -21
  104. package/build/esm/{index-44e575be.js → index-1c53f76b.js} +2 -2
  105. package/build/esm/{index-0e04697d.js → index-2217443c.js} +17 -17
  106. package/build/esm/{index-c26fffb5.js → index-2313b357.js} +13 -13
  107. package/build/esm/{index-06f14c1f.js → index-287d8002.js} +2 -2
  108. package/build/esm/{index-8c9bac8b.js → index-2acfb78d.js} +1 -1
  109. package/build/esm/{index-70a1642d.js → index-346891cf.js} +11 -11
  110. package/build/esm/{index-3b5ccfc0.js → index-3d9687c6.js} +1 -1
  111. package/build/esm/{index-a8aef664.js → index-3f4c3ee5.js} +2 -2
  112. package/build/esm/{index-ebabe771.js → index-419befea.js} +4 -4
  113. package/build/esm/{index-1f43c861.js → index-43ab1640.js} +5 -5
  114. package/build/esm/{index-50a6a5d1.js → index-466d8840.js} +1 -1
  115. package/build/esm/{index-f87618fa.js → index-47ab928b.js} +1 -1
  116. package/build/esm/{index-c96858e6.js → index-4b582d28.js} +2 -2
  117. package/build/esm/{index-8f1bdb43.js → index-4bdcbb97.js} +3 -3
  118. package/build/esm/{index-ee2df990.js → index-50234079.js} +5 -5
  119. package/build/esm/{index-5dc9c599.js → index-54fdca7b.js} +5 -5
  120. package/build/esm/{index-7b2adace.js → index-55ef56bf.js} +6 -6
  121. package/build/esm/{index-703b551a.js → index-5b474751.js} +2 -2
  122. package/build/esm/{index-be4cf09d.js → index-5c8012d0.js} +1 -1
  123. package/build/esm/{index-e9dc7648.js → index-603189f5.js} +18 -18
  124. package/build/esm/{index-a7c5c23f.js → index-61b250a9.js} +6 -6
  125. package/build/esm/{index-ae3f7020.js → index-63e75525.js} +25 -25
  126. package/build/esm/{index-03267752.js → index-6d161df1.js} +16 -16
  127. package/build/esm/{index-b276a790.js → index-6f9f3d81.js} +2 -2
  128. package/build/esm/{index-9e8f52d7.js → index-71130616.js} +13 -13
  129. package/build/esm/{index-7e63be44.js → index-713f462b.js} +13 -13
  130. package/build/esm/{index-3e0d83fd.js → index-79541a49.js} +2 -2
  131. package/build/esm/{index-90bd827d.js → index-7fe7c87f.js} +3 -3
  132. package/build/esm/{index-66848657.js → index-85f98734.js} +15 -15
  133. package/build/esm/{index-1c9e9b74.js → index-894b7cbf.js} +7 -7
  134. package/build/esm/{index-9d55c9d9.js → index-8cfa1f17.js} +48 -142
  135. package/build/esm/{index-a18a92c9.js → index-a68f573f.js} +4 -4
  136. package/build/esm/{index-282d718f.js → index-ab4d3598.js} +2 -2
  137. package/build/esm/{index-f21074eb.js → index-ab9e7f56.js} +17 -17
  138. package/build/esm/{index-0cad27be.js → index-adfbec9b.js} +1 -1
  139. package/build/esm/{index-092d00a3.js → index-b014e4be.js} +6 -6
  140. package/build/esm/{index-22c8bd62.js → index-b9b4cc00.js} +1 -1
  141. package/build/esm/{index-f8d01876.js → index-bb3f7850.js} +16 -16
  142. package/build/esm/{index-21f64a4d.js → index-bb7a255a.js} +22 -22
  143. package/build/esm/{index-25bf0d9d.js → index-bc02b583.js} +2 -2
  144. package/build/esm/{index-dc25a628.js → index-be0940a6.js} +17 -17
  145. package/build/esm/{index-571f47ff.js → index-c0e9a34e.js} +24 -24
  146. package/build/esm/{index-b4498fcc.js → index-c1218451.js} +3 -3
  147. package/build/esm/{index-b3d8b128.js → index-c641759d.js} +18 -18
  148. package/build/esm/{index-db00fff1.js → index-c85742b6.js} +31 -31
  149. package/build/esm/{index-193d45aa.js → index-ca2ff818.js} +114 -14
  150. package/build/esm/{index-0f74b8cb.js → index-d410ae13.js} +3 -3
  151. package/build/esm/{index-e0337e4f.js → index-d575a13e.js} +13 -13
  152. package/build/esm/{index-872110dc.js → index-d57b2214.js} +32 -32
  153. package/build/esm/{index-6635520d.js → index-d5ac4c46.js} +6 -6
  154. package/build/esm/{index-baddb2b4.js → index-df18fa57.js} +16 -16
  155. package/build/esm/{index-43f8236b.js → index-f0440113.js} +16 -16
  156. package/build/esm/{index-d0a137c8.js → index-f8fa6c34.js} +2 -2
  157. package/build/esm/{index-8aac2805.js → index-fa78e065.js} +2 -2
  158. package/build/esm/{index-0bd9d2a5.js → index-fd8b3acc.js} +7 -7
  159. package/build/esm/{index-f151c217.js → index-ff3db97a.js} +3 -3
  160. package/build/esm/{index-f16e6912.js → index-ff55d41d.js} +10 -10
  161. package/build/esm/index.js +118 -118
  162. package/build/esm/interfaces/constants/domainLocales.d.ts +2 -2
  163. package/build/esm/interfaces/types/Locale.d.ts +1 -1
  164. package/build/esm/interfaces/types/index.d.ts +1 -1
  165. package/build/esm/{labelSorting-e5d4543c.js → labelSorting-3bd7644d.js} +4 -4
  166. package/build/esm/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +15 -9
  167. package/build/esm/lead/layouts/inline.d.ts +5 -3
  168. package/build/esm/lead/layouts/lightbox/index.d.ts +2 -1
  169. package/build/esm/lead/services/index.d.ts +14 -0
  170. package/build/esm/lead.js +308 -128
  171. package/build/esm/{logoIcon-028913dd.js → logoIcon-dbd8a678.js} +2 -2
  172. package/build/esm/mantine.js +25 -25
  173. package/build/esm/misc.js +17 -17
  174. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  175. package/build/esm/miscGetSocialList.js +8 -8
  176. package/build/esm/miscScreenSizeContext.js +1 -1
  177. package/build/esm/mobileBottomNavigation.js +5 -5
  178. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  179. package/build/esm/molecules.js +74 -74
  180. package/build/esm/moleculesArticleCard.js +6 -6
  181. package/build/esm/moleculesArticleCardV2.js +16 -16
  182. package/build/esm/navigation.js +46 -46
  183. package/build/esm/navigationLogoutPopup.js +9 -9
  184. package/build/esm/navigationProfileButton.js +30 -23
  185. package/build/esm/onboardingV2.js +29 -29
  186. package/build/esm/organisms.js +50 -50
  187. package/build/esm/{post-e9fe15f8.js → post-ab86c20d.js} +2 -2
  188. package/build/esm/profileNavigation.js +19 -19
  189. package/build/esm/progressBar.js +1 -1
  190. package/build/esm/pwg.js +22 -22
  191. package/build/esm/ssoV2/api/featureFlag.d.ts +2 -1
  192. package/build/esm/ssoV2.js +52 -40
  193. package/build/esm/{store-2e2ab65a.js → store-85e47e5c.js} +3 -3
  194. package/build/esm/subot.js +36 -36
  195. package/build/esm/surveyOrPremiumBanner.js +33 -33
  196. package/build/esm/surveyQuestionCard.js +10 -10
  197. package/build/esm/{surveyThankyouCard-bb45e1bd.js → surveyThankyouCard-e3861d92.js} +5 -5
  198. package/build/esm/together.js +56 -56
  199. package/build/esm/togetherApiUtils.js +4 -4
  200. package/build/esm/togetherAtoms.js +30 -30
  201. package/build/esm/togetherComponentGlobalContext.js +4 -4
  202. package/build/esm/togetherMolecules.js +51 -51
  203. package/build/esm/togetherMoleculesCardAuthor.js +28 -28
  204. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  205. package/build/esm/togetherMoleculesProfileDetail.js +39 -39
  206. package/build/esm/togetherOrganisms.js +50 -50
  207. package/build/esm/togetherRichTextEditor.js +17 -17
  208. package/build/esm/togetherShareBox.js +10 -10
  209. package/build/esm/{translationsProvider-50360420.js → translationsProvider-009f77af.js} +3 -2
  210. package/build/esm/{treePopoverMenu-687d32a0.js → treePopoverMenu-2b7c8339.js} +19 -19
  211. package/build/esm/{types-c1130ac4.js → types-5c986edb.js} +2 -2
  212. package/build/esm/types.js +2 -2
  213. package/build/esm/{useCategory-4bf8de5d.js → useCategory-f6616052.js} +7 -7
  214. package/build/esm/{useHealthToolCache-2ba765ea.js → useHealthToolCache-62bd180f.js} +1 -1
  215. package/build/esm/{useMantineLocale-3cf49008.js → useMantineLocale-63358ae8.js} +8 -8
  216. package/build/esm/{usePlacesAutocomplete-ed12ac6b.js → usePlacesAutocomplete-b3481da8.js} +1 -1
  217. package/build/esm/{useScreenSize-a92a9419.js → useScreenSize-82a267dc.js} +2 -2
  218. package/build/esm/useTogetherAuthRequiredAction.js +10 -10
  219. package/build/esm/{utils-4efed82e.js → utils-1679190d.js} +2 -2
  220. package/build/esm/{utils-803e26a6.js → utils-3bba9334.js} +5 -5
  221. package/build/esm/{utils-c779dd3d.js → utils-8c70b95b.js} +2 -2
  222. package/build/esm/{utils-7d0b551e.js → utils-a917d74a.js} +3 -3
  223. package/build/esm/vaccination.js +21 -21
  224. package/build/footer.js +21 -21
  225. package/build/gAssets.js +2 -2
  226. package/build/{healthTools-e74db509.js → healthTools-0837b731.js} +1 -1
  227. package/build/healthToolsCardWrapper.js +18 -18
  228. package/build/healthToolsForm.js +33 -33
  229. package/build/hooks.js +13 -13
  230. package/build/i18n/translationKeys.d.ts +1 -1
  231. package/build/i18n-values/en-PH.js +7 -0
  232. package/build/i18n-values/hi-IN.js +7 -0
  233. package/build/i18n-values/id-ID.js +7 -0
  234. package/build/i18n-values/km-KH.js +7 -0
  235. package/build/i18n-values/ms-MY.js +7 -0
  236. package/build/i18n-values/my-MM.js +7 -0
  237. package/build/i18n-values/th-TH.js +7 -0
  238. package/build/i18n-values/tl-PH.js +7 -0
  239. package/build/i18n-values/vi-VN.js +7 -0
  240. package/build/i18n-values/vi-VN_MB.js +7 -0
  241. package/build/i18n-values/{zh-CN.js → zh-SG.js} +9 -2
  242. package/build/i18n-values/zh-TW.js +7 -0
  243. package/build/i18n.js +3 -2
  244. package/build/i18nV2.js +1 -1
  245. package/build/{index-d9d0233e.js → index-06c76944.js} +1 -1
  246. package/build/{index-c1f9826a.js → index-072e764b.js} +6 -6
  247. package/build/{index-2dcee304.js → index-07600719.js} +1 -1
  248. package/build/{index-bcb8a9f1.js → index-11f6ca91.js} +2 -2
  249. package/build/{index-050a270b.js → index-134130f7.js} +7 -7
  250. package/build/{index-b090eec3.js → index-1c5b2c3a.js} +2 -2
  251. package/build/{index-a2ac5bb2.js → index-1c798797.js} +16 -16
  252. package/build/{index-40e5c4aa.js → index-1ced4a14.js} +13 -13
  253. package/build/{index-71b569d9.js → index-1cedce27.js} +11 -11
  254. package/build/{index-d5adf67a.js → index-2114df3d.js} +2 -2
  255. package/build/{index-59c774a0.js → index-215e410a.js} +17 -17
  256. package/build/{index-dab28688.js → index-21c61ea4.js} +32 -32
  257. package/build/{index-e5314b10.js → index-2268c95f.js} +7 -7
  258. package/build/{index-2cee03ab.js → index-22c05761.js} +4 -4
  259. package/build/{index-ca77c680.js → index-286628aa.js} +1 -1
  260. package/build/{index-2c87c546.js → index-2d3b1b1f.js} +6 -6
  261. package/build/{index-3768e39f.js → index-2eeb4085.js} +1 -1
  262. package/build/{index-bd2f99d3.js → index-2f47c130.js} +2 -2
  263. package/build/{index-1f234442.js → index-2f85f81e.js} +2 -2
  264. package/build/{index-7a410af2.js → index-33aa939f.js} +2 -2
  265. package/build/{index-f0a0331f.js → index-3e820833.js} +3 -3
  266. package/build/{index-2aff761c.js → index-43801289.js} +6 -6
  267. package/build/{index-902998c7.js → index-49c51a50.js} +3 -3
  268. package/build/{index-5dd64df6.js → index-4ed699d3.js} +3 -3
  269. package/build/{index-75f70f79.js → index-55735b95.js} +13 -13
  270. package/build/{index-c41a2a48.js → index-5d0997a8.js} +2 -2
  271. package/build/{index-cb9f7cd1.js → index-64cda1d8.js} +16 -16
  272. package/build/{index-50c1bfbc.js → index-673b7e6c.js} +2 -2
  273. package/build/{index-e1eb1ae6.js → index-74b2f4e0.js} +18 -18
  274. package/build/{index-b81c269b.js → index-7bc970f9.js} +123 -20
  275. package/build/{index-689f4355.js → index-7e4ae0ee.js} +5 -5
  276. package/build/{index-8ec9f980.js → index-815629c3.js} +10 -10
  277. package/build/{index-6a1e186d.js → index-8d0b7180.js} +13 -13
  278. package/build/{index-47cfb19b.js → index-8fe240d2.js} +3 -3
  279. package/build/{index-c0b2ea34.js → index-9126ab41.js} +24 -24
  280. package/build/{index-746596a0.js → index-93f8b02b.js} +25 -25
  281. package/build/{index-8874551c.js → index-981f52d6.js} +143 -237
  282. package/build/{index-2ce4f4eb.js → index-a0da8432.js} +17 -17
  283. package/build/{index-6ade5916.js → index-a137c0ae.js} +1 -1
  284. package/build/{index-fe93dd8b.js → index-a23dadb0.js} +3 -3
  285. package/build/{index-ce149746.js → index-a539835a.js} +5 -5
  286. package/build/{index-3b0a2479.js → index-a53b3cc6.js} +16 -16
  287. package/build/{index-31b49abb.js → index-a726fd97.js} +2 -2
  288. package/build/{index-e32d8ee8.js → index-a9de2138.js} +6 -6
  289. package/build/{index-3406e829.js → index-adb06d0f.js} +1 -1
  290. package/build/{index-ba9bce1f.js → index-b69f9cf4.js} +3 -3
  291. package/build/{index-2076e957.js → index-b6a1f0aa.js} +13 -13
  292. package/build/{index-adb6c6d5.js → index-bb9b5863.js} +17 -17
  293. package/build/{index-79cf629b.js → index-bfa58a9e.js} +5 -5
  294. package/build/{index-5f6c750b.js → index-c05129ed.js} +2 -2
  295. package/build/{index-3d7e1dd3.js → index-c1ed95ee.js} +2 -2
  296. package/build/{index-24338ab8.js → index-c214f0bc.js} +1 -1
  297. package/build/{index-52f518fc.js → index-c698a26f.js} +18 -18
  298. package/build/{index-7b7d474a.js → index-ce2d5162.js} +16 -16
  299. package/build/{index-744a87f3.js → index-cf49fbe3.js} +22 -22
  300. package/build/{index-063f89e4.js → index-d1c20238.js} +31 -31
  301. package/build/{index-ebd567fe.js → index-d53ed0e1.js} +18 -18
  302. package/build/{index-f33829fe.js → index-d85a6f3e.js} +15 -15
  303. package/build/{index-a3c7205b.js → index-df96e37f.js} +21 -21
  304. package/build/{index-4534946a.js → index-e2c7980c.js} +1 -1
  305. package/build/{index-e6f5b01d.js → index-ed2fddc6.js} +6 -6
  306. package/build/{index-881c47f5.js → index-f25244d3.js} +2 -2
  307. package/build/{index-4f4ba0a8.js → index-f263cfb6.js} +1 -1
  308. package/build/{index-20f5cfe4.js → index-f9b543eb.js} +2 -2
  309. package/build/{index-4691b825.js → index-fd45212e.js} +4 -4
  310. package/build/index.js +118 -118
  311. package/build/interfaces/constants/domainLocales.d.ts +2 -2
  312. package/build/interfaces/types/Locale.d.ts +1 -1
  313. package/build/interfaces/types/index.d.ts +1 -1
  314. package/build/{labelSorting-7107d76b.js → labelSorting-2cd75e71.js} +4 -4
  315. package/build/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +15 -9
  316. package/build/lead/layouts/inline.d.ts +5 -3
  317. package/build/lead/layouts/lightbox/index.d.ts +2 -1
  318. package/build/lead/services/index.d.ts +14 -0
  319. package/build/lead.js +307 -127
  320. package/build/{logoIcon-05e7d336.js → logoIcon-0d9ca763.js} +2 -2
  321. package/build/mantine.js +22 -22
  322. package/build/misc.js +17 -17
  323. package/build/miscGetDynamicHealthTool.js +4 -4
  324. package/build/miscGetSocialList.js +8 -8
  325. package/build/miscScreenSizeContext.js +1 -1
  326. package/build/mobileBottomNavigation.js +5 -5
  327. package/build/mobileBottomNavigationIcon.js +5 -5
  328. package/build/molecules.js +74 -74
  329. package/build/moleculesArticleCard.js +6 -6
  330. package/build/moleculesArticleCardV2.js +16 -16
  331. package/build/navigation.js +46 -46
  332. package/build/navigationLogoutPopup.js +9 -9
  333. package/build/navigationProfileButton.js +30 -23
  334. package/build/onboardingV2.js +28 -28
  335. package/build/organisms.js +50 -50
  336. package/build/{post-1067b79d.js → post-6390f69c.js} +2 -2
  337. package/build/profileNavigation.js +19 -19
  338. package/build/progressBar.js +1 -1
  339. package/build/pwg.js +22 -22
  340. package/build/ssoV2/api/featureFlag.d.ts +2 -1
  341. package/build/ssoV2.js +50 -38
  342. package/build/{store-1f54641f.js → store-43a9c52b.js} +3 -3
  343. package/build/subot.js +35 -35
  344. package/build/surveyOrPremiumBanner.js +33 -33
  345. package/build/surveyQuestionCard.js +10 -10
  346. package/build/{surveyThankyouCard-c7976c91.js → surveyThankyouCard-08844088.js} +5 -5
  347. package/build/together.js +56 -56
  348. package/build/togetherApiUtils.js +4 -4
  349. package/build/togetherAtoms.js +30 -30
  350. package/build/togetherComponentGlobalContext.js +4 -4
  351. package/build/togetherMolecules.js +51 -51
  352. package/build/togetherMoleculesCardAuthor.js +28 -28
  353. package/build/togetherMoleculesPostImagePreview.js +11 -11
  354. package/build/togetherMoleculesProfileDetail.js +39 -39
  355. package/build/togetherOrganisms.js +50 -50
  356. package/build/togetherRichTextEditor.js +17 -17
  357. package/build/togetherShareBox.js +10 -10
  358. package/build/{translationsProvider-f5eb62fb.js → translationsProvider-e02dab82.js} +3 -2
  359. package/build/{treePopoverMenu-81dcc2fb.js → treePopoverMenu-d0866ea1.js} +19 -19
  360. package/build/{types-5b1915d0.js → types-33da7b11.js} +2 -2
  361. package/build/types.js +2 -2
  362. package/build/{useCategory-dbc7493b.js → useCategory-85326b94.js} +7 -7
  363. package/build/{useHealthToolCache-d04dee20.js → useHealthToolCache-58ca5955.js} +1 -1
  364. package/build/{useMantineLocale-99977b2c.js → useMantineLocale-900a5f15.js} +8 -8
  365. package/build/{usePlacesAutocomplete-a724c682.js → usePlacesAutocomplete-9851e33e.js} +1 -1
  366. package/build/{useScreenSize-024eee79.js → useScreenSize-67ba0401.js} +2 -2
  367. package/build/useTogetherAuthRequiredAction.js +10 -10
  368. package/build/{utils-24309a20.js → utils-0ae9d6be.js} +2 -2
  369. package/build/{utils-2ad45ccf.js → utils-37500956.js} +3 -3
  370. package/build/{utils-034228be.js → utils-5ebef175.js} +5 -5
  371. package/build/{utils-81f4dc9f.js → utils-ccb5622c.js} +2 -2
  372. package/build/vaccination.js +21 -21
  373. package/package.json +1 -1
  374. /package/build/{BMI_BOYS.percentile.monthly-0f0e8950.js → BMI_BOYS.percentile.monthly-d52e7c21.js} +0 -0
  375. /package/build/{BMI_BOYS.percentile.weekly-6ca5cfd8.js → BMI_BOYS.percentile.weekly-475898aa.js} +0 -0
  376. /package/build/{BMI_BOYS.percentile.yearly-d5dd265f.js → BMI_BOYS.percentile.yearly-baa93cae.js} +0 -0
  377. /package/build/{BMI_BOYS.zscore.monthly-af6471a6.js → BMI_BOYS.zscore.monthly-99524d7c.js} +0 -0
  378. /package/build/{BMI_BOYS.zscore.weekly-bd53fb96.js → BMI_BOYS.zscore.weekly-93482c03.js} +0 -0
  379. /package/build/{BMI_BOYS.zscore.yearly-6a8635e8.js → BMI_BOYS.zscore.yearly-c9196544.js} +0 -0
  380. /package/build/{BMI_GIRLS.percentile.monthly-b28425d2.js → BMI_GIRLS.percentile.monthly-141b420d.js} +0 -0
  381. /package/build/{BMI_GIRLS.percentile.weekly-36193f76.js → BMI_GIRLS.percentile.weekly-dc4835d3.js} +0 -0
  382. /package/build/{BMI_GIRLS.percentile.yearly-c37c6bb6.js → BMI_GIRLS.percentile.yearly-90202944.js} +0 -0
  383. /package/build/{BMI_GIRLS.zscore.monthly-e785f7fb.js → BMI_GIRLS.zscore.monthly-fb06b0a7.js} +0 -0
  384. /package/build/{BMI_GIRLS.zscore.weekly-988b1c9a.js → BMI_GIRLS.zscore.weekly-d15138d7.js} +0 -0
  385. /package/build/{BMI_GIRLS.zscore.yearly-04c202f8.js → BMI_GIRLS.zscore.yearly-0f8b9718.js} +0 -0
  386. /package/build/{ChevronDown-3676e93a.js → ChevronDown-5d95f3c8.js} +0 -0
  387. /package/build/{Close-43ee1c1b.js → Close-daf22856.js} +0 -0
  388. /package/build/{Google-d182206e.js → Google-a26f4eed.js} +0 -0
  389. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-03b27715.js → HEAD CIRCUM_BOYS.percentile.monthly-5437bd0c.js} +0 -0
  390. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-196467fc.js → HEAD CIRCUM_BOYS.percentile.weekly-a020ba30.js} +0 -0
  391. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-eaf66dde.js → HEAD CIRCUM_BOYS.percentile.yearly-d7bb90dd.js} +0 -0
  392. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-5ddad122.js → HEAD CIRCUM_BOYS.zscore.monthly-75421145.js} +0 -0
  393. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d86fb0f8.js → HEAD CIRCUM_BOYS.zscore.weekly-5751d48d.js} +0 -0
  394. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-b6b3f27f.js → HEAD CIRCUM_BOYS.zscore.yearly-030144db.js} +0 -0
  395. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-2c4f561e.js → HEAD CIRCUM_GIRLS.percentile.monthly-e44d0557.js} +0 -0
  396. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-dd2ff4f7.js → HEAD CIRCUM_GIRLS.percentile.weekly-94257bb6.js} +0 -0
  397. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-1bd44bba.js → HEAD CIRCUM_GIRLS.percentile.yearly-9d207cc6.js} +0 -0
  398. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-4bda5db5.js → HEAD CIRCUM_GIRLS.zscore.monthly-9ea99455.js} +0 -0
  399. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-d22c28c4.js → HEAD CIRCUM_GIRLS.zscore.weekly-e2f9df38.js} +0 -0
  400. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-150114e8.js → HEAD CIRCUM_GIRLS.zscore.yearly-f737c6b6.js} +0 -0
  401. /package/build/{HEIGHT_BOYS.percentile.monthly-5b9bfc7d.js → HEIGHT_BOYS.percentile.monthly-c84a9ad9.js} +0 -0
  402. /package/build/{HEIGHT_BOYS.percentile.weekly-93d468ba.js → HEIGHT_BOYS.percentile.weekly-f1e5280b.js} +0 -0
  403. /package/build/{HEIGHT_BOYS.percentile.yearly-b1a7ed6f.js → HEIGHT_BOYS.percentile.yearly-fcdcc591.js} +0 -0
  404. /package/build/{HEIGHT_BOYS.zscore.monthly-8e05042a.js → HEIGHT_BOYS.zscore.monthly-519155ed.js} +0 -0
  405. /package/build/{HEIGHT_BOYS.zscore.weekly-5996389e.js → HEIGHT_BOYS.zscore.weekly-e63dadd4.js} +0 -0
  406. /package/build/{HEIGHT_BOYS.zscore.yearly-974dbf12.js → HEIGHT_BOYS.zscore.yearly-f41801f7.js} +0 -0
  407. /package/build/{HEIGHT_GIRLS.percentile.monthly-9ce96b3c.js → HEIGHT_GIRLS.percentile.monthly-36f00b2e.js} +0 -0
  408. /package/build/{HEIGHT_GIRLS.percentile.weekly-057f240f.js → HEIGHT_GIRLS.percentile.weekly-74df46ff.js} +0 -0
  409. /package/build/{HEIGHT_GIRLS.percentile.yearly-b1a82027.js → HEIGHT_GIRLS.percentile.yearly-e2b8d921.js} +0 -0
  410. /package/build/{HEIGHT_GIRLS.zscore.monthly-c258b871.js → HEIGHT_GIRLS.zscore.monthly-d5213f0a.js} +0 -0
  411. /package/build/{HEIGHT_GIRLS.zscore.weekly-e7c9b122.js → HEIGHT_GIRLS.zscore.weekly-bbe98469.js} +0 -0
  412. /package/build/{HEIGHT_GIRLS.zscore.yearly-54e927c1.js → HEIGHT_GIRLS.zscore.yearly-c6b7ee92.js} +0 -0
  413. /package/build/{Visible-95461448.js → Visible-2c519867.js} +0 -0
  414. /package/build/{WEIGHT_BOYS.percentile.monthly-b92e599b.js → WEIGHT_BOYS.percentile.monthly-815c2eea.js} +0 -0
  415. /package/build/{WEIGHT_BOYS.percentile.weekly-9483202e.js → WEIGHT_BOYS.percentile.weekly-8174f0dd.js} +0 -0
  416. /package/build/{WEIGHT_BOYS.percentile.yearly-e12a495f.js → WEIGHT_BOYS.percentile.yearly-bf9c2237.js} +0 -0
  417. /package/build/{WEIGHT_BOYS.zscore.monthly-07d3e811.js → WEIGHT_BOYS.zscore.monthly-278ca467.js} +0 -0
  418. /package/build/{WEIGHT_BOYS.zscore.weekly-9c41e1c2.js → WEIGHT_BOYS.zscore.weekly-5519637e.js} +0 -0
  419. /package/build/{WEIGHT_BOYS.zscore.yearly-b5a6b07e.js → WEIGHT_BOYS.zscore.yearly-4b823fe6.js} +0 -0
  420. /package/build/{WEIGHT_GIRLS.percentile.monthly-a625e91d.js → WEIGHT_GIRLS.percentile.monthly-30cab130.js} +0 -0
  421. /package/build/{WEIGHT_GIRLS.percentile.weekly-50d3d18c.js → WEIGHT_GIRLS.percentile.weekly-93fa1dcd.js} +0 -0
  422. /package/build/{WEIGHT_GIRLS.percentile.yearly-3dbcab37.js → WEIGHT_GIRLS.percentile.yearly-f9bb70cb.js} +0 -0
  423. /package/build/{WEIGHT_GIRLS.zscore.monthly-052de283.js → WEIGHT_GIRLS.zscore.monthly-a34bc77b.js} +0 -0
  424. /package/build/{WEIGHT_GIRLS.zscore.weekly-0304ddc7.js → WEIGHT_GIRLS.zscore.weekly-dfc18d73.js} +0 -0
  425. /package/build/{WEIGHT_GIRLS.zscore.yearly-8a4af2fc.js → WEIGHT_GIRLS.zscore.yearly-f3f4ae6f.js} +0 -0
  426. /package/build/{animation-4181334d.js → animation-8a6256ef.js} +0 -0
  427. /package/build/{constants-fde8e1b6.js → constants-b9863f51.js} +0 -0
  428. /package/build/{constants-67f1c1a7.js → constants-be98c567.js} +0 -0
  429. /package/build/{dataTransform-463ec7c6.js → dataTransform-3510ec18.js} +0 -0
  430. /package/build/esm/{BMI_BOYS.percentile.monthly-0f987438.js → BMI_BOYS.percentile.monthly-ddf4b769.js} +0 -0
  431. /package/build/esm/{BMI_BOYS.percentile.weekly-94619144.js → BMI_BOYS.percentile.weekly-fd78e151.js} +0 -0
  432. /package/build/esm/{BMI_BOYS.percentile.yearly-a3e6a596.js → BMI_BOYS.percentile.yearly-01ff7c34.js} +0 -0
  433. /package/build/esm/{BMI_BOYS.zscore.monthly-5a4de73f.js → BMI_BOYS.zscore.monthly-dd89fd90.js} +0 -0
  434. /package/build/esm/{BMI_BOYS.zscore.weekly-e0ccc680.js → BMI_BOYS.zscore.weekly-5313d526.js} +0 -0
  435. /package/build/esm/{BMI_BOYS.zscore.yearly-6259d48b.js → BMI_BOYS.zscore.yearly-2f994f16.js} +0 -0
  436. /package/build/esm/{BMI_GIRLS.percentile.monthly-c8a2f7b0.js → BMI_GIRLS.percentile.monthly-ae38f9bc.js} +0 -0
  437. /package/build/esm/{BMI_GIRLS.percentile.weekly-84020e17.js → BMI_GIRLS.percentile.weekly-07d09a20.js} +0 -0
  438. /package/build/esm/{BMI_GIRLS.percentile.yearly-b26bc2da.js → BMI_GIRLS.percentile.yearly-19a86264.js} +0 -0
  439. /package/build/esm/{BMI_GIRLS.zscore.monthly-1cca48d8.js → BMI_GIRLS.zscore.monthly-140c8068.js} +0 -0
  440. /package/build/esm/{BMI_GIRLS.zscore.weekly-2f948ef8.js → BMI_GIRLS.zscore.weekly-6e1c8f00.js} +0 -0
  441. /package/build/esm/{BMI_GIRLS.zscore.yearly-6951eb0c.js → BMI_GIRLS.zscore.yearly-66511b2a.js} +0 -0
  442. /package/build/esm/{ChevronDown-3ac1406c.js → ChevronDown-4a976df4.js} +0 -0
  443. /package/build/esm/{Close-17ff85ca.js → Close-ed01010d.js} +0 -0
  444. /package/build/esm/{Google-69447578.js → Google-e60b5ef7.js} +0 -0
  445. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-10c43e03.js → HEAD CIRCUM_BOYS.percentile.monthly-fd4e38bd.js} +0 -0
  446. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-6d265c6c.js → HEAD CIRCUM_BOYS.percentile.weekly-4c23857b.js} +0 -0
  447. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-651b7863.js → HEAD CIRCUM_BOYS.percentile.yearly-465a33e1.js} +0 -0
  448. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-24aebf5f.js → HEAD CIRCUM_BOYS.zscore.monthly-782e93d8.js} +0 -0
  449. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-85003772.js → HEAD CIRCUM_BOYS.zscore.weekly-65c18f33.js} +0 -0
  450. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5d799bf4.js → HEAD CIRCUM_BOYS.zscore.yearly-be98d174.js} +0 -0
  451. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-171262e7.js → HEAD CIRCUM_GIRLS.percentile.monthly-daca9a3f.js} +0 -0
  452. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-7b2f08bb.js → HEAD CIRCUM_GIRLS.percentile.weekly-1b432c75.js} +0 -0
  453. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-02ca680f.js → HEAD CIRCUM_GIRLS.percentile.yearly-f94af9d5.js} +0 -0
  454. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-78ba93e4.js → HEAD CIRCUM_GIRLS.zscore.monthly-bdf85c1d.js} +0 -0
  455. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-1b3d2e84.js → HEAD CIRCUM_GIRLS.zscore.weekly-329ac0af.js} +0 -0
  456. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-193adc49.js → HEAD CIRCUM_GIRLS.zscore.yearly-1104bb57.js} +0 -0
  457. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c64753ce.js → HEIGHT_BOYS.percentile.monthly-615c84c4.js} +0 -0
  458. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-6c28fe0a.js → HEIGHT_BOYS.percentile.weekly-81de7841.js} +0 -0
  459. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-eefdb67a.js → HEIGHT_BOYS.percentile.yearly-011ec02d.js} +0 -0
  460. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-dda9d0d0.js → HEIGHT_BOYS.zscore.monthly-5e0b5e95.js} +0 -0
  461. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-7f2ba8b0.js → HEIGHT_BOYS.zscore.weekly-74eef358.js} +0 -0
  462. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-0ffa8881.js → HEIGHT_BOYS.zscore.yearly-a93832ba.js} +0 -0
  463. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e8291e32.js → HEIGHT_GIRLS.percentile.monthly-6fccbd4c.js} +0 -0
  464. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-9fbf10d2.js → HEIGHT_GIRLS.percentile.weekly-6f25fe30.js} +0 -0
  465. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-82649515.js → HEIGHT_GIRLS.percentile.yearly-709f07cb.js} +0 -0
  466. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-8c913348.js → HEIGHT_GIRLS.zscore.monthly-785a6392.js} +0 -0
  467. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-f40f4ea2.js → HEIGHT_GIRLS.zscore.weekly-df3f7336.js} +0 -0
  468. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-4490bfe0.js → HEIGHT_GIRLS.zscore.yearly-7ff13638.js} +0 -0
  469. /package/build/esm/{Visible-3205e4d9.js → Visible-296586f5.js} +0 -0
  470. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-ecd63c2a.js → WEIGHT_BOYS.percentile.monthly-6db5e928.js} +0 -0
  471. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7101cd47.js → WEIGHT_BOYS.percentile.weekly-ac3c88c1.js} +0 -0
  472. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-538c1f35.js → WEIGHT_BOYS.percentile.yearly-e6b5cbc8.js} +0 -0
  473. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-ef6d5e32.js → WEIGHT_BOYS.zscore.monthly-5159a293.js} +0 -0
  474. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-ae26b922.js → WEIGHT_BOYS.zscore.weekly-e80388e7.js} +0 -0
  475. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-8a3e3ad8.js → WEIGHT_BOYS.zscore.yearly-627406cc.js} +0 -0
  476. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-819eac3b.js → WEIGHT_GIRLS.percentile.monthly-73bc1949.js} +0 -0
  477. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-6e7f4f28.js → WEIGHT_GIRLS.percentile.weekly-b822e263.js} +0 -0
  478. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-9da1f5e7.js → WEIGHT_GIRLS.percentile.yearly-c240ad75.js} +0 -0
  479. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-c5fad87a.js → WEIGHT_GIRLS.zscore.monthly-8a2b79a8.js} +0 -0
  480. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-a2343c87.js → WEIGHT_GIRLS.zscore.weekly-7c23c98b.js} +0 -0
  481. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-9df486d2.js → WEIGHT_GIRLS.zscore.yearly-bb2d6b5b.js} +0 -0
  482. /package/build/esm/{animation-d78bce40.js → animation-306385a2.js} +0 -0
  483. /package/build/esm/{constants-f0d695be.js → constants-25a749ca.js} +0 -0
  484. /package/build/esm/{constants-bf245cfc.js → constants-d39cd740.js} +0 -0
  485. /package/build/esm/{dataTransform-b06549ef.js → dataTransform-2086f0dd.js} +0 -0
  486. /package/build/esm/{index-e18e8904.js → index-06dec122.js} +0 -0
  487. /package/build/esm/{index-7a64cf8c.js → index-0d88f68b.js} +0 -0
  488. /package/build/esm/{index-23cfa29e.js → index-1564f3a0.js} +0 -0
  489. /package/build/esm/{index-86928e1c.js → index-3876fa92.js} +0 -0
  490. /package/build/esm/{index-f4fd0a19.js → index-4561631a.js} +0 -0
  491. /package/build/esm/{index-08e71721.js → index-6a9f8d45.js} +0 -0
  492. /package/build/esm/{index-a0256d40.js → index-7ba048ce.js} +0 -0
  493. /package/build/esm/{index-553a8acd.js → index-d22b56b0.js} +0 -0
  494. /package/build/esm/{index.styles-f9fed606.js → index.styles-f825f1af.js} +0 -0
  495. /package/build/esm/{localizeNumberFormat-6ed13ae9.js → localizeNumberFormat-0a6506ce.js} +0 -0
  496. /package/build/esm/{normalizeLink-d94e4b86.js → normalizeLink-5e1e2105.js} +0 -0
  497. /package/build/esm/{number-1af06f44.js → number-7c47f2d5.js} +0 -0
  498. /package/build/esm/{other-40404e5b.js → other-3bfec277.js} +0 -0
  499. /package/build/esm/{paths-a4786e69.js → paths-2f2e740b.js} +0 -0
  500. /package/build/esm/{translationsContext-c6c49512.js → translationsContext-dbda4f34.js} +0 -0
  501. /package/build/esm/{tslib.es6-c5c88a1a.js → tslib.es6-11a22860.js} +0 -0
  502. /package/build/esm/{types-81949c69.js → types-498281b7.js} +0 -0
  503. /package/build/esm/{useIsInit-30f5f78e.js → useIsInit-e1e602de.js} +0 -0
  504. /package/build/esm/{useOutsideClick-6787788b.js → useOutsideClick-df827206.js} +0 -0
  505. /package/build/esm/{useScrollbarSize-55e0077a.js → useScrollbarSize-b4e10c78.js} +0 -0
  506. /package/build/esm/{useUniqueId-f3059730.js → useUniqueId-287843bc.js} +0 -0
  507. /package/build/esm/{utils-08e14341.js → utils-de6517d5.js} +0 -0
  508. /package/build/{index-fc6206bb.js → index-17c1ec02.js} +0 -0
  509. /package/build/{index-3310c89c.js → index-5a0dd952.js} +0 -0
  510. /package/build/{index-e8f27a51.js → index-5cbdc80d.js} +0 -0
  511. /package/build/{index-fb29ea2e.js → index-66b6d34a.js} +0 -0
  512. /package/build/{index-69d6b55a.js → index-68b5de8a.js} +0 -0
  513. /package/build/{index-bfa52b7e.js → index-c81c5219.js} +0 -0
  514. /package/build/{index-6bf92899.js → index-d3825b64.js} +0 -0
  515. /package/build/{index-e147368a.js → index-d92766dd.js} +0 -0
  516. /package/build/{index.styles-ad0e2a1c.js → index.styles-9a34a787.js} +0 -0
  517. /package/build/{localizeNumberFormat-1e9ffba9.js → localizeNumberFormat-c85beb91.js} +0 -0
  518. /package/build/{normalizeLink-29ad1a48.js → normalizeLink-44add25f.js} +0 -0
  519. /package/build/{number-a1d1a3e8.js → number-b28b8ef5.js} +0 -0
  520. /package/build/{other-a24227cb.js → other-f300585d.js} +0 -0
  521. /package/build/{paths-ba427992.js → paths-0ea26e81.js} +0 -0
  522. /package/build/{translationsContext-88001140.js → translationsContext-2f1c80b1.js} +0 -0
  523. /package/build/{tslib.es6-2e1003f0.js → tslib.es6-79f9e81b.js} +0 -0
  524. /package/build/{types-a9fd2be7.js → types-4373b761.js} +0 -0
  525. /package/build/{useIsInit-aa8fcf21.js → useIsInit-2a3796a4.js} +0 -0
  526. /package/build/{useOutsideClick-d6024eed.js → useOutsideClick-70cb2e16.js} +0 -0
  527. /package/build/{useScrollbarSize-b0a1940c.js → useScrollbarSize-6ad52b00.js} +0 -0
  528. /package/build/{useUniqueId-5d011c4f.js → useUniqueId-b99682fe.js} +0 -0
  529. /package/build/{utils-72b35cc7.js → utils-bcebb378.js} +0 -0
package/build/esm/lead.js CHANGED
@@ -1,53 +1,53 @@
1
- import { _ as __rest, a as __awaiter } from './tslib.es6-c5c88a1a.js';
1
+ import { _ as __rest, a as __awaiter } from './tslib.es6-11a22860.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-ebabe771.js';
7
+ import { B as BEARER_TOKEN_COOKIE } from './index-419befea.js';
8
8
  import { getCookie, setCookie } from './miscCookieHelper.js';
9
- import { u as useTranslations } from './index-50a6a5d1.js';
10
- import { T as TranslationsContext } from './translationsContext-c6c49512.js';
11
- import { M as MediaQueries, b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-08e14341.js';
12
- import { T as Text } from './index-25bf0d9d.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-70a1642d.js';
14
- import { D as DatePicker } from './index-a7c5c23f.js';
15
- import { B as Button } from './index-f87618fa.js';
16
- import './index.styles-f9fed606.js';
17
- import { useClickOutside } from '@mantine/hooks';
18
- import './useMantineLocale-3cf49008.js';
19
- import { C as COMMON_DATE_TRANSLATE_KEY } from './index-22c8bd62.js';
20
- import './index-7a64cf8c.js';
21
- import { Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-ee2df990.js';
22
- import './other-40404e5b.js';
23
- import './index-90bd827d.js';
24
- import { M as MAPPED_LOCALE } from './utils-c779dd3d.js';
9
+ import { u as useTranslations } from './index-466d8840.js';
10
+ import { T as TranslationsContext } from './translationsContext-dbda4f34.js';
11
+ import { M as MediaQueries, b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-de6517d5.js';
12
+ import { T as Text } from './index-bc02b583.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-346891cf.js';
14
+ import { D as DatePicker } from './index-61b250a9.js';
15
+ import { B as Button } from './index-47ab928b.js';
16
+ import './index.styles-f825f1af.js';
17
+ import { useIntersection, useClickOutside } from '@mantine/hooks';
18
+ import './useMantineLocale-63358ae8.js';
19
+ import { C as COMMON_DATE_TRANSLATE_KEY } from './index-b9b4cc00.js';
20
+ import './index-0d88f68b.js';
21
+ import { L as LOCALE_SPECS, Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-50234079.js';
22
+ import './other-3bfec277.js';
23
+ import './index-7fe7c87f.js';
24
+ import { M as MAPPED_LOCALE } from './utils-8c70b95b.js';
25
25
  import { DateInput } from '@mantine/dates';
26
- import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-ed12ac6b.js';
27
- import { H as Heading$1 } from './index-b276a790.js';
28
- import { t as translationsMap$1 } from './translationsProvider-50360420.js';
29
- import { L as LOCALE } from './Locale-d66f3a35.js';
26
+ import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-b3481da8.js';
27
+ import { H as Heading$1 } from './index-6f9f3d81.js';
28
+ import { t as translationsMap$1 } from './translationsProvider-009f77af.js';
29
+ import { L as LOCALE } from './Locale-c1c68746.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-7d0b551e.js';
36
- import { i as isVideo } from './index-86928e1c.js';
37
- import { u as useScreenSize } from './useScreenSize-a92a9419.js';
36
+ import { T as TogetherComponentGlobalContext } from './utils-a917d74a.js';
37
+ import { i as isVideo } from './index-3876fa92.js';
38
+ import { u as useScreenSize } from './useScreenSize-82a267dc.js';
38
39
  import { motion } from 'framer-motion';
39
40
  import { createPortal } from 'react-dom';
40
- import { B as Button$2 } from './index-06f14c1f.js';
41
- import { I as InputDate } from './InputDate-93c5e459.js';
42
- import { D as DrawerComponent } from './index-0d2bab3b.js';
43
- import { C as Close } from './Close-17ff85ca.js';
41
+ import { B as Button$2 } from './index-287d8002.js';
42
+ import { I as InputDate } from './InputDate-e74ebf81.js';
43
+ import { D as DrawerComponent } from './index-017af8bf.js';
44
+ import { C as Close } from './Close-ed01010d.js';
44
45
  import './constantsIsProduction.js';
45
- import './normalizeLink-d94e4b86.js';
46
- import './constantsDomainLocales.js';
46
+ import './normalizeLink-5e1e2105.js';
47
47
  import '@hhgtech/icons/other';
48
48
  import '@mantine/carousel';
49
49
  import 'classnames';
50
- import './useUniqueId-f3059730.js';
50
+ import './useUniqueId-287843bc.js';
51
51
  import './constantsSite.js';
52
52
  import '@hhgtech/icons/core';
53
53
  import '@mantine/notifications';
@@ -63,12 +63,13 @@ import './i18n-values/th-TH.js';
63
63
  import './i18n-values/tl-PH.js';
64
64
  import './i18n-values/vi-VN.js';
65
65
  import './i18n-values/vi-VN_MB.js';
66
+ import './i18n-values/zh-SG.js';
66
67
  import './i18n-values/zh-TW.js';
67
- import './index-f4fd0a19.js';
68
+ import './index-4561631a.js';
68
69
  import 'slugify';
69
70
  import 'string-format';
70
71
  import './togetherApiPaths.js';
71
- import './constants-bf245cfc.js';
72
+ import './constants-d39cd740.js';
72
73
  import 'vaul';
73
74
 
74
75
  const LeadGenComponentContext = createContext({});
@@ -158,11 +159,6 @@ const LEAD_TIMEZONE_DATA = {
158
159
  9: 'Asia/Manila', // Philippines / Filipinos Site
159
160
  };
160
161
 
161
- const LEADGEN_ACTIONS = {
162
- SHOW: 'SHOW',
163
- SCROLL: 'SCROLL',
164
- TIME: 'TIME',
165
- };
166
162
  var LEADGEN_LAYOUT;
167
163
  (function (LEADGEN_LAYOUT) {
168
164
  LEADGEN_LAYOUT["LightBoxA"] = "LightBoxA";
@@ -561,6 +557,13 @@ const campaignPostImpression = ({ code, action, title_article, ga_client_id, coo
561
557
  },
562
558
  });
563
559
  };
560
+ const trackingSubscription = (data) => {
561
+ return leadApi.call({
562
+ url: `api/collection/tracking-subscription`,
563
+ method: METHOD.POST,
564
+ data,
565
+ });
566
+ };
564
567
  const Service = {
565
568
  campaignGetById,
566
569
  getCampaignByCode,
@@ -568,6 +571,7 @@ const Service = {
568
571
  postSubscriptionBoxLead,
569
572
  postUserInfoFromLeadGen,
570
573
  campaignPostImpression,
574
+ trackingSubscription,
571
575
  validateEmailOrPhoneOnSubot,
572
576
  validateEmailOrPhoneOnLeadGen,
573
577
  validatePhoneNumberOnLeadGen,
@@ -1601,7 +1605,7 @@ const translationsMap = {
1601
1605
  'my-MM': myMM,
1602
1606
  'km-KH': kmKH,
1603
1607
  'zh-TW': zhTW,
1604
- 'zh-CN': zhTW,
1608
+ 'zh-SG': zhTW,
1605
1609
  'th-TH': thTH,
1606
1610
  'tl-PH': enPH,
1607
1611
  };
@@ -1982,27 +1986,30 @@ const LeadGenContext = createContext({
1982
1986
  LeadLog('** LeadGen SubmitSubscriptionBox : ', value);
1983
1987
  return Promise.reject(value);
1984
1988
  },
1985
- impression(value) {
1989
+ impression(type) {
1986
1990
  /** Init for FAKING function */
1987
- LeadLog('** LeadGen Impression : ', value);
1988
- return Promise.reject(value);
1991
+ LeadLog('** LeadGen Impression : ', type);
1992
+ return Promise.reject();
1989
1993
  },
1990
1994
  /** For Subscription Box */
1991
1995
  subscriptionIcon: '',
1992
1996
  subscriptionTitle: '',
1997
+ subscriptionPhoneType: '',
1993
1998
  });
1994
1999
  const LeadGenContextProvider = (props) => {
1995
- 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();
1996
2002
  const [forceCampaign, setForceCampaign] = useState(forceCampaignProps);
1997
2003
  const [subscriptionInfo, setSubscriptionInfo] = useState({
1998
2004
  subscriptionIcon: '',
1999
2005
  subscriptionTitle: '',
2000
2006
  subscriptionType: 'TypeA',
2007
+ subscriptionPhoneType: '',
2001
2008
  });
2002
2009
  const locale = useMemo(() => {
2003
2010
  return localeProps || LOCALE['PhilippinesEnglish'];
2004
2011
  }, [localeProps]);
2005
- 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(() => ({
2006
2013
  url: location.href.toLowerCase() || '',
2007
2014
  cookie_id: getCookie('hhg-id') || null,
2008
2015
  ga_client_id: getCookie('_ga'),
@@ -2011,27 +2018,33 @@ const LeadGenContextProvider = (props) => {
2011
2018
  category_id: categoryId,
2012
2019
  article_id: articleId,
2013
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) || '',
2014
2022
  }), [
2015
2023
  campaignCodeProps,
2016
2024
  articleId,
2017
2025
  categoryId,
2018
2026
  forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.id,
2019
2027
  extraValues === null || extraValues === void 0 ? void 0 : extraValues.article_title,
2028
+ extraValues === null || extraValues === void 0 ? void 0 : extraValues.category_name,
2020
2029
  ]);
2021
- const fetchCampaign = useCallback((campaign_code) => {
2022
- Service.getCampaignByCode(campaign_code).then((res) => {
2023
- const { _data } = res || {};
2024
- const { campaigns } = _data || {};
2025
- LeadLog('** LeadGen Campaign : ', campaigns);
2026
- setForceCampaign(formatCampaignDetail(campaigns));
2027
- });
2028
- }, [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
+ // )
2029
2041
  // TODO : Update form for LeadGen
2030
2042
  const submit = useCallback((data) => {
2031
2043
  return Service.postSubscriptionBoxLead({ data });
2032
2044
  }, []);
2033
2045
  const submitSubscriptionBox = useCallback((value) => {
2034
- 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,
2035
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,
2036
2049
  category_id,
2037
2050
  article_title });
@@ -2047,33 +2060,36 @@ const LeadGenContextProvider = (props) => {
2047
2060
  cookie_id,
2048
2061
  ga_client_id,
2049
2062
  ]);
2050
- const impression = useCallback((value) => {
2063
+ const impression = useCallback((type) => {
2064
+ const gaCookie = getCookie('_ga') || null;
2051
2065
  const impression = {
2052
- url: (value === null || value === void 0 ? void 0 : value.url) || url,
2053
- action: (value === null || value === void 0 ? void 0 : value.action) || LEADGEN_ACTIONS.SCROLL,
2054
- code: (value === null || value === void 0 ? void 0 : value.code) || campaign_code,
2055
- title_article: (value === null || value === void 0 ? void 0 : value.title_article) || article_title,
2056
- cookie_id: (value === null || value === void 0 ? void 0 : value.cookie_id) || cookie_id,
2057
- ga_client_id: (value === null || value === void 0 ? void 0 : value.ga_client_id) || ga_client_id,
2058
- referrer: value === null || value === void 0 ? void 0 : value.referrer,
2059
- extra: Object.assign(Object.assign(Object.assign({}, value === null || value === void 0 ? void 0 : value.extra), { cookie_id,
2060
- 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,
2061
2079
  };
2062
- if (!impression.extra.subscription_title) {
2063
- delete impression.extra.subscription_title;
2064
- }
2065
- return Service.campaignPostImpression(impression);
2080
+ return Service.trackingSubscription(impression);
2066
2081
  }, [
2067
- extraValues,
2068
2082
  campaign_id,
2069
2083
  url,
2070
- campaign_code,
2071
2084
  article_title,
2072
2085
  cookie_id,
2073
2086
  ga_client_id,
2087
+ categoryId,
2074
2088
  article_id,
2075
2089
  subscriptionInfo.subscriptionTitle,
2076
- 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,
2077
2093
  ]);
2078
2094
  useEffect(() => {
2079
2095
  if (forceCampaignProps) {
@@ -2088,21 +2104,138 @@ const LeadGenContextProvider = (props) => {
2088
2104
  slug: location === null || location === void 0 ? void 0 : location.pathname,
2089
2105
  }).then((res) => {
2090
2106
  const { _data } = res || {};
2091
- const { item, campaign_code } = _data || {};
2107
+ const { item, campaign_code, btn_type = 'zalo' } = _data || {};
2092
2108
  const { icon, content } = item || {};
2093
2109
  LeadLog('** LeadGen SubscriptionBox campaign_code : ', campaign_code);
2094
2110
  LeadLog('** LeadGen SubscriptionBox subscription_icon : ', icon);
2095
2111
  LeadLog('** LeadGen SubscriptionBox subscription_title : ', content);
2096
- setSubscriptionInfo((prev) => (Object.assign(Object.assign({}, prev), { subscriptionIcon: icon, subscriptionTitle: content })));
2097
- if (campaign_code) {
2098
- fetchCampaign(campaign_code);
2099
- }
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
+ // }
2100
2233
  });
2101
2234
  return;
2102
2235
  }
2103
- if (campaignCodeProps) {
2104
- fetchCampaign(campaignCodeProps);
2105
- }
2236
+ // if (campaignCodeProps) {
2237
+ // fetchCampaign(campaignCodeProps)
2238
+ // }
2106
2239
  }, [forceCampaignProps, campaignCodeProps, categoryId]);
2107
2240
  useEffect(() => {
2108
2241
  leadStore.apiSsoUrl = apiSsoUrl;
@@ -2112,7 +2245,7 @@ const LeadGenContextProvider = (props) => {
2112
2245
  if (!forceCampaign || !(forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.id)) {
2113
2246
  return null;
2114
2247
  }
2115
- 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,
2116
2249
  apiLeadUrl,
2117
2250
  apiSubotUrl, locale: localeProps, extraValues,
2118
2251
  articleId,
@@ -2127,6 +2260,35 @@ const useLeadGenContext = () => {
2127
2260
  return Object.assign(Object.assign({}, context), { apiSsoUrl: context.apiSsoUrl || leadStore.apiSsoUrl, apiLeadUrl: context.apiLeadUrl || leadStore.apiLeadUrl, apiSubotUrl: context.apiSubotUrl || leadStore.apiSubotUrl });
2128
2261
  };
2129
2262
 
2263
+ const ImpressionTrackingWrapper = ({ children, stayDuration = 1, 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 = 0;
2271
+ if ((entry === null || entry === void 0 ? void 0 : entry.isIntersecting) && !tracked) {
2272
+ timer = setInterval(() => {
2273
+ if (count > stayDuration) {
2274
+ setTracked(true);
2275
+ }
2276
+ else {
2277
+ count += 1;
2278
+ }
2279
+ }, stayDuration * 1000);
2280
+ }
2281
+ return () => clearInterval(timer);
2282
+ }, [entry === null || entry === void 0 ? void 0 : entry.isIntersecting, tracked]);
2283
+ useEffect(() => {
2284
+ tracked && onImpression();
2285
+ }, [tracked]);
2286
+ useEffect(() => {
2287
+ setTracked(false);
2288
+ }, [dependency]);
2289
+ return (React__default.createElement(Box, { "data-impression": true, ref: ref }, children));
2290
+ };
2291
+
2130
2292
  // eslint-disable-next-line @typescript-eslint/no-var-requires
2131
2293
  const customParseFormat = require('dayjs/plugin/customParseFormat');
2132
2294
  dayjs.extend(customParseFormat);
@@ -2163,7 +2325,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
2163
2325
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2164
2326
  block) => {
2165
2327
  return (value) => {
2166
- var _a;
2328
+ var _a, _b;
2167
2329
  const isBLockRequired = (_a = block === null || block === void 0 ? void 0 : block.data) === null || _a === void 0 ? void 0 : _a.required;
2168
2330
  if (!formRef.current.isTouched(name))
2169
2331
  return;
@@ -2171,7 +2333,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
2171
2333
  typeof value === 'undefined' ||
2172
2334
  (Array.isArray(value) && value.length === 0)) {
2173
2335
  return isBLockRequired
2174
- ? t('validator.required')
2336
+ ? ((_b = block === null || block === void 0 ? void 0 : block.data) === null || _b === void 0 ? void 0 : _b.requiredMessage) || t('validator.required')
2175
2337
  : cb === null || cb === void 0 ? void 0 : cb(value);
2176
2338
  }
2177
2339
  return cb === null || cb === void 0 ? void 0 : cb(value);
@@ -2420,12 +2582,25 @@ const StyledLeadGenSubscriptionBox = styled.div `
2420
2582
  border: 1px solid ${theme.colors.neutral100};
2421
2583
  background: linear-gradient(
2422
2584
  180.71deg,
2423
- #7bc2ff -18.54%,
2424
- #e3f2ff 17.12%,
2425
- #ffffff 99.25%
2585
+ rgba(44, 183, 66, 0.8) -18.54%,
2586
+ rgba(44, 183, 66, 0.1) 17.12%,
2587
+ rgba(44, 183, 66, 0) 99.25%
2426
2588
  );
2427
2589
  border-radius: 12px;
2428
2590
  margin-inline: auto;
2591
+ &[data-phone-type='zalo'] {
2592
+ background: linear-gradient(
2593
+ 180.71deg,
2594
+ #7bc2ff -18.54%,
2595
+ #e3f2ff 17.12%,
2596
+ #ffffff 99.25%
2597
+ );
2598
+ }
2599
+ &[data-phone-type]:not([data-phone-type='zalo']) {
2600
+ .leadgen-btn {
2601
+ background-color: #2cb742 !important;
2602
+ }
2603
+ }
2429
2604
  .leadgen-form_inputs {
2430
2605
  .leadgen-form_input {
2431
2606
  width: 100%;
@@ -3101,10 +3276,9 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3101
3276
  const { image, extra_fields, id: campaign_id, bot_id: campaign_subot_id = [], ThankYouBlock, } = forceCampaign || {};
3102
3277
  const { textBlocks, listBlockAdded, actionBlocks } = extra_fields || {};
3103
3278
  const { submitBlock } = actionBlocks || {};
3104
- const { apiLeadUrl, subscriptionIcon, subscriptionTitle, submitSubscriptionBox, impression, onFinish, } = useLeadGenContext();
3279
+ const { apiLeadUrl, subscriptionIcon, subscriptionTitle, subscriptionPhoneType, submitSubscriptionBox, onFinish, impression, } = useLeadGenContext();
3105
3280
  const { t } = useTranslations();
3106
3281
  const { action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
3107
- const refContainer = useRef(null);
3108
3282
  const [loading, setLoading] = useState(false);
3109
3283
  const [showThankyou, setShowThankyou] = useState(false);
3110
3284
  const validatingEmailRef = useRef(false);
@@ -3124,17 +3298,6 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3124
3298
  t('leadgen.message.title.default');
3125
3299
  }, [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]);
3126
3300
  const { image: thankyouImage, title: thankyouTitle, description: thankyouDescription, button: thankyouButton, } = ThankYouBlock || {};
3127
- const intersectionObserverCallback = useCallback((entries) => {
3128
- entries.forEach((entry) => {
3129
- const { isIntersecting, target } = entry;
3130
- if (!showThankyou &&
3131
- isIntersecting &&
3132
- target === refContainer.current) {
3133
- impression();
3134
- }
3135
- });
3136
- }, [impression, showThankyou]);
3137
- const IObserver = new IntersectionObserver(intersectionObserverCallback);
3138
3301
  const middlewareOnSubmit = useCallback((values) => __awaiter(void 0, void 0, void 0, function* () {
3139
3302
  const newValues = {
3140
3303
  subscription_title,
@@ -3171,7 +3334,11 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3171
3334
  setLoading(true);
3172
3335
  try {
3173
3336
  const reqValues = Object.assign(Object.assign({}, newValues), ssoValues);
3174
- const { _data } = (yield submitSubscriptionBox(reqValues)) || {};
3337
+ const [res] = yield Promise.all([
3338
+ submitSubscriptionBox(reqValues),
3339
+ impression('submit_form'),
3340
+ ]);
3341
+ const { _data } = res || {};
3175
3342
  const { model } = _data || {};
3176
3343
  if (model && (model === null || model === void 0 ? void 0 : model.id)) {
3177
3344
  setShowThankyou(true);
@@ -3215,16 +3382,8 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
3215
3382
  userInfo === null || userInfo === void 0 ? void 0 : userInfo.uid,
3216
3383
  userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone,
3217
3384
  ]);
3218
- useEffect(() => {
3219
- if (refContainer.current) {
3220
- IObserver.observe(refContainer.current);
3221
- }
3222
- return () => {
3223
- IObserver.disconnect();
3224
- };
3225
- }, [categoryId]);
3226
- return (React__default.createElement("div", { ref: refContainer },
3227
- React__default.createElement(StyledLeadGenSubscriptionBox, { "data-type": "subscription_box_A" },
3385
+ return (React__default.createElement(ImpressionTrackingWrapper, { dependency: categoryId, onImpression: () => impression('impression') },
3386
+ React__default.createElement(StyledLeadGenSubscriptionBox, { "data-phone-type": subscriptionPhoneType, "data-type": "subscription_box_A" },
3228
3387
  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 })),
3229
3388
  !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 })))));
3230
3389
  };
@@ -3239,8 +3398,12 @@ const Container = () => {
3239
3398
  return (React__default.createElement(LeadGenSubscriptionBox$1, { locale: locale, siteId: siteId, siteDomain: siteDomain, userInfo: userInfo, forceCampaign: forceCampaign, campaign_code: campaign_code }));
3240
3399
  };
3241
3400
  Container.displayName = 'LeadGenSubscriptionBox';
3401
+ const ALLOW_LOCALE = [LOCALE.Vietnam, LOCALE.Malaysia, LOCALE.Indonesia];
3242
3402
  const LeadGenSubscriptionBoxContainer = (props) => {
3243
- const { apiUrl, apiSubotUrl } = props;
3403
+ const { apiUrl, apiSubotUrl, locale } = props;
3404
+ if (!ALLOW_LOCALE.includes(locale)) {
3405
+ return null;
3406
+ }
3244
3407
  return (React__default.createElement(LeadGenContextProvider, Object.assign({}, props, { apiLeadUrl: apiUrl, apiSubotUrl: apiSubotUrl }),
3245
3408
  React__default.createElement(Container, null)));
3246
3409
  };
@@ -3871,7 +4034,8 @@ const ThankyouPopup = ({ title, titleAlign, subtitle, subtitleAlign, link, linkN
3871
4034
  React__default.createElement(Button, { className: `lead-modal__btn ${LEAD_CLASS}`, color: primaryColor }, linkText)))))));
3872
4035
  };
3873
4036
 
3874
- const InlineLayout = ({ content, inlinePosition, }) => {
4037
+ const InlineLayout = ({ action, content, inlinePosition, campaignCode, }) => {
4038
+ const { apiUrl } = useContext(LeadGenContext$1);
3875
4039
  const target = useMemo(() => {
3876
4040
  if (!inlinePosition)
3877
4041
  return null;
@@ -3978,7 +4142,22 @@ const InlineLayout = ({ content, inlinePosition, }) => {
3978
4142
  }, [inlinePosition]);
3979
4143
  if (!inlinePosition || !target)
3980
4144
  return null;
3981
- return createPortal(content, target);
4145
+ return createPortal(React__default.createElement(ImpressionTrackingWrapper, { onImpression: () => __awaiter(void 0, void 0, void 0, function* () {
4146
+ const gaCookie = getCookie('_ga') || null;
4147
+ fetch(`${apiUrl}api/campaign/${campaignCode}/impression`, {
4148
+ method: 'POST',
4149
+ headers: {
4150
+ 'Content-Type': 'application/json',
4151
+ },
4152
+ body: JSON.stringify({
4153
+ action,
4154
+ url: location.href.toLowerCase(),
4155
+ title_article: document.title,
4156
+ cookie_id: getCookie('hhg-id'),
4157
+ ga_client_id: gaCookie,
4158
+ }),
4159
+ });
4160
+ }) }, content), target);
3982
4161
  };
3983
4162
 
3984
4163
  const SideBarLayout = ({ content }) => {
@@ -4745,7 +4924,7 @@ const LEADGEN_SHOW_HEADER = [
4745
4924
  ];
4746
4925
  // const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39', 'u0adw7hw8kw7t89']
4747
4926
  const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39'];
4748
- 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, }) => {
4927
+ 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, }) => {
4749
4928
  var _a, _b;
4750
4929
  const { primaryColor } = useContext(LeadGenContext$1);
4751
4930
  const { isMobile } = useScreenSize();
@@ -5080,7 +5259,7 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
5080
5259
  return React__default.createElement(SideBarLayout, { content: PopupContainer });
5081
5260
  }
5082
5261
  else if (isInline) {
5083
- return (React__default.createElement(InlineLayout, { content: PopupContainer, inlinePosition: extraFields.popupInlinePosition }));
5262
+ return (React__default.createElement(InlineLayout, { action: action, content: PopupContainer, campaignCode: campaignCode, inlinePosition: extraFields.popupInlinePosition }));
5084
5263
  }
5085
5264
  return null;
5086
5265
  };
@@ -5178,19 +5357,20 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
5178
5357
  const { apiUrl, siteDomain } = useContext(LeadGenContext$1);
5179
5358
  useEffect(() => {
5180
5359
  const gaCookie = getCookie('_ga') || null;
5181
- fetch(`${apiUrl}api/campaign/${code}/impression`, {
5182
- method: 'POST',
5183
- headers: {
5184
- 'Content-Type': 'application/json',
5185
- },
5186
- body: JSON.stringify({
5187
- action,
5188
- url: location.href.toLowerCase(),
5189
- title_article: document.title,
5190
- cookie_id: getCookie('hhg-id'),
5191
- ga_client_id: gaCookie,
5192
- }),
5193
- });
5360
+ !currentLayout.includes('Inline') &&
5361
+ fetch(`${apiUrl}api/campaign/${code}/impression`, {
5362
+ method: 'POST',
5363
+ headers: {
5364
+ 'Content-Type': 'application/json',
5365
+ },
5366
+ body: JSON.stringify({
5367
+ action,
5368
+ url: location.href.toLowerCase(),
5369
+ title_article: document.title,
5370
+ cookie_id: getCookie('hhg-id'),
5371
+ ga_client_id: gaCookie,
5372
+ }),
5373
+ });
5194
5374
  }, []);
5195
5375
  const { extra_fields, image, image_desktop, code, image_background, image_overlay_mobile, image_overlay_desktop, } = campaign || {};
5196
5376
  const { currentLayout } = extra_fields;
@@ -5292,7 +5472,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
5292
5472
  currentLayout == 'Fullscreen' ||
5293
5473
  currentLayout == 'Sidebar' ||
5294
5474
  currentLayout == 'Slider') {
5295
- 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 }));
5475
+ 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 }));
5296
5476
  }
5297
5477
  else if (currentLayout.includes('Skin')) {
5298
5478
  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 }));