@hhgtech/hhg-components 1.19.0-beta-2 → 1.19.0-beta-4

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 (178) hide show
  1. package/build/assets/svg/index.d.ts +5 -9
  2. package/build/cache/core.d.ts +7 -0
  3. package/build/cache/index.d.ts +1 -0
  4. package/build/cache.js +2 -0
  5. package/build/cache.js.map +1 -0
  6. package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +1 -1
  7. package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
  8. package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
  9. package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
  10. package/build/care/components/organisms/bookingSearchBar/searchInputs/index.d.ts +2 -1
  11. package/build/care.js +1 -1
  12. package/build/components/atoms/flag/icons/cambodia.d.ts +2 -2
  13. package/build/components/atoms/flag/icons/india.d.ts +2 -2
  14. package/build/components/atoms/flag/icons/indonesia.d.ts +5 -3
  15. package/build/components/atoms/flag/icons/philippines.d.ts +2 -2
  16. package/build/components/atoms/flag/index.d.ts +2 -1
  17. package/build/components/atoms/index.d.ts +6 -3
  18. package/build/components/atoms/input/index.d.ts +4 -12
  19. package/build/components/atoms/pureInput/index.d.ts +1 -0
  20. package/build/components/atoms/text/index.d.ts +4 -1
  21. package/build/components/molecules/articleCard/index.d.ts +2 -1
  22. package/build/components/molecules/dateRangePicker/calendar/index.d.ts +9 -0
  23. package/build/components/molecules/dateRangePicker/calendar/index.styled.d.ts +13 -0
  24. package/build/components/molecules/dateRangePicker/index.d.ts +17 -0
  25. package/build/components/molecules/dateRangePicker/index.styled.d.ts +2 -0
  26. package/build/components/molecules/dateRangePicker/types.d.ts +4 -0
  27. package/build/components/molecules/dateRangePicker/utils.d.ts +2 -0
  28. package/build/components/molecules/index.d.ts +16 -8
  29. package/build/components/organisms/index.d.ts +1 -1
  30. package/build/components/organisms/navigationLayout/navigationBar/index.d.ts +1 -1
  31. package/build/components/organisms/navigationProfileButton/index.d.ts +2 -1
  32. package/build/components/organisms/navigationV2/index.d.ts +2 -0
  33. package/build/components.js +1 -1
  34. package/build/cookieHelper-40ab50eb.js +2 -0
  35. package/build/cookieHelper-40ab50eb.js.map +1 -0
  36. package/build/core-8fcc56eb.js +2 -0
  37. package/build/core-8fcc56eb.js.map +1 -0
  38. package/build/core.d.ts +7 -0
  39. package/build/core.js +2 -0
  40. package/build/core.js.map +1 -0
  41. package/build/esm/assets/svg/index.d.ts +5 -9
  42. package/build/esm/cache/core.d.ts +7 -0
  43. package/build/esm/cache/index.d.ts +1 -0
  44. package/build/esm/cache.js +2 -0
  45. package/build/esm/cache.js.map +1 -0
  46. package/build/esm/care/components/organisms/bookingSearchBar/index.styled.d.ts +1 -1
  47. package/build/esm/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
  48. package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
  49. package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
  50. package/build/esm/care/components/organisms/bookingSearchBar/searchInputs/index.d.ts +2 -1
  51. package/build/esm/care.js +1 -1
  52. package/build/esm/components/atoms/flag/icons/cambodia.d.ts +2 -2
  53. package/build/esm/components/atoms/flag/icons/india.d.ts +2 -2
  54. package/build/esm/components/atoms/flag/icons/indonesia.d.ts +5 -3
  55. package/build/esm/components/atoms/flag/icons/philippines.d.ts +2 -2
  56. package/build/esm/components/atoms/flag/index.d.ts +2 -1
  57. package/build/esm/components/atoms/index.d.ts +6 -3
  58. package/build/esm/components/atoms/input/index.d.ts +4 -12
  59. package/build/esm/components/atoms/pureInput/index.d.ts +1 -0
  60. package/build/esm/components/atoms/text/index.d.ts +4 -1
  61. package/build/esm/components/molecules/articleCard/index.d.ts +2 -1
  62. package/build/esm/components/molecules/dateRangePicker/calendar/index.d.ts +9 -0
  63. package/build/esm/components/molecules/dateRangePicker/calendar/index.styled.d.ts +13 -0
  64. package/build/esm/components/molecules/dateRangePicker/index.d.ts +17 -0
  65. package/build/esm/components/molecules/dateRangePicker/index.styled.d.ts +2 -0
  66. package/build/esm/components/molecules/dateRangePicker/types.d.ts +4 -0
  67. package/build/esm/components/molecules/dateRangePicker/utils.d.ts +2 -0
  68. package/build/esm/components/molecules/index.d.ts +16 -8
  69. package/build/esm/components/organisms/index.d.ts +1 -1
  70. package/build/esm/components/organisms/navigationLayout/navigationBar/index.d.ts +1 -1
  71. package/build/esm/components/organisms/navigationProfileButton/index.d.ts +2 -1
  72. package/build/esm/components/organisms/navigationV2/index.d.ts +2 -0
  73. package/build/esm/components.js +1 -1
  74. package/build/esm/{constants-ca5de3b0.js → constants-dc22740c.js} +2 -2
  75. package/build/esm/{constants-ca5de3b0.js.map → constants-dc22740c.js.map} +1 -1
  76. package/build/esm/cookieHelper-caf76f93.js +2 -0
  77. package/build/esm/cookieHelper-caf76f93.js.map +1 -0
  78. package/build/esm/core-3d8a3f90.js +2 -0
  79. package/build/esm/core-3d8a3f90.js.map +1 -0
  80. package/build/esm/core.d.ts +7 -0
  81. package/build/esm/core.js +2 -0
  82. package/build/esm/core.js.map +1 -0
  83. package/build/esm/ecom.js +1 -1
  84. package/build/esm/hooks/useCSSFocusPopupHelper.d.ts +3 -4
  85. package/build/esm/hooks/useFbDataLayer.d.ts +2 -0
  86. package/build/esm/i18n.js +1 -1
  87. package/build/esm/index-0348b56b.js +2 -0
  88. package/build/esm/index-0348b56b.js.map +1 -0
  89. package/build/esm/index-13d62ff2.js +2 -0
  90. package/build/esm/index-13d62ff2.js.map +1 -0
  91. package/build/esm/index-4130d006.js +2 -0
  92. package/build/esm/index-4130d006.js.map +1 -0
  93. package/build/esm/{index-75d1e7f4.js → index-f799fba8.js} +2 -2
  94. package/build/esm/{index-75d1e7f4.js.map → index-f799fba8.js.map} +1 -1
  95. package/build/esm/index.d.ts +1 -0
  96. package/build/esm/index.js +1 -1
  97. package/build/esm/index.styled-64f8f6e8.js +2 -0
  98. package/build/esm/index.styled-64f8f6e8.js.map +1 -0
  99. package/build/esm/misc/utils.d.ts +11 -1
  100. package/build/esm/navigation.js +2 -0
  101. package/build/esm/navigation.js.map +1 -0
  102. package/build/esm/together/components/atoms/cardReactions/index.styled.d.ts +1 -1
  103. package/build/esm/together.js +1 -1
  104. package/build/esm/translationsContext-b0b4655d.js +2 -0
  105. package/build/esm/{translationsContext-977d7bc4.js.map → translationsContext-b0b4655d.js.map} +1 -1
  106. package/build/esm/translationsProvider-a15863c9.js +2 -0
  107. package/build/esm/{translationsProvider-ba085038.js.map → translationsProvider-a15863c9.js.map} +1 -1
  108. package/build/esm/{tslib.es6-77763d30.js → tslib.es6-fd0a5c98.js} +2 -2
  109. package/build/esm/{tslib.es6-77763d30.js.map → tslib.es6-fd0a5c98.js.map} +1 -1
  110. package/build/esm/types-5c8ce743.js +2 -0
  111. package/build/esm/{types-a2c1b603.js.map → types-5c8ce743.js.map} +1 -1
  112. package/build/esm/types-93261e22.js +2 -0
  113. package/build/esm/types-93261e22.js.map +1 -0
  114. package/build/esm/{types-12be8f90.js → types-dd4dd7f7.js} +2 -2
  115. package/build/esm/{types-12be8f90.js.map → types-dd4dd7f7.js.map} +1 -1
  116. package/build/esm/useFbDataLayer-58443cc1.js +2 -0
  117. package/build/esm/useFbDataLayer-58443cc1.js.map +1 -0
  118. package/build/esm/useScrollbarSize-99db33e1.js +2 -0
  119. package/build/esm/useScrollbarSize-99db33e1.js.map +1 -0
  120. package/build/esm/useTranslations-0c13f2cb.js +2 -0
  121. package/build/esm/useTranslations-0c13f2cb.js.map +1 -0
  122. package/build/hooks/useCSSFocusPopupHelper.d.ts +3 -4
  123. package/build/hooks/useFbDataLayer.d.ts +2 -0
  124. package/build/i18n.js +1 -1
  125. package/build/index-4b2abcf8.js +2 -0
  126. package/build/index-4b2abcf8.js.map +1 -0
  127. package/build/index-7b737f6f.js +2 -0
  128. package/build/index-7b737f6f.js.map +1 -0
  129. package/build/{index-3414ede1.js → index-8b1e9d3e.js} +2 -2
  130. package/build/{index-3414ede1.js.map → index-8b1e9d3e.js.map} +1 -1
  131. package/build/index-eed59e93.js +2 -0
  132. package/build/index-eed59e93.js.map +1 -0
  133. package/build/index.d.ts +1 -0
  134. package/build/index.js +1 -1
  135. package/build/index.styled-89837cca.js +2 -0
  136. package/build/index.styled-89837cca.js.map +1 -0
  137. package/build/misc/utils.d.ts +11 -1
  138. package/build/navigation.js +2 -0
  139. package/build/navigation.js.map +1 -0
  140. package/build/together/components/atoms/cardReactions/index.styled.d.ts +1 -1
  141. package/build/together.js +1 -1
  142. package/build/translationsContext-351bc1a7.js +2 -0
  143. package/build/{translationsContext-63e3e5ec.js.map → translationsContext-351bc1a7.js.map} +1 -1
  144. package/build/translationsProvider-eb4d9fd6.js +2 -0
  145. package/build/{translationsProvider-4f6e12c9.js.map → translationsProvider-eb4d9fd6.js.map} +1 -1
  146. package/build/types-5985800a.js +2 -0
  147. package/build/{types-34bc953a.js.map → types-5985800a.js.map} +1 -1
  148. package/build/types-a29ad94c.js +2 -0
  149. package/build/types-a29ad94c.js.map +1 -0
  150. package/build/useFbDataLayer-508d5450.js +2 -0
  151. package/build/useFbDataLayer-508d5450.js.map +1 -0
  152. package/build/useScrollbarSize-586f6706.js +2 -0
  153. package/build/useScrollbarSize-586f6706.js.map +1 -0
  154. package/build/useTranslations-29326df5.js +2 -0
  155. package/build/useTranslations-29326df5.js.map +1 -0
  156. package/package.json +22 -39
  157. package/build/esm/index-302ef9fa.js +0 -2
  158. package/build/esm/index-302ef9fa.js.map +0 -1
  159. package/build/esm/index.styled-fe838f56.js +0 -2
  160. package/build/esm/index.styled-fe838f56.js.map +0 -1
  161. package/build/esm/translationsContext-977d7bc4.js +0 -2
  162. package/build/esm/translationsProvider-ba085038.js +0 -2
  163. package/build/esm/types-429a22fe.js +0 -2
  164. package/build/esm/types-429a22fe.js.map +0 -1
  165. package/build/esm/types-a2c1b603.js +0 -2
  166. package/build/esm/useTranslations-bd25b99b.js +0 -2
  167. package/build/esm/useTranslations-bd25b99b.js.map +0 -1
  168. package/build/index-1022b302.js +0 -2
  169. package/build/index-1022b302.js.map +0 -1
  170. package/build/index.styled-2fb2dbba.js +0 -2
  171. package/build/index.styled-2fb2dbba.js.map +0 -1
  172. package/build/translationsContext-63e3e5ec.js +0 -2
  173. package/build/translationsProvider-4f6e12c9.js +0 -2
  174. package/build/types-34bc953a.js +0 -2
  175. package/build/types-5cdfbea1.js +0 -2
  176. package/build/types-5cdfbea1.js.map +0 -1
  177. package/build/useTranslations-5afc8996.js +0 -2
  178. package/build/useTranslations-5afc8996.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ "use strict";var e=require("./tslib.es6-f7929e76.js"),t={},a=function(e){if("undefined"!=typeof window){var a=void 0;try{a=JSON.parse(localStorage.getItem("hhg-cache-"+e)||"{}")}catch(e){}return a||{}}return t[e]},r=function(e,a){try{"undefined"!=typeof window?localStorage.setItem("hhg-cache-"+e,JSON.stringify({data:a,time:Date.now()})):t[e]={data:a,time:Date.now()}}catch(e){}};exports.getCachedItem=a,exports.getDataWithCache=function(t,n,i,o){return void 0===o&&(o=9e5),e.__awaiter(void 0,void 0,void 0,(function(){var c,s;return e.__generator(this,(function(e){switch(e.label){case 0:return(c=a(t))&&c.data&&c.time&&Date.now()-c.time<o?[2,c.data]:[3,1];case 1:return n?[4,n()]:[3,3];case 2:return s=e.sent(),i&&!i(s)||r(t,s),[2,s];case 3:return[2,null]}}))}))},exports.setCachedItem=r;
