@hhgtech/hhg-components 1.28.80 → 1.28.82

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 (289) hide show
  1. package/build/adapters.js +14 -14
  2. package/build/babyGrowth.js +77 -77
  3. package/build/cache.js +3 -3
  4. package/build/care.js +17 -17
  5. package/build/components/molecules/index.d.ts +1 -0
  6. package/build/components/molecules/sideBannerModal/index.d.ts +1 -1
  7. package/build/components.js +56 -55
  8. package/build/{constants-bd8afa18.js → constants-856e5cfa.js} +2 -2
  9. package/build/{constants-3479888e.js → constants-e609d3aa.js} +2 -2
  10. package/build/constants.js +3 -3
  11. package/build/{core-22367a27.js → core-7a417965.js} +2 -2
  12. package/build/{dataTransform-29cc3dd2.js → dataTransform-a6b6db85.js} +1 -1
  13. package/build/ecom.js +6 -6
  14. package/build/esm/adapters.js +14 -14
  15. package/build/esm/babyGrowth.js +78 -78
  16. package/build/esm/cache.js +3 -3
  17. package/build/esm/care.js +17 -17
  18. package/build/esm/components/molecules/index.d.ts +1 -0
  19. package/build/esm/components/molecules/sideBannerModal/index.d.ts +1 -1
  20. package/build/esm/components.js +55 -55
  21. package/build/esm/{constants-004f080a.js → constants-a4edd7d4.js} +2 -2
  22. package/build/esm/{constants-d53f9101.js → constants-c68921ad.js} +2 -2
  23. package/build/esm/constants.js +3 -3
  24. package/build/esm/{core-7e4b4d85.js → core-6f705325.js} +2 -2
  25. package/build/esm/{dataTransform-bf6753e4.js → dataTransform-98fc7d07.js} +1 -1
  26. package/build/esm/ecom.js +6 -6
  27. package/build/esm/footer.js +19 -19
  28. package/build/esm/gAssets.js +4 -4
  29. package/build/esm/{getDynamicHealthTool-296bc3be.js → getDynamicHealthTool-2e414236.js} +4 -4
  30. package/build/esm/{getSocialList-2ebfcd4a.js → getSocialList-ac6ab172.js} +2 -2
  31. package/build/esm/hooks.js +17 -17
  32. package/build/esm/i18n.js +2 -2
  33. package/build/esm/i18nV2.js +2 -2
  34. package/build/esm/{index-5849268c.js → index-0ea13007.js} +9 -9
  35. package/build/esm/{index-f98bf91e.js → index-18bc2581.js} +2 -2
  36. package/build/esm/{index-c6b43ed7.js → index-199900d8.js} +9 -9
  37. package/build/esm/{index-b42b746d.js → index-20f6146f.js} +3 -3
  38. package/build/esm/{index-76a63956.js → index-2913b846.js} +5 -5
  39. package/build/esm/{index-ce7d88c1.js → index-3424d88f.js} +3 -3
  40. package/build/esm/{index-77f900fd.js → index-34dd9d03.js} +10 -10
  41. package/build/esm/{index-992d5b21.js → index-416d63fd.js} +9 -9
  42. package/build/esm/{index-cf62426e.js → index-4c23d612.js} +4 -4
  43. package/build/esm/{index-2516c87e.js → index-69996b24.js} +4 -4
  44. package/build/esm/{index-991703e4.js → index-69a4bf84.js} +2 -2
  45. package/build/esm/{index-9964165a.js → index-880f23aa.js} +1 -1
  46. package/build/esm/{index-27cc65d4.js → index-9944f682.js} +29 -29
  47. package/build/esm/{index-78b15ede.js → index-a1bc5cef.js} +2 -2
  48. package/build/esm/{index-39528b9b.js → index-ab41f48a.js} +1 -1
  49. package/build/esm/{index-98cf27df.js → index-b6c0642e.js} +6 -6
  50. package/build/esm/{index-22221342.js → index-c1dd06de.js} +2 -2
  51. package/build/esm/{index-8573ee56.js → index-c497ec47.js} +2 -2
  52. package/build/esm/{index-97d0e5e4.js → index-d366ac6a.js} +2 -2
  53. package/build/esm/{index-bb6a15db.js → index-d81506d4.js} +2 -2
  54. package/build/esm/{index-14587dbf.js → index-da990c66.js} +10 -10
  55. package/build/esm/{index-dc60f279.js → index-ea3e9832.js} +46 -46
  56. package/build/esm/{index-e329bfff.js → index-eb2c3d5f.js} +2 -2
  57. package/build/esm/{index-d5783ce8.js → index-f5028458.js} +4 -4
  58. package/build/esm/{index-d108d803.js → index-f8cbb5f5.js} +13 -13
  59. package/build/esm/index.js +63 -63
  60. package/build/esm/{index.styled-938c9e2d.js → index.styled-80ce9adc.js} +2 -2
  61. package/build/esm/{index.styles-cf0b32a3.js → index.styles-4d5d1da6.js} +5 -5
  62. package/build/esm/lead/components/context.d.ts +4 -1
  63. package/build/esm/lead/components/form/index.d.ts +6 -1
  64. package/build/esm/lead/components/otpBlock/index.d.ts +1 -3
  65. package/build/esm/lead/components/otpBlock/index.styles.d.ts +2 -0
  66. package/build/esm/lead/components/thankyou.d.ts +1 -1
  67. package/build/esm/lead.js +74 -65
  68. package/build/esm/mantine.js +19 -19
  69. package/build/esm/misc.js +17 -17
  70. package/build/esm/navigation.js +34 -34
  71. package/build/esm/onboardingV2.js +29 -29
  72. package/build/esm/pwg.js +18 -18
  73. package/build/esm/{routing-8faaacea.js → routing-2fb52661.js} +2 -2
  74. package/build/esm/subot.js +20 -20
  75. package/build/esm/together.js +33 -33
  76. package/build/esm/{types-9f020bf6.js → types-9e24ccdb.js} +29 -29
  77. package/build/esm/{types-a4e6af19.js → types-e19f512d.js} +13 -13
  78. package/build/esm/types.js +1 -1
  79. package/build/esm/{useCategory-b525a974.js → useCategory-224febff.js} +5 -5
  80. package/build/esm/{useHealthToolCache-f6dcb4d8.js → useHealthToolCache-df59d7d3.js} +2 -2
  81. package/build/esm/{usePlacesAutocomplete-e14d1036.js → usePlacesAutocomplete-00d81b47.js} +1 -1
  82. package/build/esm/{useTranslations-a559a7a5.js → useTranslations-8e74d957.js} +1 -1
  83. package/build/esm/{utils-a88682f9.js → utils-370db6e4.js} +4 -4
  84. package/build/esm/{utils-8cfab824.js → utils-6b797d8b.js} +5 -5
  85. package/build/esm/{utils-93eb13e7.js → utils-d768df29.js} +1 -1
  86. package/build/esm/vaccination.js +24 -24
  87. package/build/footer.js +19 -19
  88. package/build/gAssets.js +4 -4
  89. package/build/{getDynamicHealthTool-fe550923.js → getDynamicHealthTool-5d218518.js} +4 -4
  90. package/build/{getSocialList-28b8aa45.js → getSocialList-9363d7d2.js} +2 -2
  91. package/build/hooks.js +17 -17
  92. package/build/i18n.js +1 -1
  93. package/build/i18nV2.js +1 -1
  94. package/build/{index-8c630d76.js → index-0c2eb08e.js} +4 -4
  95. package/build/{index-76bb520c.js → index-1a7828e5.js} +2 -2
  96. package/build/{index-17f9a72f.js → index-212d0092.js} +2 -2
  97. package/build/{index-a84eedaa.js → index-2ca767e3.js} +1 -1
  98. package/build/{index-d02a1631.js → index-2ed3e77a.js} +6 -6
  99. package/build/{index-1cc3b628.js → index-31b77d45.js} +3 -3
  100. package/build/{index-96b9585a.js → index-35077d88.js} +9 -9
  101. package/build/{index-90b4cf6b.js → index-459d6ad4.js} +10 -10
  102. package/build/{index-a511db2b.js → index-55fda92e.js} +9 -9
  103. package/build/{index-a2785ada.js → index-57571b29.js} +2 -2
  104. package/build/{index-50a331ae.js → index-614ae445.js} +2 -2
  105. package/build/{index-05304b9b.js → index-6bdde1aa.js} +4 -4
  106. package/build/{index-f77accef.js → index-7001d84b.js} +9 -9
  107. package/build/{index-88286df3.js → index-715d5d30.js} +29 -29
  108. package/build/{index-c194972d.js → index-8e5eb06c.js} +10 -10
  109. package/build/{index-830cfc43.js → index-91330e5c.js} +13 -13
  110. package/build/{index-8d87268c.js → index-9d203d6b.js} +3 -3
  111. package/build/{index-a3d460fa.js → index-9e6a0e2d.js} +2 -2
  112. package/build/{index-a79982f7.js → index-ae2b7f10.js} +2 -2
  113. package/build/{index-72a41d2b.js → index-b0eb606c.js} +5 -5
  114. package/build/{index-14226ab2.js → index-b8c8e986.js} +46 -45
  115. package/build/{index-958f67bb.js → index-cd2d590a.js} +2 -2
  116. package/build/{index-a909db6f.js → index-d4d22c6d.js} +2 -2
  117. package/build/{index-d7aea2d0.js → index-d511a66e.js} +1 -1
  118. package/build/{index-e3b0bdb0.js → index-fab5b061.js} +4 -4
  119. package/build/index.js +64 -63
  120. package/build/{index.styled-2ad9b370.js → index.styled-9cfaad5a.js} +2 -2
  121. package/build/{index.styles-2705c1b1.js → index.styles-3ff5fc4e.js} +5 -5
  122. package/build/lead/components/context.d.ts +4 -1
  123. package/build/lead/components/form/index.d.ts +6 -1
  124. package/build/lead/components/otpBlock/index.d.ts +1 -3
  125. package/build/lead/components/otpBlock/index.styles.d.ts +2 -0
  126. package/build/lead/components/thankyou.d.ts +1 -1
  127. package/build/lead.js +74 -65
  128. package/build/mantine.js +17 -17
  129. package/build/misc.js +17 -17
  130. package/build/navigation.js +34 -34
  131. package/build/onboardingV2.js +28 -28
  132. package/build/pwg.js +18 -18
  133. package/build/{routing-46b3def0.js → routing-1f3a386d.js} +2 -2
  134. package/build/subot.js +20 -20
  135. package/build/together.js +33 -33
  136. package/build/{types-55014b2c.js → types-808399ec.js} +29 -29
  137. package/build/{types-03e001c9.js → types-d1e7d2cd.js} +13 -13
  138. package/build/types.js +1 -1
  139. package/build/{useCategory-54dfd7ee.js → useCategory-f14a025e.js} +5 -5
  140. package/build/{useHealthToolCache-a5a6585a.js → useHealthToolCache-4e156651.js} +2 -2
  141. package/build/{usePlacesAutocomplete-c73d655f.js → usePlacesAutocomplete-152d2e73.js} +1 -1
  142. package/build/{useTranslations-ee85619b.js → useTranslations-b53041be.js} +1 -1
  143. package/build/{utils-d583cd84.js → utils-0697210e.js} +4 -4
  144. package/build/{utils-da97b7ae.js → utils-7fee6f4f.js} +5 -5
  145. package/build/{utils-8aee541d.js → utils-b2499923.js} +1 -1
  146. package/build/vaccination.js +24 -24
  147. package/package.json +1 -1
  148. /package/build/{BMI_BOYS.percentile.monthly-34095f55.js → BMI_BOYS.percentile.monthly-6745bd00.js} +0 -0
  149. /package/build/{BMI_BOYS.percentile.weekly-b843a333.js → BMI_BOYS.percentile.weekly-15b8a685.js} +0 -0
  150. /package/build/{BMI_BOYS.percentile.yearly-db0f25db.js → BMI_BOYS.percentile.yearly-05b09586.js} +0 -0
  151. /package/build/{BMI_BOYS.zscore.monthly-36793c3e.js → BMI_BOYS.zscore.monthly-e0439d83.js} +0 -0
  152. /package/build/{BMI_BOYS.zscore.weekly-92df605a.js → BMI_BOYS.zscore.weekly-9c9ab20c.js} +0 -0
  153. /package/build/{BMI_BOYS.zscore.yearly-33a1c871.js → BMI_BOYS.zscore.yearly-98e441a5.js} +0 -0
  154. /package/build/{BMI_GIRLS.percentile.monthly-4bf16f7d.js → BMI_GIRLS.percentile.monthly-d0f52fdb.js} +0 -0
  155. /package/build/{BMI_GIRLS.percentile.weekly-3bb97e2c.js → BMI_GIRLS.percentile.weekly-689a5430.js} +0 -0
  156. /package/build/{BMI_GIRLS.percentile.yearly-5ff7d694.js → BMI_GIRLS.percentile.yearly-c96aebb1.js} +0 -0
  157. /package/build/{BMI_GIRLS.zscore.monthly-3be0d0e3.js → BMI_GIRLS.zscore.monthly-a1e3575e.js} +0 -0
  158. /package/build/{BMI_GIRLS.zscore.weekly-6d5c73b8.js → BMI_GIRLS.zscore.weekly-5e8e0403.js} +0 -0
  159. /package/build/{BMI_GIRLS.zscore.yearly-c16c2b7a.js → BMI_GIRLS.zscore.yearly-469995d5.js} +0 -0
  160. /package/build/{ChevronDown-00b6c45c.js → ChevronDown-cda9bf0a.js} +0 -0
  161. /package/build/{Close-b7a203d1.js → Close-cc2a81fe.js} +0 -0
  162. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-5783abde.js → HEAD CIRCUM_BOYS.percentile.monthly-02b13051.js} +0 -0
  163. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-69accc9b.js → HEAD CIRCUM_BOYS.percentile.weekly-cd9180c8.js} +0 -0
  164. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-6f716357.js → HEAD CIRCUM_BOYS.percentile.yearly-0385cc0e.js} +0 -0
  165. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-740d8a88.js → HEAD CIRCUM_BOYS.zscore.monthly-badc9013.js} +0 -0
  166. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-75a83e4e.js → HEAD CIRCUM_BOYS.zscore.weekly-94a57c6f.js} +0 -0
  167. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-beacfadd.js → HEAD CIRCUM_BOYS.zscore.yearly-3317caa6.js} +0 -0
  168. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-4e9309e8.js → HEAD CIRCUM_GIRLS.percentile.monthly-a988c504.js} +0 -0
  169. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-8456b0af.js → HEAD CIRCUM_GIRLS.percentile.weekly-61039650.js} +0 -0
  170. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-6bf9c34f.js → HEAD CIRCUM_GIRLS.percentile.yearly-b2ba0c63.js} +0 -0
  171. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-561c12d7.js → HEAD CIRCUM_GIRLS.zscore.monthly-5a4c819f.js} +0 -0
  172. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-27b56db8.js → HEAD CIRCUM_GIRLS.zscore.weekly-4e5eeef7.js} +0 -0
  173. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e571dc07.js → HEAD CIRCUM_GIRLS.zscore.yearly-b0516b76.js} +0 -0
  174. /package/build/{HEIGHT_BOYS.percentile.monthly-52109c85.js → HEIGHT_BOYS.percentile.monthly-0739e69e.js} +0 -0
  175. /package/build/{HEIGHT_BOYS.percentile.weekly-be6e5b1c.js → HEIGHT_BOYS.percentile.weekly-e97c8bcd.js} +0 -0
  176. /package/build/{HEIGHT_BOYS.percentile.yearly-3712519c.js → HEIGHT_BOYS.percentile.yearly-3797c55e.js} +0 -0
  177. /package/build/{HEIGHT_BOYS.zscore.monthly-3ae90dec.js → HEIGHT_BOYS.zscore.monthly-26ce46b0.js} +0 -0
  178. /package/build/{HEIGHT_BOYS.zscore.weekly-96915a5d.js → HEIGHT_BOYS.zscore.weekly-49b44c47.js} +0 -0
  179. /package/build/{HEIGHT_BOYS.zscore.yearly-a3361503.js → HEIGHT_BOYS.zscore.yearly-ef4fab92.js} +0 -0
  180. /package/build/{HEIGHT_GIRLS.percentile.monthly-d5d14ae4.js → HEIGHT_GIRLS.percentile.monthly-10191e5a.js} +0 -0
  181. /package/build/{HEIGHT_GIRLS.percentile.weekly-88d86966.js → HEIGHT_GIRLS.percentile.weekly-0aa58fd2.js} +0 -0
  182. /package/build/{HEIGHT_GIRLS.percentile.yearly-00fab771.js → HEIGHT_GIRLS.percentile.yearly-eb32fe40.js} +0 -0
  183. /package/build/{HEIGHT_GIRLS.zscore.monthly-6c2eeff3.js → HEIGHT_GIRLS.zscore.monthly-797902b8.js} +0 -0
  184. /package/build/{HEIGHT_GIRLS.zscore.weekly-7619a61a.js → HEIGHT_GIRLS.zscore.weekly-3d5098a5.js} +0 -0
  185. /package/build/{HEIGHT_GIRLS.zscore.yearly-122a294d.js → HEIGHT_GIRLS.zscore.yearly-54a6658d.js} +0 -0
  186. /package/build/{Subot-a11a4e5b.js → Subot-f130357f.js} +0 -0
  187. /package/build/{Visible-c9b6d1c1.js → Visible-a822251f.js} +0 -0
  188. /package/build/{WEIGHT_BOYS.percentile.monthly-01c99b0d.js → WEIGHT_BOYS.percentile.monthly-5a5f60ad.js} +0 -0
  189. /package/build/{WEIGHT_BOYS.percentile.weekly-76f8bd4a.js → WEIGHT_BOYS.percentile.weekly-27c44340.js} +0 -0
  190. /package/build/{WEIGHT_BOYS.percentile.yearly-c41a4d02.js → WEIGHT_BOYS.percentile.yearly-c4d02863.js} +0 -0
  191. /package/build/{WEIGHT_BOYS.zscore.monthly-04465ae9.js → WEIGHT_BOYS.zscore.monthly-95b0a782.js} +0 -0
  192. /package/build/{WEIGHT_BOYS.zscore.weekly-fac29a95.js → WEIGHT_BOYS.zscore.weekly-913bd7a2.js} +0 -0
  193. /package/build/{WEIGHT_BOYS.zscore.yearly-66eb62c0.js → WEIGHT_BOYS.zscore.yearly-67f369ed.js} +0 -0
  194. /package/build/{WEIGHT_GIRLS.percentile.monthly-97e796d5.js → WEIGHT_GIRLS.percentile.monthly-8e324c2a.js} +0 -0
  195. /package/build/{WEIGHT_GIRLS.percentile.weekly-908cfdb5.js → WEIGHT_GIRLS.percentile.weekly-43ab6239.js} +0 -0
  196. /package/build/{WEIGHT_GIRLS.percentile.yearly-0e313840.js → WEIGHT_GIRLS.percentile.yearly-30c34edc.js} +0 -0
  197. /package/build/{WEIGHT_GIRLS.zscore.monthly-2497ec51.js → WEIGHT_GIRLS.zscore.monthly-f4651b73.js} +0 -0
  198. /package/build/{WEIGHT_GIRLS.zscore.weekly-45deda67.js → WEIGHT_GIRLS.zscore.weekly-65bbf27f.js} +0 -0
  199. /package/build/{WEIGHT_GIRLS.zscore.yearly-28b55590.js → WEIGHT_GIRLS.zscore.yearly-2612060b.js} +0 -0
  200. /package/build/{animation-1621b827.js → animation-2c02cea6.js} +0 -0
  201. /package/build/{cookieHelper-115e3b7b.js → cookieHelper-e8f1d4ca.js} +0 -0
  202. /package/build/esm/{BMI_BOYS.percentile.monthly-f22300a8.js → BMI_BOYS.percentile.monthly-478f7f3f.js} +0 -0
  203. /package/build/esm/{BMI_BOYS.percentile.weekly-0916c196.js → BMI_BOYS.percentile.weekly-a035b281.js} +0 -0
  204. /package/build/esm/{BMI_BOYS.percentile.yearly-1958e38b.js → BMI_BOYS.percentile.yearly-ee8fb9c4.js} +0 -0
  205. /package/build/esm/{BMI_BOYS.zscore.monthly-70d4e86e.js → BMI_BOYS.zscore.monthly-a29df186.js} +0 -0
  206. /package/build/esm/{BMI_BOYS.zscore.weekly-d75f7e4a.js → BMI_BOYS.zscore.weekly-2907cf20.js} +0 -0
  207. /package/build/esm/{BMI_BOYS.zscore.yearly-1930de04.js → BMI_BOYS.zscore.yearly-83eb5470.js} +0 -0
  208. /package/build/esm/{BMI_GIRLS.percentile.monthly-e1df5f5d.js → BMI_GIRLS.percentile.monthly-04b685d2.js} +0 -0
  209. /package/build/esm/{BMI_GIRLS.percentile.weekly-0dab6bc5.js → BMI_GIRLS.percentile.weekly-644f44c7.js} +0 -0
  210. /package/build/esm/{BMI_GIRLS.percentile.yearly-e90dd797.js → BMI_GIRLS.percentile.yearly-37f9159e.js} +0 -0
  211. /package/build/esm/{BMI_GIRLS.zscore.monthly-e5c49595.js → BMI_GIRLS.zscore.monthly-45aede75.js} +0 -0
  212. /package/build/esm/{BMI_GIRLS.zscore.weekly-de23cfec.js → BMI_GIRLS.zscore.weekly-83d84a16.js} +0 -0
  213. /package/build/esm/{BMI_GIRLS.zscore.yearly-157d5f16.js → BMI_GIRLS.zscore.yearly-a2e371cf.js} +0 -0
  214. /package/build/esm/{ChevronDown-dba8fc93.js → ChevronDown-25d97522.js} +0 -0
  215. /package/build/esm/{Close-4ca83dfd.js → Close-ad5271bd.js} +0 -0
  216. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-ba646a48.js → HEAD CIRCUM_BOYS.percentile.monthly-39f7dea1.js} +0 -0
  217. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-88bcf790.js → HEAD CIRCUM_BOYS.percentile.weekly-4753700e.js} +0 -0
  218. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-197b10a1.js → HEAD CIRCUM_BOYS.percentile.yearly-579dd4a5.js} +0 -0
  219. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-e8492701.js → HEAD CIRCUM_BOYS.zscore.monthly-a3a80bb3.js} +0 -0
  220. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-fdd39166.js → HEAD CIRCUM_BOYS.zscore.weekly-23883af0.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b9f25c32.js → HEAD CIRCUM_BOYS.zscore.yearly-48ebc1da.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-c5c9838b.js → HEAD CIRCUM_GIRLS.percentile.monthly-f0622e96.js} +0 -0
  223. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-c511c542.js → HEAD CIRCUM_GIRLS.percentile.weekly-a7c5a923.js} +0 -0
  224. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-71243cc4.js → HEAD CIRCUM_GIRLS.percentile.yearly-c987a711.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-584142c2.js → HEAD CIRCUM_GIRLS.zscore.monthly-65ee644f.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-58c12477.js → HEAD CIRCUM_GIRLS.zscore.weekly-10412c59.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-f5df2c91.js → HEAD CIRCUM_GIRLS.zscore.yearly-9716b9f9.js} +0 -0
  228. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-70bda395.js → HEIGHT_BOYS.percentile.monthly-162bc9ae.js} +0 -0
  229. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-30c20803.js → HEIGHT_BOYS.percentile.weekly-63833f06.js} +0 -0
  230. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-5bbf1dac.js → HEIGHT_BOYS.percentile.yearly-8fd62ad1.js} +0 -0
  231. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e0538785.js → HEIGHT_BOYS.zscore.monthly-ab722d41.js} +0 -0
  232. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-eb71c990.js → HEIGHT_BOYS.zscore.weekly-448fff44.js} +0 -0
  233. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-4dc9859f.js → HEIGHT_BOYS.zscore.yearly-4886d420.js} +0 -0
  234. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e414e4c7.js → HEIGHT_GIRLS.percentile.monthly-496e2935.js} +0 -0
  235. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-1b851c3e.js → HEIGHT_GIRLS.percentile.weekly-425774fd.js} +0 -0
  236. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-b5d7f6d3.js → HEIGHT_GIRLS.percentile.yearly-970d75e8.js} +0 -0
  237. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-11d155a8.js → HEIGHT_GIRLS.zscore.monthly-270ac1b1.js} +0 -0
  238. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-5d495735.js → HEIGHT_GIRLS.zscore.weekly-e5de0b4d.js} +0 -0
  239. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-be736caf.js → HEIGHT_GIRLS.zscore.yearly-e2e60741.js} +0 -0
  240. /package/build/esm/{Subot-7661c139.js → Subot-ca654c1b.js} +0 -0
  241. /package/build/esm/{Visible-d824de49.js → Visible-6e4afbf0.js} +0 -0
  242. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-9c5b188e.js → WEIGHT_BOYS.percentile.monthly-e0fcac23.js} +0 -0
  243. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-0fa721f6.js → WEIGHT_BOYS.percentile.weekly-514d4b64.js} +0 -0
  244. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-c8a70cab.js → WEIGHT_BOYS.percentile.yearly-48b08c31.js} +0 -0
  245. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-21d3428e.js → WEIGHT_BOYS.zscore.monthly-27e3740e.js} +0 -0
  246. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-4c58352b.js → WEIGHT_BOYS.zscore.weekly-4aa09bd5.js} +0 -0
  247. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-d4dd6ebb.js → WEIGHT_BOYS.zscore.yearly-1828441d.js} +0 -0
  248. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-cd2ca8d6.js → WEIGHT_GIRLS.percentile.monthly-b18ee90c.js} +0 -0
  249. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-bd2e8484.js → WEIGHT_GIRLS.percentile.weekly-0c8d5195.js} +0 -0
  250. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-4079fc0b.js → WEIGHT_GIRLS.percentile.yearly-ac32f5d0.js} +0 -0
  251. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-314c62fd.js → WEIGHT_GIRLS.zscore.monthly-8c1dea60.js} +0 -0
  252. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-b5e5c0f4.js → WEIGHT_GIRLS.zscore.weekly-4dad35f0.js} +0 -0
  253. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-3ebbf40b.js → WEIGHT_GIRLS.zscore.yearly-69d86386.js} +0 -0
  254. /package/build/esm/{animation-9a852d86.js → animation-2b85e352.js} +0 -0
  255. /package/build/esm/{cookieHelper-fb2f4bf7.js → cookieHelper-795649fa.js} +0 -0
  256. /package/build/esm/{index-f408e111.js → index-43c2ac74.js} +0 -0
  257. /package/build/esm/{index-11c2da20.js → index-673b6dc4.js} +0 -0
  258. /package/build/esm/{index-cf296b7d.js → index-a1c2e515.js} +0 -0
  259. /package/build/esm/{isProduction-a14c0289.js → isProduction-923861f3.js} +0 -0
  260. /package/build/esm/{localizeNumberFormat-7ad2018e.js → localizeNumberFormat-232e3b6b.js} +0 -0
  261. /package/build/esm/{normalizeLink-b27ea7f7.js → normalizeLink-36522d1f.js} +0 -0
  262. /package/build/esm/{number-c4673157.js → number-c939d6ee.js} +0 -0
  263. /package/build/esm/{paths-24a48d7a.js → paths-687c1085.js} +0 -0
  264. /package/build/esm/{theme-b8e10c2e.js → theme-e0983a03.js} +0 -0
  265. /package/build/esm/{translationsContext-a710bd79.js → translationsContext-f6ca9a8f.js} +0 -0
  266. /package/build/esm/{tslib.es6-2581561d.js → tslib.es6-3874b31b.js} +0 -0
  267. /package/build/esm/{types-d56b59d0.js → types-e7a49024.js} +0 -0
  268. /package/build/esm/{useIsInit-5759a12c.js → useIsInit-14a2a8b6.js} +0 -0
  269. /package/build/esm/{useOutsideClick-0cd449b6.js → useOutsideClick-14c0077e.js} +0 -0
  270. /package/build/esm/{useScrollbarSize-9a2c88e8.js → useScrollbarSize-9d7373fd.js} +0 -0
  271. /package/build/esm/{useUniqueId-4d87b935.js → useUniqueId-d10943a0.js} +0 -0
  272. /package/build/esm/{utils-ad80dd9a.js → utils-49823a14.js} +0 -0
  273. /package/build/{index-306faebb.js → index-79266f6d.js} +0 -0
  274. /package/build/{index-5f30931a.js → index-81a02e46.js} +0 -0
  275. /package/build/{index-7aff6c39.js → index-c475966d.js} +0 -0
  276. /package/build/{isProduction-253f0a63.js → isProduction-b98e94b0.js} +0 -0
  277. /package/build/{localizeNumberFormat-691759ff.js → localizeNumberFormat-0749e483.js} +0 -0
  278. /package/build/{normalizeLink-289e65d5.js → normalizeLink-860ee4cd.js} +0 -0
  279. /package/build/{number-97ef064d.js → number-2419341f.js} +0 -0
  280. /package/build/{paths-a793ca70.js → paths-85f921c5.js} +0 -0
  281. /package/build/{theme-3069f85a.js → theme-99d60665.js} +0 -0
  282. /package/build/{translationsContext-09f33cc8.js → translationsContext-17a2f0f9.js} +0 -0
  283. /package/build/{tslib.es6-05775979.js → tslib.es6-e55862b5.js} +0 -0
  284. /package/build/{types-ab2e9e82.js → types-786e65ba.js} +0 -0
  285. /package/build/{useIsInit-91ab8916.js → useIsInit-d47a099d.js} +0 -0
  286. /package/build/{useOutsideClick-e32b8474.js → useOutsideClick-b533a142.js} +0 -0
  287. /package/build/{useScrollbarSize-3e2d19c9.js → useScrollbarSize-14541366.js} +0 -0
  288. /package/build/{useUniqueId-3b22c3ca.js → useUniqueId-bf6075d3.js} +0 -0
  289. /package/build/{utils-f7881466.js → utils-72403c5b.js} +0 -0
