@hhgtech/hhg-components 1.23.68 → 1.23.70

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 (260) hide show
  1. package/README.md +2 -0
  2. package/build/{Visible-edadce1d.js → Visible-5bc1b50b.js} +1 -1
  3. package/build/babyGrowth.js +1 -1
  4. package/build/cache.js +1 -1
  5. package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +1 -1
  6. package/build/care.js +1 -1
  7. package/build/components/atoms/errorBoundary.d.ts +15 -0
  8. package/build/components/atoms/input/index.d.ts +2 -1
  9. package/build/components/atoms/inputMB/index.styled.d.ts +1 -1
  10. package/build/components.js +1 -1
  11. package/build/constants.js +1 -1
  12. package/build/{core-11eef941.js → core-efecaf58.js} +1 -1
  13. package/build/{defaultClassWrapper-e5785ae4.js → defaultClassWrapper-16b85ee9.js} +1 -1
  14. package/build/ecom.js +1 -1
  15. package/build/esm/{Visible-5e07735b.js → Visible-f28a0eee.js} +1 -1
  16. package/build/esm/babyGrowth.js +1 -1
  17. package/build/esm/cache.js +1 -1
  18. package/build/esm/care.js +1 -1
  19. package/build/esm/components.js +1 -1
  20. package/build/esm/constants.js +1 -1
  21. package/build/esm/{core-ee0e7ff6.js → core-b0a1c851.js} +1 -1
  22. package/build/esm/{defaultClassWrapper-90fd2040.js → defaultClassWrapper-b3252d64.js} +1 -1
  23. package/build/esm/ecom.js +1 -1
  24. package/build/esm/footer.js +1 -1
  25. package/build/esm/gAssets.js +1 -1
  26. package/build/esm/{getDynamicHealthTool-2f9301e2.js → getDynamicHealthTool-f1ab8772.js} +1 -1
  27. package/build/esm/{getSocialList-ad1e56b6.js → getSocialList-efa0534e.js} +1 -1
  28. package/build/esm/hooks.js +1 -1
  29. package/build/esm/i18n.js +1 -1
  30. package/build/esm/index-0ab09c28.js +1 -0
  31. package/build/esm/{index-4b29d795.js → index-2f307dca.js} +1 -1
  32. package/build/esm/{index-3b4909e3.js → index-3e709a05.js} +1 -1
  33. package/build/esm/index-4b764dd3.js +1 -0
  34. package/build/esm/index-56e05694.js +1 -0
  35. package/build/esm/index-60151673.js +1 -0
  36. package/build/esm/{index-dcfb7fef.js → index-62b8eca0.js} +1 -1
  37. package/build/esm/{index-e410f2d2.js → index-6667c357.js} +1 -1
  38. package/build/esm/{index-88ec3ad2.js → index-8042ada4.js} +1 -1
  39. package/build/esm/{index-fe1c4ff3.js → index-97dadfcb.js} +1 -1
  40. package/build/esm/index-97e95a0e.js +1 -0
  41. package/build/esm/{index-0ae8b9f2.js → index-9a8ea07a.js} +1 -1
  42. package/build/esm/{index-a5266555.js → index-c2d22670.js} +1 -1
  43. package/build/esm/index-daa0a16a.js +1 -0
  44. package/build/esm/{index-b8b9bdf3.js → index-dd729229.js} +1 -1
  45. package/build/esm/{index-bc6c4e88.js → index-e0ba9ff2.js} +1 -1
  46. package/build/esm/{index-a0617326.js → index-ef4b92c6.js} +1 -1
  47. package/build/esm/{index-fed72244.js → index-ff85c851.js} +1 -1
  48. package/build/esm/index.js +1 -1
  49. package/build/esm/{index.styled-7527e862.js → index.styled-3f3de4f4.js} +1 -1
  50. package/build/esm/{index.styled-a2b84cf6.js → index.styled-5143dec4.js} +1 -1
  51. package/build/esm/index.styled-6dd74408.js +1 -0
  52. package/build/esm/{index.styled-1aacb0d5.js → index.styled-797bd393.js} +1 -1
  53. package/build/esm/{index.styled-01d29354.js → index.styled-927ec3a0.js} +1 -1
  54. package/build/esm/{index.styled-2b24612c.js → index.styled-b51c965e.js} +1 -1
  55. package/build/esm/lead.js +1 -1
  56. package/build/esm/mantine.js +1 -1
  57. package/build/esm/misc.js +1 -1
  58. package/build/esm/navigation.js +1 -1
  59. package/build/esm/onboarding.js +1 -1
  60. package/build/esm/pwg.js +1 -1
  61. package/build/esm/routing-0797aee7.js +1 -0
  62. package/build/esm/{screenSizeContext-4116f67f.js → screenSizeContext-4404592f.js} +1 -1
  63. package/build/esm/together.js +1 -1
  64. package/build/esm/{translationsProvider-3456f1dd.js → translationsProvider-cb07d5c7.js} +1 -1
  65. package/build/esm/{types-0761769d.js → types-cd87fedd.js} +1 -1
  66. package/build/esm/types-eacf4052.js +1 -0
  67. package/build/esm/types.js +1 -1
  68. package/build/esm/{useFbDataLayer-d2a26204.js → useFbDataLayer-91991f18.js} +1 -1
  69. package/build/esm/useHealthToolCache-29ad868d.js +1 -0
  70. package/build/esm/{useTranslations-9e48e8b9.js → useTranslations-9a6a81b8.js} +1 -1
  71. package/build/footer.js +1 -1
  72. package/build/gAssets.js +1 -1
  73. package/build/{getDynamicHealthTool-30665cd8.js → getDynamicHealthTool-1bdfc541.js} +1 -1
  74. package/build/{getSocialList-0fc7a278.js → getSocialList-0351bee8.js} +1 -1
  75. package/build/hooks.js +1 -1
  76. package/build/i18n.js +1 -1
  77. package/build/{index-703c6c32.js → index-1a232228.js} +1 -1
  78. package/build/{index-bd18a199.js → index-1eb19abb.js} +1 -1
  79. package/build/{index-42d90f1d.js → index-296388f5.js} +1 -1
  80. package/build/{index-5b8a261b.js → index-5be5fa2b.js} +1 -1
  81. package/build/{index-137ca4a9.js → index-78d409d6.js} +1 -1
  82. package/build/{index-f756a275.js → index-7c8291b0.js} +1 -1
  83. package/build/index-7f2fabb8.js +1 -0
  84. package/build/{index-7d8bade8.js → index-88342058.js} +1 -1
  85. package/build/{index-94fd1838.js → index-92a85d6a.js} +1 -1
  86. package/build/{index-ada12a14.js → index-a749dc47.js} +1 -1
  87. package/build/index-a7f331a4.js +1 -0
  88. package/build/{index-85105586.js → index-b2aa53ae.js} +1 -1
  89. package/build/{index-54839809.js → index-ba431739.js} +1 -1
  90. package/build/index-e2450e2f.js +1 -0
  91. package/build/{index-b0cab3ac.js → index-e646262f.js} +1 -1
  92. package/build/index-ed922801.js +1 -0
  93. package/build/{index-556d6e6f.js → index-f131b32d.js} +1 -1
  94. package/build/{index-d0fd1f5e.js → index-f248eb1e.js} +1 -1
  95. package/build/index.js +1 -1
  96. package/build/{index.styled-02729ff3.js → index.styled-01b5b0f5.js} +1 -1
  97. package/build/{index.styled-d89d3232.js → index.styled-0a518d9e.js} +1 -1
  98. package/build/{index.styled-66281989.js → index.styled-0a5cbf26.js} +1 -1
  99. package/build/index.styled-1826a975.js +1 -0
  100. package/build/{index.styled-4fd27d33.js → index.styled-2f383f5b.js} +1 -1
  101. package/build/{index.styled-9b366db1.js → index.styled-f73a69f6.js} +1 -1
  102. package/build/lead/constants.d.ts +14 -0
  103. package/build/lead.js +1 -1
  104. package/build/mantine.js +1 -1
  105. package/build/misc.js +1 -1
  106. package/build/navigation.js +1 -1
  107. package/build/onboarding.js +1 -1
  108. package/build/pwg.js +1 -1
  109. package/build/{routing-7f8b1b24.js → routing-a38c62c5.js} +1 -1
  110. package/build/{screenSizeContext-efc4d1da.js → screenSizeContext-6396ebf8.js} +1 -1
  111. package/build/together/components/molecules/cardAuthor/index.d.ts +10 -8
  112. package/build/together/components/molecules/profileDetail/index.d.ts +3 -2
  113. package/build/together/utils/apiActions/post.d.ts +2 -1
  114. package/build/together.js +1 -1
  115. package/build/{translationsProvider-b16ec727.js → translationsProvider-26ae134e.js} +1 -1
  116. package/build/{types-728788c5.js → types-2126e0b2.js} +1 -1
  117. package/build/types-420583be.js +1 -0
  118. package/build/types.js +1 -1
  119. package/build/{useFbDataLayer-e8f995f7.js → useFbDataLayer-a8f0e7e4.js} +1 -1
  120. package/build/{useHealthToolCache-ac88879a.js → useHealthToolCache-2afdbb97.js} +1 -1
  121. package/build/{useTranslations-7fb5518d.js → useTranslations-500f6144.js} +1 -1
  122. package/package.json +1 -1
  123. package/build/esm/index-1ce0abfd.js +0 -1
  124. package/build/esm/index-4640bd7a.js +0 -1
  125. package/build/esm/index-785e1e6c.js +0 -1
  126. package/build/esm/index-809087aa.js +0 -1
  127. package/build/esm/index-81bbeb5e.js +0 -1
  128. package/build/esm/index-bf897a73.js +0 -1
  129. package/build/esm/index.styled-d63a3f9c.js +0 -1
  130. package/build/esm/routing-ae4d0a36.js +0 -1
  131. package/build/esm/types-a6f9ee1c.js +0 -1
  132. package/build/esm/useHealthToolCache-c359d0a9.js +0 -1
  133. package/build/index-5585c8c2.js +0 -1
  134. package/build/index-bfbd9b75.js +0 -1
  135. package/build/index-e3495fdc.js +0 -1
  136. package/build/index-fc3690f8.js +0 -1
  137. package/build/index.styled-4578ecbe.js +0 -1
  138. package/build/types-1b4bc0aa.js +0 -1
  139. /package/build/{BMI_BOYS.percentile.monthly-c2cfc230.js → BMI_BOYS.percentile.monthly-9e6b54a8.js} +0 -0
  140. /package/build/{BMI_BOYS.percentile.weekly-e57ba662.js → BMI_BOYS.percentile.weekly-e11d4cd1.js} +0 -0
  141. /package/build/{BMI_BOYS.percentile.yearly-c31a4378.js → BMI_BOYS.percentile.yearly-f6b39fbd.js} +0 -0
  142. /package/build/{BMI_BOYS.zscore.monthly-75e2adca.js → BMI_BOYS.zscore.monthly-1ce045a1.js} +0 -0
  143. /package/build/{BMI_BOYS.zscore.weekly-a0395282.js → BMI_BOYS.zscore.weekly-ae605757.js} +0 -0
  144. /package/build/{BMI_BOYS.zscore.yearly-34008644.js → BMI_BOYS.zscore.yearly-50bd3788.js} +0 -0
  145. /package/build/{BMI_GIRLS.percentile.monthly-f07b0864.js → BMI_GIRLS.percentile.monthly-950e67f7.js} +0 -0
  146. /package/build/{BMI_GIRLS.percentile.weekly-92c832e6.js → BMI_GIRLS.percentile.weekly-039fe03a.js} +0 -0
  147. /package/build/{BMI_GIRLS.percentile.yearly-9503d365.js → BMI_GIRLS.percentile.yearly-55509986.js} +0 -0
  148. /package/build/{BMI_GIRLS.zscore.monthly-392795d1.js → BMI_GIRLS.zscore.monthly-7e10df95.js} +0 -0
  149. /package/build/{BMI_GIRLS.zscore.weekly-035d0824.js → BMI_GIRLS.zscore.weekly-6d6b3d5c.js} +0 -0
  150. /package/build/{BMI_GIRLS.zscore.yearly-60ddaf24.js → BMI_GIRLS.zscore.yearly-7ec52da6.js} +0 -0
  151. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-43253f4c.js → HEAD CIRCUM_BOYS.percentile.monthly-7efc3b56.js} +0 -0
  152. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-56e0e5df.js → HEAD CIRCUM_BOYS.percentile.weekly-6fdce68f.js} +0 -0
  153. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-f31b87f7.js → HEAD CIRCUM_BOYS.percentile.yearly-7dddfb97.js} +0 -0
  154. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-27afb61e.js → HEAD CIRCUM_BOYS.zscore.monthly-71afa4b2.js} +0 -0
  155. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-3aa30283.js → HEAD CIRCUM_BOYS.zscore.weekly-17a3b889.js} +0 -0
  156. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-2b84f4b0.js → HEAD CIRCUM_BOYS.zscore.yearly-645563c2.js} +0 -0
  157. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-34e1882e.js → HEAD CIRCUM_GIRLS.percentile.monthly-db157097.js} +0 -0
  158. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-25f0db39.js → HEAD CIRCUM_GIRLS.percentile.weekly-dafaf5c1.js} +0 -0
  159. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-e18d668e.js → HEAD CIRCUM_GIRLS.percentile.yearly-038c82a4.js} +0 -0
  160. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-49b8c8ae.js → HEAD CIRCUM_GIRLS.zscore.monthly-692296a5.js} +0 -0
  161. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-64cfbb1c.js → HEAD CIRCUM_GIRLS.zscore.weekly-36961cc5.js} +0 -0
  162. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-8b139e63.js → HEAD CIRCUM_GIRLS.zscore.yearly-04b20925.js} +0 -0
  163. /package/build/{HEIGHT_BOYS.percentile.monthly-a4540bb0.js → HEIGHT_BOYS.percentile.monthly-9977bd25.js} +0 -0
  164. /package/build/{HEIGHT_BOYS.percentile.weekly-0e9d5c9a.js → HEIGHT_BOYS.percentile.weekly-4217f404.js} +0 -0
  165. /package/build/{HEIGHT_BOYS.percentile.yearly-41ae3327.js → HEIGHT_BOYS.percentile.yearly-4fe02758.js} +0 -0
  166. /package/build/{HEIGHT_BOYS.zscore.monthly-2637c772.js → HEIGHT_BOYS.zscore.monthly-3cb1f4e2.js} +0 -0
  167. /package/build/{HEIGHT_BOYS.zscore.weekly-7efe1e73.js → HEIGHT_BOYS.zscore.weekly-14057970.js} +0 -0
  168. /package/build/{HEIGHT_BOYS.zscore.yearly-41283c74.js → HEIGHT_BOYS.zscore.yearly-ac5651e0.js} +0 -0
  169. /package/build/{HEIGHT_GIRLS.percentile.monthly-1edf510b.js → HEIGHT_GIRLS.percentile.monthly-adc29257.js} +0 -0
  170. /package/build/{HEIGHT_GIRLS.percentile.weekly-db6c7bfb.js → HEIGHT_GIRLS.percentile.weekly-b76ea902.js} +0 -0
  171. /package/build/{HEIGHT_GIRLS.percentile.yearly-6458768c.js → HEIGHT_GIRLS.percentile.yearly-ca8d7b06.js} +0 -0
  172. /package/build/{HEIGHT_GIRLS.zscore.monthly-bdde1330.js → HEIGHT_GIRLS.zscore.monthly-6e420c75.js} +0 -0
  173. /package/build/{HEIGHT_GIRLS.zscore.weekly-edfc44cb.js → HEIGHT_GIRLS.zscore.weekly-d191caaa.js} +0 -0
  174. /package/build/{HEIGHT_GIRLS.zscore.yearly-acb9cab8.js → HEIGHT_GIRLS.zscore.yearly-25d3ecc8.js} +0 -0
  175. /package/build/{Locale-d7e23bb3.js → Locale-8442e04f.js} +0 -0
  176. /package/build/{WEIGHT_BOYS.percentile.monthly-fba02d52.js → WEIGHT_BOYS.percentile.monthly-f479446a.js} +0 -0
  177. /package/build/{WEIGHT_BOYS.percentile.weekly-58906901.js → WEIGHT_BOYS.percentile.weekly-038b0142.js} +0 -0
  178. /package/build/{WEIGHT_BOYS.percentile.yearly-c2795de8.js → WEIGHT_BOYS.percentile.yearly-9a66ab82.js} +0 -0
  179. /package/build/{WEIGHT_BOYS.zscore.monthly-8312a45c.js → WEIGHT_BOYS.zscore.monthly-6c2f9888.js} +0 -0
  180. /package/build/{WEIGHT_BOYS.zscore.weekly-ab4355ac.js → WEIGHT_BOYS.zscore.weekly-323495b7.js} +0 -0
  181. /package/build/{WEIGHT_BOYS.zscore.yearly-2bee8305.js → WEIGHT_BOYS.zscore.yearly-225ef431.js} +0 -0
  182. /package/build/{WEIGHT_GIRLS.percentile.monthly-5f297b77.js → WEIGHT_GIRLS.percentile.monthly-37eb2035.js} +0 -0
  183. /package/build/{WEIGHT_GIRLS.percentile.weekly-2df56548.js → WEIGHT_GIRLS.percentile.weekly-abf0a3ee.js} +0 -0
  184. /package/build/{WEIGHT_GIRLS.percentile.yearly-749ad923.js → WEIGHT_GIRLS.percentile.yearly-47c7cb3d.js} +0 -0
  185. /package/build/{WEIGHT_GIRLS.zscore.monthly-2559a3f9.js → WEIGHT_GIRLS.zscore.monthly-1d8da896.js} +0 -0
  186. /package/build/{WEIGHT_GIRLS.zscore.weekly-51b15433.js → WEIGHT_GIRLS.zscore.weekly-c74501a7.js} +0 -0
  187. /package/build/{WEIGHT_GIRLS.zscore.yearly-4ea783da.js → WEIGHT_GIRLS.zscore.yearly-7ba94d8f.js} +0 -0
  188. /package/build/{constants-5e3f52ff.js → constants-3e23281c.js} +0 -0
  189. /package/build/{cookieHelper-027ee5e0.js → cookieHelper-0ed7c0f4.js} +0 -0
  190. /package/build/{dataTransform-a28346eb.js → dataTransform-52593f62.js} +0 -0
  191. /package/build/esm/{BMI_BOYS.percentile.monthly-3052309c.js → BMI_BOYS.percentile.monthly-04336cdb.js} +0 -0
  192. /package/build/esm/{BMI_BOYS.percentile.weekly-d1f77175.js → BMI_BOYS.percentile.weekly-7aa2206d.js} +0 -0
  193. /package/build/esm/{BMI_BOYS.percentile.yearly-32150951.js → BMI_BOYS.percentile.yearly-37e1bab8.js} +0 -0
  194. /package/build/esm/{BMI_BOYS.zscore.monthly-2e6ca886.js → BMI_BOYS.zscore.monthly-35ccd6e2.js} +0 -0
  195. /package/build/esm/{BMI_BOYS.zscore.weekly-dba477c0.js → BMI_BOYS.zscore.weekly-48eb7244.js} +0 -0
  196. /package/build/esm/{BMI_BOYS.zscore.yearly-1e42d288.js → BMI_BOYS.zscore.yearly-30128ebe.js} +0 -0
  197. /package/build/esm/{BMI_GIRLS.percentile.monthly-30430a56.js → BMI_GIRLS.percentile.monthly-bd3fe421.js} +0 -0
  198. /package/build/esm/{BMI_GIRLS.percentile.weekly-855a284d.js → BMI_GIRLS.percentile.weekly-1de5b4da.js} +0 -0
  199. /package/build/esm/{BMI_GIRLS.percentile.yearly-4fa8096a.js → BMI_GIRLS.percentile.yearly-aadadd00.js} +0 -0
  200. /package/build/esm/{BMI_GIRLS.zscore.monthly-c846a864.js → BMI_GIRLS.zscore.monthly-7f55a088.js} +0 -0
  201. /package/build/esm/{BMI_GIRLS.zscore.weekly-bcae5d7f.js → BMI_GIRLS.zscore.weekly-da68e9cf.js} +0 -0
  202. /package/build/esm/{BMI_GIRLS.zscore.yearly-1e63479e.js → BMI_GIRLS.zscore.yearly-40c9b24f.js} +0 -0
  203. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-741534d8.js → HEAD CIRCUM_BOYS.percentile.monthly-901fa72d.js} +0 -0
  204. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c34cc2b9.js → HEAD CIRCUM_BOYS.percentile.weekly-e68def18.js} +0 -0
  205. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-36eea653.js → HEAD CIRCUM_BOYS.percentile.yearly-5f71148d.js} +0 -0
  206. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-1a193083.js → HEAD CIRCUM_BOYS.zscore.monthly-92a0ff77.js} +0 -0
  207. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-d90e9342.js → HEAD CIRCUM_BOYS.zscore.weekly-baece344.js} +0 -0
  208. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-ab65667c.js → HEAD CIRCUM_BOYS.zscore.yearly-730cfaec.js} +0 -0
  209. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-57a3824a.js → HEAD CIRCUM_GIRLS.percentile.monthly-ed9553c3.js} +0 -0
  210. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-a9948c4e.js → HEAD CIRCUM_GIRLS.percentile.weekly-17d18791.js} +0 -0
  211. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-0f8afa60.js → HEAD CIRCUM_GIRLS.percentile.yearly-88bdc972.js} +0 -0
  212. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-161d89db.js → HEAD CIRCUM_GIRLS.zscore.monthly-c82d2ff9.js} +0 -0
  213. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-9c47cba0.js → HEAD CIRCUM_GIRLS.zscore.weekly-60738a3b.js} +0 -0
  214. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-a078f29e.js → HEAD CIRCUM_GIRLS.zscore.yearly-35c770fa.js} +0 -0
  215. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-7ce1e13d.js → HEIGHT_BOYS.percentile.monthly-0c09dac3.js} +0 -0
  216. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-d09fb23e.js → HEIGHT_BOYS.percentile.weekly-63e3d0c5.js} +0 -0
  217. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-2651b390.js → HEIGHT_BOYS.percentile.yearly-beab133e.js} +0 -0
  218. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-c122c28b.js → HEIGHT_BOYS.zscore.monthly-e9542002.js} +0 -0
  219. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-97fd4d8c.js → HEIGHT_BOYS.zscore.weekly-112599a4.js} +0 -0
  220. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a849ff3e.js → HEIGHT_BOYS.zscore.yearly-ef28f146.js} +0 -0
  221. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-fe320c10.js → HEIGHT_GIRLS.percentile.monthly-bf51e773.js} +0 -0
  222. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-15d110af.js → HEIGHT_GIRLS.percentile.weekly-fb60db4b.js} +0 -0
  223. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-6671a528.js → HEIGHT_GIRLS.percentile.yearly-3b3ce8f1.js} +0 -0
  224. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-9c0b8e53.js → HEIGHT_GIRLS.zscore.monthly-a65dc5d2.js} +0 -0
  225. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-21bb1198.js → HEIGHT_GIRLS.zscore.weekly-0ee383ed.js} +0 -0
  226. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-d6770e2f.js → HEIGHT_GIRLS.zscore.yearly-dac015fc.js} +0 -0
  227. /package/build/esm/{Locale-5e66312f.js → Locale-26444728.js} +0 -0
  228. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b364be53.js → WEIGHT_BOYS.percentile.monthly-4f777510.js} +0 -0
  229. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-529eb3f0.js → WEIGHT_BOYS.percentile.weekly-5fe558ca.js} +0 -0
  230. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b9efcd16.js → WEIGHT_BOYS.percentile.yearly-7adac828.js} +0 -0
  231. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-519f00cc.js → WEIGHT_BOYS.zscore.monthly-edf1356e.js} +0 -0
  232. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-52678195.js → WEIGHT_BOYS.zscore.weekly-f4c47717.js} +0 -0
  233. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-77dfb7b3.js → WEIGHT_BOYS.zscore.yearly-db79849d.js} +0 -0
  234. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-eb376804.js → WEIGHT_GIRLS.percentile.monthly-77be573c.js} +0 -0
  235. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-1ce7c870.js → WEIGHT_GIRLS.percentile.weekly-249cfb5f.js} +0 -0
  236. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-2e0392b0.js → WEIGHT_GIRLS.percentile.yearly-432d60a0.js} +0 -0
  237. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-99499718.js → WEIGHT_GIRLS.zscore.monthly-7e3bf7aa.js} +0 -0
  238. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-59238ec9.js → WEIGHT_GIRLS.zscore.weekly-333699e9.js} +0 -0
  239. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-0d8282f4.js → WEIGHT_GIRLS.zscore.yearly-c0cd66c9.js} +0 -0
  240. /package/build/esm/{constants-ae469713.js → constants-9802916c.js} +0 -0
  241. /package/build/esm/{cookieHelper-d3531626.js → cookieHelper-b7383c13.js} +0 -0
  242. /package/build/esm/{dataTransform-d01a3c65.js → dataTransform-8015f34d.js} +0 -0
  243. /package/build/esm/{isProduction-33e7c093.js → isProduction-591809e4.js} +0 -0
  244. /package/build/esm/{localizeNumberFormat-cda17a82.js → localizeNumberFormat-2e9b678d.js} +0 -0
  245. /package/build/esm/{theme-81ec37fe.js → theme-4965c17b.js} +0 -0
  246. /package/build/esm/{translationsContext-c7a3e170.js → translationsContext-45e7b7c0.js} +0 -0
  247. /package/build/esm/{tslib.es6-f7955333.js → tslib.es6-f57f7d0d.js} +0 -0
  248. /package/build/esm/{types-31cad47d.js → types-00639960.js} +0 -0
  249. /package/build/esm/{useOutsideClick-07214717.js → useOutsideClick-eb767e97.js} +0 -0
  250. /package/build/esm/{useScrollbarSize-67607227.js → useScrollbarSize-3f35b7a8.js} +0 -0
  251. /package/build/esm/{utils-f9dbedef.js → utils-84d591f6.js} +0 -0
  252. /package/build/{isProduction-a3abe97b.js → isProduction-cc1f637a.js} +0 -0
  253. /package/build/{localizeNumberFormat-b4751bcf.js → localizeNumberFormat-24cff7c9.js} +0 -0
  254. /package/build/{theme-f592127f.js → theme-cb9ab2c7.js} +0 -0
  255. /package/build/{translationsContext-87a2a358.js → translationsContext-0bfd2a34.js} +0 -0
  256. /package/build/{tslib.es6-1d969ebd.js → tslib.es6-35544b90.js} +0 -0
  257. /package/build/{types-cc36b320.js → types-507634dd.js} +0 -0
  258. /package/build/{useOutsideClick-29c4f06f.js → useOutsideClick-f6c81846.js} +0 -0
  259. /package/build/{useScrollbarSize-80f09e22.js → useScrollbarSize-201c7b81.js} +0 -0
  260. /package/build/{utils-1d64a3f8.js → utils-252705e5.js} +0 -0