2
+ //# sourceMappingURL=core-8fcc56eb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-8fcc56eb.js","sources":["../src/cache/core.ts"],"sourcesContent":["export type CacheItem<T = any> = {\n data: T\n time: number\n}\n\nconst ServerCache: { [key: string]: CacheItem } = {}\nexport const getCachedItem = <T>(key: string): CacheItem<T> => {\n if (typeof window !== 'undefined') {\n let res\n try {\n res = JSON.parse(localStorage.getItem('hhg-cache-' + key) || '{}')\n } catch {}\n return res || {}\n } else {\n return ServerCache[key]\n }\n}\nexport const setCachedItem = (key: string, value: any) => {\n try {\n if (typeof window !== 'undefined') {\n localStorage.setItem(\n 'hhg-cache-' + key,\n JSON.stringify({ data: value, time: Date.now() }),\n )\n } else {\n ServerCache[key] = { data: value, time: Date.now() }\n }\n } catch {}\n}\nexport const getDataWithCache = async <T>(\n key: string,\n dataGetter?: () => Promise<T> | T,\n validator?: (data: T) => boolean,\n cacheTime = 1000 * 60 * 15,\n): Promise<T | null | undefined> => {\n const persistData = getCachedItem<T>(key)\n if (\n persistData &&\n persistData.data &&\n persistData.time &&\n Date.now() - persistData.time < cacheTime\n ) {\n return persistData.data\n } else if (dataGetter) {\n const data = await dataGetter()\n if (!validator || validator(data)) {\n setCachedItem(key, data)\n }\n return data\n }\n return null\n}\n"],"names":["ServerCache","getCachedItem","key","window","res","JSON","parse","localStorage","getItem","_a","setCachedItem","value","setItem","stringify","data","time","Date","now","dataGetter","validator","cacheTime","persistData","sent"],"mappings":"sDAKMA,EAA4C,GACrCC,EAAgB,SAAIC,GAC/B,GAAsB,oBAAXC,OAAwB,CACjC,IAAIC,SACJ,IACEA,EAAMC,KAAKC,MAAMC,aAAaC,QAAQ,aAAeN,IAAQ,MAC7D,MAAAO,IACF,OAAOL,GAAO,GAEd,OAAOJ,EAAYE,IAGVQ,EAAgB,SAACR,EAAaS,GACzC,IACwB,oBAAXR,OACTI,aAAaK,QACX,aAAeV,EACfG,KAAKQ,UAAU,CAAEC,KAAMH,EAAOI,KAAMC,KAAKC,SAG3CjB,EAAYE,GAAO,CAAEY,KAAMH,EAAOI,KAAMC,KAAKC,OAE/C,MAAAR,uDAE4B,SAC9BP,EACAgB,EACAC,EACAC,eAAA,IAAAA,IAAAA,EAAY,wHAIV,OAFIC,EAAcpB,EAAiBC,KAGnCmB,EAAYP,MACZO,EAAYN,MACZC,KAAKC,MAAQI,EAAYN,KAAOK,EAEzB,CAAA,EAAAC,EAAYP,MAFsB,CAAA,EAAA,UAGhC,OAAAI,EACU,CAAA,EAAAA,KADA,CAAA,EAAA,UAKnB,OAJMJ,EAAOL,EAAkBa,OAC1BH,IAAaA,EAAUL,IAC1BJ,EAAcR,EAAKY,GAErB,CAAA,EAAOA,GAET,KAAA,EAAA,MAAA,CAAA,EAAO"}
@@ -0,0 +1,7 @@
1
+ export * as Types from './interfaces/types';
2
+ export * as Constants from './interfaces/constants';
3
+ export * from './misc/theme';
4
+ export * from './misc/utils';
5
+ export * from './hooks/useTranslations';
6
+ export * from './hooks/useScrollbarSize';
7
+ export * from './hooks/useFbDataLayer';
package/build/core.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useFbDataLayer-508d5450.js"),r=require("./theme-79e84625.js"),s=require("./useTranslations-29326df5.js"),t=require("./useScrollbarSize-586f6706.js");require("react"),require("./tslib.es6-f7929e76.js"),require("styled-components"),require("./translationsContext-351bc1a7.js"),require("lodash/debounce"),exports.Types=e.types,exports.useFbDataLayer=e.useFbDataLayer,exports.Constants=r.constants,exports.theme=r.theme,exports.Breakpoints=s.Breakpoints,exports.MediaQueries=s.MediaQueries,exports.formatUrlWithPageParam=s.formatUrlWithPageParam,exports.getBoundariesFromMediaQueryKey=s.getBoundariesFromMediaQueryKey,exports.makeParams=s.makeParams,exports.mbLayout=s.mbLayout,exports.pcLayout=s.pcLayout,exports.spLayout=s.spLayout,exports.tdLayout=s.tdLayout,exports.toggleNoScroll=s.toggleNoScroll,exports.useTranslations=s.useTranslations,exports.MEASURE_ELEMENT_CLASS=t.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=t.useScrollbarSize;
2
+ //# sourceMappingURL=core.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,5 +1,4 @@
1
1
  import ArrowDoorIcon from './arrowDoor.svg';