package/build/esm/lead.js CHANGED
@@ -1,45 +1,45 @@
1
- import { _ as __rest, a as __awaiter } from './tslib.es6-2581561d.js';
1
+ import { _ as __rest, a as __awaiter } from './tslib.es6-3874b31b.js';
2
2
  import React__default, { createContext, useMemo, useRef, useState, useEffect, useContext } from 'react';
3
3
  import debounce from 'lodash/debounce';
4
4
  import { createFormContext } from '@mantine/form';
5
- import { u as useTranslations } from './useTranslations-a559a7a5.js';
6
- import { T as Text } from './index-39528b9b.js';
5
+ import { u as useTranslations } from './useTranslations-8e74d957.js';
6
+ import { T as Text } from './index-ab41f48a.js';
7
7
  import { createStyles, Box, Portal, Transition, Overlay } from '@mantine/core';
8
- import './index.styles-cf0b32a3.js';
9
- import { S as Select, d as Checkbox, c as Input, R as Radio, P as Phone, N as NumberInput, B as Button$1 } from './index-14587dbf.js';
10
- import { B as Button } from './index-78b15ede.js';
11
- import { C as CommonGAssets } from './index-97d0e5e4.js';
12
- import './constants-d53f9101.js';
13
- import './Subot-7661c139.js';
14
- import './utils-a88682f9.js';
15
- import { b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-ad80dd9a.js';
16
- import { D as DatePicker } from './index-76a63956.js';
17
- import { t as theme } from './theme-b8e10c2e.js';
18
- import { T as TranslationsContext } from './translationsContext-a710bd79.js';
8
+ import './index.styles-4d5d1da6.js';
9
+ import { S as Select, d as Checkbox, c as Input, R as Radio, P as Phone, N as NumberInput, B as Button$1 } from './index-da990c66.js';
10
+ import { B as Button } from './index-a1bc5cef.js';
11
+ import { C as CommonGAssets } from './index-d366ac6a.js';
12
+ import './constants-c68921ad.js';
13
+ import './Subot-ca654c1b.js';
14
+ import './utils-370db6e4.js';
15
+ import { b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-49823a14.js';
16
+ import { D as DatePicker } from './index-2913b846.js';
17
+ import { t as theme } from './theme-e0983a03.js';
18
+ import { T as TranslationsContext } from './translationsContext-f6ca9a8f.js';
19
19
  import 'string-format';
20
20
  import '@mantine/hooks';
21
- import './index-e329bfff.js';
22
- import './utils-8cfab824.js';
23
- import './index.styled-938c9e2d.js';
24
- import './index-11c2da20.js';
25
- import { M as MAPPED_LOCALE } from './utils-93eb13e7.js';
21
+ import './index-eb2c3d5f.js';
22
+ import './utils-6b797d8b.js';
23
+ import './index.styled-80ce9adc.js';
24
+ import './index-673b6dc4.js';
25
+ import { M as MAPPED_LOCALE } from './utils-d768df29.js';
26
26
  import '@mantine/dates';
27
- import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-e14d1036.js';
28
- import { H as Heading$1 } from './index-f98bf91e.js';
27
+ import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-00d81b47.js';
28
+ import { H as Heading$1 } from './index-18bc2581.js';
29
29
  import { v1 } from 'uuid';
30
30
  import { createPortal } from 'react-dom';
31
- import { g as getCookie, s as setCookie } from './cookieHelper-fb2f4bf7.js';
31
+ import { g as getCookie, s as setCookie } from './cookieHelper-795649fa.js';
32
32
  import dayjs from 'dayjs';
33
- import { C as Close } from './Close-4ca83dfd.js';
33
+ import { C as Close } from './Close-ad5271bd.js';
34
34
  import 'styled-components';
35
- import './animation-9a852d86.js';
35
+ import './animation-2b85e352.js';
36
36
  import 'react-keyed-flatten-children';
37
37
  import '@hhgtech/icons/other';
38
38
  import '@mantine/carousel';
39
39
  import 'classnames';
40
- import './useUniqueId-4d87b935.js';
40
+ import './useUniqueId-d10943a0.js';
41
41
  import '@hhgtech/icons/core';
42
- import './isProduction-a14c0289.js';
42
+ import './isProduction-923861f3.js';
43
43
  import 'date-fns/locale';
44
44
  import 'slugify';
45
45
 
@@ -435,7 +435,7 @@ const Component = ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, sh
435
435
  campaign_subot_id,
436
436
  });
