@hhgtech/hhg-components 1.21.56 → 1.21.58

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 (93) hide show
  1. package/build/babyGrowth.js +1 -1
  2. package/build/care.js +1 -1
  3. package/build/components/atoms/drawer/index.d.ts +1 -1
  4. package/build/components/mantine/accordion/index.d.ts +13 -0
  5. package/build/components/mantine/accordion/index.styled.d.ts +5 -0
  6. package/build/components/mantine/avatar/index.d.ts +1 -1
  7. package/build/components/mantine/index.d.ts +5 -1
  8. package/build/components/mantine/spoiler/index.d.ts +12 -0
  9. package/build/components/molecules/babyGrowthForm/index.d.ts +17 -0
  10. package/build/components/molecules/babyGrowthForm/index.styled.d.ts +8 -0
  11. package/build/components/molecules/babyGrowthForm/utils/bmiCalculate.d.ts +8 -0
  12. package/build/components/molecules/babyGrowthForm/utils/localizeNumberFormat.d.ts +8 -0
  13. package/build/components/molecules/dropdownSearch/index.d.ts +13 -14
  14. package/build/components/molecules/dropdownSearch/index.styled.d.ts +1 -1
  15. package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.d.ts +17 -0
  16. package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +20 -0
  17. package/build/components/molecules/index.d.ts +1 -0
  18. package/build/components.js +1 -1
  19. package/build/esm/babyGrowth.js +1 -1
  20. package/build/esm/care.js +1 -1
  21. package/build/esm/components.js +1 -1
  22. package/build/esm/hooks.js +1 -1
  23. package/build/esm/i18n.js +1 -1
  24. package/build/esm/index-2a15f86c.js +1 -0
  25. package/build/esm/index-3c17bc28.js +1 -0
  26. package/build/esm/{index-21555c3f.js → index-98c0dac3.js} +1 -1
  27. package/build/esm/index-c6f61c80.js +1 -0
  28. package/build/esm/{index-a1a434ca.js → index-c7a9854e.js} +1 -1
  29. package/build/esm/index-d9428f26.js +1 -0
  30. package/build/esm/index-f2ce074c.js +1 -0
  31. package/build/esm/index-fc420029.js +1 -0
  32. package/build/esm/index.js +1 -1
  33. package/build/esm/index.styled-264d32c3.js +1 -0
  34. package/build/esm/mantine.js +1 -1
  35. package/build/esm/navigation.js +1 -1
  36. package/build/esm/theme-24be0e4f.js +1 -0
  37. package/build/esm/together.js +1 -1
  38. package/build/esm/translationsContext-8575bd07.js +1 -0
  39. package/build/esm/translationsProvider-e87179a0.js +1 -0
  40. package/build/esm/{types-5fe5df89.js → types-75d31691.js} +1 -1
  41. package/build/esm/types-a2295452.js +1 -0
  42. package/build/esm/useTranslations-ddaec288.js +1 -0
  43. package/build/hooks.js +1 -1
  44. package/build/i18n.js +1 -1
  45. package/build/{index-c5ba3d33.js → index-15bd7e75.js} +1 -1
  46. package/build/index-72954eca.js +1 -0
  47. package/build/{index-aa9aedf7.js → index-72b17d37.js} +1 -1
  48. package/build/{index-3e3d35cb.js → index-8d3da089.js} +1 -1
  49. package/build/index-aa20c03b.js +1 -0
  50. package/build/index-c67f191f.js +1 -0
  51. package/build/index-d24d0cb6.js +1 -0
  52. package/build/{index-c3dc9c19.js → index-e4c3f90a.js} +1 -1
  53. package/build/index.js +1 -1
  54. package/build/index.styled-48ac7bb0.js +1 -0
  55. package/build/interfaces/baby-growth/errorMessage.d.ts +13 -0
  56. package/build/interfaces/types/BabyGrowth.d.ts +15 -0
  57. package/build/mantine.js +1 -1
  58. package/build/navigation.js +1 -1
  59. package/build/theme-a5775470.js +1 -0
  60. package/build/together/api/dataTransform.d.ts +2 -0
  61. package/build/together.js +1 -1
  62. package/build/translationsContext-f799a864.js +1 -0
  63. package/build/translationsProvider-9c3c9b9e.js +1 -0
  64. package/build/types-8e0fe54d.js +1 -0
  65. package/build/{types-91907d9e.js → types-e824b4b7.js} +1 -1
  66. package/build/useTranslations-fe351941.js +1 -0
  67. package/package.json +1 -1
  68. package/build/en-PH-605a14fc.js +0 -1
  69. package/build/esm/en-PH-8025ed49.js +0 -1
  70. package/build/esm/index-13c824c6.js +0 -1
  71. package/build/esm/index-1b7f5a9e.js +0 -1
  72. package/build/esm/index-41c793c8.js +0 -1
  73. package/build/esm/index-63ebb2ee.js +0 -1
  74. package/build/esm/index-9300d6c6.js +0 -1
  75. package/build/esm/index-e0001115.js +0 -1
  76. package/build/esm/index.styled-76f23280.js +0 -1
  77. package/build/esm/index.styled-e9c222d7.js +0 -1
  78. package/build/esm/theme-a0b9e0b0.js +0 -1
  79. package/build/esm/translationsContext-d658f58d.js +0 -1
  80. package/build/esm/translationsProvider-29dae7e1.js +0 -1
  81. package/build/esm/types-74a5b4b9.js +0 -1
  82. package/build/esm/useTranslations-c32c6487.js +0 -1
  83. package/build/index-904b97b6.js +0 -1
  84. package/build/index-c84bb4e8.js +0 -1
  85. package/build/index-f94b5d4a.js +0 -1
  86. package/build/index-fa51b8ce.js +0 -1
  87. package/build/index.styled-744ec79d.js +0 -1
  88. package/build/index.styled-97a84219.js +0 -1
  89. package/build/theme-883c4f21.js +0 -1
  90. package/build/translationsContext-2d7ea471.js +0 -1
  91. package/build/translationsProvider-b07b6ec5.js +0 -1
  92. package/build/types-d60f7e99.js +0 -1
  93. package/build/useTranslations-473f169c.js +0 -1