2
- import BgItem from './bg-carditem.svg';
3
2
  import Check from './check.svg';
4
3
  import ChevronDown from './chevronDown.svg';
5
4
  import chevronRight from './chevronRight.svg';
@@ -9,14 +8,13 @@ import ChevronUpBlue from './chevronUpBlue.svg';
9
8
  import CloseLightIcon from './closeLight.svg';
10
9
  import CloseWhiteIcon from './closeWhite.svg';
11
10
  import CommunityIcon from './community.svg';
12
- import DiscoverIcon from './discover.svg';
11
+ import DiscoverIcon from './discover.png';
13
12
  import FacebookIcon from './facebook.svg';
14
13
  import HamburgerMenuIcon from './hamburgerMenu.svg';
15
14
  import HamburgerMenuIconNew from './hamburgerMenuNew.svg';
16
15
  import HamburgerMenuIconNewWithSearch from './hamburgerMenuNewWithSearch.svg';
17
- import HealthToolsIcon from './healthTools.svg';
18
- import HelloCareIcon from './helloCare-thumbnail.svg';
19
- import HelloTogetherIcon from './helloTogether-service-icon.svg';
16
+ import HealthToolsIcon from './healthTools.png';
17
+ import HelloCareIcon from './helloCare-thumbnail.png';
20
18
  import InfoLightIcon from './info-light.svg';
21
19
  import InstagramIcon from './instagram.svg';
