@hhgtech/hhg-components 1.29.343 → 1.29.344

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 (481) hide show
  1. package/build/{LastPeriod-304cc191.js → LastPeriod-7515a3b2.js} +1 -1
  2. package/build/{MobileBottomNavigationIcon-b85d1605.js → MobileBottomNavigationIcon-706637e1.js} +3 -3
  3. package/build/{Spinner-49bac424.js → Spinner-82f61509.js} +1 -1
  4. package/build/{WhatsApp-1cd8d4df.js → WhatsApp-e709f7f8.js} +1 -1
  5. package/build/adapters.js +19 -19
  6. package/build/atoms.js +47 -47
  7. package/build/babyGrowth.js +83 -83
  8. package/build/cache.js +2 -2
  9. package/build/care.js +17 -17
  10. package/build/careBookingSearchBar.js +14 -14
  11. package/build/careBookingSearchBarV2.js +15 -15
  12. package/build/components.js +91 -91
  13. package/build/{constants-e44003d5.js → constants-9a378bf0.js} +1 -1
  14. package/build/constants.js +3 -3
  15. package/build/constantsDomainLocales.js +1 -1
  16. package/build/constantsRiskScreener.js +2 -2
  17. package/build/constantsSite.js +2 -2
  18. package/build/{core-5483ea51.js → core-4ea0489f.js} +1 -1
  19. package/build/{dataTransform-c69ef5db.js → dataTransform-d9f31c6b.js} +1 -1
  20. package/build/ecom.js +4 -4
  21. package/build/{editor-742b759d.js → editor-d2eb0fa0.js} +11 -11
  22. package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
  23. package/build/embeddedHeathToolCards_babyPoop.js +19 -19
  24. package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
  25. package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
  26. package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
  27. package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  28. package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  29. package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
  30. package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
  31. package/build/esm/{LastPeriod-bf500978.js → LastPeriod-aa2dff02.js} +1 -1
  32. package/build/esm/{MobileBottomNavigationIcon-8944ece4.js → MobileBottomNavigationIcon-8f873887.js} +3 -3
  33. package/build/esm/{Spinner-709ca6b9.js → Spinner-e98266f7.js} +1 -1
  34. package/build/esm/{WhatsApp-0d9155f4.js → WhatsApp-a3850483.js} +1 -1
  35. package/build/esm/adapters.js +19 -19
  36. package/build/esm/atoms.js +47 -47
  37. package/build/esm/babyGrowth.js +83 -83
  38. package/build/esm/cache.js +2 -2
  39. package/build/esm/care.js +17 -17
  40. package/build/esm/careBookingSearchBar.js +14 -14
  41. package/build/esm/careBookingSearchBarV2.js +15 -15
  42. package/build/esm/components.js +91 -91
  43. package/build/esm/{constants-cef86263.js → constants-c7bf83bc.js} +1 -1
  44. package/build/esm/constants.js +3 -3
  45. package/build/esm/constantsDomainLocales.js +1 -1
  46. package/build/esm/constantsRiskScreener.js +2 -2
  47. package/build/esm/constantsSite.js +2 -2
  48. package/build/esm/{core-938ff907.js → core-e4b10fbc.js} +1 -1
  49. package/build/esm/{dataTransform-26b9f643.js → dataTransform-3c0f80e8.js} +1 -1
  50. package/build/esm/ecom.js +4 -4
  51. package/build/esm/{editor-2af44121.js → editor-ffe96610.js} +11 -11
  52. package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
  53. package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
  54. package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
  55. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
  56. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
  57. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  58. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  59. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
  60. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
  61. package/build/esm/footer.js +21 -21
  62. package/build/esm/gAssets.js +2 -2
  63. package/build/esm/healthToolsCardWrapper.js +18 -18
  64. package/build/esm/healthToolsForm.js +33 -33
  65. package/build/esm/hooks.js +13 -13
  66. package/build/esm/i18n.js +2 -2
  67. package/build/esm/i18nV2.js +2 -2
  68. package/build/esm/{index-e8d8a8b4.js → index-0681d021.js} +2 -2
  69. package/build/esm/{index-240b7763.js → index-0acd5e22.js} +16 -16
  70. package/build/esm/{index-9c2c33dc.js → index-11fe1ee1.js} +2 -2
  71. package/build/esm/{index-9cc1d754.js → index-1596c6a4.js} +2 -2
  72. package/build/esm/{index-8a426614.js → index-16535663.js} +3 -3
  73. package/build/esm/{index-edd98830.js → index-181ba301.js} +1 -1
  74. package/build/esm/{index-ac444850.js → index-1fe65885.js} +2 -2
  75. package/build/esm/{index-c49ef076.js → index-1ffcf21c.js} +1 -1
  76. package/build/esm/{index-f57e46cf.js → index-203b92b9.js} +30 -30
  77. package/build/esm/{index-2e41ac6b.js → index-22a71643.js} +12 -12
  78. package/build/esm/{index-4150ae7f.js → index-2f679529.js} +13 -13
  79. package/build/esm/{index-eb1fa728.js → index-3171b876.js} +2 -2
  80. package/build/esm/{index-8591b22e.js → index-33028e24.js} +3 -3
  81. package/build/esm/{index-b4c31a96.js → index-3c4cd5c4.js} +7 -7
  82. package/build/esm/{index-484e459e.js → index-3c7b8700.js} +1 -1
  83. package/build/esm/{index-64b550b4.js → index-414cae83.js} +1 -1
  84. package/build/esm/{index-7c65f196.js → index-43e53985.js} +18 -18
  85. package/build/esm/{index-eac453b2.js → index-4c5efa09.js} +1 -1
  86. package/build/esm/{index-9998f6bf.js → index-5c251794.js} +2 -2
  87. package/build/esm/{index-c4d47b77.js → index-5cd2927e.js} +13 -13
  88. package/build/esm/{index-8edd6215.js → index-5e3d9286.js} +4 -4
  89. package/build/esm/{index-15d3f436.js → index-5e413b3f.js} +7 -7
  90. package/build/esm/{index-5335d3d9.js → index-60455321.js} +2 -2
  91. package/build/esm/{index-d967ca78.js → index-69b8f8d1.js} +17 -17
  92. package/build/esm/{index-2b3ccdf7.js → index-6a401ff4.js} +21 -21
  93. package/build/esm/{index-7e6a1f56.js → index-71a01243.js} +20 -20
  94. package/build/esm/{index-36914dd0.js → index-74d376d0.js} +2 -2
  95. package/build/esm/{index-be81a626.js → index-78e77fef.js} +16 -16
  96. package/build/esm/{index-91a2eccf.js → index-7a9d96ab.js} +3 -3
  97. package/build/esm/{index-c7543b04.js → index-7aeb275c.js} +10 -10
  98. package/build/esm/{index-65bdc8df.js → index-7bd30bf9.js} +16 -16
  99. package/build/esm/{index-5ef99f4b.js → index-81009651.js} +24 -24
  100. package/build/esm/{index-61ae34af.js → index-81c1e258.js} +6 -6
  101. package/build/esm/{index-6cafc410.js → index-85199ef0.js} +6 -6
  102. package/build/esm/{index-67fadae7.js → index-91207181.js} +2 -2
  103. package/build/esm/{index-eda60bb5.js → index-94d7acaa.js} +5 -5
  104. package/build/esm/{index-85708071.js → index-9899804c.js} +2 -2
  105. package/build/esm/{index-a2be6a4e.js → index-993c57b3.js} +24 -24
  106. package/build/esm/{index-7a9ed950.js → index-9cc042a4.js} +2 -2
  107. package/build/esm/{index-77fec9d7.js → index-9cc5aa95.js} +5 -5
  108. package/build/esm/{index-59b48bf1.js → index-a07f0450.js} +17 -17
  109. package/build/esm/{index-5d84831b.js → index-acff9001.js} +3 -3
  110. package/build/esm/{index-65dd888a.js → index-aebb51a7.js} +2 -2
  111. package/build/esm/{index-b0c80fc5.js → index-b5711004.js} +6 -6
  112. package/build/esm/{index-99285f6d.js → index-b9f07375.js} +15 -15
  113. package/build/esm/{index-44e0fdd4.js → index-beeb64ee.js} +15 -15
  114. package/build/esm/{index-067e0be1.js → index-c0153376.js} +1 -1
  115. package/build/esm/{index-f602bb13.js → index-c1cda381.js} +13 -13
  116. package/build/esm/{index-2d69c8bb.js → index-c4e86881.js} +1 -1
  117. package/build/esm/{index-fd8aa171.js → index-cf6a4d8e.js} +1 -1
  118. package/build/esm/{index-f6cf5e01.js → index-d6f40c2e.js} +13 -13
  119. package/build/esm/{index-ba8ba659.js → index-d73a4225.js} +3 -3
  120. package/build/esm/{index-c587e0f0.js → index-d79a503e.js} +2 -2
  121. package/build/esm/{index-9a3e3fd8.js → index-da444251.js} +32 -32
  122. package/build/esm/{index-d33dd701.js → index-df97dcd6.js} +1 -1
  123. package/build/esm/{index-8f8e96a0.js → index-dffb8eeb.js} +18 -18
  124. package/build/esm/{index-d1cfc060.js → index-e50e3b96.js} +6 -6
  125. package/build/esm/{index-f5b56512.js → index-eb3fa6e0.js} +3 -3
  126. package/build/esm/{index-1e0c72b0.js → index-f2d6fa8c.js} +31 -31
  127. package/build/esm/{index-e4b6aa21.js → index-f2f7501c.js} +18 -18
  128. package/build/esm/{index-78d97aba.js → index-f4baee95.js} +3 -3
  129. package/build/esm/{index-dbdc359c.js → index-f923e7c7.js} +16 -16
  130. package/build/esm/index.js +113 -113
  131. package/build/esm/{labelSorting-37f7aa83.js → labelSorting-87295ca4.js} +4 -4
  132. package/build/esm/lead/components/form/formContext.d.ts +3 -1
  133. package/build/esm/lead/components/index.d.ts +3 -2
  134. package/build/esm/lead/helpers.d.ts +2 -0
  135. package/build/esm/lead/index.d.ts +2 -0
  136. package/build/esm/lead/layouts/lightbox/formContext.d.ts +3 -1
  137. package/build/esm/lead/layouts/lightbox/index.d.ts +3 -2
  138. package/build/esm/lead/newLeadPopup.d.ts +3 -2
  139. package/build/esm/lead.js +101 -65
  140. package/build/esm/{logoIcon-5f337c82.js → logoIcon-e7727b75.js} +2 -2
  141. package/build/esm/mantine.js +25 -25
  142. package/build/esm/misc.js +16 -16
  143. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  144. package/build/esm/miscGetSocialList.js +8 -8
  145. package/build/esm/miscScreenSizeContext.js +1 -1
  146. package/build/esm/mobileBottomNavigation.js +5 -5
  147. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  148. package/build/esm/molecules.js +69 -69
  149. package/build/esm/moleculesArticleCard.js +6 -6
  150. package/build/esm/moleculesArticleCardV2.js +16 -16
  151. package/build/esm/navigation.js +40 -40
  152. package/build/esm/navigationLogoutPopup.js +9 -9
  153. package/build/esm/navigationProfileButton.js +23 -23
  154. package/build/esm/onboardingV2.js +29 -29
  155. package/build/esm/organisms.js +44 -44
  156. package/build/esm/{post-b2b38759.js → post-c6987614.js} +2 -2
  157. package/build/esm/profileNavigation.js +19 -19
  158. package/build/esm/progressBar.js +1 -1
  159. package/build/esm/pwg.js +22 -22
  160. package/build/esm/ssoV2.js +26 -26
  161. package/build/esm/{store-96b76ace.js → store-8090ea7d.js} +4 -4
  162. package/build/esm/subot.js +33 -33
  163. package/build/esm/surveyOrPremiumBanner.js +31 -31
  164. package/build/esm/surveyQuestionCard.js +10 -10
  165. package/build/esm/{surveyThankyouCard-9bafbcd5.js → surveyThankyouCard-3933a01e.js} +5 -5
  166. package/build/esm/together.js +53 -53
  167. package/build/esm/togetherApiUtils.js +4 -4
  168. package/build/esm/togetherAtoms.js +30 -30
  169. package/build/esm/togetherComponentGlobalContext.js +4 -4
  170. package/build/esm/togetherMolecules.js +48 -48
  171. package/build/esm/togetherMoleculesCardAuthor.js +27 -27
  172. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  173. package/build/esm/togetherMoleculesProfileDetail.js +37 -37
  174. package/build/esm/togetherOrganisms.js +47 -47
  175. package/build/esm/togetherRichTextEditor.js +17 -17
  176. package/build/esm/togetherShareBox.js +10 -10
  177. package/build/esm/{treePopoverMenu-0d6baa0d.js → treePopoverMenu-a31c0d23.js} +19 -19
  178. package/build/esm/{types-a586f061.js → types-7cc92a8a.js} +2 -2
  179. package/build/esm/types.js +2 -2
  180. package/build/esm/{useCategory-16f60353.js → useCategory-3e3f7603.js} +5 -5
  181. package/build/esm/{useHealthToolCache-ddc094ca.js → useHealthToolCache-f2ef4a4f.js} +1 -1
  182. package/build/esm/{useMantineLocale-19c891e6.js → useMantineLocale-56e3c884.js} +6 -6
  183. package/build/esm/{usePlacesAutocomplete-8c4362e3.js → usePlacesAutocomplete-d5787e8a.js} +1 -1
  184. package/build/esm/{useScreenSize-fdb63765.js → useScreenSize-365a2f86.js} +2 -2
  185. package/build/esm/useTogetherAuthRequiredAction.js +9 -9
  186. package/build/esm/{utils-643ff46f.js → utils-0e0494a3.js} +2 -2
  187. package/build/esm/{utils-063d5573.js → utils-d801c857.js} +2 -2
  188. package/build/esm/{utils-67076710.js → utils-e78e09cc.js} +3 -3
  189. package/build/esm/vaccination.js +21 -21
  190. package/build/footer.js +21 -21
  191. package/build/gAssets.js +2 -2
  192. package/build/healthToolsCardWrapper.js +18 -18
  193. package/build/healthToolsForm.js +33 -33
  194. package/build/hooks.js +13 -13
  195. package/build/i18n.js +1 -1
  196. package/build/i18nV2.js +1 -1
  197. package/build/{index-2ccbc1f7.js → index-0866c299.js} +3 -3
  198. package/build/{index-6cd19d07.js → index-0a3cd80b.js} +2 -2
  199. package/build/{index-7c52ca31.js → index-0e6bee4e.js} +2 -2
  200. package/build/{index-7560a414.js → index-107205fc.js} +2 -2
  201. package/build/{index-3929881f.js → index-18985792.js} +10 -10
  202. package/build/{index-90640190.js → index-1b7087eb.js} +18 -18
  203. package/build/{index-bb3c2da0.js → index-23f17a57.js} +15 -15
  204. package/build/{index-ae89ca58.js → index-2628e61d.js} +3 -3
  205. package/build/{index-fe163f2f.js → index-29be6fe4.js} +20 -20
  206. package/build/{index-cf3b430b.js → index-2a75929d.js} +1 -1
  207. package/build/{index-9c04ee42.js → index-3378ee5b.js} +3 -3
  208. package/build/{index-8b1155ec.js → index-37037e4d.js} +18 -18
  209. package/build/{index-a5faf07b.js → index-3d91c5d4.js} +1 -1
  210. package/build/{index-2f9eb4f9.js → index-3eeb4578.js} +2 -2
  211. package/build/{index-2d7676d9.js → index-40c387d6.js} +32 -32
  212. package/build/{index-843c271f.js → index-46fd8499.js} +5 -5
  213. package/build/{index-e5d6997a.js → index-4b49156b.js} +4 -4
  214. package/build/{index-a5969f59.js → index-516d2861.js} +16 -16
  215. package/build/{index-d06ebc65.js → index-581ab76d.js} +12 -12
  216. package/build/{index-01db0c7f.js → index-587d87bf.js} +6 -6
  217. package/build/{index-197fbeb3.js → index-5e59323c.js} +3 -3
  218. package/build/{index-5c246510.js → index-5eacbb94.js} +2 -2
  219. package/build/{index-21a68306.js → index-6272bc30.js} +13 -13
  220. package/build/{index-c4d0951c.js → index-6500c74b.js} +16 -16
  221. package/build/{index-96d423c9.js → index-6d83cf8e.js} +2 -2
  222. package/build/{index-762bd00b.js → index-6f3231ed.js} +30 -30
  223. package/build/{index-ffe3b7c6.js → index-75caff74.js} +5 -5
  224. package/build/{index-cc793e43.js → index-76f1dd22.js} +2 -2
  225. package/build/{index-3d29b855.js → index-7c2a431e.js} +16 -16
  226. package/build/{index-8699b66c.js → index-7ce2204f.js} +6 -6
  227. package/build/{index-5428d8f8.js → index-8eaf5b4a.js} +16 -16
  228. package/build/{index-81e8c0de.js → index-92d7717b.js} +17 -17
  229. package/build/{index-2ce3e7bc.js → index-9392b8a8.js} +21 -21
  230. package/build/{index-61c9257b.js → index-96326b08.js} +3 -3
  231. package/build/{index-a1657ef7.js → index-9a071994.js} +2 -2
  232. package/build/{index-56179009.js → index-9a6e0525.js} +6 -6
  233. package/build/{index-1e983dd8.js → index-9ab64574.js} +13 -13
  234. package/build/{index-f6e9d263.js → index-a57e350c.js} +6 -6
  235. package/build/{index-565abc24.js → index-a92a27aa.js} +1 -1
  236. package/build/{index-1b3f97a8.js → index-a9895c22.js} +1 -1
  237. package/build/{index-2ac115e3.js → index-ab4e125e.js} +15 -15
  238. package/build/{index-8f8f8f64.js → index-ab735fdb.js} +17 -17
  239. package/build/{index-ff3a5a51.js → index-ac683946.js} +31 -31
  240. package/build/{index-e675f3a8.js → index-aebe0ed6.js} +1 -1
  241. package/build/{index-0ccd763b.js → index-b0ab87dc.js} +24 -24
  242. package/build/{index-40247059.js → index-b429015a.js} +3 -3
  243. package/build/{index-25c93132.js → index-b59aa50a.js} +2 -2
  244. package/build/{index-5c87f309.js → index-b70528c5.js} +24 -24
  245. package/build/{index-e04fa64a.js → index-bb9e3f0c.js} +13 -13
  246. package/build/{index-1034f70f.js → index-bca8144d.js} +2 -2
  247. package/build/{index-6029a01b.js → index-be8338e5.js} +1 -1
  248. package/build/{index-1eb2ab08.js → index-c1f660ba.js} +13 -13
  249. package/build/{index-619a5616.js → index-c32c1710.js} +18 -18
  250. package/build/{index-bdea9c15.js → index-c526e5a0.js} +7 -7
  251. package/build/{index-aab9eb54.js → index-da32a950.js} +2 -2
  252. package/build/{index-6f8b7493.js → index-ec8b86ff.js} +1 -1
  253. package/build/{index-9ecb90ef.js → index-ed801983.js} +7 -7
  254. package/build/{index-ec7dad8d.js → index-ef70a0fc.js} +2 -2
  255. package/build/{index-26a751d1.js → index-f03d0f7c.js} +1 -1
  256. package/build/{index-cbe52605.js → index-f59e6e19.js} +3 -3
  257. package/build/{index-f71c2632.js → index-fb81913c.js} +1 -1
  258. package/build/{index-cbc9339c.js → index-ff0598b7.js} +2 -2
  259. package/build/index.js +113 -113
  260. package/build/{labelSorting-f9e8c405.js → labelSorting-a1ddad04.js} +4 -4
  261. package/build/lead/components/form/formContext.d.ts +3 -1
  262. package/build/lead/components/index.d.ts +3 -2
  263. package/build/lead/helpers.d.ts +2 -0
  264. package/build/lead/index.d.ts +2 -0
  265. package/build/lead/layouts/lightbox/formContext.d.ts +3 -1
  266. package/build/lead/layouts/lightbox/index.d.ts +3 -2
  267. package/build/lead/newLeadPopup.d.ts +3 -2
  268. package/build/lead.js +100 -64
  269. package/build/{logoIcon-a2804db9.js → logoIcon-62ea7888.js} +2 -2
  270. package/build/mantine.js +22 -22
  271. package/build/misc.js +16 -16
  272. package/build/miscGetDynamicHealthTool.js +4 -4
  273. package/build/miscGetSocialList.js +8 -8
  274. package/build/miscScreenSizeContext.js +1 -1
  275. package/build/mobileBottomNavigation.js +5 -5
  276. package/build/mobileBottomNavigationIcon.js +5 -5
  277. package/build/molecules.js +69 -69
  278. package/build/moleculesArticleCard.js +6 -6
  279. package/build/moleculesArticleCardV2.js +16 -16
  280. package/build/navigation.js +40 -40
  281. package/build/navigationLogoutPopup.js +9 -9
  282. package/build/navigationProfileButton.js +23 -23
  283. package/build/onboardingV2.js +28 -28
  284. package/build/organisms.js +44 -44
  285. package/build/{post-e9324c25.js → post-da330c9a.js} +2 -2
  286. package/build/profileNavigation.js +19 -19
  287. package/build/progressBar.js +1 -1
  288. package/build/pwg.js +22 -22
  289. package/build/ssoV2.js +25 -25
  290. package/build/{store-74a275aa.js → store-6f390003.js} +4 -4
  291. package/build/subot.js +32 -32
  292. package/build/surveyOrPremiumBanner.js +31 -31
  293. package/build/surveyQuestionCard.js +10 -10
  294. package/build/{surveyThankyouCard-a7b7d3e9.js → surveyThankyouCard-60dfc4d0.js} +5 -5
  295. package/build/together.js +53 -53
  296. package/build/togetherApiUtils.js +4 -4
  297. package/build/togetherAtoms.js +30 -30
  298. package/build/togetherComponentGlobalContext.js +4 -4
  299. package/build/togetherMolecules.js +48 -48
  300. package/build/togetherMoleculesCardAuthor.js +27 -27
  301. package/build/togetherMoleculesPostImagePreview.js +11 -11
  302. package/build/togetherMoleculesProfileDetail.js +37 -37
  303. package/build/togetherOrganisms.js +47 -47
  304. package/build/togetherRichTextEditor.js +17 -17
  305. package/build/togetherShareBox.js +10 -10
  306. package/build/{treePopoverMenu-f295eadb.js → treePopoverMenu-1b1d43d8.js} +19 -19
  307. package/build/{types-2a0bcd73.js → types-3d2ba988.js} +2 -2
  308. package/build/types.js +2 -2
  309. package/build/{useCategory-e9764e9e.js → useCategory-f9e58878.js} +5 -5
  310. package/build/{useHealthToolCache-22128a90.js → useHealthToolCache-1d60ec2e.js} +1 -1
  311. package/build/{useMantineLocale-1f3267ee.js → useMantineLocale-2e5d26bb.js} +6 -6
  312. package/build/{usePlacesAutocomplete-dbc4646f.js → usePlacesAutocomplete-9eefc12c.js} +1 -1
  313. package/build/{useScreenSize-829622f9.js → useScreenSize-3cfc3200.js} +2 -2
  314. package/build/useTogetherAuthRequiredAction.js +9 -9
  315. package/build/{utils-ca452207.js → utils-69096a54.js} +3 -3
  316. package/build/{utils-962e7eb5.js → utils-950be934.js} +2 -2
  317. package/build/{utils-54f5d5d6.js → utils-f3370e48.js} +2 -2
  318. package/build/vaccination.js +21 -21
  319. package/package.json +1 -1
  320. /package/build/{BMI_BOYS.percentile.monthly-954dccf0.js → BMI_BOYS.percentile.monthly-c9026230.js} +0 -0
  321. /package/build/{BMI_BOYS.percentile.weekly-f30ba705.js → BMI_BOYS.percentile.weekly-5252b126.js} +0 -0
  322. /package/build/{BMI_BOYS.percentile.yearly-2daea544.js → BMI_BOYS.percentile.yearly-b799f2d3.js} +0 -0
  323. /package/build/{BMI_BOYS.zscore.monthly-92a6e65e.js → BMI_BOYS.zscore.monthly-211f0a06.js} +0 -0
  324. /package/build/{BMI_BOYS.zscore.weekly-834f4ced.js → BMI_BOYS.zscore.weekly-69db0687.js} +0 -0
  325. /package/build/{BMI_BOYS.zscore.yearly-9cc8e8fd.js → BMI_BOYS.zscore.yearly-a090c84c.js} +0 -0
  326. /package/build/{BMI_GIRLS.percentile.monthly-698ac44b.js → BMI_GIRLS.percentile.monthly-1401f153.js} +0 -0
  327. /package/build/{BMI_GIRLS.percentile.weekly-062df9b3.js → BMI_GIRLS.percentile.weekly-3b1a6f76.js} +0 -0
  328. /package/build/{BMI_GIRLS.percentile.yearly-dc406020.js → BMI_GIRLS.percentile.yearly-60257db6.js} +0 -0
  329. /package/build/{BMI_GIRLS.zscore.monthly-5a24ea71.js → BMI_GIRLS.zscore.monthly-4c05b951.js} +0 -0
  330. /package/build/{BMI_GIRLS.zscore.weekly-6d1f91fc.js → BMI_GIRLS.zscore.weekly-a129cc78.js} +0 -0
  331. /package/build/{BMI_GIRLS.zscore.yearly-507fe396.js → BMI_GIRLS.zscore.yearly-2eb13f2b.js} +0 -0
  332. /package/build/{ChevronDown-7820ec61.js → ChevronDown-762bb54d.js} +0 -0
  333. /package/build/{Close-6a2ba15a.js → Close-7c7b8a60.js} +0 -0
  334. /package/build/{Google-f5f20be0.js → Google-cf8051ec.js} +0 -0
  335. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-5ba4c958.js → HEAD CIRCUM_BOYS.percentile.monthly-c9190883.js} +0 -0
  336. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-6dd20a60.js → HEAD CIRCUM_BOYS.percentile.weekly-f7094891.js} +0 -0
  337. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-d2cac553.js → HEAD CIRCUM_BOYS.percentile.yearly-22c5c4c6.js} +0 -0
  338. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-5739733c.js → HEAD CIRCUM_BOYS.zscore.monthly-5e9d9a6d.js} +0 -0
  339. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-abb49e95.js → HEAD CIRCUM_BOYS.zscore.weekly-3a9d50db.js} +0 -0
  340. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-30adac4a.js → HEAD CIRCUM_BOYS.zscore.yearly-c8dd1c5a.js} +0 -0
  341. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-624d5eda.js → HEAD CIRCUM_GIRLS.percentile.monthly-e7751a34.js} +0 -0
  342. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-b26469ff.js → HEAD CIRCUM_GIRLS.percentile.weekly-90016bde.js} +0 -0
  343. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-eb6fd80b.js → HEAD CIRCUM_GIRLS.percentile.yearly-2119ed6c.js} +0 -0
  344. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-09f79658.js → HEAD CIRCUM_GIRLS.zscore.monthly-6cf0c5fe.js} +0 -0
  345. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b07835a7.js → HEAD CIRCUM_GIRLS.zscore.weekly-040663a5.js} +0 -0
  346. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-3db48124.js → HEAD CIRCUM_GIRLS.zscore.yearly-1d989c8c.js} +0 -0
  347. /package/build/{HEIGHT_BOYS.percentile.monthly-1c768c4d.js → HEIGHT_BOYS.percentile.monthly-fabdef6f.js} +0 -0
  348. /package/build/{HEIGHT_BOYS.percentile.weekly-e9c01ed7.js → HEIGHT_BOYS.percentile.weekly-179a2e08.js} +0 -0
  349. /package/build/{HEIGHT_BOYS.percentile.yearly-a7e259a3.js → HEIGHT_BOYS.percentile.yearly-9748a2a4.js} +0 -0
  350. /package/build/{HEIGHT_BOYS.zscore.monthly-ff2071c3.js → HEIGHT_BOYS.zscore.monthly-912de6de.js} +0 -0
  351. /package/build/{HEIGHT_BOYS.zscore.weekly-e6cdd367.js → HEIGHT_BOYS.zscore.weekly-a3f2ca2d.js} +0 -0
  352. /package/build/{HEIGHT_BOYS.zscore.yearly-dfeed6aa.js → HEIGHT_BOYS.zscore.yearly-3e458659.js} +0 -0
  353. /package/build/{HEIGHT_GIRLS.percentile.monthly-a1bd4e9a.js → HEIGHT_GIRLS.percentile.monthly-82293120.js} +0 -0
  354. /package/build/{HEIGHT_GIRLS.percentile.weekly-edc25bbf.js → HEIGHT_GIRLS.percentile.weekly-284f635a.js} +0 -0
  355. /package/build/{HEIGHT_GIRLS.percentile.yearly-a7a96cbe.js → HEIGHT_GIRLS.percentile.yearly-6d96a83a.js} +0 -0
  356. /package/build/{HEIGHT_GIRLS.zscore.monthly-a2fa4bf5.js → HEIGHT_GIRLS.zscore.monthly-bf6f069a.js} +0 -0
  357. /package/build/{HEIGHT_GIRLS.zscore.weekly-b1ee6345.js → HEIGHT_GIRLS.zscore.weekly-f53d8ca7.js} +0 -0
  358. /package/build/{HEIGHT_GIRLS.zscore.yearly-b9b63a16.js → HEIGHT_GIRLS.zscore.yearly-bd71ef5f.js} +0 -0
  359. /package/build/{Locale-a02bbc2a.js → Locale-793d6e85.js} +0 -0
  360. /package/build/{Visible-b0b66c9d.js → Visible-592ce897.js} +0 -0
  361. /package/build/{WEIGHT_BOYS.percentile.monthly-d6a311b3.js → WEIGHT_BOYS.percentile.monthly-2c253cf7.js} +0 -0
  362. /package/build/{WEIGHT_BOYS.percentile.weekly-132f3b22.js → WEIGHT_BOYS.percentile.weekly-f2cd3778.js} +0 -0
  363. /package/build/{WEIGHT_BOYS.percentile.yearly-24f118f1.js → WEIGHT_BOYS.percentile.yearly-ee2856d3.js} +0 -0
  364. /package/build/{WEIGHT_BOYS.zscore.monthly-81b0fd10.js → WEIGHT_BOYS.zscore.monthly-4dbd858c.js} +0 -0
  365. /package/build/{WEIGHT_BOYS.zscore.weekly-38bcdea1.js → WEIGHT_BOYS.zscore.weekly-7ada3d0f.js} +0 -0
  366. /package/build/{WEIGHT_BOYS.zscore.yearly-6547309d.js → WEIGHT_BOYS.zscore.yearly-1dc8e2e7.js} +0 -0
  367. /package/build/{WEIGHT_GIRLS.percentile.monthly-bc8584aa.js → WEIGHT_GIRLS.percentile.monthly-ed0cea0f.js} +0 -0
  368. /package/build/{WEIGHT_GIRLS.percentile.weekly-619c6760.js → WEIGHT_GIRLS.percentile.weekly-2d1eae6c.js} +0 -0
  369. /package/build/{WEIGHT_GIRLS.percentile.yearly-18dd2b2e.js → WEIGHT_GIRLS.percentile.yearly-a0a625cb.js} +0 -0
  370. /package/build/{WEIGHT_GIRLS.zscore.monthly-c56e26ff.js → WEIGHT_GIRLS.zscore.monthly-5f842c3b.js} +0 -0
  371. /package/build/{WEIGHT_GIRLS.zscore.weekly-64fffb64.js → WEIGHT_GIRLS.zscore.weekly-52ecd67e.js} +0 -0
  372. /package/build/{WEIGHT_GIRLS.zscore.yearly-912edcc0.js → WEIGHT_GIRLS.zscore.yearly-4fc2b1d8.js} +0 -0
  373. /package/build/{animation-4d7ea86c.js → animation-40fec858.js} +0 -0
  374. /package/build/{constants-c01829ea.js → constants-2c9c6f6a.js} +0 -0
  375. /package/build/{constants-8b10b19d.js → constants-996c9153.js} +0 -0
  376. /package/build/{constants-e47a1e86.js → constants-a77e3cf9.js} +0 -0
  377. /package/build/{dataTransform-8bf74aab.js → dataTransform-b1892cd0.js} +0 -0
  378. /package/build/{doctor-08136eef.js → doctor-005c6b1e.js} +0 -0
  379. /package/build/esm/{BMI_BOYS.percentile.monthly-65bfaf32.js → BMI_BOYS.percentile.monthly-ad3a464a.js} +0 -0
  380. /package/build/esm/{BMI_BOYS.percentile.weekly-5eb329e2.js → BMI_BOYS.percentile.weekly-9544dc9b.js} +0 -0
  381. /package/build/esm/{BMI_BOYS.percentile.yearly-db070482.js → BMI_BOYS.percentile.yearly-b1b284f7.js} +0 -0
  382. /package/build/esm/{BMI_BOYS.zscore.monthly-087bfb31.js → BMI_BOYS.zscore.monthly-5e8dc64d.js} +0 -0
  383. /package/build/esm/{BMI_BOYS.zscore.weekly-388797af.js → BMI_BOYS.zscore.weekly-ddf5a8fe.js} +0 -0
  384. /package/build/esm/{BMI_BOYS.zscore.yearly-38cac998.js → BMI_BOYS.zscore.yearly-67a7361c.js} +0 -0
  385. /package/build/esm/{BMI_GIRLS.percentile.monthly-d6ebeacb.js → BMI_GIRLS.percentile.monthly-90d8c899.js} +0 -0
  386. /package/build/esm/{BMI_GIRLS.percentile.weekly-d84a53a7.js → BMI_GIRLS.percentile.weekly-bb2cd418.js} +0 -0
  387. /package/build/esm/{BMI_GIRLS.percentile.yearly-281fc04f.js → BMI_GIRLS.percentile.yearly-a9a941ce.js} +0 -0
  388. /package/build/esm/{BMI_GIRLS.zscore.monthly-86006aa6.js → BMI_GIRLS.zscore.monthly-6be0ce6a.js} +0 -0
  389. /package/build/esm/{BMI_GIRLS.zscore.weekly-43ccf401.js → BMI_GIRLS.zscore.weekly-1256aa6e.js} +0 -0
  390. /package/build/esm/{BMI_GIRLS.zscore.yearly-52a522b8.js → BMI_GIRLS.zscore.yearly-c64fa120.js} +0 -0
  391. /package/build/esm/{ChevronDown-da0beccb.js → ChevronDown-d6070c7b.js} +0 -0
  392. /package/build/esm/{Close-e79a04cc.js → Close-c6bd6842.js} +0 -0
  393. /package/build/esm/{Google-285fa3ae.js → Google-3f8caf44.js} +0 -0
  394. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-05bc6559.js → HEAD CIRCUM_BOYS.percentile.monthly-817f8181.js} +0 -0
  395. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-a73b144f.js → HEAD CIRCUM_BOYS.percentile.weekly-f17d79a4.js} +0 -0
  396. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-347aeb65.js → HEAD CIRCUM_BOYS.percentile.yearly-9430b9e8.js} +0 -0
  397. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-bc829992.js → HEAD CIRCUM_BOYS.zscore.monthly-5b394495.js} +0 -0
  398. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-f33d258a.js → HEAD CIRCUM_BOYS.zscore.weekly-830afb5d.js} +0 -0
  399. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-8537f596.js → HEAD CIRCUM_BOYS.zscore.yearly-9537ef1d.js} +0 -0
  400. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-5f9f57f9.js → HEAD CIRCUM_GIRLS.percentile.monthly-e14b85f2.js} +0 -0
  401. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-abf55b5b.js → HEAD CIRCUM_GIRLS.percentile.weekly-ad40e34d.js} +0 -0
  402. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-362af6f6.js → HEAD CIRCUM_GIRLS.percentile.yearly-b127477f.js} +0 -0
  403. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-45809109.js → HEAD CIRCUM_GIRLS.zscore.monthly-399b0847.js} +0 -0
  404. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-3ff25304.js → HEAD CIRCUM_GIRLS.zscore.weekly-5cef870e.js} +0 -0
  405. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-9ff36c49.js → HEAD CIRCUM_GIRLS.zscore.yearly-96b5bca5.js} +0 -0
  406. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-535672a5.js → HEIGHT_BOYS.percentile.monthly-a3d17fa2.js} +0 -0
  407. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-355bbb50.js → HEIGHT_BOYS.percentile.weekly-308d96cb.js} +0 -0
  408. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-0c66b3a8.js → HEIGHT_BOYS.percentile.yearly-006ecae4.js} +0 -0
  409. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-b896b3db.js → HEIGHT_BOYS.zscore.monthly-40a3a5f8.js} +0 -0
  410. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-9b9c43b9.js → HEIGHT_BOYS.zscore.weekly-22ec329e.js} +0 -0
  411. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-f98d61e1.js → HEIGHT_BOYS.zscore.yearly-8c616e52.js} +0 -0
  412. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-3d1c4b42.js → HEIGHT_GIRLS.percentile.monthly-c919c028.js} +0 -0
  413. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-3158dafb.js → HEIGHT_GIRLS.percentile.weekly-acfbddbb.js} +0 -0
  414. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-0ab836c1.js → HEIGHT_GIRLS.percentile.yearly-45a321e5.js} +0 -0
  415. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-55422516.js → HEIGHT_GIRLS.zscore.monthly-9328ba50.js} +0 -0
  416. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-76ef39ee.js → HEIGHT_GIRLS.zscore.weekly-5811b1bf.js} +0 -0
  417. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-7cb0421d.js → HEIGHT_GIRLS.zscore.yearly-b515924e.js} +0 -0
  418. /package/build/esm/{Locale-2342195e.js → Locale-a2d3574c.js} +0 -0
  419. /package/build/esm/{Visible-7bf25b68.js → Visible-729fc901.js} +0 -0
  420. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-2baff03a.js → WEIGHT_BOYS.percentile.monthly-bdcf6672.js} +0 -0
  421. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-aa69fd3e.js → WEIGHT_BOYS.percentile.weekly-eec2cd89.js} +0 -0
  422. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-359eea59.js → WEIGHT_BOYS.percentile.yearly-7cd733d7.js} +0 -0
  423. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-32168d19.js → WEIGHT_BOYS.zscore.monthly-3e15e5b6.js} +0 -0
  424. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-2fa3d21d.js → WEIGHT_BOYS.zscore.weekly-d31cae33.js} +0 -0
  425. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-855a52a0.js → WEIGHT_BOYS.zscore.yearly-8a4220ff.js} +0 -0
  426. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-2dc93062.js → WEIGHT_GIRLS.percentile.monthly-db2056e6.js} +0 -0
  427. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-68b43ec1.js → WEIGHT_GIRLS.percentile.weekly-0363948c.js} +0 -0
  428. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-1d60cab6.js → WEIGHT_GIRLS.percentile.yearly-22d8e9de.js} +0 -0
  429. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-0c16de7b.js → WEIGHT_GIRLS.zscore.monthly-4f43484a.js} +0 -0
  430. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-15816e9f.js → WEIGHT_GIRLS.zscore.weekly-d6d8394a.js} +0 -0
  431. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-443eb52e.js → WEIGHT_GIRLS.zscore.yearly-139c8601.js} +0 -0
  432. /package/build/esm/{animation-6e0cbd64.js → animation-f58883d7.js} +0 -0
  433. /package/build/esm/{constants-2cadb127.js → constants-0eb3f5d9.js} +0 -0
  434. /package/build/esm/{constants-11e4d3c2.js → constants-9b531976.js} +0 -0
  435. /package/build/esm/{constants-96119869.js → constants-b19e5be9.js} +0 -0
  436. /package/build/esm/{dataTransform-35e0f5ef.js → dataTransform-4491dffd.js} +0 -0
  437. /package/build/esm/{doctor-2d4b6823.js → doctor-5e918fee.js} +0 -0
  438. /package/build/esm/{index-b29d2819.js → index-0187f1dc.js} +0 -0
  439. /package/build/esm/{index-312b80e5.js → index-137ac4a5.js} +0 -0
  440. /package/build/esm/{index-f3277a5c.js → index-1546b05a.js} +0 -0
  441. /package/build/esm/{index-0518d529.js → index-3d7a6907.js} +0 -0
  442. /package/build/esm/{index-b05b9d7a.js → index-b3ba1174.js} +0 -0
  443. /package/build/esm/{index-521a997e.js → index-b9cb2d48.js} +0 -0
  444. /package/build/esm/{index-3a4052c7.js → index-e5e0bfac.js} +0 -0
  445. /package/build/esm/{index-bb8e1155.js → index-ed68165e.js} +0 -0
  446. /package/build/esm/{index-dcd89642.js → index-f624fb0a.js} +0 -0
  447. /package/build/esm/{index.styles-0fb6722d.js → index.styles-51544e61.js} +0 -0
  448. /package/build/esm/{localizeNumberFormat-3ab8c369.js → localizeNumberFormat-64cd0459.js} +0 -0
  449. /package/build/esm/{normalizeLink-cd53b9d6.js → normalizeLink-073ec4f2.js} +0 -0
  450. /package/build/esm/{other-6ba313a1.js → other-0cf1862c.js} +0 -0
  451. /package/build/esm/{paths-b05ee12a.js → paths-ba3b00e4.js} +0 -0
  452. /package/build/esm/{translationsContext-1afbf924.js → translationsContext-192a1040.js} +0 -0
  453. /package/build/esm/{tslib.es6-69e90f6a.js → tslib.es6-cccc76e0.js} +0 -0
  454. /package/build/esm/{types-247f9176.js → types-a4706035.js} +0 -0
  455. /package/build/esm/{useIsInit-959d29f5.js → useIsInit-e6d93f83.js} +0 -0
  456. /package/build/esm/{useOutsideClick-5f6e7dc6.js → useOutsideClick-43de19ec.js} +0 -0
  457. /package/build/esm/{useScrollbarSize-eeafb87f.js → useScrollbarSize-bae08f06.js} +0 -0
  458. /package/build/esm/{useUniqueId-8ea18781.js → useUniqueId-46693768.js} +0 -0
  459. /package/build/esm/{utils-fd96839b.js → utils-063dd9dd.js} +0 -0
  460. /package/build/{index-95dcdc49.js → index-1125df83.js} +0 -0
  461. /package/build/{index-f5793751.js → index-13776b2a.js} +0 -0
  462. /package/build/{index-819262c1.js → index-3196004a.js} +0 -0
  463. /package/build/{index-24ce8087.js → index-58ef2233.js} +0 -0
  464. /package/build/{index-f8d0223d.js → index-6dc8bed9.js} +0 -0
  465. /package/build/{index-5cf20542.js → index-ab231e16.js} +0 -0
  466. /package/build/{index-cec80035.js → index-acd2b48f.js} +0 -0
  467. /package/build/{index-be98edaf.js → index-e4ef821d.js} +0 -0
  468. /package/build/{index-67502390.js → index-e8bd0497.js} +0 -0
  469. /package/build/{index.styles-01fbdd8b.js → index.styles-26291edf.js} +0 -0
  470. /package/build/{localizeNumberFormat-34737d62.js → localizeNumberFormat-cbbb7475.js} +0 -0
  471. /package/build/{normalizeLink-510ecf87.js → normalizeLink-2d000342.js} +0 -0
  472. /package/build/{other-fac3524f.js → other-91e667b8.js} +0 -0
  473. /package/build/{paths-53476d41.js → paths-7ba92496.js} +0 -0
  474. /package/build/{translationsContext-62c8a5cd.js → translationsContext-e11b7296.js} +0 -0
  475. /package/build/{tslib.es6-12078094.js → tslib.es6-8fff20fe.js} +0 -0
  476. /package/build/{types-e9f79dcc.js → types-02fa4fe5.js} +0 -0
  477. /package/build/{useIsInit-1aa04459.js → useIsInit-ee675a60.js} +0 -0
  478. /package/build/{useOutsideClick-3cb22098.js → useOutsideClick-54aed178.js} +0 -0
  479. /package/build/{useScrollbarSize-ad85056f.js → useScrollbarSize-e6046ffa.js} +0 -0
  480. /package/build/{useUniqueId-12fc7e1b.js → useUniqueId-2cc89c93.js} +0 -0
  481. /package/build/{utils-495e1f78.js → utils-f0facde3.js} +0 -0
