@hhgtech/hhg-components 1.25.39 → 1.25.40

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/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components/vaccination/helpers.d.ts +2 -1
  5. package/build/components/vaccination/vaccineCard/modal.d.ts +1 -1
  6. package/build/components/vaccination/vaccineDetailPopup/confirmModal.d.ts +8 -0
  7. package/build/components/vaccination/vaccineDetailPopup/form.d.ts +1 -0
  8. package/build/components.js +1 -1
  9. package/build/constants.js +1 -1
  10. package/build/core-6f134e7a.js +1 -0
  11. package/build/{dataTransform-11de1963.js → dataTransform-6e9ff11f.js} +1 -1
  12. package/build/ecom.js +1 -1
  13. package/build/esm/babyGrowth.js +5 -5
  14. package/build/esm/cache.js +1 -1
  15. package/build/esm/care.js +1 -1
  16. package/build/esm/components.js +1 -1
  17. package/build/esm/constants.js +1 -1
  18. package/build/esm/{core-4edf6e77.js → core-5256a383.js} +1 -1
  19. package/build/esm/{dataTransform-8b4f66e4.js → dataTransform-982b9d55.js} +1 -1
  20. package/build/esm/ecom.js +1 -1
  21. package/build/esm/footer.js +1 -1
  22. package/build/esm/gAssets.js +1 -1
  23. package/build/esm/getDynamicHealthTool-fac910f0.js +1 -0
  24. package/build/esm/{getSocialList-f1cbd097.js → getSocialList-42d5ef8a.js} +1 -1
  25. package/build/esm/hooks.js +1 -1
  26. package/build/esm/i18n.js +1 -1
  27. package/build/esm/{index-65080b20.js → index-0332e9fb.js} +1 -1
  28. package/build/esm/{index-8ab4372f.js → index-0a675e15.js} +1 -1
  29. package/build/esm/{index-339a1d21.js → index-180eedfa.js} +1 -1
  30. package/build/esm/{index-1509f1b4.js → index-19201ad9.js} +1 -1
  31. package/build/esm/index-1a6a4029.js +1 -0
  32. package/build/esm/{index-5f28651b.js → index-285d7c1a.js} +1 -1
  33. package/build/esm/{index-c47fdbbe.js → index-30b608e8.js} +1 -1
  34. package/build/esm/{index-e6725c39.js → index-385e6123.js} +1 -1
  35. package/build/esm/index-39aec1ec.js +1 -0
  36. package/build/esm/index-47b2afe0.js +1 -0
  37. package/build/esm/{index-fc2ff9a5.js → index-6314712f.js} +1 -1
  38. package/build/esm/{index-407e602b.js → index-67951e55.js} +1 -1
  39. package/build/esm/index-7068cbae.js +1 -0
  40. package/build/esm/index-737c7092.js +1 -0
  41. package/build/esm/{index-2ed8c12d.js → index-89c73e9d.js} +1 -1
  42. package/build/esm/{index-74f27d14.js → index-976a5a4f.js} +1 -1
  43. package/build/esm/{index-53e88b26.js → index-a1016f79.js} +1 -1
  44. package/build/esm/{index-bc64f53e.js → index-a2dc9aab.js} +1 -1
  45. package/build/esm/{index-852395f4.js → index-a91a8a82.js} +1 -1
  46. package/build/esm/index-be181892.js +1 -0
  47. package/build/esm/{index-7ec80c23.js → index-d39d3c76.js} +1 -1
  48. package/build/esm/{index-f45e83b7.js → index-e5f9ec18.js} +1 -1
  49. package/build/esm/{index-a04dd59e.js → index-e7b21581.js} +1 -1
  50. package/build/esm/{index-e45e966e.js → index-e8096240.js} +1 -1
  51. package/build/esm/{index-8f2581f0.js → index-fcadb1e5.js} +6 -6
  52. package/build/esm/index.js +1 -1
  53. package/build/esm/{index.styled-848909a4.js → index.styled-2a2c4eff.js} +1 -1
  54. package/build/esm/{index.styled-4f5f9516.js → index.styled-588c967b.js} +4 -4
  55. package/build/esm/{index.styled-62716538.js → index.styled-a132cfd4.js} +1 -1
  56. package/build/esm/{index.styled-9d93230b.js → index.styled-bde6035b.js} +5 -5
  57. package/build/esm/{index.styled-3620a650.js → index.styled-c00e45ec.js} +1 -1
  58. package/build/esm/{index.styled-7ba4e121.js → index.styled-d7b00b13.js} +1 -1
  59. package/build/esm/{index.styled-38e301bc.js → index.styled-f5a3e9e0.js} +1 -1
  60. package/build/esm/lead.js +1 -1
  61. package/build/esm/mantine.js +1 -1
  62. package/build/esm/misc.js +1 -1
  63. package/build/esm/navigation.js +1 -1
  64. package/build/esm/onboarding.js +1 -1
  65. package/build/esm/pwg.js +5 -5
  66. package/build/esm/{routing-a8c89099.js → routing-76af9e69.js} +1 -1
  67. package/build/esm/{screenSizeContext-dd944e06.js → screenSizeContext-1ce850a1.js} +1 -1
  68. package/build/esm/together.js +1 -1
  69. package/build/esm/translationsContext-48c78d43.js +1 -0
  70. package/build/esm/translationsProvider-001a4f8b.js +1 -0
  71. package/build/esm/{types-709ceb81.js → types-42472308.js} +1 -1
  72. package/build/esm/{types-2b3aed00.js → types-b9f76f82.js} +37 -37
  73. package/build/esm/types.js +1 -1
  74. package/build/esm/useHealthToolCache-c717e64e.js +1 -0
  75. package/build/esm/{useRafState-a24d35cd.js → useRafState-3b377be0.js} +1 -1
  76. package/build/esm/{useScreenSize-d4b39aa9.js → useScreenSize-207c6c59.js} +1 -1
  77. package/build/esm/{useTranslations-c8dd68e4.js → useTranslations-9944ea07.js} +1 -1
  78. package/build/esm/vaccination.js +64 -64
  79. package/build/footer.js +1 -1
  80. package/build/gAssets.js +1 -1
  81. package/build/getDynamicHealthTool-4f86fb15.js +1 -0
  82. package/build/{getSocialList-b3308b4e.js → getSocialList-5eb11d68.js} +1 -1
  83. package/build/hooks.js +1 -1
  84. package/build/i18n.js +1 -1
  85. package/build/{index-1dcd51fb.js → index-0ffe250c.js} +1 -1
  86. package/build/{index-414e4a00.js → index-137894cf.js} +1 -1
  87. package/build/{index-d8ddd4ed.js → index-19fbc39f.js} +1 -1
  88. package/build/{index-2415482d.js → index-1e8f491f.js} +1 -1
  89. package/build/{index-480b3e7c.js → index-30cdfaa7.js} +1 -1
  90. package/build/{index-8a3af013.js → index-34a57dc0.js} +4 -4
  91. package/build/{index-c72aa50c.js → index-3a907da6.js} +1 -1
  92. package/build/{index-02e9ccee.js → index-3fabbfe2.js} +1 -1
  93. package/build/index-41d5f491.js +1 -0
  94. package/build/index-4503b8a0.js +1 -0
  95. package/build/{index-cf26308b.js → index-45687b11.js} +1 -1
  96. package/build/index-7840af7f.js +1 -0
  97. package/build/{index-7f077990.js → index-8ef04a84.js} +1 -1
  98. package/build/{index-ec3d10e1.js → index-9ade2fa7.js} +1 -1
  99. package/build/{index-29b9f719.js → index-9ceaf4a1.js} +1 -1
  100. package/build/{index-607cc58f.js → index-a518b68e.js} +1 -1
  101. package/build/{index-9ec9bbd2.js → index-b9df7cc2.js} +2 -2
  102. package/build/index-c945bdda.js +1 -0
  103. package/build/{index-40f2a86e.js → index-c97f3216.js} +1 -1
  104. package/build/{index-4225fab0.js → index-ca6e36bc.js} +1 -1
  105. package/build/{index-dfbd8a29.js → index-e93b56af.js} +1 -1
  106. package/build/{index-ed79badd.js → index-ec29d439.js} +1 -1
  107. package/build/{index-e5a0ed63.js → index-f0f5a3f8.js} +1 -1
  108. package/build/{index-c2860a26.js → index-f63a1760.js} +1 -1
  109. package/build/{index-d1669d07.js → index-fa1c7976.js} +1 -1
  110. package/build/index.js +1 -1
  111. package/build/{index.styled-45879a1f.js → index.styled-121d73f3.js} +1 -1
  112. package/build/{index.styled-09c46eef.js → index.styled-31b84d11.js} +1 -1
  113. package/build/{index.styled-bca348c9.js → index.styled-420c6f71.js} +1 -1
  114. package/build/{index.styled-59ec7cc6.js → index.styled-7adc9e6f.js} +1 -1
  115. package/build/index.styled-906e0b96.js +50 -0
  116. package/build/{index.styled-7461b202.js → index.styled-a02c919b.js} +1 -1
  117. package/build/{index.styled-5bffb1d2.js → index.styled-f785924a.js} +1 -1
  118. package/build/interfaces/types/BabyVaccination.d.ts +18 -0
  119. package/build/lead.js +1 -1
  120. package/build/mantine.js +1 -1
  121. package/build/misc.js +1 -1
  122. package/build/navigation.js +1 -1
  123. package/build/onboarding.js +1 -1
  124. package/build/pwg.js +1 -1
  125. package/build/{routing-568d7251.js → routing-77d2423b.js} +1 -1
  126. package/build/{screenSizeContext-493cd26b.js → screenSizeContext-b15feb85.js} +10 -10
  127. package/build/together.js +1 -1
  128. package/build/translationsContext-9196f7b1.js +1 -0
  129. package/build/translationsProvider-30eded82.js +1 -0
  130. package/build/{types-220467cd.js → types-4a1bec41.js} +1 -1
  131. package/build/{types-95b64d99.js → types-baf33d25.js} +1 -1
  132. package/build/types.js +1 -1
  133. package/build/useHealthToolCache-d3dcf17a.js +1 -0
  134. package/build/{useRafState-e4662a2e.js → useRafState-70652ea2.js} +1 -1
  135. package/build/{useScreenSize-a6b91f95.js → useScreenSize-57e7e942.js} +1 -1
  136. package/build/useTranslations-19d05a27.js +1 -0
  137. package/build/vaccination.js +38 -38
  138. package/package.json +1 -1
  139. package/build/core-55ee4db7.js +0 -1
  140. package/build/esm/getDynamicHealthTool-d314125b.js +0 -1
  141. package/build/esm/index-2f525d5f.js +0 -1
  142. package/build/esm/index-303f6a82.js +0 -1
  143. package/build/esm/index-311efb07.js +0 -1
  144. package/build/esm/index-4cf35cf1.js +0 -1
  145. package/build/esm/index-b1fa6ca7.js +0 -1
  146. package/build/esm/index-cccf60e7.js +0 -1
  147. package/build/esm/translationsContext-cc1f1ab1.js +0 -1
  148. package/build/esm/translationsProvider-f0b9143b.js +0 -1
  149. package/build/esm/useHealthToolCache-797ce081.js +0 -1
  150. package/build/getDynamicHealthTool-82d872fa.js +0 -1
  151. package/build/index-200f309f.js +0 -1
  152. package/build/index-69b66d1a.js +0 -1
  153. package/build/index-a8bb421b.js +0 -1
  154. package/build/index-eff0068e.js +0 -1
  155. package/build/index.styled-9dc40a23.js +0 -50
  156. package/build/translationsContext-b23000a6.js +0 -1
  157. package/build/translationsProvider-7a8e3615.js +0 -1
  158. package/build/useHealthToolCache-e841daf7.js +0 -1
  159. package/build/useTranslations-3e6b90c2.js +0 -1
  160. /package/build/{BMI_BOYS.percentile.monthly-a8c0c6dd.js → BMI_BOYS.percentile.monthly-32be3a23.js} +0 -0
  161. /package/build/{BMI_BOYS.percentile.weekly-85ff3f25.js → BMI_BOYS.percentile.weekly-12220234.js} +0 -0
  162. /package/build/{BMI_BOYS.percentile.yearly-f147de86.js → BMI_BOYS.percentile.yearly-076669a1.js} +0 -0
  163. /package/build/{BMI_BOYS.zscore.monthly-d9b28d95.js → BMI_BOYS.zscore.monthly-f2131a61.js} +0 -0
  164. /package/build/{BMI_BOYS.zscore.weekly-6f3cfa57.js → BMI_BOYS.zscore.weekly-4e09aefa.js} +0 -0
  165. /package/build/{BMI_BOYS.zscore.yearly-dd747d6c.js → BMI_BOYS.zscore.yearly-3e7efc96.js} +0 -0
  166. /package/build/{BMI_GIRLS.percentile.monthly-1487aff4.js → BMI_GIRLS.percentile.monthly-86d0eb7b.js} +0 -0
  167. /package/build/{BMI_GIRLS.percentile.weekly-8b337581.js → BMI_GIRLS.percentile.weekly-ec26a1aa.js} +0 -0
  168. /package/build/{BMI_GIRLS.percentile.yearly-dbe89a17.js → BMI_GIRLS.percentile.yearly-80fc7bfb.js} +0 -0
  169. /package/build/{BMI_GIRLS.zscore.monthly-2275f605.js → BMI_GIRLS.zscore.monthly-ae43c72f.js} +0 -0
  170. /package/build/{BMI_GIRLS.zscore.weekly-d9e5a3c5.js → BMI_GIRLS.zscore.weekly-dbd1c3a1.js} +0 -0
  171. /package/build/{BMI_GIRLS.zscore.yearly-4531bea9.js → BMI_GIRLS.zscore.yearly-cc65bc93.js} +0 -0
  172. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-2f7665a7.js → HEAD CIRCUM_BOYS.percentile.monthly-3714ec0c.js} +0 -0
  173. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-bc5ba61d.js → HEAD CIRCUM_BOYS.percentile.weekly-256072df.js} +0 -0
  174. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-046ba19f.js → HEAD CIRCUM_BOYS.percentile.yearly-f09d3820.js} +0 -0
  175. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-c1eef6db.js → HEAD CIRCUM_BOYS.zscore.monthly-a842c62b.js} +0 -0
  176. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-75e6c67e.js → HEAD CIRCUM_BOYS.zscore.weekly-88b28942.js} +0 -0
  177. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-01d4e545.js → HEAD CIRCUM_BOYS.zscore.yearly-b715b464.js} +0 -0
  178. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-4545a074.js → HEAD CIRCUM_GIRLS.percentile.monthly-1d71da8b.js} +0 -0
  179. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-4679350e.js → HEAD CIRCUM_GIRLS.percentile.weekly-a399fc8f.js} +0 -0
  180. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-1af389f2.js → HEAD CIRCUM_GIRLS.percentile.yearly-78b8a9c6.js} +0 -0
  181. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-3ef04b5f.js → HEAD CIRCUM_GIRLS.zscore.monthly-93d8a70d.js} +0 -0
  182. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b6cf5baa.js → HEAD CIRCUM_GIRLS.zscore.weekly-cb338d24.js} +0 -0
  183. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-9548b91b.js → HEAD CIRCUM_GIRLS.zscore.yearly-c2464b09.js} +0 -0
  184. /package/build/{HEIGHT_BOYS.percentile.monthly-c7efe86b.js → HEIGHT_BOYS.percentile.monthly-da89077a.js} +0 -0
  185. /package/build/{HEIGHT_BOYS.percentile.weekly-5a644e6e.js → HEIGHT_BOYS.percentile.weekly-e9fa02cb.js} +0 -0
  186. /package/build/{HEIGHT_BOYS.percentile.yearly-4090f4cb.js → HEIGHT_BOYS.percentile.yearly-9f613642.js} +0 -0
  187. /package/build/{HEIGHT_BOYS.zscore.monthly-5dcbb59d.js → HEIGHT_BOYS.zscore.monthly-e850de92.js} +0 -0
  188. /package/build/{HEIGHT_BOYS.zscore.weekly-1694860c.js → HEIGHT_BOYS.zscore.weekly-585ae860.js} +0 -0
  189. /package/build/{HEIGHT_BOYS.zscore.yearly-6e7499c8.js → HEIGHT_BOYS.zscore.yearly-1ac6e64c.js} +0 -0
  190. /package/build/{HEIGHT_GIRLS.percentile.monthly-a237cee3.js → HEIGHT_GIRLS.percentile.monthly-fb3769ef.js} +0 -0
  191. /package/build/{HEIGHT_GIRLS.percentile.weekly-733336cd.js → HEIGHT_GIRLS.percentile.weekly-fafda017.js} +0 -0
  192. /package/build/{HEIGHT_GIRLS.percentile.yearly-a252e4b6.js → HEIGHT_GIRLS.percentile.yearly-b5f753f6.js} +0 -0
  193. /package/build/{HEIGHT_GIRLS.zscore.monthly-24752173.js → HEIGHT_GIRLS.zscore.monthly-727008e0.js} +0 -0
  194. /package/build/{HEIGHT_GIRLS.zscore.weekly-1e54c31e.js → HEIGHT_GIRLS.zscore.weekly-d838b0c3.js} +0 -0
  195. /package/build/{HEIGHT_GIRLS.zscore.yearly-dc8ec3a2.js → HEIGHT_GIRLS.zscore.yearly-313d15da.js} +0 -0
  196. /package/build/{Onboarding-c1551b01.js → Onboarding-8d363051.js} +0 -0
  197. /package/build/{Visible-45138a32.js → Visible-2fc8f4c2.js} +0 -0
  198. /package/build/{WEIGHT_BOYS.percentile.monthly-4a278db3.js → WEIGHT_BOYS.percentile.monthly-e2c8b783.js} +0 -0
  199. /package/build/{WEIGHT_BOYS.percentile.weekly-cc88cba6.js → WEIGHT_BOYS.percentile.weekly-2b4637ae.js} +0 -0
  200. /package/build/{WEIGHT_BOYS.percentile.yearly-718618d3.js → WEIGHT_BOYS.percentile.yearly-13dfee02.js} +0 -0
  201. /package/build/{WEIGHT_BOYS.zscore.monthly-0d5e53cd.js → WEIGHT_BOYS.zscore.monthly-1d11b650.js} +0 -0
  202. /package/build/{WEIGHT_BOYS.zscore.weekly-9fb4ba32.js → WEIGHT_BOYS.zscore.weekly-4b76f171.js} +0 -0
  203. /package/build/{WEIGHT_BOYS.zscore.yearly-11fbfc7c.js → WEIGHT_BOYS.zscore.yearly-c2d2f22c.js} +0 -0
  204. /package/build/{WEIGHT_GIRLS.percentile.monthly-5a18b358.js → WEIGHT_GIRLS.percentile.monthly-aef93721.js} +0 -0
  205. /package/build/{WEIGHT_GIRLS.percentile.weekly-de200f0e.js → WEIGHT_GIRLS.percentile.weekly-b122299b.js} +0 -0
  206. /package/build/{WEIGHT_GIRLS.percentile.yearly-51a90e39.js → WEIGHT_GIRLS.percentile.yearly-310f26f4.js} +0 -0
  207. /package/build/{WEIGHT_GIRLS.zscore.monthly-7aeffeee.js → WEIGHT_GIRLS.zscore.monthly-3d7198c4.js} +0 -0
  208. /package/build/{WEIGHT_GIRLS.zscore.weekly-b21d2a46.js → WEIGHT_GIRLS.zscore.weekly-ea7bc719.js} +0 -0
  209. /package/build/{WEIGHT_GIRLS.zscore.yearly-a627f8c9.js → WEIGHT_GIRLS.zscore.yearly-03a69c54.js} +0 -0
  210. /package/build/{constants-665365aa.js → constants-606a0013.js} +0 -0
  211. /package/build/{cookieHelper-230f36b0.js → cookieHelper-b2667594.js} +0 -0
  212. /package/build/{dataTransform-7bf7e9ff.js → dataTransform-24d3fdd4.js} +0 -0
  213. /package/build/esm/{BMI_BOYS.percentile.monthly-03fb80e4.js → BMI_BOYS.percentile.monthly-dcb0bd73.js} +0 -0
  214. /package/build/esm/{BMI_BOYS.percentile.weekly-05e04839.js → BMI_BOYS.percentile.weekly-c95e6c4d.js} +0 -0
  215. /package/build/esm/{BMI_BOYS.percentile.yearly-92db8ba5.js → BMI_BOYS.percentile.yearly-bbd9662f.js} +0 -0
  216. /package/build/esm/{BMI_BOYS.zscore.monthly-f682d8f0.js → BMI_BOYS.zscore.monthly-ba1e2b29.js} +0 -0
  217. /package/build/esm/{BMI_BOYS.zscore.weekly-7bda136d.js → BMI_BOYS.zscore.weekly-80499522.js} +0 -0
  218. /package/build/esm/{BMI_BOYS.zscore.yearly-ec35f707.js → BMI_BOYS.zscore.yearly-14b7b7e2.js} +0 -0
  219. /package/build/esm/{BMI_GIRLS.percentile.monthly-2520b1b3.js → BMI_GIRLS.percentile.monthly-c26c77fa.js} +0 -0
  220. /package/build/esm/{BMI_GIRLS.percentile.weekly-c05df671.js → BMI_GIRLS.percentile.weekly-2e76ec28.js} +0 -0
  221. /package/build/esm/{BMI_GIRLS.percentile.yearly-02c04980.js → BMI_GIRLS.percentile.yearly-5da0e3e1.js} +0 -0
  222. /package/build/esm/{BMI_GIRLS.zscore.monthly-d2d8041e.js → BMI_GIRLS.zscore.monthly-a3087ca1.js} +0 -0
  223. /package/build/esm/{BMI_GIRLS.zscore.weekly-d384cb13.js → BMI_GIRLS.zscore.weekly-ce577050.js} +0 -0
  224. /package/build/esm/{BMI_GIRLS.zscore.yearly-093a46d4.js → BMI_GIRLS.zscore.yearly-9a23543b.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-7efcf608.js → HEAD CIRCUM_BOYS.percentile.monthly-7fd9c289.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-eaee6b67.js → HEAD CIRCUM_BOYS.percentile.weekly-7f9d66b1.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-1a7bb4e5.js → HEAD CIRCUM_BOYS.percentile.yearly-7a8c5e08.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-58887ec3.js → HEAD CIRCUM_BOYS.zscore.monthly-333371ba.js} +0 -0
  229. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-e4214b29.js → HEAD CIRCUM_BOYS.zscore.weekly-5264d210.js} +0 -0
  230. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-8dc76ecf.js → HEAD CIRCUM_BOYS.zscore.yearly-71b3936f.js} +0 -0
  231. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-acf4f96b.js → HEAD CIRCUM_GIRLS.percentile.monthly-942d386c.js} +0 -0
  232. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-07365caf.js → HEAD CIRCUM_GIRLS.percentile.weekly-7a149e14.js} +0 -0
  233. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-d27e6f16.js → HEAD CIRCUM_GIRLS.percentile.yearly-a28b4d2d.js} +0 -0
  234. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-5ea075d3.js → HEAD CIRCUM_GIRLS.zscore.monthly-d5bc5ee3.js} +0 -0
  235. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-510cd4bc.js → HEAD CIRCUM_GIRLS.zscore.weekly-693684eb.js} +0 -0
  236. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-114e5f8a.js → HEAD CIRCUM_GIRLS.zscore.yearly-35b00260.js} +0 -0
  237. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-049bba93.js → HEIGHT_BOYS.percentile.monthly-f7ad9c3e.js} +0 -0
  238. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-06b76f03.js → HEIGHT_BOYS.percentile.weekly-8fcf287d.js} +0 -0
  239. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-ae545a8a.js → HEIGHT_BOYS.percentile.yearly-1001f097.js} +0 -0
  240. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-1e081925.js → HEIGHT_BOYS.zscore.monthly-6c3b613f.js} +0 -0
  241. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-19e76544.js → HEIGHT_BOYS.zscore.weekly-ad61e4f8.js} +0 -0
  242. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-0a789a04.js → HEIGHT_BOYS.zscore.yearly-0cf9abb3.js} +0 -0
  243. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-872a0c33.js → HEIGHT_GIRLS.percentile.monthly-cf0aaa04.js} +0 -0
  244. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-424e327e.js → HEIGHT_GIRLS.percentile.weekly-31a51ebd.js} +0 -0
  245. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-df8897c0.js → HEIGHT_GIRLS.percentile.yearly-aeaf37a3.js} +0 -0
  246. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-6884c7ec.js → HEIGHT_GIRLS.zscore.monthly-f0f59a83.js} +0 -0
  247. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-42bfe686.js → HEIGHT_GIRLS.zscore.weekly-fe6a5bd3.js} +0 -0
  248. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-3e3c4059.js → HEIGHT_GIRLS.zscore.yearly-ba6b64b0.js} +0 -0
  249. /package/build/esm/{Onboarding-0ff9b5b5.js → Onboarding-db0aad29.js} +0 -0
  250. /package/build/esm/{Visible-6c6dfcb4.js → Visible-7732053a.js} +0 -0
  251. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-ebd0af87.js → WEIGHT_BOYS.percentile.monthly-4d5e7458.js} +0 -0
  252. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-dd61d9b8.js → WEIGHT_BOYS.percentile.weekly-18b6c7bb.js} +0 -0
  253. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-88c25bf8.js → WEIGHT_BOYS.percentile.yearly-7f2ab972.js} +0 -0
  254. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d71d5a67.js → WEIGHT_BOYS.zscore.monthly-70bd6d3e.js} +0 -0
  255. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-7e772b2f.js → WEIGHT_BOYS.zscore.weekly-edd20b79.js} +0 -0
  256. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-71dbf3d1.js → WEIGHT_BOYS.zscore.yearly-834cb0b3.js} +0 -0
  257. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-1ba27547.js → WEIGHT_GIRLS.percentile.monthly-0eaea462.js} +0 -0
  258. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f70f24c8.js → WEIGHT_GIRLS.percentile.weekly-c77d9505.js} +0 -0
  259. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0d6c9a99.js → WEIGHT_GIRLS.percentile.yearly-cde76613.js} +0 -0
  260. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-64866677.js → WEIGHT_GIRLS.zscore.monthly-e0a8c880.js} +0 -0
  261. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-dc88506e.js → WEIGHT_GIRLS.zscore.weekly-e8d15835.js} +0 -0
  262. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-bd643418.js → WEIGHT_GIRLS.zscore.yearly-82ed3c48.js} +0 -0
  263. /package/build/esm/{constants-109919c0.js → constants-21e8c9d5.js} +0 -0
  264. /package/build/esm/{cookieHelper-db4b0fe2.js → cookieHelper-a2c54e85.js} +0 -0
  265. /package/build/esm/{dataTransform-59cf21e0.js → dataTransform-0ca0b129.js} +0 -0
  266. /package/build/esm/{index-6bbc0c2d.js → index-7b166303.js} +0 -0
  267. /package/build/esm/{isProduction-aeb6f962.js → isProduction-ea895154.js} +0 -0
  268. /package/build/esm/{localizeNumberFormat-4320beb2.js → localizeNumberFormat-6deef77b.js} +0 -0
  269. /package/build/esm/{normalizeLink-95b9c829.js → normalizeLink-7b85244a.js} +0 -0
  270. /package/build/esm/{theme-f2ec8cec.js → theme-dba1b74c.js} +0 -0
  271. /package/build/esm/{tslib.es6-3ffeb615.js → tslib.es6-7d4256e2.js} +0 -0
  272. /package/build/esm/{types-4339933e.js → types-eb022593.js} +0 -0
  273. /package/build/esm/{useIsInit-ea732cb9.js → useIsInit-b5ea5aaa.js} +0 -0
  274. /package/build/esm/{useOutsideClick-b74d11ef.js → useOutsideClick-717ef9fc.js} +0 -0
  275. /package/build/esm/{useScrollbarSize-ffba6c90.js → useScrollbarSize-fff02bb1.js} +0 -0
  276. /package/build/esm/{useUniqueId-a6c92d8e.js → useUniqueId-3c9e5754.js} +0 -0
  277. /package/build/esm/{utils-a70ab1c6.js → utils-1c546527.js} +0 -0
  278. /package/build/{index-ad57528f.js → index-771c1b27.js} +0 -0
  279. /package/build/{isProduction-6b31a53f.js → isProduction-bbff0073.js} +0 -0
  280. /package/build/{localizeNumberFormat-f7294e15.js → localizeNumberFormat-b8e4cfe3.js} +0 -0
  281. /package/build/{normalizeLink-95b39e6e.js → normalizeLink-7b336aa7.js} +0 -0
  282. /package/build/{theme-a2681c7d.js → theme-b65701ae.js} +0 -0
  283. /package/build/{tslib.es6-37c0ba0e.js → tslib.es6-c18725ef.js} +0 -0
  284. /package/build/{types-f1edb3bd.js → types-3d0f9add.js} +0 -0
  285. /package/build/{useIsInit-1f29809a.js → useIsInit-ed80722c.js} +0 -0
  286. /package/build/{useOutsideClick-878b777b.js → useOutsideClick-8a19f6ab.js} +0 -0
  287. /package/build/{useScrollbarSize-3689035d.js → useScrollbarSize-726d97ad.js} +0 -0
  288. /package/build/{useUniqueId-ae021ee9.js → useUniqueId-bde3b8b5.js} +0 -0
  289. /package/build/{utils-57fe3e54.js → utils-80d2aa8d.js} +0 -0