22
20
  import LinkedInIcon from './linkedin.svg';
@@ -27,9 +25,7 @@ import SpotlightIcon from './Spotlight.svg';
27
25
  import StarEmptyIcon from './StarEmptyIcon';
28
26
  import StarFullIcon from './StarFullIcon';
29
27
  import StarHalfIcon from './StarHalfIcon';
30
- import TogetherIcon from './together.svg';
31
- import TwitterIcon from './twitter.svg';
32
- import UserIcon from './userIcon.svg';
28
+ import TogetherIcon from './together.png';
33
29
  import YoutubeIcon from './youtube.svg';
34
30
  import ZaloIcon from './zalo.png';
35
- export { StarEmptyIcon, StarFullIcon, StarHalfIcon, FacebookIcon, InstagramIcon, LinkedInIcon, TwitterIcon, ZaloIcon, YoutubeIcon, CloseLightIcon, DiscoverIcon, HealthToolsIcon, HelloTogetherIcon, HelloCareIcon, HamburgerMenuIcon, HamburgerMenuIconNew, SehatBadge, CloseWhiteIcon, InfoLightIcon, ChevronDown, ChevronUpBlue, Check, TogetherIcon, LockIcon, ChevronRightWhiteIcon, BgItem, chevronRightActive, chevronRight, UserIcon, ArrowDoorIcon, LoginIcon, HamburgerMenuIconNewWithSearch, CommunityIcon, SpotlightIcon, };
31
+ export { StarEmptyIcon, StarFullIcon, StarHalfIcon, FacebookIcon, InstagramIcon, LinkedInIcon, ZaloIcon, YoutubeIcon, CloseLightIcon, DiscoverIcon, HealthToolsIcon, HelloCareIcon, HamburgerMenuIcon, HamburgerMenuIconNew, SehatBadge, CloseWhiteIcon, InfoLightIcon, ChevronDown, ChevronUpBlue, Check, TogetherIcon, LockIcon, ChevronRightWhiteIcon, chevronRightActive, chevronRight, ArrowDoorIcon, LoginIcon, HamburgerMenuIconNewWithSearch, CommunityIcon, SpotlightIcon, };
@@ -0,0 +1,7 @@
1
+ export declare type CacheItem<T = any> = {
2
+ data: T;
3
+ time: number;
4
+ };
5
+ export declare const getCachedItem: <T>(key: string) => CacheItem<T>;
6
+ export declare const setCachedItem: (key: string, value: any) => void;
7
+ export declare const getDataWithCache: <T>(key: string, dataGetter?: () => T | Promise<T>, validator?: (data: T) => boolean, cacheTime?: number) => Promise<T>;
@@ -0,0 +1 @@
1
+ export * from './core';
@@ -0,0 +1,2 @@
1
+ export{a as getCachedItem,g as getDataWithCache,s as setCachedItem}from"./core-3d8a3f90.js";import"./tslib.es6-fd0a5c98.js";
2
+ //# sourceMappingURL=cache.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cache.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -3,5 +3,5 @@ export declare const StyledSearchBarWrapper: import("styled-components").StyledC
3
3
  export declare const StyledSearchBarMobileWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
4
4
  export declare const StyledSearchBarMobileModalHeader: import("styled-components").StyledComponent<"section", any, {}, never>;
5
5
  export declare const StyledHiddenInputMobile: import("styled-components").StyledComponent<"input", any, {}, never>;
6
- export declare const StyledInput: import("styled-components").StyledComponent<({ name, value, errorMessage, isNumerousKeyboard, actionIcon: ActionIcon, displayIcon: DisplayIcon, onActionClick, label, placeholder, className, onChange, onKeyPress, onKeyDown, onFocus, onBlur, isDisabled, CustomInput, size, style, autoComplete, type, inputClassName, trackingAttributes, readOnly: readonly, enterKeyHint, }: import("../../../../components/atoms/input").Props) => JSX.Element, any, {}, never>;
6
+ export declare const StyledInput: import("styled-components").StyledComponent<({ name, value, errorMessage, isNumerousKeyboard, actionIcon: ActionIcon, displayIcon: DisplayIcon, onActionClick, label, className, onChange, isDisabled, CustomInput, size, style, autoComplete, type, inputClassName, trackingAttributes, enterKeyHint, ...rest }: import("../../../../components/atoms/input").Props) => JSX.Element, any, {}, never>;
7
7
  export declare const CareSearchGlobalStyles: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
@@ -3,4 +3,4 @@ export declare const StyledTopBar: import("styled-components").StyledComponent<"
3
3
  export declare const StyledTopBarHeaderRight: import("styled-components").StyledComponent<"div", any, {}, never>;
4
4
  export declare const StyledTopBarIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
5
5
  export declare const StyledTopbarHeading: import("styled-components").StyledComponent<"div", any, {}, never>;
6
- export declare const StyledTopbarHeadingText: import("styled-components").StyledComponent<({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, }: import("components/atoms/text").Props) => JSX.Element, any, {}, never>;
6
+ export declare const StyledTopbarHeadingText: import("styled-components").StyledComponent<({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, dangerouslySetInnerHTML, }: import("components/atoms/text").Props) => JSX.Element, any, {}, never>;
@@ -8,4 +8,4 @@ export declare const StyledItemsWrapper: import("styled-components").StyledCompo
8
8
  isShown?: boolean;
9
9
  isMore?: boolean;
10
10
  }, never>;
11
- export declare const StyledSeeMore: import("styled-components").StyledComponent<({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, }: import("../../../../../components/atoms/text").Props) => JSX.Element, any, {}, never>;
11
+ export declare const StyledSeeMore: import("styled-components").StyledComponent<({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, dangerouslySetInnerHTML, }: import("../../../../../components/atoms/text").Props) => JSX.Element, any, {}, never>;
@@ -4,7 +4,7 @@ export declare const StyledResult: import("styled-components").StyledComponent<"
4
4
  export declare const StyledRoundedIconWrapper: import("styled-components").StyledComponent<"div", any, {
5
5
  type: SearchBarSectionApi['type'];
6
6
  }, never>;
7
- export declare const StyledText: import("styled-components").StyledComponent<({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, }: import("components/atoms/text").Props) => JSX.Element, any, {}, never>;
7
+ export declare const StyledText: import("styled-components").StyledComponent<({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, dangerouslySetInnerHTML, }: import("components/atoms/text").Props) => JSX.Element, any, {}, never>;
8
8
  export declare const StyledPictureWrapper: import("styled-components").StyledComponent<"figure", any, {}, never>;
9
9
  export declare const StyledLocationPin: import("styled-components").StyledComponent<"svg", any, {}, never>;
10
10
  export declare const StyledImageSkeletonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -14,5 +14,6 @@ export declare type Props = {
14
14
  renderSearchResults: () => React.ReactNode;
15
15
  trackingAttributes?: GATrackingCode;
16
16
  onSearch?: (info: SearchClick) => void;
17
+ initalSearchValue?: string;
17
18
  };