package/build/esm/lead.js CHANGED
@@ -1,44 +1,44 @@
1
- import { _ as __rest, a as __awaiter } from './tslib.es6-69e90f6a.js';
2
- import React__default, { createContext, useEffect, useMemo, useRef, useState, useContext, useCallback } from 'react';
1
+ import { _ as __rest, a as __awaiter } from './tslib.es6-cccc76e0.js';
2
+ import React__default, { createContext, useMemo, useEffect, useRef, useState, useContext, useCallback } from 'react';
3
3
  import { createStyles, Box, Autocomplete, clsx, Input as Input$1, TextInput, NumberInput as NumberInput$1, Button as Button$2, Portal, Transition, Overlay } from '@mantine/core';
4
4
  import dayjs from 'dayjs';
5
5
  import debounce from 'lodash/debounce';
6
6
  import { createFormContext } from '@mantine/form';
7
- import { u as useTranslations } from './index-edd98830.js';
8
- import { T as Text } from './index-c587e0f0.js';
9
- import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput } from './index-2e41ac6b.js';
10
- import { D as DatePicker } from './index-b0c80fc5.js';
11
- import { M as MAPPED_LOCALE } from './utils-063d5573.js';
7
+ import { u as useTranslations } from './index-181ba301.js';
8
+ import { T as TranslationsContext } from './translationsContext-192a1040.js';
9
+ import { getCookie, setCookie } from './miscCookieHelper.js';
10
+ import { b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-063dd9dd.js';
11
+ import { T as Text } from './index-d79a503e.js';
12
+ import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput } from './index-22a71643.js';
13
+ import { D as DatePicker } from './index-b5711004.js';
14
+ import { M as MAPPED_LOCALE } from './utils-d801c857.js';
12
15
  import '@mantine/dates';