@@ -1 +0,0 @@
1
- import{useContext as o,useMemo as r}from"react";import{d as n}from"./en-PH-8025ed49.js";import{T as a}from"./translationsContext-d658f58d.js";import t from"string-format";function e(){var e=o(a)||{locale:"en-PH"},s=e.values,l=e.locale;return r((function(){return{t:function(o,r){return s?s[o]?r?t(s[o]||o,r):s[o]||o:(console.warn("[useTranslations] Missing translation for key ".concat(o," and locale ").concat(l)),r?t(n[o]||o,r):n[o]||o):(console.error("[useTranslations] t method called before translation values are loaded"),o)},locale:l}}),[s,l])}export{e as u};
@@ -1 +0,0 @@
1
- "use strict";var e=require("./index.styled-97a84219.js"),t=require("./tslib.es6-e6f346c4.js"),a=require("react");require("date-fns"),require("./screenSizeContext-78ac9057.js"),require("styled-components");var l=require("./theme-696d81a9.js");require("./index-d28c27ca.js"),require("./isProduction-32e6a55a.js"),require("./Locale-11b51016.js"),require("./gAssets.js");var i=require("./useTranslations-473f169c.js");require("lodash/debounce");var r=require("./index-aa9aedf7.js"),n=require("./useScrollbarSize-586f6706.js"),d=require("react-dom"),c=require("./index.styled-744ec79d.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var C=o(a),s={Ask:e.Ask,BarChart:e.BarChart,Booking:e.Booking,Bookmark:e.Bookmark,Boy:function(e){var a=e.size,l=void 0===a?40:a,i=t.__rest(e,["size"]);return C.default.createElement("svg",t.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 40 40"},i),C.default.createElement("circle",{cx:"20",cy:"20",r:"20",fill:"#2D87F3"}),C.default.createElement("path",{fill:"#fff",d:"M20.002 30.973c-2.616 0-4.945-.607-6.734-1.755-1.82-1.166-3.058-2.884-3.604-4.992-.045 0-.09.003-.136.003-.758 0-1.486-.3-2.023-.834a2.843 2.843 0 010-4.029 2.868 2.868 0 012.194-.83c.577-2.321 1.83-4.42 3.567-5.952C15.16 10.918 17.552 10 20.002 10s4.84.918 6.733 2.587c1.737 1.53 2.99 3.628 3.567 5.952a2.868 2.868 0 012.194.83 2.843 2.843 0 010 4.028 2.868 2.868 0 01-2.16.831c-.546 2.106-1.782 3.826-3.602 4.992-1.79 1.146-4.118 1.753-6.732 1.753z"}),C.default.createElement("path",{fill:"#2D87F3",d:"M17.95 13.19h-.014a.525.525 0 00-.524.509c0 .015-.059 1.466-2.006 1.927a.525.525 0 00-.389.63.523.523 0 00.633.386c2.18-.516 2.793-2.134 2.812-2.917a.519.519 0 00-.313-.491.527.527 0 00-.2-.044zM20.591 12.874a.524.524 0 00-.326.663c.004.014.455 1.396-1.212 2.5a.521.521 0 00.19.936.526.526 0 00.39-.066c1.866-1.236 1.878-2.966 1.625-3.708a.521.521 0 00-.464-.352.529.529 0 00-.203.027zM23.292 13.4a.525.525 0 00-.735.749c.008.007.787.783.35 2.119a.523.523 0 00.898.508.523.523 0 00.098-.183c.641-1.946-.56-3.142-.611-3.192zM15.977 21.818a1.365 1.365 0 000-1.936 1.38 1.38 0 00-1.945 0 1.365 1.365 0 000 1.936 1.38 1.38 0 001.945 0zM25.445 22.172a1.368 1.368 0 10-.682-2.652 1.369 1.369 0 10.682 2.652zM22.837 22.755a.532.532 0 00-.66.338c-.005.012-.414 1.222-2.124 1.222-1.71 0-2.12-1.21-2.124-1.222a.523.523 0 00-.998.316c.026.08.656 1.947 3.123 1.947s3.097-1.867 3.122-1.947a.52.52 0 00-.339-.654z"}))},Calendar:function(e){var a=e.size,l=void 0===a?20:a,i=e.color,r=void 0===i?"#595959":i,n=t.__rest(e,["size","color"]);return C.default.createElement("svg",t.__assign({width:l,height:l,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),C.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.8337 2.50065H16.667C17.5837 2.50065 18.3337 3.25065 18.3337 4.16732V17.5006C18.3337 18.4173 17.5837 19.1673 16.667 19.1673H3.33366C2.41699 19.1673 1.66699 18.4173 1.66699 17.5006V4.16732C1.66699 3.25065 2.41699 2.50065 3.33366 2.50065H4.16699V1.66732C4.16699 1.20898 4.54199 0.833984 5.00033 0.833984C5.45866 0.833984 5.83366 1.20898 5.83366 1.66732V2.50065H14.167V1.66732C14.167 1.20898 14.542 0.833984 15.0003 0.833984C15.4587 0.833984 15.8337 1.20898 15.8337 1.66732V2.50065ZM4.16699 17.5007H15.8337C16.292 17.5007 16.667 17.1257 16.667 16.6673V6.66732H3.33366V16.6673C3.33366 17.1257 3.70866 17.5007 4.16699 17.5007Z",fill:r}))},Community:e.Community,EditSpecial:e.EditSpecial,Family:e.Family,Font:e.Font,GenderBoy:function(e){var a=e.size,l=void 0===a?16:a,i=t.__rest(e,["size"]);return C.default.createElement("svg",t.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 16 16"},i),C.default.createElement("g",{fill:"#595959",clipPath:"url(#clip0_408_8625)"},C.default.createElement("path",{d:"M15.325 1.199a.602.602 0 00-.038-.151v-.005h-.001a.618.618 0 00-.107-.168.623.623 0 00-.117-.105l-.004-.002a.6.6 0 00-.175-.078.609.609 0 00-.161-.024h-4.278a.611.611 0 000 1.223h2.802L9.6 5.535a5.469 5.469 0 00-3.433-1.203 5.506 5.506 0 00-5.5 5.5c0 3.033 2.468 5.5 5.5 5.5 3.033 0 5.5-2.467 5.5-5.5 0-1.262-.425-2.46-1.203-3.433l3.648-3.647v2.802a.611.611 0 001.222 0V1.277c0-.012-.003-.025-.004-.037a.617.617 0 00-.004-.041zM6.166 14.11A4.282 4.282 0 011.89 9.833a4.282 4.282 0 017.303-3.028 4.282 4.282 0 01-3.026 7.305z"}),C.default.createElement("path",{fillRule:"evenodd",d:"M15.287 1.048a.602.602 0 01.042.192l.002.016a.156.156 0 01.002.021v4.278a.611.611 0 01-1.222 0V2.753L10.463 6.4a5.469 5.469 0 011.203 3.433c0 3.033-2.467 5.5-5.5 5.5a5.506 5.506 0 01-5.5-5.5c0-3.033 2.468-5.5 5.5-5.5 1.263 0 2.46.425 3.433 1.203l3.647-3.647h-2.802a.611.611 0 010-1.223h4.278a.609.609 0 01.197.036.6.6 0 01.14.067h.003a.623.623 0 01.14.135h.001a.618.618 0 01.083.138v.003l.001.003zm.064-.02c.021.053.033.107.04.162m-.04-.162a.695.695 0 00-.096-.165l-.001-.002c-.008-.009-.016-.02-.026-.03A.69.69 0 0015.1.715m-.2-.089A.675.675 0 0014.722.6h-4.278a.678.678 0 000 1.355h2.641L9.594 5.447a5.535 5.535 0 00-3.428-1.18A5.573 5.573 0 00.6 9.832 5.573 5.573 0 006.166 15.4a5.573 5.573 0 005.567-5.567c0-1.257-.417-2.45-1.18-3.427l3.491-3.492v2.641a.678.678 0 001.356 0V1.277a.202.202 0 00-.003-.027v-.004l-.001-.01a.743.743 0 00-.005-.046M1.955 9.833a4.216 4.216 0 004.211 4.211 4.216 4.216 0 002.979-7.191 4.216 4.216 0 00-7.19 2.98zm7.237-3.028a4.282 4.282 0 00-7.304 3.028 4.282 4.282 0 004.278 4.278 4.282 4.282 0 003.026-7.306z",clipRule:"evenodd"})),C.default.createElement("defs",null,C.default.createElement("clipPath",{id:"clip0_408_8625"},C.default.createElement("path",{fill:"#fff",d:"M0 0H16V16H0z"}))))},GenderChooseBoy:function(e){var l=a.useRef("svg-".concat(Math.random()));return C.default.createElement("svg",t.__assign({xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",fill:"none",viewBox:"0 0 21 20"},e),C.default.createElement("g",{clipPath:"url(#".concat(l.current,")")},C.default.createElement("path",{fill:"#45A4FF",d:"M11.203 7.633l1.914 1.914 6.397-6.397L17.6 1.235l-6.397 6.398z"}),C.default.createElement("path",{fill:"#45A4FF",d:"M8.083 5.334a7.333 7.333 0 100 14.667 7.333 7.333 0 000-14.667zm0 11.96a4.626 4.626 0 110-9.253 4.626 4.626 0 010 9.252z"}),C.default.createElement("path",{fill:"#2D87F3",d:"M7.508 8.077a4.626 4.626 0 100 9.181 4.627 4.627 0 010-9.181zM8.083 5.334a7.43 7.43 0 00-.575.022 7.334 7.334 0 010 14.622 7.333 7.333 0 10.575-14.644zM19.88 2.785v-.78L18.744.872h-.78l-2.707 2.707h1.55c.2 0 .364.163.364.365v1.55l2.707-2.708z"}),C.default.createElement("path",{fill:"#45A4FF",d:"M18.043 0h-4.585a.365.365 0 00-.364.365v1.978c0 .201.163.364.364.364h4.22c.201 0 .365.163.365.365v4.22c0 .2.163.364.364.364h1.978a.365.365 0 00.365-.364V.365A.365.365 0 0020.385 0h-2.342z"})),C.default.createElement("defs",null,C.default.createElement("clipPath",{id:l.current},C.default.createElement("path",{fill:"#fff",d:"M0 0H20V20H0z",transform:"translate(.75)"}))))},GenderChooseGirl:function(e){return C.default.createElement("svg",t.__assign({xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",fill:"none",viewBox:"0 0 21 20"},e),C.default.createElement("path",{fill:"#FE9DC2",d:"M13.748 15.546h-1.503a.321.321 0 01-.321-.322v-3.7H9.577v3.7a.321.321 0 01-.322.322H7.753a.321.321 0 00-.321.321v1.704c0 .178.144.322.321.322h1.502c.178 0 .322.144.322.321v1.465c0 .178.144.321.321.321h1.704a.321.321 0 00.322-.321v-1.465c0-.177.144-.321.321-.321h1.503a.321.321 0 00.321-.322v-1.704a.322.322 0 00-.321-.321z"}),C.default.createElement("path",{fill:"#FC488D",d:"M9.576 11.523v2.151a7.466 7.466 0 002.347 0v-2.15H9.576z"}),C.default.createElement("path",{fill:"#FE9DC2",d:"M10.75 0a6.357 6.357 0 100 12.715A6.357 6.357 0 0010.75 0zm0 10.368a4.01 4.01 0 110-8.021 4.01 4.01 0 010 8.021z"}),C.default.createElement("path",{fill:"#FC488D",d:"M10.157 2.391a4.01 4.01 0 100 7.934 4.011 4.011 0 010-7.934zM10.75 0c-.2 0-.398.01-.593.028a6.358 6.358 0 010 12.66A6.357 6.357 0 1010.75 0z"}))},GenderGirl:function(e){var a=e.size,l=void 0===a?16:a,i=t.__rest(e,["size"]);return C.default.createElement("svg",t.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 16 16"},i),C.default.createElement("path",{fill:"#595959",d:"M11.445 8.979a4.875 4.875 0 000-6.888 4.879 4.879 0 00-6.89 0 4.875 4.875 0 000 6.888 4.849 4.849 0 002.872 1.39V12H6.28a.573.573 0 100 1.147h1.147v1.614a.573.573 0 001.146 0v-1.614H9.72a.573.573 0 100-1.146H8.573v-1.63a4.849 4.849 0 002.872-1.391zm-6.08-.81a3.728 3.728 0 010-5.268 3.73 3.73 0 015.27 0 3.728 3.728 0 010 5.267 3.73 3.73 0 01-5.27 0z"}),C.default.createElement("path",{fill:"#595959",fillRule:"evenodd",d:"M5.366 8.168a3.73 3.73 0 005.268 0 3.728 3.728 0 000-5.267 3.73 3.73 0 00-5.268 0 3.728 3.728 0 000 5.267zm6.15-6.148a4.975 4.975 0 010 7.03 4.948 4.948 0 01-2.843 1.407V11.9H9.72a.673.673 0 110 1.346H8.673v1.514a.673.673 0 01-1.346 0v-1.514H6.28a.673.673 0 110-1.346h1.046v-1.443A4.948 4.948 0 014.484 9.05a4.975 4.975 0 010-7.029 4.979 4.979 0 017.032 0zm-4.09 8.35a4.849 4.849 0 01-2.871-1.391 4.875 4.875 0 010-6.888 4.879 4.879 0 016.89 0 4.875 4.875 0 010 6.888 4.849 4.849 0 01-2.872 1.39V12H9.72a.573.573 0 110 1.147H8.573v1.614a.573.573 0 01-1.146 0v-1.614H6.28a.573.573 0 110-1.146h1.147v-1.63zm-1.99-7.398a3.628 3.628 0 000 5.126 3.63 3.63 0 005.128 0 3.628 3.628 0 000-5.126 3.63 3.63 0 00-5.128 0z",clipRule:"evenodd"}))},Girl:function(e){var a=e.size,l=void 0===a?40:a,i=t.__rest(e,["size"]);return C.default.createElement("svg",t.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 24 24"},i),C.default.createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#FC5D9A"}),C.default.createElement("path",{fill:"#fff",d:"M18.283 11.759c-.034 0-.068 0-.102.003-.346-1.394-1.099-2.652-2.14-3.57a6.132 6.132 0 00-3.726-1.544v-.532a2.062 2.062 0 001.617-.634 1.178 1.178 0 000-1.638 1.13 1.13 0 00-1.626 0c-.116.119-.218.25-.305.392a2.212 2.212 0 00-.308-.393 1.13 1.13 0 00-1.625 0 1.179 1.179 0 000 1.638 2.06 2.06 0 001.5.639c.041 0 .08 0 .117-.004v.533a6.143 6.143 0 00-3.726 1.543c-1.042.918-1.793 2.177-2.14 3.572a1.72 1.72 0 00-1.317.498 1.706 1.706 0 000 2.417c.323.32.76.5 1.215.5.027 0 .054 0 .081-.002a4.968 4.968 0 002.162 2.996c1.073.69 2.47 1.053 4.04 1.053 1.57 0 2.967-.364 4.04-1.053a4.987 4.987 0 002.162-2.998 1.72 1.72 0 001.295-.499 1.705 1.705 0 000-2.417c-.322-.32-.759-.5-1.214-.5zm-5.527-7.477a.5.5 0 01.724 0 .55.55 0 010 .763 1.446 1.446 0 01-1.165.446 1.834 1.834 0 01-.004-.077v-.09c.01-.392.168-.764.445-1.042zm-2.238.762a.55.55 0 010-.763.501.501 0 01.724 0c.276.278.435.65.444 1.042v.09c0 .027-.002.053-.004.078a1.45 1.45 0 01-1.164-.447z"}),C.default.createElement("path",{fill:"#FC5D9A",d:"M9.586 13.68a.819.819 0 000-1.161.828.828 0 00-1.167 0 .819.819 0 000 1.162c.323.32.845.32 1.167 0zM15.267 13.894a.821.821 0 10-.41-1.592.821.821 0 10.41 1.592zM13.704 14.242a.32.32 0 00-.282.045.314.314 0 00-.114.159c-.002.007-.248.733-1.274.733-1.027 0-1.272-.726-1.275-.733a.314.314 0 10-.598.19c.016.046.394 1.168 1.873 1.168s1.858-1.12 1.873-1.168a.313.313 0 00-.203-.394zM12.402 7.713a.315.315 0 00-.53.24.313.313 0 00.1.218c.253.248.466.533.632.845.316.61.298 1.118-.056 1.551-.403.493-.865.449-1.104.378-.33-.096-.598-.351-.625-.595-.03-.263.058-.585.318-.71.165-.077.337-.039.486.11a.315.315 0 00.538-.22.313.313 0 00-.092-.222c-.336-.337-.797-.426-1.204-.232-.473.226-.737.752-.671 1.343.055.494.495.957 1.072 1.128.151.045.308.067.465.068.491 0 .958-.228 1.305-.652.514-.63.558-1.402.127-2.234a4.11 4.11 0 00-.761-1.016z"}))},Heart:e.Heart,Home:e.Home,Kebab:function(e){var a=e.size,l=void 0===a?20:a,i=t.__rest(e,["size"]);return C.default.createElement("svg",t.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 20 20"},i),C.default.createElement("path",{fill:"#000",fillOpacity:"0.54",fillRule:"evenodd",d:"M10 6.667c.916 0 1.666-.75 1.666-1.666 0-.917-.75-1.667-1.666-1.667-.917 0-1.667.75-1.667 1.667 0 .916.75 1.666 1.667 1.666zm0 1.667c-.917 0-1.667.75-1.667 1.667 0 .916.75 1.666 1.667 1.666.916 0 1.666-.75 1.666-1.666 0-.917-.75-1.667-1.666-1.667zm-1.667 6.667c0-.917.75-1.667 1.667-1.667.916 0 1.666.75 1.666 1.667 0 .916-.75 1.666-1.666 1.666-.917 0-1.667-.75-1.667-1.666z",clipRule:"evenodd"}))},Like:e.Like,MyCommunity:e.MyCommunity,PlusSpecial:e.PlusSpecial,Recalculate:e.Recalculate,Scale:e.Scale,Share:e.Share,Stethoscope:e.Stethoscope,FullScreen:e.FullScreen,GroupPeople:e.GroupPeople,GroupPeopleSolid:e.GroupPeopleSolid,Activities:e.Activities,Reply:e.Reply,Check:function(e){var a=e.size,i=void 0===a?20:a,r=e.color,n=void 0===r?"#595959":r,d=e.activeColor,c=void 0===d?l.theme.colors.primaryBase:d,o=e.isActive,s=void 0!==o&&o,u=t.__rest(e,["size","color","activeColor","isActive"]);return C.default.createElement("svg",t.__assign({width:i,height:i,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u),C.default.createElement("path",{d:"M19.9803 5.99067C19.7205 5.99841 19.4739 6.10699 19.2928 6.2934L8.99984 16.5864L5.70687 13.2934C5.61473 13.1974 5.50436 13.1208 5.38223 13.068C5.2601 13.0152 5.12867 12.9874 4.99563 12.986C4.86259 12.9846 4.73061 13.0099 4.60743 13.0601C4.48426 13.1104 4.37235 13.1848 4.27827 13.2789C4.1842 13.3729 4.10983 13.4849 4.05954 13.608C4.00926 13.7312 3.98405 13.8632 3.9854 13.9962C3.98676 14.1293 4.01464 14.2607 4.06743 14.3828C4.12021 14.505 4.19684 14.6153 4.29281 14.7075L8.29281 18.7075C8.48035 18.8949 8.73467 19.0002 8.99984 19.0002C9.26501 19.0002 9.51933 18.8949 9.70687 18.7075L20.7069 7.70747C20.8514 7.567 20.9501 7.38616 20.99 7.18864C21.03 6.99112 21.0093 6.78614 20.9308 6.60055C20.8523 6.41497 20.7195 6.25744 20.5499 6.14861C20.3803 6.03978 20.1817 5.98473 19.9803 5.99067Z",fill:s?c:n}))},UserCheck:function(e){var a=e.size,i=void 0===a?20:a,r=e.color,n=void 0===r?"#595959":r,d=e.activeColor,c=void 0===d?l.theme.colors.primaryBase:d,o=e.isActive,s=void 0!==o&&o,u=t.__rest(e,["size","color","activeColor","isActive"]);return C.default.createElement("svg",t.__assign({width:i,height:i,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u),C.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6051 6.37411C13.7666 6.52476 13.7755 6.77787 13.6249 6.93945L12.2303 8.43508C11.8189 8.87628 11.1238 8.88884 10.6968 8.46279L10.3831 8.14984C10.2267 7.99381 10.2264 7.74054 10.3825 7.58415C10.5385 7.42776 10.7917 7.42746 10.9481 7.58349L11.2618 7.89644C11.3686 8.00296 11.5424 7.99982 11.6452 7.88952L13.0397 6.39388C13.1904 6.23231 13.4435 6.22345 13.6051 6.37411Z",fill:s?c:n}),C.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.81379 3.06667C5.68447 3.06667 4.79403 3.94584 4.79403 5C4.79403 6.05417 5.68447 6.93334 6.81379 6.93334C7.9431 6.93334 8.83354 6.05417 8.83354 5C8.83354 3.94584 7.9431 3.06667 6.81379 3.06667ZM3.99403 5C3.99403 3.47684 5.27031 2.26667 6.81379 2.26667C8.35726 2.26667 9.63354 3.47684 9.63354 5C9.63354 6.52317 8.35726 7.73334 6.81379 7.73334C5.27031 7.73334 3.99403 6.52317 3.99403 5ZM8.40096 9.71521C7.34947 9.54185 6.27808 9.54185 5.22659 9.71521L5.10346 9.73551C3.93891 9.9275 3.06563 10.9706 3.06563 12.2142C3.06563 12.6237 3.38372 12.9333 3.74896 12.9333H9.87859C10.2438 12.9333 10.5619 12.6237 10.5619 12.2142C10.5619 10.9706 9.68864 9.9275 8.52409 9.73551L8.40096 9.71521ZM5.09645 8.92586C6.23411 8.7383 7.39343 8.7383 8.5311 8.92586L8.65423 8.94616C10.2236 9.20489 11.3619 10.5979 11.3619 12.2142C11.3619 13.0408 10.71 13.7333 9.87859 13.7333H3.74896C2.91758 13.7333 2.26562 13.0408 2.26562 12.2142C2.26562 10.5979 3.40399 9.20489 4.97332 8.94616L5.09645 8.92586Z",fill:s?c:n}))},BabyBoyMB:function(e){e.size;var a=t.__rest(e,["size"]);return C.default.createElement("svg",t.__assign({width:"41",height:"40",viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),C.default.createElement("circle",{cx:"20.5",cy:"20",r:"20",fill:"#E0E9FB"}),C.default.createElement("path",{d:"M26.9205 21.285H26.7693C26.1495 18.3521 23.534 16.1449 20.4197 16.1449C17.3054 16.1449 14.6899 18.3521 14.0701 21.285H13.9189C12.8304 21.285 11.9536 22.1619 11.9536 23.2504C11.9536 24.3389 12.8304 25.2157 13.9189 25.2157H14.448C15.4458 27.5288 17.7438 29.1464 20.4197 29.1464C23.0956 29.1464 25.3936 27.5288 26.3913 25.2157H26.9205C28.009 25.2157 28.8858 24.3389 28.8858 23.2504C28.8858 22.1619 28.009 21.285 26.9205 21.285ZM20.4197 10.8535C19.8984 10.8535 19.3986 11.0606 19.03 11.4292C18.6614 11.7977 18.4543 12.2976 18.4543 12.8189C18.4543 13.3401 18.6614 13.84 19.03 14.2086C19.3986 14.5772 19.8984 14.7842 20.4197 14.7842C20.9409 14.7842 21.4408 14.5772 21.8094 14.2086C22.178 13.84 22.385 13.3401 22.385 12.8189C22.385 12.2976 22.178 11.7977 21.8094 11.4292C21.4408 11.0606 20.9409 10.8535 20.4197 10.8535Z",fill:"white"}),C.default.createElement("path",{d:"M20.4197 15.2377C19.0893 15.2377 18.0008 14.1492 18.0008 12.8188C18.0008 11.4884 19.0893 10.3999 20.4197 10.3999C21.7501 10.3999 22.8386 11.4884 22.8386 12.8188C22.8386 14.1492 21.7501 15.2377 20.4197 15.2377ZM20.4197 11.307C19.5882 11.307 18.9079 11.9873 18.9079 12.8188C18.9079 13.6503 19.5882 14.3306 20.4197 14.3306C21.2512 14.3306 21.9315 13.6503 21.9315 12.8188C21.9315 11.9873 21.2512 11.307 20.4197 11.307Z",fill:"#202135"}),C.default.createElement("path",{d:"M14.0701 18.6392C14.0701 15.1771 16.882 13.877 20.3441 13.877C23.8061 13.877 26.6181 15.1771 26.6181 18.6392",fill:"#FFF9EB"}),C.default.createElement("path",{d:"M25.7109 19.0928C25.4539 19.0928 25.2574 18.8963 25.2574 18.6392C25.2574 17.2786 24.6829 16.3413 23.4886 15.797C23.2618 15.6912 23.156 15.4191 23.2618 15.1923C23.3676 14.9655 23.6398 14.8597 23.8665 14.9655C25.3783 15.661 26.1645 16.9309 26.1645 18.6392C26.1645 18.8963 25.968 19.0928 25.7109 19.0928Z",fill:"#E55C8A"}),C.default.createElement("path",{d:"M17.396 22.6455C17.2357 22.6455 17.0818 22.7092 16.9684 22.8226C16.855 22.936 16.7913 23.0898 16.7913 23.2502C16.7913 23.4106 16.855 23.5644 16.9684 23.6778C17.0818 23.7912 17.2357 23.855 17.396 23.855C17.5564 23.855 17.7102 23.7912 17.8236 23.6778C17.9371 23.5644 18.0008 23.4106 18.0008 23.2502C18.0008 23.0898 17.9371 22.936 17.8236 22.8226C17.7102 22.7092 17.5564 22.6455 17.396 22.6455ZM23.4433 22.6455C23.2829 22.6455 23.1291 22.7092 23.0157 22.8226C22.9023 22.936 22.8386 23.0898 22.8386 23.2502C22.8386 23.4106 22.9023 23.5644 23.0157 23.6778C23.1291 23.7912 23.2829 23.855 23.4433 23.855C23.6037 23.855 23.7575 23.7912 23.8709 23.6778C23.9843 23.5644 24.048 23.4106 24.048 23.2502C24.048 23.0898 23.9843 22.936 23.8709 22.8226C23.7575 22.7092 23.6037 22.6455 23.4433 22.6455Z",fill:"#202135"}),C.default.createElement("path",{d:"M26.1645 18.2612H14.826C13.9945 18.2612 13.3141 18.9415 13.3141 19.773C13.3141 20.6045 13.9945 21.2849 14.826 21.2849H26.1645C26.996 21.2849 27.6764 20.6045 27.6764 19.773C27.6764 18.9415 26.996 18.2612 26.1645 18.2612Z",fill:"#E55C8A"}),C.default.createElement("path",{d:"M27.7217 20.9675C27.9787 20.6349 28.1299 20.2267 28.1299 19.7732C28.1299 19.0022 27.6915 18.337 27.0414 18.0195C26.7542 15.0866 24.3504 13.4236 20.3441 13.4236C16.2622 13.4236 13.8282 15.1622 13.6317 18.216C13.163 18.5789 12.8606 19.1382 12.8606 19.7732C12.8606 20.8617 13.7375 21.7385 14.826 21.7385H26.9205C27.752 21.7385 28.4323 22.4189 28.4323 23.2504C28.4323 24.0819 27.752 24.7622 26.9205 24.7622H26.3913C26.2099 24.7622 26.0436 24.868 25.968 25.0343C25.0156 27.2567 22.8386 28.6929 20.4197 28.6929C17.9857 28.6929 15.8087 27.2567 14.8562 25.0192C14.7655 24.8075 14.5236 24.6866 14.2969 24.7622H13.9189C13.0874 24.7622 12.4071 24.0819 12.4071 23.2504C12.4071 22.9026 12.5129 22.5852 12.7397 22.313C12.8909 22.1165 12.8606 21.8293 12.6641 21.6781C12.4676 21.5269 12.1803 21.5571 12.0291 21.7537C11.6814 22.177 11.5 22.7061 11.5 23.2504C11.5 24.5807 12.5885 25.6693 13.9189 25.6693H14.1608C15.3249 28.073 17.7438 29.6 20.4197 29.6C23.0956 29.6 25.5296 28.073 26.6786 25.6693H26.9205C28.2509 25.6693 29.3394 24.5807 29.3394 23.2504C29.3394 22.1921 28.6591 21.3001 27.7217 20.9675ZM20.3441 14.3307C22.3397 14.3307 25.5901 14.7993 26.1041 17.8078H14.826C14.7504 17.8078 14.6597 17.8078 14.5841 17.823C15.083 14.8144 18.3334 14.3307 20.3441 14.3307ZM14.826 20.8315C14.2364 20.8315 13.7677 20.3628 13.7677 19.7732C13.7677 19.1836 14.2364 18.7149 14.826 18.7149H26.1646C26.7542 18.7149 27.2228 19.1836 27.2228 19.7732C27.2228 20.3628 26.7542 20.8315 26.1646 20.8315H14.826Z",fill:"#202135"}),C.default.createElement("path",{d:"M20.4197 27.1812C20.1627 27.1812 19.9661 26.9846 19.9661 26.7276C19.9661 26.4706 20.1627 26.2741 20.4197 26.2741C20.722 26.2741 20.9942 26.1683 21.1907 25.9566C21.3721 25.7752 21.6594 25.7752 21.8257 25.9415C22.0071 26.1229 22.0071 26.4102 21.8408 26.5765C21.4628 26.9695 20.9639 27.1812 20.4197 27.1812Z",fill:"#202135"}))},BabyGirlMB:function(e){e.size;var a=t.__rest(e,["size"]);return C.default.createElement("svg",t.__assign({width:"41",height:"40",viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),C.default.createElement("circle",{cx:"20.5",cy:"20",r:"20",fill:"#FFEAF1"}),C.default.createElement("path",{d:"M20.2253 10.8569C19.7 10.8569 19.1961 11.0656 18.8246 11.4371C18.4531 11.8086 18.2444 12.3125 18.2444 12.8379C18.2444 13.3633 18.4531 13.8671 18.8246 14.2386C19.1961 14.6101 19.7 14.8188 20.2253 14.8188C20.7507 14.8188 21.2546 14.6101 21.6261 14.2386C21.9976 13.8671 22.2063 13.3633 22.2063 12.8379C22.2063 12.3125 21.9976 11.8086 21.6261 11.4371C21.2546 11.0656 20.7507 10.8569 20.2253 10.8569Z",fill:"#4BA5D1"}),C.default.createElement("path",{d:"M20.2254 15.2761C18.8845 15.2761 17.7874 14.179 17.7874 12.838C17.7874 11.497 18.8845 10.3999 20.2254 10.3999C21.5664 10.3999 22.6635 11.497 22.6635 12.838C22.6635 14.179 21.5664 15.2761 20.2254 15.2761ZM20.2254 11.3142C19.3874 11.3142 18.7016 11.9999 18.7016 12.838C18.7016 13.6761 19.3874 14.3618 20.2254 14.3618C21.0635 14.3618 21.7493 13.6761 21.7493 12.838C21.7493 11.9999 21.0635 11.3142 20.2254 11.3142Z",fill:"#202135"}),C.default.createElement("path",{d:"M26.2903 21.219H26.8541C28.2255 21.219 29.1398 22.6361 28.576 23.9009C28.3779 24.3428 28.3474 24.8304 28.4998 25.2876L28.957 26.659C29.3684 27.878 28.4541 29.1428 27.1589 29.1428H22.176L26.2903 21.219ZM14.1303 21.219H13.5665C12.1951 21.219 11.2808 22.6361 11.8446 23.9009C12.0427 24.3428 12.0732 24.8304 11.9208 25.2876L11.4636 26.659C11.0522 27.878 11.9665 29.1428 13.2617 29.1428H18.2446",fill:"#9495A0"}),C.default.createElement("path",{d:"M26.7779 21.219H26.6255C26.0007 18.2628 23.3645 16.0381 20.2255 16.0381C17.0864 16.0381 14.4502 18.2628 13.8255 21.219H13.6731C12.5759 21.219 11.6921 22.1028 11.6921 23.2C11.6921 24.2971 12.5759 25.1809 13.6731 25.1809H14.2064C15.2121 27.5124 17.5283 29.1428 20.2255 29.1428C22.9226 29.1428 25.2388 27.5124 26.2445 25.1809H26.7779C27.875 25.1809 28.7588 24.2971 28.7588 23.2C28.7588 22.1028 27.875 21.219 26.7779 21.219Z",fill:"white"}),C.default.createElement("path",{d:"M14.13 22.5904C14.13 22.118 14.1909 21.6609 14.2823 21.219H13.5661C12.1947 21.219 11.2804 22.6361 11.8442 23.9009C12.0423 24.3428 12.0728 24.8304 11.9204 25.2876C11.9204 25.2876 15.1357 26.0799 14.709 25.1961C14.3433 24.3885 14.13 23.5199 14.13 22.5904Z",fill:"#9495A0"}),C.default.createElement("path",{d:"M20.2254 27.162C19.6921 27.162 19.1892 26.9486 18.8082 26.5677C18.6254 26.3848 18.6406 26.0953 18.8082 25.9277C18.9911 25.7448 19.2806 25.7601 19.4482 25.9277C19.6463 26.141 19.9206 26.2477 20.2102 26.2477C20.5149 26.2477 20.7892 26.141 20.9873 25.9277C21.1702 25.7448 21.4597 25.7448 21.6273 25.9124C21.8102 26.0953 21.8102 26.3848 21.6425 26.5524C21.2768 26.9486 20.774 27.162 20.2254 27.162Z",fill:"#202135"}),C.default.createElement("path",{d:"M16.111 24.4189C15.9493 24.4189 15.7943 24.4832 15.68 24.5975C15.5657 24.7118 15.5015 24.8668 15.5015 25.0285C15.5015 25.1901 15.5657 25.3452 15.68 25.4595C15.7943 25.5738 15.9493 25.638 16.111 25.638C16.2726 25.638 16.4277 25.5738 16.542 25.4595C16.6563 25.3452 16.7205 25.1901 16.7205 25.0285C16.7205 24.8668 16.6563 24.7118 16.542 24.5975C16.4277 24.4832 16.2726 24.4189 16.111 24.4189ZM24.3396 24.4189C24.1779 24.4189 24.0229 24.4832 23.9086 24.5975C23.7943 24.7118 23.73 24.8668 23.73 25.0285C23.73 25.1901 23.7943 25.3452 23.9086 25.4595C24.0229 25.5738 24.1779 25.638 24.3396 25.638C24.5012 25.638 24.6563 25.5738 24.7706 25.4595C24.8849 25.3452 24.9491 25.1901 24.9491 25.0285C24.9491 24.8668 24.8849 24.7118 24.7706 24.5975C24.6563 24.4832 24.5012 24.4189 24.3396 24.4189Z",fill:"#E55C8A"}),C.default.createElement("path",{d:"M13.8254 18.5522C13.8254 15.0627 16.6597 13.7522 20.1492 13.7522C23.6388 13.7522 26.4731 15.0627 26.4731 18.5522",fill:"white"}),C.default.createElement("path",{d:"M25.5587 19.0094C25.2997 19.0094 25.1016 18.8113 25.1016 18.5523C25.1016 17.1808 24.5225 16.2361 23.3187 15.6875C23.0901 15.5808 22.9835 15.3066 23.0901 15.078C23.1968 14.8494 23.4711 14.7428 23.6997 14.8494C25.2235 15.5504 26.0159 16.8304 26.0159 18.5523C26.0159 18.8113 25.8178 19.0094 25.5587 19.0094Z",fill:"#B8E4FF"}),C.default.createElement("path",{d:"M17.1776 22.5903C17.016 22.5903 16.8609 22.6545 16.7466 22.7689C16.6323 22.8832 16.5681 23.0382 16.5681 23.1999C16.5681 23.3615 16.6323 23.5165 16.7466 23.6309C16.8609 23.7452 17.016 23.8094 17.1776 23.8094C17.3393 23.8094 17.4943 23.7452 17.6086 23.6309C17.7229 23.5165 17.7872 23.3615 17.7872 23.1999C17.7872 23.0382 17.7229 22.8832 17.6086 22.7689C17.4943 22.6545 17.3393 22.5903 17.1776 22.5903ZM23.2729 22.5903C23.1112 22.5903 22.9562 22.6545 22.8419 22.7689C22.7276 22.8832 22.6634 23.0382 22.6634 23.1999C22.6634 23.3615 22.7276 23.5165 22.8419 23.6309C22.9562 23.7452 23.1112 23.8094 23.2729 23.8094C23.4345 23.8094 23.5896 23.7452 23.7039 23.6309C23.8182 23.5165 23.8824 23.3615 23.8824 23.1999C23.8824 23.0382 23.8182 22.8832 23.7039 22.7689C23.5896 22.6545 23.4345 22.5903 23.2729 22.5903Z",fill:"#202135"}),C.default.createElement("path",{d:"M26.0159 18.1714H14.5873C13.7492 18.1714 13.0635 18.8571 13.0635 19.6952C13.0635 20.5333 13.7492 21.219 14.5873 21.219H26.0159C26.854 21.219 27.5397 20.5333 27.5397 19.6952C27.5397 18.8571 26.854 18.1714 26.0159 18.1714Z",fill:"#E55C8A"}),C.default.createElement("path",{d:"M29.3683 26.4456L28.9264 25.1352C28.8197 24.8152 28.8654 24.4799 29.0026 24.1752C29.1549 23.8247 29.2311 23.4133 29.2007 23.0018C29.1245 22.0266 28.454 21.2495 27.5702 20.9295C27.8292 20.5942 27.9969 20.1675 27.9969 19.7104C27.9969 18.9333 27.5549 18.2628 26.8997 17.9428C26.6102 14.9714 24.1873 13.2952 20.1492 13.2952C16.0349 13.2952 13.5816 15.0475 13.3835 18.1256C12.9111 18.4914 12.6064 19.0552 12.6064 19.6952C12.6064 20.7923 13.4902 21.6761 14.5873 21.6761H26.7169C27.5245 21.6761 28.2407 22.2856 28.2864 23.0933C28.3473 23.9771 27.6464 24.7237 26.7626 24.7237H26.2292C26.0464 24.7237 25.8788 24.8304 25.8178 24.998C24.8578 27.238 22.6635 28.6856 20.2254 28.6856C17.7873 28.6856 15.5778 27.238 14.6178 24.9828C14.5416 24.7999 14.374 24.678 14.1759 24.6933C13.8407 24.7237 13.6578 25.0437 13.7797 25.3333C14.3892 26.7809 15.4559 27.939 16.7664 28.6856H13.3073C12.8349 28.6856 12.3778 28.4723 12.1035 28.0914C11.8292 27.7104 11.753 27.238 11.9054 26.7961L12.393 25.3485C12.5759 24.7999 12.5149 24.2209 12.2711 23.6875C12.0121 23.1085 12.1645 22.4228 12.6521 22.0114C12.8349 21.859 12.9111 21.5695 12.7588 21.3714C12.6064 21.158 12.3016 21.1123 12.0883 21.2799C11.2502 21.9656 10.9759 23.1237 11.433 24.099C11.5854 24.419 11.5854 24.7847 11.4788 25.1199L11.0369 26.4304C10.7778 27.1923 10.8845 28.0304 11.3721 28.6704C11.814 29.2647 12.4997 29.5999 13.2464 29.5999H20.1949H20.2254H27.174C27.9207 29.5999 28.5911 29.2647 29.0483 28.6704C29.5207 28.0456 29.6273 27.1923 29.3683 26.4456ZM20.1492 14.2095C22.1607 14.2095 25.4369 14.6971 25.9397 17.7142H14.5873C14.5111 17.7142 14.4197 17.7142 14.3435 17.7295C14.8464 14.6971 18.1226 14.2095 20.1492 14.2095ZM14.5873 20.7618C13.993 20.7618 13.5207 20.2895 13.5207 19.6952C13.5207 19.1009 13.993 18.6285 14.5873 18.6285H26.0159C26.6102 18.6285 27.0826 19.1009 27.0826 19.6952C27.0826 20.2895 26.6102 20.7618 26.0159 20.7618H14.5873ZM28.3321 28.0914C28.0578 28.4723 27.6311 28.6856 27.174 28.6856H23.6845C24.9035 27.9999 25.9092 26.9485 26.534 25.638H26.7778C27.2349 25.638 27.6616 25.5009 28.0273 25.2875C28.0426 25.3333 28.0578 25.379 28.073 25.4247L28.5302 26.7961C28.6826 27.238 28.6064 27.7104 28.3321 28.0914Z",fill:"#202135"}))}},u=function(a){var l=a.type,i=a.color,r=a.style,n=t.__rest(a,["type","color","style"]);return C.default.createElement(e.StyledText,t.__assign({"data-type":l,style:t.__assign(t.__assign({},r),i&&{"--text-color":i})},n))},f="hhg-modals",h=function(){document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},m=function(){document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))};exports.Icon=s,exports.MarryBabyHeading=function(a){var l=a.type,i=a.color,r=a.style,n=t.__rest(a,["type","color","style"]);return C.default.createElement(e.StyledHeading$1,t.__assign({type:l,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[l],style:t.__assign(t.__assign({},i&&{"--text-color":i}),r)},n))},exports.MarryBabyText=u,exports.Modal=function(e){var t=e.type,l=void 0===t?"lead":t,i=e.closeIcon,r=e.isOpen,o=void 0===r||r,s=e.onClose,u=e.children,v=e.className,p=void 0===v?"":v,E=e.animationType,g=void 0===E?"slideTop":E,y=e.isStaticBackdrop,w=void 0!==y&&y;e.style;var M=a.useState(!1),_=M[0],z=M[1],H=a.useRef(null),x=n.useScrollbarSize().width;if(!H.current&&_&&(H.current=document.createElement("div")),a.useEffect((function(){return z(!0),function(){z(!1),h(),m()}}),[]),a.useEffect((function(){if(_){var e=((t=document.getElementById(f))||((t=document.createElement("div")).setAttribute("id",f),document.body.append(t)),t);return e.appendChild(H.current),function(){e.removeChild(H.current)}}var t}),[_]),a.useEffect((function(){o?document.body.classList.add("hhc-modal-show"):h()}),[o]),a.useEffect((function(){o?(document.body.style.overflow="hidden",document.body.style.paddingRight=x+"px",document.body.classList.add("hhc-disabled-scroll")):m()}),[o,x]),!_)return null;var b=["hhg-modal__wrapper",p,g].filter((function(e){return e})).join(" ");return d.createPortal(C.default.createElement(c.StyledModalWrapper,{className:b,"data-open":o,"data-type":l},!w&&C.default.createElement(c.StyledModalMask,{"data-open":o,onClick:s,"data-type":l}),!w&&"video"===l&&!!i&&C.default.createElement("div",{className:"hhg-modal__close",onClick:s},i),C.default.createElement(c.StyledModal,{className:"hhg-modal","data-open":o},C.default.createElement("div",{className:"video"===l?"hhg-modal__video":"hhg-modal__content"},!!i&&"video"!==l&&C.default.createElement("div",{className:"hhg-modal__close",onClick:s},i),u))),H.current)},exports.NewBabyProfileRadio=function(t){var a=t.isActive,n=t.onChange,d=t.value,c=void 0===d?"":d,o=t.onInputChange,s=i.useTranslations().t;return C.default.createElement(e.StyledNewBabyProfileRadio,{onClick:function(){return n("new")}},C.default.createElement("div",{className:"title"},C.default.createElement(e.Text,{size:"p2",color:l.theme.colors.gray800},s("chooseBaby.new")),C.default.createElement("div",{className:a?"radio active":"radio"})),C.default.createElement(r.Input,{name:"name",value:c,size:"md",placeholder:s("chooseBaby.placeholder"),type:"text",onChange:o}))},exports.RadioImageGroup=function(t){var i=t.value,r=t.options,n=t.className,d=t.direction,c=void 0===d?"horizontal":d,o=t.onChange,s=t.isDisabled,f=t.siteType,h=a.useState(i),m=h[0],v=h[1],p="marryBaby"===f;return C.default.createElement(e.StyledRadioImageGroup,{className:n,"data-direction":c},r.map((function(t,a){return C.default.createElement(e.StyledRadioImageItem,{"data-selected":(i||m)===t.value,"data-is-mb":p,"data-disabled":s,key:a,onClick:function(){var e;e=t.value,s||(v(e),o&&o(e))}},C.default.createElement("div",null,t.content,t.label&&C.default.createElement(C.default.Fragment,null,p?C.default.createElement(u,{type:"subtitle-2",color:(i||m)===t.value?l.theme.mbColors.dark:l.theme.mbColors.midGray},t.label):C.default.createElement(e.Text,{type:"bold",color:(i||m)===t.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},t.label))))})))};
@@ -1 +0,0 @@
1
- "use strict";var e=require("./tslib.es6-e6f346c4.js"),n=require("react"),t=require("styled-components"),i=require("./screenSizeContext-78ac9057.js"),a=require("./index.styled-97a84219.js"),o=require("./index-c5ba3d33.js"),r=require("date-fns"),l=require("date-fns/locale/en-US"),d=require("date-fns/locale/hi"),s=require("date-fns/locale/id"),u=require("date-fns/locale/ms"),c=require("date-fns/locale/th"),p=require("date-fns/locale/vi"),m=require("date-fns/locale/zh-TW"),g=require("./useTranslations-473f169c.js"),f=require("./index-d28c27ca.js"),h=require("./cookieHelper-612b90fa.js"),v=require("slugify"),x=require("string-format"),b=require("./theme-696d81a9.js"),w=require("react-id-generator"),A=require("./index-c3dc9c19.js");function y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _,E,k,C,T,I,L,B,D=y(n),M=y(t),O=y(l),N=y(d),P=y(s),S=y(u),Q=y(c),R=y(p),U=y(m),G=y(v),j=y(x),z={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},H=function(t){var i=t.type,o=void 0===i?"square":i,r=t.size,l=t.avatarImg,d=t.avatarUrl,s=t.firstLetter,u=t.backgroundColor,c=t.onClick,p=t.style,m=t.className,g=t.isAmp,f=void 0!==g&&g,h=t.width,v=t.height,x=r?z[r]:void 0,b=n.useState(!1),w=b[0],A=b[1];n.useEffect((function(){if(d){var e=document.createElement("img");e.setAttribute("src",d),e.addEventListener("error",(function(){A(!0)}))}}),[d,A]);var y=(!d&&!l||w)&&s;return D.default.createElement(a.StyledAvatar,{style:e.__assign(e.__assign({},p),{"--size":!f&&x?x+"px":void 0,"--width-prop":h?h+"px":void 0,"--height-prop":v?v+"px":void 0,"--background-color":u}),"data-has-max":!(!h||!v),"data-avatar-type":o,onClick:c,className:m,avatarUrl:d,"data-is-amp":f,"data-custom-size":!!r},l,d&&!w&&D.default.createElement("img",{src:d}),y&&s)},F=M.default.div(_||(_=e.__makeTemplateObject(["\n --dropdown-padding: 12px 18px 12px 16px;\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-disabled='true'],\n :disabled {\n background-color: #f2f2f2;\n cursor: not-allowed;\n }\n\n &[data-size='sm'] {\n font-size: 13px;\n line-height: 20px;\n }\n &[data-size='md'] {\n font-size: 14px;\n line-height: 21px;\n }\n &[data-size='lg'] {\n font-size: 16px;\n line-height: 24px;\n }\n\n &[data-has-icons='true'] {\n border: none;\n background: ",";\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n display: inline-block;\n vertical-align: middle;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n top: 50%;\n right: 12px;\n width: 10px;\n height: 8px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n\n &[data-is-native='true'] {\n padding: var(--dropdown-padding);\n line-height: 24px;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px\n ",";\n }\n }\n"],["\n --dropdown-padding: 12px 18px 12px 16px;\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-disabled='true'],\n :disabled {\n background-color: #f2f2f2;\n cursor: not-allowed;\n }\n\n &[data-size='sm'] {\n font-size: 13px;\n line-height: 20px;\n }\n &[data-size='md'] {\n font-size: 14px;\n line-height: 21px;\n }\n &[data-size='lg'] {\n font-size: 16px;\n line-height: 24px;\n }\n\n &[data-has-icons='true'] {\n border: none;\n background: ",";\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n display: inline-block;\n vertical-align: middle;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n top: 50%;\n right: 12px;\n width: 10px;\n height: 8px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n\n &[data-is-native='true'] {\n padding: var(--dropdown-padding);\n line-height: 24px;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px\n ",";\n }\n }\n"])),(function(e){return e.theme.colors.gray200}),(function(e){return e.theme.colors.gray100}),(function(e){return e.theme.colors.blue200}),(function(e){return e.theme.colors.blue200})),K=M.default.div(E||(E=e.__makeTemplateObject(["\n padding: var(--dropdown-padding);\n cursor: pointer;\n\n &.with-label {\n padding-top: 34px;\n padding-bottom: 12px;\n }\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n"],["\n padding: var(--dropdown-padding);\n cursor: pointer;\n\n &.with-label {\n padding-top: 34px;\n padding-bottom: 12px;\n }\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n"])),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.blue200})),Y=M.default.ul(k||(k=e.__makeTemplateObject(["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),\n -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"],["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),\n -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.gray200})),W=M.default.li(C||(C=e.__makeTemplateObject(["\n display: flex;\n padding: 12px 18px 12px 16px;\n &[data-disabled='true'] {\n cursor: not-allowed;\n color: #bfbfbf;\n & > * {\n pointer-events: none;\n }\n }\n &:hover,\n :active {\n background: ",";\n }\n"],["\n display: flex;\n padding: 12px 18px 12px 16px;\n &[data-disabled='true'] {\n cursor: not-allowed;\n color: #bfbfbf;\n & > * {\n pointer-events: none;\n }\n }\n &:hover,\n :active {\n background: ",";\n }\n"])),(function(e){return e.theme.colors.gray100})),Z=M.default.div(T||(T=e.__makeTemplateObject(["\n max-width: 16px;\n margin-right: 8px;\n"],["\n max-width: 16px;\n margin-right: 8px;\n"]))),V=M.default.div(I||(I=e.__makeTemplateObject(["\n position: absolute;\n top: 12px;\n left: 16px;\n pointer-events: none;\n"],["\n position: absolute;\n top: 12px;\n left: 16px;\n pointer-events: none;\n"]))),q=M.default.div(L||(L=e.__makeTemplateObject(["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.gray200}),i.MediaQueries.mbDown,i.MediaQueries.mbDown,i.MediaQueries.mbUp),X=M.default.div(B||(B=e.__makeTemplateObject(["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"]))),J="/images/avatar.jpg",$="/images/default-image.jpg",ee={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR"},ne={"id-ID":{"kalkulator-bmi":ee.BMI,"kebutuhan-kalori":ee.BMR,"kalkulator-hari-perkiraan-lahir":ee.DUE_DATE,"kalkulator-masa-subur-2":ee.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":ee.PWG,"kalkulator-detak-jantung-saat-olahraga":ee.THR},"ms-MY":{"kalkulator-bmi":ee.BMI,"kalkulator-bmr":ee.BMR,"kalkulator-tarikh-bersalin":ee.DUE_DATE,"kalkulator-kesuburan":ee.OVULATION,"kalkulator-tambah-berat-badan-hamil":ee.PWG,"target-heart-rate-calculator":ee.THR},"vi-VN":{"cach-tinh-chi-so-bmi":ee.BMI,"tinh-chi-so-bmr":ee.BMR,"cong-cu-tinh-ngay-du-sinh":ee.DUE_DATE,"tinh-ngay-rung-trung":ee.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":ee.PWG,"cong-cu-do-nhip-tim":ee.THR},"zh-TW":{"bmi-calculator":ee.BMI,"bmr-calculator":ee.BMR,"due-date-calculator":ee.DUE_DATE,"ovulation-calculator":ee.OVULATION,"pregnancy-weight-gain-calculator":ee.PWG,"target-heart-rate-calculator":ee.THR},"en-PH":{"bmi-calculator":ee.BMI,"bmr-calculator":ee.BMR,"due-date-calculator":ee.DUE_DATE,"ovulation-calculator":ee.OVULATION,"pregnancy-weight-gain-calculator":ee.PWG,"target-heart-rate-calculator":ee.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":ee.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":ee.BMR,"เครื่องมือคำนวณกำหนดคลอด":ee.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":ee.OVULATION,"เครื่องคำนวณน้ำหนักตัว":ee.PWG,"เครื่องวัดอัตราการเต้น":ee.THR},"hi-IN":{"bmi-calculator-en":ee.BMI,"bmi-calculator":ee.BMI,"bmr-calculator":ee.BMR,"delivery-date-calculator":ee.DUE_DATE,"ovulation-calculator":ee.OVULATION,"pregnancy-weight-gain-calculator":ee.PWG,"target-heart-rate-calculator":ee.THR},"km-KH":{"គណនា-bmi":ee.BMI,"គណនា-bmr":ee.BMR,"គណនាថ្ងៃសម្រាលកូន":ee.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":ee.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":ee.PWG,"គណនារកចង្វាក់បេះដូងល្អ":ee.THR},"my-MM":{"bmi-calculator":ee.BMI,"bmr-calculator":ee.BMR,"due-date-calendar":ee.DUE_DATE,"ovulation-calculator":ee.OVULATION,"pregnaancy-weight-calculator":ee.PWG,"target-heartrate":ee.THR,"pregnancy-weight-calculator":ee.PWG,"target-heart-rate":ee.THR}},te="hhg_user_token",ie="together_admin_token",ae={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},oe={"en-PH":{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"}},re=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:"dd/MM/yyyy",DEFAULT_AVATAR_IMG:J,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:$,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:ee,LOCALE_HEALTH_TOOLS:ne,BEARER_TOKEN_COOKIE:te,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:ie,Z_INDEX:{adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:ae,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:oe}),le=function(e){return e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||""}:{}},de=function(e){return e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{}},se=function(n){var t,i,a,o;return n?{id:n.ID,postName:n.post_name,sponsor:n.sponsor?ce(n.sponsor):null,isSponsored:n.is_sponsored||null,postTitle:n.post_title||"",postModified:n.post_modified||"",postDate:n.post_date||"",modifiedTime:n.modified_time||"",permalink:n.permalink||"",featureImage:n.image||null,featureImageMobile:n.image_medium||null,featureImageMobileXs:n.image_thumbnail||null,author:le(n.author),reviewer:n.reviewed_by&&le(n.reviewed_by)||null,articleReviewed:(null==n?void 0:n.reviewed)?e.__assign(e.__assign({},null==n?void 0:n.reviewed),{author:ue(null===(t=null==n?void 0:n.reviewed)||void 0===t?void 0:t.author),editor:ue(null===(i=null==n?void 0:n.reviewed)||void 0===i?void 0:i.editor),expert:ue(null===(a=null==n?void 0:n.reviewed)||void 0===a?void 0:a.expert),fact_check:ue(null===(o=null==n?void 0:n.reviewed)||void 0===o?void 0:o.fact_check)}):null,category:me(n.category),postContent:n.post_content||null,sections:n.sections||null,categories:(n.categories||[]).map(me),sources:n.sources||null,description:n.description||null,excerpt:n.excerpt||null,expert:de(n.expert),metaTag:n.meta_tag||null}:{}},ue=function(n){return void 0!==n&&n?e.__assign(e.__assign({},n),{profile_url:(null==n?void 0:n.slug)?["expert","medical"].includes((null==n?void 0:n.role)||"")?"/expert/".concat(null==n?void 0:n.slug):"/author/".concat(null==n?void 0:n.slug):n.profile_url}):null},ce=function(e){return e?{title:e.title,logo:e.logo,link:e.link}:{}},pe=function(e){return{postTitle:e.post_title,permalink:e.permalink}},me=function(e){var n,t;return e?{termId:e.term_id||null,sponsor:e.sponsor?ce(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(n=e.child_cates)||void 0===n?void 0:n.map((function(e){return me(e)})))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(t=e.cat_parent)||void 0===t?void 0:t.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?pe(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return ge(e)})):null}:{}},ge=function(e){return{title:e.title,content:e.content}},fe=function(e){return e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{}},he=function(e){return e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},ve=function(e){var n,t,i,a;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(n=e.community)||void 0===n?void 0:n.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:null===(i=e.community)||void 0===i?void 0:i.slug,communityName:null===(a=e.community)||void 0===a?void 0:a.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},xe=function(e){var n,t,i,a,o,r,l,d,s,u,c,p,m,g,f,h,v,x,b,w,A;return e?{id:e.id,topics:(null===(n=e.topics)||void 0===n?void 0:n.map((function(n){var t,i,a,o;return{id:n.id||0,name:n.name||"",slug:n.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+n.slug,communityId:String(null===(i=e.community)||void 0===i?void 0:i.id),communitySlug:(null===(a=e.community)||void 0===a?void 0:a.slug)||"",communityName:(null===(o=e.community)||void 0===o?void 0:o.name)||"",isHidden:Boolean(n.is_hidden),isActive:!0}})))||[],community:{id:(null===(t=e.community)||void 0===t?void 0:t.id)||0,name:(null===(i=e.community)||void 0===i?void 0:i.name)||"",slug:(null===(a=e.community)||void 0===a?void 0:a.slug)||"",isActive:!0,isHidden:Boolean(null===(o=e.community)||void 0===o?void 0:o.is_hidden)},slug:e.slug||"",author:{id:(null===(r=e.user)||void 0===r?void 0:r.id)||0,username:(null===(l=e.user)||void 0===l?void 0:l.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(s=e.user)||void 0===s?void 0:s.name)||"",avatar:(null===(u=e.user)||void 0===u?void 0:u.avatar)||"",role:(null===(c=e.user)||void 0===c?void 0:c.role)?null===(m=null===(p=e.user)||void 0===p?void 0:p.role)||void 0===m?void 0:m.toLowerCase():"",type:(null===(g=e.user)||void 0===g?void 0:g.type)||"",partnerId:(null===(f=e.user)||void 0===f?void 0:f.partner_id)?String(null===(h=e.user)||void 0===h?void 0:h.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(x=e.user)||void 0===x?void 0:x.doctor_id)?String(null===(b=e.user)||void 0===b?void 0:b.doctor_id):"",hospitalId:(null===(w=e.user)||void 0===w?void 0:w.hospital_id)?String(null===(A=e.user)||void 0===A?void 0:A.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||""}:{}},be=function(e){return e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.info||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{}},we=function(e){var n,t,i,a,o,r,l,d,s,u,c,p,m,g,f,h,v,x,b,w,A,y,_,E,k,C,T,I,L,B,D,M;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(we):[],author:{id:(null===(n=e.user)||void 0===n?void 0:n.id)||0,username:(null===(t=e.user)||void 0===t?void 0:t.user_name)||"",name:(null===(i=e.user)||void 0===i?void 0:i.name)||"",role:(null===(a=e.user)||void 0===a?void 0:a.role)?null===(r=null===(o=e.user)||void 0===o?void 0:o.role)||void 0===r?void 0:r.toLowerCase():"",avatar:(null===(l=e.user)||void 0===l?void 0:l.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",partnerId:(null===(u=e.user)||void 0===u?void 0:u.partner_id)?String(null===(c=e.user)||void 0===c?void 0:c.partner_id):"",title:(null===(p=e.user)||void 0===p?void 0:p.title)||"",doctorId:(null===(m=e.user)||void 0===m?void 0:m.doctor_id)?String(null===(g=e.user)||void 0===g?void 0:g.doctor_id):"",hospitalId:(null===(f=e.user)||void 0===f?void 0:f.hospital_id)?String(null===(h=e.user)||void 0===h?void 0:h.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(v=e.mentioned)||void 0===v?void 0:v.id)||0,username:(null===(x=e.mentioned)||void 0===x?void 0:x.user_name)||"",name:(null===(b=e.mentioned)||void 0===b?void 0:b.name)||"",role:(null===(w=e.mentioned)||void 0===w?void 0:w.role)?null===(y=null===(A=e.mentioned)||void 0===A?void 0:A.role)||void 0===y?void 0:y.toLowerCase():"",avatar:(null===(_=e.mentioned)||void 0===_?void 0:_.avatar)||"",type:(null===(E=e.mentioned)||void 0===E?void 0:E.type)||"",email:(null===(k=e.mentioned)||void 0===k?void 0:k.email)||"",partnerId:(null===(C=e.mentioned)||void 0===C?void 0:C.partner_id)?String(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id):"",doctorId:(null===(I=e.mentioned)||void 0===I?void 0:I.doctor_id)?String(null===(L=e.mentioned)||void 0===L?void 0:L.doctor_id):"",hospitalId:(null===(B=e.mentioned)||void 0===B?void 0:B.hospital_id)?String(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id):"",title:(null===(M=e.mentioned)||void 0===M?void 0:M.title)||""}:null,mentions:e.mentions||[]}:{}},Ae=function(e){return void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?"/expert/".concat(null==e?void 0:e.slug):"/author/".concat(null==e?void 0:e.slug):(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":""},ye=Object.freeze({__proto__:null,formatAuthor:le,formatArticleExpert:de,formatArticle:se,formatUserProfile:ue,formatBMIResult:function(e){var n,t,i,a,o,r,l,d,s;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(n=null==e?void 0:e.comparison)&&void 0!==n?n:"",assessmentData:[{tab:"tools.condition",content:null!==(t=null==e?void 0:e.condition)&&void 0!==t?t:""},{tab:"tools.risks",content:null!==(i=null==e?void 0:e.risk)&&void 0!==i?i:""},{tab:"tools.suggestion",content:null!==(a=null==e?void 0:e.suggestion)&&void 0!==a?a:""}],chartData:(null===(o=null==e?void 0:e.chart_data)||void 0===o?void 0:o.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(r=null==e?void 0:e.disclaimer)&&void 0!==r?r:"",illustrator:null!==(l=null==e?void 0:e.illustrator)&&void 0!==l?l:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(s=null==e?void 0:e.suggested_articles_link)&&void 0!==s?s:""}:{}},formatSponsor:ce,formatReviewedCategory:pe,formatCategory:me,formatCategoryApi:function(e){return e?{categoryInfo:me(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(se),subCategories:(e.data.sub_categories||[]).map(me)}:{}},formatFaqsCategory:ge,formatHealthTool:fe,formatHealthToolTypeCategory:function(e){var n,t;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(t=null===(n=null==e?void 0:e.health_tools)||void 0===n?void 0:n.map((function(e){return fe(e)})))&&void 0!==t?t:[]}:{}},formatCommunity:he,formatTopic:ve,formatPost:xe,formatPostPagination:function(e){return e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{}},formatNotification:function(e){var n,t,i;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(n=e.from_user)||void 0===n?void 0:n.name,id:null===(t=e.from_user)||void 0===t?void 0:t.id,avatar:null===(i=e.from_user)||void 0===i?void 0:i.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:function(e){return e?e.map((function(e){return{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}})):[]},formatOvulationInfo:be,formatSuggestedArticle:function(e){return e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{}},formatTopicHealthTool:function(e){return e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{}},formatComment:we,formatReportedPostToPostDetail:function(e){return e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{}},formatTopicSubot:function(e){return e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{}},formatSiteWideBanner:function(e,n){return void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:n||"other"}:null},formatPWGContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?ue(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatUserProfileUrl:Ae,formatTHRContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?ue(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}}}),_e={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info"},Ee={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},ke="expert/{id}",Ce=function(e,n){if("string"!=typeof e)throw new TypeError("argument str must be a string");var t={},i=(n||{}).decode||Be,a=0;for(;a<e.length;){var o=e.indexOf("=",a);if(-1===o)break;var r=e.indexOf(";",a);if(-1===r)r=e.length;else if(r<o){a=e.lastIndexOf(";",o-1)+1;continue}var l=e.slice(a,o).trim();if(void 0===t[l]){var d=e.slice(o+1,r).trim();34===d.charCodeAt(0)&&(d=d.slice(1,-1)),t[l]=Me(d,i)}a=r+1}return t},Te=function(e,n,t){var i=t||{},a=i.encode||De;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!Le.test(e))throw new TypeError("argument name is invalid");var o=a(n);if(o&&!Le.test(o))throw new TypeError("argument val is invalid");var r=e+"="+o;if(null!=i.maxAge){var l=i.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");r+="; Max-Age="+Math.floor(l)}if(i.domain){if(!Le.test(i.domain))throw new TypeError("option domain is invalid");r+="; Domain="+i.domain}if(i.path){if(!Le.test(i.path))throw new TypeError("option path is invalid");r+="; Path="+i.path}if(i.expires){var d=i.expires;if(!function(e){return"[object Date]"===Ie.call(e)||e instanceof Date}(d)||isNaN(d.valueOf()))throw new TypeError("option expires is invalid");r+="; Expires="+d.toUTCString()}i.httpOnly&&(r+="; HttpOnly");i.secure&&(r+="; Secure");if(i.priority){switch("string"==typeof i.priority?i.priority.toLowerCase():i.priority){case"low":r+="; Priority=Low";break;case"medium":r+="; Priority=Medium";break;case"high":r+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(i.sameSite){switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return r},Ie=Object.prototype.toString,Le=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function Be(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function De(e){return encodeURIComponent(e)}function Me(e,n){try{return n(e)}catch(n){return e}}var Oe={parse:Ce,serialize:Te},Ne={"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"},Pe={"vi-VN":"marrybaby.vn"},Se=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Qe=function(e){var n=exports.GlobalData.env.isMarryBaby;return"https://".concat(n?Pe[e]:Ne[e])},Re=function(e){var n=e.indexOf("?");return n>=0?e.slice(0,n+1)+e.slice(n+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Ue=function(e){var n=exports.GlobalData.env.isMarryBaby;if("undefined"!=typeof window)return window.location.origin;var t="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":"https://".concat(t?n?"fe.":"discover.":n?"www.":"").concat(Ne[e])},Ge=function(n,t,i){var a="";i&&(a=Object.keys(i).map((function(e){return e+"="+i[e]})).join("&"));var o=((null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{}).togetherBaseApiUrl,r=void 0===o?"":o,l=j.default(n,e.__assign(e.__assign({},(null==t?void 0:t._locale)?{website_url:Qe(String(t._locale))}:{}),t));return l+="".concat(l.includes("?")?"&":"?").concat(a),r+"api/v1/"+Re(l)},je=function(n,t){var i=((null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{}).careBaseApiUrl;return((void 0===i?"":i)||"https://service-health-care.hellohealthgroup.com/")+Re(j.default(n,e.__assign({},t)))},ze=function(e){return(null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e},He=function(n,t,i,a){return void 0===a&&(a=!1),e.__awaiter(void 0,void 0,void 0,(function(){var o,r,l,d,s;return e.__generator(this,(function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,fetch(a?n:(c=n,encodeURI(c).replace(/%5B/g,"[").replace(/%5D/g,"]")),e.__assign(e.__assign({method:t},ze(i)),{headers:e.__assign({},null==i?void 0:i.headers)})).then((function(e){return e.json()}))];case 1:return(o=u.sent())?[2,o]:[3,3];case 2:return r=u.sent(),console.log(r),console.log({url:n,status:null===(l=null==r?void 0:r.response)||void 0===l?void 0:l.status,statusText:null===(d=null==r?void 0:r.response)||void 0===d?void 0:d.statusText}),[2,(null===(s=null==r?void 0:r.response)||void 0===s?void 0:s.data)||null];case 3:return[2,null]}var c}))}))},Fe=function(n,t,i,a){return e.__awaiter(void 0,void 0,void 0,(function(){var o,r,l,d;return e.__generator(this,(function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),o=Oe.parse(a||""),r=o[te],(l=r||h.getCookie(te))&&l.length?[4,fetch(n,e.__assign(e.__assign({method:t},ze(i)),{headers:e.__assign({Authorization:"Bearer "+l},null==i?void 0:i.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(d=s.sent())return[2,d];s.label=2;case 2:return[3,4];case 3:return s.sent(),[2,null];case 4:return[2,null]}}))}))};function Ke(e,n,t){var i=new RegExp("([?&])"+n+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(i)?e.replace(i,"$1"+n+"="+t+"$2"):e+a+n+"="+t}var Ye=function(e,n,t,i){return t&&n?"".concat(t,"-").concat(n):"".concat(G.default(e||"",{lower:!0,locale:i||Se}),"-").concat(n)},We=function(e){var n,t=e.name,i=e.id,a=e.locale;return"/care/".concat(null===(n=oe[a||"vi-VN"])||void 0===n?void 0:n.DOCTOR,"/").concat(Ye(t,i))},Ze=function(e){var n,t=e.name,i=e.id,a=e.slug,o=e.locale;return"/care/".concat(null===(n=oe[o||"vi-VN"])||void 0===n?void 0:n.HOSPITAL,"/").concat(Ye(t,i,a))},Ve={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},qe=n.createContext({data:Ve,action:{pushNotifications:function(e){return e},sanitizeFunction:function(e){return e}}});exports.GlobalData=Ve;var Xe,Je,$e,en,nn=M.default.div(Xe||(Xe=e.__makeTemplateObject(["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"],["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.colors.secondaryBase}),(function(e){return e.theme.mbColors.pink})),tn=function(e){var t=e.className,i=e.isMarryBaby,a=e.style,o=e.avatar,r=e.username,l=e.isLazy,d=n.useContext(qe).data.env.isMarryBaby,s="boolean"==typeof i?i:d,u=n.useState(!1),c=u[0],p=u[1];return n.useEffect((function(){var e=new Image;e.onerror=function(){p(!0)},e.src=o}),[]),D.default.createElement(nn,{"data-is-marrybaby":s,className:t,style:a},o&&!c?D.default.createElement("img",{src:l?void 0:o,"data-src":l?o:void 0,className:"avatar ".concat(l?"lazy":""),alt:"avatar",onError:function(){p(!0)}}):D.default.createElement("div",{className:"avatar avatar-default"},r&&(null==r?void 0:r.length)>0?r[0].toUpperCase():"A"))},an="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAQACAMAAABIw9uxAAAAilBMVEUAAAC/v7+/v7+6urq/v7+/v7+8vLy/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7/AwMC/v7+/v7+/v7+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pW1QaAG4Ij5H06sDYD8AhT5n0qKP4Dzgl/DGXvuyZ+wG4pq9LQMTTH8BB4VJ6MOPHH8BN51e5V0z1H3DVopb7ZMz9AxxWRnKHgvQ/4LRdLDe7MvgPcNwilRt1rH/AeUE7Z/3jF3t3t5M6FARgdOgRKiREeiAYQ3J+q43Kfv/X805ABcvtnrXeoTf9ZmaT12vj+4e8lm1c6872H9Ri18V1fjn+A/WYLuIarf4PNZn8ifFurf9CZR5itN8FqMw6RnopQHXWIwOg/X+o0TpGWAkAUKchvuf1H6jVPL7zrwCVmmzjsr8mgKFek+e4qC9AvXZtXLAtQM2Wt3FWowBA5X7GWQ8FqNx9nLGyAwzVu2nja0MBqvcUX1pJgJDB1hIQ5LVr4rOZKyCQwxCf3RcghUlrCBDyWsdHjTMAkMW0NQUMef13BwDy2s3ixMwQACSyiBN3BcjjNU7MC5DHdOYtAMjrOY4tC5DISQf44R8gpPIUR9oCZHITR7oCpPIYB4sCpNJZBYS8FnGwL0AqW3NAkNfcPVDIa3ANBPLq48A9QEhmE++aAiTTmAOCvDoVEPLaiwCQ1yACQF69CAB5bUQASKwRASCvTgSAvPYiAOQ1iACQVy8CQF4bEQASa0QAyKsTASCvvQgAeQ0iAOTViwCQ11t7dlACAAgFUAxsIPwIghf75zPI22psJACELQkAXVsCQNeTANB1JQB0HQkAXSMBIGxJAOjaEgC6ngSArisBoOtIAOiaD+58ZjwSBuPYAAAAAElFTkSuQmCC",on="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",rn="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9 16.9998C13.4183 16.9998 17 13.418 17 8.99976C17 4.58148 13.4183 0.999756 9 0.999756C4.58172 0.999756 1 4.58148 1 8.99976C1 13.418 4.58172 16.9998 9 16.9998Z' fill='white' stroke='%23E4E8EC' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10.3333 7.66679V5.00012H7.66667V7.66679H5V10.3335H7.66667V13.0001H10.3333V10.3335H13V7.66679H10.3333Z' fill='%23FF5331'/%3e%3c/svg%3e",ln=M.default.div(Je||(Je=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1em;\n button {\n position: relative;\n }\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1em;\n button {\n position: relative;\n }\n"]))),dn=t.keyframes($e||($e=e.__makeTemplateObject(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"],["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"])));M.default.div(en||(en=e.__makeTemplateObject(["\n display: flex;\n width: fit-content;\n width: -moz-fit-content;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 1rem 2rem;\n background: white;\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),\n -2px 2px 5px rgba(67, 86, 100, 0.123689);\n .loading-spinner {\n width: 24px;\n height: 24px;\n margin-bottom: 0.5rem;\n animation: "," 1.2s linear infinite;\n }\n &[data-is-marrybaby='true'] {\n box-shadow: none;\n }\n"],["\n display: flex;\n width: fit-content;\n width: -moz-fit-content;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 1rem 2rem;\n background: white;\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),\n -2px 2px 5px rgba(67, 86, 100, 0.123689);\n .loading-spinner {\n width: 24px;\n height: 24px;\n margin-bottom: 0.5rem;\n animation: "," 1.2s linear infinite;\n }\n &[data-is-marrybaby='true'] {\n box-shadow: none;\n }\n"])),dn);var sn=function(e){var n=e.className,t=e.size,i=void 0===t?"md":t,a=g.useTranslations().t;return D.default.createElement(ln,{className:n},D.default.createElement(o.Button,{size:i,color:"transparent",isLoading:!0},a("loading")))},un=M.default.div(gn||(gn=e.__makeTemplateObject(["\n position: fixed;\n left: 50%;\n width: 343px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 0px 4px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n\n "," {\n width: 750px;\n }\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n .popup-content {\n "," {\n display: block;\n }\n display: flex;\n position: relative;\n z-index: 111;\n height: 100%;\n .button-see-more {\n margin: 32px 0;\n padding: 0;\n > * {\n display: inline-block;\n }\n }\n .close-button {\n position: absolute;\n z-index: 100;\n top: 10px;\n right: 10px;\n cursor: pointer;\n width: unset;\n height: unset;\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n }\n\n .main-info {\n padding-bottom: 32px;\n background-color: ",";\n border-radius: 6px;\n .btn-booking {\n display: flex;\n margin: 12px auto;\n }\n .avatar-title {\n position: relative;\n width: 100%;\n padding-top: 46px;\n text-align: center;\n }\n }\n"],["\n position: fixed;\n left: 50%;\n width: 343px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 0px 4px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n\n "," {\n width: 750px;\n }\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n .popup-content {\n "," {\n display: block;\n }\n display: flex;\n position: relative;\n z-index: 111;\n height: 100%;\n .button-see-more {\n margin: 32px 0;\n padding: 0;\n > * {\n display: inline-block;\n }\n }\n .close-button {\n position: absolute;\n z-index: 100;\n top: 10px;\n right: 10px;\n cursor: pointer;\n width: unset;\n height: unset;\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n }\n\n .main-info {\n padding-bottom: 32px;\n background-color: ",";\n border-radius: 6px;\n .btn-booking {\n display: flex;\n margin: 12px auto;\n }\n .avatar-title {\n position: relative;\n width: 100%;\n padding-top: 46px;\n text-align: center;\n }\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.gray200}),i.MediaQueries.tdUp,i.MediaQueries.mbDown,(function(e){return e.theme.colors.blue50})),cn=M.default.div(fn||(fn=e.__makeTemplateObject(["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"]))),pn=M.default.div(hn||(hn=e.__makeTemplateObject(["\n .image-container {\n .badge-avatar {\n position: absolute;\n right: 0;\n bottom: 0;\n top: 0;\n }\n }\n display: flex;\n justify-content: center;\n padding-bottom: 15px;\n text-align: center;\n .profile-image {\n width: 100px;\n min-width: 100px;\n height: 100px;\n min-height: 100px;\n border-radius: 50%;\n object-fit: cover;\n }\n .badge-avatar {\n width: 24px;\n height: 24px;\n }\n"],["\n .image-container {\n .badge-avatar {\n position: absolute;\n right: 0;\n bottom: 0;\n top: 0;\n }\n }\n display: flex;\n justify-content: center;\n padding-bottom: 15px;\n text-align: center;\n .profile-image {\n width: 100px;\n min-width: 100px;\n height: 100px;\n min-height: 100px;\n border-radius: 50%;\n object-fit: cover;\n }\n .badge-avatar {\n width: 24px;\n height: 24px;\n }\n"]))),mn=M.default.div(vn||(vn=e.__makeTemplateObject(["\n position: relative;\n z-index: 9;\n .specialty {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n }\n\n padding: 0px 16px;\n text-align: center;\n .specialty {\n justify-content: center;\n }\n\n .experience {\n padding: 16px 0px 32px;\n text-align: left;\n .btn-wrapper {\n margin-top: 24px;\n }\n }\n p {\n max-width: 100%;\n -webkit-line-clamp: 4;\n -webkit-box-orient: vertical;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n"],["\n position: relative;\n z-index: 9;\n .specialty {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n }\n\n padding: 0px 16px;\n text-align: center;\n .specialty {\n justify-content: center;\n }\n\n .experience {\n padding: 16px 0px 32px;\n text-align: left;\n .btn-wrapper {\n margin-top: 24px;\n }\n }\n p {\n max-width: 100%;\n -webkit-line-clamp: 4;\n -webkit-box-orient: vertical;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n"])));M.default.span(xn||(xn=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin: 0 0.4em;\n color: ",";\n"],["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin: 0 0.4em;\n color: ",";\n"])),(function(e){return e.theme.colors.neutral300})),M.default.div(bn||(bn=e.__makeTemplateObject(["\n display: inline-block;\n width: 3px;\n height: 3px;\n margin: 0;\n background-color: ",";\n border-radius: 50%;\n"],["\n display: inline-block;\n width: 3px;\n height: 3px;\n margin: 0;\n background-color: ",";\n border-radius: 50%;\n"])),(function(e){return e.theme.colors.gray400})),M.default.div(wn||(wn=e.__makeTemplateObject(["\n display: flex;\n margin-top: 8px;\n\n .bullet-point {\n width: 24px;\n height: 24px;\n }\n"],["\n display: flex;\n margin-top: 8px;\n\n .bullet-point {\n width: 24px;\n height: 24px;\n }\n"])));var gn,fn,hn,vn,xn,bn,wn,An,yn=M.default.ul(An||(An=e.__makeTemplateObject(["\n padding-left: 18px;\n li {\n list-style-type: disc;\n }\n"],["\n padding-left: 18px;\n li {\n list-style-type: disc;\n }\n"]))),_n=function(e){var t,i,r,l,d=e.isOpen,s=void 0===d||d,u=e.onClose,c=e.enableAnimation,p=void 0===c||c,m=e.doctorId,f=e.locale,h=e.isMobile,v=g.useTranslations().t,x=n.useState(null),A=x[0],y=x[1],_=n.useState(!1),E=_[0],k=_[1];n.useEffect((function(){if(s&&m&&String(null==A?void 0:A.id)!==String(m)){k(!0);try{y(null),He(je(Ee.GET_DOCTOR_INFO,{doctorId:m,website_url:Ne[f]}),"get").then((function(e){y(null==e?void 0:e._data.doctor)}))}catch(e){console.error(e)}k(!1)}}),[s,m,null==A?void 0:A.id]);var C=(null==A?void 0:A.experiences)||[],T=((null==A?void 0:A.specialties)||[]).map((function(e){return(null==e?void 0:e.name)||e})).join(" • "),I=C.map((function(e){try{return JSON.parse(e.description)}catch(n){return e.description}})).filter((function(e){return e.content})),L=w.useId(null===(t=null==A?void 0:A.experiences)||void 0===t?void 0:t.length);return D.default.createElement(D.default.Fragment,null,D.default.createElement(un,{"data-open":s,"data-animation":p,onClick:function(e){return e.stopPropagation()}},E||!A?D.default.createElement(sn,null):D.default.createElement("div",{className:"popup-content"},D.default.createElement("div",{className:"close-button",onClick:u},D.default.createElement("img",{src:on,style:{width:20,height:20},alt:"close-icon"})),D.default.createElement("div",{className:"main-info"},D.default.createElement("div",{className:"border-banner"}),D.default.createElement("div",{className:"avatar-title"},D.default.createElement(pn,null,D.default.createElement("div",{className:"image-container"},D.default.createElement("div",{style:{position:"relative"}},D.default.createElement("img",{src:(null==A?void 0:A.avatar)?null==A?void 0:A.avatar:an,className:"profile-image",alt:"avatar"}),D.default.createElement("img",{className:"badge-avatar",src:rn,alt:"badge"})))),D.default.createElement(mn,null,D.default.createElement(a.Text,{size:"s3",type:"semiBold",className:"full-name"},null==A?void 0:A.name),D.default.createElement("div",{className:"specialty"},T&&D.default.createElement(D.default.Fragment,null,D.default.createElement(a.Text,{size:"p4",color:b.theme.colors.gray800},T," • ")),D.default.createElement("a",{href:Ze({id:null===(i=null==A?void 0:A.organization)||void 0===i?void 0:i.id,name:null===(r=null==A?void 0:A.organization)||void 0===r?void 0:r.name,slug:null===(l=null==A?void 0:A.organization)||void 0===l?void 0:l.slug,locale:f}),className:"organisation",target:"_blank",rel:"noreferrer"},D.default.createElement(a.Text,{size:"p4",className:"organisation",color:b.theme.colors.gray800,style:{textDecoration:"underline"}},null==A?void 0:A.organization.name))))),!h&&D.default.createElement("div",{className:"btn-wrapper"},D.default.createElement("a",{href:We({name:A.name,id:A.id,locale:f})},D.default.createElement(o.Button,{color:"primary",size:"md",className:"btn-booking"},v("careBooking.bookAnAppointment"))))),I&&D.default.createElement(mn,null,D.default.createElement("div",{className:"experience"},D.default.createElement(a.Text,{type:"bold",size:"s3",color:b.theme.colors.gray800,style:{paddingBottom:16}},v("expert.content.description").toUpperCase()),D.default.createElement(yn,null,I.map((function(e,n){return D.default.createElement("li",{key:L[n]},D.default.createElement(a.Text,{size:"p2"},function(e){return(null==e?void 0:e.year)?"".concat(e.year," ").concat(null==e?void 0:e.content):(null==e?void 0:e.content)?e.content:"string"==typeof e?e:""}(e)))}))),h?D.default.createElement("div",{className:"btn-wrapper"},D.default.createElement("a",{href:We({name:A.name,id:A.id,locale:f})},D.default.createElement(o.Button,{color:"primary",size:"md",className:"btn-booking"},v("careBooking.bookAnAppointment")))):D.default.createElement("a",{href:We({name:A.name,id:A.id,locale:f})},D.default.createElement(a.Text,{size:"s4",color:"#2D87F3",style:{paddingTop:24}},v("home.seeExpert"))))))),D.default.createElement(cn,{"data-open":s,onClick:function(e){e.stopPropagation(),u()}}))},En=M.default.div(In||(In=e.__makeTemplateObject(["\n position: fixed;\n left: 50%;\n width: 343px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 0px 4px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n\n "," {\n width: 750px;\n }\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n .popup-content {\n "," {\n display: block;\n }\n display: flex;\n position: relative;\n z-index: 111;\n height: 100%;\n .button-see-more {\n margin: 32px 0;\n padding: 0;\n > * {\n display: inline-block;\n }\n }\n .close-button {\n position: absolute;\n z-index: 100;\n top: 10px;\n right: 10px;\n cursor: pointer;\n width: unset;\n height: unset;\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n }\n\n .main-info {\n padding-bottom: 32px;\n background-color: ",";\n border-radius: 6px;\n\n .avatar-title {\n position: relative;\n width: 100%;\n padding-top: 46px;\n text-align: center;\n }\n }\n"],["\n position: fixed;\n left: 50%;\n width: 343px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 0px 4px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n\n "," {\n width: 750px;\n }\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n .popup-content {\n "," {\n display: block;\n }\n display: flex;\n position: relative;\n z-index: 111;\n height: 100%;\n .button-see-more {\n margin: 32px 0;\n padding: 0;\n > * {\n display: inline-block;\n }\n }\n .close-button {\n position: absolute;\n z-index: 100;\n top: 10px;\n right: 10px;\n cursor: pointer;\n width: unset;\n height: unset;\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n }\n\n .main-info {\n padding-bottom: 32px;\n background-color: ",";\n border-radius: 6px;\n\n .avatar-title {\n position: relative;\n width: 100%;\n padding-top: 46px;\n text-align: center;\n }\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.gray200}),i.MediaQueries.tdUp,i.MediaQueries.mbDown,(function(e){return e.theme.colors.blue50})),kn=M.default.div(Ln||(Ln=e.__makeTemplateObject(["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"]))),Cn=M.default.div(Bn||(Bn=e.__makeTemplateObject(["\n .image-container {\n .badge-avatar {\n position: absolute;\n right: 0;\n bottom: 0;\n top: 0;\n }\n }\n display: flex;\n justify-content: center;\n padding-bottom: 15px;\n text-align: center;\n .profile-image {\n width: 100px;\n min-width: 100px;\n height: 100px;\n min-height: 100px;\n border-radius: 50%;\n object-fit: cover;\n }\n .badge-avatar {\n width: 24px;\n height: 24px;\n }\n"],["\n .image-container {\n .badge-avatar {\n position: absolute;\n right: 0;\n bottom: 0;\n top: 0;\n }\n }\n display: flex;\n justify-content: center;\n padding-bottom: 15px;\n text-align: center;\n .profile-image {\n width: 100px;\n min-width: 100px;\n height: 100px;\n min-height: 100px;\n border-radius: 50%;\n object-fit: cover;\n }\n .badge-avatar {\n width: 24px;\n height: 24px;\n }\n"]))),Tn=M.default.div(Dn||(Dn=e.__makeTemplateObject(["\n position: relative;\n z-index: 9;\n .specialty {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n }\n\n padding: 0px 16px;\n text-align: center;\n .specialty {\n justify-content: center;\n }\n\n .experience {\n padding: 16px 0px 32px;\n text-align: left;\n .btn-wrapper {\n margin-top: 24px;\n }\n }\n p {\n max-width: 100%;\n -webkit-line-clamp: 4;\n -webkit-box-orient: vertical;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n"],["\n position: relative;\n z-index: 9;\n .specialty {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n }\n\n padding: 0px 16px;\n text-align: center;\n .specialty {\n justify-content: center;\n }\n\n .experience {\n padding: 16px 0px 32px;\n text-align: left;\n .btn-wrapper {\n margin-top: 24px;\n }\n }\n p {\n max-width: 100%;\n -webkit-line-clamp: 4;\n -webkit-box-orient: vertical;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n"])));M.default.span(Mn||(Mn=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin: 0 0.4em;\n color: ",";\n"],["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin: 0 0.4em;\n color: ",";\n"])),(function(e){return e.theme.colors.neutral300})),M.default.div(On||(On=e.__makeTemplateObject(["\n display: inline-block;\n width: 3px;\n height: 3px;\n margin: 0;\n background-color: ",";\n border-radius: 50%;\n"],["\n display: inline-block;\n width: 3px;\n height: 3px;\n margin: 0;\n background-color: ",";\n border-radius: 50%;\n"])),(function(e){return e.theme.colors.gray400}));var In,Ln,Bn,Dn,Mn,On,Nn,Pn,Sn,Qn,Rn,Un,Gn,jn,zn=M.default.div(Nn||(Nn=e.__makeTemplateObject(["\n display: flex;\n margin-top: 8px;\n\n .bullet-point {\n width: 24px;\n height: 24px;\n }\n"],["\n display: flex;\n margin-top: 8px;\n\n .bullet-point {\n width: 24px;\n height: 24px;\n }\n"]))),Hn={author:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z' fill='%2345A4FF'/%3e%3cpath d='M23.9998 11.9995C23.9998 11.4024 23.9561 10.8154 23.8719 10.2417L18.7952 5.16504L5.04102 18.9585L9.89867 23.8162C10.5809 23.9366 11.283 23.9995 11.9998 23.9995C18.6272 23.9995 23.9998 18.6269 23.9998 11.9995Z' fill='%232D87F3'/%3e%3cpath d='M9.01377 17.824L5.04102 18.9591L6.17609 14.9863L8.54445 15.4556L9.01377 17.824Z' fill='white'/%3e%3cpath d='M8.54399 15.4561L5.04102 18.9591L9.01321 17.824L8.54399 15.4561Z' fill='%23F7F9FC'/%3e%3cpath d='M6.46714 18.5518L5.4485 17.5332L5.04102 18.9593L6.46714 18.5518Z' fill='%23E4E8EC'/%3e%3cpath d='M5.95747 18.043L5.04102 18.9595L6.46659 18.5521L5.95747 18.043Z' fill='%23D2D6DC'/%3e%3cpath d='M15.8281 5.33105L18.6654 8.16829L9.01365 17.82L6.17641 14.9828L15.8281 5.33105Z' fill='%23FFD658'/%3e%3cpath d='M7.59375 16.4043L17.2455 6.75259L18.6638 8.17094L9.0121 17.8226L7.59375 16.4043Z' fill='%23FFC326'/%3e%3cpath d='M18.3123 8.52499L15.4746 5.68737L16.5983 4.56359C17.0386 4.12334 17.7524 4.12334 18.1927 4.56359L19.436 5.8069C19.8763 6.24715 19.8763 6.96096 19.436 7.40121L18.3123 8.52499Z' fill='%23FF5331'/%3e%3cpath d='M18.8155 5.18555L16.8945 7.10648L18.3131 8.52497L19.4368 7.40119C19.877 6.96094 19.877 6.24713 19.4368 5.80688L18.8155 5.18555Z' fill='%23F44D2C'/%3e%3c/svg%3e",edtior:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z' fill='%2345A4FF'/%3e%3cpath d='M23.9998 11.9995C23.9998 11.4024 23.9561 10.8154 23.8719 10.2417L18.7952 5.16504L5.04102 18.9585L9.89867 23.8162C10.5809 23.9366 11.283 23.9995 11.9998 23.9995C18.6272 23.9995 23.9998 18.6269 23.9998 11.9995Z' fill='%232D87F3'/%3e%3cpath d='M9.01377 17.824L5.04102 18.9591L6.17609 14.9863L8.54445 15.4556L9.01377 17.824Z' fill='white'/%3e%3cpath d='M8.54399 15.4561L5.04102 18.9591L9.01321 17.824L8.54399 15.4561Z' fill='%23F7F9FC'/%3e%3cpath d='M6.46714 18.5518L5.4485 17.5332L5.04102 18.9593L6.46714 18.5518Z' fill='%23E4E8EC'/%3e%3cpath d='M5.95747 18.043L5.04102 18.9595L6.46659 18.5521L5.95747 18.043Z' fill='%23D2D6DC'/%3e%3cpath d='M15.8281 5.33105L18.6654 8.16829L9.01365 17.82L6.17641 14.9828L15.8281 5.33105Z' fill='%23FFD658'/%3e%3cpath d='M7.59375 16.4043L17.2455 6.75259L18.6638 8.17094L9.0121 17.8226L7.59375 16.4043Z' fill='%23FFC326'/%3e%3cpath d='M18.3123 8.52499L15.4746 5.68737L16.5983 4.56359C17.0386 4.12334 17.7524 4.12334 18.1927 4.56359L19.436 5.8069C19.8763 6.24715 19.8763 6.96096 19.436 7.40121L18.3123 8.52499Z' fill='%23FF5331'/%3e%3cpath d='M18.8155 5.18555L16.8945 7.10648L18.3131 8.52497L19.4368 7.40119C19.877 6.96094 19.877 6.24713 19.4368 5.80688L18.8155 5.18555Z' fill='%23F44D2C'/%3e%3c/svg%3e",expert:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='12' cy='12' r='12' fill='%23FFCB37'/%3e%3ccircle cx='12' cy='12' r='10.5' fill='%23FE921D'/%3e%3cpath d='M11.443 5.13654C11.6446 4.63466 12.355 4.63466 12.5566 5.13654L13.9931 8.71375C14.0789 8.92747 14.2795 9.0732 14.5093 9.08878L18.3553 9.34957C18.8949 9.38615 19.1145 10.0619 18.6994 10.4086L15.7412 12.8802C15.5645 13.0279 15.4878 13.2637 15.544 13.4871L16.4845 17.2254C16.6164 17.7499 16.0417 18.1676 15.5836 17.88L12.3188 15.8303C12.1238 15.7079 11.8758 15.7079 11.6808 15.8303L8.41599 17.88C7.95794 18.1676 7.38314 17.7499 7.51509 17.2254L8.45556 13.4871C8.51175 13.2637 8.43513 13.0279 8.25839 12.8802L5.30017 10.4086C4.88514 10.0619 5.10469 9.38615 5.64429 9.34957L9.49031 9.08878C9.7201 9.0732 9.92068 8.92747 10.0065 8.71375L11.443 5.13654Z' fill='white'/%3e%3c/svg%3e","fact-check":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16Z' fill='%2300C076'/%3e%3cpath d='M11.9456 5.46631L6.66562 10.2663L4.26562 8.08449' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",medical:rn},Fn=function(t){var i=t.isOpen,o=void 0===i||i,r=t.onClose,l=t.enableAnimation,d=void 0===l||l,s=t.expertId,u=g.useTranslations().t,c=n.useState(null),p=c[0],m=c[1],f=n.useState(!1),h=f[0],v=f[1];return n.useEffect((function(){if(o&&s&&String(null==p?void 0:p.user_id)!==String(s)){v(!0);try{m(null),He(function(n,t){var i=((null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{}).discoverBaseApiUrl;return(void 0===i?"":i)+"wp-json/api/"+Re(j.default(n,e.__assign({},t)))}(ke,{id:s}),"get").then((function(e){m(null==e?void 0:e.data)}))}catch(e){console.error(e)}v(!1)}}),[o,s,null==p?void 0:p.user_id]),D.default.createElement(D.default.Fragment,null,D.default.createElement(En,{"data-open":o,"data-animation":d,onClick:function(e){return e.stopPropagation()}},h||!p?D.default.createElement(sn,null):D.default.createElement("div",{className:"popup-content"},D.default.createElement("div",{className:"close-button",onClick:r},D.default.createElement("img",{src:on,style:{width:20,height:20},alt:"close-icon"})),D.default.createElement("div",{className:"main-info"},D.default.createElement("div",{className:"border-banner"}),D.default.createElement("div",{className:"avatar-title"},D.default.createElement(Cn,null,D.default.createElement("div",{className:"image-container"},D.default.createElement("div",{style:{position:"relative"}},D.default.createElement("img",{src:(null==p?void 0:p.avatar)?null==p?void 0:p.avatar:an,className:"profile-image",alt:"avatar"}),D.default.createElement("img",{className:"badge-avatar",src:Hn[null==p?void 0:p.role],alt:"badge"})))),D.default.createElement(Tn,null,D.default.createElement(a.Text,{size:"s3",className:"full-name",type:"semiBold"},null==p?void 0:p.display_name),D.default.createElement("div",null,D.default.createElement(a.Text,{size:"p4",color:b.theme.colors.gray800},null==p?void 0:p.specialty," • "),D.default.createElement("a",{href:null==p?void 0:p.organisation_url,className:"organisation",target:"_blank",rel:"noreferrer"},D.default.createElement(a.Text,{size:"p4",className:"organisation",color:b.theme.colors.gray800,style:{textDecoration:"underline"}},null==p?void 0:p.organisation)))))),D.default.createElement(Tn,null,D.default.createElement("div",{className:"experience"},D.default.createElement(a.Text,{type:"bold",size:"p4",color:b.theme.colors.gray800,style:{paddingBottom:16}},u("expert.content.description").toUpperCase()),D.default.createElement("div",{className:"list-items"},!!(null==p?void 0:p.experiences)&&p.experiences.filter((function(e){return!(!e||!e.title&&!e.organization)})).slice(0,3).map((function(e,n){return D.default.createElement(zn,{key:n},D.default.createElement("img",{className:"bullet-point",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='12' cy='12' r='2' fill='%232D87F3'/%3e%3c/svg%3e",alt:"point"}),D.default.createElement("div",{className:"text-contain"},D.default.createElement(A.Heading,{tag:"h6",color:b.theme.colors.gray800},null==e?void 0:e.title),D.default.createElement(a.Text,{size:"p2",color:b.theme.colors.gray500},null==e?void 0:e.organization)))}))),D.default.createElement("a",{href:null==p?void 0:p.profile_url},D.default.createElement(a.Text,{size:"s4",color:"#2D87F3",style:{paddingTop:24}},u("home.seeExpert"))))))),D.default.createElement(kn,{"data-open":o,onClick:function(e){e.stopPropagation(),r()}}))},Kn=M.default.div(Pn||(Pn=e.__makeTemplateObject(["\n position: fixed;\n left: 50%;\n width: 343px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 0px 4px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n\n "," {\n width: 750px;\n }\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n .popup-content {\n "," {\n display: block;\n }\n display: flex;\n position: relative;\n z-index: 111;\n height: 100%;\n .button-see-more {\n margin: 32px 0;\n padding: 0;\n > * {\n display: inline-block;\n }\n }\n .close-button {\n position: absolute;\n z-index: 100;\n top: 10px;\n right: 10px;\n cursor: pointer;\n width: unset;\n height: unset;\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n }\n\n .main-info {\n padding-bottom: 32px;\n background-color: ",";\n border-radius: 6px;\n .btn-booking {\n display: flex;\n margin: 12px auto;\n }\n .avatar-title {\n position: relative;\n width: 100%;\n padding-top: 46px;\n text-align: center;\n }\n }\n"],["\n position: fixed;\n left: 50%;\n width: 343px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 0px 4px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n\n "," {\n width: 750px;\n }\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n .popup-content {\n "," {\n display: block;\n }\n display: flex;\n position: relative;\n z-index: 111;\n height: 100%;\n .button-see-more {\n margin: 32px 0;\n padding: 0;\n > * {\n display: inline-block;\n }\n }\n .close-button {\n position: absolute;\n z-index: 100;\n top: 10px;\n right: 10px;\n cursor: pointer;\n width: unset;\n height: unset;\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n }\n\n .main-info {\n padding-bottom: 32px;\n background-color: ",";\n border-radius: 6px;\n .btn-booking {\n display: flex;\n margin: 12px auto;\n }\n .avatar-title {\n position: relative;\n width: 100%;\n padding-top: 46px;\n text-align: center;\n }\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.gray200}),i.MediaQueries.tdUp,i.MediaQueries.mbDown,(function(e){return e.theme.colors.blue50})),Yn=M.default.div(Sn||(Sn=e.__makeTemplateObject(["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"]))),Wn=M.default.div(Qn||(Qn=e.__makeTemplateObject(["\n .image-container {\n .badge-avatar {\n position: absolute;\n right: 0;\n bottom: 0;\n top: 0;\n }\n }\n display: flex;\n justify-content: center;\n padding-bottom: 15px;\n text-align: center;\n .profile-image {\n width: 100px;\n min-width: 100px;\n height: 100px;\n min-height: 100px;\n border-radius: 50%;\n object-fit: cover;\n }\n .badge-avatar {\n width: 24px;\n height: 24px;\n }\n"],["\n .image-container {\n .badge-avatar {\n position: absolute;\n right: 0;\n bottom: 0;\n top: 0;\n }\n }\n display: flex;\n justify-content: center;\n padding-bottom: 15px;\n text-align: center;\n .profile-image {\n width: 100px;\n min-width: 100px;\n height: 100px;\n min-height: 100px;\n border-radius: 50%;\n object-fit: cover;\n }\n .badge-avatar {\n width: 24px;\n height: 24px;\n }\n"]))),Zn=M.default.div(Rn||(Rn=e.__makeTemplateObject(["\n position: relative;\n z-index: 9;\n .specialty {\n display: block;\n min-width: 240px;\n }\n\n padding: 0px 16px;\n text-align: center;\n .specialty {\n justify-content: center;\n }\n\n .experience {\n padding: 16px 0px 32px;\n text-align: left;\n .btn-wrapper {\n margin-top: 24px;\n }\n }\n p {\n max-width: 100%;\n }\n"],["\n position: relative;\n z-index: 9;\n .specialty {\n display: block;\n min-width: 240px;\n }\n\n padding: 0px 16px;\n text-align: center;\n .specialty {\n justify-content: center;\n }\n\n .experience {\n padding: 16px 0px 32px;\n text-align: left;\n .btn-wrapper {\n margin-top: 24px;\n }\n }\n p {\n max-width: 100%;\n }\n"])));M.default.span(Un||(Un=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin: 0 0.4em;\n color: ",";\n"],["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin: 0 0.4em;\n color: ",";\n"])),(function(e){return e.theme.colors.neutral300})),M.default.div(Gn||(Gn=e.__makeTemplateObject(["\n display: inline-block;\n width: 3px;\n height: 3px;\n margin: 0;\n background-color: ",";\n border-radius: 50%;\n"],["\n display: inline-block;\n width: 3px;\n height: 3px;\n margin: 0;\n background-color: ",";\n border-radius: 50%;\n"])),(function(e){return e.theme.colors.gray400})),M.default.div(jn||(jn=e.__makeTemplateObject(["\n display: flex;\n margin-top: 8px;\n\n .bullet-point {\n width: 24px;\n height: 24px;\n }\n"],["\n display: flex;\n margin-top: 8px;\n\n .bullet-point {\n width: 24px;\n height: 24px;\n }\n"])));var Vn=function(e){var t=e.isOpen,i=void 0===t||t,r=e.onClose,l=e.enableAnimation,d=void 0===l||l,s=e.hospitalId,u=e.locale,c=e.isMobile,p=g.useTranslations().t,m=n.useState(null),f=m[0],h=m[1],v=n.useState(!1),x=v[0],w=v[1];n.useEffect((function(){if(i&&s&&String(null==f?void 0:f.id)!==String(s)){w(!0);try{h(null),He(je(Ee.GET_HOSPITAL_INFO,{hospital_branch_id:s,website_url:Ne[u]}),"get").then((function(e){h(null==e?void 0:e._data.branch)}))}catch(e){console.error(e)}w(!1)}}),[i,s,null==f?void 0:f.id]);var A=(null==f?void 0:f.specialties)||[],y=n.useMemo((function(){return A.map((function(e){return e.name}))}),[A]);return D.default.createElement(D.default.Fragment,null,D.default.createElement(Kn,{"data-open":i,"data-animation":d,onClick:function(e){return e.stopPropagation()}},x||!f?D.default.createElement(sn,null):D.default.createElement("div",{className:"popup-content"},D.default.createElement("div",{className:"close-button",onClick:r},D.default.createElement("img",{src:on,style:{width:20,height:20},alt:"close-icon"})),D.default.createElement("div",{className:"main-info"},D.default.createElement("div",{className:"border-banner"}),D.default.createElement("div",{className:"avatar-title"},D.default.createElement(Wn,null,D.default.createElement("div",{className:"image-container"},D.default.createElement("div",{style:{position:"relative"}},D.default.createElement("img",{src:(null==f?void 0:f.logo)?null==f?void 0:f.logo:an,className:"profile-image",alt:"avatar"}),D.default.createElement("img",{className:"badge-avatar",src:rn,alt:"badge"})))),D.default.createElement(Zn,null,D.default.createElement(a.Text,{size:"s3",type:"semiBold",className:"full-name"},null==f?void 0:f.name),D.default.createElement("div",{className:"specialty"},A&&D.default.createElement(a.Text,{size:"p4",color:b.theme.colors.gray800},y.join(" • "),"•"),D.default.createElement("a",{href:Ze({id:f.id,name:f.name,slug:f.slug,locale:u}),className:"organisation",target:"_blank",rel:"noreferrer"},D.default.createElement(a.Text,{size:"p4",className:"organisation",color:b.theme.colors.gray800,style:{textDecoration:"underline"}},null==f?void 0:f.name))))),!c&&D.default.createElement("a",{href:Ze({id:f.id,name:f.name,slug:f.slug,locale:u})},D.default.createElement("div",{className:"btn-wrapper"},D.default.createElement(o.Button,{color:"primary",size:"md",className:"btn-booking"},p("careBooking.bookAnAppointment"))))),D.default.createElement(Zn,null,D.default.createElement("div",{className:"experience"},D.default.createElement(a.Text,{type:"bold",size:"s3",color:b.theme.colors.gray800,style:{paddingBottom:16}},p("hospital.content.description").toUpperCase()),D.default.createElement(a.Text,{size:"p2",color:b.theme.colors.gray500},f.about),c?D.default.createElement("a",{href:Ze({id:f.id,name:f.name,slug:f.slug,locale:u})},D.default.createElement("div",{className:"btn-wrapper"},D.default.createElement(o.Button,{color:"primary",size:"md",className:"btn-booking"},p("careBooking.bookAnAppointment")))):D.default.createElement("a",{href:Ze({id:f.id,name:f.name,slug:f.slug,locale:u})},D.default.createElement(a.Text,{size:"s4",color:"#2D87F3",style:{paddingTop:24}},p("home.seeHospital"))))))),D.default.createElement(Yn,{"data-open":i,onClick:function(e){e.stopPropagation(),r()}}))},qn={lessThanXSeconds:{one:"တစ်စက္ကန့်အောက်",other:"{{count}} စက္ကန့်အောက်"},xSeconds:{one:"တစ်စက္ကန့်",other:"{{count}} စက္ကန့်"},halfAMinute:"မိနစ်ဝက်",lessThanXMinutes:{one:"တစ်မိနစ်အောက်",other:"{{count}} မိနစ်အောက်"},xMinutes:{one:"တစ်မိနစ်",other:"{{count}}နာရီခန့်"},aboutXHours:{one:"တစ်နာရီခန့်",other:"{{count}}နာရီခန့်"},xHours:{one:"တစ်နာရီ",other:"{{count}}နာရီ"},xDays:{one:"တစ်ရက်",other:"{{count}}ရက်"},aboutXWeeks:{one:"တစ်ပတ်ခန့်",other:"{{count}}ပတ်ခန့်"},xWeeks:{one:"တစ်ပတ်",other:"{{count}}ပတ်"},aboutXMonths:{one:"တစ်လခန့်",other:"{{count}} လခန့်"},xMonths:{one:"တစ်လ",other:"{{count}}လ"},aboutXYears:{one:"တစ်နှစ်ခန့်",other:"{{count}}နှစ်"},xYears:{one:"တစ်နှစ်",other:"{{count}}နှစ်"},overXYears:{one:"တစ်နှစ်ကျော်",other:"{{count}}နှစ်ကျော်"},almostXYears:{one:"တစ်နှစ်နီးပါး",other:"{{count}}နှစ်နီးပါး"}},Xn={code:"my",formatDistance:function(e,n,t){var i,a=qn[e];return i="string"==typeof a?a:1===n?a.one:a.other.replace("{{count}}",n.toString()),(null==t?void 0:t.addSuffix)?t.comparison&&t.comparison>0?i+"အတွင်း":"လွန်ခဲ့သော "+i:i},options:{weekStartsOn:0,firstWeekContainsDate:1}},Jn=M.default.div($n||($n=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n padding: 0 1rem;\n a {\n text-decoration: none;\n }\n .button-more {\n display: flex;\n width: 20px;\n height: 20px;\n align-items: center;\n justify-content: center;\n .button-more-icon {\n height: 13px;\n vertical-align: middle;\n }\n }\n .temp-avatar {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-weight: bold;\n }\n\n .author-info {\n flex: 1;\n margin-left: 0.5rem;\n .author-info-top {\n display: flex;\n align-items: center;\n cursor: pointer;\n }\n .author-info-text-wrapper {\n display: flex;\n min-width: 0px;\n flex: 1 1 0%;\n align-items: center;\n }\n .author-name {\n overflow: hidden;\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .author-time {\n flex-shrink: 0;\n }\n .author-role {\n height: 1rem;\n flex-shrink: 0;\n padding: 0 0.5rem;\n margin-left: 4px;\n border-radius: 1rem;\n color: white;\n font-size: 8px;\n font-weight: 600;\n line-height: 1rem;\n &[data-label-type='admin'] {\n background: ",";\n }\n &[data-label-type='local admin'] {\n background: ",";\n }\n &[data-label-type='ambassador'] {\n background: ",";\n }\n &[data-label-type='expert'] {\n background: ",";\n }\n &[data-label-type='moderator'] {\n background: ",";\n }\n &[data-label-type='sponsor'] {\n background: ",";\n }\n &[data-label-type='guide'] {\n background: ",";\n }\n &[data-label-type='influencer'] {\n background: ",";\n }\n }\n }\n .author-community {\n .text-container {\n color: ",";\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n .time-text {\n font-size: 12px;\n font-weight: normal;\n }\n a {\n color: inherit;\n }\n }\n }\n .expert-wrapper {\n width: 100%;\n }\n &[data-is-booking='true'] {\n display: grid;\n background-color: ",";\n .btn-wrapper {\n padding: 0 16px;\n .btn-booking {\n width: 100%;\n margin: 12px 0;\n }\n }\n }\n &[data-is-marrybaby='true'] {\n align-items: unset;\n .author-info \n "," {\n margin-left: 0.5rem;\n }\n .author-info-text-wrapper {\n flex-wrap: wrap;\n }\n .author-time {\n margin-left: 0.4rem;\n font-size: 14px;\n }\n }\n .author-community {\n .text-container {\n font-size: 12px;\n line-height: 20px;\n }\n .author-community-name {\n color: ",";\n font-weight: 500;\n }\n }\n }\n"],["\n display: flex;\n align-items: center;\n padding: 0 1rem;\n a {\n text-decoration: none;\n }\n .button-more {\n display: flex;\n width: 20px;\n height: 20px;\n align-items: center;\n justify-content: center;\n .button-more-icon {\n height: 13px;\n vertical-align: middle;\n }\n }\n .temp-avatar {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-weight: bold;\n }\n\n .author-info {\n flex: 1;\n margin-left: 0.5rem;\n .author-info-top {\n display: flex;\n align-items: center;\n cursor: pointer;\n }\n .author-info-text-wrapper {\n display: flex;\n min-width: 0px;\n flex: 1 1 0%;\n align-items: center;\n }\n .author-name {\n overflow: hidden;\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .author-time {\n flex-shrink: 0;\n }\n .author-role {\n height: 1rem;\n flex-shrink: 0;\n padding: 0 0.5rem;\n margin-left: 4px;\n border-radius: 1rem;\n color: white;\n font-size: 8px;\n font-weight: 600;\n line-height: 1rem;\n &[data-label-type='admin'] {\n background: ",";\n }\n &[data-label-type='local admin'] {\n background: ",";\n }\n &[data-label-type='ambassador'] {\n background: ",";\n }\n &[data-label-type='expert'] {\n background: ",";\n }\n &[data-label-type='moderator'] {\n background: ",";\n }\n &[data-label-type='sponsor'] {\n background: ",";\n }\n &[data-label-type='guide'] {\n background: ",";\n }\n &[data-label-type='influencer'] {\n background: ",";\n }\n }\n }\n .author-community {\n .text-container {\n color: ",";\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n .time-text {\n font-size: 12px;\n font-weight: normal;\n }\n a {\n color: inherit;\n }\n }\n }\n .expert-wrapper {\n width: 100%;\n }\n &[data-is-booking='true'] {\n display: grid;\n background-color: ",";\n .btn-wrapper {\n padding: 0 16px;\n .btn-booking {\n width: 100%;\n margin: 12px 0;\n }\n }\n }\n &[data-is-marrybaby='true'] {\n align-items: unset;\n .author-info \n "," {\n margin-left: 0.5rem;\n }\n .author-info-text-wrapper {\n flex-wrap: wrap;\n }\n .author-time {\n margin-left: 0.4rem;\n font-size: 14px;\n }\n }\n .author-community {\n .text-container {\n font-size: 12px;\n line-height: 20px;\n }\n .author-community-name {\n color: ",";\n font-weight: 500;\n }\n }\n }\n"])),(function(e){return e.theme.colors.secondaryBase}),(function(e){return e.theme.colors.blue800}),(function(e){return e.theme.colors.blue800}),(function(e){return e.theme.colors.green400}),(function(e){return e.theme.colors.red400}),(function(e){return e.theme.colors.yellow800}),(function(e){return e.theme.colors.teal400}),(function(e){return e.theme.colors.teal400}),(function(e){return e.theme.colors.teal400}),(function(e){return e.theme.colors.gray500}),(function(e){return e.theme.colors.blue50}),i.MediaQueries.mbDown,(function(e){return e.theme.mbColors.cobalt}));M.default.img(et||(et=e.__makeTemplateObject(["\n width: 20px;\n height: 20px;\n margin-left: 0.5rem;\n cursor: pointer;\n object-fit: contain;\n"],["\n width: 20px;\n height: 20px;\n margin-left: 0.5rem;\n cursor: pointer;\n object-fit: contain;\n"])));var $n,et,nt,tt=M.default.div(nt||(nt=e.__makeTemplateObject(["\n position: relative;\n .mini-icon {\n position: absolute;\n right: 1.2px;\n bottom: 1.2px;\n }\n"],["\n position: relative;\n .mini-icon {\n position: absolute;\n right: 1.2px;\n bottom: 1.2px;\n }\n"]))),it={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor","local-admin":"cardAuthor.localAdmin",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},at={"vi-VN":R.default,"id-ID":P.default,"ms-MY":S.default,"km-KH":O.default,"en-PH":O.default,"th-TH":Q.default,"my-MM":Xn,"zh-TW":U.default,"hi-IN":N.default};exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.Avatar=H,exports.BEARER_TOKEN_COOKIE=te,exports.CARE_PATHS=Ee,exports.CardAuthor=function(e){var t=e.time,l=e.className,d=e.community,s=e.name,u=e.username,c=e.url,p=e.avatar,m=e.miniIcon,h=e.role,v=e.style,x=e.type,b=void 0===x?"post":x,w=e.expertId,A=e.isMarryBaby,y=e.title,_=e.doctorId,E=e.hospitalId,k=e.hasQuickBooking,C=e.handleMakeAppointment,T=n.useContext(qe).data,I=T.locale,L=T.router,B=T.env,M=B.isMarryBaby,O=B.togetherBasePath,N="boolean"==typeof A?A:M,P=s||u||"",S=h?function(e){var n=["admin","moderator","ambassador","expert","sponsor","local-admin","guide","influencer"];return n.find((function(n){return n===e}))||n.find((function(n){return e.includes(n)}))||n.find((function(n){return n.includes(e)}))}(h):"",Q=g.useTranslations().t,R=t?isNaN(new Date(t).getTime())?null:new Date(t):null,U=R?r.formatDistanceToNow(R,{locale:at[I]}):t,G=R?r.format(R,"dd/MM/yyyy HH:mm"):t,j=n.useState(!1),z=j[0],F=j[1],K=(L||{}).asPath,Y="https://".concat(f.domainLocales[I]).concat(K),W=function(e){"expert"===h&&(w||_||E)?(e.stopPropagation(),F(!0)):c&&(window.location.href=c)};return n.useEffect((function(){i.toggleNoScroll(z)}),[z]),D.default.createElement(D.default.Fragment,null,"expert"===h&&w?D.default.createElement(Fn,{isOpen:z,onClose:function(){return F(!1)},expertId:w}):null,"expert"===h&&_?D.default.createElement(_n,{isOpen:z,onClose:function(){return F(!1)},doctorId:_,locale:I}):null,"expert"===h&&E?D.default.createElement(Vn,{isOpen:z,onClose:function(){return F(!1)},hospitalId:E,locale:I}):null,D.default.createElement(Jn,{"data-is-marrybaby":N,className:l,style:v,"data-is-booking":k},D.default.createElement("div",{style:{display:"flex",width:"100%"}},D.default.createElement("a",null,D.default.createElement(tt,{onClick:W},D.default.createElement(tn,{className:"author-avatar-wrapper",username:P,avatar:p}),m?D.default.createElement(H,{className:"mini-icon",type:"rounded",avatarImg:D.default.createElement("img",{src:m,style:{width:"12px",height:"12px",objectFit:"cover"},alt:"badge"})}):null)),D.default.createElement("div",{className:"expert-wrapper"},D.default.createElement("div",{className:"author-info"},D.default.createElement("div",{className:"author-info-top"},D.default.createElement("div",{onClick:W,className:"author-info-text-wrapper"},D.default.createElement("div",{className:"author-name"},P),S&&it[S]&&D.default.createElement("div",{className:"author-role","data-label-type":S},y||Q(it[S])),N?D.default.createElement(a.Text,{size:"p4",type:"regular",color:"#9495A0",title:G,className:"author-time"},"".concat("post"===b?"• ":"").concat(U)):null)),D.default.createElement("div",{className:"author-community"},D.default.createElement("div",{className:"text-container"},(null==d?void 0:d.name)&&D.default.createElement(D.default.Fragment,null,D.default.createElement("a",{href:(null==d?void 0:d.slug)&&d.isActive&&!d.isHidden?"".concat(O,"/").concat(null==d?void 0:d.slug):void 0,className:"author-community-name"},"".concat(null==d?void 0:d.name)),(N?void 0:U)?" • ":""),D.default.createElement("span",{className:"time-text"},N?void 0:U)))))),k&&D.default.createElement("div",{className:"btn-wrapper"},D.default.createElement(o.Button,{color:"primary",size:"md",className:"btn-booking",onClick:function(e){null==C||C(_,E),e.stopPropagation()},dataEventCategory:"Care",dataEventAction:"Comment - Quick Booking",dataEventLabel:Y},Q("careBooking.bookAnAppointment")))))},exports.DEFAULT_AVATAR_IMG=J,exports.DEFAULT_IMG=$,exports.DefaultComponentGlobalContextData=Ve,exports.Dropdown=function(n){var t=n.className,i=n.value,a=n.options,o=n.onChange,r=void 0===o?function(){}:o,l=n.id,d=n.placeholderIcon,s=n.placeholder,u=n.style,c=n.size,p=void 0===c?"lg":c,m=n.groupedWithLabel,g=n.disabled,f=n.dropdownLabelTrackingAttributes,h=void 0===f?{}:f,v=n.isNativeSelect,x=void 0!==v&&v,b=D.default.useState(!1),w=b[0],A=b[1],y=function(){return!g&&A(!w)};return x?D.default.createElement(F,{as:"select","data-is-native":"true",value:(null==i?void 0:i.value)||void 0,disabled:g,onChange:function(e){if("string"==typeof e.target.value){var n=a.find((function(n){return n.value===e.target.value}));n&&r(n)}}},s&&D.default.createElement("option",{value:s,disabled:!0,selected:!0},s),a.map((function(e){return D.default.createElement("option",{key:"".concat(l,"-").concat(e.value),value:e.value,disabled:!!e.disabled&&e.disabled},e.label)}))):D.default.createElement(F,{className:t,"data-dropdown-open":w||void 0,"data-size":p,id:l,"data-has-icons":!!d,style:u,onBlur:function(){return A(!1)},tabIndex:0,"data-disabled":g},!!m&&D.default.createElement(V,null,m),D.default.createElement(K,e.__assign({onClick:y,className:m&&"with-label"},h),d," ",D.default.createElement("span",null,i&&i.value?i.label:s)),w&&D.default.createElement(Y,{onClick:y,"data-has-icons":!!d},a.map((function(e){return D.default.createElement(W,{key:"".concat(l,"-").concat(e.value),"data-selected":i&&i.value===e.value||void 0,onClick:function(){return!e.disabled&&!g&&(null==r?void 0:r(e))},"data-disabled":!!e.disabled&&e.disabled},e.icon&&D.default.createElement(Z,null,e.icon),e.label)}))))},exports.HEALTH_TOOL_TYPE=ee,exports.Loading=sn,exports.MAX_IMAGE_UPLOADS=20,exports.PATHS=_e,exports.Popup=function(e){var n=e.type,t=void 0===n?"lead":n,i=e.closeIcon,a=e.isOpen,o=void 0===a||a,r=e.onClose,l=e.children,d=e.className,s=void 0===d?"":d,u=e.enableAnimation,c=void 0===u||u;return D.default.createElement(D.default.Fragment,null,D.default.createElement(q,{"data-open":o,"data-type":t,"data-animation":c},D.default.createElement("div",{className:"".concat(s||""," popup-content")},!!i&&D.default.createElement("div",{className:"close-button",onClick:r},i),l)),D.default.createElement(X,{"data-open":o,onClick:r}))},exports.PopupDoctor=_n,exports.PopupExpert=Fn,exports.PopupHospital=Vn,exports.REPORT_REASON_MAP=ae,exports.TogetherComponentGlobalContext=qe,exports.TogetherComponentGlobalContextProvider=function(e){var t=e.locale,i=void 0===t?"vi-VN":t,a=e.children,o=e.userInfo,r=e.router,l=e.env,d=void 0===l?{isMarryBaby:!1,togetherBasePath:"/community"}:l,s=e.sanitizeFunction,u=void 0===s?function(e){return e}:s,c=e.pushNotifications,p=void 0===c?function(){return!1}:c,m=n.useState(),g=m[0],f=m[1];return exports.GlobalData={userInfo:o,locale:i,togetherUserId:g,router:r,env:d},n.useEffect((function(){(null==o?void 0:o.id)&&Fe(Ge(_e.PROFILE,{_locale:i}),"GET").then((function(e){var n;f(null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.id)}))}),[null==o?void 0:o.id]),D.default.createElement(qe.Provider,{value:{data:{userInfo:o,locale:i,togetherUserId:g,router:r,env:d},action:{pushNotifications:p,sanitizeFunction:u}}},a)},exports.UserAvatar=tn,exports.callApi=He,exports.callApiWithAdminAuth=function(n,t,i,a){return e.__awaiter(void 0,void 0,void 0,(function(){var o,r,l,d;return e.__generator(this,(function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),o=Oe.parse(a||""),r=o[ie],(l=r||h.getCookie(ie))&&l.length?[4,fetch(n,e.__assign(e.__assign({method:t},ze(i)),{headers:e.__assign({Authorization:"Bearer "+l},null==i?void 0:i.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(d=s.sent())return[2,d];s.label=2;case 2:return[3,4];case 3:return s.sent(),[2,null];case 4:return[2,null]}}))}))},exports.callApiWithAuth=Fe,exports.callApiWithOptionalAuth=function(n,t,i,a){return void 0===t&&(t="GET"),e.__awaiter(void 0,void 0,void 0,(function(){var o,r,l,d,s,u,c,p,m,g,f,v,x,b;return e.__generator(this,(function(w){switch(w.label){case 0:if(w.trys.push([0,7,,8]),o="string"==typeof n?n:n.url,r="string"==typeof n?n:n.backupUrl,l=Oe.parse(a||""),d=l[te],!(s=d||h.getCookie(te))||!s.length)return[3,5];w.label=1;case 1:return w.trys.push([1,3,,4]),[4,fetch(o,e.__assign(e.__assign({method:t},ze(i)),{headers:e.__assign({Authorization:"Bearer "+s},null==i?void 0:i.headers)})).then((function(e){return e.json()}))];case 2:return u=w.sent(),(null===(m=null==u?void 0:u.messages)||void 0===m?void 0:m.find((function(e){return"Unauthenticated"===(null==e?void 0:e.toLowerCase())})))?[2,He(r||o,t,i)]:u?[2,u]:[3,4];case 3:return c=w.sent(),console.log({status:null===(g=null==c?void 0:c.response)||void 0===g?void 0:g.status,statusText:null===(f=null==c?void 0:c.response)||void 0===f?void 0:f.statusText}),[2,He(r||o,t,i)];case 4:return[3,6];case 5:return[2,He(r||o,t,i)];case 6:return[3,8];case 7:return p=w.sent(),console.log({status:null===(v=null==p?void 0:p.response)||void 0===v?void 0:v.status,statusText:null===(x=null==p?void 0:p.response)||void 0===x?void 0:x.statusText}),[2,(null===(b=null==p?void 0:p.response)||void 0===b?void 0:b.data)||null];case 8:return[2,null]}}))}))},exports.constants=re,exports.dataTransform=ye,exports.domainLocales=Ne,exports.formatComment=we,exports.formatCommunity=he,exports.formatOvulationInfo=be,exports.formatPost=xe,exports.formatTopic=ve,exports.formatUserProfileUrl=Ae,exports.getApiPath=Ge,exports.getCarePath=je,exports.getCurrentBaseUrl=Ue,exports.getCurrentHref=function(e,n,t){return"undefined"!=typeof window?window.location.href:"".concat(Ue(e)).concat(n).concat(t)},exports.getUrlToSignUp=function(e,n,t){void 0===t&&(t="/community");var i=e||("undefined"!=typeof window?window.location.href:"/"),a="undefined"!=typeof window?window.location.origin:"";return a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/")),function(e,n){var t=exports.GlobalData.env.publicSSO,i=e||window.location.href;return n&&Object.keys(n).map((function(e){Ke(i,e,n[e])})),Ke(i,"source","communities"),t?"".concat(t,"?returnUrl=").concat(encodeURIComponent(i.toString())):i}("".concat(a).concat(t,"/on-boarding?return=").concat(encodeURIComponent(i)),n)},exports.locales=at;