18
- export declare function SearchInputs({ isMobile, state, dispatch, debouncedFetchCitiesByKeyword, debouncedFetchSearchResults, focusLocationInput, focusSearchInput, renderLocationResults, renderSearchResults, trackingAttributes, onSearch, }: Props): JSX.Element;
19
+ export declare function SearchInputs({ isMobile, state, dispatch, debouncedFetchCitiesByKeyword, debouncedFetchSearchResults, focusLocationInput, focusSearchInput, renderLocationResults, renderSearchResults, trackingAttributes, onSearch, initalSearchValue, }: Props): JSX.Element;
package/build/esm/care.js CHANGED
@@ -1,2 +1,2 @@
1
- export{B as BookingSearchBar,t as CareTypes}from"./types-429a22fe.js";export{c as CareConstants}from"./constants-ca5de3b0.js";import"./tslib.es6-77763d30.js";import"react";import"./theme-d85b3a33.js";import"./useTranslations-bd25b99b.js";import"styled-components";import"./translationsContext-977d7bc4.js";import"lodash/debounce";import"react-range";import"react-loading-skeleton";import"react-id-generator";import"lodash/shuffle";
1
+ export{B as BookingSearchBar,t as CareTypes}from"./types-93261e22.js";export{c as CareConstants}from"./constants-dc22740c.js";import"./tslib.es6-fd0a5c98.js";import"react";import"./theme-d85b3a33.js";import"./cookieHelper-caf76f93.js";import"styled-components";import"./useTranslations-0c13f2cb.js";import"./translationsContext-b0b4655d.js";import"lodash/debounce";import"react-range";import"react-loading-skeleton";import"react-id-generator";import"lodash/shuffle";
2
2
  //# sourceMappingURL=care.js.map
@@ -1,4 +1,4 @@
1
- import { SVGProps } from 'react';
2
- export declare type Props = SVGProps<SVGSVGElement>;
1
+ import { DetailedHTMLProps, ImgHTMLAttributes } from 'react';
2
+ export declare type Props = DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
3
3
  export declare const CambodiaRoundIcon: (props: Props) => JSX.Element;
4
4
  export declare const CambodiaSquareIcon: (props: Props) => JSX.Element;
@@ -1,4 +1,4 @@
1
- import { SVGProps } from 'react';
2
- export declare type Props = SVGProps<SVGSVGElement>;
1
+ import { DetailedHTMLProps, ImgHTMLAttributes } from 'react';
2
+ export declare type Props = DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
3
3
  export declare const IndiaRoundIcon: (props: Props) => JSX.Element;
4
4
  export declare const IndiaSquareIcon: (props: Props) => JSX.Element;
@@ -1,4 +1,6 @@
1
1
  import { SVGProps } from 'react';
2
- export declare type Props = SVGProps<SVGSVGElement>;
3
- export declare const IndonesiaRoundIcon: (props: Props) => JSX.Element;
4
- export declare const IndonesiaSquareIcon: (props: Props) => JSX.Element;
2
+ export declare type Props = SVGProps<SVGSVGElement> & {
3
+ isTesting?: boolean;
4
+ };
5
+ export declare const IndonesiaRoundIcon: ({ isTesting, ...rest }: Props) => JSX.Element;
6
+ export declare const IndonesiaSquareIcon: ({ isTesting, ...rest }: Props) => JSX.Element;
@@ -1,4 +1,4 @@
1
- import { SVGProps } from 'react';
2
- export declare type Props = SVGProps<SVGSVGElement>;
1
+ import { DetailedHTMLProps, ImgHTMLAttributes } from 'react';
2
+ export declare type Props = DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
3
3
  export declare const PhilippinesRoundIcon: (props: Props) => JSX.Element;
4
4
  export declare const PhilippinesSquareIcon: (props: Props) => JSX.Element;
@@ -7,6 +7,7 @@ declare type Props = {
7
7
  width: number;
8
8
  height: number;
9
9
  rounded?: boolean;
10
+ isTesting?: boolean;
10
11
  };
11
- declare const Flag: ({ country, language, rounded, height, width }: Props) => JSX.Element;
12
+ declare const Flag: ({ country, language, rounded, height, width, isTesting, }: Props) => JSX.Element;
12
13
  export { Flag };
@@ -5,7 +5,8 @@ export { BorderHeading } from './borderHeading';
5
5
  export { Button } from './button';
6
6
  export { Divider } from './divider';
7
7
  export { FileDropdown } from './fileDropdown';
8
- export { Flag, FlagCountryType } from './flag';
8
+ export { Flag } from './flag';
9
+ export type { FlagCountryType } from './flag';
9
10
  export { Grid } from './grid';
10
11
  export { Heading } from './heading';
11
12
  export { Input } from './input';
@@ -17,7 +18,8 @@ export { Radio } from './radio';
17
18
  export { Shadow } from './shadow';
18
19
  export { Slider } from './slider';
19
20
  export { Tag } from './tag';
20
- export { Text, TextSize, TextType } from './text';
21
+ export { Text } from './text';
22
+ export type { TextSize, TextType } from './text';
21
23
  export { Toggle } from './toggle';
22
24
  export { UnderlinedLink } from './underlinedLink';
23
25
  export { Uploader } from './uploader';
@@ -26,5 +28,6 @@ export { Container } from './container';
26
28
  export { Checkbox } from './checkbox';
27
29
  export { TextDivider } from './textDivider';
28
30
  export { RateStars } from './rateStars';
