@hhgtech/hhg-components 1.27.112 → 1.27.113

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 (291) hide show
  1. package/build/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components/molecules/index.d.ts +3 -3
  5. package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/bannerWithOption/index.d.ts +2 -0
  6. package/build/{esm/components/molecules/premiumNewsletterBanner → components/molecules/surveyOrPremiumBanner}/bannerWithOption/index.styles.d.ts +1 -0
  7. package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/constants.d.ts +41 -7
  8. package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/context.d.ts +7 -4
  9. package/build/components/molecules/surveyOrPremiumBanner/index.d.ts +15 -0
  10. package/build/components/molecules/surveyOrPremiumBanner/surveyBanner.d.ts +3 -0
  11. package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/toolBanner.d.ts +1 -0
  12. package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/types.d.ts +5 -0
  13. package/build/components.js +1 -1
  14. package/build/constants.js +1 -1
  15. package/build/{core-223cfdf2.js → core-5c4c9018.js} +1 -1
  16. package/build/ecom.js +1 -1
  17. package/build/esm/babyGrowth.js +4 -4
  18. package/build/esm/cache.js +1 -1
  19. package/build/esm/care.js +1 -1
  20. package/build/esm/components/molecules/index.d.ts +3 -3
  21. package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/bannerWithOption/index.d.ts +2 -0
  22. package/build/{components/molecules/premiumNewsletterBanner → esm/components/molecules/surveyOrPremiumBanner}/bannerWithOption/index.styles.d.ts +1 -0
  23. package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/constants.d.ts +41 -7
  24. package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/context.d.ts +7 -4
  25. package/build/esm/components/molecules/surveyOrPremiumBanner/index.d.ts +15 -0
  26. package/build/esm/components/molecules/surveyOrPremiumBanner/surveyBanner.d.ts +3 -0
  27. package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/toolBanner.d.ts +1 -0
  28. package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/types.d.ts +5 -0
  29. package/build/esm/components.js +1 -1
  30. package/build/esm/constants.js +1 -1
  31. package/build/esm/{core-29500107.js → core-256cda08.js} +1 -1
  32. package/build/esm/ecom.js +1 -1
  33. package/build/esm/{fixedBottomAdBlock-4a036f62.js → fixedBottomAdBlock-42a0fc3b.js} +1 -1
  34. package/build/esm/footer.js +1 -1
  35. package/build/esm/gAssets.js +1 -1
  36. package/build/esm/{getDynamicHealthTool-69405709.js → getDynamicHealthTool-0e9dffaf.js} +1 -1
  37. package/build/esm/{getSocialList-92cf722f.js → getSocialList-04ad7465.js} +1 -1
  38. package/build/esm/hooks.js +1 -1
  39. package/build/esm/i18n-values/vi-VN.js +1 -1
  40. package/build/esm/i18n-values/vi-VN_MB.js +1 -1
  41. package/build/esm/i18n.js +1 -1
  42. package/build/esm/i18nV2.js +1 -1
  43. package/build/esm/{index-402570ee.js → index-1f31ee2c.js} +1 -1
  44. package/build/esm/{index-47fa4d84.js → index-2472bb2e.js} +1 -1
  45. package/build/esm/{index-0816b158.js → index-37ac3e0a.js} +1 -1
  46. package/build/esm/{index-d597705a.js → index-40352094.js} +23 -23
  47. package/build/esm/index-404d6f42.js +1 -0
  48. package/build/esm/{index-4b3f4c97.js → index-4b0913ef.js} +1 -1
  49. package/build/esm/index-4ef01662.js +1 -0
  50. package/build/esm/{index-f43dae18.js → index-5b15422c.js} +1 -1
  51. package/build/esm/{index-9c19eedb.js → index-671bebd2.js} +1 -1
  52. package/build/esm/{index-fbca16bf.js → index-6bfebf91.js} +1 -1
  53. package/build/esm/{index-fe688742.js → index-79cd66c0.js} +1 -1
  54. package/build/esm/{index-1c39b096.js → index-7ea25330.js} +1 -1
  55. package/build/esm/index-9a6cbd76.js +1 -0
  56. package/build/esm/{index-f9c9808c.js → index-9dc3058e.js} +1 -1
  57. package/build/esm/{index-dbfe0a73.js → index-aab6e937.js} +4 -4
  58. package/build/esm/{index-6f00ca93.js → index-c04a8332.js} +1 -1
  59. package/build/esm/{index-caf3b0b5.js → index-c20147f5.js} +1 -1
  60. package/build/esm/{index-a0fdff7f.js → index-c52c6d1d.js} +1 -1
  61. package/build/esm/{index-ab6ab4f8.js → index-c9c1af14.js} +1 -1
  62. package/build/esm/{index-e4a9ae2b.js → index-d533e676.js} +1 -1
  63. package/build/esm/{index-7a0cf70a.js → index-f9338e27.js} +2 -2
  64. package/build/esm/index.js +1 -1
  65. package/build/esm/{index.styled-c0a2cbc4.js → index.styled-8ad8796f.js} +2 -2
  66. package/build/esm/{index.styled-7621a537.js → index.styled-c742d0a3.js} +5 -5
  67. package/build/esm/{index.styled-897d1d7d.js → index.styled-ce98cbc1.js} +1 -1
  68. package/build/esm/{index.styles-2670b640.js → index.styles-952b0f4b.js} +1 -1
  69. package/build/esm/lead.js +1 -1
  70. package/build/esm/mantine.js +1 -1
  71. package/build/esm/misc.js +1 -1
  72. package/build/esm/navigation.js +1 -1
  73. package/build/esm/{normalizeLink-21860b29.js → normalizeLink-58957b47.js} +1 -1
  74. package/build/esm/onboarding.js +1 -1
  75. package/build/esm/onboardingV2.js +18 -18
  76. package/build/esm/pwg.js +3 -3
  77. package/build/esm/together.js +1 -1
  78. package/build/esm/{types-c35e8660.js → types-0cbaa281.js} +1 -1
  79. package/build/esm/{types-c0872c63.js → types-27c16503.js} +1 -1
  80. package/build/esm/types.js +1 -1
  81. package/build/esm/{useCategory-70a19940.js → useCategory-bfba2de5.js} +1 -1
  82. package/build/esm/useHealthToolCache-b9973713.js +1 -0
  83. package/build/esm/{useRafState-66373b2d.js → useRafState-66b5f663.js} +1 -1
  84. package/build/esm/useTranslations-b2f04ab6.js +1 -0
  85. package/build/esm/{utils-cd9f3234.js → utils-33c4c832.js} +1 -1
  86. package/build/esm/vaccination.js +5 -5
  87. package/build/{fixedBottomAdBlock-90957ff3.js → fixedBottomAdBlock-664a6e50.js} +1 -1
  88. package/build/footer.js +1 -1
  89. package/build/gAssets.js +1 -1
  90. package/build/{getDynamicHealthTool-9858cbf6.js → getDynamicHealthTool-571597e0.js} +1 -1
  91. package/build/{getSocialList-e92f5b03.js → getSocialList-2d43911c.js} +1 -1
  92. package/build/hooks.js +1 -1
  93. package/build/i18n-values/vi-VN.js +1 -1
  94. package/build/i18n-values/vi-VN_MB.js +1 -1
  95. package/build/i18n.js +1 -1
  96. package/build/i18nV2.js +1 -1
  97. package/build/{index-9139a1b0.js → index-22a4d8ec.js} +1 -1
  98. package/build/{index-b3e74643.js → index-2584fe83.js} +2 -2
  99. package/build/{index-2e49ed8f.js → index-2db33f49.js} +1 -1
  100. package/build/{index-2b1500c8.js → index-32d3a385.js} +1 -1
  101. package/build/index-4efa8e7e.js +1 -0
  102. package/build/{index-314491e7.js → index-537bccbe.js} +1 -1
  103. package/build/{index-611f5daf.js → index-55a6f97a.js} +1 -1
  104. package/build/index-58609826.js +1 -0
  105. package/build/{index-4d941e91.js → index-5b7dfda4.js} +1 -1
  106. package/build/{index-e71d86ca.js → index-63632fd5.js} +1 -1
  107. package/build/{index-2163c775.js → index-8383af12.js} +1 -1
  108. package/build/{index-3fa544d3.js → index-9669998e.js} +1 -1
  109. package/build/{index-753c5340.js → index-9f6e2696.js} +29 -29
  110. package/build/{index-56ad1186.js → index-a89b23de.js} +1 -1
  111. package/build/{index-f4e53bf8.js → index-b99409f1.js} +1 -1
  112. package/build/{index-2075491a.js → index-bc8fcf35.js} +1 -1
  113. package/build/{index-44ba7b08.js → index-c57b487f.js} +1 -1
  114. package/build/{index-9f431a0f.js → index-dad94e78.js} +1 -1
  115. package/build/{index-d220afbf.js → index-e022af07.js} +1 -1
  116. package/build/{index-633a5bf3.js → index-e7f2e80f.js} +3 -3
  117. package/build/{index-e29e4c94.js → index-f36821a3.js} +1 -1
  118. package/build/index.js +1 -1
  119. package/build/{index.styled-3d7dd6e8.js → index.styled-0d4d68f3.js} +1 -1
  120. package/build/{index.styled-9824e086.js → index.styled-90c35fc5.js} +3 -3
  121. package/build/{index.styled-790b9cd1.js → index.styled-b9465af1.js} +5 -5
  122. package/build/{index.styles-dcdcb15d.js → index.styles-9285e23d.js} +1 -1
  123. package/build/lead.js +1 -1
  124. package/build/mantine.js +1 -1
  125. package/build/misc.js +1 -1
  126. package/build/navigation.js +1 -1
  127. package/build/{normalizeLink-72938aa8.js → normalizeLink-28258895.js} +1 -1
  128. package/build/onboarding.js +1 -1
  129. package/build/onboardingV2.js +5 -5
  130. package/build/pwg.js +2 -2
  131. package/build/together.js +1 -1
  132. package/build/{types-c6a1a14f.js → types-90d8b488.js} +1 -1
  133. package/build/{types-7ecc106d.js → types-ffea7b45.js} +1 -1
  134. package/build/types.js +1 -1
  135. package/build/{useCategory-4968c4d0.js → useCategory-971481b4.js} +1 -1
  136. package/build/{useHealthToolCache-7b38b8b0.js → useHealthToolCache-10f561aa.js} +1 -1
  137. package/build/{useRafState-228e7e99.js → useRafState-5cd3ac64.js} +1 -1
  138. package/build/{useTranslations-e52e6fd2.js → useTranslations-2e7d64aa.js} +1 -1
  139. package/build/utils-2fb6eb7d.js +1 -0
  140. package/build/vaccination.js +1 -1
  141. package/package.json +1 -1
  142. package/build/components/molecules/premiumNewsletterBanner/index.d.ts +0 -15
  143. package/build/components/molecules/premiumNewsletterBanner/testingBanner.d.ts +0 -3
  144. package/build/esm/components/molecules/premiumNewsletterBanner/index.d.ts +0 -15
  145. package/build/esm/components/molecules/premiumNewsletterBanner/testingBanner.d.ts +0 -3
  146. package/build/esm/index-b528163b.js +0 -1
  147. package/build/esm/index-b8e67607.js +0 -1
  148. package/build/esm/index-bcd1808f.js +0 -1
  149. package/build/esm/useHealthToolCache-59a568dd.js +0 -1
  150. package/build/esm/useTranslations-5eeefd8c.js +0 -1
  151. package/build/index-7109c879.js +0 -1
  152. package/build/index-7af60d34.js +0 -1
  153. package/build/utils-b44511dc.js +0 -1
  154. /package/build/{BMI_BOYS.percentile.monthly-03b0a17d.js → BMI_BOYS.percentile.monthly-5b917714.js} +0 -0
  155. /package/build/{BMI_BOYS.percentile.weekly-a33d058d.js → BMI_BOYS.percentile.weekly-9566eb37.js} +0 -0
  156. /package/build/{BMI_BOYS.percentile.yearly-6ff97ed9.js → BMI_BOYS.percentile.yearly-db737739.js} +0 -0
  157. /package/build/{BMI_BOYS.zscore.monthly-d76b4424.js → BMI_BOYS.zscore.monthly-86f68a0b.js} +0 -0
  158. /package/build/{BMI_BOYS.zscore.weekly-25865f62.js → BMI_BOYS.zscore.weekly-92d923b0.js} +0 -0
  159. /package/build/{BMI_BOYS.zscore.yearly-0a163e24.js → BMI_BOYS.zscore.yearly-4d92f086.js} +0 -0
  160. /package/build/{BMI_GIRLS.percentile.monthly-526177f1.js → BMI_GIRLS.percentile.monthly-6a6d1837.js} +0 -0
  161. /package/build/{BMI_GIRLS.percentile.weekly-f5e5b1bf.js → BMI_GIRLS.percentile.weekly-5589d39f.js} +0 -0
  162. /package/build/{BMI_GIRLS.percentile.yearly-f8d1dfcd.js → BMI_GIRLS.percentile.yearly-15c4d279.js} +0 -0
  163. /package/build/{BMI_GIRLS.zscore.monthly-dadee917.js → BMI_GIRLS.zscore.monthly-667e63fd.js} +0 -0
  164. /package/build/{BMI_GIRLS.zscore.weekly-443024a5.js → BMI_GIRLS.zscore.weekly-3fdeccfe.js} +0 -0
  165. /package/build/{BMI_GIRLS.zscore.yearly-3bf0e411.js → BMI_GIRLS.zscore.yearly-ea25f63d.js} +0 -0
  166. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-0d86a102.js → HEAD CIRCUM_BOYS.percentile.monthly-6db968ca.js} +0 -0
  167. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9b9ac144.js → HEAD CIRCUM_BOYS.percentile.weekly-2a4e9201.js} +0 -0
  168. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-ea0ee6dc.js → HEAD CIRCUM_BOYS.percentile.yearly-c566092e.js} +0 -0
  169. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-b0f6f3ce.js → HEAD CIRCUM_BOYS.zscore.monthly-03fc7b94.js} +0 -0
  170. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-3a24b5da.js → HEAD CIRCUM_BOYS.zscore.weekly-faa83c6d.js} +0 -0
  171. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-c0d3acd7.js → HEAD CIRCUM_BOYS.zscore.yearly-629071b8.js} +0 -0
  172. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-3121a310.js → HEAD CIRCUM_GIRLS.percentile.monthly-fd8e09c4.js} +0 -0
  173. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-76c88a25.js → HEAD CIRCUM_GIRLS.percentile.weekly-d7bc181c.js} +0 -0
  174. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-d7662134.js → HEAD CIRCUM_GIRLS.percentile.yearly-2c18bf98.js} +0 -0
  175. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-2fd1d14e.js → HEAD CIRCUM_GIRLS.zscore.monthly-8d909763.js} +0 -0
  176. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-32ca855c.js → HEAD CIRCUM_GIRLS.zscore.weekly-018ebd5c.js} +0 -0
  177. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-45412ada.js → HEAD CIRCUM_GIRLS.zscore.yearly-f4da36f0.js} +0 -0
  178. /package/build/{HEIGHT_BOYS.percentile.monthly-52900d4f.js → HEIGHT_BOYS.percentile.monthly-4bcc65ef.js} +0 -0
  179. /package/build/{HEIGHT_BOYS.percentile.weekly-61b1d40a.js → HEIGHT_BOYS.percentile.weekly-7c769b89.js} +0 -0
  180. /package/build/{HEIGHT_BOYS.percentile.yearly-507a34d2.js → HEIGHT_BOYS.percentile.yearly-3f50eba5.js} +0 -0
  181. /package/build/{HEIGHT_BOYS.zscore.monthly-dc6aa694.js → HEIGHT_BOYS.zscore.monthly-a78a7a26.js} +0 -0
  182. /package/build/{HEIGHT_BOYS.zscore.weekly-c50427f9.js → HEIGHT_BOYS.zscore.weekly-caab37b3.js} +0 -0
  183. /package/build/{HEIGHT_BOYS.zscore.yearly-89381ecc.js → HEIGHT_BOYS.zscore.yearly-c2d46f1f.js} +0 -0
  184. /package/build/{HEIGHT_GIRLS.percentile.monthly-a5e48323.js → HEIGHT_GIRLS.percentile.monthly-b3265a7d.js} +0 -0
  185. /package/build/{HEIGHT_GIRLS.percentile.weekly-01b9b367.js → HEIGHT_GIRLS.percentile.weekly-69403da3.js} +0 -0
  186. /package/build/{HEIGHT_GIRLS.percentile.yearly-40365af8.js → HEIGHT_GIRLS.percentile.yearly-5f19a816.js} +0 -0
  187. /package/build/{HEIGHT_GIRLS.zscore.monthly-be2a1555.js → HEIGHT_GIRLS.zscore.monthly-e56cd9ff.js} +0 -0
  188. /package/build/{HEIGHT_GIRLS.zscore.weekly-7dd8e2be.js → HEIGHT_GIRLS.zscore.weekly-cfbee1ac.js} +0 -0
  189. /package/build/{HEIGHT_GIRLS.zscore.yearly-4cc3169b.js → HEIGHT_GIRLS.zscore.yearly-603fd96e.js} +0 -0
  190. /package/build/{Onboarding-eda97622.js → Onboarding-2b01db17.js} +0 -0
  191. /package/build/{Visible-8f91e576.js → Visible-7e3703b1.js} +0 -0
  192. /package/build/{WEIGHT_BOYS.percentile.monthly-5f71f8e6.js → WEIGHT_BOYS.percentile.monthly-df2b38ad.js} +0 -0
  193. /package/build/{WEIGHT_BOYS.percentile.weekly-ad9e0982.js → WEIGHT_BOYS.percentile.weekly-017d4587.js} +0 -0
  194. /package/build/{WEIGHT_BOYS.percentile.yearly-ed1e14bb.js → WEIGHT_BOYS.percentile.yearly-d98f06d0.js} +0 -0
  195. /package/build/{WEIGHT_BOYS.zscore.monthly-02ce2d47.js → WEIGHT_BOYS.zscore.monthly-3efc2926.js} +0 -0
  196. /package/build/{WEIGHT_BOYS.zscore.weekly-5e25b5a4.js → WEIGHT_BOYS.zscore.weekly-1478e955.js} +0 -0
  197. /package/build/{WEIGHT_BOYS.zscore.yearly-3d2ec650.js → WEIGHT_BOYS.zscore.yearly-96592d44.js} +0 -0
  198. /package/build/{WEIGHT_GIRLS.percentile.monthly-831fbf48.js → WEIGHT_GIRLS.percentile.monthly-7990f762.js} +0 -0
  199. /package/build/{WEIGHT_GIRLS.percentile.weekly-62e5c21b.js → WEIGHT_GIRLS.percentile.weekly-4b98de90.js} +0 -0
  200. /package/build/{WEIGHT_GIRLS.percentile.yearly-634b6b1c.js → WEIGHT_GIRLS.percentile.yearly-5686e441.js} +0 -0
  201. /package/build/{WEIGHT_GIRLS.zscore.monthly-0bb0f9dc.js → WEIGHT_GIRLS.zscore.monthly-76c7187f.js} +0 -0
  202. /package/build/{WEIGHT_GIRLS.zscore.weekly-324b7a89.js → WEIGHT_GIRLS.zscore.weekly-bc5910e8.js} +0 -0
  203. /package/build/{WEIGHT_GIRLS.zscore.yearly-63965708.js → WEIGHT_GIRLS.zscore.yearly-07b83056.js} +0 -0
  204. /package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/bannerLayout.d.ts +0 -0
  205. /package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/handlerBanner.d.ts +0 -0
  206. /package/build/{constants-e7d71ae0.js → constants-fd82a887.js} +0 -0
  207. /package/build/{cookieHelper-67cb3d98.js → cookieHelper-47e34efa.js} +0 -0
  208. /package/build/{dataTransform-ec79da65.js → dataTransform-fe677610.js} +0 -0
  209. /package/build/esm/{BMI_BOYS.percentile.monthly-c0ed6b25.js → BMI_BOYS.percentile.monthly-9e7fdff9.js} +0 -0
  210. /package/build/esm/{BMI_BOYS.percentile.weekly-41326a44.js → BMI_BOYS.percentile.weekly-109aa882.js} +0 -0
  211. /package/build/esm/{BMI_BOYS.percentile.yearly-aaeb4489.js → BMI_BOYS.percentile.yearly-2f4904a4.js} +0 -0
  212. /package/build/esm/{BMI_BOYS.zscore.monthly-fd822aa5.js → BMI_BOYS.zscore.monthly-b7818505.js} +0 -0
  213. /package/build/esm/{BMI_BOYS.zscore.weekly-eb21980f.js → BMI_BOYS.zscore.weekly-8a8c6e60.js} +0 -0
  214. /package/build/esm/{BMI_BOYS.zscore.yearly-c0c5f77a.js → BMI_BOYS.zscore.yearly-259d827f.js} +0 -0
  215. /package/build/esm/{BMI_GIRLS.percentile.monthly-891f0c3a.js → BMI_GIRLS.percentile.monthly-4c85f2e2.js} +0 -0
  216. /package/build/esm/{BMI_GIRLS.percentile.weekly-058942a5.js → BMI_GIRLS.percentile.weekly-52780dde.js} +0 -0
  217. /package/build/esm/{BMI_GIRLS.percentile.yearly-18e64396.js → BMI_GIRLS.percentile.yearly-d552f7ff.js} +0 -0
  218. /package/build/esm/{BMI_GIRLS.zscore.monthly-fb4764bd.js → BMI_GIRLS.zscore.monthly-70736759.js} +0 -0
  219. /package/build/esm/{BMI_GIRLS.zscore.weekly-6e3cdd9d.js → BMI_GIRLS.zscore.weekly-09d9a498.js} +0 -0
  220. /package/build/esm/{BMI_GIRLS.zscore.yearly-964afbaa.js → BMI_GIRLS.zscore.yearly-787a71f2.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-05d677e9.js → HEAD CIRCUM_BOYS.percentile.monthly-3dc23858.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-ce43ef6e.js → HEAD CIRCUM_BOYS.percentile.weekly-fc90a435.js} +0 -0
  223. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-2b6e2ead.js → HEAD CIRCUM_BOYS.percentile.yearly-d311328c.js} +0 -0
  224. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-e790d5b8.js → HEAD CIRCUM_BOYS.zscore.monthly-a4105e49.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-24f67c66.js → HEAD CIRCUM_BOYS.zscore.weekly-1602faff.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-808cabb3.js → HEAD CIRCUM_BOYS.zscore.yearly-314d87f2.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-2494b2f5.js → HEAD CIRCUM_GIRLS.percentile.monthly-1755894d.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-c619fe7e.js → HEAD CIRCUM_GIRLS.percentile.weekly-eff64869.js} +0 -0
  229. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-95322471.js → HEAD CIRCUM_GIRLS.percentile.yearly-ec836bd1.js} +0 -0
  230. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-6cef3e38.js → HEAD CIRCUM_GIRLS.zscore.monthly-45824afc.js} +0 -0
  231. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-63d2be33.js → HEAD CIRCUM_GIRLS.zscore.weekly-3dda450c.js} +0 -0
  232. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0111d1d5.js → HEAD CIRCUM_GIRLS.zscore.yearly-47d31d6a.js} +0 -0
  233. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-d681290f.js → HEIGHT_BOYS.percentile.monthly-8e3e5eea.js} +0 -0
  234. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-5873089d.js → HEIGHT_BOYS.percentile.weekly-4fd1e4f0.js} +0 -0
  235. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-37378046.js → HEIGHT_BOYS.percentile.yearly-a72efc6f.js} +0 -0
  236. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-1b2697a7.js → HEIGHT_BOYS.zscore.monthly-bbc5d61a.js} +0 -0
  237. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-84b0707d.js → HEIGHT_BOYS.zscore.weekly-be4b43d4.js} +0 -0
  238. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-3eb4d639.js → HEIGHT_BOYS.zscore.yearly-41fab017.js} +0 -0
  239. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-028e111f.js → HEIGHT_GIRLS.percentile.monthly-5960d7bc.js} +0 -0
  240. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-13c93618.js → HEIGHT_GIRLS.percentile.weekly-842b0b35.js} +0 -0
  241. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-cf733987.js → HEIGHT_GIRLS.percentile.yearly-5e771144.js} +0 -0
  242. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-aece5b1c.js → HEIGHT_GIRLS.zscore.monthly-a87662f6.js} +0 -0
  243. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-9d1ee9e2.js → HEIGHT_GIRLS.zscore.weekly-9974df51.js} +0 -0
  244. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-7b7ec405.js → HEIGHT_GIRLS.zscore.yearly-036899ae.js} +0 -0
  245. /package/build/esm/{Onboarding-8386c62c.js → Onboarding-3631c6d1.js} +0 -0
  246. /package/build/esm/{Visible-53ac248e.js → Visible-2bac67a9.js} +0 -0
  247. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-1dff682d.js → WEIGHT_BOYS.percentile.monthly-fb78f02c.js} +0 -0
  248. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c2ff9b23.js → WEIGHT_BOYS.percentile.weekly-a91de386.js} +0 -0
  249. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-982ac1ae.js → WEIGHT_BOYS.percentile.yearly-ad66fdd2.js} +0 -0
  250. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-b95b5729.js → WEIGHT_BOYS.zscore.monthly-2f39cc76.js} +0 -0
  251. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-6d599f9e.js → WEIGHT_BOYS.zscore.weekly-14cc15d4.js} +0 -0
  252. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-bab0c651.js → WEIGHT_BOYS.zscore.yearly-2041fbea.js} +0 -0
  253. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-0f54b996.js → WEIGHT_GIRLS.percentile.monthly-3a60ac45.js} +0 -0
  254. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-fe08daa7.js → WEIGHT_GIRLS.percentile.weekly-d0fbecca.js} +0 -0
  255. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-5c8d7800.js → WEIGHT_GIRLS.percentile.yearly-3ae3438e.js} +0 -0
  256. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-d9f39b55.js → WEIGHT_GIRLS.zscore.monthly-ed2bf2a6.js} +0 -0
  257. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-c79991bd.js → WEIGHT_GIRLS.zscore.weekly-3328de54.js} +0 -0
  258. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d1d50e1a.js → WEIGHT_GIRLS.zscore.yearly-e78ef269.js} +0 -0
  259. /package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/bannerLayout.d.ts +0 -0
  260. /package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/handlerBanner.d.ts +0 -0
  261. /package/build/esm/{constants-7adbe3c0.js → constants-66251709.js} +0 -0
  262. /package/build/esm/{cookieHelper-52685cc6.js → cookieHelper-2fe90225.js} +0 -0
  263. /package/build/esm/{dataTransform-55ae967b.js → dataTransform-532e7457.js} +0 -0
  264. /package/build/esm/{index-f8eec5e7.js → index-7df304c0.js} +0 -0
  265. /package/build/esm/{isProduction-ed4525be.js → isProduction-85c6cb19.js} +0 -0
  266. /package/build/esm/{localizeNumberFormat-705ca7e6.js → localizeNumberFormat-17475a32.js} +0 -0
  267. /package/build/esm/{number-05af8f98.js → number-251f8529.js} +0 -0
  268. /package/build/esm/{paths-e75f2e2f.js → paths-46458204.js} +0 -0
  269. /package/build/esm/{screenSizeContext-10db56d9.js → screenSizeContext-4ff53e25.js} +0 -0
  270. /package/build/esm/{theme-a4e9bb74.js → theme-b5489d82.js} +0 -0
  271. /package/build/esm/{translationsContext-3b169438.js → translationsContext-be2e1844.js} +0 -0
  272. /package/build/esm/{tslib.es6-6c588ee6.js → tslib.es6-0405df6a.js} +0 -0
  273. /package/build/esm/{types-b707f6a4.js → types-48c94135.js} +0 -0
  274. /package/build/esm/{useIsInit-5d90c0d1.js → useIsInit-942b94fa.js} +0 -0
  275. /package/build/esm/{useOutsideClick-fbe19017.js → useOutsideClick-3450a7a8.js} +0 -0
  276. /package/build/esm/{useScrollbarSize-71b41011.js → useScrollbarSize-11faa525.js} +0 -0
  277. /package/build/esm/{useUniqueId-d097338a.js → useUniqueId-d35bf586.js} +0 -0
  278. /package/build/{index-e8e5f987.js → index-4046269f.js} +0 -0
  279. /package/build/{isProduction-6603c122.js → isProduction-e1b7813f.js} +0 -0
  280. /package/build/{localizeNumberFormat-d70884f2.js → localizeNumberFormat-7424a97a.js} +0 -0
  281. /package/build/{number-7a59b05e.js → number-b3767f34.js} +0 -0
  282. /package/build/{paths-52bfb691.js → paths-2ac2ae14.js} +0 -0
  283. /package/build/{screenSizeContext-d3822141.js → screenSizeContext-4d5786c6.js} +0 -0
  284. /package/build/{theme-95cd4c16.js → theme-1a7c14fb.js} +0 -0
  285. /package/build/{translationsContext-0aeba983.js → translationsContext-f962ff63.js} +0 -0
  286. /package/build/{tslib.es6-23138875.js → tslib.es6-0d31715f.js} +0 -0
  287. /package/build/{types-c4a0b167.js → types-ef750ab6.js} +0 -0
  288. /package/build/{useIsInit-5fb3bcb1.js → useIsInit-790b9962.js} +0 -0
  289. /package/build/{useOutsideClick-51c6acd1.js → useOutsideClick-81c62034.js} +0 -0
  290. /package/build/{useScrollbarSize-9b6430c7.js → useScrollbarSize-29ac8766.js} +0 -0
  291. /package/build/{useUniqueId-10edc9fa.js → useUniqueId-86a9e1d4.js} +0 -0
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-633a5bf3.js"),t=require("react"),r=require("./Onboarding-eda97622.js"),a=require("./theme-95cd4c16.js"),l=require("./index-d220afbf.js"),o=require("styled-components"),n=require("./index-f4e53bf8.js"),i=require("./index-4d941e91.js"),d=require("./index-611f5daf.js"),s=require("./screenSizeContext-d3822141.js"),c=require("dayjs"),u=require("./useTranslations-e52e6fd2.js");require("lodash/debounce"),require("./isProduction-6603c122.js"),require("./index-56ad1186.js"),require("./useCategory-4968c4d0.js");var h=require("./localizeNumberFormat-d70884f2.js"),C=require("./index.styles-dcdcb15d.js"),m=require("./tslib.es6-23138875.js"),f=require("./index-9f431a0f.js");require("./gAssets.js"),require("@mantine/core"),require("@mantine/dates"),require("@mantine/hooks");var y=require("./useOutsideClick-51c6acd1.js"),p=require("./index-2075491a.js"),b=require("./index-314491e7.js"),g=require("recharts"),w=require("lodash/chunk");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./useUniqueId-10edc9fa.js"),require("lodash/throttle"),require("./translationsContext-0aeba983.js"),require("string-format"),require("date-fns/locale"),require("react-keyed-flatten-children"),require("@mantine/carousel"),require("./cookieHelper-67cb3d98.js"),require("slugify"),require("./useScrollbarSize-9b6430c7.js"),require("react-dom");var E=x(t),v=x(o),B=x(c),L=x(w);const G=v.default.div`
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-e7f2e80f.js"),t=require("react"),r=require("./Onboarding-2b01db17.js"),a=require("./theme-1a7c14fb.js"),l=require("./index-e022af07.js"),o=require("styled-components"),n=require("./index-b99409f1.js"),i=require("./index-5b7dfda4.js"),d=require("./index-55a6f97a.js"),s=require("./screenSizeContext-4d5786c6.js"),c=require("dayjs"),u=require("./useTranslations-2e7d64aa.js");require("lodash/debounce"),require("./isProduction-e1b7813f.js"),require("./index-a89b23de.js"),require("./useCategory-971481b4.js");var h=require("./localizeNumberFormat-7424a97a.js"),C=require("./index.styles-9285e23d.js"),m=require("./tslib.es6-0d31715f.js"),f=require("./index-dad94e78.js");require("./gAssets.js"),require("@mantine/core"),require("@mantine/dates"),require("@mantine/hooks");var y=require("./useOutsideClick-81c62034.js"),p=require("./index-bc8fcf35.js"),b=require("./index-537bccbe.js"),g=require("recharts"),w=require("lodash/chunk");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./useUniqueId-86a9e1d4.js"),require("lodash/throttle"),require("./translationsContext-f962ff63.js"),require("string-format"),require("date-fns/locale"),require("react-keyed-flatten-children"),require("@mantine/carousel"),require("./cookieHelper-47e34efa.js"),require("slugify"),require("./useScrollbarSize-29ac8766.js"),require("react-dom");var E=x(t),v=x(o),B=x(c),L=x(w);const G=v.default.div`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  gap: 16px;
@@ -381,7 +381,7 @@
381
381
  }