437
437
  const [showOtpPhone, setShowOtpPhone] = useState(null);
438
- const formRef = useRef();
438
+ const [formRef, setFormRef] = useState(null);
439
439
  const onClose = () => {
440
440
  if (showOtpPhone) {
441
441
  setShowOtpPhone(null);
@@ -461,7 +461,8 @@ const Component = ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, sh
461
461
  leadFormConfig,
462
462
  validatingEmailRef,
463
463
  validatingPhoneRef,
464
- formRef,
464
+ formRef: { current: formRef },
465
+ setFormRef,
465
466
  locale,
466
467
  onClose,
467
468
  onOtherSubmit,
@@ -575,7 +576,7 @@ const Fields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmit, style
575
576
  className: cx('leadgen-control', classes.control), labelProps: {
576
577
  htmlFor: id,
577
578
  } }, form.getInputProps(value)),
578
- React__default.createElement(Phone, { name: value, spellCheck: false, type: "tel", placeholder: placeholder, onChange: (v) => {
579
+ React__default.createElement(Phone, { name: value, spellCheck: false, type: "tel", placeholder: placeholder, value: form.getInputProps(value).value, onChange: (v) => {
579
580
  form.setFieldValue(value, v);
580
581
  },
581
582
  // onBlur={(e) => inputOnBlur('tel', e)}
@@ -625,13 +626,17 @@ const Fields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmit, style
625
626
  })));
626
627
  };