package/build/esm/care.js CHANGED
@@ -1 +1 @@
1
- export{B as BookingSearchBar,t as CareTypes}from"./types-0761769d.js";export{c as CareConstants}from"./constants-ae469713.js";import"./tslib.es6-f7955333.js";import"react";import"./index-fe1c4ff3.js";import"./Locale-5e66312f.js";import"./isProduction-33e7c093.js";import"./cookieHelper-d3531626.js";import"./useTranslations-9e48e8b9.js";import"./translationsContext-c7a3e170.js";import"string-format";import"lodash/debounce";import"./index-bf897a73.js";import"./index.styled-01d29354.js";import"./utils-f9dbedef.js";import"styled-components";import"./index-a5266555.js";import"./theme-81ec37fe.js";import"react-loading-skeleton";import"lodash/shuffle";import"./useOutsideClick-07214717.js";
1
+ export{B as BookingSearchBar,t as CareTypes}from"./types-cd87fedd.js";export{c as CareConstants}from"./constants-9802916c.js";import"./tslib.es6-f57f7d0d.js";import"react";import"./index-97dadfcb.js";import"./Locale-26444728.js";import"./isProduction-591809e4.js";import"./cookieHelper-b7383c13.js";import"./useTranslations-9a6a81b8.js";import"./translationsContext-45e7b7c0.js";import"string-format";import"lodash/debounce";import"./index-97e95a0e.js";import"./index.styled-927ec3a0.js";import"./utils-84d591f6.js";import"styled-components";import"./index-c2d22670.js";import"./theme-4965c17b.js";import"react-loading-skeleton";import"lodash/shuffle";import"./useOutsideClick-eb767e97.js";
@@ -1 +1 @@
1
- export{A as Alert,e as ArticleCard,r as BMICardEmbed,v as BMRCardEmbed,s as BabyGrowthCardEmbed,t as BabyPoopEmbed,B as Badge,a as BorderHeading,f as Breadcrumbs,k as Carousel,C as CategoryCard,g as CheckboxGroup,p as CookieAcceptConfirm,x as DateRangePicker,D as DueDateCardEmbed,F as FileDropdown,o as FloatButtonGroup,G as Grid,I as IconText,K as Immunization,O as OvulationCardEmbed,w as PWGCardEmbed,P as Pagination,d as Progress,h as ProgressBar,R as RateStars,E as RecordsByAgeGroup,j as ScrollList,q as SeoHead,S as Shadow,y as ShareContainer,z as ShareDrawer,i as SideMenu,l as StatisticCard,n as SurveyThankyouCard,u as THRCardEmbed,m as Table,T as Tag,H as TimelineBanner,b as Toggle,U as UnderlinedLink,c as Uploader,V as VaccineCard,J as VaccineDetailPopup}from"./index-809087aa.js";export{A as Avatar,F as Flag,L as LanguageSwitcher,d as NavigationLogoutPopup,e as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,U as UserProfileNavigation,b as UserProfileNavigationHeader,c as UserProfileNavigationStats,g as getNavMenuContent,a as getNavMenuContentWithCache}from"./index-fed72244.js";export{B as Button}from"./index-bc6c4e88.js";export{A as AuthorBadge,C as Checkbox,a as DatePicker,D as Divider,d as DoctorInfo,b as Dropdown,M as MobileBottomNavigation,e as MobileBottomNavigationIcon,R as Radio,c as RadioGroup,S as SurveyQuestionCard,T as Tabs,f as ToolsBannerCard}from"./index.styled-d63a3f9c.js";export{H as Heading,M as Menu,P as PureInput,T as TextArea,a as TextDivider}from"./index.styled-2b24612c.js";export{I as Input}from"./index-bf897a73.js";export{L as Label}from"./index.styled-01d29354.js";export{L as Logo}from"./index-dcfb7fef.js";export{T as Text}from"./index-a5266555.js";export{C as Container}from"./index-e410f2d2.js";export{D as Drawer,I as Icon,M as Modal,R as RadioImageGroup}from"./index-0ae8b9f2.js";export{N as NewBabyProfileRadio}from"./index-1ce0abfd.js";export{C as CustomReferenceDot}from"./index-88ec3ad2.js";export{P as Popup}from"./index.styled-7527e862.js";export{P as PillCarousel}from"./index-b8b9bdf3.js";export{Footer}from"./footer.js";import"react";import"./tslib.es6-f7955333.js";import"./utils-f9dbedef.js";import"./gAssets.js";import"./index-fe1c4ff3.js";import"./Locale-5e66312f.js";import"./isProduction-33e7c093.js";import"./theme-81ec37fe.js";import"lodash/throttle";import"keen-slider/react";import"./useTranslations-9e48e8b9.js";import"./translationsContext-c7a3e170.js";import"string-format";import"date-fns";import"dayjs";import"@mantine/core";import"./index.styled-a2b84cf6.js";import"styled-components";import"./types-31cad47d.js";import"react-hook-form";import"./index-4b29d795.js";import"@mantine/hooks";import"./useHealthToolCache-c359d0a9.js";import"./getDynamicHealthTool-2f9301e2.js";import"./core-ee0e7ff6.js";import"./routing-ae4d0a36.js";import"./screenSizeContext-4116f67f.js";import"./useOutsideClick-07214717.js";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./getSocialList-ad1e56b6.js";import"@mantine/dates";import"./cookieHelper-d3531626.js";import"./constants-ae469713.js";import"lodash/debounce";import"./defaultClassWrapper-90fd2040.js";import"@hookform/resolvers/yup";import"./index-785e1e6c.js";import"react-day-picker/DayPickerInput";import"./useScrollbarSize-67607227.js";import"react-dom";import"slugify";import"dayjs/plugin/relativeTime";import"./index.styled-1aacb0d5.js";import"./index-3b4909e3.js";import"@mantine/carousel";
1
+ export{A as Alert,e as ArticleCard,s as BMICardEmbed,w as BMRCardEmbed,t as BabyGrowthCardEmbed,u as BabyPoopEmbed,B as Badge,a as BorderHeading,f as Breadcrumbs,l as Carousel,g as CategoryCard,C as Checkbox,h as CheckboxGroup,q as CookieAcceptConfirm,y as DateRangePicker,D as DueDateCardEmbed,F as FileDropdown,p as FloatButtonGroup,G as Grid,I as IconText,L as Immunization,O as OvulationCardEmbed,x as PWGCardEmbed,P as Pagination,d as Progress,i as ProgressBar,R as RateStars,H as RecordsByAgeGroup,k as ScrollList,r as SeoHead,S as Shadow,z as ShareContainer,E as ShareDrawer,j as SideMenu,m as StatisticCard,o as SurveyThankyouCard,v as THRCardEmbed,n as Table,T as Tag,J as TimelineBanner,b as Toggle,U as UnderlinedLink,c as Uploader,V as VaccineCard,K as VaccineDetailPopup}from"./index-60151673.js";export{A as Avatar,F as Flag,L as LanguageSwitcher,d as NavigationLogoutPopup,e as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,U as UserProfileNavigation,b as UserProfileNavigationHeader,c as UserProfileNavigationStats,g as getNavMenuContent,a as getNavMenuContentWithCache}from"./index-ff85c851.js";export{B as Button}from"./index-e0ba9ff2.js";export{A as AuthorBadge,a as DatePicker,D as Divider,d as DoctorInfo,b as Dropdown,M as MobileBottomNavigation,e as MobileBottomNavigationIcon,R as Radio,c as RadioGroup,S as SurveyQuestionCard,T as Tabs,f as ToolsBannerCard}from"./index.styled-6dd74408.js";export{H as Heading,M as Menu,P as PureInput,T as TextArea,a as TextDivider}from"./index.styled-b51c965e.js";export{I as Input}from"./index-97e95a0e.js";export{L as Label}from"./index.styled-927ec3a0.js";export{L as Logo}from"./index-62b8eca0.js";export{T as Text}from"./index-c2d22670.js";export{C as Container}from"./index-6667c357.js";export{D as Drawer,I as Icon,M as Modal,R as RadioImageGroup}from"./index-9a8ea07a.js";export{N as NewBabyProfileRadio}from"./index-4b764dd3.js";export{C as CustomReferenceDot}from"./index-8042ada4.js";export{P as Popup}from"./index.styled-3f3de4f4.js";export{P as PillCarousel}from"./index-dd729229.js";export{Footer}from"./footer.js";import"react";import"./tslib.es6-f57f7d0d.js";import"./utils-84d591f6.js";import"./gAssets.js";import"./index-97dadfcb.js";import"./Locale-26444728.js";import"./isProduction-591809e4.js";import"./theme-4965c17b.js";import"lodash/throttle";import"keen-slider/react";import"./useTranslations-9a6a81b8.js";import"./translationsContext-45e7b7c0.js";import"string-format";import"date-fns";import"dayjs";import"@mantine/core";import"./index.styled-5143dec4.js";import"styled-components";import"./types-00639960.js";import"react-hook-form";import"./index-2f307dca.js";import"@mantine/hooks";import"./useHealthToolCache-29ad868d.js";import"./getDynamicHealthTool-f1ab8772.js";import"./core-b0a1c851.js";import"./routing-0797aee7.js";import"./screenSizeContext-4404592f.js";import"./useOutsideClick-eb767e97.js";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./getSocialList-efa0534e.js";import"@mantine/dates";import"./cookieHelper-b7383c13.js";import"./constants-9802916c.js";import"lodash/debounce";import"./defaultClassWrapper-b3252d64.js";import"@hookform/resolvers/yup";import"./index-56e05694.js";import"react-day-picker/DayPickerInput";import"./useScrollbarSize-3f35b7a8.js";import"react-dom";import"slugify";import"dayjs/plugin/relativeTime";import"./index.styled-797bd393.js";import"./index-3e709a05.js";import"@mantine/carousel";
@@ -1 +1 @@
1
- import"./Locale-5e66312f.js";export{a as CARE_BOOKING_LOCALES,C as CARE_LOCALES,F as FAVICONS,I as ISO_FORMAT,L as LOCALE_SPECS,Q as QUERY_HEALTH_TOOL,S as STATIC_PAGES,T as TOGETHER_LOCALES,U as UP_BASEPATH,b as USER_GEOLOCATION_COORDINATES_COOKIE,d as domainLocales,c as siteHost,s as siteOptions}from"./index-fe1c4ff3.js";export{i as isProduction}from"./isProduction-33e7c093.js";
1
+ import"./Locale-26444728.js";export{a as CARE_BOOKING_LOCALES,C as CARE_LOCALES,F as FAVICONS,I as ISO_FORMAT,L as LOCALE_SPECS,Q as QUERY_HEALTH_TOOL,S as STATIC_PAGES,T as TOGETHER_LOCALES,U as UP_BASEPATH,b as USER_GEOLOCATION_COORDINATES_COOKIE,d as domainLocales,c as siteHost,s as siteOptions}from"./index-97dadfcb.js";export{i as isProduction}from"./isProduction-591809e4.js";
@@ -1 +1 @@
1
- import{c as t,d as e}from"./tslib.es6-f7955333.js";import{i as a}from"./isProduction-33e7c093.js";var n={},i=function(t){if("undefined"!=typeof window){var e=void 0;try{e=JSON.parse(localStorage.getItem((a?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return e||{}}return n[t]},r=function(t,e){try{"undefined"!=typeof window?localStorage.setItem((a?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:e,time:Date.now()})):n[t]={data:e,time:Date.now()}}catch(t){}},o=function(a,n,o,s){return void 0===s&&(s=9e5),t(void 0,void 0,void 0,(function(){var t,c;return e(this,(function(e){switch(e.label){case 0:return(t=i(a))&&t.data&&t.time&&Date.now()-t.time<s?[2,t.data]:[3,1];case 1:return n?[4,n()]:[3,3];case 2:return c=e.sent(),o&&!o(c)||r(a,c),[2,c];case 3:return[2,null]}}))}))};export{i as a,o as g,r as s};
1
+ import{c as t,d as e}from"./tslib.es6-f57f7d0d.js";import{i as a}from"./isProduction-591809e4.js";var n={},i=function(t){if("undefined"!=typeof window){var e=void 0;try{e=JSON.parse(localStorage.getItem((a?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return e||{}}return n[t]},r=function(t,e){try{"undefined"!=typeof window?localStorage.setItem((a?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:e,time:Date.now()})):n[t]={data:e,time:Date.now()}}catch(t){}},o=function(a,n,o,s){return void 0===s&&(s=9e5),t(void 0,void 0,void 0,(function(){var t,c;return e(this,(function(e){switch(e.label){case 0:return(t=i(a))&&t.data&&t.time&&Date.now()-t.time<s?[2,t.data]:[3,1];case 1:return n?[4,n()]:[3,3];case 2:return c=e.sent(),o&&!o(c)||r(a,c),[2,c];case 3:return[2,null]}}))}))};export{i as a,o as g,r as s};
@@ -1 +1 @@
1
- import{b as a,_ as r}from"./tslib.es6-f7955333.js";import e,{forwardRef as t}from"react";var s=function(s,c){return t((function(t,n){var o=t.className,m=a(t,["className"]);return e.createElement(s,r({ref:n,className:"".concat(c," ").concat(o||"")},m))}))};export{s as g};
1
+ import{b as a,_ as r}from"./tslib.es6-f57f7d0d.js";import e,{forwardRef as t}from"react";var s=function(s,c){return t((function(t,n){var o=t.className,m=a(t,["className"]);return e.createElement(s,r({ref:n,className:"".concat(c," ").concat(o||"")},m))}))};export{s as g};
package/build/esm/ecom.js CHANGED
@@ -1 +1 @@
1
- import{_ as o}from"./tslib.es6-f7955333.js";import{t as e}from"./theme-81ec37fe.js";import"./index-fe1c4ff3.js";import{i}from"./isProduction-33e7c093.js";export{t as EcomTypes}from"./types-31cad47d.js";import"./Locale-5e66312f.js";var l,n=Object.freeze({__proto__:null}),a=Object.freeze({__proto__:null}),r="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,s="undefined"==typeof window,u=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",c=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",d=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,m=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",p={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},_=r?"http://localhost:3001":i?"https://".concat(p[u]):"https://discover.".concat(p[u]),h=i?"https://wp.".concat(p[u],"/"):"https://staging.".concat(p[u],"/"),E=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:"https://together.".concat(p[u],"/"),v="".concat(_,"/community"),I=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";!function(o){o[o.FEMALE=0]="FEMALE",o[o.MALE=1]="MALE",o[o.ANY=2]="ANY"}(l||(l={}));var T={"vi-VN":{HOME:function(){return JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#website","@type":"WebSite",description:"Hello Bacsi - Health Information",inLanguage:"vi-VN",name:"Hello Bacsi",potentialAction:[{"@type":"SearchAction","query-input":"required name=search_term_string",target:"https://hellobacsi.com/shop/tim-kiem/?keyword={search_term_string}"}],url:"https://hellobacsi.com/shop/"}]})},CATEGORY:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),void 0===t&&(t=[]),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/danh-muc","@type":"WebPage",name:"Hello Bacsi - Danh Muc",url:"https://hellobacsi.com/shop/danh-muc"}}]},{"@type":"ItemList",url:o,numberOfItems:e,itemListElement:t}]})},BRAND:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),void 0===t&&(t=[]),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/thuong-hieu","@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/thuong-hieu"}}]},{"@type":"ItemList",url:o,numberOfItems:e,itemListElement:t}]})},BRAND_DETAIL:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/thuong-hieu/#brand","@type":"BrandDetail",itemListElement:[{"@type":"Item",item:{"@id":"https://hellobacsi.com/shop".concat(o),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop".concat(o)}}]},{"@type":"BrandDetail",url:"https://hellobacsi.com/shop".concat(o),numberOfItems:e,itemListElement:null!=t?t:{}}]})},PRODUCT_DETAIL:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/san-pham/#product","@type":"ProductDetail",itemListElement:[{"@type":"Item",item:{"@id":"https://hellobacsi.com/shop/san-pham/".concat(o),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/san-pham/".concat(o)}}]},{"@type":"BrandDetail",url:o,numberOfItems:e,itemListElement:null!=t?t:{}}]})}}},g=Object.freeze({__proto__:null,isDevelopment:r,IS_SSR:s,locale:u,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:c,GOOGLE_ADMIN_LOCATION_KEY:d,GOOGLE_CLIENT_ID:m,GOOGLE_CALENDAR_API_KEY:"",basePath:"shop",SSO_USER_BASE_PATH:"user",CARE_BASE_PATH:"care",COMMUNITY_BASE_PATH:"community",HEALTH_TOOLs_BASE_PATH:"health-tools",NOTIFICATION_TIME_OUT:3e3,DOMAIN_LOCALES:p,DISCOVER_URL_FE:_,DISCOVER_URL_BE:h,TOGETHER_URL_BE:E,TOGETHER_URL_FE:v,SSO_URL:I,DISCOVERY_FOOTER_URL:"#",HEALTH_CARE_FOOTER_URL:"#",HEALTH_TOOLS_FOOTER_URL:"#",HEALTH_TOGETHER_FOOTER_URL:"#",POLICIES_FOOTER_URL:"#",FAQ_FOOTER_URL:"#",SITEMAP_FOOTER_URL:"#",ABOUT_US_FOOTER_URL:"#",EXECUTIVE_BIOS_FOOTER_URL:"#",ADVERTISING_FOOTER_URL:"#",CONTACT_US_FOOTER_URL:"#",ABOUT_GO_CARE_FOOTER_URL:"#",get Gender(){return l},EMAIL_REGEX:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,COUNTRY_SITENAME:{ID:"Hello Sehat",TH:"Hello Khunmor",MY:"Hello Doktor",KH:"Hello Krupet",TW:"Hello Yishi",MM:"Hello Sayarwon",IN:"Hello Swasthya",VN:"Hello Bacsi",PH:"Hello Doctor"},LOCALE_SPECS:{"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png"}},SOCIAL_MEDIA:{"vi-VN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellobacsi/",INSTAGRAM:"https://www.instagram.com/hellobacsi/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCYHzHDXngnB7jkmcQgXwE0w"},"en-PH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoctorPH/",INSTAGRAM:"https://www.instagram.com/hellodoctor_ph/",TWITTER:null},"km-KH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokrupet/",INSTAGRAM:"https://www.instagram.com/hellokrupetofficial/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCVK4p9YPIMkmoerk3X-y-TQ"},"ms-MY":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoktorMY/",INSTAGRAM:"https://www.instagram.com/_hellodoktor_/",TWITTER:null},"id-ID":{LINKEDIN:"https://www.linkedin.com/company/hello-sehat/",FACEBOOK:"https://www.facebook.com/hellosehat",INSTAGRAM:"https://www.instagram.com/hellosehat/",TWITTER:"https://twitter.com/HelloSehat"},"my-MM":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellosayarwon/",INSTAGRAM:"https://www.facebook.com/hellosayarwon/",TWITTER:null},"zh-TW":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/helloyishi/",INSTAGRAM:"https://www.instagram.com/helloyishi/",TWITTER:null},"hi-IN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloSwasthya/",INSTAGRAM:"https://www.instagram.com/hello_swasthya/",TWITTER:null},"th-TH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokhunmor/",INSTAGRAM:"https://www.instagram.com/hellokhunmor/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCbdbow4UhKfa7rqIhclNPIQ/"}},FLAG_LINKS:{ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},STATIC_PAGES:{"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"}},FAVICONS:{"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}]},LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},MAX_ALLOWED_IMG_SIZE:20971520,COUNTRY_CODE_BY_LOCALE:{"vi-VN":"vn","id-ID":"id","ms-MY":"my","km-KH":"kh","en-PH":"ph","th-TH":"th","my-MM":"mm","zh-TW":"tw","hi-IN":"in"},COUNTRY_CURRENCY_SYMBOL:{"vi-VN":"₫","id-ID":"Rp","ms-MY":"RM","km-KH":"៛","en-PH":"₱","th-TH":"฿","my-MM":"K","zh-TW":"$","hi-IN":"₹"},CURRENCY_PREFIX:{IDR:"Dimulai dari"},LOCALISED_SLUGS:{"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}},HEADER_LOGO_ALIGNMENT:"188px",globalFontFamily:"Inter",ENABLE_COMMUNITY_LOCALES:["vi-VN","id-ID","ms-MY","en-PH","th-TH"],ENABLE_CARE_LOCALES:["vi-VN","id-ID","en-PH"],ENABLE_HEALTH_PARENTING_LOCALES:["vi-VN","en-PH","id-ID","ms-MY","km-KH","th-TH","my-MM","zh-TW"],SEO_SCHEMA:T});function O(o){return null!=o}var A={formatAutoCompleteAddress:function(o){return o&&o.place_id?{placeId:o.place_id,description:o.description||""}:null},formatPrice:function(o,e){var t="string"==typeof o?parseInt(o):o;return new Intl.NumberFormat(e||"vi-VN").format(t)},formatHotSearchKeyword:function(o){return{text:(null==o?void 0:o.name)||""}},formatHelpfulUrl:function(o){return{name:(null==o?void 0:o.name)||"",featuredImage:(null==o?void 0:o.featured_image)||"",url:(null==o?void 0:o.url)||""}},formatCategory:function(o,t,i){var l,n,a,r=i?i+"/"+o.slug:o.slug,s=(null===(n=null===(l=null==o?void 0:o.children)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,(function(e){return A.formatCategory(e,o.id,r)})))||[];return{id:null==o?void 0:o.id,name:(null==o?void 0:o.name)||"",logo:(null==o?void 0:o.logo)||"",slug:(null==o?void 0:o.slug)||"",fullSlug:r||"",children:s,backgroundColor:o.color||e.colors.teal50,parentId:t||0,products:(null===(a=o.products)||void 0===a?void 0:a.map(A.formatProduct))||[]}},formatFooterInfo:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g=(null===(i=null===(t=null===(e=null==o?void 0:o.branch)||void 0===e?void 0:e.branch)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(o){return{flag:o.flag||"",name:o.name||"",url:o.url||""}})))||[],O=(null===(a=null===(n=null===(l=null==o?void 0:o.general)||void 0===l?void 0:l.verified)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(o){return{image:o.image||"",url:o.url||""}})))||[],A=(null===(s=null===(r=null==o?void 0:o.menu)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,(function(o){var e,t;return{menu_title:o.menu_title,items:null===(t=null===(e=o.items)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{title:o.title,url:o.url}}))}})))||[],f=(null===(d=null===(c=null===(u=null==o?void 0:o.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(function(o){return{icon:o.icon||"",name:o.name||"",url:o.url||""}})))||[];return{branch:{title:(null===(m=null==o?void 0:o.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==o?void 0:o.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==o?void 0:o.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(I=null===(v=null==o?void 0:o.general)||void 0===v?void 0:v.copyright)&&void 0!==I?I:"",verified:O},menu:A,social:{title:(null===(T=null==o?void 0:o.social)||void 0===T?void 0:T.title)||"",socials:f}}},formatNavigation:function(o){var e,t,i,l,n,a;return{hotSearchKeywords:(null===(t=null===(e=null==o?void 0:o.hot_search_keywords)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatHotSearchKeyword))||[],helpfulUrls:(null===(l=null===(i=null==o?void 0:o.helpful_urls)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatHelpfulUrl))||[],categories:(null===(a=null===(n=null==o?void 0:o.categories)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(o){return A.formatCategory(o)})))||[],footer:A.formatFooterInfo(null==o?void 0:o.footer),storeId:(null==o?void 0:o.store_id)||0,customerId:(null==o?void 0:o.customer_id)||0,cartItemsQty:"number"==typeof(null==o?void 0:o.cart_items_qty)?o.cart_items_qty:null}},formatPriceInfo:function(o){return o?{final:o.final||0,regular:o.regular||0,discountPercent:o.discount_percent||0}:null},formatProduct:function(o){var e,t,i,l;if(!o)return null;var n={final:0,regular:0,discountPercent:0};return{id:o.id||0,price:o.price&&A.formatPriceInfo(o.price)||n,thumbnail:o.thumbnail||"",name:o.name||"",averageRating:Number((o.average_rating||0).toFixed(2)),reviewsCount:o.reviews_count||0,tag:o.tag||null,sku:o.sku||"",slug:o.slug||"",images:o.images||[],tags:o.tags||[],unit:o.unit||"",brand:o.brand?{name:o.brand.name||"",image:o.brand.image||"",slug:o.brand.slug||"",productsCount:o.brand.products_count||0}:null,description:o.description||"",productPromotions:(null===(t=null===(e=o.product_promotions)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatProductPromotion).filter(O))||[],categories:(null===(l=null===(i=o.categories)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,(function(o){return A.formatCategory(o)})).filter(O))||[],isInStock:(null==o?void 0:o.is_in_stock)||!1}},formatBanner:function(o){return o?{name:o.name||"",url:o.url||"",featuredImage:o.featured_image||"",alt:o.image_alt}:null},formatBlogPost:function(o){var e,t;return o?{title:o.title||"",image:o.image||"",link:o.link||"",postData:o.post_data?{reviewed:o.post_data.reviewed?{author:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.author||void 0),editor:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.editor||void 0),expert:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.expert||void 0),factCheck:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(o.post_data.reviewed.is_author)}:null,categories:o.post_data.categories?null===(t=(e=o.post_data.categories).map)||void 0===t?void 0:t.call(e,(function(o){return{termId:o.term_id||0,name:o.name||"",permalink:o.permalink||"",textColor:o.text_color||""}})):[],postDate:o.post_data.post_date||"",postModified:o.post_data.post_modified||"",modifiedTime:o.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:function(o){return o?{id:o.ID||0,userId:o.user_id||0,formerRole:o.former_role||"",role:o.role||"",slug:o.slug||"",displayName:o.display_name||"",description:o.description||"",profileUrl:o.profile_url||"",avatar:o.avatar||"",avatarThumbnail:o.avatar_thumbnail||"",turnOffProfile:Boolean(o.turn_off_profile)}:null},formatBrand:function(o){var e,t,i,l;return o?{id:o.id||0,image:o.image||"",position:o.position||"",isPopular:o.is_popular||!1,summary:o.summary||"",name:o.name||"",slug:o.slug||"",description:o.description||null,banners:(null===(t=null===(e=o.banners)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatBanner).filter(O))||[],bestsellerProducts:(null===(l=null===(i=o.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O))||[]}:null},formatHomePage:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g;return o?{brands:o.brands?null===(t=(e=o.brands).map)||void 0===t?void 0:t.call(e,A.formatBrand).filter(O):[],hotDeals:o.hot_deals?null===(l=(i=o.hot_deals).map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O):[],newProducts:o.new_products?null===(a=(n=o.new_products).map)||void 0===a?void 0:a.call(n,A.formatProduct).filter(O):[],slideBanners:o.slide_banners?null===(s=(r=o.slide_banners).map)||void 0===s?void 0:s.call(r,A.formatBanner).filter(O):[],subBanners:o.sub_banners?null===(c=(u=o.sub_banners).map)||void 0===c?void 0:c.call(u,A.formatBanner).filter(O):[],footerBanners:o.footer_banners?null===(m=(d=o.footer_banners).map)||void 0===m?void 0:m.call(d,A.formatBanner).filter(O):[],blogPosts:o.blog_posts?null===(_=(p=o.blog_posts).map)||void 0===_?void 0:_.call(p,A.formatBlogPost).filter(O):[],popularCategories:o.popular_categories?null===(E=(h=o.popular_categories).map)||void 0===E?void 0:E.call(h,(function(o){return A.formatCategory(o)})).filter(O):[],suggestProducts:o.suggest_products?null===(I=(v=o.suggest_products).map)||void 0===I?void 0:I.call(v,(function(o){return A.formatCategory(o)})).filter(O):[],promotions:o.promotions?null===(g=(T=o.promotions).map)||void 0===g?void 0:g.call(T,(function(o){return A.formatPromotion(o)})).filter(O):[]}:null},formatCategoryPage:function(o){var e,t,i,l;return o?{id:o.id||0,name:o.name||"",slug:o.slug||"",description:o.description||null,banners:(null===(t=null===(e=o.banners)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatBanner).filter(O))||[],bestsellerProducts:(null===(l=null===(i=o.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O))||[]}:null},formatBrandPage:function(o){return o?A.formatBrand(o):null},formatPagination:function(o){return o?{current:o.current||0,first:o.first||0,itemsPerPage:o.items_per_page||0,last:o.last||0,next:o.next||0,prev:o.prev||0,totalItems:o.total_items||0}:null},formatProductDetailPage:function(e){var t,i,l,n,a,r,s,u;return e?o(o({},A.formatProduct(e)),{relatedProducts:(null===(i=null===(t=e.related_products)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,A.formatProduct).filter(O))||[],bestsellerProducts:(null===(n=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,A.formatProduct).filter(O))||[],viewedProducts:(null===(r=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===r?void 0:r.call(a,A.formatProduct).filter(O))||[],promotions:(null===(u=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===u?void 0:u.call(s,A.formatPromotion).filter(O))||[]}):null},formatProductReview:function(o){var e,t;return o?{reviewId:o.review_id||"",createdAt:o.created_at||"",title:o.title||"",detail:o.detail||"",nickname:o.nick_name||"",avatar:o.avatar||"",ratingVotes:(null===(t=null===(e=o.rating_votes)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{ratingCode:o.rating_code||"",value:Number(o.value)||0,percent:Number(o.percent)||0}})))||[],images:o.images||[]}:null},formatProductPromotion:function(o){return o?{id:o.id||0,name:o.name||"",thumbnail:o.thumbnail||"",expirationDate:o.expiration_date||""}:null},formatPromotion:function(o){return o?{id:o.id||0,name:o.name||"",slug:o.slug||"",thumbnail:o.thumbnail||"",expiredDate:o.expired_date||"",banners:o.banners||[],points:0,description:o.description||"",metaTitle:o.meta_title||"",metaKeywords:o.meta_keywords||"",metaDescription:o.meta_description||""}:null},formatCustomAttributes:function(o,e){var t;return(null==o?void 0:o.length)&&(null===(t=null==o?void 0:o.find((function(o){return o.attribute_code===e})))||void 0===t?void 0:t.value)||""},formatAddress:function(o){var e,t,i,l;return o?{id:o.id||0,fullName:o.firstname||"",telephone:o.telephone||"",province:{value:null===(e=o.region)||void 0===e?void 0:e.region_id,label:null===(t=o.region)||void 0===t?void 0:t.region}||null,district:{value:A.formatCustomAttributes(o.custom_attributes,"district_id"),label:A.formatCustomAttributes(o.custom_attributes,"district")},commune:{value:A.formatCustomAttributes(o.custom_attributes,"ward_id"),label:A.formatCustomAttributes(o.custom_attributes,"ward")},street:(null===(i=null==o?void 0:o.street)||void 0===i?void 0:i.length)?null==o?void 0:o.street[0]:"",isDefault:o.default_billing&&o.default_shipping||!1,fullAddress:(null===(l=null==o?void 0:o.extension_attributes)||void 0===l?void 0:l.full_address)||""}:null},formatProvince:function(o){return(null==o?void 0:o.available_regions)?o.available_regions.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatDistrict:function(o){return(null==o?void 0:o.districts)?o.districts.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatCommune:function(o){return(null==o?void 0:o.communes)?o.communes.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatOrder:function(o){var e,t;return o?{orderNumber:(null==o?void 0:o.order_number)||"",shippingData:(null==o?void 0:o.shipping_data)?{shippingMethod:o.shipping_data.shipping_method||"",shippingDescription:o.shipping_data.shipping_description||"",shippingAddress:o.shipping_data.shipping_address?{fullName:o.shipping_data.shipping_address.firstname||"",fullAddress:o.shipping_data.shipping_address.full_address||"",telephone:o.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==o?void 0:o.ordered_date)||"",status:(null==o?void 0:o.status)||null,totals:(null==o?void 0:o.totals)?{subtotal:o.totals.subtotal||0,shippingAmount:o.totals.shipping_amount||0,discountAmount:o.totals.discount_amount||0,grandTotal:o.totals.grand_total||0}:null,products:(null===(t=null===(e=null==o?void 0:o.products)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{sku:o.sku||"",name:o.name||"",price:o.price||0,rowTotal:o.row_total||0,image:o.image||"",qty:o.qty||0}})))||[],paymentMethod:(null==o?void 0:o.payment_method)||""}:null},formatStatistic:function(o){var e,t,i,l,n;return o?{pending:Number(null===(e=null==o?void 0:o.find((function(o){return"pending"===o.status})))||void 0===e?void 0:e.amount)||0,processing:Number(null===(t=null==o?void 0:o.find((function(o){return"processing"===o.status})))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(i=null==o?void 0:o.find((function(o){return"delivering"===o.status})))||void 0===i?void 0:i.amount)||0,complete:Number(null===(l=null==o?void 0:o.find((function(o){return"complete"===o.status})))||void 0===l?void 0:l.amount)||0,canceled:Number(null===(n=null==o?void 0:o.find((function(o){return"canceled"===o.status})))||void 0===n?void 0:n.amount)||0}:{}},formatCartItem:function(o){var e,t,i,l,n,a,r,s;return o?{itemId:o.item_id||0,sku:o.sku||"",qty:o.qty||0,name:o.name||"",price:o.price||0,basePrice:(null===(e=o.extension_attributes)||void 0===e?void 0:e.base_price)||0,productType:o.product_type||"",quoteId:o.quote_id||"",thumbnail:(null===(t=o.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(i=o.extension_attributes)||void 0===i?void 0:i.row_total)||0,promotions:(null===(a=null===(n=null===(l=o.extension_attributes)||void 0===l?void 0:l.promotions)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,A.formatProductPromotion))||[],isInStock:(null===(r=o.extension_attributes)||void 0===r?void 0:r.is_in_stock)||!1,urlProduct:(null===(s=o.extension_attributes)||void 0===s?void 0:s.url_key)||""}:null},formatCartAddress:function(o){var e;return o?{customerAddressId:(null==o?void 0:o.customer_address_id)||0,id:o.id||0,region:o.region||"",regionId:o.region_id||0,regionCode:o.region_code||"",countryId:o.country_id||"",street:o.street||[],postcode:o.postcode||"",city:o.city||"",firstname:o.firstname||"",lastname:o.lastname||"",customerId:o.customer_id||0,email:o.email||"",telephone:o.telephone||"",sameAsBilling:o.same_as_billing||0,saveInAddressBook:o.save_in_address_book||0,fullAddress:(null===(e=o.extension_attributes)||void 0===e?void 0:e.full_address)||""}:null},formatEstimatedShipping:function(o){return o?{carrierCode:o.carrier_code||"",methodCode:o.method_code||"",carrierTitle:o.carrier_title||"",methodTitle:o.method_title||"",amount:o.amount||0,baseAmount:o.base_amount||0,available:o.available||!1,errorMessage:o.error_message||"",priceExclTax:o.price_excl_tax||0,priceInclTax:o.price_incl_tax||0}:null},formatCartLoggedInCustomer:function(o){var e,t,i;return o?{email:o.email||"",firstname:o.firstname||"",lastname:o.lastname||"",id:o.id||0,groupId:o.group_id||0,createdAt:o.created_at||"",updatedAt:o.updated_at||"",createdIn:o.created_in||"",storeId:o.store_id||0,websiteId:o.website_id||0,addresses:(null===(t=null===(e=o.addresses)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatCartAddress))||[],disableAutoGroupChange:o.disable_auto_group_change||0,isSubscribed:(null===(i=o.extension_attributes)||void 0===i?void 0:i.is_subscribed)||!1}:null},formatCart:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_;return o?{id:o.id||0,createdAt:o.created_at||"",updatedAt:o.updated_at||"",isActive:o.is_active||!1,isVirtual:o.is_virtual||!1,items:(null===(i=null===(t=null===(e=o.items)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatCartItem))||void 0===i?void 0:i.sort((function(o,e){return Number(null==e?void 0:e.isInStock)-Number(null==o?void 0:o.isInStock)})))||[],itemsCount:o.items_count||0,itemsQty:o.items_qty||0,customer:o.customer?A.formatCartLoggedInCustomer(o.customer):null,billingAddress:o.billing_address?A.formatCartAddress(o.billing_address):null,origOrderId:o.orig_order_id||0,currency:{globalCurrencyCode:(null===(l=o.currency)||void 0===l?void 0:l.global_currency_code)||"",baseCurrencyCode:(null===(n=o.currency)||void 0===n?void 0:n.base_currency_code)||"",storeCurrencyCode:(null===(a=o.currency)||void 0===a?void 0:a.store_currency_code)||"",quoteCurrencyCode:(null===(r=o.currency)||void 0===r?void 0:r.quote_currency_code)||"",storeToBaseRate:(null===(s=o.currency)||void 0===s?void 0:s.store_to_base_rate)||0,storeToQuoteRate:(null===(u=o.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=o.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=o.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:o.customer_is_guest||!1,customerNoteNotify:o.customer_note_notify||!1,customerTaxClassId:o.customer_tax_class_id||0,storeId:o.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=o.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(function(o){var e,t,i;return{shipping:{address:o.shipping.address?A.formatCartAddress(o.shipping.address):null,method:(null===(e=o.shipping)||void 0===e?void 0:e.method)||""},items:(null===(i=(t=o.items).map)||void 0===i?void 0:i.call(t,A.formatCartItem))||[]}}))}:null},formatCartTotal:function(o){var e,t,i;return o?{grandTotal:o.grand_total||0,baseGrandTotal:o.base_grand_total||0,subtotal:o.subtotal||0,baseSubtotal:o.base_subtotal||0,discountAmount:o.discount_amount||0,baseDiscountAmount:o.base_discount_amount||0,subtotalWithDiscount:o.subtotal_with_discount||0,baseSubtotalWithDiscount:o.base_subtotal_with_discount||0,shippingAmount:o.shipping_amount||0,baseShippingAmount:o.base_shipping_amount||0,shippingDiscountAmount:o.shipping_discount_amount||0,baseShippingDiscountAmount:o.base_shipping_discount_amount||0,taxAmount:o.tax_amount||0,baseTaxAmount:o.base_tax_amount||0,weeeTaxAppliedAmount:o.weee_tax_applied_amount||0,shippingTaxAmount:o.shipping_tax_amount||0,baseShippingTaxAmount:o.base_shipping_tax_amount||0,subtotalInclTax:o.subtotal_incl_tax||0,shippingInclTax:o.shipping_incl_tax||0,baseShippingInclTax:o.base_shipping_incl_tax||0,baseCurrencyCode:o.base_currency_code||"",quoteCurrencyCode:o.quote_currency_code||"",itemsQty:o.items_qty||0,coupon:{couponCode:o.coupon_code||"",couponDescription:(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.coupon_description_text)||""},items:(null===(i=null===(t=o.items)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(o){return{itemId:o.item_id||0,price:o.price||0,basePrice:o.base_price||0,qty:o.qty||0,rowTotal:o.row_total||0,baseRowTotal:o.base_row_total||0,rowTotalWithDiscount:o.row_total_with_discount||0,taxAmount:o.tax_amount||0,baseTaxAmount:o.base_tax_amount||0,taxPercent:o.tax_percent||0,discountAmount:o.discount_amount||0,baseDiscountAmount:o.base_discount_amount||0,discountPercent:o.discount_percent||0,priceInclTax:o.price_incl_tax||0,basePriceInclTax:o.base_price_incl_tax||0,rowTotalInclTax:o.row_total_incl_tax||0,baseRowTotalInclTax:o.base_row_total_incl_tax||0,options:o.options||"",weeeTaxAppliedAmount:o.weee_tax_applied_amount||0,weeeTaxApplied:o.weee_tax_applied||0,name:o.name||""}})))||[],totalSegments:o.total_segments||[]}:null},formatPaymentMethod:function(o){return o?null==o?void 0:o.map((function(o){return{code:(null==o?void 0:o.payment_code)||"",title:(null==o?void 0:o.payment_title)||"",thumbnail:(null==o?void 0:o.payment_thumbnail)||""}})):null},formatPaymentInformation:function(o){var e;return o?{paymentMethods:A.formatPaymentMethod(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.payment_detail_info)||[],totals:A.formatCartTotal(o.totals)}:null},formatOrderConfirmation:function(o){return o?{isSuccess:o.is_success||!1,orderInfo:A.formatOrder(o.order_info)}:null},formatCoupons:function(o){var e;return(null===(e=null==o?void 0:o.items)||void 0===e?void 0:e.length)?o.items.map((function(o){return{code:(null==o?void 0:o.code)||"",name:(null==o?void 0:o.name)||"",thumbnail:(null==o?void 0:o.thumbnail)||"",description:(null==o?void 0:o.expired_date)||""}})):null},formatShippings:function(o){return o?o.map((function(o){var e;return{carrierCode:o.carrier_code||"",methodCode:o.method_code||"",title:o.carrier_title||"",description:o.method_title||"",price:(null==o?void 0:o.base_amount)||0,thumbnail:(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.thumbnail)||""}})):[]}},f=Object.freeze({__proto__:null,dataFormatter:A});export{n as EcomApiTypes,g as EcomConstants,f as EcomDataFormatter,a as EcomDataTypes};
1
+ import{_ as o}from"./tslib.es6-f57f7d0d.js";import{t as e}from"./theme-4965c17b.js";import"./index-97dadfcb.js";import{i}from"./isProduction-591809e4.js";export{t as EcomTypes}from"./types-00639960.js";import"./Locale-26444728.js";var l,n=Object.freeze({__proto__:null}),a=Object.freeze({__proto__:null}),r="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,s="undefined"==typeof window,u=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",c=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",d=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,m=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",p={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},_=r?"http://localhost:3001":i?"https://".concat(p[u]):"https://discover.".concat(p[u]),h=i?"https://wp.".concat(p[u],"/"):"https://staging.".concat(p[u],"/"),E=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:"https://together.".concat(p[u],"/"),v="".concat(_,"/community"),I=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";!function(o){o[o.FEMALE=0]="FEMALE",o[o.MALE=1]="MALE",o[o.ANY=2]="ANY"}(l||(l={}));var T={"vi-VN":{HOME:function(){return JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#website","@type":"WebSite",description:"Hello Bacsi - Health Information",inLanguage:"vi-VN",name:"Hello Bacsi",potentialAction:[{"@type":"SearchAction","query-input":"required name=search_term_string",target:"https://hellobacsi.com/shop/tim-kiem/?keyword={search_term_string}"}],url:"https://hellobacsi.com/shop/"}]})},CATEGORY:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),void 0===t&&(t=[]),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/danh-muc","@type":"WebPage",name:"Hello Bacsi - Danh Muc",url:"https://hellobacsi.com/shop/danh-muc"}}]},{"@type":"ItemList",url:o,numberOfItems:e,itemListElement:t}]})},BRAND:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),void 0===t&&(t=[]),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/thuong-hieu","@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/thuong-hieu"}}]},{"@type":"ItemList",url:o,numberOfItems:e,itemListElement:t}]})},BRAND_DETAIL:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/thuong-hieu/#brand","@type":"BrandDetail",itemListElement:[{"@type":"Item",item:{"@id":"https://hellobacsi.com/shop".concat(o),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop".concat(o)}}]},{"@type":"BrandDetail",url:"https://hellobacsi.com/shop".concat(o),numberOfItems:e,itemListElement:null!=t?t:{}}]})},PRODUCT_DETAIL:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/san-pham/#product","@type":"ProductDetail",itemListElement:[{"@type":"Item",item:{"@id":"https://hellobacsi.com/shop/san-pham/".concat(o),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/san-pham/".concat(o)}}]},{"@type":"BrandDetail",url:o,numberOfItems:e,itemListElement:null!=t?t:{}}]})}}},g=Object.freeze({__proto__:null,isDevelopment:r,IS_SSR:s,locale:u,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:c,GOOGLE_ADMIN_LOCATION_KEY:d,GOOGLE_CLIENT_ID:m,GOOGLE_CALENDAR_API_KEY:"",basePath:"shop",SSO_USER_BASE_PATH:"user",CARE_BASE_PATH:"care",COMMUNITY_BASE_PATH:"community",HEALTH_TOOLs_BASE_PATH:"health-tools",NOTIFICATION_TIME_OUT:3e3,DOMAIN_LOCALES:p,DISCOVER_URL_FE:_,DISCOVER_URL_BE:h,TOGETHER_URL_BE:E,TOGETHER_URL_FE:v,SSO_URL:I,DISCOVERY_FOOTER_URL:"#",HEALTH_CARE_FOOTER_URL:"#",HEALTH_TOOLS_FOOTER_URL:"#",HEALTH_TOGETHER_FOOTER_URL:"#",POLICIES_FOOTER_URL:"#",FAQ_FOOTER_URL:"#",SITEMAP_FOOTER_URL:"#",ABOUT_US_FOOTER_URL:"#",EXECUTIVE_BIOS_FOOTER_URL:"#",ADVERTISING_FOOTER_URL:"#",CONTACT_US_FOOTER_URL:"#",ABOUT_GO_CARE_FOOTER_URL:"#",get Gender(){return l},EMAIL_REGEX:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,COUNTRY_SITENAME:{ID:"Hello Sehat",TH:"Hello Khunmor",MY:"Hello Doktor",KH:"Hello Krupet",TW:"Hello Yishi",MM:"Hello Sayarwon",IN:"Hello Swasthya",VN:"Hello Bacsi",PH:"Hello Doctor"},LOCALE_SPECS:{"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png"}},SOCIAL_MEDIA:{"vi-VN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellobacsi/",INSTAGRAM:"https://www.instagram.com/hellobacsi/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCYHzHDXngnB7jkmcQgXwE0w"},"en-PH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoctorPH/",INSTAGRAM:"https://www.instagram.com/hellodoctor_ph/",TWITTER:null},"km-KH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokrupet/",INSTAGRAM:"https://www.instagram.com/hellokrupetofficial/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCVK4p9YPIMkmoerk3X-y-TQ"},"ms-MY":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoktorMY/",INSTAGRAM:"https://www.instagram.com/_hellodoktor_/",TWITTER:null},"id-ID":{LINKEDIN:"https://www.linkedin.com/company/hello-sehat/",FACEBOOK:"https://www.facebook.com/hellosehat",INSTAGRAM:"https://www.instagram.com/hellosehat/",TWITTER:"https://twitter.com/HelloSehat"},"my-MM":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellosayarwon/",INSTAGRAM:"https://www.facebook.com/hellosayarwon/",TWITTER:null},"zh-TW":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/helloyishi/",INSTAGRAM:"https://www.instagram.com/helloyishi/",TWITTER:null},"hi-IN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloSwasthya/",INSTAGRAM:"https://www.instagram.com/hello_swasthya/",TWITTER:null},"th-TH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokhunmor/",INSTAGRAM:"https://www.instagram.com/hellokhunmor/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCbdbow4UhKfa7rqIhclNPIQ/"}},FLAG_LINKS:{ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},STATIC_PAGES:{"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"}},FAVICONS:{"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}]},LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},MAX_ALLOWED_IMG_SIZE:20971520,COUNTRY_CODE_BY_LOCALE:{"vi-VN":"vn","id-ID":"id","ms-MY":"my","km-KH":"kh","en-PH":"ph","th-TH":"th","my-MM":"mm","zh-TW":"tw","hi-IN":"in"},COUNTRY_CURRENCY_SYMBOL:{"vi-VN":"₫","id-ID":"Rp","ms-MY":"RM","km-KH":"៛","en-PH":"₱","th-TH":"฿","my-MM":"K","zh-TW":"$","hi-IN":"₹"},CURRENCY_PREFIX:{IDR:"Dimulai dari"},LOCALISED_SLUGS:{"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}},HEADER_LOGO_ALIGNMENT:"188px",globalFontFamily:"Inter",ENABLE_COMMUNITY_LOCALES:["vi-VN","id-ID","ms-MY","en-PH","th-TH"],ENABLE_CARE_LOCALES:["vi-VN","id-ID","en-PH"],ENABLE_HEALTH_PARENTING_LOCALES:["vi-VN","en-PH","id-ID","ms-MY","km-KH","th-TH","my-MM","zh-TW"],SEO_SCHEMA:T});function O(o){return null!=o}var A={formatAutoCompleteAddress:function(o){return o&&o.place_id?{placeId:o.place_id,description:o.description||""}:null},formatPrice:function(o,e){var t="string"==typeof o?parseInt(o):o;return new Intl.NumberFormat(e||"vi-VN").format(t)},formatHotSearchKeyword:function(o){return{text:(null==o?void 0:o.name)||""}},formatHelpfulUrl:function(o){return{name:(null==o?void 0:o.name)||"",featuredImage:(null==o?void 0:o.featured_image)||"",url:(null==o?void 0:o.url)||""}},formatCategory:function(o,t,i){var l,n,a,r=i?i+"/"+o.slug:o.slug,s=(null===(n=null===(l=null==o?void 0:o.children)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,(function(e){return A.formatCategory(e,o.id,r)})))||[];return{id:null==o?void 0:o.id,name:(null==o?void 0:o.name)||"",logo:(null==o?void 0:o.logo)||"",slug:(null==o?void 0:o.slug)||"",fullSlug:r||"",children:s,backgroundColor:o.color||e.colors.teal50,parentId:t||0,products:(null===(a=o.products)||void 0===a?void 0:a.map(A.formatProduct))||[]}},formatFooterInfo:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g=(null===(i=null===(t=null===(e=null==o?void 0:o.branch)||void 0===e?void 0:e.branch)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(o){return{flag:o.flag||"",name:o.name||"",url:o.url||""}})))||[],O=(null===(a=null===(n=null===(l=null==o?void 0:o.general)||void 0===l?void 0:l.verified)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(o){return{image:o.image||"",url:o.url||""}})))||[],A=(null===(s=null===(r=null==o?void 0:o.menu)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,(function(o){var e,t;return{menu_title:o.menu_title,items:null===(t=null===(e=o.items)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{title:o.title,url:o.url}}))}})))||[],f=(null===(d=null===(c=null===(u=null==o?void 0:o.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(function(o){return{icon:o.icon||"",name:o.name||"",url:o.url||""}})))||[];return{branch:{title:(null===(m=null==o?void 0:o.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==o?void 0:o.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==o?void 0:o.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(I=null===(v=null==o?void 0:o.general)||void 0===v?void 0:v.copyright)&&void 0!==I?I:"",verified:O},menu:A,social:{title:(null===(T=null==o?void 0:o.social)||void 0===T?void 0:T.title)||"",socials:f}}},formatNavigation:function(o){var e,t,i,l,n,a;return{hotSearchKeywords:(null===(t=null===(e=null==o?void 0:o.hot_search_keywords)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatHotSearchKeyword))||[],helpfulUrls:(null===(l=null===(i=null==o?void 0:o.helpful_urls)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatHelpfulUrl))||[],categories:(null===(a=null===(n=null==o?void 0:o.categories)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(o){return A.formatCategory(o)})))||[],footer:A.formatFooterInfo(null==o?void 0:o.footer),storeId:(null==o?void 0:o.store_id)||0,customerId:(null==o?void 0:o.customer_id)||0,cartItemsQty:"number"==typeof(null==o?void 0:o.cart_items_qty)?o.cart_items_qty:null}},formatPriceInfo:function(o){return o?{final:o.final||0,regular:o.regular||0,discountPercent:o.discount_percent||0}:null},formatProduct:function(o){var e,t,i,l;if(!o)return null;var n={final:0,regular:0,discountPercent:0};return{id:o.id||0,price:o.price&&A.formatPriceInfo(o.price)||n,thumbnail:o.thumbnail||"",name:o.name||"",averageRating:Number((o.average_rating||0).toFixed(2)),reviewsCount:o.reviews_count||0,tag:o.tag||null,sku:o.sku||"",slug:o.slug||"",images:o.images||[],tags:o.tags||[],unit:o.unit||"",brand:o.brand?{name:o.brand.name||"",image:o.brand.image||"",slug:o.brand.slug||"",productsCount:o.brand.products_count||0}:null,description:o.description||"",productPromotions:(null===(t=null===(e=o.product_promotions)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatProductPromotion).filter(O))||[],categories:(null===(l=null===(i=o.categories)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,(function(o){return A.formatCategory(o)})).filter(O))||[],isInStock:(null==o?void 0:o.is_in_stock)||!1}},formatBanner:function(o){return o?{name:o.name||"",url:o.url||"",featuredImage:o.featured_image||"",alt:o.image_alt}:null},formatBlogPost:function(o){var e,t;return o?{title:o.title||"",image:o.image||"",link:o.link||"",postData:o.post_data?{reviewed:o.post_data.reviewed?{author:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.author||void 0),editor:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.editor||void 0),expert:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.expert||void 0),factCheck:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(o.post_data.reviewed.is_author)}:null,categories:o.post_data.categories?null===(t=(e=o.post_data.categories).map)||void 0===t?void 0:t.call(e,(function(o){return{termId:o.term_id||0,name:o.name||"",permalink:o.permalink||"",textColor:o.text_color||""}})):[],postDate:o.post_data.post_date||"",postModified:o.post_data.post_modified||"",modifiedTime:o.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:function(o){return o?{id:o.ID||0,userId:o.user_id||0,formerRole:o.former_role||"",role:o.role||"",slug:o.slug||"",displayName:o.display_name||"",description:o.description||"",profileUrl:o.profile_url||"",avatar:o.avatar||"",avatarThumbnail:o.avatar_thumbnail||"",turnOffProfile:Boolean(o.turn_off_profile)}:null},formatBrand:function(o){var e,t,i,l;return o?{id:o.id||0,image:o.image||"",position:o.position||"",isPopular:o.is_popular||!1,summary:o.summary||"",name:o.name||"",slug:o.slug||"",description:o.description||null,banners:(null===(t=null===(e=o.banners)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatBanner).filter(O))||[],bestsellerProducts:(null===(l=null===(i=o.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O))||[]}:null},formatHomePage:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g;return o?{brands:o.brands?null===(t=(e=o.brands).map)||void 0===t?void 0:t.call(e,A.formatBrand).filter(O):[],hotDeals:o.hot_deals?null===(l=(i=o.hot_deals).map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O):[],newProducts:o.new_products?null===(a=(n=o.new_products).map)||void 0===a?void 0:a.call(n,A.formatProduct).filter(O):[],slideBanners:o.slide_banners?null===(s=(r=o.slide_banners).map)||void 0===s?void 0:s.call(r,A.formatBanner).filter(O):[],subBanners:o.sub_banners?null===(c=(u=o.sub_banners).map)||void 0===c?void 0:c.call(u,A.formatBanner).filter(O):[],footerBanners:o.footer_banners?null===(m=(d=o.footer_banners).map)||void 0===m?void 0:m.call(d,A.formatBanner).filter(O):[],blogPosts:o.blog_posts?null===(_=(p=o.blog_posts).map)||void 0===_?void 0:_.call(p,A.formatBlogPost).filter(O):[],popularCategories:o.popular_categories?null===(E=(h=o.popular_categories).map)||void 0===E?void 0:E.call(h,(function(o){return A.formatCategory(o)})).filter(O):[],suggestProducts:o.suggest_products?null===(I=(v=o.suggest_products).map)||void 0===I?void 0:I.call(v,(function(o){return A.formatCategory(o)})).filter(O):[],promotions:o.promotions?null===(g=(T=o.promotions).map)||void 0===g?void 0:g.call(T,(function(o){return A.formatPromotion(o)})).filter(O):[]}:null},formatCategoryPage:function(o){var e,t,i,l;return o?{id:o.id||0,name:o.name||"",slug:o.slug||"",description:o.description||null,banners:(null===(t=null===(e=o.banners)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatBanner).filter(O))||[],bestsellerProducts:(null===(l=null===(i=o.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O))||[]}:null},formatBrandPage:function(o){return o?A.formatBrand(o):null},formatPagination:function(o){return o?{current:o.current||0,first:o.first||0,itemsPerPage:o.items_per_page||0,last:o.last||0,next:o.next||0,prev:o.prev||0,totalItems:o.total_items||0}:null},formatProductDetailPage:function(e){var t,i,l,n,a,r,s,u;return e?o(o({},A.formatProduct(e)),{relatedProducts:(null===(i=null===(t=e.related_products)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,A.formatProduct).filter(O))||[],bestsellerProducts:(null===(n=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,A.formatProduct).filter(O))||[],viewedProducts:(null===(r=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===r?void 0:r.call(a,A.formatProduct).filter(O))||[],promotions:(null===(u=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===u?void 0:u.call(s,A.formatPromotion).filter(O))||[]}):null},formatProductReview:function(o){var e,t;return o?{reviewId:o.review_id||"",createdAt:o.created_at||"",title:o.title||"",detail:o.detail||"",nickname:o.nick_name||"",avatar:o.avatar||"",ratingVotes:(null===(t=null===(e=o.rating_votes)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{ratingCode:o.rating_code||"",value:Number(o.value)||0,percent:Number(o.percent)||0}})))||[],images:o.images||[]}:null},formatProductPromotion:function(o){return o?{id:o.id||0,name:o.name||"",thumbnail:o.thumbnail||"",expirationDate:o.expiration_date||""}:null},formatPromotion:function(o){return o?{id:o.id||0,name:o.name||"",slug:o.slug||"",thumbnail:o.thumbnail||"",expiredDate:o.expired_date||"",banners:o.banners||[],points:0,description:o.description||"",metaTitle:o.meta_title||"",metaKeywords:o.meta_keywords||"",metaDescription:o.meta_description||""}:null},formatCustomAttributes:function(o,e){var t;return(null==o?void 0:o.length)&&(null===(t=null==o?void 0:o.find((function(o){return o.attribute_code===e})))||void 0===t?void 0:t.value)||""},formatAddress:function(o){var e,t,i,l;return o?{id:o.id||0,fullName:o.firstname||"",telephone:o.telephone||"",province:{value:null===(e=o.region)||void 0===e?void 0:e.region_id,label:null===(t=o.region)||void 0===t?void 0:t.region}||null,district:{value:A.formatCustomAttributes(o.custom_attributes,"district_id"),label:A.formatCustomAttributes(o.custom_attributes,"district")},commune:{value:A.formatCustomAttributes(o.custom_attributes,"ward_id"),label:A.formatCustomAttributes(o.custom_attributes,"ward")},street:(null===(i=null==o?void 0:o.street)||void 0===i?void 0:i.length)?null==o?void 0:o.street[0]:"",isDefault:o.default_billing&&o.default_shipping||!1,fullAddress:(null===(l=null==o?void 0:o.extension_attributes)||void 0===l?void 0:l.full_address)||""}:null},formatProvince:function(o){return(null==o?void 0:o.available_regions)?o.available_regions.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatDistrict:function(o){return(null==o?void 0:o.districts)?o.districts.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatCommune:function(o){return(null==o?void 0:o.communes)?o.communes.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatOrder:function(o){var e,t;return o?{orderNumber:(null==o?void 0:o.order_number)||"",shippingData:(null==o?void 0:o.shipping_data)?{shippingMethod:o.shipping_data.shipping_method||"",shippingDescription:o.shipping_data.shipping_description||"",shippingAddress:o.shipping_data.shipping_address?{fullName:o.shipping_data.shipping_address.firstname||"",fullAddress:o.shipping_data.shipping_address.full_address||"",telephone:o.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==o?void 0:o.ordered_date)||"",status:(null==o?void 0:o.status)||null,totals:(null==o?void 0:o.totals)?{subtotal:o.totals.subtotal||0,shippingAmount:o.totals.shipping_amount||0,discountAmount:o.totals.discount_amount||0,grandTotal:o.totals.grand_total||0}:null,products:(null===(t=null===(e=null==o?void 0:o.products)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{sku:o.sku||"",name:o.name||"",price:o.price||0,rowTotal:o.row_total||0,image:o.image||"",qty:o.qty||0}})))||[],paymentMethod:(null==o?void 0:o.payment_method)||""}:null},formatStatistic:function(o){var e,t,i,l,n;return o?{pending:Number(null===(e=null==o?void 0:o.find((function(o){return"pending"===o.status})))||void 0===e?void 0:e.amount)||0,processing:Number(null===(t=null==o?void 0:o.find((function(o){return"processing"===o.status})))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(i=null==o?void 0:o.find((function(o){return"delivering"===o.status})))||void 0===i?void 0:i.amount)||0,complete:Number(null===(l=null==o?void 0:o.find((function(o){return"complete"===o.status})))||void 0===l?void 0:l.amount)||0,canceled:Number(null===(n=null==o?void 0:o.find((function(o){return"canceled"===o.status})))||void 0===n?void 0:n.amount)||0}:{}},formatCartItem:function(o){var e,t,i,l,n,a,r,s;return o?{itemId:o.item_id||0,sku:o.sku||"",qty:o.qty||0,name:o.name||"",price:o.price||0,basePrice:(null===(e=o.extension_attributes)||void 0===e?void 0:e.base_price)||0,productType:o.product_type||"",quoteId:o.quote_id||"",thumbnail:(null===(t=o.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(i=o.extension_attributes)||void 0===i?void 0:i.row_total)||0,promotions:(null===(a=null===(n=null===(l=o.extension_attributes)||void 0===l?void 0:l.promotions)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,A.formatProductPromotion))||[],isInStock:(null===(r=o.extension_attributes)||void 0===r?void 0:r.is_in_stock)||!1,urlProduct:(null===(s=o.extension_attributes)||void 0===s?void 0:s.url_key)||""}:null},formatCartAddress:function(o){var e;return o?{customerAddressId:(null==o?void 0:o.customer_address_id)||0,id:o.id||0,region:o.region||"",regionId:o.region_id||0,regionCode:o.region_code||"",countryId:o.country_id||"",street:o.street||[],postcode:o.postcode||"",city:o.city||"",firstname:o.firstname||"",lastname:o.lastname||"",customerId:o.customer_id||0,email:o.email||"",telephone:o.telephone||"",sameAsBilling:o.same_as_billing||0,saveInAddressBook:o.save_in_address_book||0,fullAddress:(null===(e=o.extension_attributes)||void 0===e?void 0:e.full_address)||""}:null},formatEstimatedShipping:function(o){return o?{carrierCode:o.carrier_code||"",methodCode:o.method_code||"",carrierTitle:o.carrier_title||"",methodTitle:o.method_title||"",amount:o.amount||0,baseAmount:o.base_amount||0,available:o.available||!1,errorMessage:o.error_message||"",priceExclTax:o.price_excl_tax||0,priceInclTax:o.price_incl_tax||0}:null},formatCartLoggedInCustomer:function(o){var e,t,i;return o?{email:o.email||"",firstname:o.firstname||"",lastname:o.lastname||"",id:o.id||0,groupId:o.group_id||0,createdAt:o.created_at||"",updatedAt:o.updated_at||"",createdIn:o.created_in||"",storeId:o.store_id||0,websiteId:o.website_id||0,addresses:(null===(t=null===(e=o.addresses)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatCartAddress))||[],disableAutoGroupChange:o.disable_auto_group_change||0,isSubscribed:(null===(i=o.extension_attributes)||void 0===i?void 0:i.is_subscribed)||!1}:null},formatCart:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_;return o?{id:o.id||0,createdAt:o.created_at||"",updatedAt:o.updated_at||"",isActive:o.is_active||!1,isVirtual:o.is_virtual||!1,items:(null===(i=null===(t=null===(e=o.items)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatCartItem))||void 0===i?void 0:i.sort((function(o,e){return Number(null==e?void 0:e.isInStock)-Number(null==o?void 0:o.isInStock)})))||[],itemsCount:o.items_count||0,itemsQty:o.items_qty||0,customer:o.customer?A.formatCartLoggedInCustomer(o.customer):null,billingAddress:o.billing_address?A.formatCartAddress(o.billing_address):null,origOrderId:o.orig_order_id||0,currency:{globalCurrencyCode:(null===(l=o.currency)||void 0===l?void 0:l.global_currency_code)||"",baseCurrencyCode:(null===(n=o.currency)||void 0===n?void 0:n.base_currency_code)||"",storeCurrencyCode:(null===(a=o.currency)||void 0===a?void 0:a.store_currency_code)||"",quoteCurrencyCode:(null===(r=o.currency)||void 0===r?void 0:r.quote_currency_code)||"",storeToBaseRate:(null===(s=o.currency)||void 0===s?void 0:s.store_to_base_rate)||0,storeToQuoteRate:(null===(u=o.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=o.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=o.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:o.customer_is_guest||!1,customerNoteNotify:o.customer_note_notify||!1,customerTaxClassId:o.customer_tax_class_id||0,storeId:o.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=o.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(function(o){var e,t,i;return{shipping:{address:o.shipping.address?A.formatCartAddress(o.shipping.address):null,method:(null===(e=o.shipping)||void 0===e?void 0:e.method)||""},items:(null===(i=(t=o.items).map)||void 0===i?void 0:i.call(t,A.formatCartItem))||[]}}))}:null},formatCartTotal:function(o){var e,t,i;return o?{grandTotal:o.grand_total||0,baseGrandTotal:o.base_grand_total||0,subtotal:o.subtotal||0,baseSubtotal:o.base_subtotal||0,discountAmount:o.discount_amount||0,baseDiscountAmount:o.base_discount_amount||0,subtotalWithDiscount:o.subtotal_with_discount||0,baseSubtotalWithDiscount:o.base_subtotal_with_discount||0,shippingAmount:o.shipping_amount||0,baseShippingAmount:o.base_shipping_amount||0,shippingDiscountAmount:o.shipping_discount_amount||0,baseShippingDiscountAmount:o.base_shipping_discount_amount||0,taxAmount:o.tax_amount||0,baseTaxAmount:o.base_tax_amount||0,weeeTaxAppliedAmount:o.weee_tax_applied_amount||0,shippingTaxAmount:o.shipping_tax_amount||0,baseShippingTaxAmount:o.base_shipping_tax_amount||0,subtotalInclTax:o.subtotal_incl_tax||0,shippingInclTax:o.shipping_incl_tax||0,baseShippingInclTax:o.base_shipping_incl_tax||0,baseCurrencyCode:o.base_currency_code||"",quoteCurrencyCode:o.quote_currency_code||"",itemsQty:o.items_qty||0,coupon:{couponCode:o.coupon_code||"",couponDescription:(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.coupon_description_text)||""},items:(null===(i=null===(t=o.items)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(o){return{itemId:o.item_id||0,price:o.price||0,basePrice:o.base_price||0,qty:o.qty||0,rowTotal:o.row_total||0,baseRowTotal:o.base_row_total||0,rowTotalWithDiscount:o.row_total_with_discount||0,taxAmount:o.tax_amount||0,baseTaxAmount:o.base_tax_amount||0,taxPercent:o.tax_percent||0,discountAmount:o.discount_amount||0,baseDiscountAmount:o.base_discount_amount||0,discountPercent:o.discount_percent||0,priceInclTax:o.price_incl_tax||0,basePriceInclTax:o.base_price_incl_tax||0,rowTotalInclTax:o.row_total_incl_tax||0,baseRowTotalInclTax:o.base_row_total_incl_tax||0,options:o.options||"",weeeTaxAppliedAmount:o.weee_tax_applied_amount||0,weeeTaxApplied:o.weee_tax_applied||0,name:o.name||""}})))||[],totalSegments:o.total_segments||[]}:null},formatPaymentMethod:function(o){return o?null==o?void 0:o.map((function(o){return{code:(null==o?void 0:o.payment_code)||"",title:(null==o?void 0:o.payment_title)||"",thumbnail:(null==o?void 0:o.payment_thumbnail)||""}})):null},formatPaymentInformation:function(o){var e;return o?{paymentMethods:A.formatPaymentMethod(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.payment_detail_info)||[],totals:A.formatCartTotal(o.totals)}:null},formatOrderConfirmation:function(o){return o?{isSuccess:o.is_success||!1,orderInfo:A.formatOrder(o.order_info)}:null},formatCoupons:function(o){var e;return(null===(e=null==o?void 0:o.items)||void 0===e?void 0:e.length)?o.items.map((function(o){return{code:(null==o?void 0:o.code)||"",name:(null==o?void 0:o.name)||"",thumbnail:(null==o?void 0:o.thumbnail)||"",description:(null==o?void 0:o.expired_date)||""}})):null},formatShippings:function(o){return o?o.map((function(o){var e;return{carrierCode:o.carrier_code||"",methodCode:o.method_code||"",title:o.carrier_title||"",description:o.method_title||"",price:(null==o?void 0:o.base_amount)||0,thumbnail:(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.thumbnail)||""}})):[]}},f=Object.freeze({__proto__:null,dataFormatter:A});export{n as EcomApiTypes,g as EcomConstants,f as EcomDataFormatter,a as EcomDataTypes};
@@ -1 +1 @@
1
- import e from"react";import{B as t}from"./index-bc6c4e88.js";import{C as a}from"./index-e410f2d2.js";import{T as l}from"./index-a5266555.js";import{d as n}from"./index-fe1c4ff3.js";import{t as o}from"./theme-81ec37fe.js";import{u as r}from"./useTranslations-9e48e8b9.js";import{L as i}from"./index-dcfb7fef.js";import{M as c}from"./index-785e1e6c.js";import"./tslib.es6-f7955333.js";import"./utils-f9dbedef.js";import"styled-components";import"./gAssets.js";import"./isProduction-33e7c093.js";import"./Locale-5e66312f.js";import"./translationsContext-c7a3e170.js";import"string-format";import"./index.styled-a2b84cf6.js";var m="Lj0qoTD",s="OO-qFWT",d=function(t){var a=t.url,l=t.isMobile,n=t.dataEventCategory,o=t.dataEventAction,r=t.dataEventLabel;return e.createElement("div",{className:s,"data-is-mobile":l},e.createElement("img",{loading:"lazy",className:"country-flag",src:a,alt:"Country Flag","data-event-category":n,"data-event-action":o,"data-content-label":r}))},u=function(i){var c,s,u,v,E,g,y,p,f,N,b,h,k,F,z,x,j,C,T,M,L,w,A,_,H,B,I,G,S=i.className,D=i.type,q=void 0===D?"main":D,J=i.footerInfo,K=i.isMobile,O=i.locale,P=r().t,U=null==J?void 0:J.menu,V=(null===(s=null===(c=null==J?void 0:J.general)||void 0===c?void 0:c.verified)||void 0===s?void 0:s.filter(Boolean))||[];return e.createElement("footer",{className:"".concat(m," ").concat(S||""),style:"mini"===q?{backgroundColor:o.colors.neutral50}:{},"next-page-hide":!0},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":q,"next-page-hide":""},"main"===q?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(u=null==J?void 0:J.general)||void 0===u?void 0:u.logo,alt:"Logo","data-is-sehat":"id-ID"===O})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(l,{size:"p1",type:"bold"},null===(v=null==J?void 0:J.general)||void 0===v?void 0:v.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},P("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(E=null==J?void 0:J.social)||void 0===E?void 0:E.title),e.createElement("div",{className:"icons"},null===(y=null===(g=null==J?void 0:J.social)||void 0===g?void 0:g.socials)||void 0===y?void 0:y.map((function(t,a){return e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,href:t.url},e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))}))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,U&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(f=null===(p=U[0])||void 0===p?void 0:p.items)||void 0===f?void 0:f.map((function(t,a){return e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(n[O]).concat(t.url),className:"bigLink",key:a,href:t.url},t.title)}))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(N=U[1])||void 0===N?void 0:N.menu_title),null===(h=null===(b=U[1])||void 0===b?void 0:b.items)||void 0===h?void 0:h.map((function(t,a){return e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(n[O]).concat(t.url),className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:"https://".concat(n[O]).concat(t.url)},t.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(k=U[2])||void 0===k?void 0:k.menu_title),null===(z=null===(F=U[2])||void 0===F?void 0:F.items)||void 0===z?void 0:z.map((function(t,a){return t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))})))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(x=null==J?void 0:J.branch)||void 0===x?void 0:x.title),e.createElement("div",{className:"flags"},null===(C=null===(j=null==J?void 0:J.branch)||void 0===j?void 0:j.branch)||void 0===C?void 0:C.map((function(t,a){return e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(d,{url:t.flag,isMobile:K,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url}))})))))),e.createElement("hr",null),e.createElement("div",{className:"copyright"},e.createElement("div",{className:"copyright-image-wrapper"},V.length?V.map((function(t,a){return e.createElement("a",{href:t.url,key:a,className:"copyright-image"},e.createElement("img",{loading:"lazy",src:t.image,alt:"DMCA Icon"}))})):null),e.createElement(l,{size:"xs",type:"regular",className:"copyright-content"},null===(T=null==J?void 0:J.general)||void 0===T?void 0:T.copyright)),"vi-VN"===O&&e.createElement(l,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):e.createElement(e.Fragment,null,(null==J?void 0:J.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(M=null==J?void 0:J.menu[1])||void 0===M?void 0:M.menu_title),null===(w=null===(L=null==J?void 0:J.menu[1])||void 0===L?void 0:L.items)||void 0===w?void 0:w.map((function(t){return e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":"https://".concat(n[O]).concat(t.url),"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(n[O]).concat(t.url)},e.createElement(l,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:"https://".concat(n[O]).concat(t.url),size:"sm",type:"regular",style:{color:o.colors.gray800}},t.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==J?void 0:J.menu[2])||void 0===A?void 0:A.menu_title),null===(H=null===(_=null==J?void 0:J.menu[2])||void 0===_?void 0:_.items)||void 0===H?void 0:H.map((function(t,a){return e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(l,{size:"sm",type:"regular",style:{color:o.colors.gray800},dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))}))),"mini"!==q&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(B=null==J?void 0:J.social)||void 0===B?void 0:B.title),e.createElement("div",{className:"icons"},null===(G=null===(I=null==J?void 0:J.social)||void 0===I?void 0:I.socials)||void 0===G?void 0:G.map((function(t,a){return e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,href:t.url},e.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))}))))))))))},v="B6-KmWK",E="GS-7mbG",g="qc5bEb3",y="CQGVeuT",p="_6JMoel-",f="_8eUT8Jr",N="cjDwoLi",b=function(t){var l,n=t.logoType,r=void 0===n?"marryBaby":n,m=t.footerMenu,s=t.background;if(!m)return null;var d=m.general,u=m.menu,b=m.socials;return e.createElement("footer",{className:v,style:{backgroundColor:s||"none"}},e.createElement("div",{className:N},e.createElement(a,null,e.createElement("div",{className:E},null==u?void 0:u.map((function(t,a){var l=t.menu_title,n=t.items;return e.createElement("div",{className:g,key:"mbf".concat(a)},e.createElement(c,{className:"title",type:"subtitle-1",color:o.mbColors.pink},l),null==n?void 0:n.map((function(t,a){var l=t.title,n=t.url;return e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":"".concat(n),className:"link",href:n,key:"footer-links-".concat(a)},e.createElement("div",{className:y,key:"mbitem".concat(a)},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},l)))})))})))),e.createElement(a,null,e.createElement("div",{className:p},e.createElement(i,{className:"logo",type:r}),e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},null==d?void 0:d.content)),e.createElement("div",{className:"social-link"},null==b?void 0:b.map((function(t,a){var l=t.icon,n=t.name,o=t.url;return e.createElement("a",{key:"social".concat(a),target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - ".concat(n),"data-content-label":n,href:o},e.createElement("img",{loading:"lazy",src:l,alt:n}))}))))),e.createElement("div",{className:f},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-3",color:o.colors.white},null==d?void 0:d.copyright),e.createElement("div",{className:"verify"},null===(l=null==d?void 0:d.verified)||void 0===l?void 0:l.map((function(t,a){var l=t.image,n=t.url;return e.createElement("img",{loading:"lazy",key:"imgMbFt".concat(a),src:l,alt:n})}))))))))},h=function(t){var a=t.type,l=t.isMobile,n=void 0===l||l,o=t.locale,r=t.footerInfo,i=t.siteType,c=t.background;return"helloSites"===i?e.createElement(u,{isMobile:n,type:a,locale:o,footerInfo:r||{}}):e.createElement(b,{footerMenu:r,background:c})};export{h as Footer};
1
+ import e from"react";import{B as t}from"./index-e0ba9ff2.js";import{C as a}from"./index-6667c357.js";import{T as l}from"./index-c2d22670.js";import{d as n}from"./index-97dadfcb.js";import{t as o}from"./theme-4965c17b.js";import{u as r}from"./useTranslations-9a6a81b8.js";import{L as i}from"./index-62b8eca0.js";import{M as c}from"./index-56e05694.js";import"./tslib.es6-f57f7d0d.js";import"./utils-84d591f6.js";import"styled-components";import"./gAssets.js";import"./isProduction-591809e4.js";import"./Locale-26444728.js";import"./translationsContext-45e7b7c0.js";import"string-format";import"./index.styled-5143dec4.js";var m="Lj0qoTD",s="OO-qFWT",d=function(t){var a=t.url,l=t.isMobile,n=t.dataEventCategory,o=t.dataEventAction,r=t.dataEventLabel;return e.createElement("div",{className:s,"data-is-mobile":l},e.createElement("img",{loading:"lazy",className:"country-flag",src:a,alt:"Country Flag","data-event-category":n,"data-event-action":o,"data-content-label":r}))},u=function(i){var c,s,u,v,E,g,y,p,f,b,N,h,k,F,z,j,C,T,x,M,L,w,A,_,H,B,I,G,S=i.className,D=i.type,q=void 0===D?"main":D,J=i.footerInfo,K=i.isMobile,O=i.locale,P=r().t,U=null==J?void 0:J.menu,V=(null===(s=null===(c=null==J?void 0:J.general)||void 0===c?void 0:c.verified)||void 0===s?void 0:s.filter(Boolean))||[];return e.createElement("footer",{className:"".concat(m," ").concat(S||""),style:"mini"===q?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":q},"main"===q?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(u=null==J?void 0:J.general)||void 0===u?void 0:u.logo,alt:"Logo","data-is-sehat":"id-ID"===O})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(l,{size:"p1",type:"bold"},null===(v=null==J?void 0:J.general)||void 0===v?void 0:v.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},P("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(E=null==J?void 0:J.social)||void 0===E?void 0:E.title),e.createElement("div",{className:"icons"},null===(y=null===(g=null==J?void 0:J.social)||void 0===g?void 0:g.socials)||void 0===y?void 0:y.map((function(t,a){return e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,href:t.url},e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))}))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,U&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(f=null===(p=U[0])||void 0===p?void 0:p.items)||void 0===f?void 0:f.map((function(t,a){return e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(n[O]).concat(t.url),className:"bigLink",key:a,href:t.url},t.title)}))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(b=U[1])||void 0===b?void 0:b.menu_title),null===(h=null===(N=U[1])||void 0===N?void 0:N.items)||void 0===h?void 0:h.map((function(t,a){return e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(n[O]).concat(t.url),className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:"https://".concat(n[O]).concat(t.url)},t.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(k=U[2])||void 0===k?void 0:k.menu_title),null===(z=null===(F=U[2])||void 0===F?void 0:F.items)||void 0===z?void 0:z.map((function(t,a){return t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))})))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(j=null==J?void 0:J.branch)||void 0===j?void 0:j.title),e.createElement("div",{className:"flags"},null===(T=null===(C=null==J?void 0:J.branch)||void 0===C?void 0:C.branch)||void 0===T?void 0:T.map((function(t,a){return e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(d,{url:t.flag,isMobile:K,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url}))})))))),e.createElement("hr",null),e.createElement("div",{className:"copyright"},e.createElement("div",{className:"copyright-image-wrapper"},V.length?V.map((function(t,a){return e.createElement("a",{href:t.url,key:a,className:"copyright-image"},e.createElement("img",{loading:"lazy",src:t.image,alt:"DMCA Icon"}))})):null),e.createElement(l,{size:"xs",type:"regular",className:"copyright-content"},null===(x=null==J?void 0:J.general)||void 0===x?void 0:x.copyright)),"vi-VN"===O&&e.createElement(l,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):e.createElement(e.Fragment,null,(null==J?void 0:J.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(M=null==J?void 0:J.menu[1])||void 0===M?void 0:M.menu_title),null===(w=null===(L=null==J?void 0:J.menu[1])||void 0===L?void 0:L.items)||void 0===w?void 0:w.map((function(t){return e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":"https://".concat(n[O]).concat(t.url),"data-event-category":"Footer","data-event-action":t.title,"data-event-label":"https://".concat(n[O]).concat(t.url)},e.createElement(l,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:"https://".concat(n[O]).concat(t.url),size:"sm",type:"regular",style:{color:o.colors.gray800}},t.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==J?void 0:J.menu[2])||void 0===A?void 0:A.menu_title),null===(H=null===(_=null==J?void 0:J.menu[2])||void 0===_?void 0:_.items)||void 0===H?void 0:H.map((function(t,a){return e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(l,{size:"sm",type:"regular",style:{color:o.colors.gray800},dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))}))),"mini"!==q&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(B=null==J?void 0:J.social)||void 0===B?void 0:B.title),e.createElement("div",{className:"icons"},null===(G=null===(I=null==J?void 0:J.social)||void 0===I?void 0:I.socials)||void 0===G?void 0:G.map((function(t,a){return e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,href:t.url},e.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(t.name),"data-content-label":t.url,src:t.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))}))))))))))},v="B6-KmWK",E="GS-7mbG",g="qc5bEb3",y="CQGVeuT",p="_6JMoel-",f="_8eUT8Jr",b="cjDwoLi",N=function(t){var l,n=t.logoType,r=void 0===n?"marryBaby":n,m=t.footerMenu,s=t.background;if(!m)return null;var d=m.general,u=m.menu,N=m.socials;return e.createElement("footer",{className:v,style:{backgroundColor:s||"none"}},e.createElement("div",{className:b},e.createElement(a,null,e.createElement("div",{className:E},null==u?void 0:u.map((function(t,a){var l=t.menu_title,n=t.items;return e.createElement("div",{className:g,key:"mbf".concat(a)},e.createElement(c,{className:"title",type:"subtitle-1",color:o.mbColors.pink},l),null==n?void 0:n.map((function(t,a){var l=t.title,n=t.url;return e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":"".concat(n),className:"link",href:n,key:"footer-links-".concat(a)},e.createElement("div",{className:y,key:"mbitem".concat(a)},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},l)))})))})))),e.createElement(a,null,e.createElement("div",{className:p},e.createElement(i,{className:"logo",type:r}),e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},null==d?void 0:d.content)),e.createElement("div",{className:"social-link"},null==N?void 0:N.map((function(t,a){var l=t.icon,n=t.name,o=t.url;return e.createElement("a",{key:"social".concat(a),target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - ".concat(n),"data-content-label":n,href:o},e.createElement("img",{loading:"lazy",src:l,alt:n}))}))))),e.createElement("div",{className:f},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-3",color:o.colors.white},null==d?void 0:d.copyright),e.createElement("div",{className:"verify"},null===(l=null==d?void 0:d.verified)||void 0===l?void 0:l.map((function(t,a){var l=t.image,n=t.url;return e.createElement("img",{loading:"lazy",key:"imgMbFt".concat(a),src:l,alt:n})}))))))))},h=function(t){var a=t.type,l=t.isMobile,n=void 0===l||l,o=t.locale,r=t.footerInfo,i=t.siteType,c=t.background;return"helloSites"===i?e.createElement(u,{isMobile:n,type:a,locale:o,footerInfo:r||{}}):e.createElement(N,{footerMenu:r,background:c})};export{h as Footer};
@@ -1 +1 @@
1
- import{d as e}from"./index-fe1c4ff3.js";import{i as t}from"./isProduction-33e7c093.js";import"./Locale-5e66312f.js";var o="hellosehat.com",n=function(){function n(){var e=this;this.baseDomain="",this.subPath="",this.getAssetPath=function(o,n,i){var s="https://hhg-common."+[n||e.getBaseDomain(),i||e.subPath,o].join("/");return t||process.env.JEST_WORKER_ID?s:s+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}return n.prototype.getBaseDomain=function(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){var t=window.location.host,n=t.split("."),i=e[Object.keys(e).find((function(o){return t.includes(e[o])}))];return n.includes("localhost")||n.includes("hellohealthgroup")||n.every((function(e){return t=e,!isNaN(parseFloat(t))&&isFinite(t);var t}))||!i?o:i}return o},n}(),i=new n;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]);export{i as CommonGAssets,n as GAssets};
1
+ import{d as e}from"./index-97dadfcb.js";import{i as t}from"./isProduction-591809e4.js";import"./Locale-26444728.js";var o="hellosehat.com",n=function(){function n(){var e=this;this.baseDomain="",this.subPath="",this.getAssetPath=function(o,n,i){var s="https://hhg-common."+[n||e.getBaseDomain(),i||e.subPath,o].join("/");return t||process.env.JEST_WORKER_ID?s:s+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}return n.prototype.getBaseDomain=function(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){var t=window.location.host,n=t.split("."),i=e[Object.keys(e).find((function(o){return t.includes(e[o])}))];return n.includes("localhost")||n.includes("hellohealthgroup")||n.every((function(e){return t=e,!isNaN(parseFloat(t))&&isFinite(t);var t}))||!i?o:i}return o},n}(),i=new n;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]);export{i as CommonGAssets,n as GAssets};
@@ -1 +1 @@
1
- import{c as t,d as n}from"./tslib.es6-f7955333.js";import{g as e}from"./core-ee0e7ff6.js";import{c as r}from"./routing-ae4d0a36.js";var i=function(t,n){var e,r;if(!t)return{};var i="tl-PH"===n?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(e=t.link)||void 0===e?void 0:e.startsWith("http"))?t.link:"".concat(i,"/health-tools")+(null===(r=t.link)||void 0===r?void 0:r.replace("".concat(i,"/"),"/")),subtitle:t.subtitle,title:t.title}},o=function(e){return t(void 0,void 0,void 0,(function(){var t,o,s,l,a,u,c;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,8,,9]),"undefined"==typeof window?[3,1]:(t=window.fetch,[3,3]);case 1:return[4,require("node-fetch")];case 2:t=n.sent(),n.label=3;case 3:o="tl-PH"===e?"lang=fil":"",s=[],n.label=4;case 4:return n.trys.push([4,6,,7]),[4,t("".concat(r(e),"/wp-json/api/healthtools?ismenu=0").concat(o?"&"+o:"")).then((function(t){return t.json()}))];case 5:return l=n.sent(),s=(null===(c=null===(u=null==l?void 0:l.data)||void 0===u?void 0:u.map)||void 0===c?void 0:c.call(u,(function(t){return i(t,e)})))||[],[3,7];case 6:return n.sent(),[3,7];case 7:return[2,s];case 8:return a=n.sent(),console.error(a),[3,9];case 9:return[2]}}))}))},s=function(r){return t(void 0,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,e("all-health-tools",(function(){return o(r||"en-PH")}),(function(t){return!!(null==t?void 0:t.length)}),6e4)];case 1:return[2,t.sent()||[]]}}))}))};export{s as a,i as f,o as g};
1
+ import{c as t,d as n}from"./tslib.es6-f57f7d0d.js";import{g as e}from"./core-b0a1c851.js";import{c as r}from"./routing-0797aee7.js";var i=function(t,n){var e,r;if(!t)return{};var i="tl-PH"===n?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(e=t.link)||void 0===e?void 0:e.startsWith("http"))?t.link:"".concat(i,"/health-tools")+(null===(r=t.link)||void 0===r?void 0:r.replace("".concat(i,"/"),"/")),subtitle:t.subtitle,title:t.title}},o=function(e){return t(void 0,void 0,void 0,(function(){var t,o,s,l,a,u,c;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,8,,9]),"undefined"==typeof window?[3,1]:(t=window.fetch,[3,3]);case 1:return[4,require("node-fetch")];case 2:t=n.sent(),n.label=3;case 3:o="tl-PH"===e?"lang=fil":"",s=[],n.label=4;case 4:return n.trys.push([4,6,,7]),[4,t("".concat(r(e),"/wp-json/api/healthtools?ismenu=0").concat(o?"&"+o:"")).then((function(t){return t.json()}))];case 5:return l=n.sent(),s=(null===(c=null===(u=null==l?void 0:l.data)||void 0===u?void 0:u.map)||void 0===c?void 0:c.call(u,(function(t){return i(t,e)})))||[],[3,7];case 6:return n.sent(),[3,7];case 7:return[2,s];case 8:return a=n.sent(),console.error(a),[3,9];case 9:return[2]}}))}))},s=function(r){return t(void 0,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,e("all-health-tools",(function(){return o(r||"en-PH")}),(function(t){return!!(null==t?void 0:t.length)}),6e4)];case 1:return[2,t.sent()||[]]}}))}))};export{s as a,i as f,o as g};
@@ -1 +1 @@
1
- import e from"react";import{L as t}from"./Locale-5e66312f.js";import{CommonGAssets as C}from"./gAssets.js";var l=function(l){return[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(l)},{icon:e.createElement("img",{src:C.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:"https://sp.zalo.me/share?href=".concat(l),allowedLocales:[t.Vietnam]},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:"https://twitter.com/intent/tweet?url=".concat(l)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_687_88944)"},e.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),e.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),e.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#36F46C"}),e.createElement("stop",{offset:"1",stopColor:"#03D749"})),e.createElement("clipPath",{id:"clip0_687_88944"},e.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:"https://wa.me/?text=".concat(l)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:"https://www.linkedin.com/sharing/share-offsite/?url=".concat(l)},{icon:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},e.createElement("g",{id:"surface1"},e.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),e.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),e.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),e.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:"http://line.me/R/msg/text/?".concat(l),allowedLocales:[t.Taiwan]}]};export{l as g};
1
+ import e from"react";import{L as t}from"./Locale-26444728.js";import{CommonGAssets as C}from"./gAssets.js";var l=function(l){return[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(l)},{icon:e.createElement("img",{src:C.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:"https://sp.zalo.me/share?href=".concat(l),allowedLocales:[t.Vietnam]},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:"https://twitter.com/intent/tweet?url=".concat(l)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_687_88944)"},e.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),e.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),e.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#36F46C"}),e.createElement("stop",{offset:"1",stopColor:"#03D749"})),e.createElement("clipPath",{id:"clip0_687_88944"},e.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:"https://wa.me/?text=".concat(l)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:"https://www.linkedin.com/sharing/share-offsite/?url=".concat(l)},{icon:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},e.createElement("g",{id:"surface1"},e.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),e.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),e.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),e.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:"http://line.me/R/msg/text/?".concat(l),allowedLocales:[t.Taiwan]}]};export{l as g};
@@ -1 +1 @@
1
- export{u as useTranslations}from"./useTranslations-9e48e8b9.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-67607227.js";export{u as useFbDataLayer}from"./useFbDataLayer-d2a26204.js";export{u as useHealthToolsCache}from"./useHealthToolCache-c359d0a9.js";import"react";import"./translationsContext-c7a3e170.js";import"string-format";import"lodash/debounce";import"./tslib.es6-f7955333.js";import"./cookieHelper-d3531626.js";import"./getDynamicHealthTool-2f9301e2.js";import"./core-ee0e7ff6.js";import"./isProduction-33e7c093.js";import"./routing-ae4d0a36.js";import"./index-fe1c4ff3.js";import"./Locale-5e66312f.js";
1
+ export{u as useTranslations}from"./useTranslations-9a6a81b8.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-3f35b7a8.js";export{u as useFbDataLayer}from"./useFbDataLayer-91991f18.js";export{u as useHealthToolsCache}from"./useHealthToolCache-29ad868d.js";import"react";import"./translationsContext-45e7b7c0.js";import"string-format";import"lodash/debounce";import"./tslib.es6-f57f7d0d.js";import"./cookieHelper-b7383c13.js";import"./getDynamicHealthTool-f1ab8772.js";import"./core-b0a1c851.js";import"./isProduction-591809e4.js";import"./routing-0797aee7.js";import"./index-97dadfcb.js";import"./Locale-26444728.js";
package/build/esm/i18n.js CHANGED
@@ -1 +1 @@
1
- export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-3456f1dd.js";export{T as TranslationsContext,d as defaultTranslations}from"./translationsContext-c7a3e170.js";import"./tslib.es6-f7955333.js";import"react";
1
+ export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-cb07d5c7.js";export{T as TranslationsContext,d as defaultTranslations}from"./translationsContext-45e7b7c0.js";import"./tslib.es6-f57f7d0d.js";import"react";
@@ -0,0 +1 @@
1
+ import{e,_ as t,b as n,f as a,c as r,d as l}from"./tslib.es6-f57f7d0d.js";import*as i from"react";import o,{Component as c,useEffect as m,forwardRef as h,useRef as d,useState as s,useCallback as u,useImperativeHandle as p}from"react";import{Image as f,Textarea as v,Modal as g,Accordion as E,Indicator as z,Avatar as w,Checkbox as M,Slider as x,Radio as y,Flex as b}from"@mantine/core";import{CommonGAssets as k}from"./gAssets.js";import{DatePicker as H,DateRangePicker as C}from"@mantine/dates";import j,{css as S}from"styled-components";import P from"dayjs";import"./screenSizeContext-4404592f.js";import{t as L}from"./theme-4965c17b.js";import{I as A,s as I}from"./index-97dadfcb.js";import"./utils-84d591f6.js";import"./isProduction-591809e4.js";import{L as D}from"./Locale-26444728.js";import{Carousel as B}from"@mantine/carousel";import{g as N}from"./defaultClassWrapper-b3252d64.js";import{c as R}from"./index-2f307dca.js";var V,T,W,F,O=j(H)(T||(T=e(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(t){return t.fullWidth&&S(V||(V=e(["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),U=j(C)(F||(F=e(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(t){return t.fullWidth&&S(W||(W=e(["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),G=function(e){return o.createElement(O,t({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:o.createElement(f,{src:k.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},e))};G.Range=function(e){return o.createElement(U,t({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:o.createElement(f,{src:k.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},e))};var X,Y,K,Z=j(v)(X||(X=e(["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"],["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"])),L.colors.gray200),_=j(g)(Y||(Y=e(["\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n"],["\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n"])),L.colors.neutral100),Q=j(E)(K||(K=e(["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"],["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"])),(function(e){return e.closeChevron||k.getAssetPath("plus-icon.svg")}),(function(e){return e.openChevron||k.getAssetPath("minus-icon.svg")})),q=function(e){var a=e.children,r=n(e,["children"]);return o.createElement(Q,t({chevron:o.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},r),a)};q.Control=E.Control,q.Item=E.Item,q.Panel=E.Panel;var J=k.getAssetPath("avatar.jpg"),$=function(e){var a=e.withIndicator,r=void 0!==a&&a,l=e.indicatorConfig,i=void 0===l?null:l,c=e.size,m=void 0===c?56:c,h=e.children,d=e.styles,s=n(e,["withIndicator","indicatorConfig","size","children","styles"]),u=function(){return o.createElement(w,t({size:m,radius:"xl"},s,{imageProps:t({loading:"lazy"},s.imageProps)}),h||o.createElement("img",{loading:"lazy",src:J,width:m}))};return r?o.createElement(z,t({inline:!0,position:"bottom-end",offset:9},i,{styles:t({indicator:{backgroundColor:o.isValidElement(i.label)&&"transparent",zIndex:1}},d)}),u()):u()},ee=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t}return a(t,e),t.getDerivedStateFromError=function(){return{hasError:!0}},t.prototype.componentDidCatch=function(e,t){console.error("Uncaught error:",e,t)},t.prototype.render=function(){return this.state.hasError?this.props.fallback||o.createElement(o.Fragment,null):this.props.children},t}(c),te=function(e){var a=e.slidesToShow,r=void 0===a?1:a,l=e.children,i=n(e,["slidesToShow","children"]);return(Array.isArray(l)?l.length:1)?o.createElement(ee,null,o.createElement(B,t({slideSize:String(Math.floor(1/r*100))+"%",containScroll:"trimSnaps"},i),l)):null};te.Slide=B.Slide;var ne=function(e){return o.createElement(M,t({},e))};ne.Group=M.Group;var ae,re,le,ie,oe,ce="hhgcomp-mantine-slider-slider",me=N(j(x)(ae||(ae=e(["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"],["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"])),(function(e){return e.color||e.theme.colors.primaryBase})),ce),he=j.div(re||(re=e(["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"],["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"])),ce),de=j(y)(le||(le=e(["\n .mantine-Radio-icon {\n color: ",";\n }\n"],["\n .mantine-Radio-icon {\n color: ",";\n }\n"])),(function(e){return e.color||L.colors.primaryBase})),se=function(e){return o.createElement(de,t({size:"sm"},e))};se.Group=y.Group;var ue=((ie={})[D.Vietnam]="vi",ie[D.Cambodia]="km",ie[D.India]="hi",ie[D.Indonesia]="id",ie[D.Malaysia]="ms",ie[D.Thailand]="th",ie[D.Taiwan]="zh-tw",ie[D.PhilippinesTagalog]="tl-ph",ie[D.PhilippinesEnglish]="en",ie[D.Myanmar]="my",ie),pe=((oe={})[D.Vietnam]=function(){return import("dayjs/locale/vi.js")},oe[D.Cambodia]=function(){return import("dayjs/locale/km.js")},oe[D.India]=function(){return import("dayjs/locale/hi.js")},oe[D.Indonesia]=function(){return import("dayjs/locale/id.js")},oe[D.Malaysia]=function(){return import("dayjs/locale/ms.js")},oe[D.Thailand]=function(){return import("dayjs/locale/th.js")},oe[D.Taiwan]=function(){return import("dayjs/locale/zh-tw.js")},oe[D.PhilippinesTagalog]=function(){return import("dayjs/locale/tl-ph.js")},oe[D.PhilippinesEnglish]=function(){return import("dayjs/locale/en.js")},oe[D.Myanmar]=function(){return import("dayjs/locale/my.js")},oe),fe=function(e){m((function(){var t;null===(t=pe[e])||void 0===t||t.call(pe),P.locale(ue[e])}),[e])},ve={"&:hover":{borderColor:"".concat(L.colors.blue200),boxShadow:"0 0 2px 2px ".concat(L.colors.blue200)}},ge=function(e){return{datesLocale:ue[e],dateFormat:A[e].dateFormat,fontFamily:e===D.Cambodia?"Battambang,":"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",components:{InputWrapper:{styles:{label:{marginBottom:"0.375rem"},error:{marginTop:"0.375rem"}}},NumberInput:{defaultProps:{decimalSeparator:A[e].separator}},Input:{styles:{input:{borderRadius:"6px",transition:"all ".concat("100ms"," ease-in-out"),"&:hover, &:focus":{borderColor:"".concat(L.colors.blue200),boxShadow:"0 0 2px 2px ".concat(L.colors.blue200)}},invalid:{color:"#000"}}},Checkbox:{styles:{input:ve}},Radio:{styles:{radio:t(t({backgroundColor:"#ffffff"},ve),{"&:checked":{backgroundColor:"#ffffff"}})}}}}},Ee=R((function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],a=0;a<arguments.length;a++){var r=arguments[a];if(r){var l=typeof r;if("string"===l||"number"===l)e.push(r);else if(Array.isArray(r)){if(r.length){var i=n.apply(null,r);i&&e.push(i)}}else if("object"===l){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var o in r)t.call(r,o)&&r[o]&&e.push(o)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}));function ze(e,t){void 0===t&&(t=6);var n=new Array(t).fill("");if(e){var a=e.toString().split("");n.map((function(e,t){a[t]&&(n[t]=a[t]||"")}))}return n}function we(e){return e.join("")}var Me="_2iQs0sk",xe="Ia6IojY",ye=h((function(e,a){var r=e.maxLength,l=void 0===r?1:r,i=e.placeholder,c=e.className,m=n(e,["maxLength","placeholder","className"]);return o.createElement("input",t({maxLength:l,className:Ee(xe,"otpInput",c),placeholder:i,type:"number"},m,{ref:a}))})),be=h((function(e,t){var n=e.valueLength,a=void 0===n?6:n,r=e.type,l=void 0===r?"number":r,i=e.value,c=e.defaultValue,h=e.onChange,f=e.onBlur,v=d(new Array(a).fill(null)),g=s(c||i),E=g[0],z=g[1],w=s(-1),M=w[0],x=w[1],y=s((function(){return ze(E,a)})),k=y[0],H=y[1],C=u((function(){if(-1!==M){var e=v.current[M];if(e){e.value="";var t=k;t[M]="",H(t),z((function(){return we(t)})),null==h||h(we(t))}}}),[M,h,k]),j=u((function(){if(0!==M){var e=v.current[M];e&&e.blur();var t=v.current[M-1];t&&t.focus()}}),[M]),S=u((function(){if(M!==a-1){var e=v.current[M];e&&e.blur();var t=v.current[M+1];t&&t.focus()}}),[M,a]),P=u((function(e){var t=e.target,n=t.value.toString().slice(0,1),a=v.current.findIndex((function(e){return e===t}));if(-1!==a){var r=k;r[a]=n,H(r),z((function(){return we(r)})),null==h||h(we(r))}S()}),[S,h,k]),L=u((function(e){var t=e.target,n=v.current.findIndex((function(e){return e===t}));"number"===l?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==n&&x(n)}),[]),A=u((function(e){var t=ze(e.clipboardData.getData("text/plain"),a),n=we(t);H(t),z(n),null==h||h(n)}),[h,l,a]),I=u((function(e){8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),C(),j()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),C()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),j()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),S()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[C,S,j]);return p(t,(function(){return v.current[0]}),[]),m((function(){H((function(){return ze(i,a)})),z(i)}),[a,i]),o.createElement(b,{justify:"center",columnGap:8,className:Ee(Me,"otpContainer")},k.map((function(e,t){return o.createElement(ye,{ref:function(e){v.current[t]=e},key:""+t,value:e,type:l,onChange:P,onFocus:L,onKeyDown:I,onPaste:A,onBlur:f})})))})),ke=function(e){return i.createElement("svg",t({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"}))},He=function(e){return i.createElement("svg",t({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),i.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),i.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),i.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},i.createElement("g",{strokeLinejoin:"bevel"},i.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),i.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),i.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),i.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"}),i.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"})),i.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"}),i.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),i.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"}),i.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"}),i.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"}),i.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),i.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"}),i.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"}),i.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"}),i.createElement("g",{fill:"none",strokeWidth:.8},i.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),i.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.createElement("g",{id:"a"},i.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),i.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"}),i.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"}),i.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"}),i.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"}),i.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"})),i.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),i.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),i.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),i.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),i.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),i.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),i.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),i.createElement("path",{fill:"none",d:"M99 664.2h193M115.8 713h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m65.8 37.5h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m66.2 37.5h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2"})))},Ce=function(e){return i.createElement("svg",t({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),i.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),i.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),i.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),i.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},i.createElement("circle",{r:20,fill:"#008"}),i.createElement("circle",{r:17.5,fill:"#fff"}),i.createElement("circle",{r:3.5,fill:"#008"}),i.createElement("g",{id:"d"},i.createElement("g",{id:"c"},i.createElement("g",{id:"b"},i.createElement("g",{id:"a",fill:"#008"},i.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),i.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),i.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),i.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),i.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),i.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),i.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"})))},je=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},i.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),i.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"})))},Se=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),i.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),i.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),i.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"}),i.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"}))},Pe=function(e){return i.createElement("svg",t({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),i.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),i.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),i.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),i.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},i.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),i.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),i.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),i.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),i.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"})))},Le=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),i.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),i.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),i.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"}))},Ae=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("clipPath",{id:"a"},i.createElement("path",{d:"M0 0h640v480H0z"})),i.createElement("g",{clipPath:"url(#a)"},i.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),i.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),i.createElement("g",{fill:"#fff"},i.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"}),i.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.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"}),i.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),i.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"}),i.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),i.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),i.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),i.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"})))},Ie=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("g",{fillRule:"evenodd"},i.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),i.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),i.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"})))},De=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("defs",null,i.createElement("clipPath",{id:"a"},i.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),i.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},i.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),i.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"})))},Be=Object.values(I).reduce((function(e,t){var n=t.phoneCountry;return e.includes(n)||e.push(n),e}),[]),Ne={PH:Le,KH:He,ID:Ce,IN:je,MM:Pe,MY:Se,TH:Ie,TW:Ae,VN:De},Re={phoneInput:"i-9Ibox",error:"YDWHh9b"},Ve=h((function(e,a){var i,c=e.isError,h=e.defaultCountry,d=e.countries,u=void 0===d?Be:d,p=e.countryCallingCodeEditable,f=void 0!==p&&p,v=e.defaultValue,g=e.value,E=e.onChange,z=e.className,w=n(e,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),M=s(v||g),x=M[0],y=M[1],b=s(null),k=b[0],H=b[1];return m((function(){y(g)}),[g]),m((function(){r(void 0,void 0,void 0,(function(){var e;return l(this,(function(t){switch(t.label){case 0:return[4,import("react-phone-number-input")];case 1:return e=t.sent(),H(e),[2]}}))}))}),[]),k?o.createElement(k.default,t({ref:a,value:x,onChange:function(e){y(e),null==E||E(e)},countries:u,defaultCountry:h,countryCallingCodeEditable:f,className:Ee(Re.phoneInput,(i={isError:c},i[Re.error]=c,i),z),flagUrl:void 0,flagComponent:function(e){var a=e.country,r=e.countryName;e.flagUrl;var l=n(e,["country","countryName","flagUrl"]),i=Ne[a],c=a?"(+".concat(k.getCountryCallingCode(a),")"):"";return i?o.createElement(o.Fragment,null,o.createElement(i,t({title:r},l)),o.createElement("span",{className:Ee(Re.callingCode,"PhoneInputCountryIconCallingCode")},c)):o.createElement(o.Fragment,null)},countrySelectProps:{arrowComponent:function(){return o.createElement("div",{className:Ee(Re.arrowSelect,"PhoneInputArrowContainer")},o.createElement(ke,null))}}},w)):null}));export{q as A,ke as C,G as D,Ce as I,Se as M,be as O,Le as P,se as R,_ as S,Ae as T,De as V,He as a,je as b,Pe as c,Ie as d,Ve as e,Z as f,he as g,me as h,ge as i,$ as j,te as k,ne as l,ue as m,fe as u};
@@ -1 +1 @@
1
- import{_ as e,b as n}from"./tslib.es6-f7955333.js";import t,{useState as a,useEffect as o,forwardRef as r}from"react";import{createEmotionCache as i,FileInput as s,NumberInput as l,PasswordInput as u,TextInput as c,Input as m}from"@mantine/core";import{useDebouncedValue as f}from"@mantine/hooks";import{CommonGAssets as p}from"./gAssets.js";var d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function g(e){var n={exports:{}};return e(n,n.exports),n.exports}var v=300,h=i({key:"mantine",prepend:!1}),b=p.getAssetPath("EyeVisible.svg"),w=p.getAssetPath("EyeHidden.svg"),y=r((function(a,o){var r=a.size,i=void 0===r?"md":r,s=a.visibilityToggleIcon,l=n(a,["size","visibilityToggleIcon"]),c=s||function(e){var n=e.reveal,a=e.size;return n?t.createElement("img",{src:b,width:a}):t.createElement("img",{src:w,width:a})};return t.createElement(u,e({ref:o,size:i,visibilityToggleIcon:c},l,{className:"input-control ".concat((null==l?void 0:l.className)||"")}))})),C=r((function(r,i){var s=r.value,l=r.onChange,u=r.onChangeRaw,m=n(r,["value","onChange","onChangeRaw"]),p=a(s||""),d=p[0],g=p[1],v=f(d,300)[0];return o((function(){null==l||l(v)}),[v]),o((function(){g(s)}),[s]),t.createElement(c,e({ref:i,size:"md",onChange:function(e){null==u||u(e),g(e.currentTarget.value)},value:d},m,{className:"input-control ".concat((null==m?void 0:m.className)||"")}))}));C.File=function(n){return t.createElement(s,e({size:"md"},n))},C.Password=y,C.Number=function(r){var i=r.value,s=r.onChange,u=n(r,["value","onChange"]),c=a(i),m=c[0],p=c[1],d=f(m,300)[0];return o((function(){null==s||s(d)}),[d]),o((function(){p(i)}),[i]),t.createElement(l,e({size:"md",stepHoldDelay:500,stepHoldInterval:function(e){return Math.max(1e3/Math.pow(e,2),25)},onChange:p,hideControls:!0,min:0,formatter:function(e){return 0===Number(e)?e:e||""},removeTrailingZeros:!0,value:m},u))},C.Wrapper=m.Wrapper;export{v as D,C as I,y as P,d as a,g as c,h as e};
1
+ import{_ as e,b as n}from"./tslib.es6-f57f7d0d.js";import t,{useState as a,useEffect as o,forwardRef as r}from"react";import{createEmotionCache as i,FileInput as s,NumberInput as l,PasswordInput as u,TextInput as c,Input as m}from"@mantine/core";import{useDebouncedValue as f}from"@mantine/hooks";import{CommonGAssets as d}from"./gAssets.js";var p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function g(e){var n={exports:{}};return e(n,n.exports),n.exports}var v=300,h=i({key:"mantine",prepend:!1}),b=d.getAssetPath("EyeVisible.svg"),w=d.getAssetPath("EyeHidden.svg"),y=r((function(a,o){var r=a.size,i=void 0===r?"md":r,s=a.visibilityToggleIcon,l=n(a,["size","visibilityToggleIcon"]),c=s||function(e){var n=e.reveal,a=e.size;return n?t.createElement("img",{src:b,width:a}):t.createElement("img",{src:w,width:a})};return t.createElement(u,e({ref:o,size:i,visibilityToggleIcon:c},l,{className:"input-control ".concat((null==l?void 0:l.className)||"")}))})),C=r((function(r,i){var s=r.value,l=r.onChange,u=r.onChangeRaw,m=n(r,["value","onChange","onChangeRaw"]),d=a(s||""),p=d[0],g=d[1],v=f(p,300)[0];return o((function(){null==l||l(v)}),[v]),o((function(){g(s)}),[s]),t.createElement(c,e({ref:i,size:"md",onChange:function(e){null==u||u(e),g(e.currentTarget.value)},value:p},m,{className:"input-control ".concat((null==m?void 0:m.className)||"")}))}));C.File=function(n){return t.createElement(s,e({size:"md"},n))},C.Password=y,C.Number=function(r){var i=r.value,s=r.onChange,u=n(r,["value","onChange"]),c=a(i),m=c[0],d=c[1],p=f(m,300)[0];return o((function(){null==s||s(p)}),[p]),o((function(){d(i)}),[i]),t.createElement(l,e({size:"md",stepHoldDelay:500,stepHoldInterval:function(e){return Math.max(1e3/Math.pow(e,2),25)},onChange:d,hideControls:!0,min:0,formatter:function(e){return 0===Number(e)?e:e||""},removeTrailingZeros:!0,value:m},u))},C.Wrapper=m.Wrapper;export{v as D,C as I,y as P,p as a,g as c,h as e};
@@ -1 +1 @@
1
- import{b as e,_ as n}from"./tslib.es6-f7955333.js";import r,{createContext as l,useContext as i,useRef as t,useState as o,useEffect as c}from"react";import{Carousel as d}from"@mantine/carousel";import{useResizeObserver as u}from"@mantine/hooks";var a=d.Slide,s=l({}),f=function(e,n){return e>=n?e-n:e},p=function(l){var i=l.children,a=l.blurFromCenter,p=l.blurFromIndex,v=l.blurLength,h=void 0===v?3:v,m=l.maxBlurOpacity,x=void 0===m?.5:m,S=l.onSlideChange,g=l.selectSlideWhenClick,b=e(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]),y=u(),C=y[0],k=y[1],w=t(null),E=o(0),F=E[0],I=E[1],L=function(){var e,n,r,l=null===(e=null==w?void 0:w.current)||void 0===e?void 0:e.selectedScrollSnap();I(l);var i=(null===(n=null==w?void 0:w.current)||void 0===n?void 0:n.slideNodes())||[],t=i.length,o=(null===(r=null==w?void 0:w.current)||void 0===r?void 0:r.slidesInView()).length,c=Math.floor(o/2),d=a?p+h-1:c,u=l+d,s=u===t?0:u>t?u-t:u,v=l-d,m=v<0?t+v:v>0?l-d:0,S=Array(2*d+1).fill("").map((function(e,n){return f(m+n,t)}));i.map((function(e,n){if(n===l?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==S.indexOf(n))for(var r=x/h,i=0;i<h;i++){if(n===f(m+i,t)||n===(c=t,(o=s-i)<0?c+o:o)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}else e.style.opacity="0";var o,c}))},W={getEmblaApi:function(e){w.current=e},onSlideChange:function(e){L(),null==S||S(e)}};return c((function(){(null==w?void 0:w.current)&&L()}),[k]),r.createElement(s.Provider,{value:{slider:null==w?void 0:w.current,centerSlide:F,selectSlideWhenClick:g}},r.createElement(d,n({ref:C,slideSize:"auto",containScroll:"trimSnaps"},W,b,{loop:!0}),"function"==typeof i?i(F):i))};p.Slide=function(l){var d=l.children,u=l.onClick,f=e(l,["children","onClick"]),p=i(s),v=p.slider,h=p.selectSlideWhenClick,m=t(),x=t(""),S=o(0),g=S[0],b=S[1];c((function(){x.current=String(Math.round(1e4*Math.random()))}),[]),c((function(){var e=(null==v?void 0:v.slideNodes())||[];b(e.findIndex((function(e){return e.dataset.key===x.current})))}),[v]);var y={ref:m,"data-key":x.current,"data-index":g,styles:function(){return{control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}}}};return r.createElement(a,n({},y,f),r.createElement("div",{onClick:function(){h&&(null==v||v.scrollTo(g)),null==u||u(g)}},d))};export{p as C};
1
+ import{b as e,_ as n}from"./tslib.es6-f57f7d0d.js";import r,{createContext as l,useContext as i,useRef as t,useState as o,useEffect as c}from"react";import{Carousel as d}from"@mantine/carousel";import{useResizeObserver as u}from"@mantine/hooks";var a=d.Slide,s=l({}),f=function(e,n){return e>=n?e-n:e},p=function(l){var i=l.children,a=l.blurFromCenter,p=l.blurFromIndex,v=l.blurLength,h=void 0===v?3:v,m=l.maxBlurOpacity,x=void 0===m?.5:m,S=l.onSlideChange,g=l.selectSlideWhenClick,b=e(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]),y=u(),C=y[0],k=y[1],w=t(null),E=o(0),F=E[0],I=E[1],L=function(){var e,n,r,l=null===(e=null==w?void 0:w.current)||void 0===e?void 0:e.selectedScrollSnap();I(l);var i=(null===(n=null==w?void 0:w.current)||void 0===n?void 0:n.slideNodes())||[],t=i.length,o=(null===(r=null==w?void 0:w.current)||void 0===r?void 0:r.slidesInView()).length,c=Math.floor(o/2),d=a?p+h-1:c,u=l+d,s=u===t?0:u>t?u-t:u,v=l-d,m=v<0?t+v:v>0?l-d:0,S=Array(2*d+1).fill("").map((function(e,n){return f(m+n,t)}));i.map((function(e,n){if(n===l?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==S.indexOf(n))for(var r=x/h,i=0;i<h;i++){if(n===f(m+i,t)||n===(c=t,(o=s-i)<0?c+o:o)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}else e.style.opacity="0";var o,c}))},W={getEmblaApi:function(e){w.current=e},onSlideChange:function(e){L(),null==S||S(e)}};return c((function(){(null==w?void 0:w.current)&&L()}),[k]),r.createElement(s.Provider,{value:{slider:null==w?void 0:w.current,centerSlide:F,selectSlideWhenClick:g}},r.createElement(d,n({ref:C,slideSize:"auto",containScroll:"trimSnaps"},W,b,{loop:!0}),"function"==typeof i?i(F):i))};p.Slide=function(l){var d=l.children,u=l.onClick,f=e(l,["children","onClick"]),p=i(s),v=p.slider,h=p.selectSlideWhenClick,m=t(),x=t(""),S=o(0),g=S[0],b=S[1];c((function(){x.current=String(Math.round(1e4*Math.random()))}),[]),c((function(){var e=(null==v?void 0:v.slideNodes())||[];b(e.findIndex((function(e){return e.dataset.key===x.current})))}),[v]);var y={ref:m,"data-key":x.current,"data-index":g,styles:function(){return{control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}}}};return r.createElement(a,n({},y,f),r.createElement("div",{onClick:function(){h&&(null==v||v.scrollTo(g)),null==u||u(g)}},d))};export{p as C};
@@ -0,0 +1 @@
1
+ import e from"react";import{u as a}from"./useTranslations-9a6a81b8.js";import{t}from"./theme-4965c17b.js";import{I as r}from"./index-9a8ea07a.js";import{I as o}from"./index-97e95a0e.js";import{M as i}from"./index-56e05694.js";import{T as s}from"./index-c2d22670.js";import{aa as m}from"./index.styled-b51c965e.js";var c=function(c){var n=c.isActive,l=c.onChange,d=c.value,p=void 0===d?"":d,v=c.onInputChange,y=c.siteType,b=a().t,f="marryBaby"===y;return e.createElement(m,{onClick:function(){return l("new")},"data-is-mb":f,"data-isActive":f&&n},"marryBaby"===y?e.createElement("div",{className:"title"},e.createElement(i,{type:"bodytext-1",color:t.colors.gray800},b("chooseBaby.new")),e.createElement("div",{className:n?"radio active":"radio"},n&&e.createElement(r.CheckActiveMB,{size:26}))):e.createElement("div",{className:"title"},e.createElement(s,{size:"p2",color:t.colors.gray800},b("chooseBaby.new")),e.createElement("div",{className:n?"radio active":"radio"})),e.createElement(o,{name:"name",value:p,size:"md",placeholder:b("chooseBaby.placeholder"),type:"text",onChange:v}))};export{c as N};