382
382
  }
383
383
  }
384
- `,X=({isActive:e,onChange:t,value:r="",onInputChange:o,siteType:n})=>{const{t:s}=u.useTranslations(),c="marryBaby"===n;return E.default.createElement(K,{onClick:()=>t("new"),"data-is-mb":c,"data-isActive":c&&e},"marryBaby"===n?E.default.createElement("div",{className:"title"},E.default.createElement(d.MarryBabyText,{type:"bodytext-1",color:a.theme.colors.gray800},s("chooseBaby.new")),E.default.createElement("div",{className:e?"radio active":"radio"},e&&E.default.createElement(i.Icon.CheckActiveMB,{size:26}))):E.default.createElement("div",{className:"title"},E.default.createElement(l.Text,{size:"p2",color:a.theme.colors.gray800},s("chooseBaby.new")),E.default.createElement("div",{className:e?"radio active":"radio"})),E.default.createElement(b.Input,{name:"name",value:r,size:"md",placeholder:s("chooseBaby.placeholder"),type:"text",onChange:o}))},J={[r.Gender.Boy]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.weekly-ad9e0982.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.monthly-5f71f8e6.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.yearly-ed1e14bb.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.weekly-61b1d40a.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.monthly-52900d4f.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.yearly-507a34d2.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.weekly-9b9ac144.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.monthly-0d86a102.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.yearly-ea0ee6dc.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.weekly-a33d058d.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.monthly-03b0a17d.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.yearly-6ff97ed9.js")}))}},[r.Gender.Girl]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.weekly-62e5c21b.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.monthly-831fbf48.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.yearly-634b6b1c.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.weekly-01b9b367.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.monthly-a5e48323.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.yearly-40365af8.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.weekly-76c88a25.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.monthly-3121a310.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.yearly-d7662134.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.weekly-f5e5b1bf.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.monthly-526177f1.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.yearly-f8d1dfcd.js")}))}}},Q={[r.Gender.Boy]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.weekly-5e25b5a4.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.monthly-02ce2d47.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.yearly-3d2ec650.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.weekly-c50427f9.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.monthly-dc6aa694.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.yearly-89381ecc.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.weekly-3a24b5da.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.monthly-b0f6f3ce.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.yearly-c0d3acd7.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.weekly-25865f62.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.monthly-d76b4424.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.yearly-0a163e24.js")}))}},[r.Gender.Girl]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.weekly-324b7a89.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.monthly-0bb0f9dc.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.yearly-63965708.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.weekly-7dd8e2be.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.monthly-be2a1555.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.yearly-4cc3169b.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.weekly-32ca855c.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.monthly-2fd1d14e.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.yearly-45412ada.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.weekly-443024a5.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.monthly-dadee917.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.yearly-3bf0e411.js")}))}}},ee=(e,t,a,l)=>l===r.LOCALE.Indonesia?Q[e][t][a]():J[e][t][a](),te=(e,t)=>{const[r,a]=L.default(t,Math.ceil(t.length/2)),l=r.map((e=>e.name)),o=a.map((e=>e.name));return l.includes(e)?{data:r,status:"first-half"}:o.includes(e)?{data:a,status:"second-half"}:{data:t,status:"full"}},re=(e,t)=>[...e,...t.map((e=>({name:e.name,history:e.history,risk:e.risk,toolTipLabel:e.toolTipLabel})))].sort(((e,t)=>e.name-t.name)),ae=(e,t,r,a,l)=>[...e,{name:a,history:l,risk:t,toolTipLabel:r}].sort(((e,t)=>e.name-t.name)),le=(e,t=0)=>{const r=[];for(const a in e){e[a].forEach(((e,l)=>{r[l]?r[l][a]=e:r[l]={name:l+t,[a]:e}}))}return r},oe=(e,t=0)=>Array.from({length:e-t+1},((e,r)=>r+t)),ne=v.default.div`
384
+ `,X=({isActive:e,onChange:t,value:r="",onInputChange:o,siteType:n})=>{const{t:s}=u.useTranslations(),c="marryBaby"===n;return E.default.createElement(K,{onClick:()=>t("new"),"data-is-mb":c,"data-isActive":c&&e},"marryBaby"===n?E.default.createElement("div",{className:"title"},E.default.createElement(d.MarryBabyText,{type:"bodytext-1",color:a.theme.colors.gray800},s("chooseBaby.new")),E.default.createElement("div",{className:e?"radio active":"radio"},e&&E.default.createElement(i.Icon.CheckActiveMB,{size:26}))):E.default.createElement("div",{className:"title"},E.default.createElement(l.Text,{size:"p2",color:a.theme.colors.gray800},s("chooseBaby.new")),E.default.createElement("div",{className:e?"radio active":"radio"})),E.default.createElement(b.Input,{name:"name",value:r,size:"md",placeholder:s("chooseBaby.placeholder"),type:"text",onChange:o}))},J={[r.Gender.Boy]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.weekly-017d4587.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.monthly-df2b38ad.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.yearly-d98f06d0.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.weekly-7c769b89.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.monthly-4bcc65ef.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.yearly-3f50eba5.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.weekly-2a4e9201.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.monthly-6db968ca.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.yearly-c566092e.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.weekly-9566eb37.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.monthly-5b917714.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.yearly-db737739.js")}))}},[r.Gender.Girl]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.weekly-4b98de90.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.monthly-7990f762.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.yearly-5686e441.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.weekly-69403da3.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.monthly-b3265a7d.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.yearly-5f19a816.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.weekly-d7bc181c.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.monthly-fd8e09c4.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.yearly-2c18bf98.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.weekly-5589d39f.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.monthly-6a6d1837.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.yearly-15c4d279.js")}))}}},Q={[r.Gender.Boy]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.weekly-1478e955.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.monthly-3efc2926.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.yearly-96592d44.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.weekly-caab37b3.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.monthly-a78a7a26.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.yearly-c2d46f1f.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.weekly-faa83c6d.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.monthly-03fc7b94.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.yearly-629071b8.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.weekly-92d923b0.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.monthly-86f68a0b.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.yearly-4d92f086.js")}))}},[r.Gender.Girl]:{[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.weekly-bc5910e8.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.monthly-76c7187f.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.yearly-07b83056.js")}))},[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.weekly-cfbee1ac.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.monthly-e56cd9ff.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.yearly-603fd96e.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.weekly-018ebd5c.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.monthly-8d909763.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.yearly-f4da36f0.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.weekly-3fdeccfe.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.monthly-667e63fd.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.yearly-ea25f63d.js")}))}}},ee=(e,t,a,l)=>l===r.LOCALE.Indonesia?Q[e][t][a]():J[e][t][a](),te=(e,t)=>{const[r,a]=L.default(t,Math.ceil(t.length/2)),l=r.map((e=>e.name)),o=a.map((e=>e.name));return l.includes(e)?{data:r,status:"first-half"}:o.includes(e)?{data:a,status:"second-half"}:{data:t,status:"full"}},re=(e,t)=>[...e,...t.map((e=>({name:e.name,history:e.history,risk:e.risk,toolTipLabel:e.toolTipLabel})))].sort(((e,t)=>e.name-t.name)),ae=(e,t,r,a,l)=>[...e,{name:a,history:l,risk:t,toolTipLabel:r}].sort(((e,t)=>e.name-t.name)),le=(e,t=0)=>{const r=[];for(const a in e){e[a].forEach(((e,l)=>{r[l]?r[l][a]=e:r[l]={name:l+t,[a]:e}}))}return r},oe=(e,t=0)=>Array.from({length:e-t+1},((e,r)=>r+t)),ne=v.default.div`
385
385
  position: relative;