627
628
 
628
- var useStyles$1 = createStyles(() => {
629
+ var useStyles$1 = createStyles((theme) => {
629
630
  return {
630
631
  root: {},
631
632
  header: {},
632
633
  heading: {},
633
634
  description: {},
634
- term: {},
635
+ term: {
636
+ a: {
637
+ color: theme.fn.primaryColor(),
638
+ },
639
+ },
635
640
  controlList: {},
636
641
  control: {},
637
642
  submitBtn: {},
@@ -644,9 +649,9 @@ const Heading = (_a) => {
644
649
  return heading ? (React__default.createElement(Text, Object.assign({ size: "h3" }, rest), heading)) : null;
645
650
  };
646
651
 
647
- const FormComponent = ({ styles, className, classNames }) => {
652
+ const FormComponent = ({ styles, className, classNames, fillInfo }) => {
648
653
  var _a;
649
- const { listBlockAdded, leadFormConfig: { form, validateObj }, validatingEmailRef, validatingPhoneRef, formRef, onClose, onOtherSubmit, actionBlocks, locale, setShowOtpPhone, onSubmit, } = useContext(LeadGenComponentContext);
654
+ const { listBlockAdded, leadFormConfig: { form, validateObj }, validatingEmailRef, validatingPhoneRef, formRef, setFormRef, onClose, onOtherSubmit, actionBlocks, locale, setShowOtpPhone, onSubmit, } = useContext(LeadGenComponentContext);
650
655
  const { classes, cx } = useStyles$1(undefined, {
651
656
  name: 'LeadGen__FormComponent',
652
657
  styles,
@@ -715,8 +720,11 @@ const FormComponent = ({ styles, className, classNames }) => {
715
720
  })(e);
716
721
  }, 100);
717
722
  };
723
+ useEffect(() => {
724
+ form === null || form === void 0 ? void 0 : form.setValues(fillInfo);
725
+ }, [fillInfo]);
718
726
  return (React__default.createElement(LeadFormProvider$1, { form: form },
719
- React__default.createElement(Box, { component: "form", ref: formRef, className: cx(className, classes.root), onSubmit: middlewareOnSubmit, styles: styles },
727
+ React__default.createElement(Box, { component: "form", ref: (el) => el && setFormRef(el), className: cx(className, classes.root), onSubmit: middlewareOnSubmit, styles: styles },
720
728
  React__default.createElement("div", { className: classes.header },
721
729
  React__default.createElement(Heading, { className: classes.heading }),
722
730
  React__default.createElement(Description, { className: classes.description })),
@@ -726,14 +734,11 @@ const FormComponent = ({ styles, className, classNames }) => {
726
734
  }, listBlockAdded: listBlockAdded, locale: locale, onClose: onClose, onOtherSubmit: onOtherSubmit })),
727
735
  ((_a = actionBlocks === null || actionBlocks === void 0 ? void 0 : actionBlocks.submitBlock) === null || _a === void 0 ? void 0 : _a.isHide) ? null : (React__default.createElement(React__default.Fragment, null,
728
736
  React__default.createElement("div", { className: classes.term },
729
- React__default.createElement("div", { className: "lead-modal__checkbox" },
730
- React__default.createElement("input", { id: "lead-term-checkbox", className: `lead-modal__checkbox__input ${LEAD_CLASS}`, type: "checkbox", "aria-label": "Checkbox label", checked: checkedTerm, onChange: (e) => setCheckedTerm(e.currentTarget.checked) }),
731
- React__default.createElement("div", { className: "lead-modal__checkbox__control", "aria-hidden": "true" })),
732
- React__default.createElement("label", { htmlFor: "checkbox", className: "lead-modal__checkbox__label" },
733
- popUpTermAgreeText,
734
- ' ',
735
- React__default.createElement("span", { style: { fontWeight: 'bold' } },
736
- React__default.createElement("a", { target: "blank", href: popUpTermURL || 'https://hellobacsi.com/chinh-sach', rel: "noopener noreferrer", style: { textDecoration: 'none' } }, popUpTermText)))),
737
+ React__default.createElement(Checkbox, { label: React__default.createElement("label", { htmlFor: "checkbox" },
738
+ popUpTermAgreeText,
739
+ ' ',
740
+ React__default.createElement("span", { style: { fontWeight: 'bold' } },
741
+ React__default.createElement("a", { target: "blank", href: popUpTermURL || 'https://hellobacsi.com/chinh-sach', rel: "noopener noreferrer", style: { textDecoration: 'none' } }, popUpTermText))), onChange: (e) => setCheckedTerm(e.currentTarget.checked) })),
737
742
  React__default.createElement(Button$1, { size: "md", id: "lead-submit", type: "submit", className: classes.submitBtn, disabled: !checkedTerm, loading: isSubmitLoading }, popUpSubmitText))))));
738
743
  };
739
744
  const Form = (props) => {
@@ -744,9 +749,11 @@ const Form = (props) => {
744
749
  var useStyles = createStyles(() => {
745
750
  return {
746
751
  root: {},
752
+ header: {},
747
753
  heading: {},
748
754
  description: {},
749
755
  control: {},
756
+ actions: {},
750
757
  submitBtn: {},
751
758
  resendOtp: {},
752
759
  };
@@ -860,8 +867,9 @@ const OtpBlockComponent = ({ otpData, onSuccess, autoSendWhenOpen, className, st
860
867
  e.preventDefault();
861
868
  submitOtp();
862
869
  }, className: cx(classes.root, className) },
863
- React__default.createElement(Heading$1, { tag: "h3", className: classes.heading }, t('lead.otp.title')),
864
- React__default.createElement(Text, { size: "p1", className: classes.description }, t('lead.otp.desc', { phone: displayPhone })),
870
+ React__default.createElement("div", { className: classes.header },
871
+ React__default.createElement(Heading$1, { tag: "h3", className: classes.heading }, t('lead.otp.title')),
872
+ React__default.createElement(Text, { size: "p3", className: classes.description }, t('lead.otp.desc', { phone: displayPhone }))),
865
873
  React__default.createElement(Input, { ref: inputRef, name: '_' + name + '-otp', spellCheck: false, type: "number", placeholder: "Enter OTP", className: classes.control, label: "Phone OTP", "data-control": "otp", withAsterisk: true, pattern: "[0-9]*", value: otp, maxLength: 6, onChange: (v) => {
866
874
  setIsDirty(true);
867
875
  setOtp(v);
@@ -870,26 +878,28 @@ const OtpBlockComponent = ({ otpData, onSuccess, autoSendWhenOpen, className, st
870
878
  else
871
879
  setErrorMsg(undefined);
872
880
  }, error: isDirty ? errorMsg : undefined }),
873
- React__default.createElement(Button$1, { type: "submit", size: "md", color: "primary", className: classes.submitBtn,
874
- // onClick={() => submitOtp()}
875
- disabled: !otp, loading: isSubmitLoading }, t('lead.otp.verify')),
876
- React__default.createElement(Button$1, { type: "button", size: "md", color: "transparent", className: classes.resendOtp, onClick: () => {
877
- sendOtp();
878
- }, disabled: !!resendTimer }, t('lead.otp.resend', {
879
- timer: resendTimer ? ` (${resendTimer}s)` : '',
880
- })))));
881
+ React__default.createElement("div", { className: classes.actions },
882
+ React__default.createElement(Button$1, { type: "submit", size: "md", color: "primary", className: classes.submitBtn,
883
+ // onClick={() => submitOtp()}
884
+ disabled: !otp, loading: isSubmitLoading }, t('lead.otp.verify')),
885
+ React__default.createElement(Button$1, { type: "button", size: "md", color: "transparent", className: classes.resendOtp, onClick: () => {
886
+ sendOtp();
887
+ }, disabled: !!resendTimer }, t('lead.otp.resend', {
888
+ timer: resendTimer ? ` (${resendTimer}s)` : '',
889
+ }))))));
881
890
  };