package/build/footer.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-c2860a26.js"),a=require("./index-9ec9bbd2.js"),l=require("./index-dfbd8a29.js"),n=require("./index-02e9ccee.js"),o=require("./theme-a2681c7d.js"),r=require("./useTranslations-3e6b90c2.js"),i=require("./index-29b9f719.js"),d=require("./index-7f077990.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./tslib.es6-37c0ba0e.js"),require("./utils-57fe3e54.js"),require("styled-components"),require("./gAssets.js"),require("./isProduction-6b31a53f.js"),require("./Onboarding-c1551b01.js"),require("./translationsContext-b23000a6.js"),require("string-format"),require("./index.styled-5bffb1d2.js");var s=c(e),u="Lj0qoTD",m="OO-qFWT";const v=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>s.default.createElement("div",{className:m,"data-is-mobile":t},s.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),f=({className:e,type:i="main",footerInfo:d,isMobile:c,locale:m})=>{var f,y,E,g,b,p,N,h,k,x,T,F,$,z,q,C,j,L,M,w,B,_,A,H,I,G,S,D;const{t:O}=r.useTranslations(),P=null==d?void 0:d.menu,J=(null===(y=null===(f=null==d?void 0:d.general)||void 0===f?void 0:f.verified)||void 0===y?void 0:y.filter(Boolean))||[];return s.default.createElement("footer",{className:`${u} ${e||""}`,style:"mini"===i?{backgroundColor:o.theme.colors.neutral50}:{}},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"inner","data-type":i},"main"===i?s.default.createElement(s.default.Fragment,null,s.default.createElement("a",{href:"/"},s.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(E=null==d?void 0:d.general)||void 0===E?void 0:E.logo,alt:"Logo","data-is-sehat":"id-ID"===m})),s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"newsletter"},s.default.createElement(l.Text,{size:"p1",type:"bold"},null===(g=null==d?void 0:d.general)||void 0===g?void 0:g.content),s.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(b=null==d?void 0:d.social)||void 0===b?void 0:b.title),s.default.createElement("div",{className:"icons"},null===(N=null===(p=null==d?void 0:d.social)||void 0===p?void 0:p.socials)||void 0===N?void 0:N.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),s.default.createElement("hr",{className:"hrMobile"}))),s.default.createElement("div",null,P&&s.default.createElement(s.default.Fragment,null,s.default.createElement("div",{className:"biglinks"},null===(k=null===(h=P[0])||void 0===h?void 0:h.items)||void 0===k?void 0:k.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(x=P[1])||void 0===x?void 0:x.menu_title),null===(F=null===(T=P[1])||void 0===T?void 0:T.items)||void 0===F?void 0:F.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===($=P[2])||void 0===$?void 0:$.menu_title),null===(q=null===(z=P[2])||void 0===z?void 0:z.items)||void 0===q?void 0:q.map(((e,t)=>e.url&&s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"otherSites"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(C=null==d?void 0:d.branch)||void 0===C?void 0:C.title),s.default.createElement("div",{className:"flags"},null===(L=null===(j=null==d?void 0:d.branch)||void 0===j?void 0:j.branch)||void 0===L?void 0:L.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},s.default.createElement(v,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),s.default.createElement("hr",null),s.default.createElement("div",{className:"copyright"},s.default.createElement("div",{className:"copyright-image-wrapper"},J.length?J.map(((e,t)=>s.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},s.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),s.default.createElement(l.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(M=null==d?void 0:d.general)||void 0===M?void 0:M.copyright)),"vi-VN"===m&&s.default.createElement(l.Text,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):s.default.createElement(s.default.Fragment,null,(null==d?void 0:d.menu)&&s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(w=null==d?void 0:d.menu[1])||void 0===w?void 0:w.menu_title),null===(_=null===(B=null==d?void 0:d.menu[1])||void 0===B?void 0:B.items)||void 0===_?void 0:_.map((e=>s.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${n.domainLocales[m]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`},s.default.createElement(l.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`,size:"sm",type:"regular",style:{color:o.theme.colors.gray800}},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==d?void 0:d.menu[2])||void 0===A?void 0:A.menu_title),null===(I=null===(H=null==d?void 0:d.menu[2])||void 0===H?void 0:H.items)||void 0===I?void 0:I.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},s.default.createElement(l.Text,{size:"sm",type:"regular",style:{color:o.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==i&&s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"newsletter"},s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(G=null==d?void 0:d.social)||void 0===G?void 0:G.title),s.default.createElement("div",{className:"icons"},null===(D=null===(S=null==d?void 0:d.social)||void 0===S?void 0:S.socials)||void 0===D?void 0:D.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var y="B6-KmWK",E="GS-7mbG",g="qc5bEb3",b="CQGVeuT",p="_6JMoel-",N="_8eUT8Jr",h="cjDwoLi";const k=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:r,menu:c,socials:u}=t;return s.default.createElement("footer",{className:y,style:{backgroundColor:l||"none"}},s.default.createElement("div",{className:h},s.default.createElement(a.Container,null,s.default.createElement("div",{className:E},null==c?void 0:c.map((({menu_title:e,items:t},a)=>s.default.createElement("div",{className:g,key:`mbf${a}`},s.default.createElement(d.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},s.default.createElement("div",{className:b,key:`mbitem${a}`},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},e)))))))))),s.default.createElement(a.Container,null,s.default.createElement("div",{className:p},s.default.createElement(i.Logo,{className:"logo",type:e}),s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},null==r?void 0:r.content)),s.default.createElement("div",{className:"social-link"},null==u?void 0:u.map((({icon:e,name:t,url:a},l)=>s.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},s.default.createElement("img",{loading:"lazy",src:e,alt:t}))))))),s.default.createElement("div",{className:N},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-3",color:o.theme.colors.white},null==r?void 0:r.copyright),s.default.createElement("div",{className:"verify"},null===(n=null==r?void 0:r.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>s.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t})))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:o})=>"helloSites"===n?s.default.createElement(f,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):s.default.createElement(k,{footerMenu:l,background:o});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-f63a1760.js"),a=require("./index-b9df7cc2.js"),l=require("./index-e93b56af.js"),n=require("./index-3fabbfe2.js"),o=require("./theme-b65701ae.js"),r=require("./useTranslations-19d05a27.js"),i=require("./index-9ceaf4a1.js"),d=require("./index-8ef04a84.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./tslib.es6-c18725ef.js"),require("./utils-80d2aa8d.js"),require("styled-components"),require("./gAssets.js"),require("./isProduction-bbff0073.js"),require("./Onboarding-8d363051.js"),require("./translationsContext-9196f7b1.js"),require("string-format"),require("./index.styled-f785924a.js");var s=c(e),u="Lj0qoTD",m="OO-qFWT";const v=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>s.default.createElement("div",{className:m,"data-is-mobile":t},s.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),f=({className:e,type:i="main",footerInfo:d,isMobile:c,locale:m})=>{var f,y,E,g,b,p,N,h,k,x,T,F,$,z,q,C,j,L,M,w,B,_,A,H,I,G,S,D;const{t:O}=r.useTranslations(),P=null==d?void 0:d.menu,J=(null===(y=null===(f=null==d?void 0:d.general)||void 0===f?void 0:f.verified)||void 0===y?void 0:y.filter(Boolean))||[];return s.default.createElement("footer",{className:`${u} ${e||""}`,style:"mini"===i?{backgroundColor:o.theme.colors.neutral50}:{}},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"inner","data-type":i},"main"===i?s.default.createElement(s.default.Fragment,null,s.default.createElement("a",{href:"/"},s.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(E=null==d?void 0:d.general)||void 0===E?void 0:E.logo,alt:"Logo","data-is-sehat":"id-ID"===m})),s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"newsletter"},s.default.createElement(l.Text,{size:"p1",type:"bold"},null===(g=null==d?void 0:d.general)||void 0===g?void 0:g.content),s.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(b=null==d?void 0:d.social)||void 0===b?void 0:b.title),s.default.createElement("div",{className:"icons"},null===(N=null===(p=null==d?void 0:d.social)||void 0===p?void 0:p.socials)||void 0===N?void 0:N.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),s.default.createElement("hr",{className:"hrMobile"}))),s.default.createElement("div",null,P&&s.default.createElement(s.default.Fragment,null,s.default.createElement("div",{className:"biglinks"},null===(k=null===(h=P[0])||void 0===h?void 0:h.items)||void 0===k?void 0:k.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(x=P[1])||void 0===x?void 0:x.menu_title),null===(F=null===(T=P[1])||void 0===T?void 0:T.items)||void 0===F?void 0:F.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===($=P[2])||void 0===$?void 0:$.menu_title),null===(q=null===(z=P[2])||void 0===z?void 0:z.items)||void 0===q?void 0:q.map(((e,t)=>e.url&&s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"otherSites"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(C=null==d?void 0:d.branch)||void 0===C?void 0:C.title),s.default.createElement("div",{className:"flags"},null===(L=null===(j=null==d?void 0:d.branch)||void 0===j?void 0:j.branch)||void 0===L?void 0:L.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},s.default.createElement(v,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),s.default.createElement("hr",null),s.default.createElement("div",{className:"copyright"},s.default.createElement("div",{className:"copyright-image-wrapper"},J.length?J.map(((e,t)=>s.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},s.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),s.default.createElement(l.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(M=null==d?void 0:d.general)||void 0===M?void 0:M.copyright)),"vi-VN"===m&&s.default.createElement(l.Text,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):s.default.createElement(s.default.Fragment,null,(null==d?void 0:d.menu)&&s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(w=null==d?void 0:d.menu[1])||void 0===w?void 0:w.menu_title),null===(_=null===(B=null==d?void 0:d.menu[1])||void 0===B?void 0:B.items)||void 0===_?void 0:_.map((e=>s.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${n.domainLocales[m]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`},s.default.createElement(l.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`,size:"sm",type:"regular",style:{color:o.theme.colors.gray800}},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==d?void 0:d.menu[2])||void 0===A?void 0:A.menu_title),null===(I=null===(H=null==d?void 0:d.menu[2])||void 0===H?void 0:H.items)||void 0===I?void 0:I.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},s.default.createElement(l.Text,{size:"sm",type:"regular",style:{color:o.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==i&&s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"newsletter"},s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(G=null==d?void 0:d.social)||void 0===G?void 0:G.title),s.default.createElement("div",{className:"icons"},null===(D=null===(S=null==d?void 0:d.social)||void 0===S?void 0:S.socials)||void 0===D?void 0:D.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var y="B6-KmWK",E="GS-7mbG",g="qc5bEb3",b="CQGVeuT",p="_6JMoel-",N="_8eUT8Jr",h="cjDwoLi";const k=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:r,menu:c,socials:u}=t;return s.default.createElement("footer",{className:y,style:{backgroundColor:l||"none"}},s.default.createElement("div",{className:h},s.default.createElement(a.Container,null,s.default.createElement("div",{className:E},null==c?void 0:c.map((({menu_title:e,items:t},a)=>s.default.createElement("div",{className:g,key:`mbf${a}`},s.default.createElement(d.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},s.default.createElement("div",{className:b,key:`mbitem${a}`},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},e)))))))))),s.default.createElement(a.Container,null,s.default.createElement("div",{className:p},s.default.createElement(i.Logo,{className:"logo",type:e}),s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},null==r?void 0:r.content)),s.default.createElement("div",{className:"social-link"},null==u?void 0:u.map((({icon:e,name:t,url:a},l)=>s.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},s.default.createElement("img",{loading:"lazy",src:e,alt:t}))))))),s.default.createElement("div",{className:N},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-3",color:o.theme.colors.white},null==r?void 0:r.copyright),s.default.createElement("div",{className:"verify"},null===(n=null==r?void 0:r.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>s.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t})))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:o})=>"helloSites"===n?s.default.createElement(f,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):s.default.createElement(k,{footerMenu:l,background:o});
package/build/gAssets.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-02e9ccee.js"),s=require("./isProduction-6b31a53f.js");require("./Onboarding-c1551b01.js");const o="hellosehat.com";class t{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,o,t)=>{const i="https://hhg-common."+[o||this.getBaseDomain(),t||this.subPath,e].join("/");return s.isProduction||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:s}=window.location,t=s.split("."),i=e.domainLocales[Object.keys(e.domainLocales).find((o=>s.includes(e.domainLocales[o])))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every((e=>{return s=e,!isNaN(parseFloat(s))&&isFinite(s);var s}))||!i?o:i}return o}}const i=new t;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=i,exports.GAssets=t;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-3fabbfe2.js"),s=require("./isProduction-bbff0073.js");require("./Onboarding-8d363051.js");const o="hellosehat.com";class t{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,o,t)=>{const i="https://hhg-common."+[o||this.getBaseDomain(),t||this.subPath,e].join("/");return s.isProduction||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:s}=window.location,t=s.split("."),i=e.domainLocales[Object.keys(e.domainLocales).find((o=>s.includes(e.domainLocales[o])))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every((e=>{return s=e,!isNaN(parseFloat(s))&&isFinite(s);var s}))||!i?o:i}return o}}const i=new t;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=i,exports.GAssets=t;
@@ -0,0 +1 @@
1
+ "use strict";var t=require("./tslib.es6-c18725ef.js"),e=require("./core-6f134e7a.js"),i=require("./normalizeLink-7b336aa7.js"),o=require("./routing-77d2423b.js");const l=(t,e)=>{var i,o;if(!t)return{};const l="tl-PH"===e?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(i=t.link)||void 0===i?void 0:i.startsWith("http"))?t.link:`${l}/health-tools`+(null===(o=t.link)||void 0===o?void 0:o.replace(`${l}/`,"/")),subtitle:t.subtitle,title:t.title}},n=e=>t.__awaiter(void 0,void 0,void 0,(function*(){var t,n;try{let a;a="undefined"!=typeof window?window.fetch:yield require("node-fetch");const r="tl-PH"===e?"lang=fil":"";let s=[];try{const d=yield a(i.normalizeLinkSlash(`${o.getDiscoverApiDomain(e)}/wp-json/api/healthtools?ismenu=0${r?"&"+r:""}`)).then((t=>t.json()));s=(null===(n=null===(t=null==d?void 0:d.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>l(t,e))))||[]}catch(t){}return s}catch(t){console.error(t)}}));exports.formatHealthTool=l,exports.getDynamicHealthTool=n,exports.getDynamicHealthToolWithCache=i=>t.__awaiter(void 0,void 0,void 0,(function*(){return(yield e.getDataWithCache("all-health-tools",(()=>n(i||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./Onboarding-c1551b01.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
1
+ "use strict";var e=require("react"),t=require("./Onboarding-8d363051.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
package/build/hooks.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-3e6b90c2.js"),s=require("./useScrollbarSize-3689035d.js"),r=require("./useRafState-e4662a2e.js"),i=require("./useHealthToolCache-e841daf7.js"),u=require("./useIsInit-1f29809a.js"),t=require("./useOutsideClick-878b777b.js"),a=require("./useUniqueId-ae021ee9.js");require("react"),require("./translationsContext-b23000a6.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-37c0ba0e.js"),require("./cookieHelper-230f36b0.js"),require("./getDynamicHealthTool-82d872fa.js"),require("./core-55ee4db7.js"),require("./isProduction-6b31a53f.js"),require("./normalizeLink-95b39e6e.js"),require("./routing-568d7251.js"),require("./index-02e9ccee.js"),require("./Onboarding-c1551b01.js"),exports.useTranslations=e.useTranslations,exports.MEASURE_ELEMENT_CLASS=s.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=s.useScrollbarSize,exports.useFbDataLayer=r.useFbDataLayer,exports.usePrevious=r.usePrevious,exports.useRafState=r.useRafState,exports.useHealthToolsCache=i.useHealthToolsCache,exports.useIsInit=u.useIsInit,exports.initSharedOutSideClickListener=t.initSharedOutSideClickListener,exports.useOutsideClick=t.useOutsideClick,exports.useSharedOutsideClick=t.useSharedOutsideClick,exports.useInitialMount=a.useInitialMount,exports.useUniqueId=a.useUniqueId;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-19d05a27.js"),s=require("./useScrollbarSize-726d97ad.js"),r=require("./useRafState-70652ea2.js"),i=require("./useHealthToolCache-d3dcf17a.js"),u=require("./useIsInit-ed80722c.js"),t=require("./useOutsideClick-8a19f6ab.js"),a=require("./useUniqueId-bde3b8b5.js");require("react"),require("./translationsContext-9196f7b1.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-c18725ef.js"),require("./cookieHelper-b2667594.js"),require("./getDynamicHealthTool-4f86fb15.js"),require("./core-6f134e7a.js"),require("./isProduction-bbff0073.js"),require("./normalizeLink-7b336aa7.js"),require("./routing-77d2423b.js"),require("./index-3fabbfe2.js"),require("./Onboarding-8d363051.js"),exports.useTranslations=e.useTranslations,exports.MEASURE_ELEMENT_CLASS=s.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=s.useScrollbarSize,exports.useFbDataLayer=r.useFbDataLayer,exports.usePrevious=r.usePrevious,exports.useRafState=r.useRafState,exports.useHealthToolsCache=i.useHealthToolsCache,exports.useIsInit=u.useIsInit,exports.initSharedOutSideClickListener=t.initSharedOutSideClickListener,exports.useOutsideClick=t.useOutsideClick,exports.useSharedOutsideClick=t.useSharedOutsideClick,exports.useInitialMount=a.useInitialMount,exports.useUniqueId=a.useUniqueId;
package/build/i18n.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./translationsProvider-7a8e3615.js"),t=require("./translationsContext-b23000a6.js");require("react"),exports.TranslationsProvider=r.TranslationsProvider,exports.translationsMap=r.translationsMap,exports.TranslationsContext=t.TranslationsContext,exports.defaultTranslations=t.defaultTranslations;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./translationsProvider-30eded82.js"),t=require("./translationsContext-9196f7b1.js");require("react"),exports.TranslationsProvider=r.TranslationsProvider,exports.translationsMap=r.translationsMap,exports.TranslationsContext=t.TranslationsContext,exports.defaultTranslations=t.defaultTranslations;
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./useTranslations-3e6b90c2.js"),a=require("./theme-a2681c7d.js"),d=require("./index-607cc58f.js"),l=require("./index-d1669d07.js"),o=require("./index-7f077990.js"),r=require("./index-dfbd8a29.js"),c=require("./index.styled-bca348c9.js"),n=require("./useScrollbarSize-3689035d.js"),s=require("react-dom"),i=require("./index-414e4a00.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e);const h="hhg-modals",y=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},f=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))};exports.Modal=({type:t="lead",closeIcon:a,isOpen:d=!0,onClose:l,children:o,className:r="",animationType:c="slideTop",isStaticBackdrop:u=!1,siteType:p,style:b})=>{const[v,E]=e.useState(!1),g=e.useRef(null),{width:q}=n.useScrollbarSize();if(!g.current&&v&&(g.current=document.createElement("div")),e.useEffect((()=>(E(!0),()=>{E(!1),y(),f()})),[]),e.useEffect((()=>{if(v){const e=(()=>{let e=document.getElementById(h);return e||(e=document.createElement("div"),e.setAttribute("id",h),document.body.append(e)),e})();return e.appendChild(g.current),()=>{e.removeChild(g.current)}}}),[v]),e.useEffect((()=>{d?document.body.classList.add("hhc-modal-show"):y()}),[d]),e.useEffect((()=>{d?(document.body.style.overflow="hidden",document.body.style.paddingRight=q+"px",document.body.classList.add("hhc-disabled-scroll")):f()}),[d,q]),!v)return null;const x=["hhg-modal__wrapper",r,c].filter((e=>e)).join(" ");return s.createPortal(m.default.createElement(i.StyledModalWrapper,{className:x,"data-open":d,"data-type":t},!u&&m.default.createElement(i.StyledModalMask,{"data-open":d,onClick:l,"data-type":t}),!u&&"video"===t&&!!a&&m.default.createElement("div",{className:"hhg-modal__close",onClick:l},a),m.default.createElement(i.StyledModal,{className:"hhg-modal","data-open":d,"data-site-type":p},m.default.createElement("div",{className:"video"===t?"hhg-modal__video":"hhg-modal__content"},!!a&&"video"!==t&&m.default.createElement("div",{className:"hhg-modal__close",onClick:l},a),o))),g.current)},exports.NewBabyProfileRadio=({isActive:e,onChange:n,value:s="",onInputChange:i,siteType:u})=>{const{t:h}=t.useTranslations(),y="marryBaby"===u;return m.default.createElement(c.StyledNewBabyProfileRadio,{onClick:()=>n("new"),"data-is-mb":y,"data-isActive":y&&e},"marryBaby"===u?m.default.createElement("div",{className:"title"},m.default.createElement(o.MarryBabyText,{type:"bodytext-1",color:a.theme.colors.gray800},h("chooseBaby.new")),m.default.createElement("div",{className:e?"radio active":"radio"},e&&m.default.createElement(d.Icon.CheckActiveMB,{size:26}))):m.default.createElement("div",{className:"title"},m.default.createElement(r.Text,{size:"p2",color:a.theme.colors.gray800},h("chooseBaby.new")),m.default.createElement("div",{className:e?"radio active":"radio"})),m.default.createElement(l.Input,{name:"name",value:s,size:"md",placeholder:h("chooseBaby.placeholder"),type:"text",onChange:i}))};
1
+ "use strict";var e=require("react"),t=require("./useTranslations-19d05a27.js"),a=require("./theme-b65701ae.js"),l=require("./index-a518b68e.js"),d=require("./index-fa1c7976.js"),o=require("./index-8ef04a84.js"),r=require("./index-e93b56af.js"),c=require("./index.styled-420c6f71.js"),n=require("./useScrollbarSize-726d97ad.js"),s=require("react-dom"),i=require("./index-137894cf.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e);const h="hhg-modals",y=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},f=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))};exports.Modal=({type:t="lead",closeIcon:a,isOpen:l=!0,onClose:d,children:o,className:r="",animationType:c="slideTop",isStaticBackdrop:u=!1,siteType:p,style:b})=>{const[v,E]=e.useState(!1),g=e.useRef(null),{width:q}=n.useScrollbarSize();if(!g.current&&v&&(g.current=document.createElement("div")),e.useEffect((()=>(E(!0),()=>{E(!1),y(),f()})),[]),e.useEffect((()=>{if(v){const e=(()=>{let e=document.getElementById(h);return e||(e=document.createElement("div"),e.setAttribute("id",h),document.body.append(e)),e})();return e.appendChild(g.current),()=>{e.removeChild(g.current)}}}),[v]),e.useEffect((()=>{l?document.body.classList.add("hhc-modal-show"):y()}),[l]),e.useEffect((()=>{l?(document.body.style.overflow="hidden",document.body.style.paddingRight=q+"px",document.body.classList.add("hhc-disabled-scroll")):f()}),[l,q]),!v)return null;const x=["hhg-modal__wrapper",r,c].filter((e=>e)).join(" ");return s.createPortal(m.default.createElement(i.StyledModalWrapper,{className:x,"data-open":l,"data-type":t},!u&&m.default.createElement(i.StyledModalMask,{"data-open":l,onClick:d,"data-type":t}),!u&&"video"===t&&!!a&&m.default.createElement("div",{className:"hhg-modal__close",onClick:d},a),m.default.createElement(i.StyledModal,{className:"hhg-modal","data-open":l,"data-site-type":p},m.default.createElement("div",{className:"video"===t?"hhg-modal__video":"hhg-modal__content"},!!a&&"video"!==t&&m.default.createElement("div",{className:"hhg-modal__close",onClick:d},a),o))),g.current)},exports.NewBabyProfileRadio=({isActive:e,onChange:n,value:s="",onInputChange:i,siteType:u})=>{const{t:h}=t.useTranslations(),y="marryBaby"===u;return m.default.createElement(c.StyledNewBabyProfileRadio,{onClick:()=>n("new"),"data-is-mb":y,"data-isActive":y&&e},"marryBaby"===u?m.default.createElement("div",{className:"title"},m.default.createElement(o.MarryBabyText,{type:"bodytext-1",color:a.theme.colors.gray800},h("chooseBaby.new")),m.default.createElement("div",{className:e?"radio active":"radio"},e&&m.default.createElement(l.Icon.CheckActiveMB,{size:26}))):m.default.createElement("div",{className:"title"},m.default.createElement(r.Text,{size:"p2",color:a.theme.colors.gray800},h("chooseBaby.new")),m.default.createElement("div",{className:e?"radio active":"radio"})),m.default.createElement(d.Input,{name:"name",value:s,size:"md",placeholder:h("chooseBaby.placeholder"),type:"text",onChange:i}))};
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("react"),t=require("@mantine/core"),a=require("./utils-57fe3e54.js"),l=require("./index.styled-bca348c9.js"),o=require("./index-dfbd8a29.js"),r=require("styled-components"),i=require("./useTranslations-3e6b90c2.js"),n=require("./Onboarding-c1551b01.js"),d=require("./index-607cc58f.js"),s=require("./index-7f077990.js"),c=require("./theme-a2681c7d.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e),p=u(r);const h=({open:e=!1,onClickOutside:t})=>m.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),f=({value:t,options:a,className:r,direction:i="horizontal",onChange:n,isDisabled:d,siteType:u})=>{const[p,h]=e.useState(t),f="marryBaby"===u;return m.default.createElement(l.StyledRadioImageGroup,{className:r,"data-direction":i},a.map(((e,a)=>m.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||p)===e.value,"data-is-mb":f,"data-disabled":d,key:a,onClick:()=>{var t;t=e.value,d||(h(t),n&&n(t))}},m.default.createElement("div",null,e.content,e.label&&m.default.createElement(m.default.Fragment,null,f?m.default.createElement(s.MarryBabyText,{type:"subtitle-2",color:(t||p)===e.value?c.theme.mbColors.dark:c.theme.mbColors.midGray},e.label):m.default.createElement(o.Text,{type:"bold",color:(t||p)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},g=p.default.div`
1
+ "use strict";var e=require("react"),t=require("@mantine/core"),a=require("./utils-80d2aa8d.js"),l=require("./index.styled-420c6f71.js"),o=require("./index-e93b56af.js"),r=require("styled-components"),i=require("./useTranslations-19d05a27.js"),n=require("./Onboarding-8d363051.js"),d=require("./index-a518b68e.js"),s=require("./index-8ef04a84.js"),c=require("./theme-b65701ae.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e),p=u(r);const h=({open:e=!1,onClickOutside:t})=>m.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),f=({value:t,options:a,className:r,direction:i="horizontal",onChange:n,isDisabled:d,siteType:u})=>{const[p,h]=e.useState(t),f="marryBaby"===u;return m.default.createElement(l.StyledRadioImageGroup,{className:r,"data-direction":i},a.map(((e,a)=>m.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||p)===e.value,"data-is-mb":f,"data-disabled":d,key:a,onClick:()=>{var t;t=e.value,d||(h(t),n&&n(t))}},m.default.createElement("div",null,e.content,e.label&&m.default.createElement(m.default.Fragment,null,f?m.default.createElement(s.MarryBabyText,{type:"subtitle-2",color:(t||p)===e.value?c.theme.mbColors.dark:c.theme.mbColors.midGray},e.label):m.default.createElement(o.Text,{type:"bold",color:(t||p)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},g=p.default.div`
2
2
  position: relative;
3
3
  z-index: 200;
4
4
  background-color: ${e=>e.theme.colors.white};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-37c0ba0e.js"),t=require("react"),l=require("./Onboarding-c1551b01.js"),a=require("./index.styled-9dc40a23.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);const o=({isRight:e,currentUrl:t})=>r.default.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":t,className:"pointer-event-child-none"},r.default.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));exports.PillCarousel=n=>{var{data:i,isMobile:c,onSlideChange:d,pillProps:s,locale:u=l.LOCALE.Vietnam,blurFromIndex:v,blurLength:g}=n,h=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const m={withControls:!c,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(c?2:4),blurLength:g||(c?1:3),onSlideChange:d},[C,b]=t.useState("");return t.useEffect((()=>{b(window.location.href)}),[]),r.default.createElement(a.StyledCarousel,Object.assign({},m,h,{selectSlideWhenClick:!0,previousControlIcon:r.default.createElement(o,{currentUrl:C}),nextControlIcon:r.default.createElement(o,{currentUrl:C,isRight:!0})}),(e=>i.map(((t,l)=>r.default.createElement(a.StyledSlide,Object.assign({key:l,onClick:d,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C}},s),r.default.createElement("div",{className:"centerred-pill-wrapper"},r.default.createElement(a.StyledPill,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":C,locale:u,name:t.name,icon:t.icon,className:l===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))};