386
386
  .custom-chart-label {
387
387
  display: flex;
package/build/cache.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./core-223cfdf2.js");require("./tslib.es6-23138875.js"),require("./isProduction-6603c122.js"),exports.getCachedItem=e.getCachedItem,exports.getDataWithCache=e.getDataWithCache,exports.setCachedItem=e.setCachedItem;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./core-5c4c9018.js");require("./tslib.es6-0d31715f.js"),require("./isProduction-e1b7813f.js"),exports.getCachedItem=e.getCachedItem,exports.getDataWithCache=e.getDataWithCache,exports.setCachedItem=e.setCachedItem;
package/build/care.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./types-c6a1a14f.js"),r=require("./constants-e7d71ae0.js");require("./tslib.es6-23138875.js"),require("react"),require("./useTranslations-e52e6fd2.js"),require("./translationsContext-0aeba983.js"),require("string-format"),require("lodash/debounce"),require("./index-314491e7.js"),require("@mantine/core"),require("./index-4d941e91.js"),require("./screenSizeContext-d3822141.js"),require("styled-components"),require("lodash/throttle"),require("./theme-95cd4c16.js"),require("dayjs"),require("./index-56ad1186.js"),require("date-fns/locale"),require("./Onboarding-eda97622.js"),require("./isProduction-6603c122.js"),require("./gAssets.js"),require("./useUniqueId-10edc9fa.js"),require("./index-d220afbf.js"),require("react-loading-skeleton"),require("lodash/shuffle"),require("./useOutsideClick-51c6acd1.js"),require("./paths-52bfb691.js"),require("./cookieHelper-67cb3d98.js"),exports.BookingSearchBar=e.BookingSearchBar,exports.BookingSearchBarV2=e.BookingSearchBarV2,exports.CareTypes=e.types,exports.CareConstants=r.constants;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./types-90d8b488.js"),r=require("./constants-fd82a887.js");require("./tslib.es6-0d31715f.js"),require("react"),require("./useTranslations-2e7d64aa.js"),require("./translationsContext-f962ff63.js"),require("string-format"),require("lodash/debounce"),require("./index-537bccbe.js"),require("@mantine/core"),require("./index-5b7dfda4.js"),require("./screenSizeContext-4d5786c6.js"),require("styled-components"),require("lodash/throttle"),require("./theme-1a7c14fb.js"),require("dayjs"),require("./index-a89b23de.js"),require("date-fns/locale"),require("./Onboarding-2b01db17.js"),require("./isProduction-e1b7813f.js"),require("./gAssets.js"),require("./useUniqueId-86a9e1d4.js"),require("./index-e022af07.js"),require("react-loading-skeleton"),require("lodash/shuffle"),require("./useOutsideClick-81c62034.js"),require("./paths-2ac2ae14.js"),require("./cookieHelper-47e34efa.js"),exports.BookingSearchBar=e.BookingSearchBar,exports.BookingSearchBarV2=e.BookingSearchBarV2,exports.CareTypes=e.types,exports.CareConstants=r.constants;
@@ -58,6 +58,6 @@ export { FixedBottomAdBlock } from './adBlock/fixedBottomAdBlock';
58
58
  export type { Props as FixedBottomAdBlockProps } from './adBlock/fixedBottomAdBlock';
