@hhgtech/hhg-components 1.26.32 → 1.26.34

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 (294) 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/atoms/authorBadge/index.styles.d.ts +4 -2
  5. package/build/components/atoms/customReferenceDot/index.d.ts +1 -1
  6. package/build/components/mantine/anchor/index.styles.d.ts +4 -2
  7. package/build/components/mantine/button/index.styles.d.ts +4 -2
  8. package/build/components/mantine/datepicker/index.d.ts +4 -8
  9. package/build/components/mantine/index.d.ts +1 -1
  10. package/build/components/mantine/input/number.d.ts +2 -2
  11. package/build/components/mantine/otp/index.d.ts +2 -2
  12. package/build/components/mantine/phone/index.d.ts +1 -1
  13. package/build/components/mantine/tabs/index.styles.d.ts +4 -2
  14. package/build/components/mantine/text/index.styles.d.ts +4 -2
  15. package/build/components/mantine/theme/input.d.ts +4 -3
  16. package/build/components/mantine/theme/other.d.ts +2 -2
  17. package/build/components/mantine/theme/text.d.ts +38 -38
  18. package/build/components/molecules/tabs/index.styles.d.ts +8 -2
  19. package/build/components.js +1 -1
  20. package/build/constants.js +1 -1
  21. package/build/core-e0ab68ed.js +1 -0
  22. package/build/{dataTransform-28101413.js → dataTransform-3d1fe75a.js} +1 -1
  23. package/build/ecom.js +1 -1
  24. package/build/esm/babyGrowth.js +2 -2
  25. package/build/esm/cache.js +1 -1
  26. package/build/esm/care.js +1 -1
  27. package/build/esm/components.js +1 -1
  28. package/build/esm/constants.js +1 -1
  29. package/build/esm/{core-8caadfc5.js → core-99bd482d.js} +1 -1
  30. package/build/esm/{dataTransform-274126e8.js → dataTransform-b1a60c6f.js} +1 -1
  31. package/build/esm/ecom.js +1 -1
  32. package/build/esm/footer.js +1 -1
  33. package/build/esm/gAssets.js +1 -1
  34. package/build/esm/{getDynamicHealthTool-90551b77.js → getDynamicHealthTool-9469155c.js} +1 -1
  35. package/build/esm/{getSocialList-466fa13f.js → getSocialList-26e7744f.js} +1 -1
  36. package/build/esm/hooks.js +1 -1
  37. package/build/esm/i18n.js +1 -1
  38. package/build/esm/index-052ead15.js +134 -0
  39. package/build/esm/{index-ad7df466.js → index-07d550bd.js} +1 -1
  40. package/build/esm/{index-c8894e53.js → index-1c2e6b11.js} +1 -1
  41. package/build/esm/index-35720c39.js +1 -0
  42. package/build/esm/{index-49d42994.js → index-3a573a81.js} +1 -1
  43. package/build/esm/{index-9e21a856.js → index-415aa6a6.js} +1 -1
  44. package/build/esm/{index-c1c4ea8a.js → index-492dce7f.js} +1 -1
  45. package/build/esm/index-4c732e19.js +1 -0
  46. package/build/esm/{index-7b7ecc63.js → index-4cdba9f7.js} +1 -1
  47. package/build/esm/index-5150413f.js +1 -0
  48. package/build/esm/{index-e1c04a61.js → index-5b3fa6f4.js} +1 -1
  49. package/build/esm/index-66ca40b3.js +1 -0
  50. package/build/esm/{index-587a7c6c.js → index-792f34c0.js} +1 -1
  51. package/build/esm/{index-a7593bb9.js → index-7c7a71c2.js} +1 -1
  52. package/build/esm/{index-12de6c42.js → index-9f920249.js} +1 -1
  53. package/build/esm/index-abc2e161.js +1 -0
  54. package/build/esm/{index-e00f38c9.js → index-cbd70f4c.js} +1 -1
  55. package/build/esm/{index-aa91b2e8.js → index-cc1cc2ec.js} +1 -1
  56. package/build/esm/{index-6e4970c6.js → index-ce636090.js} +1 -1
  57. package/build/esm/{index-5faf1733.js → index-dca34eeb.js} +6 -6
  58. package/build/esm/{index-f279f9cc.js → index-e0755edc.js} +1 -1
  59. package/build/esm/{index-2dcd7658.js → index-ec106ff6.js} +1 -1
  60. package/build/esm/index-f1de8784.js +1 -0
  61. package/build/esm/index.js +1 -1
  62. package/build/esm/{index.styled-30b4b2d2.js → index.styled-1ccc5a77.js} +2 -2
  63. package/build/esm/{index.styled-c8b3bbda.js → index.styled-8a25e151.js} +1 -1
  64. package/build/esm/{index.styled-e1458854.js → index.styled-940adc9b.js} +173 -173
  65. package/build/esm/{index.styled-1b7062fa.js → index.styled-afbee6df.js} +1 -1
  66. package/build/esm/{index.styled-7d3abcab.js → index.styled-c947699d.js} +1 -1
  67. package/build/esm/lead.js +1 -1
  68. package/build/esm/mantine.js +1 -1
  69. package/build/esm/misc.js +1 -1
  70. package/build/esm/navigation.js +1 -1
  71. package/build/esm/onboarding.js +1 -1
  72. package/build/esm/pwg.js +5 -5
  73. package/build/esm/{routing-5659c7c1.js → routing-975273e0.js} +1 -1
  74. package/build/esm/{screenSizeContext-ef383a81.js → screenSizeContext-e78224e2.js} +1 -1
  75. package/build/esm/together.js +1 -1
  76. package/build/esm/{translationsProvider-c6ae6aba.js → translationsProvider-6d5e47dc.js} +1 -1
  77. package/build/esm/{types-a8957b61.js → types-8b435e81.js} +1 -1
  78. package/build/esm/{types-b47cfb90.js → types-f9aab877.js} +80 -79
  79. package/build/esm/types.js +1 -1
  80. package/build/esm/{useHealthToolCache-33638761.js → useHealthToolCache-900f7b60.js} +1 -1
  81. package/build/esm/{useRafState-8ad5ff5d.js → useRafState-432223b9.js} +1 -1
  82. package/build/esm/{useTranslations-09fd59a7.js → useTranslations-9c41e6c8.js} +1 -1
  83. package/build/esm/{utils-737d26dc.js → utils-618e7683.js} +16 -16
  84. package/build/esm/vaccination.js +12 -12
  85. package/build/footer.js +1 -1
  86. package/build/gAssets.js +1 -1
  87. package/build/getDynamicHealthTool-b44915cf.js +1 -0
  88. package/build/{getSocialList-a32f7622.js → getSocialList-2c798760.js} +1 -1
  89. package/build/hooks.js +1 -1
  90. package/build/i18n.js +1 -1
  91. package/build/index-135d06ea.js +1 -0
  92. package/build/{index-8515331b.js → index-393683bd.js} +1 -1
  93. package/build/{index-20ec378a.js → index-518a689f.js} +1 -1
  94. package/build/{index-28df8c27.js → index-52ef0508.js} +1 -1
  95. package/build/{index-b24d30a4.js → index-602fff84.js} +1 -1
  96. package/build/{index-023543bd.js → index-62c90fc9.js} +11 -11
  97. package/build/{index-a2796700.js → index-65a1e316.js} +1 -1
  98. package/build/{index-6783d880.js → index-68b36671.js} +1 -1
  99. package/build/{index-ff37193f.js → index-7741d720.js} +1 -1
  100. package/build/index-84aa447d.js +134 -0
  101. package/build/{index-d3826236.js → index-880ed496.js} +1 -1
  102. package/build/index-8abaf3c2.js +1 -0
  103. package/build/index-94d01c18.js +1 -0
  104. package/build/index-a0c1abdd.js +1 -0
  105. package/build/{index-bcc60c35.js → index-ac489f86.js} +1 -1
  106. package/build/{index-db12a261.js → index-ba38d2ea.js} +1 -1
  107. package/build/index-d1c0f20d.js +1 -0
  108. package/build/{index-2479abce.js → index-d2e91e47.js} +1 -1
  109. package/build/index-d79c7f8f.js +1 -0
  110. package/build/{index-34d6ee2c.js → index-e5f077a0.js} +1 -1
  111. package/build/{index-a1f24ac5.js → index-ee837a02.js} +1 -1
  112. package/build/{index-41ec0350.js → index-f2b90c69.js} +1 -1
  113. package/build/{index-76781aaa.js → index-f940d627.js} +1 -1
  114. package/build/index.js +1 -1
  115. package/build/{index.styled-6da69873.js → index.styled-3b98796b.js} +1 -1
  116. package/build/{index.styled-722fa7a1.js → index.styled-46729c66.js} +3 -3
  117. package/build/{index.styled-6e88c577.js → index.styled-c4beee2d.js} +1 -1
  118. package/build/{index.styled-06bff8be.js → index.styled-ecfffb79.js} +2 -2
  119. package/build/{index.styled-360b806d.js → index.styled-f732f62a.js} +1 -1
  120. package/build/lead.js +1 -1
  121. package/build/mantine.js +1 -1
  122. package/build/misc.js +1 -1
  123. package/build/navigation.js +1 -1
  124. package/build/onboarding.js +1 -1
  125. package/build/pwg.js +4 -4
  126. package/build/{routing-11b59429.js → routing-e1c33fd6.js} +1 -1
  127. package/build/screenSizeContext-0e09fb90.js +81 -0
  128. package/build/together/components/atoms/tagTopic/index.d.ts +6 -2
  129. package/build/together/components/molecules/cardAuthor/index.styles.d.ts +5 -2
  130. package/build/together/components/molecules/postContent/index.styles.d.ts +4 -2
  131. package/build/together.js +1 -1
  132. package/build/{translationsProvider-f706d7ce.js → translationsProvider-c759758b.js} +1 -1
  133. package/build/{types-1c02a2e5.js → types-1acc14ed.js} +10 -9
  134. package/build/{types-181bd739.js → types-d19c0294.js} +37 -37
  135. package/build/types.js +1 -1
  136. package/build/useHealthToolCache-cd6dc17f.js +1 -0
  137. package/build/{useRafState-2246427c.js → useRafState-a94ab907.js} +1 -1
  138. package/build/useTranslations-ef5fab21.js +1 -0
  139. package/build/{utils-0eff6749.js → utils-0b352512.js} +14 -14
  140. package/build/vaccination.js +49 -49
  141. package/package.json +10 -15
  142. package/build/components/mantine/datepicker/index.styled.d.ts +0 -3
  143. package/build/components/mantine/datepicker/range.d.ts +0 -5
  144. package/build/core-e1d079c2.js +0 -1
  145. package/build/esm/index-7c08fc24.js +0 -151
  146. package/build/esm/index-96906ea3.js +0 -1
  147. package/build/esm/index-d67f0f84.js +0 -1
  148. package/build/esm/index-dfa681bc.js +0 -1
  149. package/build/esm/index-e0b5236e.js +0 -1
  150. package/build/esm/index-f9a3ccf7.js +0 -1
  151. package/build/getDynamicHealthTool-f5800966.js +0 -1
  152. package/build/index-05a92235.js +0 -1
  153. package/build/index-18e5870d.js +0 -1
  154. package/build/index-5140044f.js +0 -1
  155. package/build/index-922aa090.js +0 -1
  156. package/build/index-a2bee1ad.js +0 -1
  157. package/build/index-dfb7b798.js +0 -151
  158. package/build/screenSizeContext-2a70b050.js +0 -81
  159. package/build/useHealthToolCache-e8385f9f.js +0 -1
  160. package/build/useTranslations-b15251a8.js +0 -1
  161. /package/build/{BMI_BOYS.percentile.monthly-1d7af41b.js → BMI_BOYS.percentile.monthly-a12d572a.js} +0 -0
  162. /package/build/{BMI_BOYS.percentile.weekly-b069d62a.js → BMI_BOYS.percentile.weekly-d7bb5879.js} +0 -0
  163. /package/build/{BMI_BOYS.percentile.yearly-8ff4bb62.js → BMI_BOYS.percentile.yearly-9b242344.js} +0 -0
  164. /package/build/{BMI_BOYS.zscore.monthly-78a9cc6f.js → BMI_BOYS.zscore.monthly-79ce3b3a.js} +0 -0
  165. /package/build/{BMI_BOYS.zscore.weekly-1d2397cb.js → BMI_BOYS.zscore.weekly-7066042e.js} +0 -0
  166. /package/build/{BMI_BOYS.zscore.yearly-70f2ff71.js → BMI_BOYS.zscore.yearly-04ab4a71.js} +0 -0
  167. /package/build/{BMI_GIRLS.percentile.monthly-5c551722.js → BMI_GIRLS.percentile.monthly-52160865.js} +0 -0
  168. /package/build/{BMI_GIRLS.percentile.weekly-777ee642.js → BMI_GIRLS.percentile.weekly-cdb89d90.js} +0 -0
  169. /package/build/{BMI_GIRLS.percentile.yearly-1932ad70.js → BMI_GIRLS.percentile.yearly-7ce25f13.js} +0 -0
  170. /package/build/{BMI_GIRLS.zscore.monthly-0ae0242b.js → BMI_GIRLS.zscore.monthly-0108625a.js} +0 -0
  171. /package/build/{BMI_GIRLS.zscore.weekly-1b3d59ee.js → BMI_GIRLS.zscore.weekly-10f3e4c5.js} +0 -0
  172. /package/build/{BMI_GIRLS.zscore.yearly-acfef8b9.js → BMI_GIRLS.zscore.yearly-53941b82.js} +0 -0
  173. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-dc8dd3a0.js → HEAD CIRCUM_BOYS.percentile.monthly-b5307bc9.js} +0 -0
  174. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-757ffdef.js → HEAD CIRCUM_BOYS.percentile.weekly-d1b2f383.js} +0 -0
  175. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-dc3039e6.js → HEAD CIRCUM_BOYS.percentile.yearly-05ba5c38.js} +0 -0
  176. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-f9b9537a.js → HEAD CIRCUM_BOYS.zscore.monthly-8fbab683.js} +0 -0
  177. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-8e0b9e55.js → HEAD CIRCUM_BOYS.zscore.weekly-2bf495f2.js} +0 -0
  178. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-5ebba785.js → HEAD CIRCUM_BOYS.zscore.yearly-8734aefb.js} +0 -0
  179. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-7b3a69d4.js → HEAD CIRCUM_GIRLS.percentile.monthly-cae87b5d.js} +0 -0
  180. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-6468172c.js → HEAD CIRCUM_GIRLS.percentile.weekly-a0589aab.js} +0 -0
  181. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-8b529237.js → HEAD CIRCUM_GIRLS.percentile.yearly-c16050d3.js} +0 -0
  182. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-7e4b2c79.js → HEAD CIRCUM_GIRLS.zscore.monthly-c77441cb.js} +0 -0
  183. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-c93c76b4.js → HEAD CIRCUM_GIRLS.zscore.weekly-85e93804.js} +0 -0
  184. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-09ac4a34.js → HEAD CIRCUM_GIRLS.zscore.yearly-45847929.js} +0 -0
  185. /package/build/{HEIGHT_BOYS.percentile.monthly-f4df1d4f.js → HEIGHT_BOYS.percentile.monthly-0a7fd5fd.js} +0 -0
  186. /package/build/{HEIGHT_BOYS.percentile.weekly-98c3c7ae.js → HEIGHT_BOYS.percentile.weekly-31b8e7c0.js} +0 -0
  187. /package/build/{HEIGHT_BOYS.percentile.yearly-0af9a6c7.js → HEIGHT_BOYS.percentile.yearly-57e1bc17.js} +0 -0
  188. /package/build/{HEIGHT_BOYS.zscore.monthly-74469225.js → HEIGHT_BOYS.zscore.monthly-c0e961e1.js} +0 -0
  189. /package/build/{HEIGHT_BOYS.zscore.weekly-5aedeb27.js → HEIGHT_BOYS.zscore.weekly-67559cc3.js} +0 -0
  190. /package/build/{HEIGHT_BOYS.zscore.yearly-a4d18a96.js → HEIGHT_BOYS.zscore.yearly-803c449c.js} +0 -0
  191. /package/build/{HEIGHT_GIRLS.percentile.monthly-f1271059.js → HEIGHT_GIRLS.percentile.monthly-63968e56.js} +0 -0
  192. /package/build/{HEIGHT_GIRLS.percentile.weekly-8edfbaee.js → HEIGHT_GIRLS.percentile.weekly-83011a09.js} +0 -0
  193. /package/build/{HEIGHT_GIRLS.percentile.yearly-1e0afe8c.js → HEIGHT_GIRLS.percentile.yearly-deda1b74.js} +0 -0
  194. /package/build/{HEIGHT_GIRLS.zscore.monthly-6f2fc7a4.js → HEIGHT_GIRLS.zscore.monthly-f93618db.js} +0 -0
  195. /package/build/{HEIGHT_GIRLS.zscore.weekly-53b292b4.js → HEIGHT_GIRLS.zscore.weekly-fbeda00a.js} +0 -0
  196. /package/build/{HEIGHT_GIRLS.zscore.yearly-9e3857fe.js → HEIGHT_GIRLS.zscore.yearly-903d8196.js} +0 -0
  197. /package/build/{Onboarding-5e427213.js → Onboarding-eb1bafb0.js} +0 -0
  198. /package/build/{Visible-a814efb4.js → Visible-f8de44a9.js} +0 -0
  199. /package/build/{WEIGHT_BOYS.percentile.monthly-2fdd897c.js → WEIGHT_BOYS.percentile.monthly-429752cc.js} +0 -0
  200. /package/build/{WEIGHT_BOYS.percentile.weekly-3a3c029a.js → WEIGHT_BOYS.percentile.weekly-23e7f2f7.js} +0 -0
  201. /package/build/{WEIGHT_BOYS.percentile.yearly-ab37985a.js → WEIGHT_BOYS.percentile.yearly-49c5487e.js} +0 -0
  202. /package/build/{WEIGHT_BOYS.zscore.monthly-57efda55.js → WEIGHT_BOYS.zscore.monthly-80f4945b.js} +0 -0
  203. /package/build/{WEIGHT_BOYS.zscore.weekly-94193753.js → WEIGHT_BOYS.zscore.weekly-0c08c5a7.js} +0 -0
  204. /package/build/{WEIGHT_BOYS.zscore.yearly-87105032.js → WEIGHT_BOYS.zscore.yearly-fc5500b9.js} +0 -0
  205. /package/build/{WEIGHT_GIRLS.percentile.monthly-1fa364b8.js → WEIGHT_GIRLS.percentile.monthly-17fd3272.js} +0 -0
  206. /package/build/{WEIGHT_GIRLS.percentile.weekly-6ae3377b.js → WEIGHT_GIRLS.percentile.weekly-c2b0ce89.js} +0 -0
  207. /package/build/{WEIGHT_GIRLS.percentile.yearly-c593b312.js → WEIGHT_GIRLS.percentile.yearly-f48ff3fd.js} +0 -0
  208. /package/build/{WEIGHT_GIRLS.zscore.monthly-fecd4f64.js → WEIGHT_GIRLS.zscore.monthly-0c2b1197.js} +0 -0
  209. /package/build/{WEIGHT_GIRLS.zscore.weekly-1643fd19.js → WEIGHT_GIRLS.zscore.weekly-a5bb1ae0.js} +0 -0
  210. /package/build/{WEIGHT_GIRLS.zscore.yearly-5da211cc.js → WEIGHT_GIRLS.zscore.yearly-708edfc1.js} +0 -0
  211. /package/build/{constants-668cc2e5.js → constants-1b3cea5d.js} +0 -0
  212. /package/build/{cookieHelper-4f45dbb8.js → cookieHelper-3a0803b2.js} +0 -0
  213. /package/build/{dataTransform-a7507c47.js → dataTransform-10d78994.js} +0 -0
  214. /package/build/esm/{BMI_BOYS.percentile.monthly-3e304387.js → BMI_BOYS.percentile.monthly-6198aea9.js} +0 -0
  215. /package/build/esm/{BMI_BOYS.percentile.weekly-dba58733.js → BMI_BOYS.percentile.weekly-c6afc3e2.js} +0 -0
  216. /package/build/esm/{BMI_BOYS.percentile.yearly-7d2a5262.js → BMI_BOYS.percentile.yearly-46e36a3d.js} +0 -0
  217. /package/build/esm/{BMI_BOYS.zscore.monthly-cf9a9acf.js → BMI_BOYS.zscore.monthly-8c7cc30b.js} +0 -0
  218. /package/build/esm/{BMI_BOYS.zscore.weekly-27bc7023.js → BMI_BOYS.zscore.weekly-981c686f.js} +0 -0
  219. /package/build/esm/{BMI_BOYS.zscore.yearly-8a1848c9.js → BMI_BOYS.zscore.yearly-fb704618.js} +0 -0
  220. /package/build/esm/{BMI_GIRLS.percentile.monthly-3ae14efa.js → BMI_GIRLS.percentile.monthly-ae936a7e.js} +0 -0
  221. /package/build/esm/{BMI_GIRLS.percentile.weekly-23889eb5.js → BMI_GIRLS.percentile.weekly-5cf081ac.js} +0 -0
  222. /package/build/esm/{BMI_GIRLS.percentile.yearly-7d6220a0.js → BMI_GIRLS.percentile.yearly-36aaed23.js} +0 -0
  223. /package/build/esm/{BMI_GIRLS.zscore.monthly-4b4186ab.js → BMI_GIRLS.zscore.monthly-cb709d10.js} +0 -0
  224. /package/build/esm/{BMI_GIRLS.zscore.weekly-4f0e900e.js → BMI_GIRLS.zscore.weekly-925cd031.js} +0 -0
  225. /package/build/esm/{BMI_GIRLS.zscore.yearly-7a6a3589.js → BMI_GIRLS.zscore.yearly-90d4a59f.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-b706ec38.js → HEAD CIRCUM_BOYS.percentile.monthly-a729146e.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-94c67b1b.js → HEAD CIRCUM_BOYS.percentile.weekly-641f3bf9.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-61b346e7.js → HEAD CIRCUM_BOYS.percentile.yearly-85577958.js} +0 -0
  229. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-395c7855.js → HEAD CIRCUM_BOYS.zscore.monthly-aedd75db.js} +0 -0
  230. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-26104ed6.js → HEAD CIRCUM_BOYS.zscore.weekly-0991576d.js} +0 -0
  231. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5a12ea42.js → HEAD CIRCUM_BOYS.zscore.yearly-8a273cf3.js} +0 -0
  232. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-8ecca100.js → HEAD CIRCUM_GIRLS.percentile.monthly-73fbfc2d.js} +0 -0
  233. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-63eb4486.js → HEAD CIRCUM_GIRLS.percentile.weekly-079e2e6b.js} +0 -0
  234. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-c0036f0f.js → HEAD CIRCUM_GIRLS.percentile.yearly-46469707.js} +0 -0
  235. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-361f637a.js → HEAD CIRCUM_GIRLS.zscore.monthly-6cdfc88a.js} +0 -0
  236. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-c6d6a792.js → HEAD CIRCUM_GIRLS.zscore.weekly-f0290a90.js} +0 -0
  237. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-12fd93f6.js → HEAD CIRCUM_GIRLS.zscore.yearly-e02d2992.js} +0 -0
  238. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-2bede227.js → HEIGHT_BOYS.percentile.monthly-9ee724ae.js} +0 -0
  239. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-050f52eb.js → HEIGHT_BOYS.percentile.weekly-3e590c72.js} +0 -0
  240. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-3b87b132.js → HEIGHT_BOYS.percentile.yearly-ff070e64.js} +0 -0
  241. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-40bef220.js → HEIGHT_BOYS.zscore.monthly-c614cced.js} +0 -0
  242. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-9aa468e7.js → HEIGHT_BOYS.zscore.weekly-4dcf6850.js} +0 -0
  243. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-794b66c2.js → HEIGHT_BOYS.zscore.yearly-c72b1285.js} +0 -0
  244. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-ea31290f.js → HEIGHT_GIRLS.percentile.monthly-1d364b2e.js} +0 -0
  245. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-2aac8847.js → HEIGHT_GIRLS.percentile.weekly-7b1e5c83.js} +0 -0
  246. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8e278f70.js → HEIGHT_GIRLS.percentile.yearly-c873e1c3.js} +0 -0
  247. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-42417d68.js → HEIGHT_GIRLS.zscore.monthly-d75227b1.js} +0 -0
  248. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-76528e2a.js → HEIGHT_GIRLS.zscore.weekly-f9cd377d.js} +0 -0
  249. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-8262a23a.js → HEIGHT_GIRLS.zscore.yearly-89a29d72.js} +0 -0
  250. /package/build/esm/{Onboarding-4f0cddc4.js → Onboarding-d98b0774.js} +0 -0
  251. /package/build/esm/{Visible-cfbdbafa.js → Visible-62e55d3e.js} +0 -0
  252. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-496c2978.js → WEIGHT_BOYS.percentile.monthly-a66df410.js} +0 -0
  253. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-a45d8435.js → WEIGHT_BOYS.percentile.weekly-14172e08.js} +0 -0
  254. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-fcc0e1d7.js → WEIGHT_BOYS.percentile.yearly-453362aa.js} +0 -0
  255. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-3c064878.js → WEIGHT_BOYS.zscore.monthly-7a70b8e5.js} +0 -0
  256. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-6b1ac607.js → WEIGHT_BOYS.zscore.weekly-55e0b627.js} +0 -0
  257. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-24ec3606.js → WEIGHT_BOYS.zscore.yearly-2c679127.js} +0 -0
  258. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-9a5d79de.js → WEIGHT_GIRLS.percentile.monthly-9d5d371c.js} +0 -0
  259. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-0c8157ed.js → WEIGHT_GIRLS.percentile.weekly-a0384e79.js} +0 -0
  260. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-b04ad579.js → WEIGHT_GIRLS.percentile.yearly-bd2ea6af.js} +0 -0
  261. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-3982ade2.js → WEIGHT_GIRLS.zscore.monthly-64bdb0fc.js} +0 -0
  262. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-a93fe176.js → WEIGHT_GIRLS.zscore.weekly-56458661.js} +0 -0
  263. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-ad2557ae.js → WEIGHT_GIRLS.zscore.yearly-41ca2f72.js} +0 -0
  264. /package/build/esm/{constants-62f03257.js → constants-79a0cf95.js} +0 -0
  265. /package/build/esm/{cookieHelper-d915d8aa.js → cookieHelper-90d9a31a.js} +0 -0
  266. /package/build/esm/{dataTransform-bec9ab4f.js → dataTransform-6bb57668.js} +0 -0
  267. /package/build/esm/{index-5e9f341a.js → index-b4cd461b.js} +0 -0
  268. /package/build/esm/{index-065a85d6.js → index-c67f25ce.js} +0 -0
  269. /package/build/esm/{isProduction-4ca4ba88.js → isProduction-ccc557d7.js} +0 -0
  270. /package/build/esm/{localizeNumberFormat-1d89a8f3.js → localizeNumberFormat-bfa04e69.js} +0 -0
  271. /package/build/esm/{normalizeLink-5db3e984.js → normalizeLink-21af4f5d.js} +0 -0
  272. /package/build/esm/{theme-5660ea9e.js → theme-d64df125.js} +0 -0
  273. /package/build/esm/{translationsContext-ea31a482.js → translationsContext-4a46dcec.js} +0 -0
  274. /package/build/esm/{tslib.es6-5ea1161d.js → tslib.es6-e30da8fd.js} +0 -0
  275. /package/build/esm/{types-db61e319.js → types-7a43b031.js} +0 -0
  276. /package/build/esm/{useIsInit-a958fa22.js → useIsInit-2c0f3461.js} +0 -0
  277. /package/build/esm/{useOutsideClick-904bbdea.js → useOutsideClick-46d61ca1.js} +0 -0
  278. /package/build/esm/{useScrollbarSize-e44804a5.js → useScrollbarSize-538091d5.js} +0 -0
  279. /package/build/esm/{useUniqueId-77ec7ac6.js → useUniqueId-a557d683.js} +0 -0
  280. /package/build/esm/{utils-53d109b3.js → utils-661f0fab.js} +0 -0
  281. /package/build/{index-026bb445.js → index-7c52b547.js} +0 -0
  282. /package/build/{index-cd53c242.js → index-d071c06b.js} +0 -0
  283. /package/build/{isProduction-5377bba0.js → isProduction-8235efe3.js} +0 -0
  284. /package/build/{localizeNumberFormat-6d3a030b.js → localizeNumberFormat-32d87ffb.js} +0 -0
  285. /package/build/{normalizeLink-f0f43c19.js → normalizeLink-3648c728.js} +0 -0
  286. /package/build/{theme-3d7b7e57.js → theme-b350d7e4.js} +0 -0
  287. /package/build/{translationsContext-3005d851.js → translationsContext-fc7a85ee.js} +0 -0
  288. /package/build/{tslib.es6-ff6d8bab.js → tslib.es6-87988b7e.js} +0 -0
  289. /package/build/{types-4a2937e6.js → types-9624c09a.js} +0 -0
  290. /package/build/{useIsInit-771c7f0e.js → useIsInit-57c29596.js} +0 -0
  291. /package/build/{useOutsideClick-0e005c18.js → useOutsideClick-40ff1be4.js} +0 -0
  292. /package/build/{useScrollbarSize-e9659238.js → useScrollbarSize-5cdd7d76.js} +0 -0
  293. /package/build/{useUniqueId-3c96cf52.js → useUniqueId-d28e0617.js} +0 -0
  294. /package/build/{utils-a25ea61c.js → utils-27b7214a.js} +0 -0