13
- import { Z as ZINDEX_SSO } from './index-ac444850.js';
14
- import './index-067e0be1.js';
15
- import { C as CommonGAssets } from './index-3a4052c7.js';
16
- import './useMantineLocale-19c891e6.js';
17
- import { B as Button$1 } from './index-fd8aa171.js';
18
- import './index.styles-0fb6722d.js';
19
- import { T as TranslationsContext } from './translationsContext-1afbf924.js';
16
+ import { Z as ZINDEX_SSO } from './index-1fe65885.js';
17
+ import './index-c0153376.js';
18
+ import { C as CommonGAssets } from './index-e5e0bfac.js';
19
+ import './useMantineLocale-56e3c884.js';
20
+ import { B as Button$1 } from './index-cf6a4d8e.js';
21
+ import './index.styles-51544e61.js';
20
22
  import { useClickOutside } from '@mantine/hooks';
21
- import { b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-fd96839b.js';
22
- import './other-6ba313a1.js';
23
- import './index-8a426614.js';
24
- import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-8c4362e3.js';
25
- import { B as Button } from './index-67fadae7.js';
26
- import { H as Heading$1 } from './index-9c2c33dc.js';
23
+ import './other-0cf1862c.js';
24
+ import './index-16535663.js';
25
+ import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-d5787e8a.js';
26
+ import { B as Button } from './index-91207181.js';
27
+ import { H as Heading$1 } from './index-11fe1ee1.js';
27
28
  import { v1 } from 'uuid';
28
- import { i as isVideo } from './index-521a997e.js';
29
- import { D as DrawerComponent } from './index-36914dd0.js';
30
- import { u as useScreenSize } from './useScreenSize-fdb63765.js';
29
+ import { i as isVideo } from './index-b9cb2d48.js';
30
+ import { D as DrawerComponent } from './index-74d376d0.js';
31
+ import { u as useScreenSize } from './useScreenSize-365a2f86.js';
31
32
  import { createPortal } from 'react-dom';
32
33
  import { css } from '@emotion/react';
33
34
  import styled from '@emotion/styled';
34
35
  import { theme } from './miscTheme.js';
35
- import { getCookie, setCookie } from './miscCookieHelper.js';
36
- import { C as Close } from './Close-e79a04cc.js';
36
+ import { C as Close } from './Close-c6bd6842.js';
37
37
  import '@hhgtech/icons/other';
38
38
  import '@mantine/carousel';
39
- import './Locale-2342195e.js';
39
+ import './Locale-a2d3574c.js';
40
40
  import 'classnames';
41
- import './useUniqueId-8ea18781.js';
41
+ import './useUniqueId-46693768.js';
42
42
  import './constantsSite.js';
43
43
  import '@hhgtech/icons/core';
44
44
  import 'date-fns/locale';
@@ -135,6 +135,38 @@ const LEAD_TIMEZONE_DATA = {
135
135
  9: 'Asia/Manila', // Philippines / Filipinos Site
136
136
  };
137
137
 
138
+ const SSO_MAP_LEAD = ['name', 'email', 'birthday', 'phone', 'gender'];
139
+ const mappingSSOToLead = (userInfoProps) => {
140
+ if (!(userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps.id)) {
141
+ return null;
142
+ }
143
+ const user = {};
144
+ for (const ssoKey of SSO_MAP_LEAD) {
145
+ if (ssoKey in userInfoProps &&
146
+ typeof (userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps[ssoKey]) !== 'undefined') {
147
+ const initValue = userInfoProps[ssoKey];
148
+ if (ssoKey === 'birthday') {
149
+ const dob = dayjs(initValue, 'YYYY-MM-DD', true);
150
+ if (dob.isValid()) {
151
+ user.birthday = dob;
152
+ }
153
+ }
154
+ else if (ssoKey === 'gender') {
155
+ user.gender = initValue.toString();
156
+ }
157
+ else if (ssoKey === 'phone' &&
158
+ typeof (userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps['area_code']) !== 'undefined') {
159
+ const areaCode = userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps['area_code'];
160
+ user.phone = areaCode + initValue;
161
+ }
162
+ else {
163
+ user[ssoKey] = initValue;
164
+ }
165
+ }
166
+ }
167
+ return Object.values(user).length ? user : null;
168
+ };
169
+
138
170
  class Store {
139
171
  constructor() {
140
172
  this.apiLeadUrl = 'https://dev.leadgen.hellobacsi.com/';
@@ -353,8 +385,9 @@ const clearCacheUsedEmailOrPhone = () => {
353
385
 
354
386
  // You can give context variables any name
355
387
  const [LeadFormProvider$1, useLeadFormContext$1, useLeadForm$1] = createFormContext();
356
- const useLeadFormConfig$1 = ({ listBlockAdded = [], validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id = [], }) => {
388
+ const useLeadFormConfig$1 = ({ listBlockAdded = [], validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id = [], userInfo: userInfoProps, }) => {
357
389
  const { t } = useTranslations();
390
+ const userInfo = useMemo(() => mappingSSOToLead(userInfoProps), [userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps.id]);
358
391
  useEffect(() => {
359
392
  if (!window.intlTelInputUtils) {
360
393
  require('intl-tel-input/build/js/utils');
@@ -514,13 +547,14 @@ const useLeadFormConfig$1 = ({ listBlockAdded = [], validatingPhoneRef, validati
514
547
  validateInputOnChange: true,
515
548
  clearInputErrorOnChange: true,
516
549
  validate: validateObj,
550
+ initialValues: userInfo,
517
551
  });
518
552
  const formRef = useRef(form);
519
553
  formRef.current = form;
520
554
  return { form, validateObj };
521
555
  };
522
556
 
523
- const Component = ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, showThankyou, setShowThankyou, locale, children, showEmpty, setShowEmpty, }) => {
557
+ const Component = ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, showThankyou, setShowThankyou, locale, children, showEmpty, setShowEmpty, userInfo, }) => {
524
558
  var _a, _b;
525
559
  const extraFields = campaign.extra_fields;
526
560
  const campaignId = campaign.id;
@@ -538,6 +572,7 @@ const Component = ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, sh
538
572
  validatingEmailRef,
539
573
  campaignId,
540
574
  campaign_subot_id,
575
+ userInfo,
541
576
  });
542
577
  const [showOtpPhone, setShowOtpPhone] = useState(null);
543
578
  const [formRef, setFormRef] = useState(null);
@@ -1547,8 +1582,9 @@ const GoogleLocation = (props) => {
1547
1582
 
1548
1583
  // You can give context variables any name
1549
1584
  const [LeadFormProvider, useLeadFormContext, useLeadForm] = createFormContext();
1550
- const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id = [], }) => {
1585
+ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id = [], userInfo: userInfoProps, }) => {
1551
1586
  const { t } = useTranslations();
1587
+ const userInfo = useMemo(() => mappingSSOToLead(userInfoProps), [userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps.id]);
1552
1588
  const validateObj = useMemo(() => {
1553
1589
  const InputBlocks = [
1554
1590
  'TextBlock',
@@ -1704,6 +1740,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
1704
1740
  validateInputOnChange: true,
1705
1741
  clearInputErrorOnChange: true,
1706
1742
  validate: validateObj,
1743
+ initialValues: userInfo,
1707
1744
  });
1708
1745
  const formRef = useRef(form);
1709
1746
  formRef.current = form;
@@ -2053,7 +2090,7 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
2053
2090
  const formValues = form.values;
2054
2091
  return (React__default.createElement(React__default.Fragment, null, listBlockAdded.map((b, index) => {
2055
2092
  var _a;
2056
- const { name = '', data = {} } = b || {};
2093
+ const { name = '', data = {}, id } = b || {};
2057
2094
  const { placeholder, value, align, listQuestion, isSendMailChimp = false, newtab, url, } = data;
2058
2095
  const required = (_a = data.required) !== null && _a !== void 0 ? _a : true;
2059
2096
  const formValue = (formValues === null || formValues === void 0 ? void 0 : formValues[value]) || null;
@@ -2063,20 +2100,20 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
2063
2100
  case 'SubtitleBlock':
2064
2101
  return (React__default.createElement(SubtitleBlock, { key: index, align: align }, value));
2065
2102
  case 'TextBlock':
2066
- return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
2067
- React__default.createElement(TextInput, Object.assign({ key: index, withAsterisk: required, spellCheck: false, type: "text", placeholder: placeholder,
2103
+ return (React__default.createElement(TextField, { key: index, shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
2104
+ React__default.createElement(TextInput, Object.assign({ withAsterisk: required, spellCheck: false, type: "text", placeholder: placeholder,
2068
2105
  // className="lead-modal__form-control leadgen-form_field"
2069
2106
  // onChangeRaw={(e) => inputOnChange('text', e)}
2070
2107
  label: placeholder, "data-control": "text", name: value, inputWrapperOrder: ['label', 'input', 'description', 'error'] }, form.getInputProps(value)))));
2071
2108
  case 'NumberBlock':
2072
- return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
2073
- React__default.createElement(NumberInput$1, Object.assign({ key: index, withAsterisk: required, spellCheck: false, type: "number", placeholder: placeholder,
2109
+ return (React__default.createElement(TextField, { key: index, shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
2110
+ React__default.createElement(NumberInput$1, Object.assign({ withAsterisk: required, spellCheck: false, type: "number", placeholder: placeholder,
2074
2111
  // className="lead-modal__form-control leadgen-form_field"
2075
2112
  // onChange={(e) => inputOnChange('number', e)}
2076
2113
  label: placeholder, "data-control": "number", name: value, inputWrapperOrder: ['label', 'input', 'description', 'error'] }, form.getInputProps(value)))));
2077
2114
  case 'EmailBlock':
2078
- return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
2079
- React__default.createElement(TextInput, Object.assign({ key: index, withAsterisk: required, spellCheck: false,
2115
+ return (React__default.createElement(TextField, { key: index, shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
2116
+ React__default.createElement(TextInput, Object.assign({ withAsterisk: required, spellCheck: false,
2080
2117
  // type="email"
2081
2118
  placeholder: placeholder,
2082
2119
  // className="lead-modal__form-control leadgen-form_field"
@@ -2085,28 +2122,24 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
2085
2122
  case 'WhatsappOtpBlock':
2086
2123
  case 'ZaloOtpBlock':
2087
2124
  case 'PhoneBlock': {
2088
- const id = popupId + '-' + value + '-' + index;
2125
+ const htmlForId = popupId + '-' + value + '-' + index;
2089
2126
  const _b = form.getInputProps(value), { error } = _b, formPhoneInputWrapper = __rest(_b, ["error"]);
2090
- return (React__default.createElement(TextField, { shrink: !!formValue, className: clsx('lead-modal__form-control leadgen-form_field', {
2127
+ return (React__default.createElement(TextField, { key: index, shrink: !!formValue, className: clsx('lead-modal__form-control leadgen-form_field', {
2091
2128
  'leadgen-form_field_error': !!error,
2092
2129
  }) },
2093
- React__default.createElement(Input$1.Wrapper, Object.assign({ size: "md", withAsterisk: required, key: index, label: placeholder, "data-invalid": !!error, labelProps: {
2094
- htmlFor: id,
2095
- }, inputWrapperOrder: ['label', 'input', 'description', 'error'] }, formPhoneInputWrapper, { error: error }),
2130
+ React__default.createElement(Input$1.Wrapper, { size: "md", withAsterisk: required, label: placeholder, "data-invalid": !!error, labelProps: { htmlFor: htmlForId }, inputWrapperOrder: ['label', 'input', 'description', 'error'], error: error },
2096
2131
  React__default.createElement("div", { className: "mantine-Input-wrapper" },
2097
- React__default.createElement(Phone, { className: "mantine-Input-input", name: value, spellCheck: false, type: "tel", placeholder: placeholder, onChange: (v) => {
2098
- form.setFieldValue(value, v);
2099
- },
2132
+ React__default.createElement(Phone, Object.assign({ className: "mantine-Input-input", name: value, spellCheck: false, type: "tel", placeholder: placeholder,
2100
2133
  // onBlur={(e) => inputOnBlur('tel', e)}
2101
- id: id, defaultCountry: (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN'), "data-control": "tel" })))));
2134
+ id: htmlForId, defaultCountry: (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN'), "data-control": "tel" }, formPhoneInputWrapper))))));
2102
2135
  }
2103
2136
  case 'LocationBlock': {
2104
- return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
2105
- React__default.createElement(GoogleLocation, Object.assign({ withAsterisk: required, key: index, name: value, placeholder: placeholder, label: placeholder, "data-control": "text", locale: locale, inputWrapperOrder: ['label', 'input', 'description', 'error'] }, form.getInputProps(value)))));
2137
+ return (React__default.createElement(TextField, { key: index, shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
2138
+ React__default.createElement(GoogleLocation, Object.assign({ withAsterisk: required, name: value, placeholder: placeholder, label: placeholder, "data-control": "text", locale: locale, inputWrapperOrder: ['label', 'input', 'description', 'error'] }, form.getInputProps(value)))));
2106
2139
  }
2107
2140
  case 'DateBlock':
2108
- return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
2109
- React__default.createElement(DatePicker, Object.assign({ clearable: true, withAsterisk: required, key: index, type: "default", name: value, placeholder: placeholder, label: placeholder, inputWrapperOrder: ['label', 'input', 'description', 'error'], inputContainer: (children) => {
2141
+ return (React__default.createElement(TextField, { key: index, shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
2142
+ React__default.createElement(DatePicker, Object.assign({ clearable: true, withAsterisk: required, type: "default", name: value, placeholder: placeholder, label: placeholder, inputWrapperOrder: ['label', 'input', 'description', 'error'], inputContainer: (children) => {
2110
2143
  return (React__default.createElement(React__default.Fragment, null,
2111
2144
  children,
2112
2145
  React__default.createElement("input", { type: "hidden", "data-control": "date", name: value, value: formValue })));
@@ -2119,13 +2152,13 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
2119
2152
  onOtherSubmit === null || onOtherSubmit === void 0 ? void 0 : onOtherSubmit();
2120
2153
  } }, value))));
2121
2154
  case 'CheckboxBlock':
2122
- return (React__default.createElement(ChoiceField, { className: "leadgen-form_checkbox" },
2155
+ return (React__default.createElement(ChoiceField, { className: "leadgen-form_checkbox", key: index },
2123
2156
  isSendMailChimp && (React__default.createElement("div", { style: {
2124
2157
  display: 'none',
2125
2158
  }, "data-name": value + '-mailchimp' })),
2126
2159
  React__default.createElement(Checkbox.Group, Object.assign({ withAsterisk: required,
2127
2160
  // className="lead-modal__form-control leadgen-form_field"
2128
- key: index, label: placeholder, size: "md", sx: {
2161
+ label: placeholder, size: "md", sx: {
2129
2162
  display: 'flex',
2130
2163
  flexDirection: 'column',
2131
2164
  flexWrap: 'wrap',
@@ -2134,27 +2167,29 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
2134
2167
  return (React__default.createElement("div", { className: "leadgen-choiceContainer" }, children));
2135
2168
  } }, form.getInputProps(value)), listQuestion.map((l, _index) => (React__default.createElement(Checkbox, { name: value, key: _index, value: l.value, label: l.placeholder, "data-control": "checkbox" }))))));
2136
2169
  case 'RadioBlock':
2137
- return (React__default.createElement(ChoiceField, { className: "leadgen-form_radio" },
2170
+ return (React__default.createElement(ChoiceField, { className: "leadgen-form_radio", key: index },
2138
2171
  isSendMailChimp && (React__default.createElement(Input$1, { type: "hidden", name: value + '-mailchimp', value: isSendMailChimp })),
2139
2172
  React__default.createElement(Radio.Group, Object.assign({ withAsterisk: required,
2140
2173
  // className="lead-modal__form-control leadgen-form_field"
2141
- key: index, label: placeholder, size: "md", inputWrapperOrder: ['label', 'input', 'description', 'error'], inputContainer: (children) => {
2174
+ label: placeholder, size: "md", inputWrapperOrder: ['label', 'input', 'description', 'error'], inputContainer: (children) => {
2142
2175
  return (React__default.createElement("div", { className: "leadgen-choiceContainer" }, children));
2143
2176
  } }, form.getInputProps(value)), listQuestion.map((l, _index) => (React__default.createElement(Radio, { name: value, key: _index, value: l.value, label: l.placeholder, "data-control": "radio" }))))));
2144
2177
  case 'DropdownBlock':
2145
- return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
2178
+ return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field", key: index },
2146
2179
  React__default.createElement("div", { style: { display: 'none' }, "data-extra": true, "data-name": value, "data-control": 'dropdown' }),
2147
- React__default.createElement(Select, Object.assign({ key: index,
2180
+ React__default.createElement(Select
2181
+ // className="lead-modal__form-control leadgen-form_field"
2182
+ , Object.assign({
2148
2183
  // className="lead-modal__form-control leadgen-form_field"
2149
2184
  label: placeholder, placeholder: placeholder, withAsterisk: required, name: value, data: listQuestion.map((l) => ({
2150
2185
  value: l.value,
2151
2186
  label: l.placeholder,
2152
2187
  })) }, form.getInputProps(value)))));
2153
2188
  case 'TncBlock':
2154
- const _c = form.getInputProps(`TNC-${b.id}`), { error } = _c, tncInputProps = __rest(_c, ["error"]);
2155
- return (React__default.createElement(ChoiceField, { className: "leadgen-form_checkbox" },
2189
+ const _c = form.getInputProps(`TNC-${id}`), { error } = _c, tncInputProps = __rest(_c, ["error"]);
2190
+ return (React__default.createElement(ChoiceField, { className: "leadgen-form_checkbox", key: id },
2156
2191
  React__default.createElement(Input$1.Wrapper, { error: error },
2157
- React__default.createElement(Checkbox, Object.assign({ name: 'TNC-' + b.id, key: b.id, label: React__default.createElement("p", { className: "lead-modal__tnc-link", dangerouslySetInnerHTML: { __html: data.valueHTML } }), className: "tnc-block", "data-control": "checkbox" }, tncInputProps)))));
2192
+ React__default.createElement(Checkbox, Object.assign({ name: 'TNC-' + id, label: React__default.createElement("p", { className: "lead-modal__tnc-link", dangerouslySetInnerHTML: { __html: data.valueHTML } }), className: "tnc-block", "data-control": "checkbox" }, tncInputProps)))));
2158
2193
  }
2159
2194
  return null;
2160
2195
  })));
@@ -2298,7 +2333,7 @@ const EmptyIcon = (props) => {
2298
2333
  // image: campaignShow.image
2299
2334
  // imageDestkop: campaignShow.image_desktop
2300
2335
  const LEADGEN_LIMIT_LIGHTBOXB = 6;
2301
- const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, showThankyou, campaignId, campaign_subot_id, locale, showEmpty, setShowEmpty, }) => {
2336
+ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, showThankyou, campaignId, campaign_subot_id, locale, showEmpty, setShowEmpty, userInfo, }) => {
2302
2337
  var _a, _b, _c;
2303
2338
  const { t } = useTranslations();
2304
2339
  const { isMobile } = useScreenSize();
@@ -2366,6 +2401,7 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
2366
2401
  validatingEmailRef,
2367
2402
  campaignId,
2368
2403
  campaign_subot_id,
2404
+ userInfo,
2369
2405
  });
2370
2406
  const middlewareOnSubmit = (e) => {
2371
2407
  e.preventDefault();
@@ -3006,7 +3042,7 @@ function getCategoryLevel(t = 'Xin chao {{category_2}} extra') {
3006
3042
  return null;
3007
3043
  }
3008
3044
  }
3009
- const NewLeadPopup = ({ campaign, action, onSubmit, onClose, showThankyou, locale, showEmpty, setShowEmpty, }) => {
3045
+ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, showThankyou, locale, showEmpty, setShowEmpty, userInfo, }) => {
3010
3046
  var _a, _b;
3011
3047
  const { apiUrl, siteDomain } = useContext(LeadGenContext);
3012
3048
  useEffect(() => {
@@ -3125,7 +3161,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, showThankyou, local
3125
3161
  currentLayout == 'Fullscreen' ||
3126
3162
  currentLayout == 'Sidebar' ||
3127
3163
  currentLayout == 'Slider') {
3128
- return (React__default.createElement(LightboxLayout, { popupId: popupIdRef.current, extraFields: extra_fields, onClose: onClose, onOtherSubmit: onOtherSubmit, imageMobile: image, imageDesktop: image_desktop, imageBackground: image_background, currentLayout: currentLayout, title: titleText, onSubmit: (form, values) => onSubmit(form, values, categoryLevel, categoryData), key: currentLayout, imageOverlayDesktop: image_overlay_desktop, imageOverlayMobile: image_overlay_mobile, showThankyou: showThankyou, campaignId: campaign.id, campaign_subot_id: campaign.bot_id || [], locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty }));
3164
+ return (React__default.createElement(LightboxLayout, { popupId: popupIdRef.current, extraFields: extra_fields, onClose: onClose, onOtherSubmit: onOtherSubmit, imageMobile: image, imageDesktop: image_desktop, imageBackground: image_background, currentLayout: currentLayout, title: titleText, onSubmit: (form, values) => onSubmit(form, values, categoryLevel, categoryData), key: currentLayout, imageOverlayDesktop: image_overlay_desktop, imageOverlayMobile: image_overlay_mobile, showThankyou: showThankyou, campaignId: campaign.id, campaign_subot_id: campaign.bot_id || [], locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo }));
3129
3165
  }
3130
3166
  else if (currentLayout.includes('Skin')) {
3131
3167
  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 }));
@@ -3134,7 +3170,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, showThankyou, local
3134
3170
  };
3135
3171
 
3136
3172
  // mount css
3137
- const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl, DEBUG_URL, forceCampaign, children, extraPayloadValues = [], excludeExitRulesHandler, }) => {
3173
+ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl, DEBUG_URL, forceCampaign, children, extraPayloadValues = [], excludeExitRulesHandler, userInfo, }) => {
3138
3174
  var _a;
3139
3175
  const scrollEventHandlerRef = useRef();
3140
3176
  const leadStartTimeRef = useRef(Date.now());
@@ -3402,7 +3438,7 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl,
3402
3438
  }
3403
3439
  }, [showCampaign]);
3404
3440
  return (React__default.createElement(LeadGenContext.Provider, { value: { apiUrl, siteDomain, siteId, locale } },
3405
- React__default.createElement(TranslationsContext.Provider, { value: { locale, values: getTranslations(locale) } }, children ? (React__default.createElement(Component, { campaign: showCampaign, onSubmit: onSubmit, onClose: onClose, showThankyou: showThankyou, setShowThankyou: setShowThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty }, children)) : (React__default.createElement(Portal, { target: getPopupWrapperDom() },
3441
+ React__default.createElement(TranslationsContext.Provider, { value: { locale, values: getTranslations(locale) } }, children ? (React__default.createElement(Component, { campaign: showCampaign, onSubmit: onSubmit, onClose: onClose, showThankyou: showThankyou, setShowThankyou: setShowThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo }, children)) : (React__default.createElement(Portal, { target: getPopupWrapperDom() },
3406
3442
  React__default.createElement(Box, { sx: { position: 'fixed', zIndex: ZINDEX_SSO - 9e6 } },
3407
3443
  React__default.createElement(Transition, { mounted: Boolean(((_a = showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields) === null || _a === void 0 ? void 0 : _a.popupVersion) === '2.1'), transition: "fade", duration: 600, timingFunction: "ease" }, (styles) => {
3408
3444
  var _a;
@@ -3410,7 +3446,7 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl,
3410
3446
  !!showCampaign.extra_fields.currentLayout &&
3411
3447
  !showCampaign.extra_fields.currentLayout.includes('Inline') &&
3412
3448
  !showCampaign.extra_fields.currentLayout.includes('Sidebar') && (React__default.createElement(Overlay, { color: "#000", opacity: 0.6, center: true, zIndex: 400, pos: 'fixed', onClick: () => onClose() })),
3413
- React__default.createElement(NewLeadPopup, { campaign: showCampaign, action: action, onSubmit: onSubmit, onClose: onClose, showThankyou: showThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty })))));
3449
+ React__default.createElement(NewLeadPopup, { campaign: showCampaign, action: action, onSubmit: onSubmit, onClose: onClose, showThankyou: showThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo })))));
3414
3450
  })))))));
3415
3451
  };
3416
3452
  const LeadGen = _LeadGen;
@@ -1,6 +1,6 @@
1
1
  import React__default, { memo, useMemo } from 'react';
2
- import { C as CommonGAssets } from './index-3a4052c7.js';
3
- import { I as ImageWrap } from './useScreenSize-fdb63765.js';
2
+ import { C as CommonGAssets } from './index-e5e0bfac.js';
3
+ import { I as ImageWrap } from './useScreenSize-365a2f86.js';
4
4
 
5
5
  const _LogoIcon = ({ type, width, height }) => {
6
6
  const data = useMemo(() => {
@@ -1,43 +1,43 @@
1
- import { g as getMantineThemeOverride, h as StyledTextArea, D as DEBOUNCED_TIME, i as StyledSliderWrapper, j as StyledSlider } from './index-2e41ac6b.js';
2
- export { k as Accordion, A as Anchor, b as AspectRatio, a as Avatar, B as Breadcrumbs, l as Carousel, c as CentralCarousel, d as Checkbox, e as ChipButton, I as Input, O as OTP, P as Phone, n as Popover, R as Radio, S as Select, m as emotionCache, g as getMantineThemeOverride, t as themeColors } from './index-2e41ac6b.js';
3
- export { D as DatePicker } from './index-b0c80fc5.js';
4
- export { T as Text } from './index-c587e0f0.js';
5
- import { B as Button } from './index-fd8aa171.js';
6
- export { B as Button } from './index-fd8aa171.js';
7
- export { I as Indicator } from './index-2d69c8bb.js';
1
+ import { g as getMantineThemeOverride, h as StyledTextArea, D as DEBOUNCED_TIME, i as StyledSliderWrapper, j as StyledSlider } from './index-22a71643.js';
2
+ export { k as Accordion, A as Anchor, b as AspectRatio, a as Avatar, B as Breadcrumbs, l as Carousel, c as CentralCarousel, d as Checkbox, e as ChipButton, I as Input, O as OTP, P as Phone, n as Popover, R as Radio, S as Select, m as emotionCache, g as getMantineThemeOverride, t as themeColors } from './index-22a71643.js';
3
+ export { D as DatePicker } from './index-b5711004.js';
4
+ export { T as Text } from './index-d79a503e.js';
5
+ import { B as Button } from './index-cf6a4d8e.js';
6
+ export { B as Button } from './index-cf6a4d8e.js';
7
+ export { I as Indicator } from './index-c4e86881.js';
8
8
  import React__default, { useState, useEffect } from 'react';
9
- export { M as Modal } from './index-85708071.js';
10
- import { _ as __rest } from './tslib.es6-69e90f6a.js';
9
+ export { M as Modal } from './index-9899804c.js';
10
+ import { _ as __rest } from './tslib.es6-cccc76e0.js';
11
11
  import { MantineProvider as MantineProvider$1, Badge as Badge$1, LoadingOverlay as LoadingOverlay$1, clsx, Title, Text, Button as Button$1 } from '@mantine/core';
12
12
  import { theme } from './miscTheme.js';
13
- export { S as Spoiler } from './index-91a2eccf.js';
13
+ export { S as Spoiler } from './index-7a9d96ab.js';
14
14
  import { useDebouncedValue } from '@mantine/hooks';
15
- export { S as Switch } from './index-b05b9d7a.js';
16
- import { u as useMantineLocale, N as NotificationsHandler } from './useMantineLocale-19c891e6.js';
17
- export { M as MAPPED_LOCALE, g as getHeadingStyles, s as showNotification, u as useMantineLocale } from './useMantineLocale-19c891e6.js';
18
- export { O as OTHER_THEME_CONFIG } from './other-6ba313a1.js';
19
- export { T as Tabs } from './index-8a426614.js';
15
+ export { S as Switch } from './index-b3ba1174.js';
16
+ import { u as useMantineLocale, N as NotificationsHandler } from './useMantineLocale-56e3c884.js';
17
+ export { M as MAPPED_LOCALE, g as getHeadingStyles, s as showNotification, u as useMantineLocale } from './useMantineLocale-56e3c884.js';
18
+ export { O as OTHER_THEME_CONFIG } from './other-0cf1862c.js';
19
+ export { T as Tabs } from './index-16535663.js';
20
20
  import '@hhgtech/icons/other';
21
- import './index-3a4052c7.js';
21
+ import './index-e5e0bfac.js';
22
22
  import './constantsDomainLocales.js';
23
- import './Locale-2342195e.js';
23
+ import './Locale-a2d3574c.js';
24
24
  import './constantsIsProduction.js';
25
- import './useScreenSize-fdb63765.js';
25
+ import './useScreenSize-365a2f86.js';
26
26
  import '@emotion/styled';
27
- import './utils-fd96839b.js';
27
+ import './utils-063dd9dd.js';
28
28
  import '@mantine/carousel';
29
- import './index-067e0be1.js';
30
- import './index-ac444850.js';
29
+ import './index-c0153376.js';
30
+ import './index-1fe65885.js';
31
31
  import 'date-fns/locale';
32
32
  import './constantsSite.js';
33
33
  import './constantsRiskScreener.js';
34
34
  import 'classnames';
35
- import './useUniqueId-8ea18781.js';
35
+ import './useUniqueId-46693768.js';
36
36
  import '@hhgtech/icons/core';
37
37
  import '@mantine/dates';
38
- import './index.styles-0fb6722d.js';
39
- import './index-edd98830.js';
40
- import './translationsContext-1afbf924.js';
38
+ import './index.styles-51544e61.js';
39
+ import './index-181ba301.js';
40
+ import './translationsContext-192a1040.js';
41
41
  import '@mantine/notifications';
42
42
  import 'dayjs';
43
43
 
package/build/esm/misc.js CHANGED
@@ -1,34 +1,34 @@
1
- export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-3ab8c369.js';
2
- export { h as fadeIn, a as slideInDown, b as slideInLeft, c as slideInRight, s as slideInUp, e as slideOutDown, f as slideOutLeft, g as slideOutRight, d as slideOutUp } from './animation-6e0cbd64.js';
1
+ export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-64cd0459.js';
2
+ export { h as fadeIn, a as slideInDown, b as slideInLeft, c as slideInRight, s as slideInUp, e as slideOutDown, f as slideOutLeft, g as slideOutRight, d as slideOutUp } from './animation-f58883d7.js';
3
3
  export { deleteCookie, getCookie, setCookie } from './miscCookieHelper.js';
4
4
  import 'react';
5
5
  import '@mantine/core';
6
- import './useMantineLocale-19c891e6.js';
7
- import './index-067e0be1.js';
8
- import './index-3a4052c7.js';
6
+ import './useMantineLocale-56e3c884.js';
7
+ import './index-c0153376.js';
8
+ import './index-e5e0bfac.js';
9
9
  export { MBTheme, theme } from './miscTheme.js';
10
- export { B as Breakpoints, M as MediaQueries, S as Screens, f as formatUrlWithPageParam, g as getBoundariesFromMediaQueryKey, a as getPopupWrapperDom, b as getWrapperDomWithSelector, m as makeParams, c as safeEncodeURI, s as startCase, t as toggleNoScroll } from './utils-fd96839b.js';
11
- import './index-ac444850.js';
12
- export { a as abbreviateNumber, f as formatPill } from './dataTransform-35e0f5ef.js';
13
- export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './normalizeLink-cd53b9d6.js';
10
+ export { B as Breakpoints, M as MediaQueries, S as Screens, f as formatUrlWithPageParam, g as getBoundariesFromMediaQueryKey, a as getPopupWrapperDom, b as getWrapperDomWithSelector, m as makeParams, c as safeEncodeURI, s as startCase, t as toggleNoScroll } from './utils-063dd9dd.js';
11
+ import './index-1fe65885.js';
12
+ export { a as abbreviateNumber, f as formatPill } from './dataTransform-4491dffd.js';
13
+ export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './normalizeLink-073ec4f2.js';
14
14
  export { formatHealthTool, getDynamicHealthTool, getDynamicHealthToolWithCache } from './miscGetDynamicHealthTool.js';
15
15
  export { getSocialList } from './miscGetSocialList.js';
16
16
  export { ScreenSizeContext, ScreenSizeContextProvider, getWindowSizeGroups } from './miscScreenSizeContext.js';
17
17
  import 'dayjs';
18
18
  import '@emotion/react';
19
- import './tslib.es6-69e90f6a.js';
19
+ import './tslib.es6-cccc76e0.js';
20
20
  import '@mantine/notifications';
21
- import './other-6ba313a1.js';
22
- import './Locale-2342195e.js';
21
+ import './other-0cf1862c.js';
22
+ import './Locale-a2d3574c.js';
23
23
  import './constantsDomainLocales.js';
24
24
  import './constantsIsProduction.js';
25
25
  import 'date-fns/locale';
26
26
  import './constantsSite.js';
27
27
  import './constantsRiskScreener.js';
28
- import './core-938ff907.js';
29
- import './WhatsApp-0d9155f4.js';
30
- import './index-8591b22e.js';
31
- import './index-bb8e1155.js';
28
+ import './core-e4b10fbc.js';
29
+ import './WhatsApp-a3850483.js';
30
+ import './index-33028e24.js';
31
+ import './index-ed68165e.js';
32
32
  import 'js-cookie';
33
33
  import 'uuid';
34
34
  import 'lodash/throttle';
@@ -1,8 +1,8 @@
1
- import { a as __awaiter } from './tslib.es6-69e90f6a.js';
2
- import { e as normalizeLinkSlash, c as getDiscoverApiDomain } from './normalizeLink-cd53b9d6.js';
3
- import { g as getDataWithCache } from './core-938ff907.js';
1
+ import { a as __awaiter } from './tslib.es6-cccc76e0.js';
2
+ import { e as normalizeLinkSlash, c as getDiscoverApiDomain } from './normalizeLink-073ec4f2.js';
3
+ import { g as getDataWithCache } from './core-e4b10fbc.js';
4
4
  import './constantsDomainLocales.js';
5
- import './Locale-2342195e.js';
5
+ import './Locale-a2d3574c.js';
6
6
  import './constantsIsProduction.js';
7
7
 
8
8
  const formatHealthTool = (healthTool, locale) => {
@@ -1,12 +1,12 @@
1
1
  import React__default from 'react';
2
- import { _ as __rest } from './tslib.es6-69e90f6a.js';
3
- import { W as WhatsApp, I as Instagram } from './WhatsApp-0d9155f4.js';
4
- import { S as SocialType } from './index-067e0be1.js';
5
- import { g as getHelloSitesUrl } from './index-8591b22e.js';
6
- import { C as CommonGAssets } from './index-3a4052c7.js';
7
- import { L as LOCALE } from './Locale-2342195e.js';
8
- import './index-bb8e1155.js';
9
- import './index-ac444850.js';
2
+ import { _ as __rest } from './tslib.es6-cccc76e0.js';
3
+ import { W as WhatsApp, I as Instagram } from './WhatsApp-a3850483.js';
4
+ import { S as SocialType } from './index-c0153376.js';
5
+ import { g as getHelloSitesUrl } from './index-33028e24.js';
6
+ import { C as CommonGAssets } from './index-e5e0bfac.js';
7
+ import { L as LOCALE } from './Locale-a2d3574c.js';
8
+ import './index-ed68165e.js';
9
+ import './index-1fe65885.js';
10
10
  import 'date-fns/locale';
11
11
  import './constantsSite.js';
12
12
  import './constantsDomainLocales.js';
@@ -1,6 +1,6 @@
1
1
  import React__default, { createContext, useState, useEffect, useMemo } from 'react';
2
2
  import throttle from 'lodash/throttle';
3
- import { B as Breakpoints } from './utils-fd96839b.js';
3
+ import { B as Breakpoints } from './utils-063dd9dd.js';
4
4
 
5
5
  const ScreenSizeContext = createContext({
6
6
  isInit: true,
@@ -1,13 +1,13 @@
1
- import { _ as __rest } from './tslib.es6-69e90f6a.js';
1
+ import { _ as __rest } from './tslib.es6-cccc76e0.js';
2
2
  import React__default from 'react';
3
- import { M as MobileBottomNavigationIcon, S as StyledMobileBottomNavigation } from './MobileBottomNavigationIcon-8944ece4.js';
4
- import './index-c587e0f0.js';
3
+ import { M as MobileBottomNavigationIcon, S as StyledMobileBottomNavigation } from './MobileBottomNavigationIcon-8f873887.js';
4
+ import './index-d79a503e.js';
5
5
  import '@mantine/core';
6
- import './other-6ba313a1.js';
6
+ import './other-0cf1862c.js';
7
7
  import './miscTheme.js';
8
8
  import '@emotion/react';
9
9
  import '@emotion/styled';
10
- import './utils-fd96839b.js';
10
+ import './utils-063dd9dd.js';
11
11
 
12
12
  const MobileBottomNavigationWrapper = (_a) => {
13
13
  var { children, isCollapsed = false, template = 'homepage' } = _a, rest = __rest(_a, ["children", "isCollapsed", "template"]);
@@ -1,10 +1,10 @@
1
- import './tslib.es6-69e90f6a.js';
1
+ import './tslib.es6-cccc76e0.js';
2
2
  import 'react';
3
- import './index-c587e0f0.js';
3
+ import './index-d79a503e.js';
4
4
  import './miscTheme.js';
5
- export { M as MobileBottomNavigationIcon } from './MobileBottomNavigationIcon-8944ece4.js';
5
+ export { M as MobileBottomNavigationIcon } from './MobileBottomNavigationIcon-8f873887.js';
6
6
  import '@mantine/core';
7
- import './other-6ba313a1.js';
7
+ import './other-0cf1862c.js';
8
8
  import '@emotion/react';
9
9
  import '@emotion/styled';
10
- import './utils-fd96839b.js';
10
+ import './utils-063dd9dd.js';