59
59
  export { AddressInput } from './addressInput';
60
60
  export type { AddressInputProps } from './addressInput';
61
- export { PremiumNewsletterBanner, MAPPING_CATEGORY_PREMIUM_TYPE, MAPPING_CATEGORY_PREMIUM_API_TYPE, } from './premiumNewsletterBanner';
62
- export type { Props as PremiumNewsletterBannerProps } from './premiumNewsletterBanner';
63
- export type { SubcribeHealthStatusType, BannerStateData, } from './premiumNewsletterBanner/types';
61
+ export { SurveyOrPremiumBanner, MAPPING_CATEGORY_PREMIUM_TYPE, MAPPING_CATEGORY_PREMIUM_API_TYPE, } from './surveyOrPremiumBanner';
62
+ export type { Props as SurveyOrPremiumBannerProps } from './surveyOrPremiumBanner';
63
+ export type { SubcribeHealthStatusType, BannerStateData, } from './surveyOrPremiumBanner/types';
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { DefaultProps, Selectors } from '@mantine/core';
3
3
  import { ButtonProps } from "../../../mantine";
4
+ import { DataTrackingType } from "../../../../interfaces/types";
4
5
  import useStyles from './index.styles';
5
6
  import { Props as BannerLayoutProps } from '../bannerLayout';
