@hhgtech/hhg-components 1.19.7 → 1.20.0-beta-1

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 (638) hide show
  1. package/build/cache.js +1 -2
  2. package/build/care.js +1 -2
  3. package/build/components/molecules/dropdownSearch/index.styled.d.ts +1 -1
  4. package/build/components.js +1 -2
  5. package/build/constants-ea7b35a2.js +0 -1
  6. package/build/{cookieHelper-57954a1e.js → cookieHelper-e65b4d18.js} +1 -2
  7. package/build/{core-8fcc56eb.js → core-d2fdb832.js} +1 -2
  8. package/build/core.js +1 -2
  9. package/build/ecom.js +1 -2
  10. package/build/esm/cache.js +1 -2
  11. package/build/esm/care.js +1 -2
  12. package/build/esm/components.js +1 -2
  13. package/build/esm/constants-dc22740c.js +0 -1
  14. package/build/esm/{cookieHelper-083bb24e.js → cookieHelper-7f9651cb.js} +1 -2
  15. package/build/esm/{core-3d8a3f90.js → core-7192b198.js} +1 -2
  16. package/build/esm/core.js +1 -2
  17. package/build/esm/ecom.js +1 -2
  18. package/build/esm/i18n.js +1 -2
  19. package/build/esm/{index-130e6504.js → index-21740086.js} +1 -2
  20. package/build/esm/index-81d6b37c.js +1 -0
  21. package/build/esm/index-c6a6295b.js +1 -0
  22. package/build/esm/index.js +1 -2
  23. package/build/esm/index.styled-24f65c31.js +1 -0
  24. package/build/esm/navigation.js +1 -2
  25. package/build/esm/theme-d85b3a33.js +0 -1
  26. package/build/esm/together.js +1 -2
  27. package/build/esm/translationsContext-b0b4655d.js +0 -1
  28. package/build/esm/{translationsProvider-7ccc3d2b.js → translationsProvider-048006ec.js} +1 -2
  29. package/build/esm/{tslib.es6-fd0a5c98.js → tslib.es6-f75a5274.js} +0 -15
  30. package/build/esm/{types-dd4dd7f7.js → types-75ce5678.js} +1 -2
  31. package/build/esm/types-e4289618.js +1 -0
  32. package/build/esm/types-eab81003.js +1 -0
  33. package/build/esm/useFbDataLayer-58443cc1.js +0 -1
  34. package/build/esm/useOutsideClick-6004483a.js +0 -1
  35. package/build/esm/useScrollbarSize-99db33e1.js +0 -1
  36. package/build/esm/useTranslations-ac338bb1.js +1 -0
  37. package/build/i18n.js +1 -2
  38. package/build/index-69703634.js +1 -0
  39. package/build/index-b13e58b4.js +1 -0
  40. package/build/{index-c9b9e9d1.js → index-fc9d0bf2.js} +1 -2
  41. package/build/index.js +1 -2
  42. package/build/index.styled-b4c6e06e.js +1 -0
  43. package/build/navigation.js +1 -2
  44. package/build/theme-79e84625.js +0 -1
  45. package/build/together.js +1 -2
  46. package/build/translationsContext-351bc1a7.js +0 -1
  47. package/build/{translationsProvider-d06a3c76.js → translationsProvider-895ce4a0.js} +1 -2
  48. package/build/tslib.es6-a114f850.js +1 -0
  49. package/build/{types-ff716cdb.js → types-0f6d5663.js} +1 -2
  50. package/build/types-63b5c80b.js +1 -0
  51. package/build/types-8704827c.js +1 -0
  52. package/build/useFbDataLayer-508d5450.js +0 -1
  53. package/build/useOutsideClick-528bfd6c.js +0 -1
  54. package/build/useScrollbarSize-586f6706.js +0 -1
  55. package/build/useTranslations-0b6ce83c.js +1 -0
  56. package/package.json +20 -12
  57. package/build/browser-image-compression-18a94b0a.js +0 -2
  58. package/build/browser-image-compression-18a94b0a.js.map +0 -1
  59. package/build/cache.js.map +0 -1
  60. package/build/care.js.map +0 -1
  61. package/build/components.js.map +0 -1
  62. package/build/constants-ea7b35a2.js.map +0 -1
  63. package/build/cookieHelper-57954a1e.js.map +0 -1
  64. package/build/core-8fcc56eb.js.map +0 -1
  65. package/build/core.js.map +0 -1
  66. package/build/ecom.js.map +0 -1
  67. package/build/esm/assets/svg/StarEmptyIcon.d.ts +0 -3
  68. package/build/esm/assets/svg/StarFullIcon.d.ts +0 -3
  69. package/build/esm/assets/svg/StarHalfIcon.d.ts +0 -3
  70. package/build/esm/assets/svg/index.d.ts +0 -31
  71. package/build/esm/browser-image-compression-c934f959.js +0 -2
  72. package/build/esm/browser-image-compression-c934f959.js.map +0 -1
  73. package/build/esm/cache/core.d.ts +0 -7
  74. package/build/esm/cache/index.d.ts +0 -1
  75. package/build/esm/cache.js.map +0 -1
  76. package/build/esm/care/api/paths.d.ts +0 -7
  77. package/build/esm/care/api/utils.d.ts +0 -5
  78. package/build/esm/care/components/atoms/icons/index.d.ts +0 -23
  79. package/build/esm/care/components/organisms/bookingSearchBar/constants.d.ts +0 -4
  80. package/build/esm/care/components/organisms/bookingSearchBar/index.d.ts +0 -24
  81. package/build/esm/care/components/organisms/bookingSearchBar/index.styled.d.ts +0 -7
  82. package/build/esm/care/components/organisms/bookingSearchBar/index.test.d.ts +0 -1
  83. package/build/esm/care/components/organisms/bookingSearchBar/locationResults/index.d.ts +0 -15
  84. package/build/esm/care/components/organisms/bookingSearchBar/locationResults/index.styled.d.ts +0 -14
  85. package/build/esm/care/components/organisms/bookingSearchBar/locationResults/liSkeleton.d.ts +0 -7
  86. package/build/esm/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +0 -12
  87. package/build/esm/care/components/organisms/bookingSearchBar/mobileTopbar/index.d.ts +0 -11
  88. package/build/esm/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +0 -6
  89. package/build/esm/care/components/organisms/bookingSearchBar/reducer.d.ts +0 -127
  90. package/build/esm/care/components/organisms/bookingSearchBar/resultSection/icons.d.ts +0 -5
  91. package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.d.ts +0 -16
  92. package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +0 -11
  93. package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.d.ts +0 -10
  94. package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +0 -10
  95. package/build/esm/care/components/organisms/bookingSearchBar/searchInputs/index.d.ts +0 -19
  96. package/build/esm/care/components/organisms/bookingSearchBar/searchInputs/index.styled.d.ts +0 -9
  97. package/build/esm/care/components/organisms/bookingSearchBar/searchResults/index.d.ts +0 -13
  98. package/build/esm/care/components/organisms/bookingSearchBar/searchResults/mockData.d.ts +0 -2
  99. package/build/esm/care/components/organisms/bookingSearchBar/searchSubmitIcon/index.d.ts +0 -6
  100. package/build/esm/care/components/organisms/bookingSearchBar/types.d.ts +0 -10
  101. package/build/esm/care/components/organisms/bookingSearchBar/useAnimatedPlaceholder.d.ts +0 -8
  102. package/build/esm/care/components/organisms/bookingSearchBar/useSearchBarApi.d.ts +0 -16
  103. package/build/esm/care/components/organisms/bookingSearchBar/utils/Typewriter.d.ts +0 -57
  104. package/build/esm/care/index.d.ts +0 -3
  105. package/build/esm/care/interfaces/constants.d.ts +0 -14
  106. package/build/esm/care/interfaces/types.d.ts +0 -224
  107. package/build/esm/care.js.map +0 -1
  108. package/build/esm/components/atoms/alert/index.d.ts +0 -14
  109. package/build/esm/components/atoms/alert/index.styled.d.ts +0 -3
  110. package/build/esm/components/atoms/alert/index.test.d.ts +0 -1
  111. package/build/esm/components/atoms/avatar/index.d.ts +0 -19
  112. package/build/esm/components/atoms/avatar/index.styled.d.ts +0 -8
  113. package/build/esm/components/atoms/backdrop/index.d.ts +0 -7
  114. package/build/esm/components/atoms/backdrop/index.styled.d.ts +0 -3
  115. package/build/esm/components/atoms/badge/index.d.ts +0 -14
  116. package/build/esm/components/atoms/badge/index.styled.d.ts +0 -9
  117. package/build/esm/components/atoms/badge/index.test.d.ts +0 -1
  118. package/build/esm/components/atoms/borderHeading/index.d.ts +0 -14
  119. package/build/esm/components/atoms/borderHeading/index.styled.d.ts +0 -1
  120. package/build/esm/components/atoms/button/index.d.ts +0 -31
  121. package/build/esm/components/atoms/button/index.styled.d.ts +0 -12
  122. package/build/esm/components/atoms/button/index.test.d.ts +0 -1
  123. package/build/esm/components/atoms/checkbox/index.d.ts +0 -13
  124. package/build/esm/components/atoms/checkbox/index.styled.d.ts +0 -1
  125. package/build/esm/components/atoms/checkbox/index.test.d.ts +0 -1
  126. package/build/esm/components/atoms/container/index.d.ts +0 -9
  127. package/build/esm/components/atoms/container/index.styled.d.ts +0 -1
  128. package/build/esm/components/atoms/displayWrapper/index.d.ts +0 -10
  129. package/build/esm/components/atoms/displayWrapper/index.styled.d.ts +0 -4
  130. package/build/esm/components/atoms/divider/index.d.ts +0 -10
  131. package/build/esm/components/atoms/divider/index.styled.d.ts +0 -4
  132. package/build/esm/components/atoms/divider/index.test.d.ts +0 -1
  133. package/build/esm/components/atoms/drawer/animation.styled.d.ts +0 -9
  134. package/build/esm/components/atoms/drawer/helpers.d.ts +0 -2
  135. package/build/esm/components/atoms/drawer/index.d.ts +0 -11
  136. package/build/esm/components/atoms/drawer/index.styled.d.ts +0 -8
  137. package/build/esm/components/atoms/fileDropdown/index.d.ts +0 -23
  138. package/build/esm/components/atoms/fileDropdown/index.styled.d.ts +0 -5
  139. package/build/esm/components/atoms/fileDropdown/index.test.d.ts +0 -1
  140. package/build/esm/components/atoms/flag/icons/cambodia.d.ts +0 -4
  141. package/build/esm/components/atoms/flag/icons/english.d.ts +0 -4
  142. package/build/esm/components/atoms/flag/icons/india.d.ts +0 -4
  143. package/build/esm/components/atoms/flag/icons/indonesia.d.ts +0 -6
  144. package/build/esm/components/atoms/flag/icons/malaysia.d.ts +0 -4
  145. package/build/esm/components/atoms/flag/icons/myanmar.d.ts +0 -4
  146. package/build/esm/components/atoms/flag/icons/philippines.d.ts +0 -4
  147. package/build/esm/components/atoms/flag/icons/taiwan.d.ts +0 -4
  148. package/build/esm/components/atoms/flag/icons/thailand.d.ts +0 -4
  149. package/build/esm/components/atoms/flag/icons/vietnam.d.ts +0 -4
  150. package/build/esm/components/atoms/flag/index.d.ts +0 -13
  151. package/build/esm/components/atoms/flag/index.styled.d.ts +0 -1
  152. package/build/esm/components/atoms/flag/index.test.d.ts +0 -1
  153. package/build/esm/components/atoms/grid/index.d.ts +0 -24
  154. package/build/esm/components/atoms/grid/index.styled.d.ts +0 -1
  155. package/build/esm/components/atoms/grid/index.test.d.ts +0 -1
  156. package/build/esm/components/atoms/heading/index.d.ts +0 -17
  157. package/build/esm/components/atoms/heading/index.styled.d.ts +0 -7
  158. package/build/esm/components/atoms/heading/index.test.d.ts +0 -1
  159. package/build/esm/components/atoms/icons/Ask.d.ts +0 -4
  160. package/build/esm/components/atoms/icons/BarChart.d.ts +0 -4
  161. package/build/esm/components/atoms/icons/Booking.d.ts +0 -4
  162. package/build/esm/components/atoms/icons/Bookmark.d.ts +0 -4
  163. package/build/esm/components/atoms/icons/Community.d.ts +0 -4
  164. package/build/esm/components/atoms/icons/EditSpecial.d.ts +0 -4
  165. package/build/esm/components/atoms/icons/Family.d.ts +0 -4
  166. package/build/esm/components/atoms/icons/Font.d.ts +0 -4
  167. package/build/esm/components/atoms/icons/Heart.d.ts +0 -4
  168. package/build/esm/components/atoms/icons/Home.d.ts +0 -4
  169. package/build/esm/components/atoms/icons/Like.d.ts +0 -4
  170. package/build/esm/components/atoms/icons/MyCommunity.d.ts +0 -4
  171. package/build/esm/components/atoms/icons/PlusSpecial.d.ts +0 -4
  172. package/build/esm/components/atoms/icons/Recalculate.d.ts +0 -4
  173. package/build/esm/components/atoms/icons/Scale.d.ts +0 -4
  174. package/build/esm/components/atoms/icons/Share.d.ts +0 -4
  175. package/build/esm/components/atoms/icons/Stethoscope.d.ts +0 -4
  176. package/build/esm/components/atoms/icons/index.d.ts +0 -26
  177. package/build/esm/components/atoms/index.d.ts +0 -35
  178. package/build/esm/components/atoms/input/index.d.ts +0 -24
  179. package/build/esm/components/atoms/input/index.styled.d.ts +0 -5
  180. package/build/esm/components/atoms/input/index.test.d.ts +0 -1
  181. package/build/esm/components/atoms/label/index.d.ts +0 -10
  182. package/build/esm/components/atoms/label/index.test.d.ts +0 -1
  183. package/build/esm/components/atoms/logo/index.d.ts +0 -18
  184. package/build/esm/components/atoms/logo/index.test.d.ts +0 -1
  185. package/build/esm/components/atoms/marryBabyText/index.d.ts +0 -17
  186. package/build/esm/components/atoms/marryBabyText/index.styled.d.ts +0 -8
  187. package/build/esm/components/atoms/menu/index.d.ts +0 -10
  188. package/build/esm/components/atoms/menu/index.styled.d.ts +0 -4
  189. package/build/esm/components/atoms/menu/item.d.ts +0 -7
  190. package/build/esm/components/atoms/pagination/index.d.ts +0 -14
  191. package/build/esm/components/atoms/pagination/index.styled.d.ts +0 -3
  192. package/build/esm/components/atoms/pagination/index.test.d.ts +0 -1
  193. package/build/esm/components/atoms/progress/index.d.ts +0 -13
  194. package/build/esm/components/atoms/progress/index.styled.d.ts +0 -1
  195. package/build/esm/components/atoms/pureInput/index.d.ts +0 -21
  196. package/build/esm/components/atoms/pureInput/index.styled.d.ts +0 -5
  197. package/build/esm/components/atoms/pureInput/index.test.d.ts +0 -1
  198. package/build/esm/components/atoms/radio/index.d.ts +0 -17
  199. package/build/esm/components/atoms/radio/index.styled.d.ts +0 -1
  200. package/build/esm/components/atoms/radio/index.test.d.ts +0 -1
  201. package/build/esm/components/atoms/rateStars/index.d.ts +0 -33
  202. package/build/esm/components/atoms/rateStars/index.styled.d.ts +0 -1
  203. package/build/esm/components/atoms/shadow/index.d.ts +0 -9
  204. package/build/esm/components/atoms/shadow/index.styled.d.ts +0 -1
  205. package/build/esm/components/atoms/shadow/index.test.d.ts +0 -1
  206. package/build/esm/components/atoms/slider/index.d.ts +0 -13
  207. package/build/esm/components/atoms/slider/index.styled.d.ts +0 -6
  208. package/build/esm/components/atoms/slider/index.test.d.ts +0 -1
  209. package/build/esm/components/atoms/tag/index.d.ts +0 -17
  210. package/build/esm/components/atoms/tag/index.styled.d.ts +0 -11
  211. package/build/esm/components/atoms/tag/index.test.d.ts +0 -1
  212. package/build/esm/components/atoms/text/index.d.ts +0 -32
  213. package/build/esm/components/atoms/text/index.styled.d.ts +0 -9
  214. package/build/esm/components/atoms/textArea/index.d.ts +0 -15
  215. package/build/esm/components/atoms/textDivider/index.d.ts +0 -9
  216. package/build/esm/components/atoms/toggle/index.d.ts +0 -11
  217. package/build/esm/components/atoms/toggle/index.styled.d.ts +0 -3
  218. package/build/esm/components/atoms/toggle/index.test.d.ts +0 -1
  219. package/build/esm/components/atoms/underlinedLink/index.d.ts +0 -10
  220. package/build/esm/components/atoms/underlinedLink/index.styled.d.ts +0 -1
  221. package/build/esm/components/atoms/underlinedLink/index.text.d.ts +0 -1
  222. package/build/esm/components/atoms/uploader/index.d.ts +0 -14
  223. package/build/esm/components/atoms/uploader/index.styled.d.ts +0 -4
  224. package/build/esm/components/atoms/uploader/index.test.d.ts +0 -1
  225. package/build/esm/components/index.d.ts +0 -3
  226. package/build/esm/components/molecules/ampNextPage/index.d.ts +0 -11
  227. package/build/esm/components/molecules/articleCard/index.d.ts +0 -47
  228. package/build/esm/components/molecules/articleCard/index.styled.d.ts +0 -4
  229. package/build/esm/components/molecules/breadcrumbs/index.d.ts +0 -30
  230. package/build/esm/components/molecules/breadcrumbs/index.styled.d.ts +0 -3
  231. package/build/esm/components/molecules/breadcrumbs/index.test.d.ts +0 -1
  232. package/build/esm/components/molecules/carousel/index.d.ts +0 -17
  233. package/build/esm/components/molecules/carousel/index.styled.d.ts +0 -8
  234. package/build/esm/components/molecules/categoryCard/index.d.ts +0 -13
  235. package/build/esm/components/molecules/categoryCard/index.styled.d.ts +0 -1
  236. package/build/esm/components/molecules/checkboxGroup/index.d.ts +0 -17
  237. package/build/esm/components/molecules/checkboxGroup/index.styled.d.ts +0 -1
  238. package/build/esm/components/molecules/checkboxGroup/index.test.d.ts +0 -1
  239. package/build/esm/components/molecules/cookieAcceptConfirm/index.d.ts +0 -21
  240. package/build/esm/components/molecules/cookieAcceptConfirm/index.styled.d.ts +0 -9
  241. package/build/esm/components/molecules/cookieAcceptConfirm/index.test.d.ts +0 -1
  242. package/build/esm/components/molecules/datePicker/index.d.ts +0 -25
  243. package/build/esm/components/molecules/datePicker/index.styled.d.ts +0 -2
  244. package/build/esm/components/molecules/datePicker/index.test.d.ts +0 -1
  245. package/build/esm/components/molecules/dateRangePicker/calendar/index.d.ts +0 -11
  246. package/build/esm/components/molecules/dateRangePicker/calendar/index.styled.d.ts +0 -13
  247. package/build/esm/components/molecules/dateRangePicker/index.d.ts +0 -14
  248. package/build/esm/components/molecules/dateRangePicker/index.styled.d.ts +0 -2
  249. package/build/esm/components/molecules/dateRangePicker/types.d.ts +0 -4
  250. package/build/esm/components/molecules/dateRangePicker/utils.d.ts +0 -2
  251. package/build/esm/components/molecules/doctorInfo/index.d.ts +0 -9
  252. package/build/esm/components/molecules/dropdown/index.d.ts +0 -27
  253. package/build/esm/components/molecules/dropdown/index.styled.d.ts +0 -6
  254. package/build/esm/components/molecules/dropdown/index.test.d.ts +0 -1
  255. package/build/esm/components/molecules/dropdownSearch/index.d.ts +0 -25
  256. package/build/esm/components/molecules/dropdownSearch/index.styled.d.ts +0 -8
  257. package/build/esm/components/molecules/floatButtonGroup/index.d.ts +0 -24
  258. package/build/esm/components/molecules/floatButtonGroup/index.styled.d.ts +0 -9
  259. package/build/esm/components/molecules/iconText/index.d.ts +0 -10
  260. package/build/esm/components/molecules/iconText/index.styled.d.ts +0 -1
  261. package/build/esm/components/molecules/iconText/index.test.d.ts +0 -1
  262. package/build/esm/components/molecules/index.d.ts +0 -36
  263. package/build/esm/components/molecules/languageSwitcher/index.d.ts +0 -13
  264. package/build/esm/components/molecules/languageSwitcher/index.styled.d.ts +0 -1
  265. package/build/esm/components/molecules/languageSwitcher/tooltipSelection/index.d.ts +0 -19
  266. package/build/esm/components/molecules/languageSwitcher/tooltipSelection/index.styled.d.ts +0 -5
  267. package/build/esm/components/molecules/mobileBottomNavigation/MobileBottomNavigationIcon.d.ts +0 -13
  268. package/build/esm/components/molecules/mobileBottomNavigation/index.d.ts +0 -13
  269. package/build/esm/components/molecules/mobileBottomNavigation/index.styled.d.ts +0 -9
  270. package/build/esm/components/molecules/modal/index.d.ts +0 -13
  271. package/build/esm/components/molecules/modal/index.styled.d.ts +0 -3
  272. package/build/esm/components/molecules/modal/index.test.d.ts +0 -1
  273. package/build/esm/components/molecules/popup/index.d.ts +0 -12
  274. package/build/esm/components/molecules/popup/index.styled.d.ts +0 -2
  275. package/build/esm/components/molecules/popup/index.test.d.ts +0 -1
  276. package/build/esm/components/molecules/progressBar/index.d.ts +0 -17
  277. package/build/esm/components/molecules/progressBar/index.styled.d.ts +0 -12
  278. package/build/esm/components/molecules/progressBar/index.test.d.ts +0 -1
  279. package/build/esm/components/molecules/radioGroup/index.d.ts +0 -23
  280. package/build/esm/components/molecules/radioGroup/index.styled.d.ts +0 -1
  281. package/build/esm/components/molecules/radioGroup/index.test.d.ts +0 -1
  282. package/build/esm/components/molecules/scrollList/index.d.ts +0 -35
  283. package/build/esm/components/molecules/scrollList/index.styled.d.ts +0 -1
  284. package/build/esm/components/molecules/seoHead/index.d.ts +0 -50
  285. package/build/esm/components/molecules/sidemenu/index.d.ts +0 -4
  286. package/build/esm/components/molecules/sidemenu/index.test.d.ts +0 -1
  287. package/build/esm/components/molecules/sidemenu/menuLink.d.ts +0 -16
  288. package/build/esm/components/molecules/sidemenu/sideHeader.d.ts +0 -9
  289. package/build/esm/components/molecules/sidemenu/sideMenu.d.ts +0 -9
  290. package/build/esm/components/molecules/sidemenu/test.d.ts +0 -3
  291. package/build/esm/components/molecules/sidemenu/userInfo.d.ts +0 -9
  292. package/build/esm/components/molecules/starsRatingBox/index.d.ts +0 -23
  293. package/build/esm/components/molecules/starsRatingBox/index.styled.d.ts +0 -4
  294. package/build/esm/components/molecules/statisticCard/index.d.ts +0 -12
  295. package/build/esm/components/molecules/statisticCard/index.styled.d.ts +0 -4
  296. package/build/esm/components/molecules/statisticCard/index.test.d.ts +0 -1
  297. package/build/esm/components/molecules/surveyQuestionCard/index.d.ts +0 -2
  298. package/build/esm/components/molecules/surveyQuestionCard/index.styled.d.ts +0 -4
  299. package/build/esm/components/molecules/surveyQuestionCard/index.test.d.ts +0 -1
  300. package/build/esm/components/molecules/surveyQuestionCard/surveyQuestionCard.d.ts +0 -28
  301. package/build/esm/components/molecules/surveyQuestionCard/surveyQuestionContent.d.ts +0 -38
  302. package/build/esm/components/molecules/surveyQuestionCard/surveyRadio.d.ts +0 -16
  303. package/build/esm/components/molecules/surveyQuestionCard/surveyThankyouCard.d.ts +0 -8
  304. package/build/esm/components/molecules/table/index.d.ts +0 -5
  305. package/build/esm/components/molecules/table/index.test.d.ts +0 -1
  306. package/build/esm/components/molecules/table/table.d.ts +0 -10
  307. package/build/esm/components/molecules/table/tableBody.d.ts +0 -10
  308. package/build/esm/components/molecules/table/tableCell.d.ts +0 -10
  309. package/build/esm/components/molecules/table/tableHead.d.ts +0 -9
  310. package/build/esm/components/molecules/table/tableRow.d.ts +0 -11
  311. package/build/esm/components/molecules/tabs/index.d.ts +0 -25
  312. package/build/esm/components/molecules/tabs/index.styled.d.ts +0 -4
  313. package/build/esm/components/molecules/tabs/index.test.d.ts +0 -1
  314. package/build/esm/components/organisms/footer/discoverFooter/index.d.ts +0 -12
  315. package/build/esm/components/organisms/footer/discoverFooter/index.styled.d.ts +0 -2
  316. package/build/esm/components/organisms/footer/index.d.ts +0 -29
  317. package/build/esm/components/organisms/footer/maryBabyFooter/index.d.ts +0 -38
  318. package/build/esm/components/organisms/footer/maryBabyFooter/index.styled.d.ts +0 -8
  319. package/build/esm/components/organisms/index.d.ts +0 -12
  320. package/build/esm/components/organisms/navigationBookingButton/index.d.ts +0 -9
  321. package/build/esm/components/organisms/navigationBookingButton/index.styled.d.ts +0 -1
  322. package/build/esm/components/organisms/navigationLayout/CustomFooter.d.ts +0 -33
  323. package/build/esm/components/organisms/navigationLayout/ampSideBar/index.d.ts +0 -28
  324. package/build/esm/components/organisms/navigationLayout/ampSideBar/index.styled.d.ts +0 -2
  325. package/build/esm/components/organisms/navigationLayout/constants.d.ts +0 -99
  326. package/build/esm/components/organisms/navigationLayout/footer/index.d.ts +0 -13
  327. package/build/esm/components/organisms/navigationLayout/footer/index.styled.d.ts +0 -2
  328. package/build/esm/components/organisms/navigationLayout/index.d.ts +0 -121
  329. package/build/esm/components/organisms/navigationLayout/index.styled.d.ts +0 -7
  330. package/build/esm/components/organisms/navigationLayout/languageWrapper.d.ts +0 -4
  331. package/build/esm/components/organisms/navigationLayout/languages/default.d.ts +0 -4
  332. package/build/esm/components/organisms/navigationLayout/layout.d.ts +0 -52
  333. package/build/esm/components/organisms/navigationLayout/marryBabyText/index.d.ts +0 -17
  334. package/build/esm/components/organisms/navigationLayout/marryBabyText/index.styled.d.ts +0 -8
  335. package/build/esm/components/organisms/navigationLayout/maryBabyFooter/index.d.ts +0 -30
  336. package/build/esm/components/organisms/navigationLayout/maryBabyFooter/index.styled.d.ts +0 -8
  337. package/build/esm/components/organisms/navigationLayout/menuCareList/categorySkeleton.d.ts +0 -3
  338. package/build/esm/components/organisms/navigationLayout/menuCareList/index.d.ts +0 -17
  339. package/build/esm/components/organisms/navigationLayout/menuCareList/index.styled.d.ts +0 -12
  340. package/build/esm/components/organisms/navigationLayout/menuCategoriesList/categorySkeleton.d.ts +0 -3
  341. package/build/esm/components/organisms/navigationLayout/menuCategoriesList/helloSites.d.ts +0 -20
  342. package/build/esm/components/organisms/navigationLayout/menuCategoriesList/index.d.ts +0 -23
  343. package/build/esm/components/organisms/navigationLayout/menuCategoriesList/index.styled.d.ts +0 -16
  344. package/build/esm/components/organisms/navigationLayout/menuCategoriesList/marryBaby.d.ts +0 -17
  345. package/build/esm/components/organisms/navigationLayout/menuCategoriesList/marryBaby.styled.d.ts +0 -11
  346. package/build/esm/components/organisms/navigationLayout/menuCategoriesList/spotlightsList/index.d.ts +0 -15
  347. package/build/esm/components/organisms/navigationLayout/menuCategoriesList/spotlightsList/index.styled.d.ts +0 -10
  348. package/build/esm/components/organisms/navigationLayout/menuCategoriesList/spotlightsList/spotlightSkeleton.d.ts +0 -3
  349. package/build/esm/components/organisms/navigationLayout/menuCommunitiesList/categorySkeleton.d.ts +0 -3
  350. package/build/esm/components/organisms/navigationLayout/menuCommunitiesList/helloSites.d.ts +0 -23
  351. package/build/esm/components/organisms/navigationLayout/menuCommunitiesList/index.d.ts +0 -23
  352. package/build/esm/components/organisms/navigationLayout/menuCommunitiesList/index.styled.d.ts +0 -13
  353. package/build/esm/components/organisms/navigationLayout/menuCommunitiesList/marryBaby.d.ts +0 -22
  354. package/build/esm/components/organisms/navigationLayout/menuCommunitiesList/marryBaby.styled.d.ts +0 -8
  355. package/build/esm/components/organisms/navigationLayout/menuHealthToolsList/categorySkeleton.d.ts +0 -3
  356. package/build/esm/components/organisms/navigationLayout/menuHealthToolsList/helloSites.d.ts +0 -25
  357. package/build/esm/components/organisms/navigationLayout/menuHealthToolsList/index.d.ts +0 -23
  358. package/build/esm/components/organisms/navigationLayout/menuHealthToolsList/index.styled.d.ts +0 -15
  359. package/build/esm/components/organisms/navigationLayout/menuHealthToolsList/marryBaby.d.ts +0 -16
  360. package/build/esm/components/organisms/navigationLayout/menuHealthToolsList/marrybaby.styled.d.ts +0 -8
  361. package/build/esm/components/organisms/navigationLayout/menuSectionCard/cardSkeleton.d.ts +0 -3
  362. package/build/esm/components/organisms/navigationLayout/menuSectionCard/index.d.ts +0 -13
  363. package/build/esm/components/organisms/navigationLayout/menuSectionCard/index.styled.d.ts +0 -2
  364. package/build/esm/components/organisms/navigationLayout/menuServiceList/categoriesSubList.d.ts +0 -19
  365. package/build/esm/components/organisms/navigationLayout/menuServiceList/communitySubList.d.ts +0 -20
  366. package/build/esm/components/organisms/navigationLayout/menuServiceList/index.d.ts +0 -58
  367. package/build/esm/components/organisms/navigationLayout/menuServiceList/index.styled.d.ts +0 -28
  368. package/build/esm/components/organisms/navigationLayout/menuServiceList/marryBabyMobileMenuSection.d.ts +0 -9
  369. package/build/esm/components/organisms/navigationLayout/navigationBar/ArrowLeftPopupIcon.d.ts +0 -2
  370. package/build/esm/components/organisms/navigationLayout/navigationBar/ClosePopupIcon.d.ts +0 -2
  371. package/build/esm/components/organisms/navigationLayout/navigationBar/HamburgerIcon.d.ts +0 -9
  372. package/build/esm/components/organisms/navigationLayout/navigationBar/NavigationBar.types.d.ts +0 -87
  373. package/build/esm/components/organisms/navigationLayout/navigationBar/NavigationBarMobile.d.ts +0 -3
  374. package/build/esm/components/organisms/navigationLayout/navigationBar/SearchIcon.d.ts +0 -3
  375. package/build/esm/components/organisms/navigationLayout/navigationBar/index.d.ts +0 -15
  376. package/build/esm/components/organisms/navigationLayout/navigationBar/index.styled.d.ts +0 -26
  377. package/build/esm/components/organisms/navigationLayout/navigationLogoutPopup/index.d.ts +0 -11
  378. package/build/esm/components/organisms/navigationLayout/navigationLogoutPopup/index.styled.d.ts +0 -6
  379. package/build/esm/components/organisms/navigationLayout/profilePopup/index.d.ts +0 -22
  380. package/build/esm/components/organisms/navigationLayout/profilePopupWrapper/index.d.ts +0 -14
  381. package/build/esm/components/organisms/navigationLayout/profilePopupWrapper/index.styled.d.ts +0 -2
  382. package/build/esm/components/organisms/navigationLayout/siteWide/index.d.ts +0 -23
  383. package/build/esm/components/organisms/navigationLayout/siteWide/index.styled.d.ts +0 -3
  384. package/build/esm/components/organisms/navigationLayout/sponsoredBy/index.d.ts +0 -28
  385. package/build/esm/components/organisms/navigationLayout/sponsoredBy/index.styled.d.ts +0 -3
  386. package/build/esm/components/organisms/navigationLayout/tooltipSelection/index.d.ts +0 -17
  387. package/build/esm/components/organisms/navigationLayout/tooltipSelection/index.styled.d.ts +0 -5
  388. package/build/esm/components/organisms/navigationLayout/types.d.ts +0 -263
  389. package/build/esm/components/organisms/navigationLayout/utils.d.ts +0 -62
  390. package/build/esm/components/organisms/navigationLogoutPopup/index.d.ts +0 -9
  391. package/build/esm/components/organisms/navigationLogoutPopup/index.styled.d.ts +0 -6
  392. package/build/esm/components/organisms/navigationProfileButton/index.d.ts +0 -23
  393. package/build/esm/components/organisms/navigationProfileButton/index.styled.d.ts +0 -5
  394. package/build/esm/components/organisms/navigationProfileButton/popupWrapper.d.ts +0 -14
  395. package/build/esm/components/organisms/navigationProfileButton/profilePopup.d.ts +0 -21
  396. package/build/esm/components/organisms/navigationV2/components/atoms/ArrowLeftPopupIcon.d.ts +0 -2
  397. package/build/esm/components/organisms/navigationV2/components/atoms/ClosePopupIcon.d.ts +0 -4
  398. package/build/esm/components/organisms/navigationV2/components/atoms/HamburgerIcon.d.ts +0 -11
  399. package/build/esm/components/organisms/navigationV2/components/atoms/ItemNav/index.d.ts +0 -8
  400. package/build/esm/components/organisms/navigationV2/components/atoms/ItemNav/index.styled.d.ts +0 -3
  401. package/build/esm/components/organisms/navigationV2/components/atoms/PopupWrapper/btnClosePopup.d.ts +0 -6
  402. package/build/esm/components/organisms/navigationV2/components/atoms/PopupWrapper/index.d.ts +0 -10
  403. package/build/esm/components/organisms/navigationV2/components/atoms/PopupWrapper/index.styled.d.ts +0 -6
  404. package/build/esm/components/organisms/navigationV2/components/atoms/SearchIcon.d.ts +0 -3
  405. package/build/esm/components/organisms/navigationV2/components/atoms/searchInput/index.d.ts +0 -2
  406. package/build/esm/components/organisms/navigationV2/components/molecules/Categories/index.d.ts +0 -17
  407. package/build/esm/components/organisms/navigationV2/components/molecules/Categories/index.styled.d.ts +0 -7
  408. package/build/esm/components/organisms/navigationV2/components/molecules/Spotlights/index.d.ts +0 -15
  409. package/build/esm/components/organisms/navigationV2/components/molecules/Spotlights/index.styled.d.ts +0 -3
  410. package/build/esm/components/organisms/navigationV2/components/molecules/menuCareList/Item/index.d.ts +0 -8
  411. package/build/esm/components/organisms/navigationV2/components/molecules/menuCareList/Item/index.styled.d.ts +0 -7
  412. package/build/esm/components/organisms/navigationV2/components/molecules/menuCareList/careSpotlights.d.ts +0 -8
  413. package/build/esm/components/organisms/navigationV2/components/molecules/menuCareList/index.d.ts +0 -12
  414. package/build/esm/components/organisms/navigationV2/components/molecules/menuCareList/index.styled.d.ts +0 -2
  415. package/build/esm/components/organisms/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +0 -15
  416. package/build/esm/components/organisms/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +0 -3
  417. package/build/esm/components/organisms/navigationV2/components/molecules/menuCategoriesList/categorySpotlights.d.ts +0 -8
  418. package/build/esm/components/organisms/navigationV2/components/molecules/menuCategoriesList/index.d.ts +0 -11
  419. package/build/esm/components/organisms/navigationV2/components/molecules/menuCategoriesList/index.styled.d.ts +0 -3
  420. package/build/esm/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.d.ts +0 -8
  421. package/build/esm/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.styled.d.ts +0 -10
  422. package/build/esm/components/organisms/navigationV2/components/molecules/menuCommunitiesList/communitySpotlights.d.ts +0 -7
  423. package/build/esm/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.d.ts +0 -12
  424. package/build/esm/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.styled.d.ts +0 -3
  425. package/build/esm/components/organisms/navigationV2/components/molecules/menuHealthToolsList/Item/index.d.ts +0 -8
  426. package/build/esm/components/organisms/navigationV2/components/molecules/menuHealthToolsList/Item/index.styled.d.ts +0 -6
  427. package/build/esm/components/organisms/navigationV2/components/molecules/menuHealthToolsList/index.d.ts +0 -13
  428. package/build/esm/components/organisms/navigationV2/components/molecules/menuHealthToolsList/index.styled.d.ts +0 -2
  429. package/build/esm/components/organisms/navigationV2/components/molecules/menuHealthToolsList/toolSpotlights.d.ts +0 -8
  430. package/build/esm/components/organisms/navigationV2/components/molecules/menuServiceList/index.d.ts +0 -8
  431. package/build/esm/components/organisms/navigationV2/components/molecules/menuServiceList/index.styled.d.ts +0 -23
  432. package/build/esm/components/organisms/navigationV2/components/molecules/navigationBar/hamburgerMenu.d.ts +0 -9
  433. package/build/esm/components/organisms/navigationV2/components/molecules/navigationBar/index.d.ts +0 -13
  434. package/build/esm/components/organisms/navigationV2/components/molecules/navigationBar/index.styled.d.ts +0 -12
  435. package/build/esm/components/organisms/navigationV2/components/molecules/navigationBar/navigationProfileButtonWithContext.d.ts +0 -4
  436. package/build/esm/components/organisms/navigationV2/components/molecules/spotlightNoData/index.d.ts +0 -10
  437. package/build/esm/components/organisms/navigationV2/components/molecules/spotlightNoData/index.styled.d.ts +0 -5
  438. package/build/esm/components/organisms/navigationV2/constants.d.ts +0 -59
  439. package/build/esm/components/organisms/navigationV2/hooks/useHeaderHeight.d.ts +0 -13
  440. package/build/esm/components/organisms/navigationV2/hooks/useInsider.d.ts +0 -1
  441. package/build/esm/components/organisms/navigationV2/hooks/useNavConfig.d.ts +0 -24
  442. package/build/esm/components/organisms/navigationV2/hooks/useNavServices.d.ts +0 -2
  443. package/build/esm/components/organisms/navigationV2/index.d.ts +0 -60
  444. package/build/esm/components/organisms/navigationV2/index.styled.d.ts +0 -3
  445. package/build/esm/components/organisms/navigationV2/navigationContext.d.ts +0 -10
  446. package/build/esm/components/organisms/navigationV2/types.d.ts +0 -244
  447. package/build/esm/components/organisms/navigationV2/utils.d.ts +0 -57
  448. package/build/esm/components/organisms/userProfileNavigation/constants.d.ts +0 -8
  449. package/build/esm/components/organisms/userProfileNavigation/index.d.ts +0 -33
  450. package/build/esm/components/organisms/userProfileNavigation/index.styled.d.ts +0 -5
  451. package/build/esm/components/organisms/userProfileNavigation/navHeader/index.d.ts +0 -10
  452. package/build/esm/components/organisms/userProfileNavigation/navHeader/index.styled.d.ts +0 -7
  453. package/build/esm/components/organisms/userProfileNavigation/navMenu/index.d.ts +0 -9
  454. package/build/esm/components/organisms/userProfileNavigation/navMenu/index.styled.d.ts +0 -10
  455. package/build/esm/components/organisms/userProfileNavigation/navMenu/items.d.ts +0 -3
  456. package/build/esm/components/organisms/userProfileNavigation/navigationCard/index.d.ts +0 -10
  457. package/build/esm/components/organisms/userProfileNavigation/navigationCard/index.styled.d.ts +0 -3
  458. package/build/esm/components/organisms/userProfileNavigation/types.d.ts +0 -17
  459. package/build/esm/components/organisms/userProfileNavigation/userStats/index.d.ts +0 -9
  460. package/build/esm/components/organisms/userProfileNavigation/userStats/index.styled.d.ts +0 -9
  461. package/build/esm/components.js.map +0 -1
  462. package/build/esm/constants-dc22740c.js.map +0 -1
  463. package/build/esm/cookieHelper-083bb24e.js.map +0 -1
  464. package/build/esm/core-3d8a3f90.js.map +0 -1
  465. package/build/esm/core.d.ts +0 -7
  466. package/build/esm/core.js.map +0 -1
  467. package/build/esm/ecom/dataFormatter/index.d.ts +0 -43
  468. package/build/esm/ecom/dataFormatter/lib/apiTypes.d.ts +0 -575
  469. package/build/esm/ecom/dataFormatter/lib/dataTypes.d.ts +0 -483
  470. package/build/esm/ecom/dataFormatter/lib/utils.d.ts +0 -10
  471. package/build/esm/ecom/index.d.ts +0 -5
  472. package/build/esm/ecom/interfaces/constants.d.ts +0 -129
  473. package/build/esm/ecom/interfaces/types.d.ts +0 -85
  474. package/build/esm/ecom.js.map +0 -1
  475. package/build/esm/hooks/useCSSFocusPopupHelper.d.ts +0 -10
  476. package/build/esm/hooks/useDragScroll.d.ts +0 -10
  477. package/build/esm/hooks/useDropdownSearch.d.ts +0 -15
  478. package/build/esm/hooks/useFbDataLayer.d.ts +0 -2
  479. package/build/esm/hooks/useGeolocation.d.ts +0 -7
  480. package/build/esm/hooks/useGetIsMobile.d.ts +0 -2
  481. package/build/esm/hooks/useImagesPicker.d.ts +0 -8
  482. package/build/esm/hooks/useIsInit.d.ts +0 -1
  483. package/build/esm/hooks/useOutsideClick.d.ts +0 -2
  484. package/build/esm/hooks/useScreenSize.d.ts +0 -5
  485. package/build/esm/hooks/useScrollbarSize.d.ts +0 -9
  486. package/build/esm/hooks/useTranslations.d.ts +0 -10
  487. package/build/esm/i18n/index.d.ts +0 -3
  488. package/build/esm/i18n/translations.d.ts +0 -23
  489. package/build/esm/i18n/translationsContext.d.ts +0 -11
  490. package/build/esm/i18n/translationsProvider.d.ts +0 -16
  491. package/build/esm/i18n.js.map +0 -1
  492. package/build/esm/index-04b83fef.js +0 -2
  493. package/build/esm/index-04b83fef.js.map +0 -1
  494. package/build/esm/index-130e6504.js.map +0 -1
  495. package/build/esm/index-17e56dd2.js +0 -8
  496. package/build/esm/index-17e56dd2.js.map +0 -1
  497. package/build/esm/index-a6f4de82.js +0 -2
  498. package/build/esm/index-a6f4de82.js.map +0 -1
  499. package/build/esm/index.d.ts +0 -12
  500. package/build/esm/index.js.map +0 -1
  501. package/build/esm/index.styled-4510c448.js +0 -2
  502. package/build/esm/index.styled-4510c448.js.map +0 -1
  503. package/build/esm/interfaces/constants.d.ts +0 -31
  504. package/build/esm/interfaces/types.d.ts +0 -83
  505. package/build/esm/misc/cookieHelper.d.ts +0 -3
  506. package/build/esm/misc/lazyLoad.d.ts +0 -2
  507. package/build/esm/misc/mockTheme.d.ts +0 -5
  508. package/build/esm/misc/number.d.ts +0 -1
  509. package/build/esm/misc/routing.d.ts +0 -6
  510. package/build/esm/misc/theme.d.ts +0 -161
  511. package/build/esm/misc/utils.d.ts +0 -49
  512. package/build/esm/navigation.js.map +0 -1
  513. package/build/esm/test/testTranslationProvider.d.ts +0 -4
  514. package/build/esm/theme-d85b3a33.js.map +0 -1
  515. package/build/esm/together/api/dataTransform.d.ts +0 -29
  516. package/build/esm/together/api/paths.d.ts +0 -145
  517. package/build/esm/together/api/utils.d.ts +0 -64
  518. package/build/esm/together/components/atoms/cardLink/index.d.ts +0 -12
  519. package/build/esm/together/components/atoms/cardLink/index.styled.d.ts +0 -1
  520. package/build/esm/together/components/atoms/cardReactions/index.d.ts +0 -23
  521. package/build/esm/together/components/atoms/cardReactions/index.styled.d.ts +0 -5
  522. package/build/esm/together/components/atoms/index.d.ts +0 -8
  523. package/build/esm/together/components/atoms/labelSortPin/index.d.ts +0 -11
  524. package/build/esm/together/components/atoms/labelSortPin/index.styled.d.ts +0 -1
  525. package/build/esm/together/components/atoms/labelSortPin/labelPin.d.ts +0 -9
  526. package/build/esm/together/components/atoms/labelSortPin/labelSorting.d.ts +0 -31
  527. package/build/esm/together/components/atoms/loading/index.d.ts +0 -7
  528. package/build/esm/together/components/atoms/loading/index.styled.d.ts +0 -2
  529. package/build/esm/together/components/atoms/loading/loadingCard.d.ts +0 -7
  530. package/build/esm/together/components/atoms/tagTopic/index.d.ts +0 -10
  531. package/build/esm/together/components/atoms/tagTopic/index.styled.d.ts +0 -1
  532. package/build/esm/together/components/atoms/userAvatar/index.d.ts +0 -10
  533. package/build/esm/together/components/atoms/userAvatar/index.styled.d.ts +0 -1
  534. package/build/esm/together/components/molecules/cardAuthor/customMMLocale/formatDistance.d.ts +0 -3
  535. package/build/esm/together/components/molecules/cardAuthor/customMMLocale/index.d.ts +0 -2
  536. package/build/esm/together/components/molecules/cardAuthor/customMMLocale/types.d.ts +0 -10
  537. package/build/esm/together/components/molecules/cardAuthor/index.d.ts +0 -33
  538. package/build/esm/together/components/molecules/cardAuthor/index.styled.d.ts +0 -3
  539. package/build/esm/together/components/molecules/createNewPostContent/index.d.ts +0 -19
  540. package/build/esm/together/components/molecules/createNewPostContent/index.styled.d.ts +0 -1
  541. package/build/esm/together/components/molecules/createPostDescription/editor.d.ts +0 -20
  542. package/build/esm/together/components/molecules/createPostDescription/index.d.ts +0 -19
  543. package/build/esm/together/components/molecules/createPostDescription/index.styled.d.ts +0 -2
  544. package/build/esm/together/components/molecules/createPostTitle/index.d.ts +0 -9
  545. package/build/esm/together/components/molecules/createPostTitle/index.styled.d.ts +0 -1
  546. package/build/esm/together/components/molecules/index.d.ts +0 -18
  547. package/build/esm/together/components/molecules/inputCommentBar/index.d.ts +0 -19
  548. package/build/esm/together/components/molecules/inputCommentBar/index.styled.d.ts +0 -1
  549. package/build/esm/together/components/molecules/inputCommentBar/mainInputTriggerContext.d.ts +0 -9
  550. package/build/esm/together/components/molecules/popupDanger/index.d.ts +0 -15
  551. package/build/esm/together/components/molecules/popupDanger/index.styled.d.ts +0 -1
  552. package/build/esm/together/components/molecules/popupDoctor/index.d.ts +0 -12
  553. package/build/esm/together/components/molecules/popupDoctor/index.styled.d.ts +0 -8
  554. package/build/esm/together/components/molecules/popupExpert/index.d.ts +0 -25
  555. package/build/esm/together/components/molecules/popupExpert/index.styled.d.ts +0 -7
  556. package/build/esm/together/components/molecules/popupFrame/index.d.ts +0 -11
  557. package/build/esm/together/components/molecules/popupFrame/index.styled.d.ts +0 -1
  558. package/build/esm/together/components/molecules/popupFrame/popupShare.d.ts +0 -11
  559. package/build/esm/together/components/molecules/popupHospital/index.d.ts +0 -30
  560. package/build/esm/together/components/molecules/popupHospital/index.styled.d.ts +0 -7
  561. package/build/esm/together/components/molecules/postContent/index.d.ts +0 -15
  562. package/build/esm/together/components/molecules/postContent/index.styled.d.ts +0 -1
  563. package/build/esm/together/components/molecules/postImagePreview/imagePreviewPopup.d.ts +0 -10
  564. package/build/esm/together/components/molecules/postImagePreview/index.d.ts +0 -9
  565. package/build/esm/together/components/molecules/postImagePreview/index.styled.d.ts +0 -2
  566. package/build/esm/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.d.ts +0 -7
  567. package/build/esm/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.styled.d.ts +0 -5
  568. package/build/esm/together/components/molecules/shareBox/index.d.ts +0 -8
  569. package/build/esm/together/components/molecules/shareBox/index.styled.d.ts +0 -1
  570. package/build/esm/together/components/molecules/socialLinkPreview/index.d.ts +0 -9
  571. package/build/esm/together/components/molecules/socialLinkPreview/index.styled.d.ts +0 -1
  572. package/build/esm/together/components/molecules/submitReportForm/index.d.ts +0 -11
  573. package/build/esm/together/components/molecules/submitReportForm/index.styled.d.ts +0 -1
  574. package/build/esm/together/components/molecules/topicSelectList/index.d.ts +0 -15
  575. package/build/esm/together/components/molecules/topicSelectList/index.styled.d.ts +0 -1
  576. package/build/esm/together/components/organisms/cardPost/cardPostPopover.d.ts +0 -14
  577. package/build/esm/together/components/organisms/cardPost/index.d.ts +0 -27
  578. package/build/esm/together/components/organisms/cardPost/index.styled.d.ts +0 -1
  579. package/build/esm/together/components/organisms/cardReply/cardReplyPopover.d.ts +0 -7
  580. package/build/esm/together/components/organisms/cardReply/index.d.ts +0 -18
  581. package/build/esm/together/components/organisms/cardReply/index.styled.d.ts +0 -1
  582. package/build/esm/together/components/organisms/index.d.ts +0 -5
  583. package/build/esm/together/components/organisms/popoverMenu/index.d.ts +0 -16
  584. package/build/esm/together/components/organisms/popoverMenu/index.styled.d.ts +0 -2
  585. package/build/esm/together/components/organisms/popoverMenu/treePopoverMenu.d.ts +0 -29
  586. package/build/esm/together/hooks/useTogetherAuthRequiredAction.d.ts +0 -23
  587. package/build/esm/together/index.d.ts +0 -8
  588. package/build/esm/together/interfaces/constants.d.ts +0 -104
  589. package/build/esm/together/interfaces/types.d.ts +0 -1283
  590. package/build/esm/together/togetherComponentGlobalContext.d.ts +0 -72
  591. package/build/esm/together/utils/apiActions/comment.d.ts +0 -31
  592. package/build/esm/together/utils/apiActions/community.d.ts +0 -6
  593. package/build/esm/together/utils/apiActions/post.d.ts +0 -48
  594. package/build/esm/together/utils/apiActions/topic.d.ts +0 -7
  595. package/build/esm/together/utils/notification.d.ts +0 -7
  596. package/build/esm/together/utils/post.d.ts +0 -43
  597. package/build/esm/together.js.map +0 -1
  598. package/build/esm/translationsContext-b0b4655d.js.map +0 -1
  599. package/build/esm/translationsProvider-7ccc3d2b.js.map +0 -1
  600. package/build/esm/tslib.es6-fd0a5c98.js.map +0 -1
  601. package/build/esm/types-a9462b3e.js +0 -2
  602. package/build/esm/types-a9462b3e.js.map +0 -1
  603. package/build/esm/types-bb039dd3.js +0 -2
  604. package/build/esm/types-bb039dd3.js.map +0 -1
  605. package/build/esm/types-dd4dd7f7.js.map +0 -1
  606. package/build/esm/useFbDataLayer-58443cc1.js.map +0 -1
  607. package/build/esm/useOutsideClick-6004483a.js.map +0 -1
  608. package/build/esm/useScrollbarSize-99db33e1.js.map +0 -1
  609. package/build/esm/useTranslations-f3eec98c.js +0 -2
  610. package/build/esm/useTranslations-f3eec98c.js.map +0 -1
  611. package/build/i18n.js.map +0 -1
  612. package/build/index-3532b37c.js +0 -2
  613. package/build/index-3532b37c.js.map +0 -1
  614. package/build/index-568e37d3.js +0 -2
  615. package/build/index-568e37d3.js.map +0 -1
  616. package/build/index-c9b9e9d1.js.map +0 -1
  617. package/build/index-dbb52923.js +0 -2
  618. package/build/index-dbb52923.js.map +0 -1
  619. package/build/index.js.map +0 -1
  620. package/build/index.styled-66508bf8.js +0 -2
  621. package/build/index.styled-66508bf8.js.map +0 -1
  622. package/build/navigation.js.map +0 -1
  623. package/build/theme-79e84625.js.map +0 -1
  624. package/build/together.js.map +0 -1
  625. package/build/translationsContext-351bc1a7.js.map +0 -1
  626. package/build/translationsProvider-d06a3c76.js.map +0 -1
  627. package/build/tslib.es6-f7929e76.js +0 -16
  628. package/build/tslib.es6-f7929e76.js.map +0 -1
  629. package/build/types-8ced0dc3.js +0 -2
  630. package/build/types-8ced0dc3.js.map +0 -1
  631. package/build/types-ed09baa8.js +0 -2
  632. package/build/types-ed09baa8.js.map +0 -1
  633. package/build/types-ff716cdb.js.map +0 -1
  634. package/build/useFbDataLayer-508d5450.js.map +0 -1
  635. package/build/useOutsideClick-528bfd6c.js.map +0 -1
  636. package/build/useScrollbarSize-586f6706.js.map +0 -1
  637. package/build/useTranslations-41d2f908.js +0 -2
  638. package/build/useTranslations-41d2f908.js.map +0 -1