29
- export { Icon, IconProps } from './icons';
31
+ export { Icon } from './icons';
32
+ export type { IconProps } from './icons';
30
33
  export { Progress } from './progress';
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import { GATrackingCode } from 'care/components/organisms/bookingSearchBar/types';
3
- import { CSSProperties } from 'styled-components';
4
3
  export declare type Props = {
5
4
  value: string;
6
5
  name: string;
7
6
  size: 'lg' | 'md' | 'sm';
7
+ readOnly?: boolean;
8
8
  isNumerousKeyboard?: boolean;
9
9
  autoComplete?: 'on' | 'off';
10
10
  errorMessage?: string;
@@ -12,21 +12,13 @@ export declare type Props = {
12
12
  onActionClick?: () => void;
13
13
  displayIcon?: JSX.Element;
14
14
  label?: string | JSX.Element;
15
- placeholder?: string;
16
- className?: string;
17
15
  onChange?: (v: string) => void;
18
- onKeyPress?: (e: React.KeyboardEvent) => void;
19
- onKeyDown?: (e: React.KeyboardEvent) => void;
20
- onFocus?: (e: React.FocusEvent) => void;
21
- onBlur?: (e: React.FocusEvent) => void;
22
16
  isDisabled?: boolean;
23
17
  CustomInput?: JSX.Element;
24
- style?: CSSProperties;
25
18
  type?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' | 'number';
26
19
  inputClassName?: string;
27
20
  trackingAttributes?: GATrackingCode;
28
- readOnly?: boolean;
29
21
  enterKeyHint?: React.InputHTMLAttributes<HTMLInputElement>['enterKeyHint'];
30
- };
31
- declare const Input: ({ name, value, errorMessage, isNumerousKeyboard, actionIcon: ActionIcon, displayIcon: DisplayIcon, onActionClick, label, placeholder, className, onChange, onKeyPress, onKeyDown, onFocus, onBlur, isDisabled, CustomInput, size, style, autoComplete, type, inputClassName, trackingAttributes, readOnly: readonly, enterKeyHint, }: Props) => JSX.Element;
22
+ } & Omit<HTMLAttributes<HTMLInputElement>, 'onChange' | 'name' | 'value'>;
23
+ declare const Input: ({ name, value, errorMessage, isNumerousKeyboard, actionIcon: ActionIcon, displayIcon: DisplayIcon, onActionClick, label, className, onChange, isDisabled, CustomInput, size, style, autoComplete, type, inputClassName, trackingAttributes, enterKeyHint, ...rest }: Props) => JSX.Element;
32
24
  export { Input };
@@ -14,6 +14,7 @@ export declare type CustomInputProps = {
14
14
  type?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' | 'number';
15
15
  isNumerousKeyboard?: boolean;
16
16
  enterKeyHint?: React.InputHTMLAttributes<HTMLInputElement>['enterKeyHint'];
17
+ nativeOnChange?: React.ChangeEventHandler<HTMLInputElement>;
17
18
  };
18
19
  export declare type Props = Omit<React.DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'size' | 'autoComplete' | 'type' | 'onChange' | 'enterKeyHint'> & CustomInputProps;
19
20
  declare const PureInput: React.ForwardRefExoticComponent<Pick<Props, "accept" | "alt" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "disabled" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "list" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "pattern" | "key" | "placeholder" | "readOnly" | "required" | "src" | "step" | "value" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof CustomInputProps> & React.RefAttributes<HTMLInputElement>>;
@@ -24,6 +24,9 @@ export declare type Props = {
24
24
  * upcase
25
25
  */
26
26
  isUppercase?: boolean;
27
+ dangerouslySetInnerHTML?: {
28
+ __html: string;
29
+ };
27
30
  };
28
- declare const Text: ({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, }: Props) => JSX.Element;
31
+ declare const Text: ({ size, type, title, className, style, children, color, dataEventCategory, dataEventAction, dataEventLabel, as, wordWrap, isUppercase, dangerouslySetInnerHTML, }: Props) => JSX.Element;
29
32
  export { Text };
@@ -41,6 +41,7 @@ export declare type Props = {
41
41
  dataEventActionForBookmark?: string;
42
42
  dataEventLabelForBookmark?: string;
43
43
  onClickCategoryName?: (e: React.MouseEvent) => void;
44
+ articleLinkTarget?: React.HTMLAttributeAnchorTarget;
44
45
  };
45
- declare const ArticleCard: ({ articleLink, authorLink, authorName, avatarImg, banner, categoryLink, categoryName, className, dataEventActionForBanner, dataEventActionForBookmark, dataEventActionForCategory, dataEventActionForTitle, dataEventCategoryForBanner, dataEventCategoryForBookmark, dataEventCategoryForCategory, dataEventCategoryForTitle, dataEventLabelForBanner, dataEventLabelForBookmark, dataEventLabelForCategory, dataEventLabelForTitle, direction, hasAffiliate, isBookmark, isBookmarkDisplayed, isMobile, onBookmark, onClickCategoryName, section, size, specialty, style, styleBanner, styleLabel, styleTitle, text, title, type, uploadTime, }: Props) => JSX.Element;
46
+ declare const ArticleCard: ({ articleLink, authorLink, authorName, avatarImg, banner, categoryLink, categoryName, className, dataEventActionForBanner, dataEventActionForBookmark, dataEventActionForCategory, dataEventActionForTitle, dataEventCategoryForBanner, dataEventCategoryForBookmark, dataEventCategoryForCategory, dataEventCategoryForTitle, dataEventLabelForBanner, dataEventLabelForBookmark, dataEventLabelForCategory, dataEventLabelForTitle, direction, hasAffiliate, isBookmark, isBookmarkDisplayed, isMobile, onBookmark, onClickCategoryName, section, size, specialty, style, styleBanner, styleLabel, styleTitle, text, title, type, uploadTime, articleLinkTarget, }: Props) => JSX.Element;
46
47
  export { ArticleCard };
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { DateRangeInterval } from '../types';
3
+ export declare type Props = {
4
+ value?: DateRangeInterval | null;
5
+ onChange: (value: DateRangeInterval | null) => void;
6
+ minDate?: Date;
7
+ maxDate?: Date;
8
+ };
9
+ export declare function DateRangePickerCalendar(props: Props): JSX.Element;
@@ -0,0 +1,13 @@
1
+ export declare const StyledCalendarWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const StyledCalendarCellsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const StyledCalendarHead: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const StyledCalendarGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const StyledCalendarDaysOfWeek: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export declare const StyledCalendarCell: import("styled-components").StyledComponent<"div", any, {}, never>;
7
+ export declare const StyledCalendarDayLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
8
+ export declare const StyledCalendarMonthSeparator: import("styled-components").StyledComponent<"div", any, {}, never>;
9
+ export declare const StyledCalendarDaysWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
10
+ export declare const StyledCalendarMonthWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
11
+ export declare const StyledCalendarDateGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
12
+ export declare const StyledCalendarDayNumberWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
13
+ export declare const StyledCalendarDayNumber: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import { Props as PureInputProps } from 'src/components/atoms/pureInput';
3
+ declare type DateRangeInterval = {
4
+ from: Date | null;
5
+ to: Date | null;
6
+ };
7
+ export declare type Props = {
8
+ value: DateRangeInterval | null;
9
+ onChange: (value: DateRangeInterval | null) => void;
10
+ inputSize?: PureInputProps['size'];
11
+ name?: string;
12
+ minDate?: Date;
13
+ maxDate?: Date;
14
+ className?: string;
15
+ };
16
+ export declare function DateRangePicker({ inputSize, name, value, minDate, maxDate, onChange, className, }: Props): JSX.Element;
17
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare const StyledWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const StyledCalendarWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,4 @@
1
+ export declare type DateRangeInterval = {
2
+ from: Date | null;
3
+ to: Date | null;
4
+ };
@@ -0,0 +1,2 @@
1
+ import { DateRangeInterval } from './types';
2
+ export declare function handleClickDay(d: Date, range: DateRangeInterval): DateRangeInterval;
@@ -3,12 +3,14 @@ export { Breadcrumbs } from './breadcrumbs';
3
3
  export { CategoryCard } from './categoryCard';