6
7
  import { OptionBannerStyleType, OptionBannerType } from '../types';
@@ -12,6 +13,7 @@ export interface Props extends DefaultProps<Selectors<typeof useStyles> & Banner
12
13
  styleType?: OptionBannerStyleType;
13
14
  buttonProps?: ButtonProps;
14
15
  value?: string;
16
+ submitBtnTracking?: DataTrackingType;
15
17
  }
16
18
  declare const BannerWithOptions: (props: Props) => React.JSX.Element;
17
19
  export { BannerWithOptions };
@@ -3,6 +3,7 @@ declare const _default: (params: void, options?: import("@mantine/core").UseStyl
3
3
  root: string;
4
4
  wrapper: string;
5
5
  button: string;
6
+ buttonLabel: string;
6
7
  };
7
8
  cx: (...args: any) => string;
8
9
  theme: import("@mantine/core").MantineTheme;
@@ -3,7 +3,7 @@ import { UseTranslationsReturn } from "../../../hooks";
3
3
  import { RISK_SCREENER_NAME } from "../../../interfaces/constants";
4
4
  import { LocaleType } from "../../../interfaces/types";
5
5
  import { BannerAction, OptionBannerStyleType } from './types';
6
- export declare const FLOW: (t: UseTranslationsReturn<LocaleType>['t']) => {
6
+ export declare const FLOW: (t: UseTranslationsReturn<LocaleType>['t'], currentUrl: any) => {
7
7
  pregnant: {
8
8
  action: BannerAction;
9
9
  props: {
@@ -26,6 +26,11 @@ export declare const FLOW: (t: UseTranslationsReturn<LocaleType>['t']) => {
26
26
  items: {
27
27
  label: string;
28
28
  value: string;
29
+ tracking: {
30
+ dataEventCategory: string;
31
+ dataEventAction: string;
32
+ dataEventLabel: any;
33
+ };
29
34
  }[];
30
35
  };
31
36
  submitHandler: {
@@ -55,6 +60,11 @@ export declare const FLOW: (t: UseTranslationsReturn<LocaleType>['t']) => {
55
60
  label: string;
56
61
  value: string;
57
62
  }[];
63
+ submitBtnTracking: {
64
+ dataEventCategory: string;
65
+ dataEventAction: string;
66
+ dataEventLabel: any;
67
+ };
58
68
  };
59
69
  submitHandler: {
60
70
  todders: {
@@ -79,6 +89,11 @@ export declare const FLOW: (t: UseTranslationsReturn<LocaleType>['t']) => {
79
89
  items: {
80
90
  label: string;
81
91
  value: string;
92
+ tracking: {
93
+ dataEventCategory: string;
94
+ dataEventAction: string;
95
+ dataEventLabel: any;
96
+ };
82
97
  }[];
83
98
  };
84
99
  };
@@ -112,26 +127,33 @@ export declare const FLOW: (t: UseTranslationsReturn<LocaleType>['t']) => {
112
127
  flexDirection: string;
113
128
  };
114
129
  };
130
+ button: {
131
+ background: string;
132
+ };
115
133
  };
116
134
  items: ({
117
135
  label: string;
118
136
  activeTool: import("../../../interfaces/healthTools").HEALTH_TOOL_NAME;
119
137
  isLink: boolean;
120
- value?: undefined;
138
+ tracking: {
139
+ dataEventCategory: string;
140
+ dataEventAction: string;
141
+ dataEventLabel: any;
142
+ };
121
143
  isPNBtn?: undefined;
122
144
  } | {
123
145
  label: string;
124
- value: string;
125
146
  isPNBtn: boolean;
147
+ tracking: {
148
+ dataEventCategory: string;
149
+ dataEventAction: string;
150
+ dataEventLabel: any;
151
+ };
126
152
  activeTool?: undefined;
127
153
  isLink?: undefined;
128
154
  })[];
129
155
  };
130
156
  };
131
- 'todders|teenager.showPN': {
132
- action: BannerAction;
133
- useValueAfterUserBack: string;
134
- };
135
157
  };