@@ -0,0 +1,134 @@
1
+ import{a as e,_ as t}from"./tslib.es6-e30da8fd.js";import*as a from"react";import n,{useState as r,useEffect as l,Component as o,useCallback as i,forwardRef as s,useRef as c,useImperativeHandle as d}from"react";import m from"dayjs";import{L as h}from"./Onboarding-d98b0774.js";import{rem as p,createStyles as g,Text as f,AspectRatio as v,em as u,Box as b,Breadcrumbs as E,Textarea as z,Modal as w,Accordion as x,Indicator as C,Avatar as y,FileInput as j,createEmotionCache as M,NumberInput as H,PasswordInput as k,TextInput as O,Input as S,Checkbox as B,Slider as A,Radio as L,Flex as I,Tabs as P}from"@mantine/core";import{B as D,M as T}from"./utils-661f0fab.js";import $ from"styled-components";import{Carousel as N}from"@mantine/carousel";import"./screenSizeContext-e78224e2.js";import{t as F}from"./theme-d64df125.js";import{I as R,s as W}from"./index-792f34c0.js";import"./isProduction-ccc557d7.js";import{CommonGAssets as _}from"./gAssets.js";import{useDebouncedValue as V}from"@mantine/hooks";const G={[h.Vietnam]:"vi",[h.Cambodia]:"km",[h.India]:"hi",[h.Indonesia]:"id",[h.Malaysia]:"ms",[h.Thailand]:"th",[h.Taiwan]:"zh-tw",[h.PhilippinesTagalog]:"tl-ph",[h.PhilippinesEnglish]:"en",[h.Myanmar]:"my"},K={[h.Vietnam]:()=>import("dayjs/locale/vi.js"),[h.Cambodia]:()=>import("dayjs/locale/km.js"),[h.India]:()=>import("dayjs/locale/hi.js"),[h.Indonesia]:()=>import("dayjs/locale/id.js"),[h.Malaysia]:()=>import("dayjs/locale/ms.js"),[h.Thailand]:()=>import("dayjs/locale/th.js"),[h.Taiwan]:()=>import("dayjs/locale/zh-tw.js"),[h.PhilippinesTagalog]:()=>import("dayjs/locale/tl-ph.js"),[h.PhilippinesEnglish]:()=>import("dayjs/locale/en.js"),[h.Myanmar]:()=>import("dayjs/locale/my.js")},U=t=>{const[a,n]=r(!1);return l((()=>{e(void 0,void 0,void 0,(function*(){var e;n(!1),yield null===(e=K[t])||void 0===e?void 0:e.call(K),m.locale(G[t]),n(!0)}))}),[t]),{isLoaded:a}},Z=()=>"undefined"!=typeof window&&window.innerWidth<D.BREAK_POINT_MOBILE,Y=()=>"undefined"!=typeof window&&window.innerWidth>=D.BREAK_POINT_MOBILE&&window.innerWidth<D.BREAK_POINT_PC,X=()=>{const[e,t]=r(Z()),[a,n]=r(Y());return l((()=>{const e=()=>{t(Z()),n(Y())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:e,isLargeMobile:a}};class q extends o{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||n.createElement(n.Fragment,null):this.props.children}}const Q=e=>{var{slidesToShow:a=1,children:r}=e,l=t(e,["slidesToShow","children"]);return(Array.isArray(r)?r.length:1)?n.createElement(q,null,n.createElement(N,Object.assign({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},l),r)):null};Q.Slide=N.Slide;const J=$(Q)`
2
+ cursor: grab;
3
+ width: 100%;
4
+ .mantine-Carousel-control {
5
+ background: rgb(255, 255, 255);
6
+ opacity: 1;
7
+ border: none;
8
+ border-radius: 0;
9
+ box-shadow: none;
10
+ &[data-inactive] {
11
+ opacity: 0;
12
+ cursor: default;
13
+ }
14
+ &:first-child {
15
+ padding-right: 24px;
16
+ background: linear-gradient(
17
+ 90deg,
18
+ rgba(255, 255, 255, 1) 0%,
19
+ rgba(255, 255, 255, 1) 50%,
20
+ rgba(255, 255, 255, 0) 100%
21
+ );
22
+ }
23
+ &:last-child {
24
+ padding-left: 24px;
25
+ background: linear-gradient(
26
+ 270deg,
27
+ rgba(255, 255, 255, 1) 0%,
28
+ rgba(255, 255, 255, 1) 50%,
29
+ rgba(255, 255, 255, 0) 100%
30
+ );
31
+ }
32
+ }
33
+
34
+ .mantine-Carousel-container {
35
+ align-items: center;
36
+ }
37
+ `,ee={fontSize:{base:[p(16),p(16)],lg:[p(18),p(16)],md:[p(18),p(16)],sm:[p(16),p(14)],xs:[p(14),p(12)],s1:[p(22),p(18)],s2:[p(18),p(16)],s3:[p(16),p(14)],s4:[p(14),p(12)],s5:[p(12),p(12)],p1:[p(18),p(16)],p2:[p(16),p(16)],p3:[p(16),p(14)],p4:[p(14),p(12)],c1:[p(16),p(14)],c2:[p(14),p(12)],n1:[p(12),p(12)],label1:[p(14),p(14)],label2:[p(12),p(12)]},lineHeight:{base:[p(24),p(24)],lg:[p(32),p(28)],md:[p(32),p(28)],sm:[p(24),p(22)],xs:[p(24),p(18)],s1:[p(32),p(26)],s2:[p(28),p(24)],s3:[p(24),p(24)],s4:[p(22),p(18)],s5:[p(18),p(18)],p1:[p(28),p(28)],p2:[p(24),p(24)],p3:[p(24),p(22)],p4:[p(22),p(18)],c1:[p(24),p(22)],c2:[p(22),p(18)],n1:[p(18),p(18)],label1:[p(22),p(22)],label2:[p(18),p(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}},te=Object.assign({},ee);var ae=g(((e,t)=>{var a,n,r,l,o,i,s,c,d,m;const h=Object.assign({},te),p=null===(a=h.fontSize[null==t?void 0:t.size])||void 0===a?void 0:a[0],g=null===(n=h.lineHeight[null==t?void 0:t.size])||void 0===n?void 0:n[0],f=null!==(o=null===(l=null===(r=h.letterSpacing)||void 0===r?void 0:r[null==t?void 0:t.size])||void 0===l?void 0:l[0])&&void 0!==o?o:0,v=null===(i=h.fontSize[null==t?void 0:t.size])||void 0===i?void 0:i[1],u=null===(s=h.lineHeight[null==t?void 0:t.size])||void 0===s?void 0:s[1],b=null!==(m=null===(d=null===(c=h.letterSpacing)||void 0===c?void 0:c[null==t?void 0:t.size])||void 0===d?void 0:d[1])&&void 0!==m?m:0;return{root:Object.assign(Object.assign({},(null==t?void 0:t.size)&&{fontWeight:h.fontWeight[t.weight],fontSize:`${p}`,lineHeight:`${g}`,letterSpacing:f,[e.fn.smallerThan("sm")]:{fontSize:`${v}`,lineHeight:`${u}`,letterSpacing:b}}),{"&[data-event-category] > *":{pointerEvents:"none"}})}}));const ne=e=>{var a,{size:r,color:l,weight:o="regular",as:i="p",styles:s,className:c,dataEventCategory:d,dataEventAction:m,dataEventLabel:h}=e,p=t(e,["size","color","weight","as","styles","className","dataEventCategory","dataEventAction","dataEventLabel"]);const{theme:g,classes:v,cx:u}=ae({size:r,weight:o},{name:"Text",styles:s});return n.createElement(f,Object.assign({className:u(v.root,c),color:l||("mb"===(null===(a=null==g?void 0:g.other)||void 0===a?void 0:a.template)?g.colors.delftGray[7]:g.colors.gray[7]),component:i,"data-event-category":d,"data-event-action":m,"data-event-label":h},p))};var re=g(((e,t)=>({root:{color:t.color||("hb"===e.primaryColor?e.colors.hb[6]:e.fn.primaryColor()),"&[data-event-category] > *":{pointerEvents:"none"}}})));const le=e=>{var{color:a,styles:r,className:l}=e,o=t(e,["color","styles","className"]);const{classes:i,cx:s}=re({color:a},{name:"Anchor",styles:r});return n.createElement(ne,Object.assign({as:"a",className:s(i.root,l)},o))},oe=e=>{var{children:a}=e,r=t(e,["children"]);return n.createElement(le,Object.assign({size:"p4",color:"gray.8"},r),a)},ie=e=>n.createElement(v,Object.assign({sx:{borderRadius:4,overflow:"hidden","> img":{objectFit:"contain"}}},e)),se={Button:{defaultProps:{size:"md"}}},ce="100ms",de={"&:hover":{border:`1px solid ${F.colors.primaryBase}`}},me={Checkbox:{styles:{input:de}}},he=[{size:"40px",lineHeight:"52px",letterSpacing:"-1.2px"},{size:"32px",lineHeight:"42px",letterSpacing:"-1px"},{size:"26px",lineHeight:"36px",letterSpacing:"-0.8px"},{size:"22px",lineHeight:"32px",letterSpacing:"-0.6px"},{size:"18px",lineHeight:"28px",letterSpacing:"-0.2px"},{size:"16px",lineHeight:"24px",letterSpacing:0}],pe=[{size:"26px",lineHeight:"34px",letterSpacing:"-0.9px"},{size:"24px",lineHeight:"32px",letterSpacing:"-0.8px"},{size:"20px",lineHeight:"26px",letterSpacing:"-0.7px"},{size:"18px",lineHeight:"26px",letterSpacing:"-0.6px"},{size:"16px",lineHeight:"24px",letterSpacing:"-0.2px"},{size:"14px",lineHeight:"22px",letterSpacing:"-0.2px"}],ge=(e=!1)=>Object.fromEntries((e?pe:he).map(((e,t)=>[`h${t+1}`,{fontSize:e.size,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}]))),fe={Title:{styles:{root:Object.assign(Object.assign({fontWeight:te.fontWeight.bold},ge()),{[`&${T.mbDown}`]:Object.assign({},ge(!0))})}}},ve=e=>({InputWrapper:{styles:{label:{display:"inline-flex",gap:4,marginBottom:"0.25rem",fontWeight:600,fontSize:"14px",lineHeight:"22px",color:F.colors.gray600},description:{fontWeight:400,fontSize:"12px",lineHeight:"18px",color:F.colors.gray600,marginBottom:"0.25rem"},error:{marginTop:"0.25rem"}}},NumberInput:{defaultProps:{decimalSeparator:R[e].separator}},Input:{styles:(e,t,{size:a})=>({input:{border:`1px solid ${F.colors.gray200}`,transition:`all ${ce} ease-in-out`,"&:not(.mantine-Textarea-input)":Object.assign({},(()=>{switch(a){case"lg":return{height:48,fontSize:16,minHeight:"unset",lineHeight:"24px"};case"md":return{height:40,fontSize:14,lineHeight:"22px",minHeight:"unset"};case"sm":return{height:32,fontSize:14,lineHeight:"22px",minHeight:"unset"}}})()),"&:hover":{border:`1px solid ${e.primaryColor}`},"&:focus":{boxShadow:`0px 0px 0px 2px ${e.colors[e.primaryColor][2]}`}},'&[data-invalid="true"]':{border:`1px solid ${F.colors.red600}`,color:"#000"}})}}),ue={Radio:{}},be={Tabs:{styles:{tabsList:{gap:16,borderBottom:"none",flexWrap:"nowrap"},tab:{padding:0,paddingBottom:8,color:F.colors.gray400,"&:hover":{backgroundColor:"initial",border:"initial"},"&[data-active='true']":{color:F.colors.primaryBase,borderColor:F.colors.primaryBase}}}}},Ee={hb:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],mb:["#FFE9F1","#F8CCDC","#F5B4CB","#F29CBA","#EE84AA","#EB6B99","#E85388","#D34C7C","#BE446F","#A93D63"],blue:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],gray:["#fafafa","#f2f2f2","#d9d9d9","#bfbfbf","#8c8c8c","#737373","#595959","#404040","#262626"],delftGray:["#F3F3F3","#EAEAEC","#D9DAE2","#B9BAC8","#9898A9","#7C7C8F","#5A5A72","#3E3F58","#202135","#0C0C12"],neutral:["#f7f9fc","#e4e8ec","#fafafa","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c"],green:["#e0f8ee","#b3eed5","#7ce2b9","#2ed69e","#00CB8A","#00C076","#00B16A","#009E5C","#008C50","#006C39"],pink:["#fff1f6","#fec7dc","#fec7dc","#fec2cf","#fe9dc2","#fd87b4","#fd72a7","#fc5d9a","#fc488d","#E92D74"],violet:["#F5EDFF","#E7D2F7","#D8B7F0","#CA9CE8","#BB82E1","#AD67D9","#9E4CD1","#9031CA","#8116C2","#63059D"],yellow:["#fff8e2","#ffecb6","#ffe187","#ffd658","#ffc326","#fe921d","#ffb521","#fea21e","#fe921d","#fc7419"],teal:["#e0f7fc","#b1ebf8","#7ddff3","#44d1ec","#00c7e6","#00bee0","#00aecd","#0099b2","#008599","#00626c"],indigol:["#CEDDF0","#ACC5E6","#95B3DA","#85A6CF","#6D91BE","#5F85B5","#4C77AC","#35639C","#284A75","#1B3250"],red:["#fae9e8","#feccbf","#FEAA96","#f44d2c","#ff6f4d","#ff5331","#f44d2c","#e64728","#d84023","#bf331b"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]},ze=(e,t="hb")=>({defaultRadius:"hb"===t?4:16,colors:Object.assign(Object.assign(Object.assign({},Ee),F.colors),{toneYellow:"#fff9eb",toneGreen:"#f2fcf7",toneBlue:"#e0e9fb",tonePink:"#ffeaf1"}),primaryColor:t,primaryShade:6,fontFamily:e===h.Cambodia?"Battambang,":"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",breakpoints:{xs:u(D.BREAK_POINT_SMALL_MOBILE),sm:u(D.BREAK_POINT_MOBILE),md:u(D.BREAK_POINT_TABLET),lg:u(D.BREAK_POINT_PC),xl:u(D.BREAK_POINT_LGPC)},components:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ve(e)),me),ue),se),fe),be),other:{template:t,defaultImage:_.getAssetPath("mb"===t?"default-image-mb.jpg":"default-image.jpg")}}),we=e=>{var{children:a,showHomeIcon:o=!0,homeIconHref:s="/"}=e,c=t(e,["children","showHomeIcon","homeIconHref"]);const[d,m]=r(null),{isMobile:h}=X(),[,p]=r(!0),g=i((()=>{p(!1)}),[]),f=i((()=>{setTimeout((()=>{p(!0)}),1e3)}),[]);return l((()=>(d&&(d.on("scroll",g),d.on("pointerUp",f)),()=>{d&&(d.off("scroll",g),d.on("pointerUp",f))})),[d,g,f]),n.createElement(J,Object.assign({align:"center",slideGap:"xs",dragFree:!0,draggable:h,slideSize:"0",getEmblaApi:m,controlsOffset:-52,previousControlIcon:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.86589 3.56104C7.03647 3.56104 7.20724 3.62732 7.33724 3.75765L7.39453 3.81494C7.6552 4.07561 7.6552 4.49765 7.39453 4.75765L4.81901 7.33317L13.5326 7.33317C13.9006 7.33317 14.1992 7.63184 14.1992 7.99984C14.1992 8.36784 13.9006 8.6665 13.5326 8.6665L4.81901 8.66651L7.39453 11.242C7.6552 11.5027 7.6552 11.9247 7.39453 12.1847L7.33724 12.242C7.07657 12.5027 6.65453 12.5027 6.39453 12.242L2.6237 8.47119C2.36303 8.21053 2.36303 7.78849 2.6237 7.52849L6.39453 3.75765C6.52487 3.62732 6.6953 3.56104 6.86589 3.56104Z",fill:"#595959"})),nextControlIcon:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M9.13411 12.439C8.96353 12.439 8.79276 12.3727 8.66276 12.2423L8.60547 12.1851C8.3448 11.9244 8.3448 11.5023 8.60547 11.2423L11.181 8.66683L2.46745 8.66683C2.09945 8.66683 1.80078 8.36816 1.80078 8.00016C1.80078 7.63216 2.09945 7.3335 2.46745 7.3335L11.181 7.3335L8.60547 4.75797C8.3448 4.49731 8.3448 4.07527 8.60547 3.81527L8.66276 3.75797C8.92343 3.49731 9.34547 3.49731 9.60547 3.75797L13.3763 7.52881C13.637 7.78947 13.637 8.21152 13.3763 8.47152L9.60547 12.2423C9.47513 12.3727 9.3047 12.439 9.13411 12.439Z",fill:"#595959"}))},c),o&&n.createElement(Q.Slide,{style:{borderRight:`1px solid ${Ee.neutral[1]}`}},n.createElement(oe,{href:s,target:"_blank",className:"pointer-event-child-none"},n.createElement(b,{sx:{borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center"},bg:Ee.neutral[0],p:6},n.createElement(ie,{ratio:1,w:18},n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.58691 5.59863L8.58691 1.62305C8.83594 1.45898 9.16406 1.45898 9.41309 1.62305L15.4131 5.59863C15.624 5.73926 15.75 5.97363 15.75 6.22559V14.25C15.75 15.0791 15.0791 15.75 14.25 15.75H3.75C2.9209 15.75 2.25 15.0791 2.25 14.25V6.22559C2.25 5.97363 2.37598 5.73926 2.58691 5.59863ZM5.5017 11.7602C5.1717 11.5108 5.17316 11.0321 5.46521 10.7391C5.75775 10.4456 6.24936 10.4292 6.5986 10.6522C7.17818 11.0223 8.12516 11.4889 9.21628 11.4889C10.3074 11.4889 11.2543 11.0223 11.8339 10.6522C12.1832 10.4292 12.6748 10.4456 12.9673 10.7391C13.2594 11.0321 13.2608 11.5108 12.9308 11.7602C11.8743 12.5589 10.535 12.9889 9.21628 12.9889C7.89758 12.9889 6.55824 12.5589 5.5017 11.7602Z",fill:"#595959"})))))),n.createElement(Q.Slide,null),n.createElement(Q.Slide,null,n.createElement(E,{styles:{separator:{marginInline:4}},separator:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.71527 7.99969L6.16794 5.45236C5.89194 5.17636 5.89194 4.72836 6.16794 4.45236C6.44394 4.17636 6.89194 4.17636 7.16794 4.45236L10.2439 7.52836C10.5046 7.78903 10.5046 8.21103 10.2439 8.47103L7.16794 11.547C6.89194 11.823 6.44394 11.823 6.16794 11.547C5.89194 11.271 5.89194 10.823 6.16794 10.547L8.71527 7.99969Z",fill:"#8C8C8C"}))},a)))};we.Item=oe;var xe=g(((e,t)=>{var a,n,r,l,o,i;const{other:s}=e,{template:c}=s,{size:d,variant:m,skipHover:h,isError:p,color:g,children:f}=t,v=g||e.primaryColor,u=(null===(n=null===(a=e.colors)||void 0===a?void 0:a[v])||void 0===n?void 0:n[0])||"",b=null===(l=null===(r=e.colors)||void 0===r?void 0:r[v])||void 0===l?void 0:l[e.fn.primaryShade()],E=null===(i=null===(o=e.colors)||void 0===o?void 0:o[v])||void 0===i?void 0:i[e.fn.primaryShade()+1];return{rootCustom:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({transition:`all ${ce} ease-in-out`,"&[data-event-category] > *":{pointerEvents:"none"}},!f&&{paddingLeft:"10px",paddingRight:"10px",".mantine-Button-icon":{margin:0}}),(()=>{switch(d){case"xl":return{height:56,fontWeight:600,fontSize:"mb"===c?"14px":"16px",lineHeight:"24px"};case"lg":return{height:48,fontWeight:600,fontSize:"mb"===c?"14px":"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"}}})()),(()=>{switch(m){case"primary":return Object.assign({color:e.white,backgroundColor:b},!h&&{"&:hover":{backgroundColor:E}});case"secondary":return Object.assign({color:b,backgroundColor:"transparent",border:`1px solid ${b}`},!h&&{"&:hover":{backgroundColor:u,border:`1px solid ${b}`}});case"tertiary":return{color:e.colors.gray[8],backgroundColor:e.white,border:`1px solid ${e.colors.neutral[2]}`,"&:hover":Object.assign({},h?{backgroundColor:e.white,border:`1px solid ${e.colors.neutral[2]}`}:{backgroundColor:e.colors.neutral[0],border:`1px solid ${e.colors.neutral[0]}`})};case"light":return{color:b,backgroundColor:u,border:"1px solid transparent","&:hover":Object.assign({},h?{backgroundColor:u,border:"1px solid transparent"}:{backgroundColor:e.white,border:`1px solid ${u}`})};case"ghost":return Object.assign({color:b,backgroundColor:"transparent",border:"1px solid transparent"},!h&&{"&:hover":{backgroundColor:u,border:"1px solid transparent"}})}})()),{"&[data-disabled]":{backgroundColor:e.colors.gray[1],color:e.colors.gray[4]}}),p?Object.assign({color:e.colors.red[6],backgroundColor:e.white,border:`1px solid ${e.colors.red[6]}`},!h&&{"&:hover":{backgroundColor:e.colors.red[0],border:`1px solid ${e.colors.red[6]}`}}):{})}}));const Ce=$(z)`
38
+ .mantine-Textarea-input {
39
+ padding: 12px 16px;
40
+ background: #ffffff;
41
+ border: 1px solid ${F.colors.gray200};
42
+ border-radius: 4px;
43
+ }
44
+ `,ye=$(w)`
45
+ .mantine-Modal-content {
46
+ padding: 0;
47
+ }
48
+ .mantine-Modal-header {
49
+ border-bottom: 1px solid ${F.colors.neutral100};
50
+ margin-right: 0;
51
+ margin-bottom: 0;
52
+ padding: 16px;
53
+ }
54
+ .mantine-Modal-title {
55
+ width: 100%;
56
+ display: flex;
57
+ align-items: center;
58
+ justify-content: space-between;
59
+ margin-right: 0;
60
+ }
61
+ .mantine-Modal-close {
62
+ cursor: pointer;
63
+ width: 24px;
64
+ height: 24px;
65
+ }
66
+ `,je=$(x)`
67
+ .mantine-Accordion-label {
68
+ padding: 0;
69
+ }
70
+ .mantine-Accordion-control {
71
+ &:hover {
72
+ background-color: transparent;
73
+ }
74
+ }
75
+ .mantine-Accordion-item {
76
+ .mantine-Accordion-chevron {
77
+ > div {
78
+ background-repeat: no-repeat;
79
+ width: 16px;
80
+ height: 16px;
81
+ background-position: center;
82
+ background-image: url(${e=>e.closeChevron||_.getAssetPath("plus-icon.svg")});
83
+ }
84
+ }
85
+ &[data-active='true'] {
86
+ .mantine-Accordion-chevron {
87
+ > div {
88
+ background-image: url(${e=>e.openChevron||_.getAssetPath("minus-icon.svg")});
89
+ }
90
+ }
91
+ }
92
+ }
93
+ .mantine-Accordion-panel {
94
+ border-radius: ${e=>e.theme.borderRadius};
95
+ }
96
+ .mantine-Accordion-content {
97
+ white-space: pre-wrap;
98
+ }
99
+ `,Me=e=>{var{children:a}=e,r=t(e,["children"]);return n.createElement(je,Object.assign({chevron:n.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},r),a)};Me.Control=x.Control,Me.Item=x.Item,Me.Panel=x.Panel;const He=_.getAssetPath("avatar.jpg"),ke=e=>{var{withIndicator:a=!1,indicatorConfig:r=null,size:l=56,children:o,styles:i}=e,s=t(e,["withIndicator","indicatorConfig","size","children","styles"]);const c=()=>n.createElement(y,Object.assign({size:l,radius:"xl"},s,{imageProps:Object.assign({loading:"lazy"},s.imageProps)}),o||n.createElement("img",{loading:"lazy",src:He,width:l}));return a?n.createElement(C,Object.assign({inline:!0,position:"bottom-end",offset:9},r,{styles:Object.assign({indicator:{backgroundColor:n.isValidElement(r.label)&&"transparent",zIndex:1}},i)}),c()):c()},Oe=300,Se=M({key:"mantine",prepend:!1}),Be=e=>{var{value:a,onChange:o}=e,i=t(e,["value","onChange"]);const[s,c]=r(a),[d]=V(s,300);return l((()=>{null==o||o(d)}),[d]),l((()=>{c(a)}),[a]),n.createElement(H,Object.assign({size:"md",stepHoldDelay:500,stepHoldInterval:e=>Math.max(1e3/Math.pow(e,2),25),onChange:c,hideControls:!0,min:0,formatter:e=>0===Number(e)?e:e||"",removeTrailingZeros:!0,value:s},i))},Ae=_.getAssetPath("EyeVisible.svg"),Le=_.getAssetPath("EyeHidden.svg"),Ie=s(((e,a)=>{const{size:r="md",visibilityToggleIcon:l}=e,o=t(e,["size","visibilityToggleIcon"]),i=l||(({reveal:e,size:t})=>e?n.createElement("img",{src:Ae,width:t}):n.createElement("img",{src:Le,width:t}));return n.createElement(k,Object.assign({ref:a,size:r,visibilityToggleIcon:i},o,{className:`input-control ${(null==o?void 0:o.className)||""}`}))})),Pe=s(((e,a)=>{var{value:o,onChange:i,onChangeRaw:s}=e,c=t(e,["value","onChange","onChangeRaw"]);const[d,m]=r(o||""),[h]=V(d,300);return l((()=>{null==i||i(h)}),[h]),l((()=>{m(o)}),[o]),n.createElement(O,Object.assign({ref:a,size:"md",onChange:e=>{null==s||s(e),m(e.currentTarget.value)},value:d},c,{className:`input-control ${(null==c?void 0:c.className)||""}`}))}));Pe.File=e=>n.createElement(j,Object.assign({size:"md"},e)),Pe.Password=Ie,Pe.Number=Be,Pe.Wrapper=S.Wrapper;const De=e=>n.createElement(B,Object.assign({},e));De.Group=B.Group;const Te=$(A)`
100
+ ${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 `}}
101
+ [data-theme='marryBaby'] & {
102
+ ${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 `}}
103
+ }
104
+
105
+ .mantine-Slider-label {
106
+ background-color: transparent;
107
+ color: #000;
108
+ font-size: 14px;
109
+ font-weight: bold;
110
+ }
111
+ `,$e=$.div`
112
+ display: flex;
113
+ align-items: center;
114
+ .hhg-mantine-slider {
115
+ flex-grow: 1;
116
+ }
117
+ button {
118
+ path:not([stroke]) {
119
+ stroke: ${e=>e.theme.colors.primaryBase};
120
+ }
121
+ }
122
+ [data-theme='marryBaby'] & {
123
+ button {
124
+ path:not([stroke]) {
125
+ stroke: ${e=>e.theme.mbColors.pink};
126
+ }
127
+ }
128
+ }
129
+ `,Ne=e=>{var{styles:a}=e,r=t(e,["styles"]);return n.createElement(L,Object.assign({size:"sm"},r,{styles:e=>Object.assign({radio:Object.assign(Object.assign({backgroundColor:"#fff"},de),{"&:checked":{backgroundColor:"#fff"}}),icon:{color:e.colors[e.primaryColor][e.primaryShade]}},a)}))};Ne.Group=L.Group;var Fe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Re(e){var t={exports:{}};return e(t,t.exports),t.exports
130
+ /*!
131
+ Copyright (c) 2018 Jed Watson.
132
+ Licensed under the MIT License (MIT), see
133
+ http://jedwatson.github.io/classnames
134
+ */}var We=Re((function(e){!function(){var t={}.hasOwnProperty;function a(){for(var e=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r){var l=typeof r;if("string"===l||"number"===l)e.push(r);else if(Array.isArray(r)){if(r.length){var o=a.apply(null,r);o&&e.push(o)}}else if("object"===l){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var i in r)t.call(r,i)&&r[i]&&e.push(i)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):window.classNames=a}()}));function _e(e,t=6){const a=new Array(t).fill("");if(e){const t=e.toString().split("");a.map(((e,n)=>{t[n]&&(a[n]=t[n]||"")}))}return a}function Ve(e){return e.join("")}var Ge="_2iQs0sk",Ke="Ia6IojY";const Ue=s(((e,a)=>{const{maxLength:r=1,placeholder:l,className:o}=e,i=t(e,["maxLength","placeholder","className"]);return n.createElement("input",Object.assign({maxLength:r,className:We(Ke,"otpInput",o),placeholder:l,type:"number"},i,{ref:a}))})),Ze=s(((e,t)=>{const{valueLength:a=6,type:o="number",value:s,defaultValue:m,onChange:h,onBlur:p}=e,g=c(new Array(a).fill(null)),[f,v]=r(m||s),[u,b]=r(-1),[E,z]=r((()=>_e(f,a))),w=i((()=>{if(-1===u)return;const e=g.current[u];if(e){e.value="";const t=E;t[u]="",z(t),v((()=>Ve(t))),null==h||h(Ve(t))}}),[u,h,E]),x=i((()=>{if(0===u)return;const e=g.current[u];e&&e.blur();const t=g.current[u-1];t&&t.focus()}),[u]),C=i((()=>{if(u===a-1)return;const e=g.current[u];e&&e.blur();const t=g.current[u+1];t&&t.focus()}),[u,a]),y=i((e=>{const t=e.target,a=t.value.toString().slice(0,1),n=g.current.findIndex((e=>e===t));if(-1!==n){const e=E;e[n]=a,z(e),v((()=>Ve(e))),null==h||h(Ve(e))}C()}),[C,h,E]),j=i((e=>{const t=e.target,a=g.current.findIndex((e=>e===t));"number"===o?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==a&&b(a)}),[]),M=i((e=>{const t=_e(e.clipboardData.getData("text/plain"),a),n=Ve(t);z(t),v(n),null==h||h(n)}),[h,o,a]),H=i((e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),w(),x()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),w()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),x()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),C()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[w,C,x]);return d(t,(()=>g.current[0]),[]),l((()=>{z((()=>_e(s,a))),v(s)}),[a,s]),n.createElement(I,{justify:"center",columnGap:8,className:We(Ge,"otpContainer")},E.map(((e,t)=>n.createElement(Ue,{ref:e=>{g.current[t]=e},key:""+t,value:e,type:o,onChange:y,onFocus:j,onKeyDown:H,onPaste:M,onBlur:p}))))})),Ye=e=>a.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),a.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),a.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},a.createElement("g",{strokeLinejoin:"bevel"},a.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),a.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),a.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),a.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"}),a.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"})),a.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"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),a.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"}),a.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"}),a.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"}),a.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),a.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"}),a.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"}),a.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"}),a.createElement("g",{fill:"none",strokeWidth:.8},a.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),a.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.createElement("g",{id:"a"},a.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),a.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"}),a.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"}),a.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"}),a.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"}),a.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"})),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),a.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),a.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),a.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),a.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),a.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),a.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),a.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"}))),Xe=e=>a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"})),qe=e=>a.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),a.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),a.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),a.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),a.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},a.createElement("circle",{r:20,fill:"#008"}),a.createElement("circle",{r:17.5,fill:"#fff"}),a.createElement("circle",{r:3.5,fill:"#008"}),a.createElement("g",{id:"d"},a.createElement("g",{id:"c"},a.createElement("g",{id:"b"},a.createElement("g",{id:"a",fill:"#008"},a.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),a.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),a.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),a.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),a.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),a.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"}))),Qe=e=>a.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),a.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},a.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),a.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"}))),Je=e=>a.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),a.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),a.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),a.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"}),a.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"})),et=e=>a.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),a.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),a.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),a.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},a.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"}))),tt=e=>a.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),a.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),a.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),a.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),a.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"})),at=e=>a.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),a.createElement("clipPath",{id:"a"},a.createElement("path",{d:"M0 0h640v480H0z"})),a.createElement("g",{clipPath:"url(#a)"},a.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),a.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),a.createElement("g",{fill:"#fff"},a.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"}),a.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.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"}),a.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),a.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"}),a.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),a.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),a.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),a.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"}))),nt=e=>a.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),a.createElement("g",{fillRule:"evenodd"},a.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),a.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"}))),rt=e=>a.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),a.createElement("defs",null,a.createElement("clipPath",{id:"a"},a.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),a.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},a.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),a.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"}))),lt=Object.values(W).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]),ot={PH:tt,KH:Ye,ID:Qe,IN:qe,MM:et,MY:Je,TH:nt,TW:at,VN:rt};var it={phoneInput:"i-9Ibox",error:"YDWHh9b"};const st=s(((a,o)=>{const{isError:i,defaultCountry:s,countries:c=lt,countryCallingCodeEditable:d=!1,defaultValue:m,value:h,onChange:p,className:g}=a,f=t(a,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),[v,u]=r(m||h),[b,E]=r(null);return l((()=>{u(h)}),[h]),l((()=>{e(void 0,void 0,void 0,(function*(){const e=yield import("react-phone-number-input");E(e)}))}),[]),b?n.createElement(b.default,Object.assign({ref:o,value:v,onChange:e=>{u(e),null==p||p(e)},countries:c,defaultCountry:s,countryCallingCodeEditable:d,className:We(it.phoneInput,{isError:i,[it.error]:i},g),flagUrl:void 0,flagComponent:e=>{const{country:a,countryName:r,flagUrl:l}=e,o=t(e,["country","countryName","flagUrl"]),i=ot[a],s=a?`(+${b.getCountryCallingCode(a)})`:"";return i?n.createElement(n.Fragment,null,n.createElement(i,Object.assign({title:r},o)),n.createElement("span",{className:We(it.callingCode,"PhoneInputCountryIconCallingCode")},s)):n.createElement(n.Fragment,null)},countrySelectProps:{arrowComponent:()=>n.createElement("div",{className:We(it.arrowSelect,"PhoneInputArrowContainer")},n.createElement(Xe,null))}},f)):null})),ct=e=>{var{children:a}=e,r=t(e,["children"]);return n.createElement(P,Object.assign({},r),a)};ct.List=P.List,ct.Tab=P.Tab,ct.Panel=P.Panel;export{le as A,we as B,Xe as C,Oe as D,ct as E,qe as I,Je as M,Be as N,Ze as O,tt as P,Ne as R,$e as S,at as T,rt as V,Ye as a,Qe as b,et as c,nt as d,Pe as e,ne as f,Re as g,Fe as h,xe as i,Te as j,ye as k,ie as l,G as m,st as n,Ce as o,U as p,ze as q,Me as r,ke as s,Ee as t,X as u,Q as v,De as w,Se as x,ge as y,te as z};
@@ -1 +1 @@
1
- import{_ as t}from"./tslib.es6-5ea1161d.js";import e from"react";import{Button as a}from"@mantine/core";import{i as r}from"./index-7c08fc24.js";const o={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline",white:"white"},i=i=>{var{variant:s,size:n,color:c,skipHover:l,className:d,dataEventCategory:v,dataEventAction:m,dataEventLabel:p,children:h}=i,E=t(i,["variant","size","color","skipHover","className","dataEventCategory","dataEventAction","dataEventLabel","children"]);const f="error"===s,{classes:g,cx:u}=r({variant:s,size:n,color:c,skipHover:l,isError:f,children:h});return e.createElement(a,Object.assign({className:u(g.rootCustom,d),variant:o[s],"data-event-category":v,"data-event-action":m,"data-event-label":p},E),h)};export{i as B};
1
+ import{_ as t}from"./tslib.es6-e30da8fd.js";import e from"react";import{Button as a}from"@mantine/core";import{i as r}from"./index-052ead15.js";const o={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline",white:"white"},i=i=>{var{variant:s,size:n,color:l,skipHover:c,className:d,dataEventCategory:v,dataEventAction:m,dataEventLabel:p,children:h}=i,E=t(i,["variant","size","color","skipHover","className","dataEventCategory","dataEventAction","dataEventLabel","children"]);const f="error"===s,{classes:g,cx:u}=r({variant:s,size:n,color:l,skipHover:c,isError:f,children:h});return e.createElement(a,Object.assign({className:u(g.rootCustom,d),variant:o[s],"data-event-category":v,"data-event-action":m,"data-event-label":p},E),h)};export{i as B};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-5ea1161d.js";import t from"react";import{CommonGAssets as s}from"./gAssets.js";import{k as r}from"./index-7c08fc24.js";const l=l=>{var{title:o}=l,n=e(l,["title"]);return t.createElement(t.Fragment,null,t.createElement(r,Object.assign({centered:!0,styles:{body:{padding:"40px"},inner:{borderRadius:"6px"}}},n,{withCloseButton:!1,title:n.withCloseButton&&t.createElement(t.Fragment,null,o,t.createElement("img",{className:"mantine-Modal-close",src:s.getAssetPath("CloseModal.svg"),onClick:()=>{var e;return null===(e=n.onClose)||void 0===e?void 0:e.call(n)}}))})))};export{l as M};
1
+ import{_ as e}from"./tslib.es6-e30da8fd.js";import t from"react";import{CommonGAssets as s}from"./gAssets.js";import{k as r}from"./index-052ead15.js";const l=l=>{var{title:o}=l,a=e(l,["title"]);return t.createElement(t.Fragment,null,t.createElement(r,Object.assign({centered:!0,styles:{body:{padding:"40px"},inner:{borderRadius:"6px"}}},a,{withCloseButton:!1,title:a.withCloseButton&&t.createElement(t.Fragment,null,o,t.createElement("img",{className:"mantine-Modal-close",src:s.getAssetPath("CloseModal.svg"),onClick:()=>{var e;return null===(e=a.onClose)||void 0===e?void 0:e.call(a)}}))})))};export{l as M};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-e30da8fd.js";import t from"react";import{Image as r}from"@mantine/core";import{DatePickerInput as o}from"@mantine/dates";import{I as s}from"./index-792f34c0.js";import{L as a}from"./Onboarding-d98b0774.js";import{CommonGAssets as i}from"./gAssets.js";import{m as n}from"./index-052ead15.js";const l=l=>{var m,{value:d,fullWidth:c=!0}=l,p=e(l,["value","fullWidth"]);return t.createElement(o,Object.assign({locale:n[process.env.UNIFY_LOCALE||a.Vietnam],valueFormat:null===(m=s[process.env.UNIFY_LOCALE||a.Vietnam])||void 0===m?void 0:m.dateFormat,size:"md",clearable:!1,popoverProps:c?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:t.createElement(r,{src:i.getAssetPath(p.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:d},p,{className:`input-control ${(null==p?void 0:p.className)||""}`}))};export{l as D};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-5ea1161d.js";import l,{createContext as n,useContext as r,useRef as i,useState as t,useEffect as o}from"react";import{Carousel as s}from"@mantine/carousel";import{createStyles as d}from"@mantine/core";import{useViewportSize as c,useResizeObserver as a}from"@mantine/hooks";const u=s.Slide,v=n({}),m=(e,l)=>e>=l?e-l:e,h=n=>{var{children:r,blurFromCenter:u,blurFromIndex:h,blurLength:p=3,maxBlurOpacity:S=.5,onSlideChange:g,selectSlideWhenClick:f}=n,y=e(n,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:b}=c(),[C]=a(),k=i(null),[x,O]=t(0),I=()=>{var e,l,n,r,i;const t=(null===(e=null==k?void 0:k.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(l=null==k?void 0:k.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(n=null==k?void 0:k.current)||void 0===n?void 0:n.slidesInView().length))return t.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const o=null===(r=null==k?void 0:k.current)||void 0===r?void 0:r.selectedScrollSnap();O(o);const s=t.length,d=(null===(i=null==k?void 0:k.current)||void 0===i?void 0:i.slidesInView()).length,c=Math.floor(d/2),a=u?h+p-1:c,v=o+a,g=v===s?0:v>s?v-s:v,f=o-a,y=f<0?s+f:f>0?o-a:0,b=[...new Set(Array(2*a+1).fill("").map(((e,l)=>m(y+l,s))))];t.map(((e,l)=>{if(l===o?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==b.indexOf(l)){const i=S/p;for(let t=0;t<p;t++){if(l===m(y+t,s)||l===(r=s,(n=g-t)<0?r+n:n)){e.style.opacity=String((t+1)*i);break}e.style.opacity="1"}}else e.style.opacity="0";var n,r}))},j={getEmblaApi:e=>{k.current=e},onSlideChange:e=>{I(),null==g||g(e)}};o((()=>{(null==k?void 0:k.current)&&I()}),[b]);const w=d((()=>{var e,l;return{control:Object.assign({},(null===(e=null==k?void 0:k.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(l=null==k?void 0:k.current)||void 0===l?void 0:l.slidesInView().length)&&{display:"none"})}})),{classes:E}=w();return l.createElement(v.Provider,{value:{slider:null==k?void 0:k.current,centerSlide:x,selectSlideWhenClick:f}},l.createElement(s,Object.assign({classNames:{control:E.control},ref:C,slideSize:"auto",containScroll:"trimSnaps"},j,y,{loop:!0}),"function"==typeof r?r(x):r))};h.Slide=n=>{var{children:s,onClick:d,innerSlideProps:c}=n,a=e(n,["children","onClick","innerSlideProps"]);const{slider:m,selectSlideWhenClick:h}=r(v),p=i(),S=i(""),[g,f]=t(0);o((()=>{S.current=String(Math.round(1e4*Math.random()))}),[]),o((()=>{const e=(null==m?void 0:m.slideNodes())||[];f(e.findIndex((e=>e.dataset.key===S.current)))}),[m]);const y={ref:p,"data-key":S.current,"data-index":g};return l.createElement(u,Object.assign({},y,a),l.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{h&&(null==m||m.scrollTo(g)),null==d||d(g)}},c),s))};export{h as C};
1
+ import{_ as e}from"./tslib.es6-e30da8fd.js";import l,{createContext as n,useContext as r,useRef as i,useState as t,useEffect as o}from"react";import{Carousel as d}from"@mantine/carousel";import{createStyles as s}from"@mantine/core";import{useViewportSize as c,useResizeObserver as a}from"@mantine/hooks";const u=d.Slide,v=n({}),m=(e,l)=>e>=l?e-l:e,h=n=>{var{children:r,blurFromCenter:u,blurFromIndex:h,blurLength:p=3,maxBlurOpacity:S=.5,onSlideChange:g,selectSlideWhenClick:f}=n,y=e(n,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:b}=c(),[C]=a(),k=i(null),[x,O]=t(0),I=()=>{var e,l,n,r,i;const t=(null===(e=null==k?void 0:k.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(l=null==k?void 0:k.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(n=null==k?void 0:k.current)||void 0===n?void 0:n.slidesInView().length))return t.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const o=null===(r=null==k?void 0:k.current)||void 0===r?void 0:r.selectedScrollSnap();O(o);const d=t.length,s=(null===(i=null==k?void 0:k.current)||void 0===i?void 0:i.slidesInView()).length,c=Math.floor(s/2),a=u?h+p-1:c,v=o+a,g=v===d?0:v>d?v-d:v,f=o-a,y=f<0?d+f:f>0?o-a:0,b=[...new Set(Array(2*a+1).fill("").map(((e,l)=>m(y+l,d))))];t.map(((e,l)=>{if(l===o?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==b.indexOf(l)){const i=S/p;for(let t=0;t<p;t++){if(l===m(y+t,d)||l===(r=d,(n=g-t)<0?r+n:n)){e.style.opacity=String((t+1)*i);break}e.style.opacity="1"}}else e.style.opacity="0";var n,r}))},j={getEmblaApi:e=>{k.current=e},onSlideChange:e=>{I(),null==g||g(e)}};o((()=>{(null==k?void 0:k.current)&&I()}),[b]);const w=s((()=>{var e,l;return{control:Object.assign({},(null===(e=null==k?void 0:k.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(l=null==k?void 0:k.current)||void 0===l?void 0:l.slidesInView().length)&&{display:"none"})}})),{classes:E}=w();return l.createElement(v.Provider,{value:{slider:null==k?void 0:k.current,centerSlide:x,selectSlideWhenClick:f}},l.createElement(d,Object.assign({classNames:{control:E.control},ref:C,slideSize:"auto",containScroll:"trimSnaps"},j,y,{loop:!0}),"function"==typeof r?r(x):r))};h.Slide=n=>{var{children:d,onClick:s,innerSlideProps:c}=n,a=e(n,["children","onClick","innerSlideProps"]);const{slider:m,selectSlideWhenClick:h}=r(v),p=i(),S=i(""),[g,f]=t(0);o((()=>{S.current=String(Math.round(1e4*Math.random()))}),[]),o((()=>{const e=(null==m?void 0:m.slideNodes())||[];f(e.findIndex((e=>e.dataset.key===S.current)))}),[m]);const y={ref:p,"data-key":S.current,"data-index":g};return l.createElement(u,Object.assign({},y,a),l.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{h&&(null==m||m.scrollTo(g)),null==s||s(g)}},c),d))};export{h as C};
@@ -1 +1 @@
1
- import{_ as a}from"./tslib.es6-5ea1161d.js";import e from"react";var t="wIj6fkD";const s=s=>{var{size:r="base",type:o="regular",className:c,style:n,children:d,color:i,dataEventCategory:l,dataEventAction:p,dataEventLabel:v,as:m="p",wordWrap:y,isUppercase:b}=s,g=a(s,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]);const E=m;return e.createElement(E,Object.assign({"data-size":r,"data-type":o,style:Object.assign(Object.assign({},n),i?{"--custom-color":i}:void 0),className:`${t} ${c||""}`,"data-event-category":l,"data-event-action":p,"data-event-label":v,"data-word-wrap":y,"data-is-uppercase":b},g),d)};export{s as T};
1
+ import{_ as a}from"./tslib.es6-e30da8fd.js";import e from"react";var t="wIj6fkD";const s=s=>{var{size:r="base",type:o="regular",className:c,style:d,children:n,color:i,dataEventCategory:l,dataEventAction:p,dataEventLabel:v,as:m="p",wordWrap:y,isUppercase:b}=s,g=a(s,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]);const E=m;return e.createElement(E,Object.assign({"data-size":r,"data-type":o,style:Object.assign(Object.assign({},d),i?{"--custom-color":i}:void 0),className:`${t} ${c||""}`,"data-event-category":l,"data-event-action":p,"data-event-label":v,"data-word-wrap":y,"data-is-uppercase":b},g),n)};export{s as T};
@@ -1,4 +1,4 @@
1
- import{M as e}from"./utils-53d109b3.js";import t from"styled-components";import o from"react";const i=t.div`
1
+ import{M as e}from"./utils-661f0fab.js";import t from"styled-components";import o from"react";const i=t.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
 
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-e30da8fd.js";import t from"react";import{S as s,a}from"./index.styled-c947699d.js";const r=a=>{var{type:r,color:l,style:o}=a,c=e(a,["type","color","style"]);return t.createElement(s,Object.assign({type:r,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[r],style:Object.assign(Object.assign({},l&&{"--text-color":l}),o)},c))},l=s=>{var{type:r,color:l,style:o}=s,c=e(s,["type","color","style"]);return t.createElement(a,Object.assign({"data-type":r,style:Object.assign(Object.assign({},o),l&&{"--text-color":l})},c))};export{l as M,r as a};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-5ea1161d.js";import t,{useState as o,useEffect as n}from"react";import{useDebouncedValue as a}from"@mantine/hooks";import{B as s}from"./index-aa91b2e8.js";import{D as r,S as i,j as l}from"./index-7c08fc24.js";const m=m=>{var{color:c,withControl:h,onChange:d,value:g,min:w,max:p,isStatic:u,containerClassName:k,containerStyle:v}=m,x=e(m,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[C,f]=o(g||w||0),[E]=a(C,r);return n((()=>{null==d||d(E)}),[E]),n((()=>{f(g)}),[g]),t.createElement(i,{className:k,style:v},h&&t.createElement(s,{type:"button",size:"sm",color:"ghost",onClick:()=>{f((e=>w&&e===w?e:e-1))}},t.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},t.createElement("path",{d:"M1 1.004h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),t.createElement(l,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:c,value:C,onChange:u?()=>null:f,min:w,max:p},x,{className:"hhg-mantine-slider "+(x.className||"")})),h&&t.createElement(s,{type:"button",size:"sm",color:"ghost",onClick:()=>{f((e=>p&&e===p?e:e+1))}},t.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},t.createElement("path",{d:"M8 4v8M4 8h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};export{m as S};
1
+ import{_ as e}from"./tslib.es6-e30da8fd.js";import t,{useState as o,useEffect as n}from"react";import{useDebouncedValue as a}from"@mantine/hooks";import{B as s}from"./index-cc1cc2ec.js";import{D as r,S as i,j as l}from"./index-052ead15.js";const m=m=>{var{color:c,withControl:h,onChange:d,value:g,min:w,max:p,isStatic:u,containerClassName:k,containerStyle:v}=m,x=e(m,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[C,f]=o(g||w||0),[E]=a(C,r);return n((()=>{null==d||d(E)}),[E]),n((()=>{f(g)}),[g]),t.createElement(i,{className:k,style:v},h&&t.createElement(s,{type:"button",size:"sm",color:"ghost",onClick:()=>{f((e=>w&&e===w?e:e-1))}},t.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},t.createElement("path",{d:"M1 1.004h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),t.createElement(l,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:c,value:C,onChange:u?()=>null:f,min:w,max:p},x,{className:"hhg-mantine-slider "+(x.className||"")})),h&&t.createElement(s,{type:"button",size:"sm",color:"ghost",onClick:()=>{f((e=>p&&e===p?e:e+1))}},t.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},t.createElement("path",{d:"M8 4v8M4 8h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};export{m as S};
@@ -0,0 +1 @@
1
+ import{_ as e,a as t}from"./tslib.es6-e30da8fd.js";import l,{useState as a,useEffect as n,useMemo as i,useRef as r,useContext as o,useCallback as s}from"react";import{g as c}from"./core-99bd482d.js";import{CommonGAssets as m}from"./gAssets.js";import{a as d}from"./useUniqueId-a557d683.js";import{S as h,d as u,e as g,f as p,g as v,h as E,i as f,j as y,k as w,N as L,l as b,m as C,n as k,o as M,p as P,q as H,r as N,s as x,t as A,u as B,v as T,w as _,x as R,y as O,z as S,A as U,B as j,C as Z,E as $,F as V,I as F,J as I,K as D,L as z,M as G,O as W,P as q,Q as K,R as Q,V as Y,W as J,X,Y as ee,Z as te,_ as le,$ as ae,a0 as ne,a1 as ie,a2 as re,a3 as oe,a4 as se,a5 as ce,a6 as me,a7 as de,a8 as he,a9 as ue,aa as ge,ab as pe,ac as ve,ad as Ee,ae as fe,af as ye,ag as we,ah as Le,ai as be,aj as Ce,ak as ke,al as Me,am as Pe,an as He,ao as Ne,ap as xe,aq as Ae}from"./index.styled-afbee6df.js";import{T as Be}from"./index-415aa6a6.js";import{d as Te,L as _e,S as Re,U as Oe,T as Se,C as Ue}from"./index-792f34c0.js";import{n as je,a as Ze}from"./normalizeLink-21af4f5d.js";import{c as $e,b as Ve,d as Fe}from"./routing-975273e0.js";import{P as Ie,b as De,c as ze}from"./dataTransform-b1a60c6f.js";import{L as Ge}from"./index-ec106ff6.js";import{u as We}from"./useTranslations-9c41e6c8.js";import qe from"lodash/throttle";import{g as Ke}from"./utils-661f0fab.js";import{y as Qe,P as Ye,H as Je}from"./index.styled-8a25e151.js";import{B as Xe}from"./index-cc1cc2ec.js";import{t as et}from"./theme-d64df125.js";import{g as tt}from"./cookieHelper-90d9a31a.js";import{Portal as lt}from"@mantine/core";import"./index-492dce7f.js";import{C as at}from"./index-5b3fa6f4.js";import"./index.styled-c947699d.js";import"./index-c67f25ce.js";import"@mantine/dates";import"./Onboarding-d98b0774.js";import"./index-052ead15.js";import"dayjs";import"./screenSizeContext-e78224e2.js";import"styled-components";import"./isProduction-ccc557d7.js";import"./index-3a573a81.js";import"@mantine/hooks";import{L as nt}from"./constants-79a0cf95.js";import it from"string-format";import{u as rt}from"./useIsInit-2c0f3461.js";import ot from"lodash/debounce";const st={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},ct=({type:e="square",size:t,avatarImg:i,avatarUrl:r,firstLetter:o,backgroundColor:s,onClick:c,style:m,className:d,width:h,height:u})=>{const g=t?st[t]:void 0,[p,v]=a(!1);n((()=>{if(r){const e=document.createElement("img");e.setAttribute("src",r),e.addEventListener("error",(()=>{v(!0)}))}}),[r,v]);const E=(!r&&!i||p)&&o;return l.createElement(Qe,{style:Object.assign(Object.assign({},m),{"--size":g?g+"px":void 0,"--width-prop":h?h+"px":void 0,"--height-prop":u?u+"px":void 0,"--background-color":s}),"data-has-max":!(!h||!u),"data-avatar-type":e,onClick:c,className:d,avatarUrl:r,"data-custom-size":!!t},i,r&&!p&&l.createElement("img",{src:r}),E&&o)},mt=e=>l.createElement("img",Object.assign({src:m.getAssetPath("flags/cambodiaRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),dt=e=>l.createElement("img",Object.assign({src:m.getAssetPath("flags/cambodiaSquare.png")},e)),ht=e=>l.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:Object.assign({borderRadius:"50%"},e.style)},e),l.createElement("g",null,l.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},l.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),l.createElement("path",{d:"M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z",fill:"#3F51B5"}),l.createElement("path",{d:"M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z",fill:"#3F51B5"}),l.createElement("path",{d:"M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z",fill:"white"}),l.createElement("path",{d:"M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z",fill:"#3F51B5"}),l.createElement("path",{d:"M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z",fill:"#3F51B5"}),l.createElement("path",{d:"M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z",fill:"white"}),l.createElement("path",{d:"M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z",fill:"white"}),l.createElement("path",{d:"M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z",fill:"white"}),l.createElement("path",{d:"M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z",fill:"white"}),l.createElement("path",{d:"M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z",fill:"white"}),l.createElement("path",{d:"M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z",fill:"white"}),l.createElement("path",{d:"M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z",fill:"white"}),l.createElement("path",{d:"M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z",fill:"white"}),l.createElement("path",{d:"M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z",fill:"white"}),l.createElement("path",{d:"M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z",fill:"white"}),l.createElement("path",{d:"M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z",fill:"white"}),l.createElement("path",{d:"M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z",fill:"#E53935"}),l.createElement("path",{d:"M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z",fill:"#E53935"}),l.createElement("path",{d:"M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z",fill:"white"}),l.createElement("path",{d:"M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z",fill:"white"}),l.createElement("path",{d:"M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z",fill:"white"}),l.createElement("path",{d:"M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z",fill:"white"}),l.createElement("path",{d:"M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z",fill:"#E53935"}),l.createElement("path",{d:"M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z",fill:"#E53935"}),l.createElement("path",{d:"M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z",fill:"#E53935"}),l.createElement("path",{d:"M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z",fill:"#E53935"}),l.createElement("path",{d:"M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z",fill:"#E53935"}))),ut=e=>l.createElement("svg",Object.assign({viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l.createElement("g",null,l.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"5",width:"24",height:"16"},l.createElement("path",{d:"M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z",fill:"#3F51B5"})),l.createElement("path",{d:"M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z",fill:"#3F51B5"}),l.createElement("path",{d:"M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z",fill:"white"}),l.createElement("path",{d:"M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z",fill:"white"}),l.createElement("path",{d:"M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z",fill:"white"}),l.createElement("path",{d:"M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z",fill:"white"}),l.createElement("path",{d:"M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z",fill:"white"}),l.createElement("path",{d:"M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z",fill:"white"}),l.createElement("path",{d:"M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z",fill:"#E53935"}),l.createElement("path",{d:"M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z",fill:"#E53935"}))),gt=e=>l.createElement("img",Object.assign({src:m.getAssetPath("flags/indiaRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),pt=e=>l.createElement("img",Object.assign({src:m.getAssetPath("flags/indiaSquare.png")},e)),vt=t=>{var a=e(t,[]);const n=d();return l.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("mask",{id:n,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},l.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),l.createElement("g",{mask:`url(#${n})`},l.createElement("rect",{width:"20",height:"10",fill:"#CE1126"}),l.createElement("rect",{y:"10",width:"20",height:"10",fill:"white"})))},Et=t=>{var a=e(t,[]);const n=d();return l.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("g",{clipPath:`url(#${n})`},l.createElement("rect",{y:"0.0166016",width:"24",height:"8",fill:"#CE1126"}),l.createElement("rect",{y:"8.0166",width:"24",height:"8",fill:"white"})),l.createElement("defs",null,l.createElement("clipPath",{id:n},l.createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}))))},ft=e=>l.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:Object.assign({borderRadius:"50%"},e.style)},e),l.createElement("g",null,l.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},l.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),l.createElement("rect",{y:"1",width:"20",height:"20",fill:"#CC0001"}),l.createElement("rect",{y:"16.106",width:"20",height:"1.02041",fill:"white"}),l.createElement("rect",{y:"16",width:"20",height:"1.02041",fill:"white"}),l.createElement("rect",{y:"18",width:"20",height:"1.02041",fill:"white"}),l.createElement("rect",{y:"14.0652",width:"20",height:"1.02041",fill:"white"}),l.createElement("rect",{y:"12.0242",width:"20",height:"1.02041",fill:"white"}),l.createElement("rect",{y:"9.9834",width:"20",height:"1.02041",fill:"white"}),l.createElement("rect",{y:"7.94263",width:"20",height:"1.02041",fill:"white"}),l.createElement("rect",{y:"5.90186",width:"20",height:"1.02041",fill:"white"}),l.createElement("rect",{y:"3.86084",width:"20",height:"1.02041",fill:"white"}),l.createElement("rect",{y:"2",width:"20",height:"1.02041",fill:"white"}),l.createElement("rect",{width:"20",height:"1.02041",fill:"white"}),l.createElement("rect",{y:"-1",width:"10",height:"12",fill:"#010066"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z",fill:"#FFCC00"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z",fill:"#FFCC00"}))),yt=e=>l.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#CC0001"}),l.createElement("rect",{y:"12.2712",width:"24",height:"0.777454",fill:"white"}),l.createElement("rect",{y:"12.1904",width:"24",height:"0.777454",fill:"white"}),l.createElement("rect",{y:"13.7144",width:"24",height:"0.777454",fill:"white"}),l.createElement("rect",{y:"10.7161",width:"24",height:"0.777454",fill:"white"}),l.createElement("rect",{y:"9.16138",width:"24",height:"0.777454",fill:"white"}),l.createElement("rect",{y:"7.60645",width:"24",height:"0.777454",fill:"white"}),l.createElement("rect",{y:"6.05127",width:"24",height:"0.777454",fill:"white"}),l.createElement("rect",{y:"4.49658",width:"24",height:"0.777454",fill:"white"}),l.createElement("rect",{y:"2.94141",width:"24",height:"0.777454",fill:"white"}),l.createElement("rect",{y:"1.52393",width:"24",height:"0.777454",fill:"white"}),l.createElement("rect",{width:"24",height:"0.777454",fill:"white"}),l.createElement("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z",fill:"#010066"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z",fill:"#FFCC00"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z",fill:"#FFCC00"})),wt=e=>l.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:Object.assign({borderRadius:"50%"},e.style)},e),l.createElement("g",null,l.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},l.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),l.createElement("rect",{x:"-4",y:"-1",width:"28",height:"11",fill:"#FECB00"}),l.createElement("rect",{x:"-4",y:"10",width:"28",height:"10",fill:"#EA2839"}),l.createElement("rect",{x:"-4",y:"6.7041",width:"28",height:"6.47773",fill:"#34B233"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z",fill:"white"}))),Lt=e=>l.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#FECB00"}),l.createElement("rect",{y:"8.3811",width:"24",height:"7.61905",rx:"2",fill:"#EA2839"}),l.createElement("rect",{y:"5.86987",width:"24",height:"4.93542",fill:"#34B233"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z",fill:"white"})),bt=e=>l.createElement("img",Object.assign({src:m.getAssetPath("flags/philippineRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),Ct=e=>l.createElement("img",Object.assign({src:m.getAssetPath("flags/philippineSquare.png")},e)),kt=e=>l.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:Object.assign({borderRadius:"50%"},e.style)},e),l.createElement("g",null,l.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},l.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),l.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#D8D8D8"}),l.createElement("g",null,l.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},l.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),l.createElement("rect",{width:"30",height:"20",fill:"#ED1E24"}),l.createElement("rect",{width:"15",height:"10",fill:"#2B2F84"}),l.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),l.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),l.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),l.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),l.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),l.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),l.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),l.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),l.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),l.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),l.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),l.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),l.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"})))),Mt=e=>l.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#ED1E24"}),l.createElement("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z",fill:"#2B2F84"}),l.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),l.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),l.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),l.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),l.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),l.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),l.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),l.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),l.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),l.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),l.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),l.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),l.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"})),Pt=e=>l.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:Object.assign({borderRadius:"50%"},e.style)},e),l.createElement("g",null,l.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},l.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),l.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#ED1C24"}),l.createElement("rect",{x:"-4",y:"3.31665",width:"28",height:"13.3333",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-4 6.65015H24V13.3168H-4V6.65015Z",fill:"#241D4F"}))),Ht=e=>l.createElement("svg",Object.assign({viewBox:"0 0 24 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l.createElement("rect",{y:"0.983398",width:"24",height:"16",rx:"2",fill:"#ED1C24"}),l.createElement("rect",{y:"3.65039",width:"24",height:"10.6667",fill:"white"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6.31689H24V11.6502H0V6.31689Z",fill:"#241D4F"})),Nt=e=>l.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:Object.assign({borderRadius:"50%"},e.style)},e),l.createElement("g",null,l.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},l.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),l.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#DA251D"}),l.createElement("path",{d:"M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z",fill:"#FFEB3B"}))),xt=e=>l.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l.createElement("g",null,l.createElement("clipPath",null,l.createElement("rect",{width:"24",height:"16",fill:"white"})),l.createElement("path",{d:"M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z",fill:"#DA251D"}),l.createElement("path",{d:"M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z",fill:"#FFEB3B"})));var At="pfaLGRK";const Bt=({country:e,language:t,rounded:a,height:n,width:i,isTesting:r})=>{let o,s;switch(t){case"en":o=l.createElement(ut,null),s=l.createElement(ht,null);break;case"vi":o=l.createElement(xt,null),s=l.createElement(Nt,null);break;case"id":o=l.createElement(Et,{isTesting:r}),s=l.createElement(vt,{isTesting:r});break;case"th":o=l.createElement(Ht,null),s=l.createElement(Pt,null);break;case"km":o=l.createElement(dt,null),s=l.createElement(mt,null);break;case"ms":o=l.createElement(yt,null),s=l.createElement(ft,null);break;case"my":o=l.createElement(Lt,null),s=l.createElement(wt,null);break;case"tl":o=l.createElement(Ct,null),s=l.createElement(bt,null);break;case"hi":o=l.createElement(pt,null),s=l.createElement(gt,null);break;case"zh":o=l.createElement(Mt,null),s=l.createElement(kt,null)}if(!o&&!s)switch(e){case"VN":o=l.createElement(xt,null),s=l.createElement(Nt,null);break;case"ID":o=l.createElement(Et,{isTesting:r}),s=l.createElement(vt,{isTesting:r});break;case"TH":o=l.createElement(Ht,null),s=l.createElement(Pt,null);break;case"KH":o=l.createElement(dt,null),s=l.createElement(mt,null);break;case"MY":o=l.createElement(yt,null),s=l.createElement(ft,null);break;case"MM":o=l.createElement(Lt,null),s=l.createElement(wt,null);break;case"PH":o=l.createElement(Ct,null),s=l.createElement(bt,null);break;case"IN":o=l.createElement(pt,null),s=l.createElement(gt,null);break;case"TW":o=l.createElement(Mt,null),s=l.createElement(kt,null)}return l.createElement("div",{className:At,style:{"--width":i||20,"--height":n||20}},a?s:o)},Tt=({options:e,label:t,labelRenderer:n,selected:i,onChange:r,showSelected:o=!0,style:s={},showIndicator:c=!0})=>{const[d,E]=a(!1);return l.createElement(l.Fragment,null,l.createElement(h,null,l.createElement(u,{onClick:()=>E((e=>!e))},t||(null==n?void 0:n(d))||null,l.createElement(g,{"data-is-open":d,style:s,"data-show-indicator":c},e.map(((e,t)=>l.createElement(p,{key:t,"data-selected":o&&i===e.value,onClick:t=>{i!==e.value&&(r(e.value),E((e=>!e))),t.stopPropagation()}},l.createElement(Be,{size:"p3"},e.label),o&&i===e.value&&l.createElement("img",{src:m.getAssetPath("check.svg"),alt:"check",className:"check-icon"}))))))),d&&l.createElement(v,{onClick:()=>E(!1)}))},_t=({languageOptions:e,locale:t})=>{var a,n;const i=null==e?void 0:e.find((e=>e.locale===t));return(null==e?void 0:e.length)?l.createElement(Tt,{options:e,selected:i.value,label:l.createElement(Rt,{locale:t,label:i.label||(null===(n=null===(a=t.split("-"))||void 0===a?void 0:a[0])||void 0===n?void 0:n.toUpperCase())}),onChange:e=>{"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},Rt=({locale:e,label:t,href:a})=>{var n,i,r;return l.createElement(E,{href:a},l.createElement(Bt,{country:null===(i=null===(n=null==e?void 0:e.split("-"))||void 0===n?void 0:n[1])||void 0===i?void 0:i.toUpperCase(),width:16,height:16,rounded:!0,language:null===(r=null==e?void 0:e.split("-"))||void 0===r?void 0:r[0]}),l.createElement("span",null,t))},Ot=({forceDisplay:e,mediaQueryKey:t,children:a,className:n,style:r})=>{const[o,s]=i((()=>Ke(t)),[t]);return l.createElement(f,{lowerBound:e?0:o,upperBound:e?0:s,className:n,style:r},a)},St=e=>{const{allowBgScroll:t}=e||{},l=r();return{containerRef:l,onContainerFocus:()=>{t||(document.documentElement.style.overflow="hidden")},onContainerBlur:()=>{t||(document.documentElement.style.overflow="")},onButtonMouseDown:e=>{l.current&&(document.activeElement===l.current||l.current.contains(document.activeElement))&&(l.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:()=>{l.current&&(document.activeElement===l.current||l.current.contains(document.activeElement))&&(l.current.blur(),document.activeElement.blur())}}},Ut=({type:e="lead",closeIcon:t,isOpen:a=!0,onClose:n,children:i,enableAnimation:r=!0,targetAvatar:o,id:s,className:c})=>l.createElement(y,{"data-open":a,"data-type":e,"data-animation":r,"data-target":o,id:s,className:c},l.createElement("div",{className:"popup-content"},!!t&&l.createElement("div",{className:"close-button",onClick:n},t),i)),jt={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"};var Zt="uJQBNNg",$t="TfG3dM5",Vt="aMtjFNf",Ft="cSz2RR-",It="GyFm00F";function Dt({userInfo:e,onClickMyProfileButton:t,themeName:a="helloSites"}){const{t:n}=We(),r=i((()=>{const t=(null==e?void 0:e.name)||(null==e?void 0:e.username);return t&&t.length?t[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return l.createElement("div",{className:Zt,onClick:()=>{t&&t()}},l.createElement(ct,{className:$t,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:r,backgroundColor:"marryBaby"===a?et.mbColors.pink:et.colors.secondaryBase}),l.createElement("div",{className:Vt},l.createElement("div",{className:Ft},(null==e?void 0:e.name)||(null==e?void 0:e.username)),l.createElement("div",{className:It,style:{"--bg-hellosites":`url(${m.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg")})`,"--bg-marrybaby":`url(${m.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg")})`}},n("userProfile.nav.header.viewProfile"))))}var zt="gn6HmGG",Gt="FCx8FEM",Wt="zMiRxaE",qt="lZ2Z9MQ",Kt="rwm-agG",Qt="qMOscoq";const Yt=({themeName:e,locale:t,onClickItem:n})=>{const[r,o]=a(""),s=i((()=>"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:m.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:m.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:m.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:m.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]),[e]);function c(e){e.subMenu?o((t=>t?"":e.key)):n&&n(e)}return l.createElement("div",{className:zt},s.map((e=>l.createElement(Jt,{key:e.key,item:e,openKey:r,onClickItem:c,locale:t}))))},Jt=({item:e,openKey:t,onClickItem:a,locale:n})=>{var i;const{t:r}=We();return(null===(i=e.disableLocale)||void 0===i?void 0:i.includes(n))?null:l.createElement("div",{className:`${Gt} nav-menu-item`,"data-is-open":t===e.key,key:e.key,"data-has-submenu":!!e.subMenu},l.createElement("div",{className:Wt,onClick:()=>a(e)},e.icon&&l.createElement("div",{className:qt,style:{backgroundImage:`url("${e.icon}")`}}),r(e.key),e.subMenu&&l.createElement("div",{className:Kt,style:{"--after-bg":`url(${m.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg")})`}})),e.subMenu&&l.createElement("div",{className:Qt},e.subMenu.map((e=>l.createElement(Jt,{key:e.key,item:e,openKey:t,onClickItem:a,locale:n})))))};var Xt="-AZt1au",el="IvSIfCI",tl="eahCJov",ll="XIyViFs",al="_4y-O0w3",nl="kO8iNgD",il="a1d4E10",rl="Tdguxxf",ol="-mOxsaU",sl="yPeDBNZ";const cl={helloSites:{member:()=>m.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>m.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>m.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>m.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>m.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>m.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>m.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>m.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>m.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>m.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},ml=({themeName:e,rank:t="member",numberOfPosts:a=0})=>{const{t:n}=We(),r=i((()=>{var l,a;return(null===(a=null===(l=cl[e])||void 0===l?void 0:l[t])||void 0===a?void 0:a.call(l))||""}),[t,e]);return l.createElement("div",{className:al,"data-user-rank":t},l.createElement("div",{className:nl},l.createElement("div",{className:il},l.createElement("div",{className:rl,style:{backgroundImage:`url("${r}")`}}),l.createElement("h3",{className:ol},n(`userProfile.userRank.${t}`)),a>0&&l.createElement("p",{className:sl},a," ",n("userProfile.nav.header.count.posts")))))},dl=e=>{var t,l,a,n;return e?{termId:e.term_id||null,sponsor:e.sponsor?(n=e.sponsor,n?{title:n.title,logo:n.logo,link:n.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((e=>dl(e))))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(l=e.cat_parent)||void 0===l?void 0:l.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(a=e.reviewed_by,{postTitle:a.post_title,permalink:a.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>(e=>({title:e.title,content:e.content}))(e))):null}:{}},hl=e=>{var t,l;if(!e)return{};const a=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),n=null===(l=e.link)||void 0===l?void 0:l.startsWith("/fil/"),i=e.link?e.link.startsWith("http")||a?e.link:n?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):`/health-tools${e.link.replace("/health-tools/","/")}`:void 0;return{icon:e.icon,link:i,subtitle:e.subtitle,title:e.title}},ul=e=>e?{thumbnail:e.thumbnail,link:null==e?void 0:e.slug,subtitle:e.name,name:e.name,slug:e.slug}:{},gl=e=>e?{id:e.id,name:e.name,logo:null==e?void 0:e.logo,description:e.about,slug:e.slug}:{},pl=({type:e,specialtySlug:t,locale:l})=>{var a,n;return`${null===(a=nt[l])||void 0===a?void 0:a.ALL}/${(null===(n=nt[l])||void 0===n?void 0:n[e])||"doctor"}/${null!=t?t:""}`},vl=e=>e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{},El=e=>{const t=new Date;if(null==e?void 0:e.startDate){const l=new Date(e.startDate);if(t.getTime()<l.getTime())return!1}if(null==e?void 0:e.endDate){const l=new Date(e.endDate);if(t.getTime()>l.getTime())return!1}return!0},fl=({SSO_URL:e,UP_BASEPATH:t="user",themeName:r="helloSites",cardUrls:o=jt,enableCare:s,enableTogether:c,enableEcom:d,userInfo:h,togetherApiDomain:u,userPostsNumber:g,onClickNavigationCard:p,onClickMyProfileButton:v,onClickMenuItem:E,onClickLogout:f,isUserProfileNavigatorMenuHidden:y=!1,isMyHealthEnabled:b=!1,locale:C})=>{const{t:k}=We(),[M,P]=a(g||0),H="marryBaby"===r;n((()=>{if(h&&void 0===g){const e=tt("hhg_user_token");e&&fetch(je(((e,t,l,a)=>(l||"https://together.hellohealthgroup.com/")+"api/v1/"+it(w.GET_USER_POSTS,Object.assign(Object.assign({},a),{websiteUrl:t?"https://marrybaby.vn":`https://${Te[e]}`})))(C,H,u)),{headers:{Authorization:`Bearer ${e}`}}).then((e=>e.json())).then((e=>{var t,l,a;1===(null==e?void 0:e.status)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.pagination)&&P((null===(a=null===(l=null==e?void 0:e.data)||void 0===l?void 0:l.pagination)||void 0===a?void 0:a.total_items)||0)})).catch((e=>console.error("Error fetching post number",e)))}}),[C,null!==h,g,u,H]);const N=i((()=>{let e;return e=H?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"],e.filter((e=>"myBooking"===e?s:"myCommunity"===e?c:"myHealth"===e?b:"eCom"!==e||d))}),[H,b]),x=i((()=>"marryBaby"===r?null:l.createElement(Xe,{color:"tertiary",icon:l.createElement("img",{src:m.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15}),size:"md",onClick:f,className:ll},k("userProfile.nav.menu.logout"))),[r]),A=l=>{window.location.href=je(`${e}${t}/${l}`)},B=e=>{const t=o[e];p?p(t):A(t)};return h?l.createElement("div",{className:Xt,"data-theme":r},l.createElement(Dt,{userInfo:h,themeName:r,onClickMyProfileButton:()=>{v?v():A("profile")}}),l.createElement(ml,{themeName:r,rank:"member",numberOfPosts:M}),l.createElement("div",{className:el},N.map((e=>l.createElement(L,{className:tl,key:e,themeName:r,type:e,onClick:B})))),!y&&l.createElement(l.Fragment,null,l.createElement(Yt,{themeName:r,locale:C,onClickItem:e=>{"logout"===e.link&&f?f():e.link&&!e.subMenu&&(E?E(e.link):A(e.link))}}),x)):null},yl=({SSO_URL:e,UP_BASEPATH:t,isOpen:a,targetAvatar:n,userInfo:i,enableCare:r,enableTogether:o,enableEcom:s,closePopup:c,siteType:m="helloSites",dispatchLogout:d,userProfileRouterPush:h,isUserProfileNavigatorMenuHidden:u,isMyHealthEnabled:g=!1,togetherApiDomain:p,locale:v})=>{const E=l=>{h?h(`/${l}`):e&&(window.location.href=je(`${e}${t}/${l}`))},f=e=>{E(e),c()};return l.createElement(Ut,{isOpen:a,type:"profile",enableAnimation:!0,targetAvatar:n,onClose:c},l.createElement(fl,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:i,enableCare:r,enableTogether:o,enableEcom:s,onClickLogout:()=>{d&&(d(),c())},onClickMenuItem:f,onClickNavigationCard:f,onClickMyProfileButton:()=>{E("profile"),c()},isUserProfileNavigatorMenuHidden:u,isMyHealthEnabled:g,togetherApiDomain:p,locale:v}))},wl=({openLogoutPopup:e,onCloseHandler:t,onLogoutHandler:a,siteType:i="helloSites"})=>{const{t:r}=We();return n((()=>{document.body.classList.toggle("noscroll",e)}),[e]),l.createElement(lt,null,l.createElement(Ie,{type:"confirm",isOpen:e,closeIcon:l.createElement("img",{src:m.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon"}),onClose:t},l.createElement(b,null,"helloSites"===i&&l.createElement("img",{src:m.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account"}),l.createElement("h2",null,r("helloSites"===i?"logout.popup.ask1":"logout.popup.ask.mb")),l.createElement("p",null,r("logout.popup.ask2")),l.createElement(C,{siteType:i},l.createElement(Xe,{className:"logout-button",color:"tertiary",size:"lg",onClick:a},r("logout.popup.button.logout")),l.createElement(Xe,{className:"cancel-button",color:"primary",size:"lg",onClick:t},r("logout.popup.button.cancel"))))))},Ll=({userInfo:e,siteType:i,onLoginClick:r,SSO_URL:o,currentUrl:s,isMinifyLogin:c,enableCare:d,enableTogether:h,enableEcom:u,isUserProfileNavigatorMenuHidden:g,UP_BASEPATH:p,isMyHealthEnabled:v,togetherApiDomain:E,onLogout:f,style:y,userProfileRouterPush:w,isLoading:L,locale:b})=>{const{t:C}=We(),[H,N]=a(!1),x=(null==e?void 0:e.name)||(null==e?void 0:e.username),[A,B]=a(!1);n((()=>{B(!0)}),[]);const{containerRef:T,onContainerFocus:_,onContainerBlur:R,onButtonMouseDown:O,onClose:S}=St();return L?l.createElement(Xe,{size:"sm",color:"transparent",isLoading:!0}):(null==e?void 0:e.id)?l.createElement(l.Fragment,null,l.createElement(k,{ref:T,style:y,tabIndex:0,onBlur:R,onFocus:_},l.createElement("div",{onMouseDown:O},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),l.createElement(ct,{type:"rounded",size:"medium",className:"user-avatar",avatarUrl:null==e?void 0:e.avatar,firstLetter:x&&x.length?x[0].toUpperCase():"A",backgroundColor:"marryBaby"===i?et.mbColors.pink:et.colors.secondaryBase})),l.createElement(yl,{UP_BASEPATH:p,SSO_URL:o,dispatchLogout:()=>{S(),N(!0)},isOpen:!1,isMyHealthEnabled:v,enableCare:d,enableTogether:h,enableEcom:u,closePopup:S,userInfo:e,siteType:i,isUserProfileNavigatorMenuHidden:g,togetherApiDomain:E,userProfileRouterPush:w,locale:b})),l.createElement(wl,{openLogoutPopup:H,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),N(!1)},siteType:i,onLogoutHandler:()=>t(void 0,void 0,void 0,(function*(){N(!1),document.body.classList.toggle("noscroll",!1),yield f()}))})):l.createElement(M,{style:Object.assign({textDecoration:"none"},y),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":s,href:A?void 0:je(`${o}?returnUrl=${s}`),"data-site-type":i},c?l.createElement(P,{onClick:r},l.createElement("img",{src:m.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):l.createElement(l.Fragment,null,"helloSites"===i&&l.createElement("img",{className:"mobile-only",src:m.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:r}),"marryBaby"===i&&l.createElement("div",{className:"mobile-only",onClick:r,style:{paddingLeft:16}},l.createElement(Be,{size:"p3",color:et.mbColors.pink},C("navigation.loginJoin"))),l.createElement(Xe,{className:"login-btn",size:"md",color:"tertiary",onClick:r,icon:l.createElement("img",{src:m.getAssetPath("login.svg"),width:18,height:18}),theme:i},C("navigation.loginJoin"))))};var bl="spdlGfq",Cl="vgS16jX";const kl=({onCareHeaderClick:e,currentUrl:t,careUrlFe:a,btnName:n})=>e?l.createElement(Xe,{className:bl,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:t=>e(t)},n):l.createElement("a",{href:a,className:`${Cl} care-button no-replace-click`},l.createElement(Xe,{className:bl,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},n));var Ml="y5VJdvw",Pl="oVhOSCy",Hl="pX8OXTM";function Nl({className:e}){return l.createElement("div",null,l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function xl({siteType:e,type:t,enableSearch:a,className:n}){return"helloSites"===e?l.createElement("div",null,l.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:a?m.getAssetPath("hamburgerMenuNewWithSearch.svg"):m.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:t,className:n})):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}const Al=()=>{const{locale:e,configs:{statics:t},siteType:a}=o(H),{t:n}=We();return l.createElement(Ye,{className:"fake-search-input",name:"search-input-menu-service",size:"md",placeholder:"marryBaby"===a?n("navigation.search.input.placeholder"):n("home.search",{site:_e[e||"en-PH"]?_e[e||"en-PH"].SITE_NAME:""}),onChange:()=>{},onKeyDown:e=>"Enter"===e.key&&(window.location.href=`${t.HOME_PAGE_URL}/search/?s=${e.target.value}`),type:"search",onFocus:e=>{e.preventDefault()},displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},l.createElement(N,null))})},Bl=({hrefViewMore:e,titleBtnViewMore:t,UrlFE:a,onClosePopup:n,menuItems:i,headingTitle:r})=>{const{siteType:s}=o(H);return l.createElement(x,null,l.createElement(A,null,l.createElement(Je,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},r)),null==i?void 0:i.slice(0,6).map(((e,t)=>{const i=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:`${a}/${null==e?void 0:e.link.split("/").filter(Boolean).join("/")}/`:"/";return l.createElement(B,{className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":i,"data-is-heading-category":!1,href:i,"data-theme":s,key:t,onClick:n},l.createElement("div",{className:"icon"},l.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32}})),l.createElement("p",null,e.name),l.createElement(T,null,l.createElement("img",{src:m.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"}})))})),t&&l.createElement(_,{"data-theme":s,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},l.createElement(R,{onClick:n,"data-theme":s,"data-is-heading-category":!1},t,l.createElement(O,null,l.createElement("img",{className:"svg",src:"marryBaby"===s?m.getAssetPath("chevronRightPink.svg"):m.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}})))))},Tl=({item:e,index:t=0})=>{var a;const{t:n}=We(),{locale:i,configs:{statics:r}}=o(H);if(!e)return null;const s=`${r.CARE_URL_FE}/${null===(a=nt[i])||void 0===a?void 0:a.HOSPITAL}/${e.slug}-${e.id}`;return l.createElement(S,{key:e.id,href:s,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${t+1}`,"data-event-label":s},l.createElement("img",{src:m.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),l.createElement(U,null,l.createElement(j,null,l.createElement("img",{loading:"lazy",alt:e.name,src:e.logo||"/images/avatar.jpg"}))),l.createElement(Z,null,l.createElement($,null,e.name),l.createElement(V,null,e.description),l.createElement(F,null,n("home.seeMore"),l.createElement("img",{src:m.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))))},_l=({title:e,link:t,description:a,cta:n,icon:i})=>{const{siteType:r}=o(H);return l.createElement(I,{"data-theme":r},l.createElement(D,null,l.createElement("img",{src:"marryBaby"===r?m.getAssetPath("navMBSpotlightBgNoData.svg"):m.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),l.createElement(z,null,i&&l.createElement("img",{src:i,width:64,height:64}))),l.createElement("div",null,e&&l.createElement(G,null,e),a&&l.createElement(W,null,a),n&&l.createElement("div",null,l.createElement("a",{href:t},l.createElement(Xe,{theme:r,className:"survey-contact-submit",size:"md"},n)))))},Rl=({title:e,viewMore:t,children:a,link:n,dataEventAction:i=""})=>{const{siteType:r}=o(H);return l.createElement(q,null,l.createElement(K,null,l.createElement(Je,{tag:"marryBaby"===r?"h5":"h6",as:"h2",fontWeight:"semibold"},e),t&&l.createElement(Q,{"data-event-category":"Hamburger Navigation","data-event-action":i,"data-event-label":n,href:n,"data-theme":r},t,l.createElement("img",{src:"marryBaby"===r?m.getAssetPath("chevronRightPink.svg"):m.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}}))),a)},Ol=({spotlights:e=[],hrefViewMore:t})=>{const{t:a}=We();return l.createElement(Rl,{title:a("home.navigator.menu.spotlightHospitals")},0!==e.length?l.createElement(Y,null,null==e?void 0:e.slice(0,3).map(((e,t)=>l.createElement(Tl,{key:t,index:t,item:e})))):l.createElement(_l,{title:a("home.navigator.menu.care.noDatas.title"),description:a("home.navigator.menu.care.noDatas.description"),link:t,cta:a("home.navigator.menu.care.noDatas.cta"),icon:m.getAssetPath("community.svg")}))},Sl=({item:e,index:t=0})=>e?l.createElement(J,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":`Spotlight Click ${t+1}`,"data-event-label":e.link},l.createElement(X,null,l.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),l.createElement(ee,null,e.title)):null,Ul=({spotlightsList:e=[],hrefViewMore:t})=>{const{t:a}=We(),{configs:{statics:n}}=o(H);return l.createElement(Rl,{title:a("home.navigator.menu.spotlights"),viewMore:a("home.navigator.menu.spotlights.seeAll"),link:t,dataEventAction:"Spotlight See More Click"},0!==e.length?l.createElement(te,null,null==e?void 0:e.slice(0,4).map(((e,t)=>l.createElement(Sl,{key:t,index:t,item:{id:e.id,link:n.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})))):l.createElement(_l,{title:a("home.navigator.menu.category.noDatas.title"),description:a("home.navigator.menu.category.noDatas.description"),link:t,cta:a("home.navigator.menu.category.noDatas.cta"),icon:m.getAssetPath("Spotlight.svg")}))},jl=({spotlights:e=[]})=>{const{configs:{statics:t}}=o(H),{t:a}=We();return l.createElement(Rl,{title:a("home.navigator.menu.trendingPosts"),viewMore:a("home.navigator.menu.trendingPosts.seeMore"),link:Ze(t.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==e.length?l.createElement(le,null,null==e?void 0:e.slice(0,4).map(((e,t)=>l.createElement(ae,{index:t,post:e,key:e.id})))):l.createElement(_l,{title:a("home.navigator.menu.together.noPosts.title"),description:a("home.navigator.menu.together.noPosts.description"),link:`${t.HOME_PAGE_URL}/community/`,cta:a("home.navigator.menu.together.noPosts.cta"),icon:m.getAssetPath("community.svg")}))},Zl=({item:e,index:t=0})=>{const{t:a}=We(),{configs:{statics:n}}=o(H);if(!e)return null;const i=e.link?e.link.startsWith("http")?e.link:`${n.HOME_PAGE_URL}${e.link}`:void 0;return l.createElement(ne,{href:i,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${t+1}`,"data-event-label":i},l.createElement("img",{src:m.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),l.createElement(ie,null,l.createElement(re,null,e.title),l.createElement(oe,null,e.subtitle),l.createElement(se,null,a("home.seeMore"),l.createElement("img",{src:m.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))),l.createElement(ce,null,l.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},$l=({item:e,index:t=0,color:a})=>{const{t:n}=We(),{configs:{statics:i}}=o(H);if(!e)return null;const r=e.link?e.link.startsWith("http")?e.link:`${i.HOME_PAGE_URL}${e.link}`:void 0,s=()=>l.createElement(he,null,l.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})),c=()=>l.createElement(ue,null,l.createElement(ge,null,l.createElement(pe,null,e.title),l.createElement(ve,null,e.subtitle)),l.createElement(Ee,null,l.createElement("div",{className:"mobile-only"},n("home.seeMore")),l.createElement("img",{src:m.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"}})));return l.createElement(me,{href:r,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${t+1}`,"data-event-label":r,"data-color":a},l.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),l.createElement("img",{src:m.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),l.createElement(de,null,l.createElement("div",{className:"mobile-only"},s()),l.createElement("div",{className:"desktop-only"},c())),l.createElement("div",{className:"mobile-only"},c()),l.createElement("div",{className:"desktop-only"},s()))},Vl=({hrefViewMore:e,spotlightHealthTools:t=[]})=>{const{t:a}=We(),n=["pink","orange","green"],{siteType:i}=o(H);return l.createElement(Rl,{title:a("home.navigator.menu.spotlightTools")},0!==t.length&&l.createElement(fe,null,null==t?void 0:t.slice(0,3).map(((e,t)=>"marryBaby"===i?l.createElement($l,{key:t,index:t,item:e,color:n[t]}):l.createElement(Zl,{key:t,index:t,item:e})))),0===t.length&&l.createElement(_l,{title:a("home.navigator.menu.healthTools.noDatas.title"),description:a("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:a("home.navigator.menu.healthTools.noDatas.cta"),icon:m.getAssetPath("community.svg")}))},Fl=({closePopup:e,menuItems:t=[]})=>{var a,n;const{siteType:i,ssrMenuContent:{categories:r,healthTools:s,care:c,together:m},activeMenuService:d,configs:{statics:h,enableSearchBar:u},locale:g}=o(H),{t:p}=We();return l.createElement(ye,{id:"categories-menu"},u?l.createElement(we,{"data-theme":i,onClick:()=>{window.location.href=`${h.HOME_PAGE_URL}/search`}},l.createElement(Al,null)):null,l.createElement(Le,null,l.createElement(Bl,{UrlFE:h.HOME_PAGE_URL,titleBtnViewMore:p("home.navigator.menuItem.allCategories"),menuItems:t,headingTitle:p("home.navigator.menuItem.healthCategories"),onClosePopup:e}),"categories"===d&&l.createElement(Ul,{spotlightsList:(null==r?void 0:r.spotlights)||[],hrefViewMore:`${h.HOME_PAGE_URL}${"tl-PH"===g?"/fil":""}/spotlight/`}),"tools"===d&&l.createElement(Vl,{spotlightHealthTools:null==s?void 0:s.spotlights,hrefViewMore:`${h.HOME_PAGE_URL}${"tl-PH"===g?"/fil":""}${(null===(a=Re[g])||void 0===a?void 0:a.HEALTH_TOOLS)||""}`}),"care"===d&&l.createElement(Ol,{spotlights:null==c?void 0:c.spotlights,hrefViewMore:`${h.CARE_URL_FE}/${null===(n=nt[g])||void 0===n?void 0:n.SPECIALTIES}`}),"together"===d&&l.createElement(jl,{spotlights:null==m?void 0:m.spotlights})))},Il=({type:e="home",menuItems:t})=>{const{siteType:a,configs:{enableSearchBar:n}}=o(H),{containerRef:i,onContainerFocus:r,onContainerBlur:s,onButtonMouseDown:c,onClose:m}=St();return l.createElement(Ot,{mediaQueryKey:"mbDown"},l.createElement("header",{className:Ml},l.createElement("div",{className:Pl,ref:i,role:"button",tabIndex:0,onBlur:s,onFocus:r},l.createElement("div",{className:Hl,onMouseDown:c,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},l.createElement(Nl,{className:"mobile-close-icon"}),l.createElement(xl,{siteType:a,type:e,enableSearch:n,className:"mobile-hamburger-icon"})),l.createElement(Fl,{menuItems:t,closePopup:m}))))};var Dl="wnUb-dV",zl="cjbOxWe";const Gl=({item:e,menu:t})=>{const{containerRef:a,onContainerFocus:n,onContainerBlur:i,onButtonMouseDown:r,onClose:o}=St({allowBgScroll:!0}),s=rt();return!e.popupType&&e.link?l.createElement("a",{className:"hhgcomp-navigation-itemnav-headeritem "+(s?"":`menu-handler-${e.id}`),tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},l.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:zl},e.name)):l.createElement("div",{ref:a,className:"hhgcomp-navigation-itemnav-headeritem "+(s?"":`menu-handler-${e.id}`),tabIndex:0,key:e.id,onBlur:i,onFocus:n,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},l.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:r,className:zl},e.name,e.popupType&&l.createElement("div",{className:Dl},l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),l.isValidElement(t)?l.cloneElement(t,{onClose:o}):null)};var Wl="q3nL5cp",ql="_2DNf80G",Kl="Q-glX-n";const Ql=({onClosePopup:e})=>l.createElement("div",{className:`${Kl} close-btn`,onClick:e},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),Yl=({onClosePopup:e,isDisplay:t,children:a,isNavMenu:n,hideCloseBtn:i})=>l.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!n},l.createElement(at,null,!i&&l.createElement("div",{className:ql},l.createElement(Ql,{onClosePopup:e})),l.createElement(at,{className:Wl},a))),Jl=({careSpecialties:e=[],isOpen:t,onClose:a,spotlights:n=[]})=>{var i;const{t:r}=We(),{locale:s,configs:{statics:c}}=o(H),m=`${c.CARE_URL_FE}/${null===(i=nt[s])||void 0===i?void 0:i.SPECIALTIES}`;return l.createElement(Yl,{onClosePopup:a,isDisplay:t,isNavMenu:!0},l.createElement(Bl,{headingTitle:r("home.navigator.menuItem.specialties"),hrefViewMore:m,UrlFE:c.CARE_URL_FE,onClosePopup:a,titleBtnViewMore:r("home.navigator.menuItem.allSpecialties"),menuItems:(null==e?void 0:e.map((e=>e?{name:String(e.name)||"",link:pl({type:"DOCTOR",specialtySlug:e.slug,locale:s}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{})))||[]}),l.createElement(Ol,{spotlights:n,hrefViewMore:m}))},Xl=({categories:e=[],spotlightsList:t=[],onClose:a,isOpen:n})=>{const{t:i}=We(),{locale:r,configs:{statics:s}}=o(H);return l.createElement(Yl,{onClosePopup:a,isDisplay:n,isNavMenu:!0},l.createElement(Bl,{hrefViewMore:`${s.HOME_PAGE_URL}${"tl-PH"===r?"/fil":""}/categories/`,UrlFE:s.HOME_PAGE_URL,onClosePopup:a,titleBtnViewMore:i("home.navigator.menuItem.allCategories"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.displayName||null,link:(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{})))||[],headingTitle:i("home.navigator.menuItem.healthCategories")}),l.createElement(Ul,{spotlightsList:t,hrefViewMore:`${s.HOME_PAGE_URL}${"tl-PH"===r?"/fil":""}/spotlight/`}))},ea=({communities:e=[],onClose:t,isOpen:a,spotlights:n=[]})=>{const{t:i}=We(),{configs:{statics:r}}=o(H);return l.createElement(Yl,{onClosePopup:t,isDisplay:a,isNavMenu:!0},l.createElement(Bl,{hrefViewMore:Ze(r.TOGETHER_URL_FE),UrlFE:je(r.TOGETHER_URL_FE),onClosePopup:t,titleBtnViewMore:i("home.navigator.menuItem.allCommunities"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{})))||[],headingTitle:i("home.navigator.menuItem.allCommunitiesheadingTitle")}),l.createElement(jl,{spotlights:n}))},ta=({locale:e,onClose:t,isOpen:a,spotlightHealthTools:n=[],healthTools:i=[]})=>{var r;const{t:s}=We(),{configs:{statics:c}}=o(H),m=`${c.HOME_PAGE_URL}${"tl-PH"===e?"/fil":""}${(null===(r=Re[e])||void 0===r?void 0:r.HEALTH_TOOLS)||""}`;return l.createElement(Yl,{onClosePopup:t,isDisplay:a,isNavMenu:!0},l.createElement(Bl,{hrefViewMore:m,UrlFE:c.HOME_PAGE_URL,onClosePopup:t,headingTitle:s("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:s("home.navigator.menuItem.allHealthTools"),menuItems:i.map((e=>({name:e.title,link:e.link?e.link.startsWith("http")?e.link:`${c.HOME_PAGE_URL}${e.link}`:void 0,thumbnail:e.icon})))}),l.createElement(Vl,{spotlightHealthTools:n,hrefViewMore:m}))},la=({onTopBarAppears:e,type:t="home",languageMenu:i,menuItems:c})=>{var d;const{siteType:h,isMobile:u=!1,locale:g,sitewideBanner:p,sitewideBannerShown:v=!0,sponsorComponent:E,onBookingClick:f,currentUrl:y,onLoginClick:w,configs:{statics:L,enableNavCareBooking:b,enableSearchBar:C,enableNavCare:k,enableProfileMyHealth:M,enableNavTogether:P,enableProfileEcom:N,enableProfileNavigatorMenu:x},userState:{userInfo:A},onLogout:B,userProfileRouterPush:T,isUserLoading:_}=o(H),{t:R}=We(),{SSO_URL:O,HOME_PAGE_URL:S}=L,U=!!E,[j,Z]=a(!1),$=r(47),V=r(null),F=r(!1),I="helloSites"===h?null===(d=_e[g])||void 0===d?void 0:d.LOGO_TYPE:h,D="undefined"!=typeof window,z=s(qe((()=>{if("home"===t&&D){if(!V.current)return;const e=V.current.getBoundingClientRect();e.top<=0&&window.scrollY>$.current&&window.scrollY>e.height+20&&!F.current&&(F.current=!0,Z(!0)),window.scrollY<$.current&&F.current&&(F.current=!1,Z(!1)),window.scrollY>=0&&($.current=window.scrollY)}}),200),[]);n((()=>{null==e||e(!j)}),[j]),n((()=>(window.addEventListener("scroll",z,{passive:!0}),()=>{window.removeEventListener("scroll",z)})),[]),n((()=>{u&&z()}),[u]);const G=v&&!!p;return l.createElement(be,{"data-site-type":h,"data-sponsored":U,"data-sitewide-banner-shown":G,"data-header-type":t,"data-collapsed":j,"data-with-search-input":"popup-sub-level"!==t,"data-is-displayed":!0,id:"site-header",ref:V},p,l.createElement(Ce,{"data-site-type":h},l.createElement(ke,{"data-site-type":h},l.createElement(Il,{menuItems:c,type:t}),l.createElement("a",{href:S},l.createElement(Me,null,l.createElement(Ge,{style:{display:"flex"},type:I,badge:"id-ID"===g&&l.createElement("img",{src:m.getAssetPath("sehat-badge.png"),width:"56",height:"23"}),dateForSeasonal:new Date,locale:g,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===h?l.createElement(na,{menuItems:c}):C&&l.createElement(aa,{siteType:h})),l.createElement(Pe,{"data-site-type":h},"marryBaby"===h?C&&l.createElement(aa,{siteType:h}):l.createElement(na,{menuItems:c}),l.createElement(He,null,b&&l.createElement(Ot,{mediaQueryKey:"mbUp"},l.createElement(kl,{careUrlFe:L.CARE_URL_FE,currentUrl:y,btnName:R("login.booking"),onCareHeaderClick:f})),i,l.createElement(Ll,{userInfo:A,siteType:h,onLoginClick:w||(()=>{const e=window.location.href;window.location.href=O?je(`${O}?returnUrl=${e}`):e}),SSO_URL:Ze(L.SSO_URL),currentUrl:y,onLogout:B,UP_BASEPATH:Oe,isMyHealthEnabled:M,enableCare:k,enableTogether:P,enableEcom:N,togetherApiDomain:Ze(L.TOGETHER_API),isUserProfileNavigatorMenuHidden:!x,userProfileRouterPush:T,isLoading:_,locale:g})))),E?l.isValidElement(E)?l.cloneElement(E,{isCollapsed:j,locale:g,isMobile:u}):E:null)},aa=({siteType:e})=>l.createElement(Ot,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},l.createElement(Al,null)),na=({menuItems:e})=>{const{siteType:t,locale:a,ssrMenuContent:{categories:n,healthTools:i,care:r,together:s}}=o(H);return l.createElement(Ot,{mediaQueryKey:"mbUp",style:{height:"100%"}},l.createElement(Ne,{"data-site-type":t},null==e?void 0:e.map(((e,t)=>l.createElement(Gl,{key:t,item:e,menu:"categories"===e.popupType?l.createElement(Xl,{categories:null==n?void 0:n.items,spotlightsList:null==n?void 0:n.spotlights}):"tools"===e.popupType?l.createElement(ta,{locale:a,healthTools:null==i?void 0:i.items,spotlightHealthTools:null==i?void 0:i.spotlights}):"together"===e.popupType?l.createElement(ea,{communities:null==s?void 0:s.items,spotlights:null==s?void 0:s.spotlights}):"care"===e.popupType?l.createElement(Jl,{careSpecialties:null==r?void 0:r.items,spotlights:null==r?void 0:r.spotlights}):null})))))},ia=e=>{var t,c;const{isMobile:d,locale:h,onTopBarAppears:u,languageOptions:g,sponsorComponent:p,sitewideBanner:v,sitewideBannerShown:E,className:f}=e,y=(()=>{const{t:e}=We(),{siteType:t,locale:l,configs:{enableNavCare:a,enableNavTogether:n,enableNavEcom:r,statics:s}}=o(H),c="marryBaby"===t;return i((()=>{var t;const i=[{name:e("home.navigator.menuItem.discover"),id:"categories",link:`${s.HOME_PAGE_URL}${"tl-PH"===l?"/fil":""}/categories`,niceName:"",thumbnail:c?m.getAssetPath("categories-mb.svg"):m.getAssetPath("discover.png"),popupType:"categories"},{name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${s.HOME_PAGE_URL}${"tl-PH"===l?"/fil":""}${(null===(t=Re[l])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:c?m.getAssetPath("healthtools-mb.svg"):m.getAssetPath("healthTools.png"),popupType:"tools"}];return a&&i.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:je(s.HOME_PAGE_URL+"/care"),thumbnail:m.getAssetPath("helloCare-thumbnail.png"),popupType:"zh-TW"===l?null:"care"}),n&&i.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:je(s.TOGETHER_URL_FE+"/"),thumbnail:c?m.getAssetPath("community-mb.svg"):m.getAssetPath("together.png"),popupType:"together"}),r&&i.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:je(s.HOME_PAGE_URL+"/ecom"),thumbnail:m.getAssetPath("helloCare-thumbnail.png"),popupType:"shop"}),i}),[l,a,n,r])})();(()=>{const{isFirstLogin:e,userState:t}=o(H),{userInfo:l}=t;n((()=>{(null==l?void 0:l.id)&&(e?(null==l?void 0:l.email)&&""!==(null==l?void 0:l.email)?window.insider_object={user:Object.assign({uuid:null==l?void 0:l.id,email:null==l?void 0:l.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})}:window.insider_object={user:Object.assign({uuid:null==l?void 0:l.id,sign_up:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})}:(null==l?void 0:l.email)&&""!==(null==l?void 0:l.email)?window.insider_object={user:Object.assign({uuid:null==l?void 0:l.id,email:null==l?void 0:l.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})}:window.insider_object={user:Object.assign({uuid:null==l?void 0:l.id,log_in:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})})}),[])})();const w=E&&!!v,L=!!p,b=!!(null===(c=null===(t=null==p?void 0:p.props)||void 0===t?void 0:t.sponsoredBy)||void 0===c?void 0:c.length),{headerRef:C,defaultHeaderHeight:k,headerHeight:M,headerBottom:P}=(({hasSponsoredBanners:e,isSponsored:t,isShowingSiteWideBanner:l,isMobile:o})=>{const c=r(null),[m,d]=a(0),[h,u]=a(64),g=s(ot((()=>{var e,t,l,a;const n=(null===(e=c.current)||void 0===e?void 0:e.clientHeight)||(null===(l=null===(t=c.current)||void 0===t?void 0:t.children[0])||void 0===l?void 0:l.clientHeight)||0;window.scrollY<=n+200&&(d(n),u((null===(a=c.current)||void 0===a?void 0:a.getBoundingClientRect().bottom)||m))}),200),[]);n((()=>(window.addEventListener("resize",g,{passive:!0}),window.addEventListener("scroll",g,{passive:!0}),g(),()=>{window.removeEventListener("resize",g),window.removeEventListener("scroll",g)})),[]),n((()=>{g()}),[o,l,t,e,c.current]);const p=i((()=>{let a=o?64:69;return l&&(a+=64),t&&(a+=40,e&&(a+=57)),a}),[o,l,e,t]);return{defaultHeaderHeight:p,headerHeight:m||p,headerBottom:h,headerRef:c}})({isShowingSiteWideBanner:w,isSponsored:L,hasSponsoredBanners:b,isMobile:d});return l.createElement(Ae,{id:"navigation-v2",style:{"--default-header-height":k+"px","--header-height":`calc(${M}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":P+"px"},className:f},l.createElement("section",{ref:C},l.createElement(la,{menuItems:y,type:"home",onTopBarAppears:u,languageMenu:l.createElement(_t,{languageOptions:g,locale:h})})))},ra=e=>{const t=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return l.createElement(xe,Object.assign({},t),l.createElement(ia,Object.assign({},t)))},oa=e=>t(void 0,void 0,void 0,(function*(){var t,l,a,n,i,r,o,s,c,m,d,h,u,g,p,v,E,f,y,w,L;const b={},C="vi-VN_MB"===e;try{const k="tl-PH"===e?"lang=fil":"";try{const[d,h,u,g]=yield Promise.all([fetch(je(`${$e(e)}/wp-json/api/categories${k?"?"+k:""}`)).then((e=>e.json())),fetch(je(`${$e(e)}/wp-json/api/spotlights?per_page=10&order_by=start_date${k?"&"+k:""}`)).then((e=>e.json())),fetch(je(`${$e(e)}/wp-json/api/${C?"health-tools":"healthtools"}${k?"?"+k:""}`)).then((e=>e.json())),fetch(je(`${$e(e)}/wp-json/api/${C?"health-tools":"healthtools"}/favorites${k?"?"+k:""}`)).then((e=>e.json()))]);b.categories={items:(null===(l=null===(t=null==d?void 0:d.data)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,dl))||[],spotlights:(null===(r=null===(i=null===(n=null===(a=null==h?void 0:h.data)||void 0===a?void 0:a.articles)||void 0===n?void 0:n.map)||void 0===i?void 0:i.call(n,vl))||void 0===r?void 0:r.filter(El))||[]},b.healthTools={items:(null===(s=null===(o=null==u?void 0:u.data)||void 0===o?void 0:o.map)||void 0===s?void 0:s.call(o,hl))||[],spotlights:(null===(m=null===(c=null==g?void 0:g.data)||void 0===c?void 0:c.map)||void 0===m?void 0:m.call(c,hl))||[]}}catch(e){}if(C||Se.includes(e))try{const[t,l]=yield Promise.all([fetch(je(`${Ve()}/api/v1/community?website_url=https://${Te[e]}`)).then((e=>e.json())),fetch(je(`${Ve()}/api/v1/options?website_url=https://${Te[e]}&meta_key=popular_post`)).then((e=>e.json()))]);b.together={items:(null===(u=null===(h=null===(d=null==t?void 0:t.data)||void 0===d?void 0:d.communities)||void 0===h?void 0:h.map)||void 0===u?void 0:u.call(h,De))||[],spotlights:(null===(v=null===(p=null===(g=null==l?void 0:l.data)||void 0===g?void 0:g.posts)||void 0===p?void 0:p.map)||void 0===v?void 0:v.call(p,ze))||[]}}catch(e){}if(Ue.includes(e))try{const[t,l]=yield Promise.all([fetch(je(Fe()+`/api/specialties?_ishome=1&site=${Te[e]}`)).then((e=>e.json())),fetch(je(Fe()+`/api/search/?site=${Te[e]}&type=hospital&order_by=total_doctor`)).then((e=>e.json()))]);b.care={items:(null===(y=null===(f=null===(E=null==t?void 0:t._data)||void 0===E?void 0:E.specialties)||void 0===f?void 0:f.map)||void 0===y?void 0:y.call(f,ul))||[],spotlights:(null===(L=null===(w=null==l?void 0:l._data.searches)||void 0===w?void 0:w.map)||void 0===L?void 0:L.call(w,gl))||[]}}catch(e){}}catch(e){console.error(e)}return b})),sa=e=>t(void 0,void 0,void 0,(function*(){return(yield c("nav-menu-content",(()=>oa(e||"en-PH")),(e=>{var t,l;return!!(null===(l=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===l?void 0:l.length)})))||{}}));export{ct as A,Bt as F,_t as L,ra as N,yl as P,fl as U,sa as a,Dt as b,ml as c,wl as d,Ll as e,oa as g};
@@ -1,4 +1,4 @@
1
- import{M as t}from"./utils-53d109b3.js";import e from"styled-components";import o,{memo as a,useMemo as s}from"react";import{CommonGAssets as h}from"./gAssets.js";import{L as l}from"./Onboarding-4f0cddc4.js";const r=e.div`
1
+ import{M as t}from"./utils-661f0fab.js";import e from"styled-components";import o,{memo as a,useMemo as s}from"react";import{CommonGAssets as h}from"./gAssets.js";import{L as l}from"./Onboarding-d98b0774.js";const r=e.div`
2
2
  position: relative;
3
3
  display: inline-flex;
4
4
  align-items: center;
@@ -0,0 +1 @@
1
+ import e,{useState as t,useRef as a,useEffect as o}from"react";import{u as d}from"./useTranslations-9c41e6c8.js";import{t as r}from"./theme-d64df125.js";import{ar as c}from"./index.styled-8a25e151.js";import{I as l}from"./index-e0755edc.js";import{I as s}from"./index-ce636090.js";import{M as n}from"./index-4c732e19.js";import{T as m}from"./index-415aa6a6.js";import{u as i}from"./useScrollbarSize-538091d5.js";import{createPortal as h}from"react-dom";import{S as p,a as u,b as y}from"./index-dca34eeb.js";const v=({isActive:t,onChange:a,value:o="",onInputChange:i,siteType:h})=>{const{t:p}=d(),u="marryBaby"===h;return e.createElement(c,{onClick:()=>a("new"),"data-is-mb":u,"data-isActive":u&&t},"marryBaby"===h?e.createElement("div",{className:"title"},e.createElement(n,{type:"bodytext-1",color:r.colors.gray800},p("chooseBaby.new")),e.createElement("div",{className:t?"radio active":"radio"},t&&e.createElement(l.CheckActiveMB,{size:26}))):e.createElement("div",{className:"title"},e.createElement(m,{size:"p2",color:r.colors.gray800},p("chooseBaby.new")),e.createElement("div",{className:t?"radio active":"radio"})),e.createElement(s,{name:"name",value:o,size:"md",placeholder:p("chooseBaby.placeholder"),type:"text",onChange:i}))},b="hhg-modals",g=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},E=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},f=({type:d="lead",closeIcon:r,isOpen:c=!0,onClose:l,children:s,className:n="",animationType:m="slideTop",isStaticBackdrop:v=!1,siteType:f})=>{const[C,N]=t(!1),j=a(null),{width:x}=i();if(!j.current&&C&&(j.current=document.createElement("div")),o((()=>(N(!0),()=>{N(!1),g(),E()})),[]),o((()=>{if(C){const e=(()=>{let e=document.getElementById(b);return e||(e=document.createElement("div"),e.setAttribute("id",b),document.body.append(e)),e})();return e.appendChild(j.current),()=>{e.removeChild(j.current)}}}),[C]),o((()=>{c?document.body.classList.add("hhc-modal-show"):g()}),[c]),o((()=>{c?(document.body.style.overflow="hidden",document.body.style.paddingRight=x+"px",document.body.classList.add("hhc-disabled-scroll")):E()}),[c,x]),!C)return null;const _=["hhg-modal__wrapper",n,m].filter((e=>e)).join(" ");return h(e.createElement(p,{className:_,"data-open":c,"data-type":d},!v&&e.createElement(u,{"data-open":c,onClick:l,"data-type":d}),!v&&"video"===d&&!!r&&e.createElement("div",{className:"hhg-modal__close",onClick:l},r),e.createElement(y,{className:"hhg-modal","data-open":c,"data-site-type":f},e.createElement("div",{className:"video"===d?"hhg-modal__video":"hhg-modal__content"},!!r&&"video"!==d&&e.createElement("div",{className:"hhg-modal__close",onClick:l},r),s))),j.current)};export{f as M,v as N};