4
4
  export { CheckboxGroup } from './checkboxGroup';
5
5
  export { DatePicker } from './datePicker';
6
- export { Dropdown, Option as DropdownOption } from './dropdown';
6
+ export { Dropdown } from './dropdown';
7
+ export type { Option as DropdownOption } from './dropdown';
7
8
  export { IconText } from './iconText';
8
9
  export { Popup } from './popup';
9
10
  export { Modal } from './modal';
10
11
  export { ProgressBar } from './progressBar';
11
- export { RadioGroup, RadioGroupOption } from './radioGroup';
12
+ export { RadioGroup } from './radioGroup';
13
+ export type { RadioGroupOption } from './radioGroup';
12
14
  export * as SideMenu from './sidemenu';
13
15
  export { ScrollList } from './scrollList';
14
16
  export { Carousel } from './carousel';
@@ -17,10 +19,16 @@ export * as Table from './table';
17
19
  export { Tabs } from './tabs';
18
20
  export { DoctorInfo } from './doctorInfo';
19
21
  export { SurveyQuestionCard, SurveyThankyouCard } from './surveyQuestionCard';
20
- export { FloatButtonGroup, FloatButtonGroupType } from './floatButtonGroup';
22
+ export { FloatButtonGroup } from './floatButtonGroup';
23
+ export type { FloatButtonGroupType } from './floatButtonGroup';
21
24
  export { CookieAcceptConfirm } from './cookieAcceptConfirm';
22
- export { MobileBottomNavigation, MobileBottomNavigationProps, } from './mobileBottomNavigation';
23
- export { MobileBottomNavigationIcon, MobileBottomNavigationIconProps, } from './mobileBottomNavigation/MobileBottomNavigationIcon';
24
- export { SeoHead, SEOData as SeoHeadSEOData, Props as SeoHeadProps, } from './seoHead';
25
- export { LanguageSwitcher, Props as LanguageSwitcherProps, } from './languageSwitcher';
26
- export { AmpNextPage, Props as AmpNextPageProps } from './ampNextPage';
25
+ export { MobileBottomNavigation } from './mobileBottomNavigation';
26
+ export type { MobileBottomNavigationProps } from './mobileBottomNavigation';
27
+ export { MobileBottomNavigationIcon } from './mobileBottomNavigation/MobileBottomNavigationIcon';
28
+ export type { MobileBottomNavigationIconProps } from './mobileBottomNavigation/MobileBottomNavigationIcon';
29
+ export { SeoHead } from './seoHead';
30
+ export type { SEOData as SeoHeadSEOData, Props as SeoHeadProps, } from './seoHead';
31
+ export { LanguageSwitcher } from './languageSwitcher';
32
+ export type { Props as LanguageSwitcherProps } from './languageSwitcher';
33
+ export { AmpNextPage } from './ampNextPage';
34
+ export type { Props as AmpNextPageProps } from './ampNextPage';
@@ -1,5 +1,5 @@
1
1
  export { NavigationLayout } from './navigationLayout/languageWrapper';
2
- export { NavigationV2, Props as NavigationV2Props, getNavMenuContent, NavMenuContentType, } from './navigationV2';
2
+ export { NavigationV2, Props as NavigationV2Props, getNavMenuContent, getNavMenuContentWithCache, NavMenuContentType, } from './navigationV2';
3
3
  export { Layout } from './navigationLayout/layout';
4
4
  export { SiteWide } from './navigationLayout/siteWide';
5
5
  export { NavigationBar } from './navigationLayout/navigationBar';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Props } from './NavigationBar.types';