136
158
  };
137
159
  };
@@ -141,6 +163,16 @@ export declare const TOOL_BANNERS_PROPS: (t: UseTranslationsReturn<LocaleType>['
141
163
  description: string;
142
164
  btnLabel: string;
143
165
  value: import("../../../interfaces/healthTools").HEALTH_TOOL_NAME;
166
+ dataEventAction: string;
167
+ thumbnail?: undefined;
168
+ isRiskScreener?: undefined;
169
+ hideDescOnMobile?: undefined;
170
+ } | {
171
+ heading: string;
172
+ description: string;
173
+ btnLabel: string;
174
+ value: import("../../../interfaces/healthTools").HEALTH_TOOL_NAME;
175
+ dataEventAction?: undefined;
144
176
  thumbnail?: undefined;
145
177
  isRiskScreener?: undefined;
146
178
  hideDescOnMobile?: undefined;
@@ -155,6 +187,7 @@ export declare const TOOL_BANNERS_PROPS: (t: UseTranslationsReturn<LocaleType>['
155
187
  btnLabel: string;
156
188
  value: RISK_SCREENER_NAME;
157
189
  hideDescOnMobile: boolean;
190
+ dataEventAction: string;
158
191
  };
159
192
  hpv: {
160
193
  heading: string;
@@ -167,5 +200,6 @@ export declare const TOOL_BANNERS_PROPS: (t: UseTranslationsReturn<LocaleType>['
167
200
  btnLabel: string;
168
201
  value: RISK_SCREENER_NAME;
169
202
  hideDescOnMobile: boolean;
203
+ dataEventAction: string;
170
204
  };
171
205
  };
@@ -2,8 +2,9 @@ import { Dispatch, SetStateAction } from 'react';
2
2
  import { BannerAction, BannerStateData, SubcribeHealthStatusType } from './types';
3
3
  import { AcquisitionInfo } from '../premiumNewsletterModal/context';
4
4
  export type BannerState = BannerAction.ShowTool | BannerAction.ShowOptionBanner | null;
5
- export type PremiumNewsletterBannerContextType = {
5
+ export type SurveyOrPremiumBannerContextType = {
6
6
  type: string;
7
+ surveyType?: string;
7
8
  settings?: any;
8
9
  submitHandler?: any;
9
10
  acquisitionInfo: AcquisitionInfo;
@@ -11,19 +12,21 @@ export type PremiumNewsletterBannerContextType = {
11
12
  isMobile?: boolean;
12
13
  isLoggedIn?: boolean;
13
14
  isMarketing?: boolean;
14
- isABTestingType?: boolean;
15
+ isSurveyType?: boolean;
15
16
  hasPremiumBanner?: boolean;
16
17
  currentUrl?: string;
17
18
  subcribeHealthStatus?: SubcribeHealthStatusType;
18
19
  articleId?: number;
19
20
  state?: BannerStateData;
20
21
  setState?: Dispatch<SetStateAction<BannerStateData>>;
21
- source?: 'discover' | 'together';
22
22
  showPNModal?: boolean;
23
23
  setShowPNModal?: Dispatch<SetStateAction<boolean>>;
24
+ source?: 'discover' | 'together';
24
25
  onChange?: (state: BannerStateData) => void;
25
26
  handleClickOption?: (v: string) => void;
26
27
  Outside?: React.FC<any>;
27
28
  minHeight?: number;
29
+ isBack?: boolean;
30
+ setIsBack?: Dispatch<SetStateAction<boolean>>;
28
31
  };
29
- export declare const PremiumNewsletterBannerContext: import("react").Context<PremiumNewsletterBannerContextType>;
32
+ export declare const SurveyOrPremiumBannerContext: import("react").Context<SurveyOrPremiumBannerContextType>;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { ContainerProps } from '@mantine/core';
3
+ import { SurveyOrPremiumBannerContextType } from './context';
4
+ import { BannerCategory } from './types';
5
+ export type Props = {
6
+ Wrapper?: React.FC<any>;
7
+ setShouldAcquisitionModalOpen?: () => void;
8
+ } & Omit<SurveyOrPremiumBannerContextType, 'acquisitionInfo' | 'isLoggedIn'> & ContainerProps;
9
+ export declare const MAPPING_CATEGORY_PREMIUM_TYPE: {
10
+ [key in string]: BannerCategory;
11
+ };
12
+ export declare const MAPPING_CATEGORY_PREMIUM_API_TYPE: {
13
+ [key in BannerCategory]: string;
14
+ };
15
+ export declare const SurveyOrPremiumBanner: ({ type, articleId, categoryIds, isMarketing, isSurveyType, hasPremiumBanner, currentUrl, isMobile, subcribeHealthStatus, setShouldAcquisitionModalOpen, onChange, source, state: stateProp, Wrapper, ...rest }: Props) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const SurveyBanner: () => React.JSX.Element;
3
+ export { SurveyBanner };
@@ -8,6 +8,7 @@ export type Props = {
8
8
  description?: string;
9
9
  thumbnail?: string | ThumbnailType;
10
10
  btnLabel?: string;
11
+ dataEventAction?: string;
11
12
  hideDescOnMobile?: boolean;
12
13
  };
13
14
  declare const ToolBanner: (props: Props) => React.JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { RISK_SCREENER_NAME } from "../../../interfaces/constants";
2
2
  import { HEALTH_TOOL_NAME } from "../../../interfaces/healthTools";
3
+ import { DataTrackingType } from "../../../interfaces/types";
3
4
  import { Props as BannerWithOptionsProps } from './bannerWithOption';
4
5
  import { Props as ToolBannerProps } from './toolBanner';
5
6
  export declare enum BannerCategory {
@@ -15,6 +16,9 @@ export declare enum OptionBannerStyleType {
15
16
  }
16
17
  export type BannerStateData = {
17
18
  action?: BannerAction;
19
+ actionParams?: {
20
+ hideBannerWhenClose?: boolean;
21
+ };
18
22
  props?: ToolBannerProps | BannerWithOptionsProps;
19
23
  };
20
24
  export declare enum BannerAction {
@@ -32,6 +36,7 @@ export type OptionBannerType = {
32
36
  isRiskScreener: boolean;
33
37
  isPNBtn?: boolean;
34
38
  props?: ToolBannerProps | BannerWithOptionsProps;
39
+ tracking?: DataTrackingType;
35
40
  };
36
41
  export type ThumbnailType = {
37
42
  desktop: string;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./fixedBottomAdBlock-90957ff3.js"),r=require("./index-9139a1b0.js"),o=require("./index-f4e53bf8.js"),t=require("./index-3fa544d3.js"),i=require("./index.styles-dcdcb15d.js"),a=require("./index-314491e7.js"),s=require("./index-4d941e91.js"),n=require("./index-2163c775.js"),d=require("./index-753c5340.js"),u=require("./index-d220afbf.js"),p=require("./index-633a5bf3.js"),x=require("./index-9f431a0f.js"),c=require("./index.styled-3d7dd6e8.js"),l=require("./index-2075491a.js"),q=require("./index-2b1500c8.js"),b=require("./index-7109c879.js"),C=require("./footer.js");require("react"),require("./screenSizeContext-d3822141.js"),require("styled-components"),require("lodash/throttle"),require("./useUniqueId-10edc9fa.js"),require("./gAssets.js"),require("./index-56ad1186.js"),require("date-fns/locale"),require("./Onboarding-eda97622.js"),require("./isProduction-6603c122.js"),require("./theme-95cd4c16.js"),require("./tslib.es6-23138875.js"),require("@mantine/core"),require("innertext"),require("@mantine/dates"),require("dayjs"),require("./translationsContext-0aeba983.js"),require("string-format"),require("@mantine/hooks"),require("./useTranslations-e52e6fd2.js"),require("date-fns"),require("lodash/debounce"),require("./useCategory-4968c4d0.js"),require("./types-c4a0b167.js"),require("./index-611f5daf.js"),require("./index-44ba7b08.js"),require("react-hook-form"),require("./useHealthToolCache-7b38b8b0.js"),require("./getDynamicHealthTool-9858cbf6.js"),require("./core-223cfdf2.js"),require("./normalizeLink-72938aa8.js"),require("./useOutsideClick-51c6acd1.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./getSocialList-e92f5b03.js"),require("uuid"),require("./cookieHelper-67cb3d98.js"),require("./constants-e7d71ae0.js"),require("./index-7af60d34.js"),require("./useIsInit-5fb3bcb1.js"),require("react-keyed-flatten-children"),require("@mantine/carousel"),require("slugify"),require("./number-7a59b05e.js"),require("react-day-picker/DayPickerInput"),require("react-dom"),require("@hookform/resolvers/yup"),require("./index.styled-790b9cd1.js"),require("./utils-b44511dc.js"),require("dayjs/plugin/relativeTime"),require("./paths-52bfb691.js"),require("./index-e29e4c94.js"),require("react-contenteditable"),require("@mantine/form"),require("js-cookie"),require("lodash/flatten"),require("lodash/uniqBy"),require("./useScrollbarSize-9b6430c7.js"),exports.Alert=e.Alert,exports.ArticleCard=e.ArticleCard,exports.ArticleCardV2=e.ArticleCard$1,exports.BMICardEmbed=e.BMICardEmbed,exports.BMRCardEmbed=e.BMRCardEmbed,exports.BabyGrowthCardEmbed=e.BabyGrowthCardEmbed,exports.BabyPoopEmbed=e.BabyPoopEmbed,exports.Badge=e.Badge,exports.BorderHeading=e.BorderHeading,exports.Breadcrumbs=e.Breadcrumbs,exports.CategoryCard=e.CategoryCard,exports.Checkbox=e.Checkbox,exports.CheckboxGroup=e.CheckboxGroup,exports.CookieAcceptConfirm=e.CookieAcceptConfirm,exports.DateRangePicker=e.DateRangePicker,exports.DueDateCardEmbed=e.DueDateCardEmbed,exports.FileDropdown=e.FileDropdown,exports.FixedBottomAdBlock=e.FixedBottomAdBlock,exports.FloatButtonGroup=e.FloatButtonGroup,exports.GenderOptionControl=e.GenderOptionControl,exports.Grid=e.Grid,exports.IconText=e.IconText,exports.OvulationCardEmbed=e.OvulationCardEmbed,exports.PWGCardEmbed=e.PWGCardEmbed,exports.Pagination=e.Pagination,exports.ProgressBar=e.ProgressBar,exports.RateStars=e.RateStars,exports.ScrollList=e.ScrollList,exports.SeoHead=e.SeoHead,exports.ShareContainer=e.ShareContainer,exports.ShareDrawer=e.ShareDrawer,exports.SideMenu=e.index,exports.StatisticCard=e.StatisticCard,exports.SurveyThankyouCard=e.SurveyThankyouCard,exports.THRCardEmbed=e.THRCardEmbed,exports.Table=e.index$1,exports.Tabs=e.Tabs,exports.Tag=e.Tag,exports.Toggle=e.Toggle,exports.Avatar=r.Avatar,exports.LanguageSwitcher=r.LanguageSwitcher,exports.NavigationLogoutPopup=r.NavigationLogoutPopup,exports.NavigationProfileButton=r.NavigationProfileButton,exports.NavigationV2=r.NavigationV2,exports.ProfilePopup=r.ProfilePopup,exports.UserProfileNavigation=r.UserProfileNavigation,exports.UserProfileNavigationHeader=r.NavHeader,exports.UserProfileNavigationStats=r.UserStats,exports.getNavMenuContent=r.getNavMenuContent,exports.getNavMenuContentWithCache=r.getNavMenuContentWithCache,exports.Button=o.Button,exports.BtnChoice=t.BtnChoice,exports.Divider=t.Divider,exports.Flag=i.Flag,exports.Heading=i.Heading,exports.LogoIcon=i.LogoIcon,exports.PureInput=i.PureInput,exports.StepRenderer=i.StepRenderer,exports.StepRendererContext=i.StepRendererContext,exports.TextArea=i.TextArea,exports.TextDivider=i.TextDivider,exports.Input=a.Input,exports.Container=s.Container,exports.Icon=s.Icon,exports.Label=s.Label,exports.Logo=n.Logo,exports.AdBlock=d.AdBlock,exports.AuthorBadge=d.AuthorBadge,exports.BookingBtn=d.BookingBtn,exports.DatePicker=d.DatePicker,exports.DoctorInfo=d.DoctorInfo,exports.Dropdown=d.Dropdown,exports.MAPPING_CATEGORY_PREMIUM_API_TYPE=d.MAPPING_CATEGORY_PREMIUM_API_TYPE,exports.MAPPING_CATEGORY_PREMIUM_TYPE=d.MAPPING_CATEGORY_PREMIUM_TYPE,exports.MobileBottomNavigation=d.MobileBottomNavigation,exports.MobileBottomNavigationIcon=d.MobileBottomNavigationIcon,exports.PremiumNewsletterBanner=d.PremiumNewsletterBanner,exports.Radio=d.Radio,exports.RadioGroup=d.RadioGroup,exports.SurveyQuestionCard=d.SurveyQuestionCard,exports.ToolsBannerCard=d.ToolsBannerCard,exports.Text=u.Text,exports.Drawer=p.Drawer,exports.RadioImageGroup=p.RadioImageGroup,exports.CustomReferenceDot=x.CustomReferenceDot,exports.ImageWrap=x.ImageWrap,exports.Popup=c.Popup,exports.Modal=l.Modal,exports.PillCarousel=q.PillCarousel,exports.AddressInput=b.AddressInput,exports.Footer=C.Footer;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./fixedBottomAdBlock-664a6e50.js"),r=require("./index-22a4d8ec.js"),o=require("./index-b99409f1.js"),t=require("./index-9669998e.js"),i=require("./index.styles-9285e23d.js"),a=require("./index-537bccbe.js"),s=require("./index-5b7dfda4.js"),n=require("./index-8383af12.js"),d=require("./index-9f6e2696.js"),u=require("./index-e022af07.js"),p=require("./index-e7f2e80f.js"),x=require("./index-dad94e78.js"),l=require("./index.styled-0d4d68f3.js"),c=require("./index-bc8fcf35.js"),q=require("./index-32d3a385.js"),C=require("./index-4efa8e7e.js"),g=require("./footer.js");require("react"),require("./screenSizeContext-4d5786c6.js"),require("styled-components"),require("lodash/throttle"),require("./useUniqueId-86a9e1d4.js"),require("./gAssets.js"),require("./index-a89b23de.js"),require("date-fns/locale"),require("./Onboarding-2b01db17.js"),require("./isProduction-e1b7813f.js"),require("./theme-1a7c14fb.js"),require("./tslib.es6-0d31715f.js"),require("@mantine/core"),require("innertext"),require("@mantine/dates"),require("dayjs"),require("./translationsContext-f962ff63.js"),require("string-format"),require("@mantine/hooks"),require("./useTranslations-2e7d64aa.js"),require("date-fns"),require("lodash/debounce"),require("./useCategory-971481b4.js"),require("./types-ef750ab6.js"),require("./index-55a6f97a.js"),require("./index-c57b487f.js"),require("react-hook-form"),require("./useHealthToolCache-10f561aa.js"),require("./getDynamicHealthTool-571597e0.js"),require("./core-5c4c9018.js"),require("./normalizeLink-28258895.js"),require("./useOutsideClick-81c62034.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./getSocialList-2d43911c.js"),require("uuid"),require("./cookieHelper-47e34efa.js"),require("./constants-fd82a887.js"),require("./index-58609826.js"),require("./useIsInit-790b9962.js"),require("react-keyed-flatten-children"),require("@mantine/carousel"),require("slugify"),require("./number-b3767f34.js"),require("react-day-picker/DayPickerInput"),require("react-dom"),require("@hookform/resolvers/yup"),require("./index.styled-b9465af1.js"),require("./utils-2fb6eb7d.js"),require("dayjs/plugin/relativeTime"),require("./paths-2ac2ae14.js"),require("./index-f36821a3.js"),require("react-contenteditable"),require("@mantine/form"),require("js-cookie"),require("lodash/flatten"),require("lodash/uniqBy"),require("./useScrollbarSize-29ac8766.js"),exports.Alert=e.Alert,exports.ArticleCard=e.ArticleCard,exports.ArticleCardV2=e.ArticleCard$1,exports.BMICardEmbed=e.BMICardEmbed,exports.BMRCardEmbed=e.BMRCardEmbed,exports.BabyGrowthCardEmbed=e.BabyGrowthCardEmbed,exports.BabyPoopEmbed=e.BabyPoopEmbed,exports.Badge=e.Badge,exports.BorderHeading=e.BorderHeading,exports.Breadcrumbs=e.Breadcrumbs,exports.CategoryCard=e.CategoryCard,exports.Checkbox=e.Checkbox,exports.CheckboxGroup=e.CheckboxGroup,exports.CookieAcceptConfirm=e.CookieAcceptConfirm,exports.DateRangePicker=e.DateRangePicker,exports.DueDateCardEmbed=e.DueDateCardEmbed,exports.FileDropdown=e.FileDropdown,exports.FixedBottomAdBlock=e.FixedBottomAdBlock,exports.FloatButtonGroup=e.FloatButtonGroup,exports.GenderOptionControl=e.GenderOptionControl,exports.Grid=e.Grid,exports.IconText=e.IconText,exports.OvulationCardEmbed=e.OvulationCardEmbed,exports.PWGCardEmbed=e.PWGCardEmbed,exports.Pagination=e.Pagination,exports.ProgressBar=e.ProgressBar,exports.RateStars=e.RateStars,exports.ScrollList=e.ScrollList,exports.SeoHead=e.SeoHead,exports.ShareContainer=e.ShareContainer,exports.ShareDrawer=e.ShareDrawer,exports.SideMenu=e.index,exports.StatisticCard=e.StatisticCard,exports.SurveyThankyouCard=e.SurveyThankyouCard,exports.THRCardEmbed=e.THRCardEmbed,exports.Table=e.index$1,exports.Tabs=e.Tabs,exports.Tag=e.Tag,exports.Toggle=e.Toggle,exports.Avatar=r.Avatar,exports.LanguageSwitcher=r.LanguageSwitcher,exports.NavigationLogoutPopup=r.NavigationLogoutPopup,exports.NavigationProfileButton=r.NavigationProfileButton,exports.NavigationV2=r.NavigationV2,exports.ProfilePopup=r.ProfilePopup,exports.UserProfileNavigation=r.UserProfileNavigation,exports.UserProfileNavigationHeader=r.NavHeader,exports.UserProfileNavigationStats=r.UserStats,exports.getNavMenuContent=r.getNavMenuContent,exports.getNavMenuContentWithCache=r.getNavMenuContentWithCache,exports.Button=o.Button,exports.BtnChoice=t.BtnChoice,exports.Divider=t.Divider,exports.Flag=i.Flag,exports.Heading=i.Heading,exports.LogoIcon=i.LogoIcon,exports.PureInput=i.PureInput,exports.StepRenderer=i.StepRenderer,exports.StepRendererContext=i.StepRendererContext,exports.TextArea=i.TextArea,exports.TextDivider=i.TextDivider,exports.Input=a.Input,exports.Container=s.Container,exports.Icon=s.Icon,exports.Label=s.Label,exports.Logo=n.Logo,exports.AdBlock=d.AdBlock,exports.AuthorBadge=d.AuthorBadge,exports.BookingBtn=d.BookingBtn,exports.DatePicker=d.DatePicker,exports.DoctorInfo=d.DoctorInfo,exports.Dropdown=d.Dropdown,exports.MAPPING_CATEGORY_PREMIUM_API_TYPE=d.MAPPING_CATEGORY_PREMIUM_API_TYPE,exports.MAPPING_CATEGORY_PREMIUM_TYPE=d.MAPPING_CATEGORY_PREMIUM_TYPE,exports.MobileBottomNavigation=d.MobileBottomNavigation,exports.MobileBottomNavigationIcon=d.MobileBottomNavigationIcon,exports.Radio=d.Radio,exports.RadioGroup=d.RadioGroup,exports.SurveyOrPremiumBanner=d.SurveyOrPremiumBanner,exports.SurveyQuestionCard=d.SurveyQuestionCard,exports.ToolsBannerCard=d.ToolsBannerCard,exports.Text=u.Text,exports.Drawer=p.Drawer,exports.RadioImageGroup=p.RadioImageGroup,exports.CustomReferenceDot=x.CustomReferenceDot,exports.ImageWrap=x.ImageWrap,exports.Popup=l.Popup,exports.Modal=c.Modal,exports.PillCarousel=q.PillCarousel,exports.AddressInput=C.AddressInput,exports.Footer=g.Footer;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("date-fns/locale"),require("./Onboarding-eda97622.js");var E=require("./index-56ad1186.js"),e=require("./isProduction-6603c122.js");exports.BEARER_TOKEN_COOKIE=E.BEARER_TOKEN_COOKIE,exports.CARE_BOOKING_LOCALES=E.CARE_BOOKING_LOCALES,exports.CARE_LOCALES=E.CARE_LOCALES,exports.CDN_ADDRESS=E.CDN_ADDRESS,exports.DATE_FNS_LOCALE=E.DATE_FNS_LOCALE,exports.ECOM_LOCALES=E.ECOM_LOCALES,exports.FAVICONS=E.FAVICONS,exports.GA_TOKEN_COOKIE=E.GA_TOKEN_COOKIE,exports.ISO_FORMAT=E.ISO_FORMAT,exports.LOCALE_SPECS=E.LOCALE_SPECS,Object.defineProperty(exports,"QUERY_HEALTH_TOOL",{enumerable:!0,get:function(){return E.QUERY_HEALTH_TOOL}}),Object.defineProperty(exports,"RISK_SCREENER_NAME",{enumerable:!0,get:function(){return E.RISK_SCREENER_NAME}}),exports.RISK_SCREENER_SLUG=E.RISK_SCREENER_SLUG,exports.STATIC_PAGES=E.STATIC_PAGES,exports.TOGETHER_LOCALES=E.TOGETHER_LOCALES,exports.UP_BASEPATH=E.UP_BASEPATH,exports.USER_GEOLOCATION_COORDINATES_COOKIE=E.USER_GEOLOCATION_COORDINATES_COOKIE,exports.domainLocales=E.domainLocales,exports.siteHost=E.siteHost,exports.siteOptions=E.siteOptions,exports.isProduction=e.isProduction;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("date-fns/locale"),require("./Onboarding-2b01db17.js");var E=require("./index-a89b23de.js"),e=require("./isProduction-e1b7813f.js");exports.BEARER_TOKEN_COOKIE=E.BEARER_TOKEN_COOKIE,exports.CARE_BOOKING_LOCALES=E.CARE_BOOKING_LOCALES,exports.CARE_LOCALES=E.CARE_LOCALES,exports.CDN_ADDRESS=E.CDN_ADDRESS,exports.DATE_FNS_LOCALE=E.DATE_FNS_LOCALE,exports.ECOM_LOCALES=E.ECOM_LOCALES,exports.FAVICONS=E.FAVICONS,exports.GA_TOKEN_COOKIE=E.GA_TOKEN_COOKIE,exports.ISO_FORMAT=E.ISO_FORMAT,exports.LOCALE_SPECS=E.LOCALE_SPECS,Object.defineProperty(exports,"QUERY_HEALTH_TOOL",{enumerable:!0,get:function(){return E.QUERY_HEALTH_TOOL}}),Object.defineProperty(exports,"RISK_SCREENER_NAME",{enumerable:!0,get:function(){return E.RISK_SCREENER_NAME}}),exports.RISK_SCREENER_SLUG=E.RISK_SCREENER_SLUG,exports.STATIC_PAGES=E.STATIC_PAGES,exports.TOGETHER_LOCALES=E.TOGETHER_LOCALES,exports.UP_BASEPATH=E.UP_BASEPATH,exports.USER_GEOLOCATION_COORDINATES_COOKIE=E.USER_GEOLOCATION_COORDINATES_COOKIE,exports.domainLocales=E.domainLocales,exports.siteHost=E.siteHost,exports.siteOptions=E.siteOptions,exports.isProduction=e.isProduction;
@@ -1 +1 @@
1
- "use strict";var t=require("./tslib.es6-23138875.js"),e=require("./isProduction-6603c122.js");const i={},a=t=>{if("undefined"!=typeof window){let i;try{i=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return i||{}}return i[t]},r=(t,a)=>{try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:a,time:Date.now()})):i[t]={data:a,time:Date.now()}}catch(t){}};exports.getCachedItem=a,exports.getDataWithCache=(e,i,o,n=9e5)=>t.__awaiter(void 0,void 0,void 0,(function*(){const t=a(e);if(t&&t.data&&t.time&&Date.now()-t.time<n)return t.data;if(i){const t=yield i();return o&&!o(t)||r(e,t),t}return null})),exports.setCachedItem=r;
1
+ "use strict";var t=require("./tslib.es6-0d31715f.js"),e=require("./isProduction-e1b7813f.js");const i={},a=t=>{if("undefined"!=typeof window){let i;try{i=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return i||{}}return i[t]},r=(t,a)=>{try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:a,time:Date.now()})):i[t]={data:a,time:Date.now()}}catch(t){}};exports.getCachedItem=a,exports.getDataWithCache=(e,i,o,n=9e5)=>t.__awaiter(void 0,void 0,void 0,(function*(){const t=a(e);if(t&&t.data&&t.time&&Date.now()-t.time<n)return t.data;if(i){const t=yield i();return o&&!o(t)||r(e,t),t}return null})),exports.setCachedItem=r;