882
- const OtpBlock$1 = ({}) => {
891
+ const OtpBlock$1 = (_a) => {
892
+ var rest = __rest(_a, []);
883
893
  const { showOtpPhone, setShowOtpPhone, onSubmit, formRef, leadFormConfig: { form }, } = useContext(LeadGenComponentContext);
884
- return showOtpPhone ? (React__default.createElement(OtpBlockComponent, { otpData: showOtpPhone, autoSendWhenOpen: false, onSuccess: () => {
894
+ return showOtpPhone ? (React__default.createElement(OtpBlockComponent, Object.assign({ otpData: showOtpPhone, autoSendWhenOpen: false, onSuccess: () => {
885
895
  setShowOtpPhone(null);
886
896
  onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(formRef.current, form.values);
887
- } })) : null;
897
+ } }, rest))) : null;
888
898
  };
889
899
 
890
900
  const Thankyou = ({ children, }) => {
891
901
  const { showThankyou } = useContext(LeadGenComponentContext);
892
- return showThankyou ? typeof children(showThankyou) : null;
902
+ return showThankyou ? children(showThankyou) : null;
893
903
  };
894
904
 
895
905
  var enPH = {
@@ -2648,7 +2658,6 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl,
2648
2658
  document.body.classList.remove('noscroll');
2649
2659
  return;
2650
2660
  }
2651
- let isShowThanksYou = true;
2652
2661
  const thanksImg = showCampaign.thank_you_image || `${apiUrl}admin/img/thanksyou.png`;
2653
2662
  let thankTitle = (showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields.popupThankyouTitle) || 'Thank you.';
2654
2663
  let thankDesc = (showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields.popupThankyouDesc) || 'We appreciate your time!';
@@ -2668,14 +2677,17 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl,
2668
2677
  linkText = ((_k = linkButtonBlock === null || linkButtonBlock === void 0 ? void 0 : linkButtonBlock.data) === null || _k === void 0 ? void 0 : _k.value) || '';
2669
2678
  linkNewTab = ((_l = linkButtonBlock === null || linkButtonBlock === void 0 ? void 0 : linkButtonBlock.data) === null || _l === void 0 ? void 0 : _l.newtab) || false;
2670
2679
  linkUrl = ((_m = linkButtonBlock === null || linkButtonBlock === void 0 ? void 0 : linkButtonBlock.data) === null || _m === void 0 ? void 0 : _m.url) || '';
2671
- const curLayout = showCampaign.extra_fields.currentLayout;
2680
+ // ALWAYS SHOW THANK YOU ON COMPOUND COMP
2681
+ // const curLayout = showCampaign.extra_fields.currentLayout
2672
2682
  // TODO: newbuilder thank you
2673
2683
  // List layout not show thanks you
2674
- if (['SkinA', 'SkinB', 'Floating', 'Tab', 'CenterTab'].includes(curLayout)) {
2675
- isShowThanksYou = false;
2676
- }
2684
+ // if (
2685
+ // ['SkinA', 'SkinB', 'Floating', 'Tab', 'CenterTab'].includes(curLayout)
2686
+ // ) {
2687
+ // isShowThanksYou = false
2688
+ // }
2677
2689
  }