3
- export { Props } from './NavigationBar.types';
3
+ export type { Props } from './NavigationBar.types';
4
4
  export declare const useHeaderHeightHook: ({ hasSponsoredBanners, isSiteWide, isSponsored, isShowingSiteWideBanner, isMobile, }: {
5
5
  hasSponsoredBanners?: boolean;
6
6
  isSiteWide?: boolean;
@@ -18,5 +18,6 @@ export declare type Props = {
18
18
  onLogout?: () => void;
19
19
  style?: CSSProperties;
20
20
  userProfileRouterPush?: (s: string) => void;
21
+ isLoading?: boolean;
21
22
  };
22
- export declare const NavigationProfileButton: ({ userInfo, siteType, isAmp, goToLogin, SSO_URL, currentUrl, isMinifyLogin, enableCare, enableTogether, enableEcom, isUserProfileNavigatorMenuHidden, UP_BASEPATH, isMyHealthEnabled, togetherApiDomain, onLogout, style, userProfileRouterPush, }: Props) => JSX.Element;
23
+ export declare const NavigationProfileButton: ({ userInfo, siteType, isAmp, goToLogin, SSO_URL, currentUrl, isMinifyLogin, enableCare, enableTogether, enableEcom, isUserProfileNavigatorMenuHidden, UP_BASEPATH, isMyHealthEnabled, togetherApiDomain, onLogout, style, userProfileRouterPush, isLoading, }: Props) => JSX.Element;
@@ -52,7 +52,9 @@ export declare type Props = {
52
52
  currentUrl?: string;
53
53
  isFirstLogin?: boolean;
54
54
  userProfileRouterPush?: (s: string) => void;
55
+ isUserLoading?: boolean;
55
56
  };
56
57
  declare const NavigationV2: (props: Props) => JSX.Element;
57
58
  export declare const getNavMenuContent: (locale: any) => Promise<NavMenuContentType>;
59
+ export declare const getNavMenuContentWithCache: (locale?: string) => Promise<NavMenuContentType>;
58
60
  export { NavigationV2 };
@@ -1,2 +1,2 @@
1
- export{A as Alert,J as AmpNextPage,h as ArticleCard,B as Badge,a as BorderHeading,i as Breadcrumbs,q as Carousel,j as CategoryCard,C as Checkbox,k as CheckboxGroup,y as CookieAcceptConfirm,D as DatePicker,u as DoctorInfo,F as FileDropdown,b as Flag,x as FloatButtonGroup,a0 as Footer,G as Grid,I as Icon,l as IconText,L as LanguageSwitcher,Q as Layout,z as MobileBottomNavigation,E as MobileBottomNavigationIcon,M as Modal,W as NavigationBar,N as NavigationLayout,a1 as NavigationLogoutPopup,a3 as NavigationProfileButton,K as NavigationV2,P as Pagination,a2 as ProfilePopup,g as Progress,m as ProgressBar,R as Radio,n as RadioGroup,f as RateStars,p as ScrollList,H as SeoHead,S as Shadow,o as SideMenu,V as SiteWide,c as Slider,r as StatisticCard,$ as StickySponsoredBy,v as SurveyQuestionCard,w as SurveyThankyouCard,s as Table,t as Tabs,T as Tag,d as Toggle,U as UnderlinedLink,e as Uploader,Y as UserProfileNavigation,Z as UserProfileNavigationHeader,_ as UserProfileNavigationStats,X as defaultTranslation,O as getNavMenuContent}from"./index-302ef9fa.js";export{A as Avatar,B as Button,D as Divider,a as Dropdown,H as Heading,P as Popup}from"./index.styled-fe838f56.js";export{C as Container,I as Input,L as Label,a as Logo,P as PureInput,T as Text,b as TextArea,c as TextDivider}from"./useTranslations-bd25b99b.js";import"react";import"./tslib.es6-77763d30.js";import"react-range";import"./theme-d85b3a33.js";import"react-id-generator";import"date-fns";import"react-day-picker/DayPickerInput";import"lodash/debounce";import"react-dom";import"lodash";import"./constants-ca5de3b0.js";import"styled-components";import"react-loading-skeleton";import"./translationsProvider-ba085038.js";import"./translationsContext-977d7bc4.js";import"smoothscroll-polyfill";import"date-fns/locale/en-US";import"date-fns/locale/hi";import"date-fns/locale/id";import"date-fns/locale/ms";import"date-fns/locale/th";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";
1
+ export{A as Alert,w as AmpNextPage,g as ArticleCard,B as Badge,a as BorderHeading,h as Breadcrumbs,o as Carousel,i as CategoryCard,C as Checkbox,j as CheckboxGroup,u as CookieAcceptConfirm,D as DatePicker,F as FileDropdown,t as FloatButtonGroup,E as Footer,G as Grid,I as Icon,k as IconText,L as Layout,M as Modal,y as NavigationBar,N as NavigationLayout,P as Pagination,f as Progress,l as ProgressBar,R as Radio,m as RadioGroup,e as RateStars,v as SeoHead,S as Shadow,n as SideMenu,x as SiteWide,b as Slider,p as StatisticCard,z as StickySponsoredBy,s as SurveyThankyouCard,q as Table,r as Tabs,T as Tag,c as Toggle,U as UnderlinedLink,d as Uploader}from"./index-13d62ff2.js";export{A as Avatar,B as Button,H as Heading,P as Popup}from"./index.styled-64f8f6e8.js";export{D as Divider,a as Dropdown}from"./index-0348b56b.js";export{D as DoctorInfo,F as Flag,L as LanguageSwitcher,M as MobileBottomNavigation,b as MobileBottomNavigationIcon,h as NavigationLogoutPopup,i as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,S as ScrollList,a as SurveyQuestionCard,U as UserProfileNavigation,e as UserProfileNavigationHeader,f as UserProfileNavigationStats,d as defaultTranslation,g as getNavMenuContent,c as getNavMenuContentWithCache}from"./index-4130d006.js";export{C as Container,I as Input,L as Label,a as Logo,P as PureInput,T as Text,b as TextArea,c as TextDivider}from"./cookieHelper-caf76f93.js";import"react";import"./tslib.es6-fd0a5c98.js";import"./useTranslations-0c13f2cb.js";import"styled-components";import"./translationsContext-b0b4655d.js";import"react-range";import"./theme-d85b3a33.js";import"react-id-generator";import"date-fns";import"react-day-picker/DayPickerInput";import"./useScrollbarSize-99db33e1.js";import"lodash/debounce";import"react-dom";import"lodash";import"./constants-dc22740c.js";import"react-loading-skeleton";import"./translationsProvider-a15863c9.js";import"date-fns/locale/en-US";import"date-fns/locale/hi";import"date-fns/locale/id";import"date-fns/locale/ms";import"date-fns/locale/th";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./core-3d8a3f90.js";import"smoothscroll-polyfill";
2
2
  //# sourceMappingURL=components.js.map
@@ -1,2 +1,2 @@
1
- var e={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph"},o={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},i={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},l={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]},a={SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help"},n={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},t={SPOTLIGHTS:"spotlights?per_page={perPage}&order_by={orderBy}",HEALTH_TOOLS:"healthtools",HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",CATEGORIES:"categories?type=all",FOOTER:"footer"},s={SPECIALTIES:"api/specialties?_ishome=1&site={domain}"},c={FOOTER:"menu/footer",HEALTH_TOOLS:"health-tools"},E={adBlock:48,headerContainerHome:99,headerContainerPopup:300,headerContainerPopupSUbLevel:400,menuCategoryPopupWrapper:200,menuCategoryPopupContainer:210,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:300,homeSearchComponent:200},I={SOCIAL_LINKS:{facebookLink:"https://www.facebook.com/marry.baby.vn",instagramLink:"https://www.instagram.com/marrybaby.vn",zaloLink:"http://zalo.me/806483414530291942",youtubeLink:"https://www.youtube.com/user/marrybabyvn"}},T={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"tl-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"zh-TW":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}},O=-1,p=Object.freeze({__proto__:null,basePath:"/care",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"}},LOCALIZED_SLUGS:T,ID_OPTION_CURRENT_LOCATION:-1});export{s as C,t as D,l as F,O as I,o as L,c as M,a as S,n as T,E as Z,T as a,I as b,p as c,e as d,i as e};
2
- //# sourceMappingURL=constants-ca5de3b0.js.map
1
+ var e={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph"},o={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},i={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},l={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]},a={SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help"},n={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},t={SPOTLIGHTS:"spotlights?per_page={perPage}&order_by={orderBy}",HEALTH_TOOLS:"healthtools",HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",CATEGORIES:"categories?type=all",FOOTER:"footer"},s={SPECIALTIES:"api/specialties?_ishome=1&site={domain}"},c={FOOTER:"menu/footer",HEALTH_TOOLS:"health-tools"},E={adBlock:48,headerContainerHome:99,headerContainerPopup:300,headerContainerPopupSUbLevel:400,menuCategoryPopupWrapper:200,menuCategoryPopupContainer:210,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:300,homeSearchComponent:200},I={SOCIAL_LINKS:{facebookLink:"https://www.facebook.com/marry.baby.vn",instagramLink:"https://www.instagram.com/marrybaby.vn",zaloLink:"http://zalo.me/806483414530291942",youtubeLink:"https://www.youtube.com/user/marrybabyvn"}},T={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"tl-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"zh-TW":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}},O=-1,p=Object.freeze({__proto__:null,basePath:"/care",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"}},LOCALIZED_SLUGS:T,ID_OPTION_CURRENT_LOCATION:-1});export{s as C,t as D,l as F,O as I,o as L,I as M,a as S,n as T,E as Z,T as a,i as b,p as c,e as d,c as e};
2
+ //# sourceMappingURL=constants-dc22740c.js.map