@@ -1,16 +1 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation.
3
-
4
- Permission to use, copy, modify, and/or distribute this software for any
5
- purpose with or without fee is hereby granted.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */
15
1
  var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};function e(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)};function r(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}function o(t,e,n,r){return new(n||(n=Promise))((function(o,a){function c(t){try{i(r.next(t))}catch(t){a(t)}}function l(t){try{i(r.throw(t))}catch(t){a(t)}}function i(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(c,l)}i((r=r.apply(t,e||[])).next())}))}function a(t,e){var n,r,o,a,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,r=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(!(o=c.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){c=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(6===a[0]&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=e.call(t,c)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}function c(t,e,n){if(n||2===arguments.length)for(var r,o=0,a=e.length;o<a;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}function l(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}export{n as _,c as a,r as b,l as c,o as d,a as e,e as f};
16
- //# sourceMappingURL=tslib.es6-fd0a5c98.js.map
@@ -1,2 +1 @@
1
- import{_ as e}from"./tslib.es6-fd0a5c98.js";import{i as o,t}from"./theme-d85b3a33.js";var i,l=Object.freeze({__proto__:null}),n=Object.freeze({__proto__:null}),a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,r="undefined"==typeof window,s=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",u=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",c=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,d=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",m={"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"},p=a?"http://localhost:3001":o?"https://".concat(m[s]):"https://discover.".concat(m[s]),_=o?"https://wp.".concat(m[s],"/"):"https://staging.".concat(m[s],"/"),h=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:"https://together.".concat(m[s],"/"),E="".concat(p,"/community"),v=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(i||(i={}));var I={"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(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=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:e,numberOfItems:o,itemListElement:t}]})},BRAND:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=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:e,numberOfItems:o,itemListElement:t}]})},BRAND_DETAIL:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=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(e),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop".concat(e)}}]},{"@type":"BrandDetail",url:"https://hellobacsi.com/shop".concat(e),numberOfItems:o,itemListElement:null!=t?t:{}}]})},PRODUCT_DETAIL:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=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(e),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/san-pham/".concat(e)}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}}},T=Object.freeze({__proto__:null,isDevelopment:a,IS_SSR:r,locale:s,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:u,GOOGLE_ADMIN_LOCATION_KEY:c,GOOGLE_CLIENT_ID:d,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:m,DISCOVER_URL_FE:p,DISCOVER_URL_BE:_,TOGETHER_URL_BE:h,TOGETHER_URL_FE:E,SSO_URL:v,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 i},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:I});function g(e){return null!=e}var O,A={formatAutoCompleteAddress:function(e){return e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null},formatPrice:function(e,o){var t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:function(e){return{text:(null==e?void 0:e.name)||""}},formatHelpfulUrl:function(e){return{name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}},formatCategory:function(e,o,i){var l,n,a,r=i?i+"/"+e.slug:e.slug,s=(null===(n=null===(l=null==e?void 0:e.children)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,(function(o){return A.formatCategory(o,e.id,r)})))||[];return{id:null==e?void 0:e.id,name:(null==e?void 0:e.name)||"",logo:(null==e?void 0:e.logo)||"",slug:(null==e?void 0:e.slug)||"",fullSlug:r||"",children:s,backgroundColor:e.color||t.colors.teal50,parentId:o||0,products:(null===(a=e.products)||void 0===a?void 0:a.map(A.formatProduct))||[]}},formatFooterInfo:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g=(null===(i=null===(t=null===(o=null==e?void 0:e.branch)||void 0===o?void 0:o.branch)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(e){return{flag:e.flag||"",name:e.name||"",url:e.url||""}})))||[],O=(null===(a=null===(n=null===(l=null==e?void 0:e.general)||void 0===l?void 0:l.verified)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(e){return{image:e.image||"",url:e.url||""}})))||[],A=(null===(s=null===(r=null==e?void 0:e.menu)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,(function(e){var o,t;return{menu_title:e.menu_title,items:null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(function(e){return{title:e.title,url:e.url}}))}})))||[],f=(null===(d=null===(c=null===(u=null==e?void 0:e.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(function(e){return{icon:e.icon||"",name:e.name||"",url:e.url||""}})))||[];return{branch:{title:(null===(m=null==e?void 0:e.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==e?void 0:e.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==e?void 0:e.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(I=null===(v=null==e?void 0:e.general)||void 0===v?void 0:v.copyright)&&void 0!==I?I:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:f}}},formatNavigation:function(e){var o,t,i,l,n,a;return{hotSearchKeywords:(null===(t=null===(o=null==e?void 0:e.hot_search_keywords)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatHotSearchKeyword))||[],helpfulUrls:(null===(l=null===(i=null==e?void 0:e.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==e?void 0:e.categories)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(e){return A.formatCategory(e)})))||[],footer:A.formatFooterInfo(null==e?void 0:e.footer),storeId:(null==e?void 0:e.store_id)||0,customerId:(null==e?void 0:e.customer_id)||0,cartItemsQty:"number"==typeof(null==e?void 0:e.cart_items_qty)?e.cart_items_qty:null}},formatPriceInfo:function(e){return e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null},formatProduct:function(e){var o,t,i,l;if(!e)return null;var n={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&A.formatPriceInfo(e.price)||n,thumbnail:e.thumbnail||"",name:e.name||"",averageRating:Number((e.average_rating||0).toFixed(2)),reviewsCount:e.reviews_count||0,tag:e.tag||null,sku:e.sku||"",slug:e.slug||"",images:e.images||[],tags:e.tags||[],unit:e.unit||"",brand:e.brand?{name:e.brand.name||"",image:e.brand.image||"",slug:e.brand.slug||"",productsCount:e.brand.products_count||0}:null,description:e.description||"",productPromotions:(null===(t=null===(o=e.product_promotions)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatProductPromotion).filter(g))||[],categories:(null===(l=null===(i=e.categories)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,(function(e){return A.formatCategory(e)})).filter(g))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:function(e){return e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null},formatBlogPost:function(e){var o,t;return e?{title:e.title||"",image:e.image||"",link:e.link||"",postData:e.post_data?{reviewed:e.post_data.reviewed?{author:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(e.post_data.reviewed.is_author)}:null,categories:e.post_data.categories?null===(t=(o=e.post_data.categories).map)||void 0===t?void 0:t.call(o,(function(e){return{termId:e.term_id||0,name:e.name||"",permalink:e.permalink||"",textColor:e.text_color||""}})):[],postDate:e.post_data.post_date||"",postModified:e.post_data.post_modified||"",modifiedTime:e.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:function(e){return e?{id:e.ID||0,userId:e.user_id||0,formerRole:e.former_role||"",role:e.role||"",slug:e.slug||"",displayName:e.display_name||"",description:e.description||"",profileUrl:e.profile_url||"",avatar:e.avatar||"",avatarThumbnail:e.avatar_thumbnail||"",turnOffProfile:Boolean(e.turn_off_profile)}:null},formatBrand:function(e){var o,t,i,l;return e?{id:e.id||0,image:e.image||"",position:e.position||"",isPopular:e.is_popular||!1,summary:e.summary||"",name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatBanner).filter(g))||[],bestsellerProducts:(null===(l=null===(i=e.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(g))||[]}:null},formatHomePage:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,O;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,A.formatBrand).filter(g):[],hotDeals:e.hot_deals?null===(l=(i=e.hot_deals).map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(g):[],newProducts:e.new_products?null===(a=(n=e.new_products).map)||void 0===a?void 0:a.call(n,A.formatProduct).filter(g):[],slideBanners:e.slide_banners?null===(s=(r=e.slide_banners).map)||void 0===s?void 0:s.call(r,A.formatBanner).filter(g):[],subBanners:e.sub_banners?null===(c=(u=e.sub_banners).map)||void 0===c?void 0:c.call(u,A.formatBanner).filter(g):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,A.formatBanner).filter(g):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,A.formatBlogPost).filter(g):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(function(e){return A.formatCategory(e)})).filter(g):[],suggestProducts:e.suggest_products?null===(I=(v=e.suggest_products).map)||void 0===I?void 0:I.call(v,(function(e){return A.formatCategory(e)})).filter(g):[],promotions:e.promotions?null===(O=(T=e.promotions).map)||void 0===O?void 0:O.call(T,(function(e){return A.formatPromotion(e)})).filter(g):[]}:null},formatCategoryPage:function(e){var o,t,i,l;return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatBanner).filter(g))||[],bestsellerProducts:(null===(l=null===(i=e.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(g))||[]}:null},formatBrandPage:function(e){return e?A.formatBrand(e):null},formatPagination:function(e){return e?{current:e.current||0,first:e.first||0,itemsPerPage:e.items_per_page||0,last:e.last||0,next:e.next||0,prev:e.prev||0,totalItems:e.total_items||0}:null},formatProductDetailPage:function(o){var t,i,l,n,a,r,s,u;return o?e(e({},A.formatProduct(o)),{relatedProducts:(null===(i=null===(t=o.related_products)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,A.formatProduct).filter(g))||[],bestsellerProducts:(null===(n=null===(l=o.bestseller_products)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,A.formatProduct).filter(g))||[],viewedProducts:(null===(r=null===(a=o.viewed_products)||void 0===a?void 0:a.map)||void 0===r?void 0:r.call(a,A.formatProduct).filter(g))||[],promotions:(null===(u=null===(s=o.promotions)||void 0===s?void 0:s.map)||void 0===u?void 0:u.call(s,A.formatPromotion).filter(g))||[]}):null},formatProductReview:function(e){var o,t;return e?{reviewId:e.review_id||"",createdAt:e.created_at||"",title:e.title||"",detail:e.detail||"",nickname:e.nick_name||"",avatar:e.avatar||"",ratingVotes:(null===(t=null===(o=e.rating_votes)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(function(e){return{ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}})))||[],images:e.images||[]}:null},formatProductPromotion:function(e){return e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null},formatPromotion:function(e){return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",thumbnail:e.thumbnail||"",expiredDate:e.expired_date||"",banners:e.banners||[],points:0,description:e.description||"",metaTitle:e.meta_title||"",metaKeywords:e.meta_keywords||"",metaDescription:e.meta_description||""}:null},formatCustomAttributes:function(e,o){var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((function(e){return e.attribute_code===o})))||void 0===t?void 0:t.value)||""},formatAddress:function(e){var o,t,i,l;return e?{id:e.id||0,fullName:e.firstname||"",telephone:e.telephone||"",province:{value:null===(o=e.region)||void 0===o?void 0:o.region_id,label:null===(t=e.region)||void 0===t?void 0:t.region}||null,district:{value:A.formatCustomAttributes(e.custom_attributes,"district_id"),label:A.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:A.formatCustomAttributes(e.custom_attributes,"ward_id"),label:A.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(i=null==e?void 0:e.street)||void 0===i?void 0:i.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(l=null==e?void 0:e.extension_attributes)||void 0===l?void 0:l.full_address)||""}:null},formatProvince:function(e){return(null==e?void 0:e.available_regions)?e.available_regions.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatDistrict:function(e){return(null==e?void 0:e.districts)?e.districts.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatCommune:function(e){return(null==e?void 0:e.communes)?e.communes.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatOrder:function(e){var o,t;return e?{orderNumber:(null==e?void 0:e.order_number)||"",shippingData:(null==e?void 0:e.shipping_data)?{shippingMethod:e.shipping_data.shipping_method||"",shippingDescription:e.shipping_data.shipping_description||"",shippingAddress:e.shipping_data.shipping_address?{fullName:e.shipping_data.shipping_address.firstname||"",fullAddress:e.shipping_data.shipping_address.full_address||"",telephone:e.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==e?void 0:e.ordered_date)||"",status:(null==e?void 0:e.status)||null,totals:(null==e?void 0:e.totals)?{subtotal:e.totals.subtotal||0,shippingAmount:e.totals.shipping_amount||0,discountAmount:e.totals.discount_amount||0,grandTotal:e.totals.grand_total||0}:null,products:(null===(t=null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(function(e){return{sku:e.sku||"",name:e.name||"",price:e.price||0,rowTotal:e.row_total||0,image:e.image||"",qty:e.qty||0}})))||[],paymentMethod:(null==e?void 0:e.payment_method)||""}:null},formatStatistic:function(e){var o,t,i,l,n;return e?{pending:Number(null===(o=null==e?void 0:e.find((function(e){return"pending"===e.status})))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((function(e){return"processing"===e.status})))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(i=null==e?void 0:e.find((function(e){return"delivering"===e.status})))||void 0===i?void 0:i.amount)||0,complete:Number(null===(l=null==e?void 0:e.find((function(e){return"complete"===e.status})))||void 0===l?void 0:l.amount)||0,canceled:Number(null===(n=null==e?void 0:e.find((function(e){return"canceled"===e.status})))||void 0===n?void 0:n.amount)||0}:{}},formatCartItem:function(e){var o,t,i,l,n,a,r,s;return e?{itemId:e.item_id||0,sku:e.sku||"",qty:e.qty||0,name:e.name||"",price:e.price||0,basePrice:(null===(o=e.extension_attributes)||void 0===o?void 0:o.base_price)||0,productType:e.product_type||"",quoteId:e.quote_id||"",thumbnail:(null===(t=e.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(i=e.extension_attributes)||void 0===i?void 0:i.row_total)||0,promotions:(null===(a=null===(n=null===(l=e.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=e.extension_attributes)||void 0===r?void 0:r.is_in_stock)||!1,urlProduct:(null===(s=e.extension_attributes)||void 0===s?void 0:s.url_key)||""}:null},formatCartAddress:function(e){var o;return e?{customerAddressId:(null==e?void 0:e.customer_address_id)||0,id:e.id||0,region:e.region||"",regionId:e.region_id||0,regionCode:e.region_code||"",countryId:e.country_id||"",street:e.street||[],postcode:e.postcode||"",city:e.city||"",firstname:e.firstname||"",lastname:e.lastname||"",customerId:e.customer_id||0,email:e.email||"",telephone:e.telephone||"",sameAsBilling:e.same_as_billing||0,saveInAddressBook:e.save_in_address_book||0,fullAddress:(null===(o=e.extension_attributes)||void 0===o?void 0:o.full_address)||""}:null},formatEstimatedShipping:function(e){return e?{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",carrierTitle:e.carrier_title||"",methodTitle:e.method_title||"",amount:e.amount||0,baseAmount:e.base_amount||0,available:e.available||!1,errorMessage:e.error_message||"",priceExclTax:e.price_excl_tax||0,priceInclTax:e.price_incl_tax||0}:null},formatCartLoggedInCustomer:function(e){var o,t,i;return e?{email:e.email||"",firstname:e.firstname||"",lastname:e.lastname||"",id:e.id||0,groupId:e.group_id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",createdIn:e.created_in||"",storeId:e.store_id||0,websiteId:e.website_id||0,addresses:(null===(t=null===(o=e.addresses)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(i=e.extension_attributes)||void 0===i?void 0:i.is_subscribed)||!1}:null},formatCart:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_;return e?{id:e.id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",isActive:e.is_active||!1,isVirtual:e.is_virtual||!1,items:(null===(i=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatCartItem))||void 0===i?void 0:i.sort((function(e,o){return Number(null==o?void 0:o.isInStock)-Number(null==e?void 0:e.isInStock)})))||[],itemsCount:e.items_count||0,itemsQty:e.items_qty||0,customer:e.customer?A.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?A.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(l=e.currency)||void 0===l?void 0:l.global_currency_code)||"",baseCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.base_currency_code)||"",storeCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.store_currency_code)||"",quoteCurrencyCode:(null===(r=e.currency)||void 0===r?void 0:r.quote_currency_code)||"",storeToBaseRate:(null===(s=e.currency)||void 0===s?void 0:s.store_to_base_rate)||0,storeToQuoteRate:(null===(u=e.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=e.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=e.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:e.customer_is_guest||!1,customerNoteNotify:e.customer_note_notify||!1,customerTaxClassId:e.customer_tax_class_id||0,storeId:e.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=e.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(function(e){var o,t,i;return{shipping:{address:e.shipping.address?A.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(i=(t=e.items).map)||void 0===i?void 0:i.call(t,A.formatCartItem))||[]}}))}:null},formatCartTotal:function(e){var o,t,i;return e?{grandTotal:e.grand_total||0,baseGrandTotal:e.base_grand_total||0,subtotal:e.subtotal||0,baseSubtotal:e.base_subtotal||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,subtotalWithDiscount:e.subtotal_with_discount||0,baseSubtotalWithDiscount:e.base_subtotal_with_discount||0,shippingAmount:e.shipping_amount||0,baseShippingAmount:e.base_shipping_amount||0,shippingDiscountAmount:e.shipping_discount_amount||0,baseShippingDiscountAmount:e.base_shipping_discount_amount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,shippingTaxAmount:e.shipping_tax_amount||0,baseShippingTaxAmount:e.base_shipping_tax_amount||0,subtotalInclTax:e.subtotal_incl_tax||0,shippingInclTax:e.shipping_incl_tax||0,baseShippingInclTax:e.base_shipping_incl_tax||0,baseCurrencyCode:e.base_currency_code||"",quoteCurrencyCode:e.quote_currency_code||"",itemsQty:e.items_qty||0,coupon:{couponCode:e.coupon_code||"",couponDescription:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.coupon_description_text)||""},items:(null===(i=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(e){return{itemId:e.item_id||0,price:e.price||0,basePrice:e.base_price||0,qty:e.qty||0,rowTotal:e.row_total||0,baseRowTotal:e.base_row_total||0,rowTotalWithDiscount:e.row_total_with_discount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,taxPercent:e.tax_percent||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,discountPercent:e.discount_percent||0,priceInclTax:e.price_incl_tax||0,basePriceInclTax:e.base_price_incl_tax||0,rowTotalInclTax:e.row_total_incl_tax||0,baseRowTotalInclTax:e.base_row_total_incl_tax||0,options:e.options||"",weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,weeeTaxApplied:e.weee_tax_applied||0,name:e.name||""}})))||[],totalSegments:e.total_segments||[]}:null},formatPaymentMethod:function(e){return e?null==e?void 0:e.map((function(e){return{code:(null==e?void 0:e.payment_code)||"",title:(null==e?void 0:e.payment_title)||"",thumbnail:(null==e?void 0:e.payment_thumbnail)||""}})):null},formatPaymentInformation:function(e){var o;return e?{paymentMethods:A.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:A.formatCartTotal(e.totals)}:null},formatOrderConfirmation:function(e){return e?{isSuccess:e.is_success||!1,orderInfo:A.formatOrder(e.order_info)}:null},formatCoupons:function(e){var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((function(e){return{code:(null==e?void 0:e.code)||"",name:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",description:(null==e?void 0:e.expired_date)||""}})):null},formatShippings:function(e){return e?e.map((function(e){var o;return{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",title:e.carrier_title||"",description:e.method_title||"",price:(null==e?void 0:e.base_amount)||0,thumbnail:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.thumbnail)||""}})):[]}},f=Object.freeze({__proto__:null,dataFormatter:A});!function(e){e.MALE="gender.male",e.FEMALE="gender.female",e.OTHER="gender.other"}(O||(O={}));var b=Object.freeze({__proto__:null,get GenderLabel(){return O},DATE_FORMAT_API:"yyyy-MM-dd",DATE_FORMAT:"dd-MM-yyyy"});export{l as a,T as c,n as d,f as i,b as t};
2
- //# sourceMappingURL=types-dd4dd7f7.js.map
1
+ import{_ as e}from"./tslib.es6-f75a5274.js";import{i as o,t}from"./theme-d85b3a33.js";var i,l=Object.freeze({__proto__:null}),n=Object.freeze({__proto__:null}),a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,r="undefined"==typeof window,s=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",u=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",c=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,d=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",m={"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"},p=a?"http://localhost:3001":o?"https://".concat(m[s]):"https://discover.".concat(m[s]),_=o?"https://wp.".concat(m[s],"/"):"https://staging.".concat(m[s],"/"),h=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:"https://together.".concat(m[s],"/"),E="".concat(p,"/community"),v=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(i||(i={}));var I={"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(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=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:e,numberOfItems:o,itemListElement:t}]})},BRAND:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=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:e,numberOfItems:o,itemListElement:t}]})},BRAND_DETAIL:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=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(e),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop".concat(e)}}]},{"@type":"BrandDetail",url:"https://hellobacsi.com/shop".concat(e),numberOfItems:o,itemListElement:null!=t?t:{}}]})},PRODUCT_DETAIL:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=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(e),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/san-pham/".concat(e)}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}}},T=Object.freeze({__proto__:null,isDevelopment:a,IS_SSR:r,locale:s,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:u,GOOGLE_ADMIN_LOCATION_KEY:c,GOOGLE_CLIENT_ID:d,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:m,DISCOVER_URL_FE:p,DISCOVER_URL_BE:_,TOGETHER_URL_BE:h,TOGETHER_URL_FE:E,SSO_URL:v,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 i},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:I});function g(e){return null!=e}var O,A={formatAutoCompleteAddress:function(e){return e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null},formatPrice:function(e,o){var t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:function(e){return{text:(null==e?void 0:e.name)||""}},formatHelpfulUrl:function(e){return{name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}},formatCategory:function(e,o,i){var l,n,a,r=i?i+"/"+e.slug:e.slug,s=(null===(n=null===(l=null==e?void 0:e.children)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,(function(o){return A.formatCategory(o,e.id,r)})))||[];return{id:null==e?void 0:e.id,name:(null==e?void 0:e.name)||"",logo:(null==e?void 0:e.logo)||"",slug:(null==e?void 0:e.slug)||"",fullSlug:r||"",children:s,backgroundColor:e.color||t.colors.teal50,parentId:o||0,products:(null===(a=e.products)||void 0===a?void 0:a.map(A.formatProduct))||[]}},formatFooterInfo:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g=(null===(i=null===(t=null===(o=null==e?void 0:e.branch)||void 0===o?void 0:o.branch)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(e){return{flag:e.flag||"",name:e.name||"",url:e.url||""}})))||[],O=(null===(a=null===(n=null===(l=null==e?void 0:e.general)||void 0===l?void 0:l.verified)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(e){return{image:e.image||"",url:e.url||""}})))||[],A=(null===(s=null===(r=null==e?void 0:e.menu)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,(function(e){var o,t;return{menu_title:e.menu_title,items:null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(function(e){return{title:e.title,url:e.url}}))}})))||[],f=(null===(d=null===(c=null===(u=null==e?void 0:e.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(function(e){return{icon:e.icon||"",name:e.name||"",url:e.url||""}})))||[];return{branch:{title:(null===(m=null==e?void 0:e.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==e?void 0:e.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==e?void 0:e.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(I=null===(v=null==e?void 0:e.general)||void 0===v?void 0:v.copyright)&&void 0!==I?I:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:f}}},formatNavigation:function(e){var o,t,i,l,n,a;return{hotSearchKeywords:(null===(t=null===(o=null==e?void 0:e.hot_search_keywords)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatHotSearchKeyword))||[],helpfulUrls:(null===(l=null===(i=null==e?void 0:e.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==e?void 0:e.categories)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(e){return A.formatCategory(e)})))||[],footer:A.formatFooterInfo(null==e?void 0:e.footer),storeId:(null==e?void 0:e.store_id)||0,customerId:(null==e?void 0:e.customer_id)||0,cartItemsQty:"number"==typeof(null==e?void 0:e.cart_items_qty)?e.cart_items_qty:null}},formatPriceInfo:function(e){return e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null},formatProduct:function(e){var o,t,i,l;if(!e)return null;var n={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&A.formatPriceInfo(e.price)||n,thumbnail:e.thumbnail||"",name:e.name||"",averageRating:Number((e.average_rating||0).toFixed(2)),reviewsCount:e.reviews_count||0,tag:e.tag||null,sku:e.sku||"",slug:e.slug||"",images:e.images||[],tags:e.tags||[],unit:e.unit||"",brand:e.brand?{name:e.brand.name||"",image:e.brand.image||"",slug:e.brand.slug||"",productsCount:e.brand.products_count||0}:null,description:e.description||"",productPromotions:(null===(t=null===(o=e.product_promotions)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatProductPromotion).filter(g))||[],categories:(null===(l=null===(i=e.categories)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,(function(e){return A.formatCategory(e)})).filter(g))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:function(e){return e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null},formatBlogPost:function(e){var o,t;return e?{title:e.title||"",image:e.image||"",link:e.link||"",postData:e.post_data?{reviewed:e.post_data.reviewed?{author:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(e.post_data.reviewed.is_author)}:null,categories:e.post_data.categories?null===(t=(o=e.post_data.categories).map)||void 0===t?void 0:t.call(o,(function(e){return{termId:e.term_id||0,name:e.name||"",permalink:e.permalink||"",textColor:e.text_color||""}})):[],postDate:e.post_data.post_date||"",postModified:e.post_data.post_modified||"",modifiedTime:e.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:function(e){return e?{id:e.ID||0,userId:e.user_id||0,formerRole:e.former_role||"",role:e.role||"",slug:e.slug||"",displayName:e.display_name||"",description:e.description||"",profileUrl:e.profile_url||"",avatar:e.avatar||"",avatarThumbnail:e.avatar_thumbnail||"",turnOffProfile:Boolean(e.turn_off_profile)}:null},formatBrand:function(e){var o,t,i,l;return e?{id:e.id||0,image:e.image||"",position:e.position||"",isPopular:e.is_popular||!1,summary:e.summary||"",name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatBanner).filter(g))||[],bestsellerProducts:(null===(l=null===(i=e.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(g))||[]}:null},formatHomePage:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,O;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,A.formatBrand).filter(g):[],hotDeals:e.hot_deals?null===(l=(i=e.hot_deals).map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(g):[],newProducts:e.new_products?null===(a=(n=e.new_products).map)||void 0===a?void 0:a.call(n,A.formatProduct).filter(g):[],slideBanners:e.slide_banners?null===(s=(r=e.slide_banners).map)||void 0===s?void 0:s.call(r,A.formatBanner).filter(g):[],subBanners:e.sub_banners?null===(c=(u=e.sub_banners).map)||void 0===c?void 0:c.call(u,A.formatBanner).filter(g):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,A.formatBanner).filter(g):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,A.formatBlogPost).filter(g):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(function(e){return A.formatCategory(e)})).filter(g):[],suggestProducts:e.suggest_products?null===(I=(v=e.suggest_products).map)||void 0===I?void 0:I.call(v,(function(e){return A.formatCategory(e)})).filter(g):[],promotions:e.promotions?null===(O=(T=e.promotions).map)||void 0===O?void 0:O.call(T,(function(e){return A.formatPromotion(e)})).filter(g):[]}:null},formatCategoryPage:function(e){var o,t,i,l;return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatBanner).filter(g))||[],bestsellerProducts:(null===(l=null===(i=e.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(g))||[]}:null},formatBrandPage:function(e){return e?A.formatBrand(e):null},formatPagination:function(e){return e?{current:e.current||0,first:e.first||0,itemsPerPage:e.items_per_page||0,last:e.last||0,next:e.next||0,prev:e.prev||0,totalItems:e.total_items||0}:null},formatProductDetailPage:function(o){var t,i,l,n,a,r,s,u;return o?e(e({},A.formatProduct(o)),{relatedProducts:(null===(i=null===(t=o.related_products)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,A.formatProduct).filter(g))||[],bestsellerProducts:(null===(n=null===(l=o.bestseller_products)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,A.formatProduct).filter(g))||[],viewedProducts:(null===(r=null===(a=o.viewed_products)||void 0===a?void 0:a.map)||void 0===r?void 0:r.call(a,A.formatProduct).filter(g))||[],promotions:(null===(u=null===(s=o.promotions)||void 0===s?void 0:s.map)||void 0===u?void 0:u.call(s,A.formatPromotion).filter(g))||[]}):null},formatProductReview:function(e){var o,t;return e?{reviewId:e.review_id||"",createdAt:e.created_at||"",title:e.title||"",detail:e.detail||"",nickname:e.nick_name||"",avatar:e.avatar||"",ratingVotes:(null===(t=null===(o=e.rating_votes)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(function(e){return{ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}})))||[],images:e.images||[]}:null},formatProductPromotion:function(e){return e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null},formatPromotion:function(e){return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",thumbnail:e.thumbnail||"",expiredDate:e.expired_date||"",banners:e.banners||[],points:0,description:e.description||"",metaTitle:e.meta_title||"",metaKeywords:e.meta_keywords||"",metaDescription:e.meta_description||""}:null},formatCustomAttributes:function(e,o){var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((function(e){return e.attribute_code===o})))||void 0===t?void 0:t.value)||""},formatAddress:function(e){var o,t,i,l;return e?{id:e.id||0,fullName:e.firstname||"",telephone:e.telephone||"",province:{value:null===(o=e.region)||void 0===o?void 0:o.region_id,label:null===(t=e.region)||void 0===t?void 0:t.region}||null,district:{value:A.formatCustomAttributes(e.custom_attributes,"district_id"),label:A.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:A.formatCustomAttributes(e.custom_attributes,"ward_id"),label:A.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(i=null==e?void 0:e.street)||void 0===i?void 0:i.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(l=null==e?void 0:e.extension_attributes)||void 0===l?void 0:l.full_address)||""}:null},formatProvince:function(e){return(null==e?void 0:e.available_regions)?e.available_regions.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatDistrict:function(e){return(null==e?void 0:e.districts)?e.districts.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatCommune:function(e){return(null==e?void 0:e.communes)?e.communes.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatOrder:function(e){var o,t;return e?{orderNumber:(null==e?void 0:e.order_number)||"",shippingData:(null==e?void 0:e.shipping_data)?{shippingMethod:e.shipping_data.shipping_method||"",shippingDescription:e.shipping_data.shipping_description||"",shippingAddress:e.shipping_data.shipping_address?{fullName:e.shipping_data.shipping_address.firstname||"",fullAddress:e.shipping_data.shipping_address.full_address||"",telephone:e.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==e?void 0:e.ordered_date)||"",status:(null==e?void 0:e.status)||null,totals:(null==e?void 0:e.totals)?{subtotal:e.totals.subtotal||0,shippingAmount:e.totals.shipping_amount||0,discountAmount:e.totals.discount_amount||0,grandTotal:e.totals.grand_total||0}:null,products:(null===(t=null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(function(e){return{sku:e.sku||"",name:e.name||"",price:e.price||0,rowTotal:e.row_total||0,image:e.image||"",qty:e.qty||0}})))||[],paymentMethod:(null==e?void 0:e.payment_method)||""}:null},formatStatistic:function(e){var o,t,i,l,n;return e?{pending:Number(null===(o=null==e?void 0:e.find((function(e){return"pending"===e.status})))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((function(e){return"processing"===e.status})))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(i=null==e?void 0:e.find((function(e){return"delivering"===e.status})))||void 0===i?void 0:i.amount)||0,complete:Number(null===(l=null==e?void 0:e.find((function(e){return"complete"===e.status})))||void 0===l?void 0:l.amount)||0,canceled:Number(null===(n=null==e?void 0:e.find((function(e){return"canceled"===e.status})))||void 0===n?void 0:n.amount)||0}:{}},formatCartItem:function(e){var o,t,i,l,n,a,r,s;return e?{itemId:e.item_id||0,sku:e.sku||"",qty:e.qty||0,name:e.name||"",price:e.price||0,basePrice:(null===(o=e.extension_attributes)||void 0===o?void 0:o.base_price)||0,productType:e.product_type||"",quoteId:e.quote_id||"",thumbnail:(null===(t=e.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(i=e.extension_attributes)||void 0===i?void 0:i.row_total)||0,promotions:(null===(a=null===(n=null===(l=e.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=e.extension_attributes)||void 0===r?void 0:r.is_in_stock)||!1,urlProduct:(null===(s=e.extension_attributes)||void 0===s?void 0:s.url_key)||""}:null},formatCartAddress:function(e){var o;return e?{customerAddressId:(null==e?void 0:e.customer_address_id)||0,id:e.id||0,region:e.region||"",regionId:e.region_id||0,regionCode:e.region_code||"",countryId:e.country_id||"",street:e.street||[],postcode:e.postcode||"",city:e.city||"",firstname:e.firstname||"",lastname:e.lastname||"",customerId:e.customer_id||0,email:e.email||"",telephone:e.telephone||"",sameAsBilling:e.same_as_billing||0,saveInAddressBook:e.save_in_address_book||0,fullAddress:(null===(o=e.extension_attributes)||void 0===o?void 0:o.full_address)||""}:null},formatEstimatedShipping:function(e){return e?{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",carrierTitle:e.carrier_title||"",methodTitle:e.method_title||"",amount:e.amount||0,baseAmount:e.base_amount||0,available:e.available||!1,errorMessage:e.error_message||"",priceExclTax:e.price_excl_tax||0,priceInclTax:e.price_incl_tax||0}:null},formatCartLoggedInCustomer:function(e){var o,t,i;return e?{email:e.email||"",firstname:e.firstname||"",lastname:e.lastname||"",id:e.id||0,groupId:e.group_id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",createdIn:e.created_in||"",storeId:e.store_id||0,websiteId:e.website_id||0,addresses:(null===(t=null===(o=e.addresses)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(i=e.extension_attributes)||void 0===i?void 0:i.is_subscribed)||!1}:null},formatCart:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_;return e?{id:e.id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",isActive:e.is_active||!1,isVirtual:e.is_virtual||!1,items:(null===(i=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatCartItem))||void 0===i?void 0:i.sort((function(e,o){return Number(null==o?void 0:o.isInStock)-Number(null==e?void 0:e.isInStock)})))||[],itemsCount:e.items_count||0,itemsQty:e.items_qty||0,customer:e.customer?A.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?A.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(l=e.currency)||void 0===l?void 0:l.global_currency_code)||"",baseCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.base_currency_code)||"",storeCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.store_currency_code)||"",quoteCurrencyCode:(null===(r=e.currency)||void 0===r?void 0:r.quote_currency_code)||"",storeToBaseRate:(null===(s=e.currency)||void 0===s?void 0:s.store_to_base_rate)||0,storeToQuoteRate:(null===(u=e.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=e.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=e.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:e.customer_is_guest||!1,customerNoteNotify:e.customer_note_notify||!1,customerTaxClassId:e.customer_tax_class_id||0,storeId:e.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=e.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(function(e){var o,t,i;return{shipping:{address:e.shipping.address?A.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(i=(t=e.items).map)||void 0===i?void 0:i.call(t,A.formatCartItem))||[]}}))}:null},formatCartTotal:function(e){var o,t,i;return e?{grandTotal:e.grand_total||0,baseGrandTotal:e.base_grand_total||0,subtotal:e.subtotal||0,baseSubtotal:e.base_subtotal||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,subtotalWithDiscount:e.subtotal_with_discount||0,baseSubtotalWithDiscount:e.base_subtotal_with_discount||0,shippingAmount:e.shipping_amount||0,baseShippingAmount:e.base_shipping_amount||0,shippingDiscountAmount:e.shipping_discount_amount||0,baseShippingDiscountAmount:e.base_shipping_discount_amount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,shippingTaxAmount:e.shipping_tax_amount||0,baseShippingTaxAmount:e.base_shipping_tax_amount||0,subtotalInclTax:e.subtotal_incl_tax||0,shippingInclTax:e.shipping_incl_tax||0,baseShippingInclTax:e.base_shipping_incl_tax||0,baseCurrencyCode:e.base_currency_code||"",quoteCurrencyCode:e.quote_currency_code||"",itemsQty:e.items_qty||0,coupon:{couponCode:e.coupon_code||"",couponDescription:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.coupon_description_text)||""},items:(null===(i=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(e){return{itemId:e.item_id||0,price:e.price||0,basePrice:e.base_price||0,qty:e.qty||0,rowTotal:e.row_total||0,baseRowTotal:e.base_row_total||0,rowTotalWithDiscount:e.row_total_with_discount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,taxPercent:e.tax_percent||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,discountPercent:e.discount_percent||0,priceInclTax:e.price_incl_tax||0,basePriceInclTax:e.base_price_incl_tax||0,rowTotalInclTax:e.row_total_incl_tax||0,baseRowTotalInclTax:e.base_row_total_incl_tax||0,options:e.options||"",weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,weeeTaxApplied:e.weee_tax_applied||0,name:e.name||""}})))||[],totalSegments:e.total_segments||[]}:null},formatPaymentMethod:function(e){return e?null==e?void 0:e.map((function(e){return{code:(null==e?void 0:e.payment_code)||"",title:(null==e?void 0:e.payment_title)||"",thumbnail:(null==e?void 0:e.payment_thumbnail)||""}})):null},formatPaymentInformation:function(e){var o;return e?{paymentMethods:A.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:A.formatCartTotal(e.totals)}:null},formatOrderConfirmation:function(e){return e?{isSuccess:e.is_success||!1,orderInfo:A.formatOrder(e.order_info)}:null},formatCoupons:function(e){var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((function(e){return{code:(null==e?void 0:e.code)||"",name:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",description:(null==e?void 0:e.expired_date)||""}})):null},formatShippings:function(e){return e?e.map((function(e){var o;return{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",title:e.carrier_title||"",description:e.method_title||"",price:(null==e?void 0:e.base_amount)||0,thumbnail:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.thumbnail)||""}})):[]}},f=Object.freeze({__proto__:null,dataFormatter:A});!function(e){e.MALE="gender.male",e.FEMALE="gender.female",e.OTHER="gender.other"}(O||(O={}));var b=Object.freeze({__proto__:null,get GenderLabel(){return O},DATE_FORMAT_API:"yyyy-MM-dd",DATE_FORMAT:"dd-MM-yyyy"});export{l as a,T as c,n as d,f as i,b as t};
@@ -0,0 +1 @@
1
+ import{c as e,a as n,_ as t,d as o,e as i}from"./tslib.es6-f75a5274.js";import a,{useState as r,useCallback as c,useMemo as l,useEffect as s,useRef as u,useReducer as d}from"react";import{I as p,a as h,d as g}from"./constants-dc22740c.js";import{b as m,t as f}from"./theme-d85b3a33.js";import{ae as C,a9 as v,af as x,I as y,T as w}from"./cookieHelper-7f9651cb.js";import{M as b,u as E}from"./useTranslations-ac338bb1.js";import L from"lodash/debounce";import"react-range";import"react-dom";import S,{createGlobalStyle as k}from"styled-components";import M from"react-loading-skeleton";import{useId as I}from"react-id-generator";import R from"lodash/shuffle";import{u as P}from"./useOutsideClick-6004483a.js";import F from"string-format";var z,A,N,T,H,V,B,D,O,K,Z,_,G=S.div(z||(z=e([""],[""]))),j=S.div(A||(A=e(["\n --searchbar-z-index: 305;\n &[data-is-modal='true'] {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n height: var(--mobile-care-searchbar-height, 100%);\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n background-color: white;\n z-index: var(--searchbar-z-index);\n }\n"],["\n --searchbar-z-index: 305;\n &[data-is-modal='true'] {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n height: var(--mobile-care-searchbar-height, 100%);\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n background-color: white;\n z-index: var(--searchbar-z-index);\n }\n"]))),U=S.section(N||(N=e([""],[""]))),Q=S.input(T||(T=e(["\n position: fixed;\n left: -100%;\n top: -100%;\n"],["\n position: fixed;\n left: -100%;\n top: -100%;\n"]))),q=S(y)(H||(H=e(["\n #booking-search-bar & {\n input {\n font-size: 16px;\n }\n }\n"],["\n #booking-search-bar & {\n input {\n font-size: 16px;\n }\n }\n"]))),W=k(V||(V=e(["\n .care-popup-open {\n overflow: hidden;\n position: fixed;\n &::before {\n content: '';\n inset: 0;\n position: absolute;\n background-color: white;\n min-height: 100vh;\n min-width: 100vw;\n z-index: 2;\n }\n }\n"],["\n .care-popup-open {\n overflow: hidden;\n position: fixed;\n &::before {\n content: '';\n inset: 0;\n position: absolute;\n background-color: white;\n min-height: 100vh;\n min-width: 100vw;\n z-index: 2;\n }\n }\n"]))),Y=function(e){var n=e.className,t=e.color;return a.createElement("svg",{className:n,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M18 6L6 18",stroke:t||"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M6 6L18 18",stroke:t||"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},J=function(e){var n=e.className,t=e.color;return a.createElement("svg",{width:"14",height:"20",viewBox:"0 0 14 20",className:n},a.createElement("path",{d:"M7 0C3.134 0 0 3.134 0 7C0 10.966 4.404 16.82 6.226 19.071C6.626 19.565 7.374 19.565 7.774 19.071C9.596 16.82 14 10.966 14 7C14 3.134 10.866 0 7 0ZM7 9.5C5.619 9.5 4.5 8.381 4.5 7C4.5 5.619 5.619 4.5 7 4.5C8.381 4.5 9.5 5.619 9.5 7C9.5 8.381 8.381 9.5 7 9.5Z",fill:t||"currentColor"}))},X=function(e){var n=e.className,t=e.color;return a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:n},a.createElement("path",{d:"M9.99967 6.66658C8.15801 6.66658 6.66634 8.15825 6.66634 9.99992C6.66634 11.8416 8.15801 13.3333 9.99967 13.3333C11.8413 13.3333 13.333 11.8416 13.333 9.99992C13.333 8.15825 11.8413 6.66658 9.99967 6.66658ZM17.4497 9.16658C17.0663 5.69158 14.308 2.93325 10.833 2.54992V1.66659C10.833 1.20825 10.458 0.833252 9.99967 0.833252C9.54134 0.833252 9.16634 1.20825 9.16634 1.66659V2.54992C5.69134 2.93325 2.93301 5.69158 2.54967 9.16658H1.66634C1.20801 9.16658 0.833008 9.54158 0.833008 9.99992C0.833008 10.4583 1.20801 10.8333 1.66634 10.8333H2.54967C2.93301 14.3083 5.69134 17.0666 9.16634 17.4499V18.3333C9.16634 18.7916 9.54134 19.1666 9.99967 19.1666C10.458 19.1666 10.833 18.7916 10.833 18.3333V17.4499C14.308 17.0666 17.0663 14.3083 17.4497 10.8333H18.333C18.7913 10.8333 19.1663 10.4583 19.1663 9.99992C19.1663 9.54158 18.7913 9.16658 18.333 9.16658H17.4497ZM9.99967 15.8333C6.77467 15.8333 4.16634 13.2249 4.16634 9.99992C4.16634 6.77492 6.77467 4.16658 9.99967 4.16658C13.2247 4.16658 15.833 6.77492 15.833 9.99992C15.833 13.2249 13.2247 15.8333 9.99967 15.8333Z",fill:t||"currentColor"}))},$=function(e){var n=e.className,t=e.color;return a.createElement("svg",{className:n,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18Z",stroke:t||"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M20 20L16 16",stroke:t||"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},ee=function(e){var n=e.width,t=e.height;return a.createElement("svg",{width:n||30,height:t||30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("circle",{cx:"15",cy:"15",r:"15",fill:"#F7F9FC"}))},ne=S.li(B||(B=e(["\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 8px 16px;\n\n > :first-child {\n flex: 1;\n }\n\n > :nth-child(2) {\n flex: 6;\n }\n\n & + li::before {\n content: '';\n position: absolute;\n left: 18px;\n right: 18px;\n top: 0;\n height: 1px;\n background-color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 8px 16px;\n\n > :first-child {\n flex: 1;\n }\n\n > :nth-child(2) {\n flex: 6;\n }\n\n & + li::before {\n content: '';\n position: absolute;\n left: 18px;\n right: 18px;\n top: 0;\n height: 1px;\n background-color: ",";\n }\n"])),f.colors.neutral100),te=S.div(D||(D=e(["\n display: flex;\n position: absolute;\n top: 48px;\n min-width: 100%;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 6px;\n background-color: white;\n z-index: 30;\n\n "," {\n position: relative;\n top: 0;\n box-shadow: initial;\n }\n"],["\n display: flex;\n position: absolute;\n top: 48px;\n min-width: 100%;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 6px;\n background-color: white;\n z-index: 30;\n\n "," {\n position: relative;\n top: 0;\n box-shadow: initial;\n }\n"])),b.mbDown),oe=S.ul(O||(O=e(["\n width: 100%;\n max-height: 600px;\n overflow-y: auto;\n"],["\n width: 100%;\n max-height: 600px;\n overflow-y: auto;\n"]))),ie=S(J)(K||(K=e(["\n width: 12px;\n height: 18px;\n"],["\n width: 12px;\n height: 18px;\n"]))),ae=S.li(Z||(Z=e(["\n position: relative;\n cursor: pointer;\n padding: 12px 18px;\n display: flex;\n align-items: center;\n gap: 14px;\n overflow: hidden;\n\n ","\n\n & + li::before {\n content: '';\n position: absolute;\n left: 18px;\n right: 18px;\n top: 0;\n height: 1px;\n background-color: ",";\n }\n\n &:not([data-is-denied='true']):hover {\n background-color: ",";\n }\n\n &:last-child:hover {\n border-bottom-right-radius: 6px;\n border-bottom-left-radius: 6px;\n }\n\n &:first-child:hover {\n border-top-right-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-is-denied='true'] {\n cursor: not-allowed;\n }\n"],["\n position: relative;\n cursor: pointer;\n padding: 12px 18px;\n display: flex;\n align-items: center;\n gap: 14px;\n overflow: hidden;\n\n ","\n\n & + li::before {\n content: '';\n position: absolute;\n left: 18px;\n right: 18px;\n top: 0;\n height: 1px;\n background-color: ",";\n }\n\n &:not([data-is-denied='true']):hover {\n background-color: ",";\n }\n\n &:last-child:hover {\n border-bottom-right-radius: 6px;\n border-bottom-left-radius: 6px;\n }\n\n &:first-child:hover {\n border-top-right-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-is-denied='true'] {\n cursor: not-allowed;\n }\n"])),(function(e){return e.isSelected&&"\n &::after {\n content: ".concat("url(\"data:image/svg+xml,%3Csvg width='19' height='14' viewBox='0 0 19 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.9803 0.990669C16.7205 0.99841 16.4739 1.10699 16.2928 1.2934L5.99984 11.5864L2.70687 8.2934C2.61473 8.19743 2.50436 8.12081 2.38223 8.06802C2.2601 8.01524 2.12867 7.98735 1.99563 7.986C1.86259 7.98464 1.73061 8.00985 1.60743 8.06014C1.48426 8.11043 1.37235 8.18479 1.27827 8.27887C1.1842 8.37295 1.10983 8.48485 1.05954 8.60803C1.00926 8.73121 0.98405 8.86318 0.985403 8.99622C0.986757 9.12926 1.01464 9.26069 1.06743 9.38282C1.12021 9.50495 1.19684 9.61532 1.29281 9.70747L5.29281 13.7075C5.48035 13.8949 5.73467 14.0002 5.99984 14.0002C6.26501 14.0002 6.51933 13.8949 6.70687 13.7075L17.7069 2.70747C17.8514 2.567 17.9501 2.38616 17.99 2.18864C18.03 1.99112 18.0093 1.78614 17.9308 1.60055C17.8523 1.41497 17.7195 1.25744 17.5499 1.14861C17.3803 1.03978 17.1817 0.984729 16.9803 0.990669Z' fill='%232685F1'/%3E%3C/svg%3E%0A\")",";\n top: 50%;\n right: 18px;\n position: absolute;\n transform: translateY(-50%);\n }\n ")}),f.colors.neutral100,f.colors.neutral50),re=S((function(e){var t=e.count,o=e.className,i=I(t);return a.createElement(a.Fragment,null,n([],Array(t),!0).map((function(e,n){return a.createElement(ne,{className:o,key:i[n]},a.createElement(M,{count:1,height:32}),a.createElement(M,{count:1,height:24}))})))}))(_||(_=e(["\n &:first-child {\n padding-top: 18px;\n }\n"],["\n &:first-child {\n padding-top: 18px;\n }\n"]))),ce=function(e){var n=e.cities,t=e.isLoading,o=e.onLocationClick,i=e.onCurrentLocationClick,r=e.geoLocationPermission,c=void 0===r?"unset":r,l=e.isLocationLoading,s=e.selectedLocation,u=E().t,d="denied"===c,p=function(){return a.createElement(ae,{role:"button",tabIndex:0,onClick:function(e){d||(e.nativeEvent.stopImmediatePropagation(),l||i())},"data-is-denied":d},d?a.createElement(w,{color:"var(--gray600)",size:"md"},"x"):l?a.createElement(M,{height:20,width:20}):a.createElement(X,{color:f.colors.primaryBase}),a.createElement("div",null,d?a.createElement(w,{color:"var(--gray600)",size:"sm",style:{lineHeight:1.5}},u("booking.searchBar.grantLocation")):l?a.createElement(M,{height:20,style:{width:"calc(100% - 16px)"}}):a.createElement(w,{size:"md"},u("booking.searchBar.useCurrentLocation"))))};return a.createElement(te,{"data-testid":"location-search-results"},a.createElement(oe,null,t?a.createElement(re,{count:5}):!n||n.length<1?a.createElement(a.Fragment,null,p(),a.createElement(ae,{"data-is-denied":"true"},a.createElement(w,{size:"sm",color:"#ccc"},u("booking.searchBar.noResults")))):a.createElement(a.Fragment,null,p(),n.map((function(e){return a.createElement(ae,{key:e.id,onClick:function(n){n.nativeEvent.stopImmediatePropagation(),o&&o(e)},role:"button",tabIndex:0,"aria-label":"Select ".concat(e.name," as location"),isSelected:(null==s?void 0:s.id)===e.id},a.createElement(ie,{color:f.colors.neutral400}),a.createElement(w,{size:"md"},e.name))})))))},le="TYPE_CHARACTER",se="REMOVE_CHARACTER",ue="REMOVE_ALL",de="REMOVE_LAST_VISIBLE_NODE",pe="PAUSE_FOR",he="CHANGE_DELETE_SPEED",ge="CHANGE_DELAY",me="PASTE_STRING",fe=function(e,n){return Math.floor(Math.random()*(n-e+1))+e},Ce="TEXT_NODE",ve=function(){function e(e){var o=this;this.state={lastFrameTime:null,pauseUntil:null,eventQueue:[],eventLoop:null,eventLoopPaused:!1,reverseCalledEvents:[],calledEvents:[],visibleNodes:[],initialOptions:null},this.options={strings:null,delay:"natural",pauseFor:1500,deleteSpeed:"natural",loop:!1,autoStart:!1,stringSplitter:null,onCreateTextNode:null,onRemoveNode:null},this.start=function(){return o.state.eventLoopPaused=!1,o.runEventLoop(),o},this.pause=function(){return o.state.eventLoopPaused=!0,o},this.stop=function(){return o.state.eventLoop&&(window.cancelAnimationFrame(o.state.eventLoop),o.state.eventLoop=null),o},this.pauseFor=function(e){return o.addEventToQueue(pe,{ms:e}),o},this.typeOutAllStrings=function(){return"string"==typeof o.options.strings?(o.typeString(o.options.strings).pauseFor(o.options.pauseFor),o):(o.options.strings.forEach((function(e){o.typeString(e).pauseFor(o.options.pauseFor).deleteAll(o.options.deleteSpeed)})),o)},this.typeString=function(e,n){if(void 0===n&&(n=null),e){var t=(o.options||{}).stringSplitter,i="function"==typeof t?t(e):e.split("");o.typeCharacters(i,n)}return o},this.pasteString=function(e,n){return void 0===n&&(n=null),e&&o.addEventToQueue(me,{character:e,node:n}),o},this.deleteAll=function(e){return void 0===e&&(e="natural"),o.addEventToQueue(ue,{speed:e}),o},this.changeDeleteSpeed=function(e){if(!e)throw new Error("Must provide new delete speed");return o.addEventToQueue(he,{speed:e}),o},this.changeDelay=function(e){if(!e)throw new Error("Must provide new delay");return o.addEventToQueue(ge,{delay:e}),o},this.deleteChars=function(e){if(!e)throw new Error("Must provide amount of characters to delete");for(var n=0;n<e;n++)o.addEventToQueue(se);return o},this.typeCharacters=function(e,n){if(void 0===n&&(n=null),!e||!Array.isArray(e))throw new Error("Characters must be an array");return e.forEach((function(e){o.addEventToQueue(le,{character:e,node:n})})),o},this.removeCharacters=function(e){if(!e||!Array.isArray(e))throw new Error("Characters must be an array");return e.forEach((function(){o.addEventToQueue(se)})),o},this.addEventToQueue=function(e,n,t){return void 0===t&&(t=!1),o.addEventToStateProperty(e,n,t,"eventQueue")},this.addReverseCalledEvent=function(e,n,t){return void 0===t&&(t=!1),o.options.loop?o.addEventToStateProperty(e,n,t,"reverseCalledEvents"):o},this.addEventToStateProperty=function(e,t,i,a){void 0===i&&(i=!1);var r={eventName:e,eventArgs:t||{}};return o.state[a]=i?n([r],o.state[a],!0):n(n([],o.state[a],!0),[r],!1),o},this.runEventLoop=function(){o.state.lastFrameTime||(o.state.lastFrameTime=Date.now());var e=Date.now(),i=e-o.state.lastFrameTime;if(!o.state.eventQueue.length){if(!o.options.loop)return;o.state.eventQueue=n([],o.state.calledEvents,!0),o.state.calledEvents=[],o.options=t({},o.state.initialOptions)}if(o.state.eventLoop=window.requestAnimationFrame(o.runEventLoop),!o.state.eventLoopPaused){if(o.state.pauseUntil){if(e<o.state.pauseUntil)return;o.state.pauseUntil=null}var a=n([],o.state.eventQueue,!0),r=a.shift();if(!(i<=(r.eventName===de||r.eventName===se?"natural"===o.options.deleteSpeed?fe(40,80):o.options.deleteSpeed:"natural"===o.options.delay?fe(120,160):o.options.delay))){var c=r.eventName,l=r.eventArgs;switch(c){case me:case le:var s=l.character,u=document.createTextNode(s),d=u;o.options.onCreateTextNode&&"function"==typeof o.options.onCreateTextNode&&(d=o.options.onCreateTextNode(s,u)),o.state.visibleNodes=n(n([],o.state.visibleNodes,!0),[{type:Ce,character:s,node:d}],!1);break;case se:a.unshift({eventName:de,eventArgs:{removingCharacterNode:!0}});break;case pe:var p=r.eventArgs.ms;o.state.pauseUntil=Date.now()+parseInt(p);break;case ue:var h=o.state.visibleNodes,g=l.speed,m=[];g&&m.push({eventName:he,eventArgs:{speed:g,temp:!0}});for(var f=0,C=h.length;f<C;f++)m.push({eventName:de,eventArgs:{removingCharacterNode:!1}});g&&m.push({eventName:he,eventArgs:{speed:o.options.deleteSpeed,temp:!0}}),a.unshift.apply(a,m);break;case de:if(o.state.visibleNodes.length){var v=o.state.visibleNodes.pop(),x=v.node;s=v.character;o.options.onRemoveNode&&"function"==typeof o.options.onRemoveNode&&o.options.onRemoveNode({node:x,character:s}),x&&x.parentNode.removeChild(x)}break;case he:o.options.deleteSpeed=r.eventArgs.speed;break;case ge:o.options.delay=r.eventArgs.delay}o.options.loop&&(r.eventName===de||r.eventArgs&&r.eventArgs.temp||(o.state.calledEvents=n(n([],o.state.calledEvents,!0),[r],!1))),o.state.eventQueue=a,o.state.lastFrameTime=e}}},e&&(this.options=t(t({},this.options),e)),this.state.initialOptions=t({},this.options),this.init()}return e.prototype.init=function(){this.addEventToQueue(ue,null,!0),!0===this.options.autoStart&&this.options.strings&&this.typeOutAllStrings().start()},e}();function xe(e){var n=e.inputRef,t=e.wrapperRef,o=e.disabled,i=E(),a=i.t,r=i.locale,c=l((function(){if(o)return[];var e=["booking.searchBar.placeholder.hospital","booking.searchBar.placeholder.doctor"];return"zh-TW"!==r&&e.push("booking.searchBar.placeholder.specialty","booking.searchBar.placeholder.service"),R(e).map((function(e){return a(e)}))}),[a,r]);function u(e){var n=p();return n&&(n.placeholder=n.placeholder+e),null}function d(){var e=p();e&&(e.placeholder=e.placeholder.slice(0,-1))}function p(){return n&&n.current?n.current:t&&t.current&&t.current.querySelector("input")||null}s((function(){if(!o){var e=p();e&&(e.placeholder="",new ve({strings:c,autoStart:!0,loop:!0,delay:32,deleteSpeed:32,pauseFor:1500,onCreateTextNode:u,onRemoveNode:d}))}}),[n,t])}var ye,we=S.div(ye||(ye=e(["\n user-select: none;\n input {\n pointer-events: none;\n background-color: white;\n }\n"],["\n user-select: none;\n input {\n pointer-events: none;\n background-color: white;\n }\n"])));function be(e){var n=e.focused,o=e.value,i=void 0===o?"":o,r=e.onClick,c=e.trackingAttributes,s=e.inputSearchPlaceholder,d=E().t,p=u(null);xe({wrapperRef:p,disabled:!!s});var h=l((function(){return c?{"data-event-category":c.dataEventCategory,"data-event-action":c.dataEventAction,"data-event-label":c.dataEventLabel}:{}}),[c]);return a.createElement(we,t({onClick:function(){return r&&r()},ref:p},h),a.createElement(q,{inputClassName:"location"===n?"focused":void 0,name:"booking-search-placeholder",displayIcon:a.createElement($,{color:f.colors.gray400}),placeholder:d("booking.searchBar.searchInput.placeholder"),value:i,size:"md"}))}var Ee,Le,Se,ke,Me,Ie,Re=S.header(Ee||(Ee=e(["\n display: flex;\n height: 64px;\n align-items: center;\n justify-content: space-between;\n margin: 0 auto;\n position: sticky;\n z-index: 99;\n background-color: white;\n top: 0;\n left: 0;\n"],["\n display: flex;\n height: 64px;\n align-items: center;\n justify-content: space-between;\n margin: 0 auto;\n position: sticky;\n z-index: 99;\n background-color: white;\n top: 0;\n left: 0;\n"]))),Pe=S.div(Le||(Le=e(["\n display: inline-flex;\n flex: 1;\n justify-content: flex-end;\n cursor: pointer;\n text-decoration: underline;\n"],["\n display: inline-flex;\n flex: 1;\n justify-content: flex-end;\n cursor: pointer;\n text-decoration: underline;\n"]))),Fe=S.div(Se||(Se=e(["\n display: flex;\n align-items: center;\n margin-left: 16px;\n cursor: pointer;\n"],["\n display: flex;\n align-items: center;\n margin-left: 16px;\n cursor: pointer;\n"]))),ze=S.div(ke||(ke=e(["\n width: 100%;\n margin-left: 24px;\n"],["\n width: 100%;\n margin-left: 24px;\n"]))),Ae=S(w)(Me||(Me=e(["\n color: ",";\n text-align: start;\n"],["\n color: ",";\n text-align: start;\n"])),f.colors.secondaryDark),Ne=function(e){var n=e.className,t=e.onLeftClick,o=e.headingText,i=e.onRightClick,r=e.iconLeft,c=e.textRight;return a.createElement(Re,{className:n},a.createElement(Fe,{onClick:t},r||a.createElement(Y,{color:f.colors.gray800})),a.createElement(ze,null,a.createElement(Ae,{size:"md",type:"bold"},o)),a.createElement(Pe,{onClick:i},c&&a.createElement("p",null,c)))},Te={"en-PH":3,"tl-PH":2,"id-ID":3,"vi-VN":2,"zh-TW":0},He={isMobile:!1,isDebug:!1,navigateTo:null,geoLocationPermission:"unset",geoLocationCoordinates:null,focused:"none",searchLocationKeywords:"",searchKeywords:"",selectedLocation:null,defaultCity:null,initialCities:[],cities:[],searchResults:[],initialSearchResults:[],isLoadingCities:!1,isLoadingSearchResults:!1,isMobileModalOpened:!1,initialSelectedCity:null,autoCompleteDisabled:!1,inputSearchPlaceholder:"",locale:"vi-VN"};function Ve(e){var n=e.selectedLocation,o=e.searchLocationKeywords;return n&&o!==n.name?t(t({},e),{searchLocationKeywords:n.name}):e}function Be(e,n){var o;switch(e.isDebug&&console.log("bookingSearchBar",{action:n,state:e}),n.type){case Ie.NavigateTo:return t(t({},e),{navigateTo:n.payload,focused:"none",isMobileModalOpened:!1});case Ie.ClickOutsideInputLocation:return e.isMobile||"location"!==e.focused?e:Ve(t(t({},e),{focused:"none"}));case Ie.ClickOutsideInputSearch:return e.isMobile||"search"!==e.focused?e:t(t({},e),{focused:"none"});case Ie.FocusInputLocation:var i=t(t({},e),{focused:"location"});return(null===(o=e.selectedLocation)||void 0===o?void 0:o.id)===p&&(i.searchLocationKeywords=""),i;case Ie.FocusInputSearch:var a=t(t({},e),{focused:"search"});return e.isMobile?Ve(a):a;case Ie.ChangeInputLocation:return t(t({},e),{searchLocationKeywords:n.payload});case Ie.ChangeInputSearch:var r=n.payload;return t(t({},e),{searchKeywords:r,isLoadingSearchResults:r.trim().length>Te[e.locale]});case Ie.SelectCurrentLocation:return t(t({},e),{focused:"none",selectedLocation:n.payload,searchLocationKeywords:n.payload.name});case Ie.ClearInputLocation:return t(t({},e),{focused:"location",cities:e.initialCities,searchLocationKeywords:""});case Ie.ClearInputSearch:return t(t({},e),{focused:"search",searchKeywords:""});case Ie.SelectLocation:return t(t({},e),{focused:"none",selectedLocation:n.payload,searchLocationKeywords:n.payload.name});case Ie.SelectSearchResult:return t(t({},e),{searchKeywords:n.payload.name,isMobileModalOpened:!1,focused:"none",navigateTo:n.payload.url});case Ie.FetchCitiesStart:return t(t({},e),{isLoadingCities:!0});case Ie.FetchCitiesFinish:return t(t({},e),{isLoadingCities:!1});case Ie.FetchSearchResultsStart:return t(t({},e),{isLoadingSearchResults:!0});case Ie.FetchSearchResultsFinish:return t(t({},e),{isLoadingSearchResults:!1});case Ie.FetchSearchResultsComplete:var c=t(t({},e),{searchResults:n.payload});return 0===e.initialSearchResults.length&&(c.initialSearchResults=n.payload),c;case Ie.FetchCitiesByGeoIpComplete:var l=n.payload.cities,s=n.payload.default;(l=l.filter((function(e){return e.id!==s.id}))).unshift(s),e.initialSelectedCity&&!l.find((function(n){return n.id===e.initialSelectedCity.id}))&&l.unshift(e.initialSelectedCity);var u=t(t({},e),{defaultCity:s,initialCities:l,cities:l});return"denied"!==e.geoLocationPermission||e.initialSelectedCity||(u.selectedLocation=s,u.searchLocationKeywords=s.name),u;case Ie.FetchCitiesByKeywordComplete:return t(t({},e),{cities:n.payload});case Ie.DisplayInitialCities:return t(t({},e),{cities:e.initialCities});case Ie.DisplayInitialSearchResults:return t(t({},e),{searchResults:e.initialSearchResults,isLoadingSearchResults:!1});case Ie.GrantGeoLocationPermission:return t(t({},e),{geoLocationPermission:"granted",geoLocationCoordinates:n.payload});case Ie.DenyGeoLocationPermission:return t(t({},e),{geoLocationPermission:"denied",geoLocationCoordinates:null});case Ie.OpenMobileModal:return t(t({},e),{isMobileModalOpened:!0});case Ie.CloseMobileModal:return t(t({},e),{isMobileModalOpened:!1});case Ie.UpdateInitialSearchValue:return t(t({},e),{searchKeywords:n.payload});case Ie.SetInputSearchPlaceholder:return t(t({},e),{inputSearchPlaceholder:n.payload});default:return e}}!function(e){e.NavigateTo="navigate to url",e.ClickOutsideInputLocation="click outside input location",e.ClickOutsideInputSearch="click outside input search",e.SelectCurrentLocation="select current location",e.FocusInputLocation="focus input location",e.FocusInputSearch="focus input search",e.ChangeInputLocation="change input location",e.ChangeInputSearch="change input search",e.ClearInputLocation="clear input location",e.ClearInputSearch="clear input search",e.SelectLocation="select location",e.FetchCitiesStart="fetch cities start",e.FetchCitiesFinish="fetch cities finish",e.FetchSearchResultsStart="fetch search results start",e.FetchSearchResultsComplete="fetch search results complete",e.FetchSearchResultsFinish="fetch search results finish",e.FetchCitiesByGeoIpComplete="fetch cities by geo IP finish",e.FetchCitiesByKeywordComplete="fetch cities by keyword finish",e.DisplayInitialCities="display initial cities",e.DisplayInitialSearchResults="display initial search results",e.GrantGeoLocationPermission="grant geolocation permission",e.DenyGeoLocationPermission="deny geolocation permission",e.OpenMobileModal="open mobile modal",e.CloseMobileModal="close mobile modal",e.UpdateInitialSearchValue="update initial search value",e.SelectSearchResult="select search result",e.SetInputSearchPlaceholder="set input search placeholder"}(Ie||(Ie={}));var De,Oe,Ke,Ze,_e,Ge,je,Ue=function(){return a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72624 14.8099 11.1704 14.2653 12.3089 13.3546L15.2377 16.2834C15.5265 16.5722 15.9947 16.5722 16.2834 16.2834C16.5722 15.9947 16.5722 15.5265 16.2834 15.2377L13.3546 12.3089C14.2653 11.1704 14.8099 9.72624 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"white"}))},Qe=S.button(De||(De=e(["\n min-height: 100%;\n border-radius: 6px;\n background-color: ",";\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 11px;\n cursor: pointer;\n flex: 0.3;\n\n "," {\n --margin: 16px;\n min-height: 32px;\n margin: var(--margin);\n width: calc(100% - var(--margin) * 2);\n position: absolute;\n bottom: 0;\n }\n\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n\n &:focus-visible {\n outline: 1px solid black;\n }\n"],["\n min-height: 100%;\n border-radius: 6px;\n background-color: ",";\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 11px;\n cursor: pointer;\n flex: 0.3;\n\n "," {\n --margin: 16px;\n min-height: 32px;\n margin: var(--margin);\n width: calc(100% - var(--margin) * 2);\n position: absolute;\n bottom: 0;\n }\n\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n\n &:focus-visible {\n outline: 1px solid black;\n }\n"])),(function(e){return e.theme.colors.primaryBase}),b.mbDown,(function(e){return e.theme.colors.primaryHover}),(function(e){return e.theme.colors.primaryActive})),qe=S(w)(Oe||(Oe=e(["\n font-weight: ",";\n"],["\n font-weight: ",";\n"])),(function(e){return e.theme.sizes.fwSemiBold})),We=function(e){var n=e.onClick,t=(0,E().t)("booking.searchBar.searchButton");return a.createElement(Qe,{onClick:n,title:t},a.createElement(Ue,null),a.createElement(qe,{size:"s3",color:"white"},t))},Ye=S.div(Ke||(Ke=e(["\n display: flex;\n gap: 16px;\n "," {\n flex-direction: column;\n padding: 14px;\n background-color: ",";\n\n input {\n filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04))\n drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.06))\n drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n }\n\n input {\n background-color: white;\n }\n"],["\n display: flex;\n gap: 16px;\n "," {\n flex-direction: column;\n padding: 14px;\n background-color: ",";\n\n input {\n filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04))\n drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.06))\n drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n }\n\n input {\n background-color: white;\n }\n"])),b.mbDown,f.colors.blue50),Je=S.div(Ze||(Ze=e(["\n position: relative;\n"],["\n position: relative;\n"]))),Xe=S(Je)(_e||(_e=e(["\n flex: 1;\n"],["\n flex: 1;\n"]))),$e=S(Je)(Ge||(Ge=e(["\n flex: 2;\n"],["\n flex: 2;\n"]))),en=S((function(e){var n=e.className,t=e.color;return a.createElement("svg",{className:n,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{x:"4",y:"4",width:"16",height:"16",rx:"8",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM8.29289 8.29289C8.68342 7.90237 9.31658 7.90237 9.70711 8.29289L12 10.5858L14.2929 8.29289C14.6834 7.90237 15.3166 7.90237 15.7071 8.29289C16.0976 8.68342 16.0976 9.31658 15.7071 9.70711L13.4142 12L15.7071 14.2929C16.0976 14.6834 16.0976 15.3166 15.7071 15.7071C15.3166 16.0976 14.6834 16.0976 14.2929 15.7071L12 13.4142L9.70711 15.7071C9.31658 16.0976 8.68342 16.0976 8.29289 15.7071C7.90237 15.3166 7.90237 14.6834 8.29289 14.2929L10.5858 12L8.29289 9.70711C7.90237 9.31658 7.90237 8.68342 8.29289 8.29289Z",fill:t||"currentColor"}))}))(je||(je=e(["\n display: none;\n &.shown {\n display: block;\n }\n"],["\n display: none;\n &.shown {\n display: block;\n }\n"])));function nn(e){var n=e.isMobile,t=e.state,o=e.dispatch,i=e.debouncedFetchCitiesByKeyword,r=e.debouncedFetchSearchResults,s=e.focusLocationInput,d=e.focusSearchInput,h=e.renderLocationResults,g=e.renderSearchResults,m=e.trackingAttributes,C=e.onSearch,v=e.initalSearchValue,x=u(null),y=u(null),w=t.focused,b=t.searchLocationKeywords,L=t.geoLocationPermission,S=t.selectedLocation,k=t.searchKeywords,M=t.inputSearchPlaceholder,I=E().t;xe({wrapperRef:y,disabled:!!M}),P(x,(function(){o({type:Ie.ClickOutsideInputLocation})})),P(y,(function(){o({type:Ie.ClickOutsideInputSearch})}));var R=l((function(){return"granted"===L&&(null==S?void 0:S.id)===p?f.colors.primaryBase:f.colors.gray400}),[L,S]),F=c((function(e){o({type:Ie.ChangeInputSearch,payload:e}),"function"!=typeof C&&(e.trim().length>Te[t.locale]||v?r(e.trim(),t):(r.cancel(),o({type:Ie.DisplayInitialSearchResults})))}),[o,t]),z=c((function(e){o({type:Ie.ChangeInputLocation,payload:e}),e.trim().length>Te[t.locale]?i(e.trim()):(i.cancel(),o({type:Ie.DisplayInitialCities}))}),[i,o]);return a.createElement(Ye,null,a.createElement(Xe,{ref:x},a.createElement(q,{inputClassName:"location"===w?"focused":void 0,placeholder:I("booking.searchBar.locationPlaceholder"),autoComplete:"off",name:"search-location",displayIcon:a.createElement(J,{className:"location-pin-icon",color:R}),actionIcon:a.createElement(en,{color:f.colors.gray300,className:""!==b?"shown":""}),onActionClick:function(){o({type:Ie.ClearInputLocation}),i.cancel(),s()},value:b,onChange:z,onFocus:function(){return o({type:Ie.FocusInputLocation})},size:"md"}),!n&&h()),a.createElement($e,{ref:y},a.createElement(q,{placeholder:M||I("booking.searchBar.searchInput.placeholder"),autoComplete:"off",name:"search-results",actionIcon:a.createElement(en,{color:f.colors.gray300,className:""!==k?"shown":""}),onActionClick:function(){o({type:Ie.ClearInputSearch}),r.cancel(),r("",t),d()},value:k,onChange:F,onFocus:function(){return o({type:Ie.FocusInputSearch})},inputClassName:"search"===w?"focused":void 0,size:"md",trackingAttributes:m,onKeyPress:function(e){t.autoCompleteDisabled&&"Enter"===e.key&&C&&C({cityId:t.selectedLocation.id,keyword:k})},enterKeyHint:t.autoCompleteDisabled?"search":void 0}),!n&&g()),t.autoCompleteDisabled&&!t.isMobile&&a.createElement(We,{onClick:function(){C({cityId:t.selectedLocation.id,keyword:k})}}))}var tn,on,an,rn,cn,ln,sn,un,dn,pn,hn,gn,mn,fn,Cn=S.li(tn||(tn=e(["\n display: flex;\n align-items: center;\n gap: var(--rowGap);\n cursor: pointer;\n"],["\n display: flex;\n align-items: center;\n gap: var(--rowGap);\n cursor: pointer;\n"]))),vn=S.div(on||(on=e(["\n --wrapper-size: var(--graphicSize);\n border-radius: calc(var(--wrapper-size) / 2);\n background-color: var(--neutral50);\n width: var(--wrapper-size);\n height: var(--wrapper-size);\n aspect-ratio: 1/1;\n overflow: hidden;\n\n ","\n\n img {\n width: var(--graphicSize);\n height: var(--graphicSize);\n ","\n }\n\n &:focus-visible {\n outline: 1px solid ",";\n }\n"],["\n --wrapper-size: var(--graphicSize);\n border-radius: calc(var(--wrapper-size) / 2);\n background-color: var(--neutral50);\n width: var(--wrapper-size);\n height: var(--wrapper-size);\n aspect-ratio: 1/1;\n overflow: hidden;\n\n ","\n\n img {\n width: var(--graphicSize);\n height: var(--graphicSize);\n ","\n }\n\n &:focus-visible {\n outline: 1px solid ",";\n }\n"])),(function(e){var n=e.type;return n&&"doctors"===n&&"\n border-radius: calc(var(--graphicSize) / 2);\n "}),(function(e){var n=e.type;return n&&"doctors"===n?"\n\n object-fit: cover; \n ":"\n object-fit: contain;\n "}),f.colors.gray600),xn=S(w)(an||(an=e(["\n line-height: 22px;\n letter-spacing: -0.2px;\n\n "," {\n &[data-size='p3'] {\n font-size: 14px;\n }\n }\n"],["\n line-height: 22px;\n letter-spacing: -0.2px;\n\n "," {\n &[data-size='p3'] {\n font-size: 14px;\n }\n }\n"])),b.tdUp),yn=S.figure(rn||(rn=e(["\n max-width: var(--graphicSize);\n min-width: var(--graphicSize);\n"],["\n max-width: var(--graphicSize);\n min-width: var(--graphicSize);\n"]))),wn=S.svg(cn||(cn=e(["\n margin: 0 auto;\n display: block;\n"],["\n margin: 0 auto;\n display: block;\n"]))),bn=S.div(ln||(ln=e(["\n display: grid;\n place-items: center;\n"],["\n display: grid;\n place-items: center;\n"]))),En={doctors:function(e){var n=e.width,t=e.height;return a.createElement("svg",{width:n||32,height:t||32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_14712_400114)"},a.createElement("rect",{width:"32",height:"32",rx:"16",fill:"#E4E8EC"}),a.createElement("path",{d:"M22.065 9.58305C22.1108 9.80952 22.1431 10.0396 22.1614 10.2722C22.3769 13.0522 22.5858 16.1276 22.5727 17.618C22.5306 20.5688 19.708 21.1325 19.4564 21.1769L19.4495 21.5357L19.5228 23.9014C20.8688 23.9341 22.203 24.1759 23.4772 24.6196C24.5264 24.9739 25.4827 25.5591 26.2757 26.332C27.0688 27.105 27.6783 28.0461 28.0594 29.0858L31.9886 39.2068C31.91 39.3048 30.6939 39.6356 29.4888 39.944C30.1695 42.3315 30.4582 44.8142 30.3432 47.2953C30.2991 48.2666 30.1816 49.264 29.7245 50.1211C29.4508 50.6342 29.0319 51.0912 28.5296 51.3753C28.5099 51.4347 28.4864 51.4928 28.4593 51.5495C28.4293 51.6146 28.3908 51.6756 28.3448 51.7307C28.3293 51.7772 28.3232 51.8406 28.3162 51.9135C28.3004 52.0779 28.2799 52.2909 28.1362 52.4685C28.001 52.6373 27.8519 52.7945 27.6905 52.9386C27.6905 52.9386 27.092 52.9667 26.4133 52.9845L26.458 58.4088H5.7492L6.30965 52.9523L5.66093 53.1637C5.07664 53.3528 4.45628 53.4028 3.84925 53.3099C3.24222 53.2169 2.66526 52.9835 2.1643 52.6283C1.61489 52.2388 1.17445 51.715 0.884966 51.1068C0.595484 50.4987 0.46662 49.8266 0.510669 49.1545L0.644528 47.1369L1.41503 38.3366L1.81323 38.4135L-0.914307 37.8437L-0.402886 36.5663C-0.407359 36.5645 -0.411803 36.5627 -0.416214 36.5608C-0.410804 36.56 -0.40538 36.5594 -0.399946 36.5589L2.05995 30.4146C3.00034 28.0825 4.7421 26.1624 6.97187 24.9999C8.56171 24.176 10.3028 23.6861 12.0882 23.5597L11.788 16.5865C11.1882 16.6507 10.0095 16.5266 9.96087 14.954C9.91229 13.3824 11.0457 13.3171 11.6507 13.3961L11.6445 13.2523C11.5785 12.8433 11.5088 12.439 11.4577 12.2132C11.3782 11.8628 11.2611 11.4953 11.1419 11.1207C10.8794 10.2967 10.6061 9.43855 10.697 8.65293C10.697 8.65293 10.6909 8.00438 11.4565 7.24044C11.3707 6.86644 11.3686 6.47786 11.4507 6.10258C11.5366 5.70965 11.7125 5.34199 11.9645 5.02848C12.2165 4.71497 12.5377 4.46414 12.9029 4.29569C13.2682 4.12725 13.6675 4.04577 14.0696 4.05766C14.2277 4.06393 14.3849 4.08493 14.5418 4.10589C14.7932 4.13945 15.0439 4.17294 15.2971 4.14581C15.7708 4.09409 16.177 3.83884 16.5862 3.58167C16.8357 3.42492 17.0863 3.26745 17.354 3.15494C17.9119 2.93744 18.5266 2.91281 19.1002 3.08497C19.6738 3.25713 20.1733 3.61619 20.5192 4.105C20.5943 4.21716 20.6621 4.33678 20.7298 4.45631C20.9035 4.76299 21.077 5.06915 21.373 5.24769C21.5927 5.38236 21.8482 5.42658 22.1057 5.47114C22.2633 5.49842 22.4216 5.52582 22.5728 5.57417C23.0267 5.71015 23.3999 6.0411 23.6319 6.45436C23.6327 6.40753 23.6317 6.36062 23.629 6.31374C23.6502 6.3657 23.6623 6.42092 23.6649 6.47698C23.6661 6.49165 23.667 6.50632 23.6677 6.521C23.8246 6.82609 23.9058 7.17114 23.8885 7.51347C23.8544 7.93447 23.7053 8.33801 23.4574 8.68001C23.2096 9.02201 22.8725 9.28933 22.483 9.45278C22.3469 9.50712 22.2071 9.55061 22.065 9.58305Z",fill:"white"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_14712_400114"},a.createElement("rect",{width:"32",height:"32",rx:"16",fill:"white"}))))},services:function(e){var n=e.width,t=e.height;return a.createElement("svg",{width:n||30,height:t||30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("circle",{cx:"15",cy:"15",r:"15",fill:"#F7F9FC"}),a.createElement("path",{d:"M14.9998 6.66663C12.2752 6.66663 9.85335 7.97848 8.33317 9.99996H10.5988C11.8 8.94527 13.3625 8.33329 14.9998 8.33329C16.6372 8.33329 18.1997 8.94527 19.4009 9.99996H21.6665C20.1463 7.97848 17.7244 6.66663 14.9998 6.66663ZM7.7863 10.8333C7.07666 13.0403 6.6665 15.5989 6.6665 18.3333C6.6665 20.0846 6.82601 21.7675 7.13525 23.3333H22.8644C23.1737 21.7675 23.3332 20.0846 23.3332 18.3333C23.3332 15.5989 22.923 13.0403 22.2134 10.8333H7.7863ZM14.9998 13.3333C17.3013 13.3333 19.1665 15.1985 19.1665 17.5C19.1665 19.8014 17.3013 21.6666 14.9998 21.6666C12.6984 21.6666 10.8332 19.8014 10.8332 17.5C10.8332 15.1985 12.6984 13.3333 14.9998 13.3333ZM14.1665 15V16.6666H12.4998V18.3333H14.1665V20H15.8332V18.3333H17.4998V16.6666H15.8332V15H14.1665Z",fill:"#BFC5CC"}))}},Ln=function(e){var n=e.type,t=e.item,o=e.imageUrl,i=e.onClickItem,r=l((function(){var e=En[n]||ee;return a.createElement(e,{width:32,height:"services"===n?32:24})}),[n]);return a.createElement(Cn,{onClick:function(){return i&&i(t)},onKeyDown:function(e){"Enter"!==e.key&&"Space"!==e.key||i&&i(t)},tabIndex:0,role:"button"},a.createElement(yn,null,"hospitals"===n?a.createElement(wn,{width:"12",height:"16",viewBox:"0 0 12 16"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.75 5.94873C0.75 3.04623 3.0975 0.69873 6 0.69873C8.9025 0.69873 11.25 3.04623 11.25 5.94873C11.25 9.07623 7.935 13.3887 6.5775 15.0312C6.2775 15.3912 5.73 15.3912 5.43 15.0312C4.065 13.3887 0.75 9.07623 0.75 5.94873ZM4.125 5.94873C4.125 6.98373 4.965 7.82373 6 7.82373C7.035 7.82373 7.875 6.98373 7.875 5.94873C7.875 4.91373 7.035 4.07373 6 4.07373C4.965 4.07373 4.125 4.91373 4.125 5.94873Z",fill:"#9AA2AC"})):a.createElement(vn,{type:n},o?a.createElement("img",{src:o,width:32,height:"services"===n?32:24}):r)),a.createElement(xn,{color:f.colors.gray800,size:"p3"},t.name))},Sn=function(){return a.createElement("svg",{width:"14",height:"18",viewBox:"0 0 14 18"},a.createElement("path",{d:"M7.00004 0.666992C5.29757 0.666992 3.64067 0.813476 2.52087 1.03158C1.73311 1.18457 1.16671 1.86816 1.16671 2.6722V4.83366C1.16671 5.29264 1.54106 5.66699 2.00004 5.66699H12C12.459 5.66699 12.8334 5.29264 12.8334 4.83366V2.69824C12.8334 1.89421 12.267 1.21061 11.4792 1.05762C10.3562 0.839518 8.69275 0.666992 7.00004 0.666992ZM6.16671 1.50033H7.83337V2.33366H8.66671V4.00033H7.83337V4.83366H6.16671V4.00033H5.33337V2.33366H6.16671V1.50033ZM1.42712 6.50033C1.3197 6.89421 1.24158 7.32389 1.19275 7.77637C1.14718 8.18001 1.05603 9.25423 1.06254 9.36491C0.603556 9.72624 0.333374 10.2861 0.333374 10.9014C0.333374 11.8356 0.977906 12.6364 1.84379 12.8285C2.74548 15.0192 4.55212 17.3337 7.00004 17.3337C9.44796 17.3337 11.2546 14.9964 12.1563 12.8024C13.0222 12.6136 13.6667 11.8356 13.6667 10.9014C13.6667 10.2861 13.3965 9.72624 12.9375 9.36491C12.9441 9.25423 12.8562 8.16048 12.8073 7.75033C12.7552 7.30436 12.6804 6.89095 12.573 6.50033H5.35942C6.52804 8.20606 9.27543 7.18717 11.0365 7.62012C11.5736 8.79199 11.1667 10.4326 11.1667 10.4326L11.8177 10.641C11.9121 10.6702 12 10.7549 12 10.9014C12 11.0576 11.8861 11.1943 11.6875 11.1878L11.0105 11.0837L10.7761 11.7347C9.96554 14.0492 8.4128 15.667 7.00004 15.667C5.58728 15.667 4.03455 14.0492 3.224 11.7347L2.96358 11.0837L2.26046 11.1878C2.11723 11.1878 2.00004 11.0576 2.00004 10.9014C2.00004 10.7549 2.08793 10.6702 2.18233 10.641L2.83337 10.4326C2.73246 10.5531 2.4102 8.7041 2.83337 8.03678C3.59184 7.5127 4.2266 7.87728 5.12504 6.50033H1.42712ZM5.17712 9.05241C4.57166 9.05241 4.08337 9.55371 4.08337 10.1722C4.08337 10.7907 4.57166 11.292 5.17712 11.292C5.78259 11.292 6.27087 10.7907 6.27087 10.1722C6.27087 9.55371 5.78259 9.05241 5.17712 9.05241ZM8.82296 9.05241C8.21749 9.05241 7.72921 9.55371 7.72921 10.1722C7.72921 10.7907 8.21749 11.292 8.82296 11.292C9.42843 11.292 9.91671 10.7907 9.91671 10.1722C9.91671 9.55371 9.42843 9.05241 8.82296 9.05241Z",fill:"#9AA2AC"}))},kn=function(){return a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18"},a.createElement("path",{d:"M8.99996 0.666992C6.27535 0.666992 3.85348 1.97884 2.33329 4.00033H4.59892C5.80009 2.94564 7.36259 2.33366 8.99996 2.33366C10.6373 2.33366 12.1998 2.94564 13.401 4.00033H15.6666C14.1464 1.97884 11.7246 0.666992 8.99996 0.666992ZM1.78642 4.83366C1.07678 7.04069 0.666626 9.59928 0.666626 12.3337C0.666626 14.085 0.826131 15.7679 1.13538 17.3337H16.8645C17.1738 15.7679 17.3333 14.085 17.3333 12.3337C17.3333 9.59928 16.9231 7.04069 16.2135 4.83366H1.78642ZM8.99996 7.33366C11.3014 7.33366 13.1666 9.19889 13.1666 11.5003C13.1666 13.8018 11.3014 15.667 8.99996 15.667C6.69853 15.667 4.83329 13.8018 4.83329 11.5003C4.83329 9.19889 6.69853 7.33366 8.99996 7.33366ZM8.16663 9.00033V10.667H6.49996V12.3337H8.16663V14.0003H9.83329V12.3337H11.5V10.667H9.83329V9.00033H8.16663Z",fill:"#9AA2AC"}))},Mn=function(){return a.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17"},a.createElement("path",{d:"M8 0.666992L0.5 5.63533V14.8337C0.5 15.7545 1.24583 16.5003 2.16667 16.5003H13.8333C14.7542 16.5003 15.5 15.7545 15.5 14.8337V5.63533L8 0.666992ZM11.3333 10.667H8.83333V13.167H7.16667V10.667H4.66667V9.00033H7.16667V6.50033H8.83333V9.00033H11.3333V10.667Z",fill:"#9AA2AC"}))},In=function(){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16"},a.createElement("path",{d:"M3.83333 0.5C2.94928 0.5 2.10143 0.851189 1.47631 1.47631C0.851189 2.10143 0.5 2.94928 0.5 3.83333C0.5 4.71739 0.851189 5.56523 1.47631 6.19036C2.10143 6.81548 2.94928 7.16667 3.83333 7.16667C4.71739 7.16667 5.56523 6.81548 6.19036 6.19036C6.81548 5.56523 7.16667 4.71739 7.16667 3.83333C7.16667 2.94928 6.81548 2.10143 6.19036 1.47631C5.56523 0.851189 4.71739 0.5 3.83333 0.5V0.5ZM10.5 0.5C9.57917 0.5 8.83333 1.24583 8.83333 2.16667V5.5C8.83333 6.42083 9.57917 7.16667 10.5 7.16667H13.8333C14.7542 7.16667 15.5 6.42083 15.5 5.5V2.16667C15.5 1.24583 14.7542 0.5 13.8333 0.5H10.5ZM3.83333 8.83333C2.94928 8.83333 2.10143 9.18452 1.47631 9.80964C0.851189 10.4348 0.5 11.2826 0.5 12.1667C0.5 13.0507 0.851189 13.8986 1.47631 14.5237C2.10143 15.1488 2.94928 15.5 3.83333 15.5C4.71739 15.5 5.56523 15.1488 6.19036 14.5237C6.81548 13.8986 7.16667 13.0507 7.16667 12.1667C7.16667 11.2826 6.81548 10.4348 6.19036 9.80964C5.56523 9.18452 4.71739 8.83333 3.83333 8.83333V8.83333ZM12.1667 8.83333C11.2826 8.83333 10.4348 9.18452 9.80964 9.80964C9.18452 10.4348 8.83333 11.2826 8.83333 12.1667C8.83333 13.0507 9.18452 13.8986 9.80964 14.5237C10.4348 15.1488 11.2826 15.5 12.1667 15.5C13.0507 15.5 13.8986 15.1488 14.5237 14.5237C15.1488 13.8986 15.5 13.0507 15.5 12.1667C15.5 11.2826 15.1488 10.4348 14.5237 9.80964C13.8986 9.18452 13.0507 8.83333 12.1667 8.83333V8.83333Z",fill:"#9AA2AC"}))},Rn=S.header(sn||(sn=e(["\n display: flex;\n justify-content: space-between;\n padding: 12px 24px;\n background-color: ",";\n box-shadow: inset 0px 1px 0px #e4e8ec;\n"],["\n display: flex;\n justify-content: space-between;\n padding: 12px 24px;\n background-color: ",";\n box-shadow: inset 0px 1px 0px #e4e8ec;\n"])),f.colors.neutral50),Pn=S.div(un||(un=e(["\n display: grid;\n flex: 2;\n align-items: center;\n gap: 16px;\n grid-template-columns: 16px 1fr;\n"],["\n display: grid;\n flex: 2;\n align-items: center;\n gap: 16px;\n grid-template-columns: 16px 1fr;\n"]))),Fn=S.p(dn||(dn=e(["\n color: ",";\n font-size: 14px;\n font-weight: ",";\n letter-spacing: -0.2px;\n line-height: 22px;\n"],["\n color: ",";\n font-size: 14px;\n font-weight: ",";\n letter-spacing: -0.2px;\n line-height: 22px;\n"])),f.colors.neutral800,f.sizes.fwSemiBold),zn=S.button(pn||(pn=e(["\n flex: 1;\n cursor: pointer;\n text-align: end;\n"],["\n flex: 1;\n cursor: pointer;\n text-align: end;\n"]))),An=S.section(hn||(hn=e(["\n padding: 12px 16px;\n --rowGap: 16px;\n --graphicSize: 32px;\n\n "," {\n --rowGap: 8px;\n }\n"],["\n padding: 12px 16px;\n --rowGap: 16px;\n --graphicSize: 32px;\n\n "," {\n --rowGap: 8px;\n }\n"])),b.tdUp),Nn=S.ul(gn||(gn=e(["\n --gap: 16px;\n "," {\n --gap: 8px;\n }\n\n display: grid;\n overflow: hidden;\n gap: var(--gap);\n transition: max-height 0.8s ease-out;\n\n ","\n\n ","\n\n@media (prefers-reduced-motion) {\n transition: none;\n }\n\n "," {\n grid-template-columns: 1fr 1fr;\n } ;\n"],["\n --gap: 16px;\n "," {\n --gap: 8px;\n }\n\n display: grid;\n overflow: hidden;\n gap: var(--gap);\n transition: max-height 0.8s ease-out;\n\n ","\n\n ","\n\n@media (prefers-reduced-motion) {\n transition: none;\n }\n\n "," {\n grid-template-columns: 1fr 1fr;\n } ;\n"])),b.tdUp,(function(e){return e.isMore&&"\n height: auto;\n max-height: 0;\n margin-top: var(--gap);\n "}),(function(e){return e.isShown&&"\n max-height: 600px;\n "}),b.tdUp),Tn=S(w)(mn||(mn=e(["\n margin-top: 12px;\n margin-bottom: 8px;\n cursor: pointer;\n text-align: start;\n text-transform: capitalize;\n"],["\n margin-top: 12px;\n margin-bottom: 8px;\n cursor: pointer;\n text-align: start;\n text-transform: capitalize;\n"]))),Hn=function(e){var n=e.type,t=e.data,o=e.state,i=e.dispatch,c=e.itemsToShow,s=e.itemsToShowDesktop,u=e.isMobile,d=e.isLoading,p=e.keyword,g=r(!1),m=g[0],C=g[1],v=E(),x=v.t,y=v.locale,b=o.selectedLocation,L=o.searchKeywords,S=l((function(){return h[y]}),[y]),k=l((function(){return{doctors:{name:x("booking.searchPopup.doctors"),icon:a.createElement(Sn,null),slug:S.DOCTOR},services:{name:x("booking.searchPopup.services"),icon:a.createElement(kn,null),slug:S.SERVICE},hospitals:{name:x("booking.searchPopup.hospitals"),icon:a.createElement(Mn,null),slug:S.HOSPITAL},specialties:{name:x("booking.searchPopup.specialties"),icon:a.createElement(In,null),slug:S.SPECIALTIES}}}),[n,S]),I=l((function(){return k[n].slug}),[k]),R=u?c:s;function P(e){var t="";switch(n){case"specialties":t="/".concat(b.slug,"/").concat(k.doctors.slug,"/").concat(e.slug);break;case"services":t="/".concat(b.slug,"/").concat(I,"/").concat(e.slug);break;case"doctors":case"hospitals":t="/".concat(I,"/").concat(e.slug,"-").concat(e.id)}t&&i({type:Ie.SelectSearchResult,payload:{name:e.name,url:t}})}function F(e){return a.createElement(Ln,{key:e.id,item:e,type:n,imageUrl:e.logo||e.avatar||e.thumbnail,onClickItem:P})}return a.createElement("section",null,a.createElement(Rn,null,a.createElement(Pn,null,k[n].icon,a.createElement(Fn,null,k[n].name)),a.createElement(zn,{onClick:function(){var e="";switch(n){case"specialties":e="/".concat(I);break;case"services":case"doctors":case"hospitals":e="/".concat(b.slug,"/").concat(I)}e&&i({type:Ie.NavigateTo,payload:e})}},a.createElement(w,{size:"p3",color:f.colors.primaryBase},x("booking.searchPopup.seeAll")))),(d||t&&t.length>0)&&a.createElement(An,null,a.createElement(Nn,null,d&&Array(2).fill(void 0).map((function(e,t){return a.createElement(Cn,{key:n+"loading"+t},a.createElement(yn,null,a.createElement(bn,null,a.createElement(M,{height:14,width:"hospitals"===n?12:32,style:{maxWidth:"var(--graphicSize)",minHeight:"var(--graphicSize)"}}))),a.createElement(M,{width:120,height:24}))})),!d&&t&&t.length>0&&t.slice(0,R).map(F)),a.createElement(Nn,{isShown:m,isMore:!0},t.slice(R,-1).map(F)),"specialties"===n&&R<t.length&&!d&&a.createElement("button",{onClick:function(){return C(!m)}},a.createElement(Tn,{size:"p3",color:f.colors.primaryBase},x(m?"booking.searchPopup.seeLessSpecialties":"booking.searchPopup.seeMoreSpecialties"))),"specialties"!==n&&R<t.length&&!d&&p.trim().length>Te[y]&&a.createElement("button",{onClick:function(){var e=k[n].slug,t="/".concat(b.slug,"/").concat(e,"?q=").concat(L);i({type:Ie.NavigateTo,payload:t})}},a.createElement(Tn,{size:"p3",color:f.colors.primaryBase},x("booking.searchPopup.searchIn.".concat(n),{name:p})))),!d&&0===(null==t?void 0:t.length)&&a.createElement(An,null,a.createElement(w,{size:"sm",color:f.colors.gray400},x("booking.searchBar.noResults"))))},Vn=S.section(fn||(fn=e(["\n background-color: white;\n border-radius: 4px;\n position: absolute;\n width: 100%;\n z-index: 30;\n\n "," {\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n"],["\n background-color: white;\n border-radius: 4px;\n position: absolute;\n width: 100%;\n z-index: 30;\n\n "," {\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n"])),b.tdUp),Bn=function(e){var n=e.data,t=e.state,o=e.dispatch,i=e.isMobile,r=e.isLoading,c=e.keyword;return a.createElement(Vn,null,n&&n.map((function(e){return a.createElement(Hn,{type:e.type,state:t,dispatch:o,itemsToShow:2,itemsToShowDesktop:4,key:e.type,data:e.results,isMobile:i,isLoading:r,keyword:c})})))},Dn="api/lists/cities?keyword={keyword}&country_id={countryId}&site={domain}&_nopaging={noPaging}",On="api/v2/search/?site={domain}&type={searchType}&keyword={keyword}&city_id={city}&latitude={lat}&longitude={lng}",Kn="api/geobyip?site={domain}&latitude={lat}&longitude={lng}",Zn=function(e,n,o){return F(e,t(t({},n),{domain:g[o||"en-PH"]}))};var _n,Gn=function(e){var n=e.isMobile,g=e.careApiDomain,f=e.geoLocationPermission,y=e.geoLocationCoordinates,w=e.initialSelectedCity,b=e.initialSearchValue,S=void 0===b?"":b,k=e.careFrontDomain,M=void 0===k?"/care":k,I=e.isDebug,R=void 0!==I&&I,P=e.askForGeolocationPermission,F=void 0!==P&&P,z=e.gaTrackingSearchBar,A=e.autoCompleteDisabled,N=void 0!==A&&A,T=e.inputSearchPlaceholder,H=void 0===T?"":T,V=e.routerPush,B=e.onGeoLocationPermissionChange,D=e.onSearch,O=e.onChangeLocation,K=E(),Z=K.t,_=K.locale,q=u(null),Y=u(null),J=r(void 0),X=J[0],$=J[1],ee=function(){var e=r((function(){if("undefined"==typeof window)return"unset";if(C(m))return"granted";var e=!location.protocol.includes("https")&&"localhost"!==location.hostname;return!navigator.geolocation||e?"denied":"unset"})),n=e[0],t=e[1],o=r((function(){if("undefined"==typeof window)return null;var e=C(m);if(e)try{return JSON.parse(e)}catch(e){console.log(e)}return null})),i=o[0],a=o[1],s=c((function(){navigator.geolocation&&navigator.geolocation.getCurrentPosition((function(e){var n={lat:"".concat(Math.round(1e7*e.coords.latitude)/1e7),lng:"".concat(Math.round(1e7*e.coords.longitude)/1e7)};v(m,JSON.stringify(n),0,15),a(n),t("granted")}),(function(){x(m),t("denied")}))}),[]);return l((function(){return{geoLocationPermission:n,geoLocationCoordinates:i,requestGeoLocation:s}}),[n,i])}(),ne=ee.geoLocationPermission,te=ee.geoLocationCoordinates,oe=ee.requestGeoLocation,ie=d(Be,He,(function(e){return t(t({},e),{isDebug:R,isMobile:n,geoLocationPermission:f||ne||"unset",geoLocationCoordinates:y||te||null,searchKeywords:S,initialSelectedCity:w||null,selectedLocation:w||e.selectedLocation||null,searchLocationKeywords:(null==w?void 0:w.name)||e.searchLocationKeywords,autoCompleteDisabled:N,inputSearchPlaceholder:H,locale:_})})),ae=ie[0],re=ie[1],le=ae.navigateTo,se=ae.focused,ue=ae.isLoadingCities,de=ae.cities,pe=ae.searchKeywords,he=ae.geoLocationPermission,ge=ae.selectedLocation,me=ae.initialSelectedCity,fe=ae.defaultCity,Ce=ae.searchResults,ve=ae.isLoadingSearchResults,xe=ae.isMobileModalOpened,ye=ae.inputSearchPlaceholder,we=function(e){var n=e.dispatch,o=e.careApiDomain,i=e.locale,a=void 0===i?"vi-VN":i,r=c((function(e,t){void 0===t&&(t={});var i="".concat(o).concat(e);return n({type:Ie.FetchCitiesStart}),fetch(Zn(i,t,a),{method:"GET"}).then((function(e){return e.json()})).then((function(e){return 1===e._status&&e._data?null==e?void 0:e._data:(console.log("error loading cities",e),Promise.reject(e))})).finally((function(){return n({type:Ie.FetchCitiesFinish})}))}),[a]),l=c((function(e){var o=e.coordinates,i={};o&&(i={lat:o.lat,lng:o.lng});var c=[r(Kn,i)];return"zh-TW"===a&&c.push(r(Dn,{noPaging:1})),Promise.all(c).then((function(e){var o=e[0],i=e[1],a=t({},o);if(i){var r=a.cities.map((function(e){return e.id}));a.cities=a.cities.concat(i.cities.filter((function(e){return!r.includes(e.id)})))}n({type:Ie.FetchCitiesByGeoIpComplete,payload:a})})).catch((function(e){return console.error("error loading cities by location",e)}))}),[a,o,n]);return{fetchCitiesByLocation:l,fetchCitiesByKeyword:c((function(e){return r(Dn,{keyword:e}).then((function(e){n({type:Ie.FetchCitiesByKeywordComplete,payload:e.cities})})).catch((function(e){return console.error("error loading cities by keyword",e)}))}),[a,o,n]),fetchSearchResults:c((function(e,t){var i="".concat(o).concat(On);n({type:Ie.FetchSearchResultsStart});var r=t.defaultCity,c=t.selectedLocation,l=t.geoLocationCoordinates,s="";if(c&&r){c.id===p?l||(s=r.id):s=c.id;var u=(null==l?void 0:l.lat)||"",d=(null==l?void 0:l.lng)||"";return fetch(Zn(i,{domain:o,searchType:"global",keyword:e.trim().length>Te[a]?e.trim():"",city:s===p?"":s,lat:u,lng:d},a),{method:"GET",headers:{accept:"version=2.0.0.0"}}).then((function(e){return e.json()})).then((function(e){return 1===e._status&&e._data?null==e?void 0:e._data:Promise.reject(e)})).then((function(e){return n({type:Ie.FetchSearchResultsComplete,payload:e})})).catch((function(e){console.log("error loading search results",{url:i,error:e})})).finally((function(){return n({type:Ie.FetchSearchResultsFinish})}))}n({type:Ie.FetchSearchResultsFinish})}),[a,o,n])}}({dispatch:re,locale:_,careApiDomain:g}),Ee=we.fetchCitiesByLocation,Le=we.fetchCitiesByKeyword,Se=we.fetchSearchResults,ke=l((function(){var e;return{id:p,name:Z("booking.searchBar.currentLocation"),slug:null===(e=h[_])||void 0===e?void 0:e.CURRENT}}),[Z,_]),Me=l((function(){return L(Le,400)}),[Le]),Re=l((function(){return L(Se,400)}),[Se]);s((function(){""!==S&&S!==ae.searchKeywords&&re({type:Ie.UpdateInitialSearchValue,payload:S})}),[S]),s((function(){F&&(null==ge?void 0:ge.id)===p&&"unset"===he&&oe()}),[F,ge,he]),s((function(){f||he===ne||("granted"===ne&&te?re({type:Ie.GrantGeoLocationPermission,payload:te}):"denied"===ne&&re({type:Ie.DenyGeoLocationPermission}))}),[he,ne,te,f]),s((function(){le&&(V?V(le):window.location.href="".concat(M).concat(le))}),[le]);var Pe=c((function(){re({type:Ie.SelectCurrentLocation,payload:ke})}),[Z,re]);s((function(){"denied"===he||me||Pe(),B&&B(he,ae.geoLocationCoordinates),n&&"granted"===he&&ge&&re({type:Ie.FocusInputSearch}),Ee({coordinates:ae.geoLocationCoordinates})}),[he]),s((function(){ge&&fe&&Se(ae.searchKeywords,ae)}),[ge,fe]),s((function(){H!==ye&&re({type:Ie.SetInputSearchPlaceholder,payload:H})}),[H,ye]),s((function(){xe?document.body.classList.add("care-popup-open"):document.body.classList.remove("care-popup-open")}),[xe]);var Fe=c((function(e){re({type:Ie.SelectLocation,payload:e}),Ve(),O&&O(e)}),[Z,re]);function ze(){n&&"granted"!==ae.geoLocationPermission?oe():(Pe(),Ve())}function Ae(){var e;q.current&&(null===(e=q.current.querySelector('input[name="search-location"]'))||void 0===e||e.focus())}function Ve(){var e;q.current&&(null===(e=q.current.querySelector('input[name="search-results"]'))||void 0===e||e.focus())}function De(){return"location"!==se?null:a.createElement(ce,{isLoading:ue,cities:de,onLocationClick:Fe,onCurrentLocationClick:ze,isLocationLoading:ue,geoLocationPermission:he,selectedLocation:ge})}function Oe(){return"search"!==se?null:ae.autoCompleteDisabled?n?a.createElement(We,{onClick:function(){D({cityId:ae.selectedLocation.id,keyword:pe})}}):null:a.createElement(Bn,{data:Ce,state:ae,dispatch:re,isMobile:!1,keyword:pe,isLoading:ve})}function Ke(){return a.createElement(nn,{isMobile:n,state:ae,dispatch:re,debouncedFetchCitiesByKeyword:Me,debouncedFetchSearchResults:Re,focusLocationInput:Ae,focusSearchInput:Ve,renderLocationResults:De,renderSearchResults:Oe,trackingAttributes:z,onSearch:D,initalSearchValue:S})}return s((function(){if(window.visualViewport){var e=function(e){var n=e.target;$(null==n?void 0:n.height)};return window.visualViewport.addEventListener("resize",e),function(){window.visualViewport.removeEventListener("resize",e)}}}),[$]),n?a.createElement(a.Fragment,null,a.createElement(W,null),a.createElement(Q,{ref:Y}),a.createElement(j,{id:"booking-search-bar",ref:q,"data-is-modal":n&&xe,style:{"--mobile-care-searchbar-height":xe&&X?"".concat(X,"px"):"100%"}},xe?a.createElement(a.Fragment,null,a.createElement(U,null,a.createElement(Ne,{headingText:"Search",onLeftClick:function(){re({type:Ie.CloseMobileModal})}}),Ke()),De(),Oe()):a.createElement(be,{onClick:function(){var e;return o(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return Y.current&&Y.current.focus(),re({type:Ie.OpenMobileModal}),[4,Promise.resolve()];case 1:return n.sent(),q.current&&(null===(e=q.current.querySelector('input[name="search-location"]'))||void 0===e||e.focus()),[2]}}))}))},focused:se,value:pe,trackingAttributes:z,inputSearchPlaceholder:H}))):a.createElement(G,{id:"booking-search-bar",ref:q},Ke())};!function(e){e[e.SPECIALTY=1]="SPECIALTY",e[e.DOCTOR=2]="DOCTOR",e[e.CLINIC=3]="CLINIC",e[e.SERVICE=4]="SERVICE"}(_n||(_n={}));var jn=Object.freeze({__proto__:null,get RedirectType(){return _n}});export{Gn as B,jn as t};