2678
- if (isShowThanksYou) {
2690
+ {
2679
2691
  setShowThankyou({
2680
2692
  title: thankTitle,
2681
2693
  titleAlign,
@@ -2687,9 +2699,6 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl,
2687
2699
  image: thanksImg,
2688
2700
  });
2689
2701
  }
2690
- else {
2691
- setShowThankyou(null);
2692
- }
2693
2702
  // Other
2694
2703
  // Init Insider Obj
2695
2704
  if (sessionStorage.getItem('insider_object')) {
@@ -1,33 +1,33 @@
1
- import { j as StyledTextArea, k as useMantineLocale, l as getMantineThemeOverride } from './index-14587dbf.js';
2
- export { n as Accordion, A as Anchor, b as AspectRatio, a as Avatar, m as Breadcrumbs, B as Button, o as Carousel, f as CentralCarousel, d as Checkbox, e as ChipButton, c as Input, M as MAPPED_LOCALE, O as OTP, P as Phone, r as Popover, R as Radio, S as Select, T as Tabs, p as emotionCache, q as getHeadingStyles, l as getMantineThemeOverride, t as themeColors, k as useMantineLocale } from './index-14587dbf.js';
3
- export { D as DatePicker } from './index-76a63956.js';
4
- import { T as Text } from './index-39528b9b.js';
5
- export { O as OTHER_THEME_CONFIG, T as Text } from './index-39528b9b.js';
6
- export { I as Indicator } from './index-991703e4.js';
1
+ import { j as StyledTextArea, k as useMantineLocale, l as getMantineThemeOverride } from './index-da990c66.js';
2
+ export { n as Accordion, A as Anchor, b as AspectRatio, a as Avatar, m as Breadcrumbs, B as Button, o as Carousel, f as CentralCarousel, d as Checkbox, e as ChipButton, c as Input, M as MAPPED_LOCALE, O as OTP, P as Phone, r as Popover, R as Radio, S as Select, T as Tabs, p as emotionCache, q as getHeadingStyles, l as getMantineThemeOverride, t as themeColors, k as useMantineLocale } from './index-da990c66.js';
3
+ export { D as DatePicker } from './index-2913b846.js';
4
+ import { T as Text } from './index-ab41f48a.js';
5
+ export { O as OTHER_THEME_CONFIG, T as Text } from './index-ab41f48a.js';
6
+ export { I as Indicator } from './index-69a4bf84.js';
7
7
  import React__default, { useMemo } from 'react';
8
- export { M as Modal } from './index-2516c87e.js';
9
- import { _ as __rest } from './tslib.es6-2581561d.js';
8
+ export { M as Modal } from './index-69996b24.js';
9
+ import { _ as __rest } from './tslib.es6-3874b31b.js';
10
10
  import { Badge as Badge$1, Spoiler as Spoiler$1, LoadingOverlay as LoadingOverlay$1, MantineProvider as MantineProvider$1, clsx, Title, Text as Text$1, Button } from '@mantine/core';
11
- import { t as theme } from './theme-b8e10c2e.js';
12
- import { u as useTranslations } from './useTranslations-a559a7a5.js';
13
- export { S as Slider } from './index-22221342.js';
14
- export { S as Switch } from './index-f408e111.js';
11
+ import { t as theme } from './theme-e0983a03.js';
12
+ import { u as useTranslations } from './useTranslations-8e74d957.js';
13
+ export { S as Slider } from './index-c1dd06de.js';
14
+ export { S as Switch } from './index-43c2ac74.js';
15
15
  import '@hhgtech/icons/other';
16
16
  import '@mantine/hooks';
17
- import './index-97d0e5e4.js';
18
- import './index-e329bfff.js';
17
+ import './index-d366ac6a.js';
18
+ import './index-eb2c3d5f.js';
19
19
  import 'date-fns/locale';
20
- import './Subot-7661c139.js';
21
- import './isProduction-a14c0289.js';
20
+ import './Subot-ca654c1b.js';
21
+ import './isProduction-923861f3.js';
22
22
  import 'dayjs';
23
- import './utils-ad80dd9a.js';
23
+ import './utils-49823a14.js';
24
24
  import 'styled-components';
25
25
  import '@mantine/carousel';
26
26
  import 'classnames';
27
- import './useUniqueId-4d87b935.js';
27
+ import './useUniqueId-d10943a0.js';
28
28
  import '@hhgtech/icons/core';
29
29
  import '@mantine/dates';
30
- import './translationsContext-a710bd79.js';
30
+ import './translationsContext-f6ca9a8f.js';
31
31
  import 'string-format';
32
32
 
33
33
  const TextArea = (props) => {
package/build/esm/misc.js CHANGED
@@ -1,22 +1,22 @@
1
- export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-7ad2018e.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-9a852d86.js';
3
- export { d as deleteCookie, g as getCookie, s as setCookie } from './cookieHelper-fb2f4bf7.js';
1
+ export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-232e3b6b.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-2b85e352.js';
3
+ export { d as deleteCookie, g as getCookie, s as setCookie } from './cookieHelper-795649fa.js';
4
4
  import 'react';
5
5
  import 'styled-components';
6
- export { M as MBTheme, t as theme } from './theme-b8e10c2e.js';
7
- export { a as abbreviateNumber } from './number-c4673157.js';
8
- export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './routing-8faaacea.js';
9
- export { B as Breakpoints, M as MediaQueries, 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-ad80dd9a.js';
10
- export { f as formatHealthTool, g as getDynamicHealthTool, a as getDynamicHealthToolWithCache } from './getDynamicHealthTool-296bc3be.js';
11
- export { g as getSocialList } from './getSocialList-2ebfcd4a.js';
12
- export { S as ScreenSizeContext, a as ScreenSizeContextProvider, f as formatPill, g as getWindowSizeGroups } from './dataTransform-bf6753e4.js';
6
+ export { M as MBTheme, t as theme } from './theme-e0983a03.js';
7
+ export { a as abbreviateNumber } from './number-c939d6ee.js';
8
+ export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './routing-2fb52661.js';
9
+ export { B as Breakpoints, M as MediaQueries, 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-49823a14.js';
10
+ export { f as formatHealthTool, g as getDynamicHealthTool, a as getDynamicHealthToolWithCache } from './getDynamicHealthTool-2e414236.js';
11
+ export { g as getSocialList } from './getSocialList-ac6ab172.js';
12
+ export { S as ScreenSizeContext, a as ScreenSizeContextProvider, f as formatPill, g as getWindowSizeGroups } from './dataTransform-98fc7d07.js';
13
13
  import 'dayjs';
14
- import './index-e329bfff.js';
14
+ import './index-eb2c3d5f.js';
15
15
  import 'date-fns/locale';
16
- import './Subot-7661c139.js';
17
- import './isProduction-a14c0289.js';
18
- import './tslib.es6-2581561d.js';
19
- import './normalizeLink-b27ea7f7.js';
20
- import './core-7e4b4d85.js';
21
- import './index-97d0e5e4.js';
16
+ import './Subot-ca654c1b.js';
17
+ import './isProduction-923861f3.js';
18
+ import './tslib.es6-3874b31b.js';
19
+ import './normalizeLink-36522d1f.js';
20
+ import './core-6f705325.js';
21
+ import './index-d366ac6a.js';
22
22
  import 'lodash/throttle';
@@ -1,51 +1,51 @@
1
- export { N as NavigationV2, g as getNavMenuContent, a as getNavMenuContentWithCache } from './index-27cc65d4.js';
2
- import './tslib.es6-2581561d.js';
1
+ export { N as NavigationV2, g as getNavMenuContent, a as getNavMenuContentWithCache } from './index-9944f682.js';
2
+ import './tslib.es6-3874b31b.js';
3
3
  import 'react';
4
- import './index-14587dbf.js';
4
+ import './index-da990c66.js';
5
5
  import '@hhgtech/icons/other';
6
6
  import '@mantine/core';
7
7
  import '@mantine/hooks';
8
- import './index-97d0e5e4.js';
9
- import './index-e329bfff.js';
8
+ import './index-d366ac6a.js';
9
+ import './index-eb2c3d5f.js';
10
10
  import 'date-fns/locale';
11
- import './Subot-7661c139.js';
12
- import './isProduction-a14c0289.js';
11
+ import './Subot-ca654c1b.js';
12
+ import './isProduction-923861f3.js';
13
13
  import 'dayjs';
14
- import './utils-ad80dd9a.js';
14
+ import './utils-49823a14.js';
15
15
  import 'styled-components';
16
16
  import '@mantine/carousel';
17
- import './index-39528b9b.js';
18
- import './theme-b8e10c2e.js';
17
+ import './index-ab41f48a.js';
18
+ import './theme-e0983a03.js';
19
19
  import 'classnames';
20
- import './useUniqueId-4d87b935.js';
20
+ import './useUniqueId-d10943a0.js';
21
21
  import '@hhgtech/icons/core';
22
- import './normalizeLink-b27ea7f7.js';
23
- import './routing-8faaacea.js';
24
- import './index-d5783ce8.js';
25
- import './utils-8cfab824.js';
26
- import './cookieHelper-fb2f4bf7.js';
22
+ import './normalizeLink-36522d1f.js';
23
+ import './routing-2fb52661.js';
24
+ import './index-f5028458.js';
25
+ import './utils-6b797d8b.js';
26
+ import './cookieHelper-795649fa.js';
27
27
  import 'slugify';
28
28
  import 'string-format';
29
- import './index-cf62426e.js';
30
- import './utils-a88682f9.js';
31
- import './useTranslations-a559a7a5.js';
32
- import './translationsContext-a710bd79.js';
29
+ import './index-4c23d612.js';
30
+ import './utils-370db6e4.js';
31
+ import './useTranslations-8e74d957.js';
32
+ import './translationsContext-f6ca9a8f.js';
33
33
  import 'lodash/throttle';
34
34
  import '@mantine/dates';
35
- import './constants-004f080a.js';
36
- import './index-b42b746d.js';
37
- import './index.styles-cf0b32a3.js';
38
- import './constants-d53f9101.js';
39
- import './animation-9a852d86.js';
35
+ import './constants-a4edd7d4.js';
36
+ import './index-20f6146f.js';
37
+ import './index.styles-4d5d1da6.js';
38
+ import './constants-c68921ad.js';
39
+ import './animation-2b85e352.js';
40
40
  import 'react-keyed-flatten-children';
41
- import './ChevronDown-dba8fc93.js';
42
- import './index-78b15ede.js';
43
- import './index-f98bf91e.js';
44
- import './index-991703e4.js';
45
- import './useIsInit-5759a12c.js';
46
- import './index.styled-938c9e2d.js';
47
- import './index-11c2da20.js';
41
+ import './ChevronDown-25d97522.js';
42
+ import './index-a1bc5cef.js';
43
+ import './index-18bc2581.js';
44
+ import './index-69a4bf84.js';
45
+ import './useIsInit-14a2a8b6.js';
46
+ import './index.styled-80ce9adc.js';
47
+ import './index-673b6dc4.js';
48
48
  import 'dayjs/plugin/relativeTime';
49
- import './index-cf296b7d.js';
49
+ import './index-a1c2e515.js';
50
50
  import 'lodash/debounce';
51
- import './core-7e4b4d85.js';
51
+ import './core-6f705325.js';
@@ -1,50 +1,50 @@
1
1
  import React__default, { createContext, forwardRef, useContext, useImperativeHandle, useState, useRef, useEffect, useMemo, Fragment } from 'react';
2
2
  import { Box, Input, Grid, Title, Container, Flex, rem, Stack, AspectRatio } from '@mantine/core';
3
- import { P as Phone, c as Input$1, R as Radio, O as OTP, d as Checkbox, u as useScreenSize, B as Button } from './index-14587dbf.js';
3
+ import { P as Phone, c as Input$1, R as Radio, O as OTP, d as Checkbox, u as useScreenSize, B as Button } from './index-da990c66.js';
4
4
  import '@mantine/dates';
5
- import { L as LOCALE_SPECS } from './index-e329bfff.js';
6
- import './Subot-7661c139.js';
7
- import { C as CommonGAssets } from './index-97d0e5e4.js';
8
- import { T as Text } from './index-39528b9b.js';
9
- import { t as theme } from './theme-b8e10c2e.js';
10
- import './translationsContext-a710bd79.js';
5
+ import { L as LOCALE_SPECS } from './index-eb2c3d5f.js';
6
+ import './Subot-ca654c1b.js';
7
+ import { C as CommonGAssets } from './index-d366ac6a.js';
8
+ import { T as Text } from './index-ab41f48a.js';
9
+ import { t as theme } from './theme-e0983a03.js';
10
+ import './translationsContext-f6ca9a8f.js';
11
11
  import 'string-format';
12
12
  import { useInterval, useCounter } from '@mantine/hooks';
13
- import { M as MediaQueries, a as getPopupWrapperDom } from './utils-ad80dd9a.js';
14
- import { M as MAPPED_LOCALE, h as hiddenEmailChar } from './utils-93eb13e7.js';
15
- export { M as MAPPED_LOCALE } from './utils-93eb13e7.js';
13
+ import { M as MediaQueries, a as getPopupWrapperDom } from './utils-49823a14.js';
14
+ import { M as MAPPED_LOCALE, h as hiddenEmailChar } from './utils-d768df29.js';
15
+ export { M as MAPPED_LOCALE } from './utils-d768df29.js';
16
16
  import { createFormContext, yupResolver } from '@mantine/form';
17
17
  import styled from 'styled-components';
18
- import { _ as __rest, a as __awaiter } from './tslib.es6-2581561d.js';
19
- import './index.styles-cf0b32a3.js';
20
- import { H as Heading } from './index-f98bf91e.js';
21
- import './constants-d53f9101.js';
22
- import { L as LogoIcon } from './utils-a88682f9.js';
23
- import { u as useTranslations } from './useTranslations-a559a7a5.js';
24
- import './utils-8cfab824.js';
25
- import './index.styled-938c9e2d.js';
26
- import './index-11c2da20.js';
18
+ import { _ as __rest, a as __awaiter } from './tslib.es6-3874b31b.js';
19
+ import './index.styles-4d5d1da6.js';
20
+ import { H as Heading } from './index-18bc2581.js';
21
+ import './constants-c68921ad.js';
22
+ import { L as LogoIcon } from './utils-370db6e4.js';
23
+ import { u as useTranslations } from './useTranslations-8e74d957.js';
24
+ import './utils-6b797d8b.js';
25
+ import './index.styled-80ce9adc.js';
26
+ import './index-673b6dc4.js';
27
27
  import * as yup from 'yup';
28
- import { D as DatePicker } from './index-76a63956.js';
29
- import { A as AddressInput } from './index-77f900fd.js';
30
- import { V as Visible } from './Visible-d824de49.js';
28
+ import { D as DatePicker } from './index-2913b846.js';
29
+ import { A as AddressInput } from './index-34dd9d03.js';
30
+ import { V as Visible } from './Visible-6e4afbf0.js';
31
31
  import { createPortal } from 'react-dom';
32
- import { I as Icon } from './index-b42b746d.js';
32
+ import { I as Icon } from './index-20f6146f.js';
33
33
  import throttle from 'lodash/throttle';
34
- import { B as Button$1 } from './index-78b15ede.js';
35
- import { T as Text$1 } from './index-5849268c.js';
34
+ import { B as Button$1 } from './index-a1bc5cef.js';
35
+ import { T as Text$1 } from './index-0ea13007.js';
36
36
  import { format } from 'date-fns';
37
37
  import flattenChildren from 'react-keyed-flatten-children';
38
38
  import '@hhgtech/icons/other';
39
39
  import 'dayjs';
40
40
  import '@mantine/carousel';
41
41
  import 'classnames';
42
- import './useUniqueId-4d87b935.js';
42
+ import './useUniqueId-d10943a0.js';
43
43
  import '@hhgtech/icons/core';
44
44
  import 'date-fns/locale';
45
- import './isProduction-a14c0289.js';
46
- import './animation-9a852d86.js';
47
- import './cookieHelper-fb2f4bf7.js';
45
+ import './isProduction-923861f3.js';
46
+ import './animation-2b85e352.js';
47
+ import './cookieHelper-795649fa.js';
48
48
  import 'slugify';
49
49
 
50
50
  // define shared context
package/build/esm/pwg.js CHANGED
@@ -1,33 +1,33 @@
1
1
  import React__default, { useMemo, useState, useRef } from 'react';
2
- import { M as MarryBabyText, a as MarryBabyHeading } from './index-8573ee56.js';
3
- import { T as Text } from './index-39528b9b.js';
4
- import { P as PillCarousel } from './index-98cf27df.js';
5
- import { u as useTranslations } from './useTranslations-a559a7a5.js';
6
- import { t as theme } from './theme-b8e10c2e.js';
2
+ import { M as MarryBabyText, a as MarryBabyHeading } from './index-c497ec47.js';
3
+ import { T as Text } from './index-ab41f48a.js';
4
+ import { P as PillCarousel } from './index-b6c0642e.js';
5
+ import { u as useTranslations } from './useTranslations-8e74d957.js';
6
+ import { t as theme } from './theme-e0983a03.js';
7
7
  import { ResponsiveContainer, AreaChart, CartesianGrid, Tooltip, XAxis, YAxis, Area, ReferenceDot } from 'recharts';
8
- import { C as CustomReferenceDot } from './index-11c2da20.js';
9
- import { a as useOutsideClick } from './useOutsideClick-0cd449b6.js';
8
+ import { C as CustomReferenceDot } from './index-673b6dc4.js';
9
+ import { a as useOutsideClick } from './useOutsideClick-14c0077e.js';
10
10
  import styled from 'styled-components';
11
- import { _ as __rest } from './tslib.es6-2581561d.js';
12
- import './index.styled-938c9e2d.js';
11
+ import { _ as __rest } from './tslib.es6-3874b31b.js';
12
+ import './index.styled-80ce9adc.js';
13
13
  import '@mantine/core';
14
- import './Subot-7661c139.js';
15
- import './index-97d0e5e4.js';
16
- import './index-e329bfff.js';
14
+ import './Subot-ca654c1b.js';
15
+ import './index-d366ac6a.js';
16
+ import './index-eb2c3d5f.js';
17
17
  import 'date-fns/locale';
18
- import './isProduction-a14c0289.js';
19
- import './index-14587dbf.js';
18
+ import './isProduction-923861f3.js';
19
+ import './index-da990c66.js';
20
20
  import '@hhgtech/icons/other';
21
21
  import '@mantine/hooks';
22
22
  import 'dayjs';
23
- import './utils-ad80dd9a.js';
23
+ import './utils-49823a14.js';
24
24
  import '@mantine/carousel';
25
25
  import 'classnames';
26
- import './useUniqueId-4d87b935.js';
26
+ import './useUniqueId-d10943a0.js';
27
27
  import '@hhgtech/icons/core';
28
- import './index-5849268c.js';
28
+ import './index-0ea13007.js';
29
29
  import '@mantine/dates';
30
- import './translationsContext-a710bd79.js';
30
+ import './translationsContext-f6ca9a8f.js';
31
31
  import 'string-format';
32
32
 
33
33
  const CustomizedAxisTick = (props) => {
@@ -1,5 +1,5 @@
1
- import { d as domainLocales } from './index-e329bfff.js';
2
- import { i as isProduction } from './isProduction-a14c0289.js';
1
+ import { d as domainLocales } from './index-eb2c3d5f.js';
2
+ import { i as isProduction } from './isProduction-923861f3.js';
3
3
 
4
4
  const getCurrentBaseUrl = (locale, isMarryBaby) => {
5
5
  if (typeof window !== 'undefined')