1
+ "use strict";var e=require("./tslib.es6-c18725ef.js"),t=require("react"),l=require("./Onboarding-8d363051.js"),a=require("./index.styled-906e0b96.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);const o=({isRight:e,currentUrl:t})=>r.default.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":t,className:"pointer-event-child-none"},r.default.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));exports.PillCarousel=n=>{var{data:i,isMobile:c,onSlideChange:d,pillProps:s,locale:u=l.LOCALE.Vietnam,blurFromIndex:v,blurLength:g}=n,h=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const m={withControls:!c,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(c?2:4),blurLength:g||(c?1:3),onSlideChange:d},[C,f]=t.useState("");return t.useEffect((()=>{f(window.location.href)}),[]),r.default.createElement(a.StyledCarousel,Object.assign({},m,h,{selectSlideWhenClick:!0,previousControlIcon:r.default.createElement(o,{currentUrl:C}),nextControlIcon:r.default.createElement(o,{currentUrl:C,isRight:!0})}),(e=>i.map(((t,l)=>r.default.createElement(a.StyledSlide,Object.assign({key:l,onClick:d,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C}},s),r.default.createElement("div",{className:"centerred-pill-wrapper"},r.default.createElement(a.StyledPill,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":C,locale:u,name:t.name,icon:t.icon,className:l===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-37c0ba0e.js"),t=require("react"),n=require("@mantine/hooks"),a=require("./index-c2860a26.js"),r=require("./index-8a3af013.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);exports.Slider=l=>{var{color:i,withControl:s,onChange:u,value:c,min:d,max:m,isStatic:h,containerClassName:f,containerStyle:g}=l,w=e.__rest(l,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[v,E]=t.useState(c||d||0),[p]=n.useDebouncedValue(v,r.DEBOUNCED_TIME);return t.useEffect((()=>{null==u||u(p)}),[p]),t.useEffect((()=>{E(c)}),[c]),o.default.createElement(r.StyledSliderWrapper,{className:f,style:g},s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>d&&e===d?e:e-1))}},o.default.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},o.default.createElement("path",{d:"M1 1.004h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o.default.createElement(r.StyledSlider,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:i,value:v,onChange:h?()=>null:E,min:d,max:m},w,{className:"hhg-mantine-slider "+(w.className||"")})),s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>m&&e===m?e:e+1))}},o.default.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},o.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};
1
+ "use strict";var e=require("./tslib.es6-c18725ef.js"),t=require("react"),n=require("@mantine/hooks"),a=require("./index-f63a1760.js"),r=require("./index-34a57dc0.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);exports.Slider=l=>{var{color:i,withControl:s,onChange:u,value:c,min:d,max:m,isStatic:h,containerClassName:f,containerStyle:g}=l,w=e.__rest(l,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[v,E]=t.useState(c||d||0),[p]=n.useDebouncedValue(v,r.DEBOUNCED_TIME);return t.useEffect((()=>{null==u||u(p)}),[p]),t.useEffect((()=>{E(c)}),[c]),o.default.createElement(r.StyledSliderWrapper,{className:f,style:g},s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>d&&e===d?e:e-1))}},o.default.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},o.default.createElement("path",{d:"M1 1.004h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o.default.createElement(r.StyledSlider,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:i,value:v,onChange:h?()=>null:E,min:d,max:m},w,{className:"hhg-mantine-slider "+(w.className||"")})),s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>m&&e===m?e:e+1))}},o.default.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},o.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-37c0ba0e.js"),l=require("react"),t=require("@mantine/carousel"),n=require("@mantine/core"),r=require("@mantine/hooks");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(l);const o=t.Carousel.Slide,c=l.createContext({}),d=(e,l)=>e>=l?e-l:e,u=i=>{var{children:o,blurFromCenter:u,blurFromIndex:a,blurLength:v=3,maxBlurOpacity:f=.5,onSlideChange:h,selectSlideWhenClick:S}=i,m=e.__rest(i,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:p}=r.useViewportSize(),[g]=r.useResizeObserver(),y=l.useRef(null),[C,b]=l.useState(0),k=()=>{var e,l,t,n,r;const i=(null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(t=null==y?void 0:y.current)||void 0===t?void 0:t.slidesInView().length))return i.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const s=null===(n=null==y?void 0:y.current)||void 0===n?void 0:n.selectedScrollSnap();b(s);const o=i.length,c=(null===(r=null==y?void 0:y.current)||void 0===r?void 0:r.slidesInView()).length,h=Math.floor(c/2),S=u?a+v-1:h,m=s+S,p=m===o?0:m>o?m-o:m,g=s-S,C=g<0?o+g:g>0?s-S:0,k=[...new Set(Array(2*S+1).fill("").map(((e,l)=>d(C+l,o))))];i.map(((e,l)=>{if(l===s?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==k.indexOf(l)){const r=f/v;for(let i=0;i<v;i++){if(l===d(C+i,o)||l===(n=o,(t=p-i)<0?n+t:t)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}}else e.style.opacity="0";var t,n}))},x={getEmblaApi:e=>{y.current=e},onSlideChange:e=>{k(),null==h||h(e)}};l.useEffect((()=>{(null==y?void 0:y.current)&&k()}),[p]);const E=n.createStyles((e=>{var l,t;return{control:Object.assign({},(null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(t=null==y?void 0:y.current)||void 0===t?void 0:t.slidesInView().length)&&{display:"none"})}})),{classes:O}=E();return s.default.createElement(c.Provider,{value:{slider:null==y?void 0:y.current,centerSlide:C,selectSlideWhenClick:S}},s.default.createElement(t.Carousel,Object.assign({classNames:{control:O.control},ref:g,slideSize:"auto",containScroll:"trimSnaps"},x,m,{loop:!0}),"function"==typeof o?o(C):o))};u.Slide=t=>{var{children:n,onClick:r,innerSlideProps:i}=t,d=e.__rest(t,["children","onClick","innerSlideProps"]);const{slider:u,selectSlideWhenClick:a}=l.useContext(c),v=l.useRef(),f=l.useRef(""),[h,S]=l.useState(0);l.useEffect((()=>{f.current=String(Math.round(1e4*Math.random()))}),[]),l.useEffect((()=>{const e=(null==u?void 0:u.slideNodes())||[];S(e.findIndex((e=>e.dataset.key===f.current)))}),[u]);const m={ref:v,"data-key":f.current,"data-index":h};return s.default.createElement(o,Object.assign({},m,d),s.default.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{a&&(null==u||u.scrollTo(h)),null==r||r(h)}},i),n))},exports.CentralCarousel=u;
1
+ "use strict";var e=require("./tslib.es6-c18725ef.js"),l=require("react"),t=require("@mantine/carousel"),n=require("@mantine/core"),r=require("@mantine/hooks");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(l);const o=t.Carousel.Slide,c=l.createContext({}),d=(e,l)=>e>=l?e-l:e,u=i=>{var{children:o,blurFromCenter:u,blurFromIndex:a,blurLength:v=3,maxBlurOpacity:f=.5,onSlideChange:h,selectSlideWhenClick:S}=i,m=e.__rest(i,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:p}=r.useViewportSize(),[g]=r.useResizeObserver(),y=l.useRef(null),[C,b]=l.useState(0),k=()=>{var e,l,t,n,r;const i=(null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(t=null==y?void 0:y.current)||void 0===t?void 0:t.slidesInView().length))return i.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const s=null===(n=null==y?void 0:y.current)||void 0===n?void 0:n.selectedScrollSnap();b(s);const o=i.length,c=(null===(r=null==y?void 0:y.current)||void 0===r?void 0:r.slidesInView()).length,h=Math.floor(c/2),S=u?a+v-1:h,m=s+S,p=m===o?0:m>o?m-o:m,g=s-S,C=g<0?o+g:g>0?s-S:0,k=[...new Set(Array(2*S+1).fill("").map(((e,l)=>d(C+l,o))))];i.map(((e,l)=>{if(l===s?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==k.indexOf(l)){const r=f/v;for(let i=0;i<v;i++){if(l===d(C+i,o)||l===(n=o,(t=p-i)<0?n+t:t)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}}else e.style.opacity="0";var t,n}))},x={getEmblaApi:e=>{y.current=e},onSlideChange:e=>{k(),null==h||h(e)}};l.useEffect((()=>{(null==y?void 0:y.current)&&k()}),[p]);const E=n.createStyles((e=>{var l,t;return{control:Object.assign({},(null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(t=null==y?void 0:y.current)||void 0===t?void 0:t.slidesInView().length)&&{display:"none"})}})),{classes:O}=E();return s.default.createElement(c.Provider,{value:{slider:null==y?void 0:y.current,centerSlide:C,selectSlideWhenClick:S}},s.default.createElement(t.Carousel,Object.assign({classNames:{control:O.control},ref:g,slideSize:"auto",containScroll:"trimSnaps"},x,m,{loop:!0}),"function"==typeof o?o(C):o))};u.Slide=t=>{var{children:n,onClick:r,innerSlideProps:i}=t,d=e.__rest(t,["children","onClick","innerSlideProps"]);const{slider:u,selectSlideWhenClick:a}=l.useContext(c),v=l.useRef(),f=l.useRef(""),[h,S]=l.useState(0);l.useEffect((()=>{f.current=String(Math.round(1e4*Math.random()))}),[]),l.useEffect((()=>{const e=(null==u?void 0:u.slideNodes())||[];S(e.findIndex((e=>e.dataset.key===f.current)))}),[u]);const m={ref:v,"data-key":f.current,"data-index":h};return s.default.createElement(o,Object.assign({},m,d),s.default.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{a&&(null==u||u.scrollTo(h)),null==r||r(h)}},i),n))},exports.CentralCarousel=u;
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("react"),t=require("@mantine/core"),r=require("./gAssets.js"),a=require("@mantine/dates"),n=require("styled-components"),l=require("dayjs");require("./screenSizeContext-493cd26b.js");var o=require("./theme-a2681c7d.js"),i=require("./index-02e9ccee.js"),s=require("./utils-57fe3e54.js");require("./isProduction-6b31a53f.js");var c=require("./Onboarding-c1551b01.js"),m=require("./tslib.es6-37c0ba0e.js"),h=require("@mantine/hooks"),d=require("@mantine/carousel");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function p(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var g=u(e),f=p(e),v=u(n),E=u(l);const b=v.default(a.DatePicker)`
1
+ "use strict";var e=require("react"),t=require("@mantine/core"),r=require("./gAssets.js"),a=require("@mantine/dates"),n=require("styled-components"),l=require("dayjs");require("./screenSizeContext-b15feb85.js");var o=require("./theme-b65701ae.js"),i=require("./index-3fabbfe2.js"),s=require("./utils-80d2aa8d.js");require("./isProduction-bbff0073.js");var c=require("./Onboarding-8d363051.js"),m=require("./tslib.es6-c18725ef.js"),d=require("@mantine/hooks"),h=require("@mantine/carousel");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function p(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var g=u(e),f=p(e),v=u(n),E=u(l);const b=v.default(a.DatePicker)`
2
2
  position: relative;
3
3
  ${e=>e.fullWidth&&n.css`
4
4
  .mantine-DatePicker-dropdown {
@@ -18,7 +18,7 @@
18
18
  align-items: center;
19
19
  }
20
20
  `}
21
- `,x=e=>g.default.createElement(b,Object.assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:g.default.createElement(t.Image,{src:r.CommonGAssets.getAssetPath(e.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16})},e,{className:`input-control ${(null==e?void 0:e.className)||""}`}));x.Range=e=>g.default.createElement(z,Object.assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:g.default.createElement(t.Image,{src:r.CommonGAssets.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},e));const y=Object.assign({},{fontSize:{base:[16,16],lg:[18,16],md:[18,16],sm:[16,14],xs:[14,12],s1:[22,18],s2:[18,16],s3:[16,14],s4:[14,12],s5:[12,12],p1:[18,16],p2:[16,16],p3:[16,14],p4:[14,12],c1:[16,14],c2:[14,12],n1:[12,12],label1:[14,14],label2:[12,12]},lineHeight:{base:[24,24],lg:[32,28],md:[32,28],sm:[24,22],xs:[24,18],s1:[32,26],s2:[28,24],s3:[24,24],s4:[22,18],s5:[18,18],p1:[28,28],p2:[24,24],p3:[24,22],p4:[22,18],c1:[24,22],c2:[22,18],n1:[18,18],label1:[22,22],label2:[18,18]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.2,-.2],p2:[0,-.2],p3:[0,-.2],p4:[-.2,0],label1:[0,-.2]},fontWeight:{regular:400,semiBold:600,bold:700}});var w=t.createStyles(((e,t)=>{var r,a,n,l,o,i,s,c,m,h;const d=null===(r=y.fontSize[null==t?void 0:t.size])||void 0===r?void 0:r[0],u=null===(a=y.lineHeight[null==t?void 0:t.size])||void 0===a?void 0:a[0],p=null!==(o=null===(l=null===(n=y.letterSpacing)||void 0===n?void 0:n[null==t?void 0:t.size])||void 0===l?void 0:l[0])&&void 0!==o?o:0,g=null===(i=y.fontSize[null==t?void 0:t.size])||void 0===i?void 0:i[1],f=null===(s=y.lineHeight[null==t?void 0:t.size])||void 0===s?void 0:s[1],v=null!==(h=null===(m=null===(c=y.letterSpacing)||void 0===c?void 0:c[null==t?void 0:t.size])||void 0===m?void 0:m[1])&&void 0!==h?h:0;return{root:{fontWeight:y.fontWeight[t.weight],fontSize:`${d}px`,lineHeight:`${u}px`,letterSpacing:p,[e.fn.smallerThan("sm")]:{fontSize:`${g}px`,lineHeight:`${f}px`,letterSpacing:v},"&[data-event-category] > *":{pointerEvents:"none"}}}}));const C="100ms",M={"&:hover":{border:`1px solid ${o.theme.colors.primaryBase}`}};var j=t.createStyles(((e,t)=>{const{size:r,variant:a,skipHover:n,isError:l,color:i}=t;return{rootCustom:Object.assign(Object.assign(Object.assign(Object.assign({transition:`all ${C} ease-in-out`,"&[data-event-category] > *":{pointerEvents:"none"}},(()=>{switch(r){case"lg":return{height:48,fontWeight:600,fontSize:"16px",lineHeight:"24px"};case"md":return{height:40,fontWeight:600,fontSize:"14px",lineHeight:"22px"};case"sm":return{height:32,fontWeight:600,fontSize:"14px",lineHeight:"22px"}}})()),(()=>{var t,r;switch(a){case"primary":return Object.assign({color:e.white,backgroundColor:e.fn.primaryColor()},!n&&{"&:hover":{backgroundColor:e.colors[e.primaryColor][7]}});case"secondary":return Object.assign({color:e.fn.primaryColor(),backgroundColor:e.white,border:`1px solid ${e.fn.primaryColor()}`},!n&&{"&:hover":{backgroundColor:e.colors[e.primaryColor][0],border:`1px solid ${e.fn.primaryColor()}`}});case"tertiary":return{color:o.theme.colors.gray800,backgroundColor:e.white,border:`1px solid ${o.theme.colors.neutral200}`,"&:hover":Object.assign({},n?{backgroundColor:e.white,border:`1px solid ${o.theme.colors.neutral200}`}:{backgroundColor:o.theme.colors.neutral50,border:`1px solid ${o.theme.colors.neutral50}`})};case"light":{const a=i||e.primaryColor;return{color:null===(r=null===(t=e.colors)||void 0===t?void 0:t[a])||void 0===r?void 0:r[Number(e.primaryShade)],backgroundColor:e.colors[a][0],border:"1px solid transparent","&:hover":Object.assign({},n?{backgroundColor:e.colors[a][0],border:"1px solid transparent"}:{backgroundColor:e.white,border:`1px solid ${e.colors[a][0]}`})}}case"ghost":return Object.assign({color:e.primaryColor,backgroundColor:"transparent",border:"1px solid transparent"},!n&&{"&:hover":{backgroundColor:e.colors[e.primaryColor][0],border:"1px solid transparent"}})}})()),{"&[data-disabled]":{backgroundColor:o.theme.colors.gray100,color:o.theme.colors.gray400}}),l?Object.assign({color:o.theme.colors.red600,backgroundColor:e.white,border:`1px solid ${o.theme.colors.red600}`},!n&&{"&:hover":{backgroundColor:o.theme.colors.red50,border:`1px solid ${o.theme.colors.red600}`}}):{})}}));const k=v.default(t.Textarea)`
21
+ `,x=e=>g.default.createElement(b,Object.assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:g.default.createElement(t.Image,{src:r.CommonGAssets.getAssetPath(e.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16})},e,{className:`input-control ${(null==e?void 0:e.className)||""}`}));x.Range=e=>g.default.createElement(z,Object.assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:g.default.createElement(t.Image,{src:r.CommonGAssets.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},e));const y=Object.assign({},{fontSize:{base:[16,16],lg:[18,16],md:[18,16],sm:[16,14],xs:[14,12],s1:[22,18],s2:[18,16],s3:[16,14],s4:[14,12],s5:[12,12],p1:[18,16],p2:[16,16],p3:[16,14],p4:[14,12],c1:[16,14],c2:[14,12],n1:[12,12],label1:[14,14],label2:[12,12]},lineHeight:{base:[24,24],lg:[32,28],md:[32,28],sm:[24,22],xs:[24,18],s1:[32,26],s2:[28,24],s3:[24,24],s4:[22,18],s5:[18,18],p1:[28,28],p2:[24,24],p3:[24,22],p4:[22,18],c1:[24,22],c2:[22,18],n1:[18,18],label1:[22,22],label2:[18,18]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.2,-.2],p2:[0,-.2],p3:[0,-.2],p4:[-.2,0],label1:[0,-.2]},fontWeight:{regular:400,semiBold:600,bold:700}});var w=t.createStyles(((e,t)=>{var r,a,n,l,o,i,s,c,m,d;const h=null===(r=y.fontSize[null==t?void 0:t.size])||void 0===r?void 0:r[0],u=null===(a=y.lineHeight[null==t?void 0:t.size])||void 0===a?void 0:a[0],p=null!==(o=null===(l=null===(n=y.letterSpacing)||void 0===n?void 0:n[null==t?void 0:t.size])||void 0===l?void 0:l[0])&&void 0!==o?o:0,g=null===(i=y.fontSize[null==t?void 0:t.size])||void 0===i?void 0:i[1],f=null===(s=y.lineHeight[null==t?void 0:t.size])||void 0===s?void 0:s[1],v=null!==(d=null===(m=null===(c=y.letterSpacing)||void 0===c?void 0:c[null==t?void 0:t.size])||void 0===m?void 0:m[1])&&void 0!==d?d:0;return{root:{fontWeight:y.fontWeight[t.weight],fontSize:`${h}px`,lineHeight:`${u}px`,letterSpacing:p,[e.fn.smallerThan("sm")]:{fontSize:`${g}px`,lineHeight:`${f}px`,letterSpacing:v},"&[data-event-category] > *":{pointerEvents:"none"}}}}));const C="100ms",M={"&:hover":{border:`1px solid ${o.theme.colors.primaryBase}`}};var j=t.createStyles(((e,t)=>{const{size:r,variant:a,skipHover:n,isError:l,color:i}=t;return{rootCustom:Object.assign(Object.assign(Object.assign(Object.assign({transition:`all ${C} ease-in-out`,"&[data-event-category] > *":{pointerEvents:"none"}},(()=>{switch(r){case"lg":return{height:48,fontWeight:600,fontSize:"16px",lineHeight:"24px"};case"md":return{height:40,fontWeight:600,fontSize:"14px",lineHeight:"22px"};case"sm":return{height:32,fontWeight:600,fontSize:"14px",lineHeight:"22px"}}})()),(()=>{var t,r;switch(a){case"primary":return Object.assign({color:e.white,backgroundColor:e.fn.primaryColor()},!n&&{"&:hover":{backgroundColor:e.colors[e.primaryColor][7]}});case"secondary":return Object.assign({color:e.fn.primaryColor(),backgroundColor:e.white,border:`1px solid ${e.fn.primaryColor()}`},!n&&{"&:hover":{backgroundColor:e.colors[e.primaryColor][0],border:`1px solid ${e.fn.primaryColor()}`}});case"tertiary":return{color:o.theme.colors.gray800,backgroundColor:e.white,border:`1px solid ${o.theme.colors.neutral200}`,"&:hover":Object.assign({},n?{backgroundColor:e.white,border:`1px solid ${o.theme.colors.neutral200}`}:{backgroundColor:o.theme.colors.neutral50,border:`1px solid ${o.theme.colors.neutral50}`})};case"light":{const a=i||e.primaryColor;return{color:null===(r=null===(t=e.colors)||void 0===t?void 0:t[a])||void 0===r?void 0:r[Number(e.primaryShade)],backgroundColor:e.colors[a][0],border:"1px solid transparent","&:hover":Object.assign({},n?{backgroundColor:e.colors[a][0],border:"1px solid transparent"}:{backgroundColor:e.white,border:`1px solid ${e.colors[a][0]}`})}}case"ghost":return Object.assign({color:e.primaryColor,backgroundColor:"transparent",border:"1px solid transparent"},!n&&{"&:hover":{backgroundColor:e.colors[e.primaryColor][0],border:"1px solid transparent"}})}})()),{"&[data-disabled]":{backgroundColor:o.theme.colors.gray100,color:o.theme.colors.gray400}}),l?Object.assign({color:o.theme.colors.red600,backgroundColor:e.white,border:`1px solid ${o.theme.colors.red600}`},!n&&{"&:hover":{backgroundColor:o.theme.colors.red50,border:`1px solid ${o.theme.colors.red600}`}}):{})}}));const k=v.default(t.Textarea)`
22
22
  .mantine-Textarea-input {
23
23
  padding: 12px 16px;
24
24
  background: #ffffff;
@@ -77,7 +77,7 @@
77
77
  .mantine-Accordion-content {
78
78
  white-space: pre-wrap;
79
79
  }
80
- `,S=e=>{var{children:t}=e,r=m.__rest(e,["children"]);return g.default.createElement(O,Object.assign({chevron:g.default.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},r),t)};S.Control=t.Accordion.Control,S.Item=t.Accordion.Item,S.Panel=t.Accordion.Panel;const L=r.CommonGAssets.getAssetPath("avatar.jpg"),A=t.createEmotionCache({key:"mantine",prepend:!1}),P=r=>{var{value:a,onChange:n}=r,l=m.__rest(r,["value","onChange"]);const[o,i]=e.useState(a),[s]=h.useDebouncedValue(o,300);return e.useEffect((()=>{null==n||n(s)}),[s]),e.useEffect((()=>{i(a)}),[a]),g.default.createElement(t.NumberInput,Object.assign({size:"md",stepHoldDelay:500,stepHoldInterval:e=>Math.max(1e3/Math.pow(e,2),25),onChange:i,hideControls:!0,min:0,formatter:e=>0===Number(e)?e:e||"",removeTrailingZeros:!0,value:o},l))},I=r.CommonGAssets.getAssetPath("EyeVisible.svg"),T=r.CommonGAssets.getAssetPath("EyeHidden.svg"),$=e.forwardRef(((e,r)=>{const{size:a="md",visibilityToggleIcon:n}=e,l=m.__rest(e,["size","visibilityToggleIcon"]),o=n||(({reveal:e,size:t})=>e?g.default.createElement("img",{src:I,width:t}):g.default.createElement("img",{src:T,width:t}));return g.default.createElement(t.PasswordInput,Object.assign({ref:r,size:a,visibilityToggleIcon:o},l,{className:`input-control ${(null==l?void 0:l.className)||""}`}))})),_=e.forwardRef(((r,a)=>{var{value:n,onChange:l,onChangeRaw:o}=r,i=m.__rest(r,["value","onChange","onChangeRaw"]);const[s,c]=e.useState(n||""),[d]=h.useDebouncedValue(s,300);return e.useEffect((()=>{null==l||l(d)}),[d]),e.useEffect((()=>{c(n)}),[n]),g.default.createElement(t.TextInput,Object.assign({ref:a,size:"md",onChange:e=>{null==o||o(e),c(e.currentTarget.value)},value:s},i,{className:`input-control ${(null==i?void 0:i.className)||""}`}))}));_.File=e=>g.default.createElement(t.FileInput,Object.assign({size:"md"},e)),_.Password=$,_.Number=P,_.Wrapper=t.Input.Wrapper;class D extends e.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||g.default.createElement(g.default.Fragment,null):this.props.children}}const N=e=>{var{slidesToShow:t=1,children:r}=e,a=m.__rest(e,["slidesToShow","children"]);return(Array.isArray(r)?r.length:1)?g.default.createElement(D,null,g.default.createElement(d.Carousel,Object.assign({slideSize:String(Math.floor(1/t*100))+"%",containScroll:"trimSnaps"},a),r)):null};N.Slide=d.Carousel.Slide;const R=e=>g.default.createElement(t.Checkbox,Object.assign({},e));R.Group=t.Checkbox.Group;const q=v.default(t.Slider)`
80
+ `,S=e=>{var{children:t}=e,r=m.__rest(e,["children"]);return g.default.createElement(O,Object.assign({chevron:g.default.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},r),t)};S.Control=t.Accordion.Control,S.Item=t.Accordion.Item,S.Panel=t.Accordion.Panel;const L=r.CommonGAssets.getAssetPath("avatar.jpg"),A=t.createEmotionCache({key:"mantine",prepend:!1}),P=r=>{var{value:a,onChange:n}=r,l=m.__rest(r,["value","onChange"]);const[o,i]=e.useState(a),[s]=d.useDebouncedValue(o,300);return e.useEffect((()=>{null==n||n(s)}),[s]),e.useEffect((()=>{i(a)}),[a]),g.default.createElement(t.NumberInput,Object.assign({size:"md",stepHoldDelay:500,stepHoldInterval:e=>Math.max(1e3/Math.pow(e,2),25),onChange:i,hideControls:!0,min:0,formatter:e=>0===Number(e)?e:e||"",removeTrailingZeros:!0,value:o},l))},I=r.CommonGAssets.getAssetPath("EyeVisible.svg"),T=r.CommonGAssets.getAssetPath("EyeHidden.svg"),$=e.forwardRef(((e,r)=>{const{size:a="md",visibilityToggleIcon:n}=e,l=m.__rest(e,["size","visibilityToggleIcon"]),o=n||(({reveal:e,size:t})=>e?g.default.createElement("img",{src:I,width:t}):g.default.createElement("img",{src:T,width:t}));return g.default.createElement(t.PasswordInput,Object.assign({ref:r,size:a,visibilityToggleIcon:o},l,{className:`input-control ${(null==l?void 0:l.className)||""}`}))})),_=e.forwardRef(((r,a)=>{var{value:n,onChange:l,onChangeRaw:o}=r,i=m.__rest(r,["value","onChange","onChangeRaw"]);const[s,c]=e.useState(n||""),[h]=d.useDebouncedValue(s,300);return e.useEffect((()=>{null==l||l(h)}),[h]),e.useEffect((()=>{c(n)}),[n]),g.default.createElement(t.TextInput,Object.assign({ref:a,size:"md",onChange:e=>{null==o||o(e),c(e.currentTarget.value)},value:s},i,{className:`input-control ${(null==i?void 0:i.className)||""}`}))}));_.File=e=>g.default.createElement(t.FileInput,Object.assign({size:"md"},e)),_.Password=$,_.Number=P,_.Wrapper=t.Input.Wrapper;class D extends e.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||g.default.createElement(g.default.Fragment,null):this.props.children}}const N=e=>{var{slidesToShow:t=1,children:r}=e,a=m.__rest(e,["slidesToShow","children"]);return(Array.isArray(r)?r.length:1)?g.default.createElement(D,null,g.default.createElement(h.Carousel,Object.assign({slideSize:String(Math.floor(1/t*100))+"%",containScroll:"trimSnaps"},a),r)):null};N.Slide=h.Carousel.Slide;const R=e=>g.default.createElement(t.Checkbox,Object.assign({},e));R.Group=t.Checkbox.Group;const q=v.default(t.Slider)`
81
81
  ${e=>{const t=e.color||e.theme.colors.primaryBase;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
82
82
  [data-theme='marryBaby'] & {
83
83
  ${e=>{const t=e.color||e.theme.mbColors.pink;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
@@ -112,4 +112,4 @@
112
112
  Copyright (c) 2018 Jed Watson.
113
113
  Licensed under the MIT License (MIT), see
114
114
  http://jedwatson.github.io/classnames
115
- */}var ee=J((function(e){!function(){var t={}.hasOwnProperty;function r(){for(var e=[],a=0;a<arguments.length;a++){var n=arguments[a];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===l){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var i in n)t.call(n,i)&&n[i]&&e.push(i)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r}()}));function te(e,t=6){const r=new Array(t).fill("");if(e){const t=e.toString().split("");r.map(((e,a)=>{t[a]&&(r[a]=t[a]||"")}))}return r}function re(e){return e.join("")}var ae="_2iQs0sk",ne="Ia6IojY";const le=e.forwardRef(((e,t)=>{const{maxLength:r=1,placeholder:a,className:n}=e,l=m.__rest(e,["maxLength","placeholder","className"]);return g.default.createElement("input",Object.assign({maxLength:r,className:ee(ne,"otpInput",n),placeholder:a,type:"number"},l,{ref:t}))})),oe=e.forwardRef(((r,a)=>{const{valueLength:n=6,type:l="number",value:o,defaultValue:i,onChange:s,onBlur:c}=r,m=e.useRef(new Array(n).fill(null)),[h,d]=e.useState(i||o),[u,p]=e.useState(-1),[f,v]=e.useState((()=>te(h,n))),E=e.useCallback((()=>{if(-1===u)return;const e=m.current[u];if(e){e.value="";const t=f;t[u]="",v(t),d((()=>re(t))),null==s||s(re(t))}}),[u,s,f]),b=e.useCallback((()=>{if(0===u)return;const e=m.current[u];e&&e.blur();const t=m.current[u-1];t&&t.focus()}),[u]),z=e.useCallback((()=>{if(u===n-1)return;const e=m.current[u];e&&e.blur();const t=m.current[u+1];t&&t.focus()}),[u,n]),x=e.useCallback((e=>{const t=e.target,r=t.value.toString().slice(0,1),a=m.current.findIndex((e=>e===t));if(-1!==a){const e=f;e[a]=r,v(e),d((()=>re(e))),null==s||s(re(e))}z()}),[z,s,f]),y=e.useCallback((e=>{const t=e.target,r=m.current.findIndex((e=>e===t));"number"===l?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==r&&p(r)}),[]),w=e.useCallback((e=>{const t=te(e.clipboardData.getData("text/plain"),n),r=re(t);v(t),d(r),null==s||s(r)}),[s,l,n]),C=e.useCallback((e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),E(),b()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),E()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),b()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),z()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[E,z,b]);return e.useImperativeHandle(a,(()=>m.current[0]),[]),e.useEffect((()=>{v((()=>te(o,n))),d(o)}),[n,o]),g.default.createElement(t.Flex,{justify:"center",columnGap:8,className:ee(ae,"otpContainer")},f.map(((e,t)=>g.default.createElement(le,{ref:e=>{m.current[t]=e},key:""+t,value:e,type:l,onChange:x,onFocus:y,onKeyDown:C,onPaste:w,onBlur:c}))))})),ie=e=>f.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),f.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"})),se=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-kh",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),f.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),f.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},f.createElement("g",{strokeLinejoin:"bevel"},f.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),f.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),f.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),f.createElement("path",{d:"M169 647.6h3.6v16.5H169zm49 0h3.6v16.5H218zm-78 0h3.5v16.5H140zm7 0h3.5v16.5H147zm7.5 0h3.5v16.5h-3.5zm7.5 0h3.5v16.5H162zm62.8 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6z"}),f.createElement("path",{strokeLinejoin:"miter",d:"M94.5 669.5a9.3 9.3 0 0 0 4.4-5.3H292a9.3 9.3 0 0 0 4.4 5.3z"})),f.createElement("path",{d:"M193 556.8s-.1-4.1 2.3-4.2c2.3 0 2.2 4.2 2.2 4.2zm-12.5 54.5v-5.5c0-2.8-2.8-3-2.8-5 0 0-.4-3 .4-4.4 1.1 4 3 3.3 3 1.6 0-1.4-1-2.8-3.3-6.3-.8-1.1-.3-4.6.7-5.9.4 3 .9 4.5 2.2 4.5.8 0 1.4-.5 1.4-2 0-2-1.3-3-2-4.8a5 5 0 0 1 1.1-5.3c.5 3 .4 4.2 1.7 4.2 2.7-.9 0-4.8-.6-5.8-.6-1.1 1-3.4 1-3.4.8 2.7 1 2.9 2 2.6 1.2-.3 1-2-.4-3.4-.9-1-.8-2.3.2-3.3 1 1.9 2.2 1.8 2.3.6l-.8-4.4H204l-.9 4.3c-.2 1.2 1.4 1.5 2.4-.5 1 1 1.1 2.4.2 3.3-1.4 1.4-1.6 3.1-.4 3.4 1 .3 1.2 0 2-2.6 0 0 1.5 1.5 1 3.4-.6 1-3.3 5-.6 5.8 1.3 0 1.2-1.2 1.7-4.2a5 5 0 0 1 1 5.3c-.6 1.8-2 2.8-2 4.8 0 1.5.7 2 1.5 2 1.3 0 1.8-1.4 2.2-4.5 1 1.3 1.5 4.8.7 6-2.3 3.4-3.4 4.8-3.4 6.2 0 1.7 2 2.4 3-1.6.9 1.4.5 4.4.5 4.4 0 2-2.7 2.2-2.8 5v5.5zm7.2-46-.4-3.1h15.9l-.4 3.1zm1-3.2-.2-2.5H202l-.3 2.5zm2.3-2.6-.3-2.6h9l-.1 2.6zm33 110c-2-.7-5-2.9-5-5v-24.3l2.6-3.4H169l2.5 3.4v24.3c0 2.1-2 4.3-4 5z"}),f.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),f.createElement("path",{d:"M168 609.2v27.6h54v-27.6a4.2 4.2 0 0 0-2.6 2.8v11.8h-48.7V612s-.6-2-2.8-2.8z"}),f.createElement("path",{d:"M214.6 669.5c-1.8-.7-5.6-2.9-5.6-5v-27.2c.4-1.5 2.4-2.4 3.7-3.4H177c1.7 1 3.6 1.7 4.3 3.4v27.2c0 2.1-3 4.3-4.8 5z"}),f.createElement("path",{d:"M219.4 634.2v-19.6h-4.9v-1.9h-38.8v2h-5v19.5zM207 669.5c-1.8-.7-4.3-2.9-4.3-5v-23.2l1.4-2.1h-17.7l1.5 2v23.3c0 2.1-2.6 4.3-4.3 5z"}),f.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),f.createElement("path",{strokeLinejoin:"bevel",d:"M204.4 632.5c0-2 5.8-2.1 8.8-3.8h-36c3 1.7 8.7 1.8 8.7 3.8l1.2 3.9 15 .6z"}),f.createElement("path",{d:"M211.4 611.3c0-4.9.2-6.7 1.7-6.7V620c-3.7 1.4-6.3 6-6.3 6h-23.2s-2.6-4.6-6.3-6v-15.5c1.8 0 1.8 2 1.8 6.7zm1.7-2c0-5.6 4.9-6.2 4.9-6.2v5c-1.9-.1-2.8 1.6-2.8 4 0 2.5 1.5 2.5 1.5 2.5v14.2h-3.6z"}),f.createElement("path",{d:"M177.3 609.3c0-5.6-4.9-6.2-4.9-6.2v5c1.9-.1 2.8 1.6 2.8 4 0 2.5-1.5 2.5-1.5 2.5v14.2h3.6z"}),f.createElement("g",{fill:"none",strokeWidth:.8},f.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),f.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),f.createElement("path",{d:"M184 614.2c3 3.6 2.6 9.7 2.6 13.3H204c0-3.6-.4-9.7 2.6-13.3zm9.7-41-2.4-1.3v-3.5c1 .3 2 .4 2.2 2 .3-2.3 1-2.1 1.9-3 1 .9 1.5.7 1.9 3 0-1.6 1.2-1.7 2.1-2v3.5l-2.3 1.2z"}),f.createElement("path",{d:"m193.5 578.9-4-2.8V573c1.5.3 3 .5 3.2 2.2.4-2.5 1.3-3.7 2.7-4.7 1.3 1 2.2 2.2 2.7 4.7.1-1.7 1.7-1.9 3-2.2v3.2l-3.9 2.7z"}),f.createElement("path",{d:"m193.2 587.8-4.5-4v-4.7c1.6.4 3.4.6 3.6 3.1.5-3.5 1.5-5.4 3-6.8 1.6 1.4 2.6 3.3 3.2 6.8.2-2.5 2-2.7 3.6-3.1v4.7l-4.6 4zm8.4 5.3-4 5.7h-4.7l-4.1-5.7zm-15.2 9.5c2 1.1 2.8 3.4 3 7.6H201c.2-4.2 1-6.5 3-7.6z"}),f.createElement("path",{strokeLinejoin:"bevel",d:"M204.2 593v-5.6a5.2 5.2 0 0 0-3.8 3.3c0-2-2.5-6.3-5.2-8.5-2.7 2.4-5.3 6.4-5.2 8.4-.5-1.5-1.8-2.7-3.8-3.2v5.7z"}),f.createElement("path",{strokeLinejoin:"bevel",d:"M205 602.6V597c-2.1.6-3.5 1.7-4.1 3.3 0-2-2.7-6.3-5.7-8.5-3 2.5-5.8 6.4-5.7 8.5-.5-1.5-2-2.7-4.1-3.3v5.7z"}),f.createElement("path",{strokeLinejoin:"bevel",d:"M207.4 614.3v-6.6a9.6 9.6 0 0 0-5.1 3.8c0-3.5-4-9-7.1-10.7-3.2 1.8-7.1 7.4-7.1 10.7a9.7 9.7 0 0 0-5.2-3.8v6.6z"}),f.createElement("path",{strokeLinejoin:"bevel",d:"M206 629v-6.8c-2.4.9-3 3.1-3.8 4.7.3-6.9-3.8-14.2-7-16.1-3.2 1.9-7.4 9.4-7 16-.8-1.4-1.5-3.7-3.8-4.6v6.7z"}),f.createElement("path",{d:"M204.4 639.2v-6.8c-2.5.6-2.6 1.5-3.4 3 .3-4.1-2.6-8.8-5.8-10.6-3.2 1.8-6 6.5-5.8 10.6-.8-1.5-.9-2.4-3.4-3v6.8z"}),f.createElement("g",{id:"a"},f.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),f.createElement("path",{d:"M99 664.3v-20.5c-.7-2.6-3-5-4.6-5.4v-19.2c2.5 0 3.7 3.2 3.7 3.2l4.3 18.9v22.9z"}),f.createElement("path",{d:"M96.3 669.5c1.7-.7 4.2-2.9 4.2-5v-25.6l-1.2-2H143l-1.7 2v25.6a6 6 0 0 0 3.4 5z"}),f.createElement("path",{d:"M135.8 669.5c-1.7-.7-4.2-2.9-4.2-5v-24.3l3.6-3.4h-29.6l3.6 3.4v24.3c0 2.1-2.5 4.3-4.2 5z"}),f.createElement("path",{d:"M131.7 669.5c-1.7-.7-4.3-2.9-4.3-5v-22l2.4-3.3H111l2.4 3.3v22c0 2.1-2.5 4.3-4.3 5z"}),f.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),f.createElement("path",{strokeLinejoin:"bevel",d:"M103.7 647.6h3.6v16.5h-3.6zm30.8 0h3.5v16.5h-3.6zm-33.9-27.8h4.4v17h-4.4zm0-3.2h4.3v3.2h-4.3zm35.6 6.9h6.1v13h-6.1z"}),f.createElement("path",{d:"M104.9 636.6v-29c1.2 0 1.4 4.3 4.2 4.3 1.5 0 1.4-1.8.5-3.2-.7-1.3-1.6-3-.4-6.3.9 2.5 3.1 3.3 2.7 1.8-.7-2.7-2.8-3.2-1.2-7.3.5 3.4 2.7 3.3 2.2 1.3-.6-2.3-1.9-3.3-.3-6.5.9 3.7 2 3.5 2 1.2 0-3.4 0-7 4.2-8.3 0 0 .3-3 1.9-3 1.5 0 1.8 3 1.8 3 4.3 1.3 4.2 5 4.2 8.3 0 2.3 1.1 2.5 2-1.2 1.6 3.2.3 4.2-.3 6.5-.5 2 1.7 2.1 2.2-1.3 1.6 4.1-.5 4.6-1.2 7.3-.4 1.5 1.8.7 2.7-1.8 1.2 3.3.3 5-.4 6.3-.8 1.4-1 3.2.5 3.2 2.8 0 3-4.2 4.2-4.2v28.9zM98 614.7v22.1h2.5v-22.1c-.9-.5-1.7-.5-2.5 0z"}),f.createElement("path",{d:"M98.2 629c3.1 1.6 6.2 3.5 7 7.8h-7zm43.2-6.6v14.4h2v-14.4c-.6-.3-1.5-.4-2 0z"}),f.createElement("path",{d:"M143.4 629c-3.1 1.5-6.2 3.3-7 7.7h7zm-20.6-33.7 1.8-1.5v-2c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-1v2l1.8 1.6z"}),f.createElement("path",{d:"m123.8 600.2.8-1.9v-2.5c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-.9v2.5l.8 1.9z"}),f.createElement("path",{d:"m124 606.8 2.6-3.3v-3.2c-1 0-1.5.5-2.2 1.6-.7-2.3-2-2.7-3.8-3.8-1.9 1-3.2 1.5-3.8 3.7-.8-1.1-1.3-1.4-2.3-1.5v3.2l2.7 3.3z"}),f.createElement("path",{d:"M124.7 613.3s3.2-2.7 3.3-4.2v-3.5c-1.2.1-2.3.4-3.2 1.9-.8-2.9-2-3.7-4.2-5-2.3 1.3-3.5 2.1-4.2 5-1-1.5-2-1.8-3.3-2v3.6a15 15 0 0 0 3.3 4.2z"}),f.createElement("path",{d:"M126 625.3s4.4-4.7 4.5-6.6v-5.4c-1.6.2-3.2 1.3-4.4 3.6-1-4.5-2.6-7.6-5.5-9.8-3 2.2-4.6 5.3-5.6 9.8-1.2-2.3-2.7-3.4-4.3-3.6v5.4c.3 1.9 4.4 6.6 4.4 6.6z"}),f.createElement("path",{d:"M126 632.4s3.7-3.7 4.5-5.3v-5.4c-1.6.2-3.2 1.3-4.4 3.5a14 14 0 0 0-5.5-9.2c-3 2.2-4.6 4.7-5.6 9.2-1.2-2.2-2.7-3.3-4.3-3.5v5.4c1 1.6 4.4 5.3 4.4 5.3z"}),f.createElement("path",{d:"M127.5 636.6c-1-4.7-2-8.2-7.1-11.7-5.2 3.5-6.1 7-7.2 11.7z"}),f.createElement("path",{d:"M130.2 639.2v-6.8c-2.4 1-4.5 2.3-5.3 3.8-.8-3.8-2.5-5.4-4.6-7.7-2.1 2.3-3.5 4-4.4 7.7-.8-1.5-2.9-2.9-5.2-3.8v6.8z"})),f.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),f.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),f.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),f.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),f.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),f.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),f.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),f.createElement("path",{fill:"none",d:"M99 664.2h193M115.8 713h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m65.8 37.5h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m66.2 37.5h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2"}))),ce=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-in",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),f.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),f.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),f.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},f.createElement("circle",{r:20,fill:"#008"}),f.createElement("circle",{r:17.5,fill:"#fff"}),f.createElement("circle",{r:3.5,fill:"#008"}),f.createElement("g",{id:"d"},f.createElement("g",{id:"c"},f.createElement("g",{id:"b"},f.createElement("g",{id:"a",fill:"#008"},f.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),f.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),f.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),f.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),f.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),f.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),f.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"}))),me=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},f.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),f.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"}))),he=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),f.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),f.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),f.createElement("path",{fill:"#fc0",d:"m207.5 73.8 6 40.7 23-34-12.4 39.2 35.5-20.8-28.1 30 41-3.2-38.3 14.8 38.3 14.8-41-3.2 28.1 30-35.5-20.8 12.3 39.3-23-34.1-6 40.7-5.9-40.7-23 34 12.4-39.2-35.5 20.8 28-30-41 3.2 38.4-14.8-38.3-14.8 41 3.2-28.1-30 35.5 20.8-12.4-39.3 23 34.1zm-33.3 1.7a71.1 71.1 0 1 0 0 130 80 80 0 1 1 0-130z"}),f.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"})),de=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-mm",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),f.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),f.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),f.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},f.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),f.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),f.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),f.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),f.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"}))),ue=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),f.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),f.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),f.createElement("path",{fill:"#fcd116",d:"M26.7 42.4 41 55l16.6-9.2-7.4 17.5 14 13-19-1.6-8.1 17.2-4.3-18.5L14 71l16.3-10zm323.8 172.3.4 19 18 6.3-18 6.2-.4 19-11.5-15.1-18.2 5.5 10.8-15.6-10.8-15.6 18.2 5.5zM37.2 388.1l8 17.2 19-1.6-13.9 13 7.4 17.5-16.6-9.1-14.4 12.4 3.6-18.7L14 409l18.9-2.4zm114.2-249-6.2 6.2 3.1 47-3 .3-5.7-42.9-5.1 5 7.6 38.4a47.5 47.5 0 0 0-17.2 7.1l-21.7-32.4H96l26.4 34.3a48 48 0 0 0-2.4 2l-31.1-35.5h-8.8v8.8l35.4 31-2 2.5-34.3-26.3v7.1l32.5 21.7c-3.4 5.2-5.9 11-7.1 17.2L66.3 223l-5.1 5 42.9 5.7c-.2 1-.3 2.1-.3 3.1l-47-3-6.2 6.2 6.2 6.2 47-3.1.3 3.1-42.9 5.7 5 5 38.4-7.6a47.5 47.5 0 0 0 7.1 17.2l-32.5 21.7v7.2l34.3-26.3a48 48 0 0 0 2 2.4l-35.4 31v8.8H89l31-35.4 2.5 2L96 312.2h7.2l21.7-32.5c5.1 3.4 11 5.9 17.2 7.1l-7.6 38.4 5 5 5.7-42.9c1 .2 2 .3 3.1.3l-3 47 6.1 6.2 6.3-6.2-3.1-47 3-.3 5.7 43 5.1-5.1-7.6-38.4a47.5 47.5 0 0 0 17.2-7.1l21.7 32.5h7.2l-26.4-34.3a48 48 0 0 0 2.4-2l31.1 35.4h8.8v-8.8l-35.4-31 2-2.4 34.3 26.3v-7.2l-32.5-21.7c3.4-5.1 5.9-11 7.1-17.2l38.3 7.6 5.1-5-42.9-5.7c.2-1 .3-2 .3-3.1l47 3 6.2-6.1-6.2-6.2-47 3-.3-3 42.9-5.7-5-5-38.4 7.5a47.5 47.5 0 0 0-7.1-17.2l32.5-21.7v-7.1l-34.3 26.3a48 48 0 0 0-2-2.4l35.4-31v-8.9H214l-31 35.5a48 48 0 0 0-2.5-2l26.4-34.3h-7.2L178 200.2c-5.1-3.4-11-5.9-17.2-7.1l7.6-38.3-5-5-5.7 42.8-3.1-.3 3-47z"})),pe=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("clipPath",{id:"a"},f.createElement("path",{d:"M0 0h640v480H0z"})),f.createElement("g",{clipPath:"url(#a)"},f.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),f.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),f.createElement("g",{fill:"#fff"},f.createElement("path",{d:"m154 126.9-2.5 9.6 9.4 2.6-1.8-7.1zm46.9 5.1-1.8 7.1 9.4-2.6-2.5-9.6zm-41.8-24-5.1 5.1 1.9 6.9z"}),f.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),f.createElement("path",{d:"m154 113.1-6.9 6.9 6.9 6.9 1.9-6.9zm14 27.8 5.1 5.1 6.9-1.9zm18.9 5.1 9.6 2.5 2.6-9.4-7.1 1.8z"}),f.createElement("path",{d:"m192 140.9 7.1-1.8 1.8-7.1zm-31.1-1.8 2.6 9.4 9.6-2.5-5.1-5.1zm19.1 5 6.9 1.9 5.1-5.1z"}),f.createElement("path",{d:"m173.1 146 6.9 6.9 6.9-6.9-6.9-1.9zm-12.2-45.1-9.4 2.6 2.5 9.6 5.1-5.1zm-1.8 31.1 1.8 7.1 7.1 1.8zm45-12 1.9-6.9-5.1-5.1z"}),f.createElement("path",{d:"m168 99.1-7.1 1.8-1.8 7.1zm32.9 8.9-1.8-7.1-7.1-1.8zm5.1 18.9 6.9-6.9-6.9-6.9-1.9 6.9z"}),f.createElement("path",{d:"m200.9 108-8.9-8.9-12-3.2-12 3.2-8.9 8.9-3.2 12 3.2 12 8.9 8.9 12 3.2 12-3.2 8.9-8.9 3.2-12z"}),f.createElement("path",{d:"m200.9 132 5.1-5.1-1.9-6.9zm5.1-18.9 2.5-9.6-9.4-2.6 1.8 7.1zm-6.9-12.2-2.6-9.4-9.6 2.5 5.1 5.1zm-26-6.9-9.6-2.5-2.6 9.4 7.1-1.8zm6.9 1.9-6.9-1.9-5.1 5.1z"}),f.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),f.createElement("path",{d:"m192 99.1-5.1-5.1-6.9 1.9zM173.1 146l-9.6 2.5 4.5 16.6 12-12.2zm-5.1 19.1 12 44.9 12-44.9-12-12.2zm-7.1-26-9.4-2.6-4.4 16.4 16.4-4.4z"}),f.createElement("path",{d:"m147.1 152.9-12 45.1 32.9-32.9-4.5-16.6zm-12-20.9L102 165.1l45.1-12.2 4.4-16.4z"}),f.createElement("path",{d:"m154 126.9-6.9-6.9-12 12 16.4 4.5zm0-13.8-2.5-9.6-16.4 4.5 12 12z"}),f.createElement("path",{d:"M135.1 108 90 120l45.1 12 12-12zm90 24-16.6 4.5 4.4 16.4 45.1 12.2z"}),f.createElement("path",{d:"m199.1 139.1-2.6 9.4 16.4 4.4-4.4-16.4zm-12.2 6.9-6.9 6.9 12 12.2 4.5-16.6zm19.1-19.1 2.5 9.6 16.6-4.5-12.2-12z"}),f.createElement("path",{d:"m192 165.1 33.1 32.9-12.2-45.1-16.4-4.4zm7.1-64.2 9.4 2.6 4.4-16.4-16.4 4.4z"}),f.createElement("path",{d:"M225.1 108 258 75.1l-45.1 12-4.4 16.4zm-12.2-20.9L225.1 42 192 75.1l4.5 16.4zm12.2 44.9 44.9-12-44.9-12-12.2 12z"}),f.createElement("path",{d:"m206 113.1 6.9 6.9 12.2-12-16.6-4.5zm-38-38L135.1 42l12 45.1 16.4 4.4z"}),f.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),f.createElement("path",{d:"m147.1 87.1-45.1-12 33.1 32.9 16.4-4.5zm39.8 6.9 9.6-2.5-4.5-16.4-12 12z"}),f.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),f.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),f.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),f.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"}))),ge=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("g",{fillRule:"evenodd"},f.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),f.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),f.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"}))),fe=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("defs",null,f.createElement("clipPath",{id:"a"},f.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),f.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},f.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),f.createElement("path",{fill:"#ff0",d:"M349.6 381 260 314.3l-89 67.3L204 272l-89-67.7 110.1-1 34.2-109.4L294 203l110.1.1-88.5 68.4 33.9 109.6z"}))),ve=Object.values(i.siteOptions).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]),Ee={PH:ue,KH:se,ID:ce,IN:me,MM:de,MY:he,TH:ge,TW:pe,VN:fe};var be={phoneInput:"i-9Ibox",error:"YDWHh9b"};const ze=e.forwardRef(((t,r)=>{const{isError:a,defaultCountry:n,countries:l=ve,countryCallingCodeEditable:o=!1,defaultValue:i,value:s,onChange:c,className:h}=t,d=m.__rest(t,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),[u,f]=e.useState(i||s),[v,E]=e.useState(null);return e.useEffect((()=>{f(s)}),[s]),e.useEffect((()=>{m.__awaiter(void 0,void 0,void 0,(function*(){const e=yield Promise.resolve().then((function(){return p(require("react-phone-number-input"))}));E(e)}))}),[]),v?g.default.createElement(v.default,Object.assign({ref:r,value:u,onChange:e=>{f(e),null==c||c(e)},countries:l,defaultCountry:n,countryCallingCodeEditable:o,className:ee(be.phoneInput,{isError:a,[be.error]:a},h),flagUrl:void 0,flagComponent:e=>{const{country:t,countryName:r,flagUrl:a}=e,n=m.__rest(e,["country","countryName","flagUrl"]),l=Ee[t],o=t?`(+${v.getCountryCallingCode(t)})`:"";return l?g.default.createElement(g.default.Fragment,null,g.default.createElement(l,Object.assign({title:r},n)),g.default.createElement("span",{className:ee(be.callingCode,"PhoneInputCountryIconCallingCode")},o)):g.default.createElement(g.default.Fragment,null)},countrySelectProps:{arrowComponent:()=>g.default.createElement("div",{className:ee(be.arrowSelect,"PhoneInputArrowContainer")},g.default.createElement(ie,null))}},d)):null}));var xe=t.createStyles(((e,t)=>({root:{color:t.color||("hb"===e.primaryColor?"hb.6":e.fn.primaryColor()),"&[data-event-category] > *":{pointerEvents:"none"}}})));const ye=e=>{var{children:r}=e,a=m.__rest(e,["children"]);return g.default.createElement(t.Tabs,Object.assign({},a),r)};ye.List=t.Tabs.List,ye.Tab=t.Tabs.Tab,ye.Panel=t.Tabs.Panel,exports.ANIMATION_DURATION=C,exports.Accordion=S,exports.Avatar=e=>{var{withIndicator:r=!1,indicatorConfig:a=null,size:n=56,children:l,styles:o}=e,i=m.__rest(e,["withIndicator","indicatorConfig","size","children","styles"]);const s=()=>g.default.createElement(t.Avatar,Object.assign({size:n,radius:"xl"},i,{imageProps:Object.assign({loading:"lazy"},i.imageProps)}),l||g.default.createElement("img",{loading:"lazy",src:L,width:n}));return r?g.default.createElement(t.Indicator,Object.assign({inline:!0,position:"bottom-end",offset:9},a,{styles:Object.assign({indicator:{backgroundColor:g.default.isValidElement(a.label)&&"transparent",zIndex:1}},o)}),s()):s()},exports.Cambodia=se,exports.CaretDown=ie,exports.Carousel=N,exports.Checkbox=R,exports.DEBOUNCED_TIME=300,exports.DatePicker=x,exports.GlobalHeadingStyle=Y,exports.GlobalRadioStyle=Z,exports.GlobalTabStyle=K,exports.India=ce,exports.Indonesia=me,exports.Input=_,exports.MAPPED_LOCALE=V,exports.Malaysia=he,exports.Myanmar=de,exports.NumberInput=P,exports.OTHER_THEME_CONFIG=y,exports.OTP=oe,exports.Phillipines=ue,exports.Phone=ze,exports.Radio=W,exports.SHARED_HOVER=M,exports.StyledModal=H,exports.StyledSlider=q,exports.StyledSliderWrapper=B,exports.StyledTextArea=k,exports.Tabs=ye,exports.Taiwan=pe,exports.Thailand=ge,exports.Vietnam=fe,exports.commonjsGlobal=Q,exports.createCommonjsModule=J,exports.emotionCache=A,exports.useMantineLocale=t=>{const[r,a]=e.useState(!1);return e.useEffect((()=>{m.__awaiter(void 0,void 0,void 0,(function*(){var e;a(!1),yield null===(e=G[t])||void 0===e?void 0:e.call(G),E.default.locale(V[t]),a(!0)}))}),[t]),{isLoaded:r}},exports.useStyles=j,exports.useStyles$1=w,exports.useStyles$2=xe;
115
+ */}var ee=J((function(e){!function(){var t={}.hasOwnProperty;function r(){for(var e=[],a=0;a<arguments.length;a++){var n=arguments[a];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===l){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var i in n)t.call(n,i)&&n[i]&&e.push(i)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r}()}));function te(e,t=6){const r=new Array(t).fill("");if(e){const t=e.toString().split("");r.map(((e,a)=>{t[a]&&(r[a]=t[a]||"")}))}return r}function re(e){return e.join("")}var ae="_2iQs0sk",ne="Ia6IojY";const le=e.forwardRef(((e,t)=>{const{maxLength:r=1,placeholder:a,className:n}=e,l=m.__rest(e,["maxLength","placeholder","className"]);return g.default.createElement("input",Object.assign({maxLength:r,className:ee(ne,"otpInput",n),placeholder:a,type:"number"},l,{ref:t}))})),oe=e.forwardRef(((r,a)=>{const{valueLength:n=6,type:l="number",value:o,defaultValue:i,onChange:s,onBlur:c}=r,m=e.useRef(new Array(n).fill(null)),[d,h]=e.useState(i||o),[u,p]=e.useState(-1),[f,v]=e.useState((()=>te(d,n))),E=e.useCallback((()=>{if(-1===u)return;const e=m.current[u];if(e){e.value="";const t=f;t[u]="",v(t),h((()=>re(t))),null==s||s(re(t))}}),[u,s,f]),b=e.useCallback((()=>{if(0===u)return;const e=m.current[u];e&&e.blur();const t=m.current[u-1];t&&t.focus()}),[u]),z=e.useCallback((()=>{if(u===n-1)return;const e=m.current[u];e&&e.blur();const t=m.current[u+1];t&&t.focus()}),[u,n]),x=e.useCallback((e=>{const t=e.target,r=t.value.toString().slice(0,1),a=m.current.findIndex((e=>e===t));if(-1!==a){const e=f;e[a]=r,v(e),h((()=>re(e))),null==s||s(re(e))}z()}),[z,s,f]),y=e.useCallback((e=>{const t=e.target,r=m.current.findIndex((e=>e===t));"number"===l?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==r&&p(r)}),[]),w=e.useCallback((e=>{const t=te(e.clipboardData.getData("text/plain"),n),r=re(t);v(t),h(r),null==s||s(r)}),[s,l,n]),C=e.useCallback((e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),E(),b()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),E()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),b()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),z()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[E,z,b]);return e.useImperativeHandle(a,(()=>m.current[0]),[]),e.useEffect((()=>{v((()=>te(o,n))),h(o)}),[n,o]),g.default.createElement(t.Flex,{justify:"center",columnGap:8,className:ee(ae,"otpContainer")},f.map(((e,t)=>g.default.createElement(le,{ref:e=>{m.current[t]=e},key:""+t,value:e,type:l,onChange:x,onFocus:y,onKeyDown:C,onPaste:w,onBlur:c}))))})),ie=e=>f.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),f.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"})),se=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-kh",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),f.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),f.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},f.createElement("g",{strokeLinejoin:"bevel"},f.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),f.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),f.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),f.createElement("path",{d:"M169 647.6h3.6v16.5H169zm49 0h3.6v16.5H218zm-78 0h3.5v16.5H140zm7 0h3.5v16.5H147zm7.5 0h3.5v16.5h-3.5zm7.5 0h3.5v16.5H162zm62.8 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6z"}),f.createElement("path",{strokeLinejoin:"miter",d:"M94.5 669.5a9.3 9.3 0 0 0 4.4-5.3H292a9.3 9.3 0 0 0 4.4 5.3z"})),f.createElement("path",{d:"M193 556.8s-.1-4.1 2.3-4.2c2.3 0 2.2 4.2 2.2 4.2zm-12.5 54.5v-5.5c0-2.8-2.8-3-2.8-5 0 0-.4-3 .4-4.4 1.1 4 3 3.3 3 1.6 0-1.4-1-2.8-3.3-6.3-.8-1.1-.3-4.6.7-5.9.4 3 .9 4.5 2.2 4.5.8 0 1.4-.5 1.4-2 0-2-1.3-3-2-4.8a5 5 0 0 1 1.1-5.3c.5 3 .4 4.2 1.7 4.2 2.7-.9 0-4.8-.6-5.8-.6-1.1 1-3.4 1-3.4.8 2.7 1 2.9 2 2.6 1.2-.3 1-2-.4-3.4-.9-1-.8-2.3.2-3.3 1 1.9 2.2 1.8 2.3.6l-.8-4.4H204l-.9 4.3c-.2 1.2 1.4 1.5 2.4-.5 1 1 1.1 2.4.2 3.3-1.4 1.4-1.6 3.1-.4 3.4 1 .3 1.2 0 2-2.6 0 0 1.5 1.5 1 3.4-.6 1-3.3 5-.6 5.8 1.3 0 1.2-1.2 1.7-4.2a5 5 0 0 1 1 5.3c-.6 1.8-2 2.8-2 4.8 0 1.5.7 2 1.5 2 1.3 0 1.8-1.4 2.2-4.5 1 1.3 1.5 4.8.7 6-2.3 3.4-3.4 4.8-3.4 6.2 0 1.7 2 2.4 3-1.6.9 1.4.5 4.4.5 4.4 0 2-2.7 2.2-2.8 5v5.5zm7.2-46-.4-3.1h15.9l-.4 3.1zm1-3.2-.2-2.5H202l-.3 2.5zm2.3-2.6-.3-2.6h9l-.1 2.6zm33 110c-2-.7-5-2.9-5-5v-24.3l2.6-3.4H169l2.5 3.4v24.3c0 2.1-2 4.3-4 5z"}),f.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),f.createElement("path",{d:"M168 609.2v27.6h54v-27.6a4.2 4.2 0 0 0-2.6 2.8v11.8h-48.7V612s-.6-2-2.8-2.8z"}),f.createElement("path",{d:"M214.6 669.5c-1.8-.7-5.6-2.9-5.6-5v-27.2c.4-1.5 2.4-2.4 3.7-3.4H177c1.7 1 3.6 1.7 4.3 3.4v27.2c0 2.1-3 4.3-4.8 5z"}),f.createElement("path",{d:"M219.4 634.2v-19.6h-4.9v-1.9h-38.8v2h-5v19.5zM207 669.5c-1.8-.7-4.3-2.9-4.3-5v-23.2l1.4-2.1h-17.7l1.5 2v23.3c0 2.1-2.6 4.3-4.3 5z"}),f.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),f.createElement("path",{strokeLinejoin:"bevel",d:"M204.4 632.5c0-2 5.8-2.1 8.8-3.8h-36c3 1.7 8.7 1.8 8.7 3.8l1.2 3.9 15 .6z"}),f.createElement("path",{d:"M211.4 611.3c0-4.9.2-6.7 1.7-6.7V620c-3.7 1.4-6.3 6-6.3 6h-23.2s-2.6-4.6-6.3-6v-15.5c1.8 0 1.8 2 1.8 6.7zm1.7-2c0-5.6 4.9-6.2 4.9-6.2v5c-1.9-.1-2.8 1.6-2.8 4 0 2.5 1.5 2.5 1.5 2.5v14.2h-3.6z"}),f.createElement("path",{d:"M177.3 609.3c0-5.6-4.9-6.2-4.9-6.2v5c1.9-.1 2.8 1.6 2.8 4 0 2.5-1.5 2.5-1.5 2.5v14.2h3.6z"}),f.createElement("g",{fill:"none",strokeWidth:.8},f.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),f.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),f.createElement("path",{d:"M184 614.2c3 3.6 2.6 9.7 2.6 13.3H204c0-3.6-.4-9.7 2.6-13.3zm9.7-41-2.4-1.3v-3.5c1 .3 2 .4 2.2 2 .3-2.3 1-2.1 1.9-3 1 .9 1.5.7 1.9 3 0-1.6 1.2-1.7 2.1-2v3.5l-2.3 1.2z"}),f.createElement("path",{d:"m193.5 578.9-4-2.8V573c1.5.3 3 .5 3.2 2.2.4-2.5 1.3-3.7 2.7-4.7 1.3 1 2.2 2.2 2.7 4.7.1-1.7 1.7-1.9 3-2.2v3.2l-3.9 2.7z"}),f.createElement("path",{d:"m193.2 587.8-4.5-4v-4.7c1.6.4 3.4.6 3.6 3.1.5-3.5 1.5-5.4 3-6.8 1.6 1.4 2.6 3.3 3.2 6.8.2-2.5 2-2.7 3.6-3.1v4.7l-4.6 4zm8.4 5.3-4 5.7h-4.7l-4.1-5.7zm-15.2 9.5c2 1.1 2.8 3.4 3 7.6H201c.2-4.2 1-6.5 3-7.6z"}),f.createElement("path",{strokeLinejoin:"bevel",d:"M204.2 593v-5.6a5.2 5.2 0 0 0-3.8 3.3c0-2-2.5-6.3-5.2-8.5-2.7 2.4-5.3 6.4-5.2 8.4-.5-1.5-1.8-2.7-3.8-3.2v5.7z"}),f.createElement("path",{strokeLinejoin:"bevel",d:"M205 602.6V597c-2.1.6-3.5 1.7-4.1 3.3 0-2-2.7-6.3-5.7-8.5-3 2.5-5.8 6.4-5.7 8.5-.5-1.5-2-2.7-4.1-3.3v5.7z"}),f.createElement("path",{strokeLinejoin:"bevel",d:"M207.4 614.3v-6.6a9.6 9.6 0 0 0-5.1 3.8c0-3.5-4-9-7.1-10.7-3.2 1.8-7.1 7.4-7.1 10.7a9.7 9.7 0 0 0-5.2-3.8v6.6z"}),f.createElement("path",{strokeLinejoin:"bevel",d:"M206 629v-6.8c-2.4.9-3 3.1-3.8 4.7.3-6.9-3.8-14.2-7-16.1-3.2 1.9-7.4 9.4-7 16-.8-1.4-1.5-3.7-3.8-4.6v6.7z"}),f.createElement("path",{d:"M204.4 639.2v-6.8c-2.5.6-2.6 1.5-3.4 3 .3-4.1-2.6-8.8-5.8-10.6-3.2 1.8-6 6.5-5.8 10.6-.8-1.5-.9-2.4-3.4-3v6.8z"}),f.createElement("g",{id:"a"},f.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),f.createElement("path",{d:"M99 664.3v-20.5c-.7-2.6-3-5-4.6-5.4v-19.2c2.5 0 3.7 3.2 3.7 3.2l4.3 18.9v22.9z"}),f.createElement("path",{d:"M96.3 669.5c1.7-.7 4.2-2.9 4.2-5v-25.6l-1.2-2H143l-1.7 2v25.6a6 6 0 0 0 3.4 5z"}),f.createElement("path",{d:"M135.8 669.5c-1.7-.7-4.2-2.9-4.2-5v-24.3l3.6-3.4h-29.6l3.6 3.4v24.3c0 2.1-2.5 4.3-4.2 5z"}),f.createElement("path",{d:"M131.7 669.5c-1.7-.7-4.3-2.9-4.3-5v-22l2.4-3.3H111l2.4 3.3v22c0 2.1-2.5 4.3-4.3 5z"}),f.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),f.createElement("path",{strokeLinejoin:"bevel",d:"M103.7 647.6h3.6v16.5h-3.6zm30.8 0h3.5v16.5h-3.6zm-33.9-27.8h4.4v17h-4.4zm0-3.2h4.3v3.2h-4.3zm35.6 6.9h6.1v13h-6.1z"}),f.createElement("path",{d:"M104.9 636.6v-29c1.2 0 1.4 4.3 4.2 4.3 1.5 0 1.4-1.8.5-3.2-.7-1.3-1.6-3-.4-6.3.9 2.5 3.1 3.3 2.7 1.8-.7-2.7-2.8-3.2-1.2-7.3.5 3.4 2.7 3.3 2.2 1.3-.6-2.3-1.9-3.3-.3-6.5.9 3.7 2 3.5 2 1.2 0-3.4 0-7 4.2-8.3 0 0 .3-3 1.9-3 1.5 0 1.8 3 1.8 3 4.3 1.3 4.2 5 4.2 8.3 0 2.3 1.1 2.5 2-1.2 1.6 3.2.3 4.2-.3 6.5-.5 2 1.7 2.1 2.2-1.3 1.6 4.1-.5 4.6-1.2 7.3-.4 1.5 1.8.7 2.7-1.8 1.2 3.3.3 5-.4 6.3-.8 1.4-1 3.2.5 3.2 2.8 0 3-4.2 4.2-4.2v28.9zM98 614.7v22.1h2.5v-22.1c-.9-.5-1.7-.5-2.5 0z"}),f.createElement("path",{d:"M98.2 629c3.1 1.6 6.2 3.5 7 7.8h-7zm43.2-6.6v14.4h2v-14.4c-.6-.3-1.5-.4-2 0z"}),f.createElement("path",{d:"M143.4 629c-3.1 1.5-6.2 3.3-7 7.7h7zm-20.6-33.7 1.8-1.5v-2c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-1v2l1.8 1.6z"}),f.createElement("path",{d:"m123.8 600.2.8-1.9v-2.5c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-.9v2.5l.8 1.9z"}),f.createElement("path",{d:"m124 606.8 2.6-3.3v-3.2c-1 0-1.5.5-2.2 1.6-.7-2.3-2-2.7-3.8-3.8-1.9 1-3.2 1.5-3.8 3.7-.8-1.1-1.3-1.4-2.3-1.5v3.2l2.7 3.3z"}),f.createElement("path",{d:"M124.7 613.3s3.2-2.7 3.3-4.2v-3.5c-1.2.1-2.3.4-3.2 1.9-.8-2.9-2-3.7-4.2-5-2.3 1.3-3.5 2.1-4.2 5-1-1.5-2-1.8-3.3-2v3.6a15 15 0 0 0 3.3 4.2z"}),f.createElement("path",{d:"M126 625.3s4.4-4.7 4.5-6.6v-5.4c-1.6.2-3.2 1.3-4.4 3.6-1-4.5-2.6-7.6-5.5-9.8-3 2.2-4.6 5.3-5.6 9.8-1.2-2.3-2.7-3.4-4.3-3.6v5.4c.3 1.9 4.4 6.6 4.4 6.6z"}),f.createElement("path",{d:"M126 632.4s3.7-3.7 4.5-5.3v-5.4c-1.6.2-3.2 1.3-4.4 3.5a14 14 0 0 0-5.5-9.2c-3 2.2-4.6 4.7-5.6 9.2-1.2-2.2-2.7-3.3-4.3-3.5v5.4c1 1.6 4.4 5.3 4.4 5.3z"}),f.createElement("path",{d:"M127.5 636.6c-1-4.7-2-8.2-7.1-11.7-5.2 3.5-6.1 7-7.2 11.7z"}),f.createElement("path",{d:"M130.2 639.2v-6.8c-2.4 1-4.5 2.3-5.3 3.8-.8-3.8-2.5-5.4-4.6-7.7-2.1 2.3-3.5 4-4.4 7.7-.8-1.5-2.9-2.9-5.2-3.8v6.8z"})),f.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),f.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),f.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),f.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),f.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),f.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),f.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),f.createElement("path",{fill:"none",d:"M99 664.2h193M115.8 713h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m65.8 37.5h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m66.2 37.5h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2"}))),ce=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-in",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),f.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),f.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),f.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},f.createElement("circle",{r:20,fill:"#008"}),f.createElement("circle",{r:17.5,fill:"#fff"}),f.createElement("circle",{r:3.5,fill:"#008"}),f.createElement("g",{id:"d"},f.createElement("g",{id:"c"},f.createElement("g",{id:"b"},f.createElement("g",{id:"a",fill:"#008"},f.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),f.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),f.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),f.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),f.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),f.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),f.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"}))),me=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},f.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),f.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"}))),de=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),f.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),f.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),f.createElement("path",{fill:"#fc0",d:"m207.5 73.8 6 40.7 23-34-12.4 39.2 35.5-20.8-28.1 30 41-3.2-38.3 14.8 38.3 14.8-41-3.2 28.1 30-35.5-20.8 12.3 39.3-23-34.1-6 40.7-5.9-40.7-23 34 12.4-39.2-35.5 20.8 28-30-41 3.2 38.4-14.8-38.3-14.8 41 3.2-28.1-30 35.5 20.8-12.4-39.3 23 34.1zm-33.3 1.7a71.1 71.1 0 1 0 0 130 80 80 0 1 1 0-130z"}),f.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"})),he=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-mm",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),f.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),f.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),f.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},f.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),f.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),f.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),f.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),f.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"}))),ue=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),f.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),f.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),f.createElement("path",{fill:"#fcd116",d:"M26.7 42.4 41 55l16.6-9.2-7.4 17.5 14 13-19-1.6-8.1 17.2-4.3-18.5L14 71l16.3-10zm323.8 172.3.4 19 18 6.3-18 6.2-.4 19-11.5-15.1-18.2 5.5 10.8-15.6-10.8-15.6 18.2 5.5zM37.2 388.1l8 17.2 19-1.6-13.9 13 7.4 17.5-16.6-9.1-14.4 12.4 3.6-18.7L14 409l18.9-2.4zm114.2-249-6.2 6.2 3.1 47-3 .3-5.7-42.9-5.1 5 7.6 38.4a47.5 47.5 0 0 0-17.2 7.1l-21.7-32.4H96l26.4 34.3a48 48 0 0 0-2.4 2l-31.1-35.5h-8.8v8.8l35.4 31-2 2.5-34.3-26.3v7.1l32.5 21.7c-3.4 5.2-5.9 11-7.1 17.2L66.3 223l-5.1 5 42.9 5.7c-.2 1-.3 2.1-.3 3.1l-47-3-6.2 6.2 6.2 6.2 47-3.1.3 3.1-42.9 5.7 5 5 38.4-7.6a47.5 47.5 0 0 0 7.1 17.2l-32.5 21.7v7.2l34.3-26.3a48 48 0 0 0 2 2.4l-35.4 31v8.8H89l31-35.4 2.5 2L96 312.2h7.2l21.7-32.5c5.1 3.4 11 5.9 17.2 7.1l-7.6 38.4 5 5 5.7-42.9c1 .2 2 .3 3.1.3l-3 47 6.1 6.2 6.3-6.2-3.1-47 3-.3 5.7 43 5.1-5.1-7.6-38.4a47.5 47.5 0 0 0 17.2-7.1l21.7 32.5h7.2l-26.4-34.3a48 48 0 0 0 2.4-2l31.1 35.4h8.8v-8.8l-35.4-31 2-2.4 34.3 26.3v-7.2l-32.5-21.7c3.4-5.1 5.9-11 7.1-17.2l38.3 7.6 5.1-5-42.9-5.7c.2-1 .3-2 .3-3.1l47 3 6.2-6.1-6.2-6.2-47 3-.3-3 42.9-5.7-5-5-38.4 7.5a47.5 47.5 0 0 0-7.1-17.2l32.5-21.7v-7.1l-34.3 26.3a48 48 0 0 0-2-2.4l35.4-31v-8.9H214l-31 35.5a48 48 0 0 0-2.5-2l26.4-34.3h-7.2L178 200.2c-5.1-3.4-11-5.9-17.2-7.1l7.6-38.3-5-5-5.7 42.8-3.1-.3 3-47z"})),pe=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("clipPath",{id:"a"},f.createElement("path",{d:"M0 0h640v480H0z"})),f.createElement("g",{clipPath:"url(#a)"},f.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),f.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),f.createElement("g",{fill:"#fff"},f.createElement("path",{d:"m154 126.9-2.5 9.6 9.4 2.6-1.8-7.1zm46.9 5.1-1.8 7.1 9.4-2.6-2.5-9.6zm-41.8-24-5.1 5.1 1.9 6.9z"}),f.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),f.createElement("path",{d:"m154 113.1-6.9 6.9 6.9 6.9 1.9-6.9zm14 27.8 5.1 5.1 6.9-1.9zm18.9 5.1 9.6 2.5 2.6-9.4-7.1 1.8z"}),f.createElement("path",{d:"m192 140.9 7.1-1.8 1.8-7.1zm-31.1-1.8 2.6 9.4 9.6-2.5-5.1-5.1zm19.1 5 6.9 1.9 5.1-5.1z"}),f.createElement("path",{d:"m173.1 146 6.9 6.9 6.9-6.9-6.9-1.9zm-12.2-45.1-9.4 2.6 2.5 9.6 5.1-5.1zm-1.8 31.1 1.8 7.1 7.1 1.8zm45-12 1.9-6.9-5.1-5.1z"}),f.createElement("path",{d:"m168 99.1-7.1 1.8-1.8 7.1zm32.9 8.9-1.8-7.1-7.1-1.8zm5.1 18.9 6.9-6.9-6.9-6.9-1.9 6.9z"}),f.createElement("path",{d:"m200.9 108-8.9-8.9-12-3.2-12 3.2-8.9 8.9-3.2 12 3.2 12 8.9 8.9 12 3.2 12-3.2 8.9-8.9 3.2-12z"}),f.createElement("path",{d:"m200.9 132 5.1-5.1-1.9-6.9zm5.1-18.9 2.5-9.6-9.4-2.6 1.8 7.1zm-6.9-12.2-2.6-9.4-9.6 2.5 5.1 5.1zm-26-6.9-9.6-2.5-2.6 9.4 7.1-1.8zm6.9 1.9-6.9-1.9-5.1 5.1z"}),f.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),f.createElement("path",{d:"m192 99.1-5.1-5.1-6.9 1.9zM173.1 146l-9.6 2.5 4.5 16.6 12-12.2zm-5.1 19.1 12 44.9 12-44.9-12-12.2zm-7.1-26-9.4-2.6-4.4 16.4 16.4-4.4z"}),f.createElement("path",{d:"m147.1 152.9-12 45.1 32.9-32.9-4.5-16.6zm-12-20.9L102 165.1l45.1-12.2 4.4-16.4z"}),f.createElement("path",{d:"m154 126.9-6.9-6.9-12 12 16.4 4.5zm0-13.8-2.5-9.6-16.4 4.5 12 12z"}),f.createElement("path",{d:"M135.1 108 90 120l45.1 12 12-12zm90 24-16.6 4.5 4.4 16.4 45.1 12.2z"}),f.createElement("path",{d:"m199.1 139.1-2.6 9.4 16.4 4.4-4.4-16.4zm-12.2 6.9-6.9 6.9 12 12.2 4.5-16.6zm19.1-19.1 2.5 9.6 16.6-4.5-12.2-12z"}),f.createElement("path",{d:"m192 165.1 33.1 32.9-12.2-45.1-16.4-4.4zm7.1-64.2 9.4 2.6 4.4-16.4-16.4 4.4z"}),f.createElement("path",{d:"M225.1 108 258 75.1l-45.1 12-4.4 16.4zm-12.2-20.9L225.1 42 192 75.1l4.5 16.4zm12.2 44.9 44.9-12-44.9-12-12.2 12z"}),f.createElement("path",{d:"m206 113.1 6.9 6.9 12.2-12-16.6-4.5zm-38-38L135.1 42l12 45.1 16.4 4.4z"}),f.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),f.createElement("path",{d:"m147.1 87.1-45.1-12 33.1 32.9 16.4-4.5zm39.8 6.9 9.6-2.5-4.5-16.4-12 12z"}),f.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),f.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),f.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),f.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"}))),ge=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("g",{fillRule:"evenodd"},f.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),f.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),f.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"}))),fe=e=>f.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),f.createElement("defs",null,f.createElement("clipPath",{id:"a"},f.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),f.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},f.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),f.createElement("path",{fill:"#ff0",d:"M349.6 381 260 314.3l-89 67.3L204 272l-89-67.7 110.1-1 34.2-109.4L294 203l110.1.1-88.5 68.4 33.9 109.6z"}))),ve=Object.values(i.siteOptions).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]),Ee={PH:ue,KH:se,ID:ce,IN:me,MM:he,MY:de,TH:ge,TW:pe,VN:fe};var be={phoneInput:"i-9Ibox",error:"YDWHh9b"};const ze=e.forwardRef(((t,r)=>{const{isError:a,defaultCountry:n,countries:l=ve,countryCallingCodeEditable:o=!1,defaultValue:i,value:s,onChange:c,className:d}=t,h=m.__rest(t,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),[u,f]=e.useState(i||s),[v,E]=e.useState(null);return e.useEffect((()=>{f(s)}),[s]),e.useEffect((()=>{m.__awaiter(void 0,void 0,void 0,(function*(){const e=yield Promise.resolve().then((function(){return p(require("react-phone-number-input"))}));E(e)}))}),[]),v?g.default.createElement(v.default,Object.assign({ref:r,value:u,onChange:e=>{f(e),null==c||c(e)},countries:l,defaultCountry:n,countryCallingCodeEditable:o,className:ee(be.phoneInput,{isError:a,[be.error]:a},d),flagUrl:void 0,flagComponent:e=>{const{country:t,countryName:r,flagUrl:a}=e,n=m.__rest(e,["country","countryName","flagUrl"]),l=Ee[t],o=t?`(+${v.getCountryCallingCode(t)})`:"";return l?g.default.createElement(g.default.Fragment,null,g.default.createElement(l,Object.assign({title:r},n)),g.default.createElement("span",{className:ee(be.callingCode,"PhoneInputCountryIconCallingCode")},o)):g.default.createElement(g.default.Fragment,null)},countrySelectProps:{arrowComponent:()=>g.default.createElement("div",{className:ee(be.arrowSelect,"PhoneInputArrowContainer")},g.default.createElement(ie,null))}},h)):null}));var xe=t.createStyles(((e,t)=>({root:{color:t.color||("hb"===e.primaryColor?"hb.6":e.fn.primaryColor()),"&[data-event-category] > *":{pointerEvents:"none"}}})));const ye=e=>{var{children:r}=e,a=m.__rest(e,["children"]);return g.default.createElement(t.Tabs,Object.assign({},a),r)};ye.List=t.Tabs.List,ye.Tab=t.Tabs.Tab,ye.Panel=t.Tabs.Panel,exports.ANIMATION_DURATION=C,exports.Accordion=S,exports.Avatar=e=>{var{withIndicator:r=!1,indicatorConfig:a=null,size:n=56,children:l,styles:o}=e,i=m.__rest(e,["withIndicator","indicatorConfig","size","children","styles"]);const s=()=>g.default.createElement(t.Avatar,Object.assign({size:n,radius:"xl"},i,{imageProps:Object.assign({loading:"lazy"},i.imageProps)}),l||g.default.createElement("img",{loading:"lazy",src:L,width:n}));return r?g.default.createElement(t.Indicator,Object.assign({inline:!0,position:"bottom-end",offset:9},a,{styles:Object.assign({indicator:{backgroundColor:g.default.isValidElement(a.label)&&"transparent",zIndex:1}},o)}),s()):s()},exports.Cambodia=se,exports.CaretDown=ie,exports.Carousel=N,exports.Checkbox=R,exports.DEBOUNCED_TIME=300,exports.DatePicker=x,exports.GlobalHeadingStyle=Y,exports.GlobalRadioStyle=Z,exports.GlobalTabStyle=K,exports.India=ce,exports.Indonesia=me,exports.Input=_,exports.MAPPED_LOCALE=V,exports.Malaysia=de,exports.Myanmar=he,exports.NumberInput=P,exports.OTHER_THEME_CONFIG=y,exports.OTP=oe,exports.Phillipines=ue,exports.Phone=ze,exports.Radio=W,exports.SHARED_HOVER=M,exports.StyledModal=H,exports.StyledSlider=q,exports.StyledSliderWrapper=B,exports.StyledTextArea=k,exports.Tabs=ye,exports.Taiwan=pe,exports.Thailand=ge,exports.Vietnam=fe,exports.commonjsGlobal=Q,exports.createCommonjsModule=J,exports.emotionCache=A,exports.useMantineLocale=t=>{const[r,a]=e.useState(!1);return e.useEffect((()=>{m.__awaiter(void 0,void 0,void 0,(function*(){var e;a(!1),yield null===(e=G[t])||void 0===e?void 0:e.call(G),E.default.locale(V[t]),a(!0)}))}),[t]),{isLoaded:r}},exports.useStyles=j,exports.useStyles$1=w,exports.useStyles$2=xe;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-37c0ba0e.js"),t=require("react"),a=require("@mantine/core"),r=require("./index-8a3af013.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(t);const n={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline"};exports.Button=t=>{var{variant:o,size:i,color:l,skipHover:c,className:u,dataEventCategory:v,dataEventAction:d,dataEventLabel:b}=t,f=e.__rest(t,["variant","size","color","skipHover","className","dataEventCategory","dataEventAction","dataEventLabel"]);const y="error"===o,{classes:E,cx:g}=r.useStyles({variant:o,size:i,color:l,skipHover:c,isError:y});return s.default.createElement(a.Button,Object.assign({className:g(E.rootCustom,u),variant:n[o],"data-event-category":v,"data-event-action":d,"data-event-label":b},f))};
1
+ "use strict";var e=require("./tslib.es6-c18725ef.js"),t=require("react"),a=require("@mantine/core"),r=require("./index-34a57dc0.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(t);const n={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline"};exports.Button=t=>{var{variant:o,size:i,color:l,skipHover:c,className:u,dataEventCategory:v,dataEventAction:d,dataEventLabel:f}=t,y=e.__rest(t,["variant","size","color","skipHover","className","dataEventCategory","dataEventAction","dataEventLabel"]);const E="error"===o,{classes:b,cx:g}=r.useStyles({variant:o,size:i,color:l,skipHover:c,isError:E});return s.default.createElement(a.Button,Object.assign({className:g(b.rootCustom,u),variant:n[o],"data-event-category":v,"data-event-action":d,"data-event-label":f},y))};
@@ -1 +1 @@
1
- "use strict";var e=require("./Onboarding-c1551b01.js"),o=require("./isProduction-6b31a53f.js");const l={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},i={HELLO_HEALTH_GROUP:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:e.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:e.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:e.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:e.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:e.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:e.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:e.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:e.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:e.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:e.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",t={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},a={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},s={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},E="user",c=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],O=["vi-VN","id-ID","en-PH","tl-PH"],I=["vi-VN","id-ID"],r={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var T;exports.QUERY_HEALTH_TOOL=void 0,(T=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",T.gender="gndr",T.age="ge",T.slug="slug",T.resultId="resultId",T.bmr="mr",T.height="gt",T.weight="wght",T.source="surc",T.type="tp",T.startDate="sd",T.additional="tnl",T.week="wk",T.twins="twn",T.weightBefore="wb",T.yourself="yrslf",T.intensity="sy",T.rate="rt",T.method="mthd",T.day="dy",T.pwg="pwg",T.cycle="le",T.period="prd",T.access_token="tkn",T.name="nm",T.id="id";const h={[e.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[e.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}};var p=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:t,LOCALE_SPECS:a,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:c,CARE_LOCALES:O,CARE_BOOKING_LOCALES:I,FAVICONS:r,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:h,siteHost:l,siteOptions:i,isProduction:o.isProduction});exports.CARE_BOOKING_LOCALES=I,exports.CARE_LOCALES=O,exports.FAVICONS=r,exports.ISO_FORMAT=h,exports.LOCALE_SPECS=a,exports.STATIC_PAGES=s,exports.TOGETHER_LOCALES=c,exports.UP_BASEPATH=E,exports.USER_GEOLOCATION_COORDINATES_COOKIE=n,exports.domainLocales=t,exports.index=p,exports.siteHost=l,exports.siteOptions=i;
1
+ "use strict";var e=require("./Onboarding-8d363051.js"),o=require("./isProduction-bbff0073.js");const l={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},i={HELLO_HEALTH_GROUP:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:e.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:e.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:e.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:e.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:e.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:e.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:e.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:e.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:e.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:e.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",t={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},a={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},s={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},E="user",O=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],c=["vi-VN","id-ID","en-PH","tl-PH"],I=["vi-VN","id-ID"],r={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var T;exports.QUERY_HEALTH_TOOL=void 0,(T=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",T.gender="gndr",T.age="ge",T.slug="slug",T.resultId="resultId",T.bmr="mr",T.height="gt",T.weight="wght",T.source="surc",T.type="tp",T.startDate="sd",T.additional="tnl",T.week="wk",T.twins="twn",T.weightBefore="wb",T.yourself="yrslf",T.intensity="sy",T.rate="rt",T.method="mthd",T.day="dy",T.pwg="pwg",T.cycle="le",T.period="prd",T.access_token="tkn",T.name="nm",T.id="id";const h={[e.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[e.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}};var p=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:t,LOCALE_SPECS:a,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:O,CARE_LOCALES:c,CARE_BOOKING_LOCALES:I,FAVICONS:r,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:h,siteHost:l,siteOptions:i,isProduction:o.isProduction});exports.CARE_BOOKING_LOCALES=I,exports.CARE_LOCALES=c,exports.FAVICONS=r,exports.ISO_FORMAT=h,exports.LOCALE_SPECS=a,exports.STATIC_PAGES=s,exports.TOGETHER_LOCALES=O,exports.UP_BASEPATH=E,exports.USER_GEOLOCATION_COORDINATES_COOKIE=n,exports.domainLocales=t,exports.index=p,exports.siteHost=l,exports.siteOptions=i;