@hhgtech/hhg-components 1.20.55 → 1.20.57

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 (97) hide show
  1. package/build/babyGrowth.js +1 -1
  2. package/build/care.js +1 -1
  3. package/build/components/atoms/icons/Activities.d.ts +4 -0
  4. package/build/components/atoms/icons/GroupPeople.d.ts +4 -0
  5. package/build/components/atoms/icons/GroupPeopleSolid.d.ts +4 -0
  6. package/build/components/atoms/icons/index.d.ts +3 -0
  7. package/build/components/molecules/dueDateCalculator/dueDateFormConception.d.ts +9 -0
  8. package/build/components/molecules/dueDateCalculator/dueDateFormIVF.d.ts +9 -0
  9. package/build/components/molecules/dueDateCalculator/dueDateFormLastPeriod.d.ts +9 -0
  10. package/build/components/molecules/dueDateCalculator/index.d.ts +15 -0
  11. package/build/components/molecules/dueDateCalculator/index.styled.d.ts +9 -0
  12. package/build/components/molecules/dueDateCalculator/utils.d.ts +1 -0
  13. package/build/components/molecules/embeddedHeathToolCards/dueDate.d.ts +27 -0
  14. package/build/components/molecules/embeddedHeathToolCards/image.d.ts +1 -0
  15. package/build/components/molecules/embeddedHeathToolCards/index.styled.d.ts +4 -0
  16. package/build/components/molecules/index.d.ts +3 -0
  17. package/build/components/molecules/toolBannerCard/index.d.ts +15 -0
  18. package/build/components/molecules/toolBannerCard/index.styled.d.ts +10 -0
  19. package/build/components.js +1 -1
  20. package/build/core.js +1 -1
  21. package/build/ecom.js +1 -1
  22. package/build/esm/babyGrowth.js +1 -1
  23. package/build/esm/care.js +1 -1
  24. package/build/esm/components.js +1 -1
  25. package/build/esm/core.js +1 -1
  26. package/build/esm/ecom.js +1 -1
  27. package/build/esm/getDynamicHealthTool-af43c3ae.js +1 -0
  28. package/build/esm/hooks.js +1 -1
  29. package/build/esm/index-06c0c73e.js +1 -0
  30. package/build/esm/{index-a973bdf7.js → index-0f53cc51.js} +1 -1
  31. package/build/esm/index-38c1cf31.js +1 -0
  32. package/build/esm/index-954f6509.js +1 -0
  33. package/build/esm/index-96be4a7e.js +1 -0
  34. package/build/esm/index-9e48935e.js +1 -0
  35. package/build/esm/{index-085436b9.js → index-cb0afbbf.js} +1 -1
  36. package/build/esm/index-e2f04408.js +1 -0
  37. package/build/esm/index.js +1 -1
  38. package/build/esm/{index.styled-e93b28cd.js → index.styled-24e99a43.js} +1 -1
  39. package/build/esm/{index.styled-3041b1ce.js → index.styled-30a8763c.js} +1 -1
  40. package/build/esm/misc.js +1 -1
  41. package/build/esm/navigation.js +1 -1
  42. package/build/esm/navigationLayout_deprecated.js +1 -1
  43. package/build/esm/together.js +1 -1
  44. package/build/esm/types-8b972376.js +1 -0
  45. package/build/esm/{types-83ffabc2.js → types-b26e951a.js} +1 -1
  46. package/build/esm/types-f57c9932.js +1 -0
  47. package/build/esm/useFbDataLayer-5016df43.js +1 -0
  48. package/build/esm/useHealthToolCache-e91f1766.js +1 -0
  49. package/build/esm/utils-89834e91.js +1 -0
  50. package/build/getDynamicHealthTool-501375dc.js +1 -0
  51. package/build/hooks.js +1 -1
  52. package/build/index-20334dc7.js +1 -0
  53. package/build/{index-d9adf19d.js → index-4332aed9.js} +1 -1
  54. package/build/{index-2553cd7e.js → index-7c71c7da.js} +1 -1
  55. package/build/index-83bdc7c2.js +1 -0
  56. package/build/index-a1c509bb.js +1 -0
  57. package/build/index-ba7cc935.js +1 -0
  58. package/build/{index-38566b71.js → index-f3a607d4.js} +1 -1
  59. package/build/{index-e8d2a064.js → index-f474838e.js} +1 -1
  60. package/build/index.js +1 -1
  61. package/build/{index.styled-803ed32b.js → index.styled-827eaf81.js} +1 -1
  62. package/build/index.styled-eb6d40e1.js +1 -0
  63. package/build/misc.js +1 -1
  64. package/build/navigation.js +1 -1
  65. package/build/navigationLayout_deprecated.js +1 -1
  66. package/build/together/api/paths.d.ts +1 -0
  67. package/build/together.js +1 -1
  68. package/build/types-2b3bdf79.js +1 -0
  69. package/build/types-755ecf08.js +1 -0
  70. package/build/{types-58271669.js → types-e1ba8fae.js} +1 -1
  71. package/build/useFbDataLayer-eda77edb.js +1 -0
  72. package/build/useHealthToolCache-338c6870.js +1 -0
  73. package/build/utils-edb59929.js +1 -0
  74. package/package.json +1 -1
  75. package/build/esm/getDynamicHealthTool-ad018fba.js +0 -1
  76. package/build/esm/index-1c0ac9da.js +0 -1
  77. package/build/esm/index-201a9fd2.js +0 -1
  78. package/build/esm/index-31ed6c8a.js +0 -1
  79. package/build/esm/index-997e9c23.js +0 -1
  80. package/build/esm/index-a2adaca0.js +0 -1
  81. package/build/esm/index-b58c7dec.js +0 -1
  82. package/build/esm/index-d37ea840.js +0 -1
  83. package/build/esm/routing-31d4caa0.js +0 -1
  84. package/build/esm/togetherComponentGlobalContext-8172086a.js +0 -1
  85. package/build/esm/types-160a0ead.js +0 -1
  86. package/build/esm/useHealthToolCache-3ed2f96b.js +0 -1
  87. package/build/getDynamicHealthTool-87cf062a.js +0 -1
  88. package/build/index-1838c3cb.js +0 -1
  89. package/build/index-45a198e0.js +0 -1
  90. package/build/index-80ec9ff6.js +0 -1
  91. package/build/index-c7bce60c.js +0 -1
  92. package/build/index-f2654ec7.js +0 -1
  93. package/build/index.styled-e70d5190.js +0 -1
  94. package/build/routing-7d9b5fab.js +0 -1
  95. package/build/togetherComponentGlobalContext-12bfc616.js +0 -1
  96. package/build/types-e4326b91.js +0 -1
  97. package/build/useHealthToolCache-f0e420ac.js +0 -1
package/build/esm/ecom.js CHANGED
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-5532bd7b.js";import{t as o}from"./theme-a50a1aa5.js";import{i as t}from"./constants-3be6f6a9.js";var i,l=Object.freeze({__proto__:null}),n=Object.freeze({__proto__:null}),a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,r="undefined"==typeof window,s=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",u=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",c=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,d=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",m={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},p=a?"http://localhost:3001":t?"https://".concat(m[s]):"https://discover.".concat(m[s]),_=t?"https://wp.".concat(m[s],"/"):"https://staging.".concat(m[s],"/"),h=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:"https://together.".concat(m[s],"/"),E="".concat(p,"/community"),v=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(i||(i={}));var I={"vi-VN":{HOME:function(){return JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#website","@type":"WebSite",description:"Hello Bacsi - Health Information",inLanguage:"vi-VN",name:"Hello Bacsi",potentialAction:[{"@type":"SearchAction","query-input":"required name=search_term_string",target:"https://hellobacsi.com/shop/tim-kiem/?keyword={search_term_string}"}],url:"https://hellobacsi.com/shop/"}]})},CATEGORY:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),void 0===t&&(t=[]),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/danh-muc","@type":"WebPage",name:"Hello Bacsi - Danh Muc",url:"https://hellobacsi.com/shop/danh-muc"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]})},BRAND:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),void 0===t&&(t=[]),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/thuong-hieu","@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/thuong-hieu"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]})},BRAND_DETAIL:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/thuong-hieu/#brand","@type":"BrandDetail",itemListElement:[{"@type":"Item",item:{"@id":"https://hellobacsi.com/shop".concat(e),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop".concat(e)}}]},{"@type":"BrandDetail",url:"https://hellobacsi.com/shop".concat(e),numberOfItems:o,itemListElement:null!=t?t:{}}]})},PRODUCT_DETAIL:function(e,o,t){return void 0===e&&(e=""),void 0===o&&(o=0),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/san-pham/#product","@type":"ProductDetail",itemListElement:[{"@type":"Item",item:{"@id":"https://hellobacsi.com/shop/san-pham/".concat(e),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/san-pham/".concat(e)}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}}},T=Object.freeze({__proto__:null,isDevelopment:a,IS_SSR:r,locale:s,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:u,GOOGLE_ADMIN_LOCATION_KEY:c,GOOGLE_CLIENT_ID:d,GOOGLE_CALENDAR_API_KEY:"",basePath:"shop",SSO_USER_BASE_PATH:"user",CARE_BASE_PATH:"care",COMMUNITY_BASE_PATH:"community",HEALTH_TOOLs_BASE_PATH:"health-tools",NOTIFICATION_TIME_OUT:3e3,DOMAIN_LOCALES:m,DISCOVER_URL_FE:p,DISCOVER_URL_BE:_,TOGETHER_URL_BE:h,TOGETHER_URL_FE:E,SSO_URL:v,DISCOVERY_FOOTER_URL:"#",HEALTH_CARE_FOOTER_URL:"#",HEALTH_TOOLS_FOOTER_URL:"#",HEALTH_TOGETHER_FOOTER_URL:"#",POLICIES_FOOTER_URL:"#",FAQ_FOOTER_URL:"#",SITEMAP_FOOTER_URL:"#",ABOUT_US_FOOTER_URL:"#",EXECUTIVE_BIOS_FOOTER_URL:"#",ADVERTISING_FOOTER_URL:"#",CONTACT_US_FOOTER_URL:"#",ABOUT_GO_CARE_FOOTER_URL:"#",get Gender(){return i},EMAIL_REGEX:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,COUNTRY_SITENAME:{ID:"Hello Sehat",TH:"Hello Khunmor",MY:"Hello Doktor",KH:"Hello Krupet",TW:"Hello Yishi",MM:"Hello Sayarwon",IN:"Hello Swasthya",VN:"Hello Bacsi",PH:"Hello Doctor"},LOCALE_SPECS:{"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png"}},SOCIAL_MEDIA:{"vi-VN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellobacsi/",INSTAGRAM:"https://www.instagram.com/hellobacsi/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCYHzHDXngnB7jkmcQgXwE0w"},"en-PH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoctorPH/",INSTAGRAM:"https://www.instagram.com/hellodoctor_ph/",TWITTER:null},"km-KH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokrupet/",INSTAGRAM:"https://www.instagram.com/hellokrupetofficial/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCVK4p9YPIMkmoerk3X-y-TQ"},"ms-MY":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoktorMY/",INSTAGRAM:"https://www.instagram.com/_hellodoktor_/",TWITTER:null},"id-ID":{LINKEDIN:"https://www.linkedin.com/company/hello-sehat/",FACEBOOK:"https://www.facebook.com/hellosehat",INSTAGRAM:"https://www.instagram.com/hellosehat/",TWITTER:"https://twitter.com/HelloSehat"},"my-MM":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellosayarwon/",INSTAGRAM:"https://www.facebook.com/hellosayarwon/",TWITTER:null},"zh-TW":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/helloyishi/",INSTAGRAM:"https://www.instagram.com/helloyishi/",TWITTER:null},"hi-IN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloSwasthya/",INSTAGRAM:"https://www.instagram.com/hello_swasthya/",TWITTER:null},"th-TH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokhunmor/",INSTAGRAM:"https://www.instagram.com/hellokhunmor/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCbdbow4UhKfa7rqIhclNPIQ/"}},FLAG_LINKS:{ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},STATIC_PAGES:{"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"}},FAVICONS:{"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}]},LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},MAX_ALLOWED_IMG_SIZE:20971520,COUNTRY_CODE_BY_LOCALE:{"vi-VN":"vn","id-ID":"id","ms-MY":"my","km-KH":"kh","en-PH":"ph","th-TH":"th","my-MM":"mm","zh-TW":"tw","hi-IN":"in"},COUNTRY_CURRENCY_SYMBOL:{"vi-VN":"₫","id-ID":"Rp","ms-MY":"RM","km-KH":"៛","en-PH":"₱","th-TH":"฿","my-MM":"K","zh-TW":"$","hi-IN":"₹"},CURRENCY_PREFIX:{IDR:"Dimulai dari"},LOCALISED_SLUGS:{"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}},HEADER_LOGO_ALIGNMENT:"188px",globalFontFamily:"Inter",ENABLE_COMMUNITY_LOCALES:["vi-VN","id-ID","ms-MY","en-PH","th-TH"],ENABLE_CARE_LOCALES:["vi-VN","id-ID","en-PH"],ENABLE_HEALTH_PARENTING_LOCALES:["vi-VN","en-PH","id-ID","ms-MY","km-KH","th-TH","my-MM","zh-TW"],SEO_SCHEMA:I});function g(e){return null!=e}var O,A={formatAutoCompleteAddress:function(e){return e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null},formatPrice:function(e,o){var t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:function(e){return{text:(null==e?void 0:e.name)||""}},formatHelpfulUrl:function(e){return{name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}},formatCategory:function(e,t,i){var l,n,a,r=i?i+"/"+e.slug:e.slug,s=(null===(n=null===(l=null==e?void 0:e.children)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,(function(o){return A.formatCategory(o,e.id,r)})))||[];return{id:null==e?void 0:e.id,name:(null==e?void 0:e.name)||"",logo:(null==e?void 0:e.logo)||"",slug:(null==e?void 0:e.slug)||"",fullSlug:r||"",children:s,backgroundColor:e.color||o.colors.teal50,parentId:t||0,products:(null===(a=e.products)||void 0===a?void 0:a.map(A.formatProduct))||[]}},formatFooterInfo:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g=(null===(i=null===(t=null===(o=null==e?void 0:e.branch)||void 0===o?void 0:o.branch)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(e){return{flag:e.flag||"",name:e.name||"",url:e.url||""}})))||[],O=(null===(a=null===(n=null===(l=null==e?void 0:e.general)||void 0===l?void 0:l.verified)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(e){return{image:e.image||"",url:e.url||""}})))||[],A=(null===(s=null===(r=null==e?void 0:e.menu)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,(function(e){var o,t;return{menu_title:e.menu_title,items:null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(function(e){return{title:e.title,url:e.url}}))}})))||[],f=(null===(d=null===(c=null===(u=null==e?void 0:e.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(function(e){return{icon:e.icon||"",name:e.name||"",url:e.url||""}})))||[];return{branch:{title:(null===(m=null==e?void 0:e.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==e?void 0:e.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==e?void 0:e.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(I=null===(v=null==e?void 0:e.general)||void 0===v?void 0:v.copyright)&&void 0!==I?I:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:f}}},formatNavigation:function(e){var o,t,i,l,n,a;return{hotSearchKeywords:(null===(t=null===(o=null==e?void 0:e.hot_search_keywords)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatHotSearchKeyword))||[],helpfulUrls:(null===(l=null===(i=null==e?void 0:e.helpful_urls)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatHelpfulUrl))||[],categories:(null===(a=null===(n=null==e?void 0:e.categories)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(e){return A.formatCategory(e)})))||[],footer:A.formatFooterInfo(null==e?void 0:e.footer),storeId:(null==e?void 0:e.store_id)||0,customerId:(null==e?void 0:e.customer_id)||0,cartItemsQty:"number"==typeof(null==e?void 0:e.cart_items_qty)?e.cart_items_qty:null}},formatPriceInfo:function(e){return e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null},formatProduct:function(e){var o,t,i,l;if(!e)return null;var n={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&A.formatPriceInfo(e.price)||n,thumbnail:e.thumbnail||"",name:e.name||"",averageRating:Number((e.average_rating||0).toFixed(2)),reviewsCount:e.reviews_count||0,tag:e.tag||null,sku:e.sku||"",slug:e.slug||"",images:e.images||[],tags:e.tags||[],unit:e.unit||"",brand:e.brand?{name:e.brand.name||"",image:e.brand.image||"",slug:e.brand.slug||"",productsCount:e.brand.products_count||0}:null,description:e.description||"",productPromotions:(null===(t=null===(o=e.product_promotions)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatProductPromotion).filter(g))||[],categories:(null===(l=null===(i=e.categories)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,(function(e){return A.formatCategory(e)})).filter(g))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:function(e){return e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null},formatBlogPost:function(e){var o,t;return e?{title:e.title||"",image:e.image||"",link:e.link||"",postData:e.post_data?{reviewed:e.post_data.reviewed?{author:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:A.formatBlogPostDataReviewedUser(e.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(e.post_data.reviewed.is_author)}:null,categories:e.post_data.categories?null===(t=(o=e.post_data.categories).map)||void 0===t?void 0:t.call(o,(function(e){return{termId:e.term_id||0,name:e.name||"",permalink:e.permalink||"",textColor:e.text_color||""}})):[],postDate:e.post_data.post_date||"",postModified:e.post_data.post_modified||"",modifiedTime:e.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:function(e){return e?{id:e.ID||0,userId:e.user_id||0,formerRole:e.former_role||"",role:e.role||"",slug:e.slug||"",displayName:e.display_name||"",description:e.description||"",profileUrl:e.profile_url||"",avatar:e.avatar||"",avatarThumbnail:e.avatar_thumbnail||"",turnOffProfile:Boolean(e.turn_off_profile)}:null},formatBrand:function(e){var o,t,i,l;return e?{id:e.id||0,image:e.image||"",position:e.position||"",isPopular:e.is_popular||!1,summary:e.summary||"",name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatBanner).filter(g))||[],bestsellerProducts:(null===(l=null===(i=e.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(g))||[]}:null},formatHomePage:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,O;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,A.formatBrand).filter(g):[],hotDeals:e.hot_deals?null===(l=(i=e.hot_deals).map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(g):[],newProducts:e.new_products?null===(a=(n=e.new_products).map)||void 0===a?void 0:a.call(n,A.formatProduct).filter(g):[],slideBanners:e.slide_banners?null===(s=(r=e.slide_banners).map)||void 0===s?void 0:s.call(r,A.formatBanner).filter(g):[],subBanners:e.sub_banners?null===(c=(u=e.sub_banners).map)||void 0===c?void 0:c.call(u,A.formatBanner).filter(g):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,A.formatBanner).filter(g):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,A.formatBlogPost).filter(g):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(function(e){return A.formatCategory(e)})).filter(g):[],suggestProducts:e.suggest_products?null===(I=(v=e.suggest_products).map)||void 0===I?void 0:I.call(v,(function(e){return A.formatCategory(e)})).filter(g):[],promotions:e.promotions?null===(O=(T=e.promotions).map)||void 0===O?void 0:O.call(T,(function(e){return A.formatPromotion(e)})).filter(g):[]}:null},formatCategoryPage:function(e){var o,t,i,l;return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatBanner).filter(g))||[],bestsellerProducts:(null===(l=null===(i=e.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(g))||[]}:null},formatBrandPage:function(e){return e?A.formatBrand(e):null},formatPagination:function(e){return e?{current:e.current||0,first:e.first||0,itemsPerPage:e.items_per_page||0,last:e.last||0,next:e.next||0,prev:e.prev||0,totalItems:e.total_items||0}:null},formatProductDetailPage:function(o){var t,i,l,n,a,r,s,u;return o?e(e({},A.formatProduct(o)),{relatedProducts:(null===(i=null===(t=o.related_products)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,A.formatProduct).filter(g))||[],bestsellerProducts:(null===(n=null===(l=o.bestseller_products)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,A.formatProduct).filter(g))||[],viewedProducts:(null===(r=null===(a=o.viewed_products)||void 0===a?void 0:a.map)||void 0===r?void 0:r.call(a,A.formatProduct).filter(g))||[],promotions:(null===(u=null===(s=o.promotions)||void 0===s?void 0:s.map)||void 0===u?void 0:u.call(s,A.formatPromotion).filter(g))||[]}):null},formatProductReview:function(e){var o,t;return e?{reviewId:e.review_id||"",createdAt:e.created_at||"",title:e.title||"",detail:e.detail||"",nickname:e.nick_name||"",avatar:e.avatar||"",ratingVotes:(null===(t=null===(o=e.rating_votes)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(function(e){return{ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}})))||[],images:e.images||[]}:null},formatProductPromotion:function(e){return e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null},formatPromotion:function(e){return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",thumbnail:e.thumbnail||"",expiredDate:e.expired_date||"",banners:e.banners||[],points:0,description:e.description||"",metaTitle:e.meta_title||"",metaKeywords:e.meta_keywords||"",metaDescription:e.meta_description||""}:null},formatCustomAttributes:function(e,o){var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((function(e){return e.attribute_code===o})))||void 0===t?void 0:t.value)||""},formatAddress:function(e){var o,t,i,l;return e?{id:e.id||0,fullName:e.firstname||"",telephone:e.telephone||"",province:{value:null===(o=e.region)||void 0===o?void 0:o.region_id,label:null===(t=e.region)||void 0===t?void 0:t.region}||null,district:{value:A.formatCustomAttributes(e.custom_attributes,"district_id"),label:A.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:A.formatCustomAttributes(e.custom_attributes,"ward_id"),label:A.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(i=null==e?void 0:e.street)||void 0===i?void 0:i.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(l=null==e?void 0:e.extension_attributes)||void 0===l?void 0:l.full_address)||""}:null},formatProvince:function(e){return(null==e?void 0:e.available_regions)?e.available_regions.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatDistrict:function(e){return(null==e?void 0:e.districts)?e.districts.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatCommune:function(e){return(null==e?void 0:e.communes)?e.communes.map((function(e){return{value:e.id||"",label:e.name||""}})):[]},formatOrder:function(e){var o,t;return e?{orderNumber:(null==e?void 0:e.order_number)||"",shippingData:(null==e?void 0:e.shipping_data)?{shippingMethod:e.shipping_data.shipping_method||"",shippingDescription:e.shipping_data.shipping_description||"",shippingAddress:e.shipping_data.shipping_address?{fullName:e.shipping_data.shipping_address.firstname||"",fullAddress:e.shipping_data.shipping_address.full_address||"",telephone:e.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==e?void 0:e.ordered_date)||"",status:(null==e?void 0:e.status)||null,totals:(null==e?void 0:e.totals)?{subtotal:e.totals.subtotal||0,shippingAmount:e.totals.shipping_amount||0,discountAmount:e.totals.discount_amount||0,grandTotal:e.totals.grand_total||0}:null,products:(null===(t=null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(function(e){return{sku:e.sku||"",name:e.name||"",price:e.price||0,rowTotal:e.row_total||0,image:e.image||"",qty:e.qty||0}})))||[],paymentMethod:(null==e?void 0:e.payment_method)||""}:null},formatStatistic:function(e){var o,t,i,l,n;return e?{pending:Number(null===(o=null==e?void 0:e.find((function(e){return"pending"===e.status})))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((function(e){return"processing"===e.status})))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(i=null==e?void 0:e.find((function(e){return"delivering"===e.status})))||void 0===i?void 0:i.amount)||0,complete:Number(null===(l=null==e?void 0:e.find((function(e){return"complete"===e.status})))||void 0===l?void 0:l.amount)||0,canceled:Number(null===(n=null==e?void 0:e.find((function(e){return"canceled"===e.status})))||void 0===n?void 0:n.amount)||0}:{}},formatCartItem:function(e){var o,t,i,l,n,a,r,s;return e?{itemId:e.item_id||0,sku:e.sku||"",qty:e.qty||0,name:e.name||"",price:e.price||0,basePrice:(null===(o=e.extension_attributes)||void 0===o?void 0:o.base_price)||0,productType:e.product_type||"",quoteId:e.quote_id||"",thumbnail:(null===(t=e.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(i=e.extension_attributes)||void 0===i?void 0:i.row_total)||0,promotions:(null===(a=null===(n=null===(l=e.extension_attributes)||void 0===l?void 0:l.promotions)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,A.formatProductPromotion))||[],isInStock:(null===(r=e.extension_attributes)||void 0===r?void 0:r.is_in_stock)||!1,urlProduct:(null===(s=e.extension_attributes)||void 0===s?void 0:s.url_key)||""}:null},formatCartAddress:function(e){var o;return e?{customerAddressId:(null==e?void 0:e.customer_address_id)||0,id:e.id||0,region:e.region||"",regionId:e.region_id||0,regionCode:e.region_code||"",countryId:e.country_id||"",street:e.street||[],postcode:e.postcode||"",city:e.city||"",firstname:e.firstname||"",lastname:e.lastname||"",customerId:e.customer_id||0,email:e.email||"",telephone:e.telephone||"",sameAsBilling:e.same_as_billing||0,saveInAddressBook:e.save_in_address_book||0,fullAddress:(null===(o=e.extension_attributes)||void 0===o?void 0:o.full_address)||""}:null},formatEstimatedShipping:function(e){return e?{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",carrierTitle:e.carrier_title||"",methodTitle:e.method_title||"",amount:e.amount||0,baseAmount:e.base_amount||0,available:e.available||!1,errorMessage:e.error_message||"",priceExclTax:e.price_excl_tax||0,priceInclTax:e.price_incl_tax||0}:null},formatCartLoggedInCustomer:function(e){var o,t,i;return e?{email:e.email||"",firstname:e.firstname||"",lastname:e.lastname||"",id:e.id||0,groupId:e.group_id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",createdIn:e.created_in||"",storeId:e.store_id||0,websiteId:e.website_id||0,addresses:(null===(t=null===(o=e.addresses)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(i=e.extension_attributes)||void 0===i?void 0:i.is_subscribed)||!1}:null},formatCart:function(e){var o,t,i,l,n,a,r,s,u,c,d,m,p,_;return e?{id:e.id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",isActive:e.is_active||!1,isVirtual:e.is_virtual||!1,items:(null===(i=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,A.formatCartItem))||void 0===i?void 0:i.sort((function(e,o){return Number(null==o?void 0:o.isInStock)-Number(null==e?void 0:e.isInStock)})))||[],itemsCount:e.items_count||0,itemsQty:e.items_qty||0,customer:e.customer?A.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?A.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(l=e.currency)||void 0===l?void 0:l.global_currency_code)||"",baseCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.base_currency_code)||"",storeCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.store_currency_code)||"",quoteCurrencyCode:(null===(r=e.currency)||void 0===r?void 0:r.quote_currency_code)||"",storeToBaseRate:(null===(s=e.currency)||void 0===s?void 0:s.store_to_base_rate)||0,storeToQuoteRate:(null===(u=e.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=e.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=e.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:e.customer_is_guest||!1,customerNoteNotify:e.customer_note_notify||!1,customerTaxClassId:e.customer_tax_class_id||0,storeId:e.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=e.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(function(e){var o,t,i;return{shipping:{address:e.shipping.address?A.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(i=(t=e.items).map)||void 0===i?void 0:i.call(t,A.formatCartItem))||[]}}))}:null},formatCartTotal:function(e){var o,t,i;return e?{grandTotal:e.grand_total||0,baseGrandTotal:e.base_grand_total||0,subtotal:e.subtotal||0,baseSubtotal:e.base_subtotal||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,subtotalWithDiscount:e.subtotal_with_discount||0,baseSubtotalWithDiscount:e.base_subtotal_with_discount||0,shippingAmount:e.shipping_amount||0,baseShippingAmount:e.base_shipping_amount||0,shippingDiscountAmount:e.shipping_discount_amount||0,baseShippingDiscountAmount:e.base_shipping_discount_amount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,shippingTaxAmount:e.shipping_tax_amount||0,baseShippingTaxAmount:e.base_shipping_tax_amount||0,subtotalInclTax:e.subtotal_incl_tax||0,shippingInclTax:e.shipping_incl_tax||0,baseShippingInclTax:e.base_shipping_incl_tax||0,baseCurrencyCode:e.base_currency_code||"",quoteCurrencyCode:e.quote_currency_code||"",itemsQty:e.items_qty||0,coupon:{couponCode:e.coupon_code||"",couponDescription:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.coupon_description_text)||""},items:(null===(i=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(e){return{itemId:e.item_id||0,price:e.price||0,basePrice:e.base_price||0,qty:e.qty||0,rowTotal:e.row_total||0,baseRowTotal:e.base_row_total||0,rowTotalWithDiscount:e.row_total_with_discount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,taxPercent:e.tax_percent||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,discountPercent:e.discount_percent||0,priceInclTax:e.price_incl_tax||0,basePriceInclTax:e.base_price_incl_tax||0,rowTotalInclTax:e.row_total_incl_tax||0,baseRowTotalInclTax:e.base_row_total_incl_tax||0,options:e.options||"",weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,weeeTaxApplied:e.weee_tax_applied||0,name:e.name||""}})))||[],totalSegments:e.total_segments||[]}:null},formatPaymentMethod:function(e){return e?null==e?void 0:e.map((function(e){return{code:(null==e?void 0:e.payment_code)||"",title:(null==e?void 0:e.payment_title)||"",thumbnail:(null==e?void 0:e.payment_thumbnail)||""}})):null},formatPaymentInformation:function(e){var o;return e?{paymentMethods:A.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:A.formatCartTotal(e.totals)}:null},formatOrderConfirmation:function(e){return e?{isSuccess:e.is_success||!1,orderInfo:A.formatOrder(e.order_info)}:null},formatCoupons:function(e){var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((function(e){return{code:(null==e?void 0:e.code)||"",name:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",description:(null==e?void 0:e.expired_date)||""}})):null},formatShippings:function(e){return e?e.map((function(e){var o;return{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",title:e.carrier_title||"",description:e.method_title||"",price:(null==e?void 0:e.base_amount)||0,thumbnail:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.thumbnail)||""}})):[]}},f=Object.freeze({__proto__:null,dataFormatter:A});!function(e){e.MALE="gender.male",e.FEMALE="gender.female",e.OTHER="gender.other"}(O||(O={}));var b=Object.freeze({__proto__:null,get GenderLabel(){return O},DATE_FORMAT_API:"yyyy-MM-dd",DATE_FORMAT:"dd-MM-yyyy"});export{l as EcomApiTypes,T as EcomConstants,f as EcomDataFormatter,n as EcomDataTypes,b as EcomTypes};
1
+ import{_ as o}from"./tslib.es6-5532bd7b.js";import{t as e}from"./theme-a50a1aa5.js";import{i}from"./constants-3be6f6a9.js";export{t as EcomTypes}from"./types-f57c9932.js";var l,n=Object.freeze({__proto__:null}),a=Object.freeze({__proto__:null}),r="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,s="undefined"==typeof window,u=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",c=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",d=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,m=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",p={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},_=r?"http://localhost:3001":i?"https://".concat(p[u]):"https://discover.".concat(p[u]),h=i?"https://wp.".concat(p[u],"/"):"https://staging.".concat(p[u],"/"),E=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:"https://together.".concat(p[u],"/"),v="".concat(_,"/community"),I=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";!function(o){o[o.FEMALE=0]="FEMALE",o[o.MALE=1]="MALE",o[o.ANY=2]="ANY"}(l||(l={}));var T={"vi-VN":{HOME:function(){return JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#website","@type":"WebSite",description:"Hello Bacsi - Health Information",inLanguage:"vi-VN",name:"Hello Bacsi",potentialAction:[{"@type":"SearchAction","query-input":"required name=search_term_string",target:"https://hellobacsi.com/shop/tim-kiem/?keyword={search_term_string}"}],url:"https://hellobacsi.com/shop/"}]})},CATEGORY:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),void 0===t&&(t=[]),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/danh-muc","@type":"WebPage",name:"Hello Bacsi - Danh Muc",url:"https://hellobacsi.com/shop/danh-muc"}}]},{"@type":"ItemList",url:o,numberOfItems:e,itemListElement:t}]})},BRAND:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),void 0===t&&(t=[]),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/thuong-hieu","@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/thuong-hieu"}}]},{"@type":"ItemList",url:o,numberOfItems:e,itemListElement:t}]})},BRAND_DETAIL:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/thuong-hieu/#brand","@type":"BrandDetail",itemListElement:[{"@type":"Item",item:{"@id":"https://hellobacsi.com/shop".concat(o),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop".concat(o)}}]},{"@type":"BrandDetail",url:"https://hellobacsi.com/shop".concat(o),numberOfItems:e,itemListElement:null!=t?t:{}}]})},PRODUCT_DETAIL:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/san-pham/#product","@type":"ProductDetail",itemListElement:[{"@type":"Item",item:{"@id":"https://hellobacsi.com/shop/san-pham/".concat(o),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/san-pham/".concat(o)}}]},{"@type":"BrandDetail",url:o,numberOfItems:e,itemListElement:null!=t?t:{}}]})}}},g=Object.freeze({__proto__:null,isDevelopment:r,IS_SSR:s,locale:u,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:c,GOOGLE_ADMIN_LOCATION_KEY:d,GOOGLE_CLIENT_ID:m,GOOGLE_CALENDAR_API_KEY:"",basePath:"shop",SSO_USER_BASE_PATH:"user",CARE_BASE_PATH:"care",COMMUNITY_BASE_PATH:"community",HEALTH_TOOLs_BASE_PATH:"health-tools",NOTIFICATION_TIME_OUT:3e3,DOMAIN_LOCALES:p,DISCOVER_URL_FE:_,DISCOVER_URL_BE:h,TOGETHER_URL_BE:E,TOGETHER_URL_FE:v,SSO_URL:I,DISCOVERY_FOOTER_URL:"#",HEALTH_CARE_FOOTER_URL:"#",HEALTH_TOOLS_FOOTER_URL:"#",HEALTH_TOGETHER_FOOTER_URL:"#",POLICIES_FOOTER_URL:"#",FAQ_FOOTER_URL:"#",SITEMAP_FOOTER_URL:"#",ABOUT_US_FOOTER_URL:"#",EXECUTIVE_BIOS_FOOTER_URL:"#",ADVERTISING_FOOTER_URL:"#",CONTACT_US_FOOTER_URL:"#",ABOUT_GO_CARE_FOOTER_URL:"#",get Gender(){return l},EMAIL_REGEX:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,COUNTRY_SITENAME:{ID:"Hello Sehat",TH:"Hello Khunmor",MY:"Hello Doktor",KH:"Hello Krupet",TW:"Hello Yishi",MM:"Hello Sayarwon",IN:"Hello Swasthya",VN:"Hello Bacsi",PH:"Hello Doctor"},LOCALE_SPECS:{"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png"}},SOCIAL_MEDIA:{"vi-VN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellobacsi/",INSTAGRAM:"https://www.instagram.com/hellobacsi/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCYHzHDXngnB7jkmcQgXwE0w"},"en-PH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoctorPH/",INSTAGRAM:"https://www.instagram.com/hellodoctor_ph/",TWITTER:null},"km-KH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokrupet/",INSTAGRAM:"https://www.instagram.com/hellokrupetofficial/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCVK4p9YPIMkmoerk3X-y-TQ"},"ms-MY":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoktorMY/",INSTAGRAM:"https://www.instagram.com/_hellodoktor_/",TWITTER:null},"id-ID":{LINKEDIN:"https://www.linkedin.com/company/hello-sehat/",FACEBOOK:"https://www.facebook.com/hellosehat",INSTAGRAM:"https://www.instagram.com/hellosehat/",TWITTER:"https://twitter.com/HelloSehat"},"my-MM":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellosayarwon/",INSTAGRAM:"https://www.facebook.com/hellosayarwon/",TWITTER:null},"zh-TW":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/helloyishi/",INSTAGRAM:"https://www.instagram.com/helloyishi/",TWITTER:null},"hi-IN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloSwasthya/",INSTAGRAM:"https://www.instagram.com/hello_swasthya/",TWITTER:null},"th-TH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokhunmor/",INSTAGRAM:"https://www.instagram.com/hellokhunmor/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCbdbow4UhKfa7rqIhclNPIQ/"}},FLAG_LINKS:{ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},STATIC_PAGES:{"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"}},FAVICONS:{"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}]},LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},MAX_ALLOWED_IMG_SIZE:20971520,COUNTRY_CODE_BY_LOCALE:{"vi-VN":"vn","id-ID":"id","ms-MY":"my","km-KH":"kh","en-PH":"ph","th-TH":"th","my-MM":"mm","zh-TW":"tw","hi-IN":"in"},COUNTRY_CURRENCY_SYMBOL:{"vi-VN":"₫","id-ID":"Rp","ms-MY":"RM","km-KH":"៛","en-PH":"₱","th-TH":"฿","my-MM":"K","zh-TW":"$","hi-IN":"₹"},CURRENCY_PREFIX:{IDR:"Dimulai dari"},LOCALISED_SLUGS:{"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}},HEADER_LOGO_ALIGNMENT:"188px",globalFontFamily:"Inter",ENABLE_COMMUNITY_LOCALES:["vi-VN","id-ID","ms-MY","en-PH","th-TH"],ENABLE_CARE_LOCALES:["vi-VN","id-ID","en-PH"],ENABLE_HEALTH_PARENTING_LOCALES:["vi-VN","en-PH","id-ID","ms-MY","km-KH","th-TH","my-MM","zh-TW"],SEO_SCHEMA:T});function O(o){return null!=o}var A={formatAutoCompleteAddress:function(o){return o&&o.place_id?{placeId:o.place_id,description:o.description||""}:null},formatPrice:function(o,e){var t="string"==typeof o?parseInt(o):o;return new Intl.NumberFormat(e||"vi-VN").format(t)},formatHotSearchKeyword:function(o){return{text:(null==o?void 0:o.name)||""}},formatHelpfulUrl:function(o){return{name:(null==o?void 0:o.name)||"",featuredImage:(null==o?void 0:o.featured_image)||"",url:(null==o?void 0:o.url)||""}},formatCategory:function(o,t,i){var l,n,a,r=i?i+"/"+o.slug:o.slug,s=(null===(n=null===(l=null==o?void 0:o.children)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,(function(e){return A.formatCategory(e,o.id,r)})))||[];return{id:null==o?void 0:o.id,name:(null==o?void 0:o.name)||"",logo:(null==o?void 0:o.logo)||"",slug:(null==o?void 0:o.slug)||"",fullSlug:r||"",children:s,backgroundColor:o.color||e.colors.teal50,parentId:t||0,products:(null===(a=o.products)||void 0===a?void 0:a.map(A.formatProduct))||[]}},formatFooterInfo:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g=(null===(i=null===(t=null===(e=null==o?void 0:o.branch)||void 0===e?void 0:e.branch)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(o){return{flag:o.flag||"",name:o.name||"",url:o.url||""}})))||[],O=(null===(a=null===(n=null===(l=null==o?void 0:o.general)||void 0===l?void 0:l.verified)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(o){return{image:o.image||"",url:o.url||""}})))||[],A=(null===(s=null===(r=null==o?void 0:o.menu)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,(function(o){var e,t;return{menu_title:o.menu_title,items:null===(t=null===(e=o.items)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{title:o.title,url:o.url}}))}})))||[],f=(null===(d=null===(c=null===(u=null==o?void 0:o.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(function(o){return{icon:o.icon||"",name:o.name||"",url:o.url||""}})))||[];return{branch:{title:(null===(m=null==o?void 0:o.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==o?void 0:o.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==o?void 0:o.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(I=null===(v=null==o?void 0:o.general)||void 0===v?void 0:v.copyright)&&void 0!==I?I:"",verified:O},menu:A,social:{title:(null===(T=null==o?void 0:o.social)||void 0===T?void 0:T.title)||"",socials:f}}},formatNavigation:function(o){var e,t,i,l,n,a;return{hotSearchKeywords:(null===(t=null===(e=null==o?void 0:o.hot_search_keywords)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatHotSearchKeyword))||[],helpfulUrls:(null===(l=null===(i=null==o?void 0:o.helpful_urls)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatHelpfulUrl))||[],categories:(null===(a=null===(n=null==o?void 0:o.categories)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(o){return A.formatCategory(o)})))||[],footer:A.formatFooterInfo(null==o?void 0:o.footer),storeId:(null==o?void 0:o.store_id)||0,customerId:(null==o?void 0:o.customer_id)||0,cartItemsQty:"number"==typeof(null==o?void 0:o.cart_items_qty)?o.cart_items_qty:null}},formatPriceInfo:function(o){return o?{final:o.final||0,regular:o.regular||0,discountPercent:o.discount_percent||0}:null},formatProduct:function(o){var e,t,i,l;if(!o)return null;var n={final:0,regular:0,discountPercent:0};return{id:o.id||0,price:o.price&&A.formatPriceInfo(o.price)||n,thumbnail:o.thumbnail||"",name:o.name||"",averageRating:Number((o.average_rating||0).toFixed(2)),reviewsCount:o.reviews_count||0,tag:o.tag||null,sku:o.sku||"",slug:o.slug||"",images:o.images||[],tags:o.tags||[],unit:o.unit||"",brand:o.brand?{name:o.brand.name||"",image:o.brand.image||"",slug:o.brand.slug||"",productsCount:o.brand.products_count||0}:null,description:o.description||"",productPromotions:(null===(t=null===(e=o.product_promotions)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatProductPromotion).filter(O))||[],categories:(null===(l=null===(i=o.categories)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,(function(o){return A.formatCategory(o)})).filter(O))||[],isInStock:(null==o?void 0:o.is_in_stock)||!1}},formatBanner:function(o){return o?{name:o.name||"",url:o.url||"",featuredImage:o.featured_image||"",alt:o.image_alt}:null},formatBlogPost:function(o){var e,t;return o?{title:o.title||"",image:o.image||"",link:o.link||"",postData:o.post_data?{reviewed:o.post_data.reviewed?{author:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.author||void 0),editor:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.editor||void 0),expert:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.expert||void 0),factCheck:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(o.post_data.reviewed.is_author)}:null,categories:o.post_data.categories?null===(t=(e=o.post_data.categories).map)||void 0===t?void 0:t.call(e,(function(o){return{termId:o.term_id||0,name:o.name||"",permalink:o.permalink||"",textColor:o.text_color||""}})):[],postDate:o.post_data.post_date||"",postModified:o.post_data.post_modified||"",modifiedTime:o.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:function(o){return o?{id:o.ID||0,userId:o.user_id||0,formerRole:o.former_role||"",role:o.role||"",slug:o.slug||"",displayName:o.display_name||"",description:o.description||"",profileUrl:o.profile_url||"",avatar:o.avatar||"",avatarThumbnail:o.avatar_thumbnail||"",turnOffProfile:Boolean(o.turn_off_profile)}:null},formatBrand:function(o){var e,t,i,l;return o?{id:o.id||0,image:o.image||"",position:o.position||"",isPopular:o.is_popular||!1,summary:o.summary||"",name:o.name||"",slug:o.slug||"",description:o.description||null,banners:(null===(t=null===(e=o.banners)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatBanner).filter(O))||[],bestsellerProducts:(null===(l=null===(i=o.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O))||[]}:null},formatHomePage:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g;return o?{brands:o.brands?null===(t=(e=o.brands).map)||void 0===t?void 0:t.call(e,A.formatBrand).filter(O):[],hotDeals:o.hot_deals?null===(l=(i=o.hot_deals).map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O):[],newProducts:o.new_products?null===(a=(n=o.new_products).map)||void 0===a?void 0:a.call(n,A.formatProduct).filter(O):[],slideBanners:o.slide_banners?null===(s=(r=o.slide_banners).map)||void 0===s?void 0:s.call(r,A.formatBanner).filter(O):[],subBanners:o.sub_banners?null===(c=(u=o.sub_banners).map)||void 0===c?void 0:c.call(u,A.formatBanner).filter(O):[],footerBanners:o.footer_banners?null===(m=(d=o.footer_banners).map)||void 0===m?void 0:m.call(d,A.formatBanner).filter(O):[],blogPosts:o.blog_posts?null===(_=(p=o.blog_posts).map)||void 0===_?void 0:_.call(p,A.formatBlogPost).filter(O):[],popularCategories:o.popular_categories?null===(E=(h=o.popular_categories).map)||void 0===E?void 0:E.call(h,(function(o){return A.formatCategory(o)})).filter(O):[],suggestProducts:o.suggest_products?null===(I=(v=o.suggest_products).map)||void 0===I?void 0:I.call(v,(function(o){return A.formatCategory(o)})).filter(O):[],promotions:o.promotions?null===(g=(T=o.promotions).map)||void 0===g?void 0:g.call(T,(function(o){return A.formatPromotion(o)})).filter(O):[]}:null},formatCategoryPage:function(o){var e,t,i,l;return o?{id:o.id||0,name:o.name||"",slug:o.slug||"",description:o.description||null,banners:(null===(t=null===(e=o.banners)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatBanner).filter(O))||[],bestsellerProducts:(null===(l=null===(i=o.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O))||[]}:null},formatBrandPage:function(o){return o?A.formatBrand(o):null},formatPagination:function(o){return o?{current:o.current||0,first:o.first||0,itemsPerPage:o.items_per_page||0,last:o.last||0,next:o.next||0,prev:o.prev||0,totalItems:o.total_items||0}:null},formatProductDetailPage:function(e){var t,i,l,n,a,r,s,u;return e?o(o({},A.formatProduct(e)),{relatedProducts:(null===(i=null===(t=e.related_products)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,A.formatProduct).filter(O))||[],bestsellerProducts:(null===(n=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,A.formatProduct).filter(O))||[],viewedProducts:(null===(r=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===r?void 0:r.call(a,A.formatProduct).filter(O))||[],promotions:(null===(u=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===u?void 0:u.call(s,A.formatPromotion).filter(O))||[]}):null},formatProductReview:function(o){var e,t;return o?{reviewId:o.review_id||"",createdAt:o.created_at||"",title:o.title||"",detail:o.detail||"",nickname:o.nick_name||"",avatar:o.avatar||"",ratingVotes:(null===(t=null===(e=o.rating_votes)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{ratingCode:o.rating_code||"",value:Number(o.value)||0,percent:Number(o.percent)||0}})))||[],images:o.images||[]}:null},formatProductPromotion:function(o){return o?{id:o.id||0,name:o.name||"",thumbnail:o.thumbnail||"",expirationDate:o.expiration_date||""}:null},formatPromotion:function(o){return o?{id:o.id||0,name:o.name||"",slug:o.slug||"",thumbnail:o.thumbnail||"",expiredDate:o.expired_date||"",banners:o.banners||[],points:0,description:o.description||"",metaTitle:o.meta_title||"",metaKeywords:o.meta_keywords||"",metaDescription:o.meta_description||""}:null},formatCustomAttributes:function(o,e){var t;return(null==o?void 0:o.length)&&(null===(t=null==o?void 0:o.find((function(o){return o.attribute_code===e})))||void 0===t?void 0:t.value)||""},formatAddress:function(o){var e,t,i,l;return o?{id:o.id||0,fullName:o.firstname||"",telephone:o.telephone||"",province:{value:null===(e=o.region)||void 0===e?void 0:e.region_id,label:null===(t=o.region)||void 0===t?void 0:t.region}||null,district:{value:A.formatCustomAttributes(o.custom_attributes,"district_id"),label:A.formatCustomAttributes(o.custom_attributes,"district")},commune:{value:A.formatCustomAttributes(o.custom_attributes,"ward_id"),label:A.formatCustomAttributes(o.custom_attributes,"ward")},street:(null===(i=null==o?void 0:o.street)||void 0===i?void 0:i.length)?null==o?void 0:o.street[0]:"",isDefault:o.default_billing&&o.default_shipping||!1,fullAddress:(null===(l=null==o?void 0:o.extension_attributes)||void 0===l?void 0:l.full_address)||""}:null},formatProvince:function(o){return(null==o?void 0:o.available_regions)?o.available_regions.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatDistrict:function(o){return(null==o?void 0:o.districts)?o.districts.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatCommune:function(o){return(null==o?void 0:o.communes)?o.communes.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatOrder:function(o){var e,t;return o?{orderNumber:(null==o?void 0:o.order_number)||"",shippingData:(null==o?void 0:o.shipping_data)?{shippingMethod:o.shipping_data.shipping_method||"",shippingDescription:o.shipping_data.shipping_description||"",shippingAddress:o.shipping_data.shipping_address?{fullName:o.shipping_data.shipping_address.firstname||"",fullAddress:o.shipping_data.shipping_address.full_address||"",telephone:o.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==o?void 0:o.ordered_date)||"",status:(null==o?void 0:o.status)||null,totals:(null==o?void 0:o.totals)?{subtotal:o.totals.subtotal||0,shippingAmount:o.totals.shipping_amount||0,discountAmount:o.totals.discount_amount||0,grandTotal:o.totals.grand_total||0}:null,products:(null===(t=null===(e=null==o?void 0:o.products)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{sku:o.sku||"",name:o.name||"",price:o.price||0,rowTotal:o.row_total||0,image:o.image||"",qty:o.qty||0}})))||[],paymentMethod:(null==o?void 0:o.payment_method)||""}:null},formatStatistic:function(o){var e,t,i,l,n;return o?{pending:Number(null===(e=null==o?void 0:o.find((function(o){return"pending"===o.status})))||void 0===e?void 0:e.amount)||0,processing:Number(null===(t=null==o?void 0:o.find((function(o){return"processing"===o.status})))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(i=null==o?void 0:o.find((function(o){return"delivering"===o.status})))||void 0===i?void 0:i.amount)||0,complete:Number(null===(l=null==o?void 0:o.find((function(o){return"complete"===o.status})))||void 0===l?void 0:l.amount)||0,canceled:Number(null===(n=null==o?void 0:o.find((function(o){return"canceled"===o.status})))||void 0===n?void 0:n.amount)||0}:{}},formatCartItem:function(o){var e,t,i,l,n,a,r,s;return o?{itemId:o.item_id||0,sku:o.sku||"",qty:o.qty||0,name:o.name||"",price:o.price||0,basePrice:(null===(e=o.extension_attributes)||void 0===e?void 0:e.base_price)||0,productType:o.product_type||"",quoteId:o.quote_id||"",thumbnail:(null===(t=o.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(i=o.extension_attributes)||void 0===i?void 0:i.row_total)||0,promotions:(null===(a=null===(n=null===(l=o.extension_attributes)||void 0===l?void 0:l.promotions)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,A.formatProductPromotion))||[],isInStock:(null===(r=o.extension_attributes)||void 0===r?void 0:r.is_in_stock)||!1,urlProduct:(null===(s=o.extension_attributes)||void 0===s?void 0:s.url_key)||""}:null},formatCartAddress:function(o){var e;return o?{customerAddressId:(null==o?void 0:o.customer_address_id)||0,id:o.id||0,region:o.region||"",regionId:o.region_id||0,regionCode:o.region_code||"",countryId:o.country_id||"",street:o.street||[],postcode:o.postcode||"",city:o.city||"",firstname:o.firstname||"",lastname:o.lastname||"",customerId:o.customer_id||0,email:o.email||"",telephone:o.telephone||"",sameAsBilling:o.same_as_billing||0,saveInAddressBook:o.save_in_address_book||0,fullAddress:(null===(e=o.extension_attributes)||void 0===e?void 0:e.full_address)||""}:null},formatEstimatedShipping:function(o){return o?{carrierCode:o.carrier_code||"",methodCode:o.method_code||"",carrierTitle:o.carrier_title||"",methodTitle:o.method_title||"",amount:o.amount||0,baseAmount:o.base_amount||0,available:o.available||!1,errorMessage:o.error_message||"",priceExclTax:o.price_excl_tax||0,priceInclTax:o.price_incl_tax||0}:null},formatCartLoggedInCustomer:function(o){var e,t,i;return o?{email:o.email||"",firstname:o.firstname||"",lastname:o.lastname||"",id:o.id||0,groupId:o.group_id||0,createdAt:o.created_at||"",updatedAt:o.updated_at||"",createdIn:o.created_in||"",storeId:o.store_id||0,websiteId:o.website_id||0,addresses:(null===(t=null===(e=o.addresses)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatCartAddress))||[],disableAutoGroupChange:o.disable_auto_group_change||0,isSubscribed:(null===(i=o.extension_attributes)||void 0===i?void 0:i.is_subscribed)||!1}:null},formatCart:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_;return o?{id:o.id||0,createdAt:o.created_at||"",updatedAt:o.updated_at||"",isActive:o.is_active||!1,isVirtual:o.is_virtual||!1,items:(null===(i=null===(t=null===(e=o.items)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatCartItem))||void 0===i?void 0:i.sort((function(o,e){return Number(null==e?void 0:e.isInStock)-Number(null==o?void 0:o.isInStock)})))||[],itemsCount:o.items_count||0,itemsQty:o.items_qty||0,customer:o.customer?A.formatCartLoggedInCustomer(o.customer):null,billingAddress:o.billing_address?A.formatCartAddress(o.billing_address):null,origOrderId:o.orig_order_id||0,currency:{globalCurrencyCode:(null===(l=o.currency)||void 0===l?void 0:l.global_currency_code)||"",baseCurrencyCode:(null===(n=o.currency)||void 0===n?void 0:n.base_currency_code)||"",storeCurrencyCode:(null===(a=o.currency)||void 0===a?void 0:a.store_currency_code)||"",quoteCurrencyCode:(null===(r=o.currency)||void 0===r?void 0:r.quote_currency_code)||"",storeToBaseRate:(null===(s=o.currency)||void 0===s?void 0:s.store_to_base_rate)||0,storeToQuoteRate:(null===(u=o.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=o.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=o.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:o.customer_is_guest||!1,customerNoteNotify:o.customer_note_notify||!1,customerTaxClassId:o.customer_tax_class_id||0,storeId:o.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=o.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(function(o){var e,t,i;return{shipping:{address:o.shipping.address?A.formatCartAddress(o.shipping.address):null,method:(null===(e=o.shipping)||void 0===e?void 0:e.method)||""},items:(null===(i=(t=o.items).map)||void 0===i?void 0:i.call(t,A.formatCartItem))||[]}}))}:null},formatCartTotal:function(o){var e,t,i;return o?{grandTotal:o.grand_total||0,baseGrandTotal:o.base_grand_total||0,subtotal:o.subtotal||0,baseSubtotal:o.base_subtotal||0,discountAmount:o.discount_amount||0,baseDiscountAmount:o.base_discount_amount||0,subtotalWithDiscount:o.subtotal_with_discount||0,baseSubtotalWithDiscount:o.base_subtotal_with_discount||0,shippingAmount:o.shipping_amount||0,baseShippingAmount:o.base_shipping_amount||0,shippingDiscountAmount:o.shipping_discount_amount||0,baseShippingDiscountAmount:o.base_shipping_discount_amount||0,taxAmount:o.tax_amount||0,baseTaxAmount:o.base_tax_amount||0,weeeTaxAppliedAmount:o.weee_tax_applied_amount||0,shippingTaxAmount:o.shipping_tax_amount||0,baseShippingTaxAmount:o.base_shipping_tax_amount||0,subtotalInclTax:o.subtotal_incl_tax||0,shippingInclTax:o.shipping_incl_tax||0,baseShippingInclTax:o.base_shipping_incl_tax||0,baseCurrencyCode:o.base_currency_code||"",quoteCurrencyCode:o.quote_currency_code||"",itemsQty:o.items_qty||0,coupon:{couponCode:o.coupon_code||"",couponDescription:(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.coupon_description_text)||""},items:(null===(i=null===(t=o.items)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(o){return{itemId:o.item_id||0,price:o.price||0,basePrice:o.base_price||0,qty:o.qty||0,rowTotal:o.row_total||0,baseRowTotal:o.base_row_total||0,rowTotalWithDiscount:o.row_total_with_discount||0,taxAmount:o.tax_amount||0,baseTaxAmount:o.base_tax_amount||0,taxPercent:o.tax_percent||0,discountAmount:o.discount_amount||0,baseDiscountAmount:o.base_discount_amount||0,discountPercent:o.discount_percent||0,priceInclTax:o.price_incl_tax||0,basePriceInclTax:o.base_price_incl_tax||0,rowTotalInclTax:o.row_total_incl_tax||0,baseRowTotalInclTax:o.base_row_total_incl_tax||0,options:o.options||"",weeeTaxAppliedAmount:o.weee_tax_applied_amount||0,weeeTaxApplied:o.weee_tax_applied||0,name:o.name||""}})))||[],totalSegments:o.total_segments||[]}:null},formatPaymentMethod:function(o){return o?null==o?void 0:o.map((function(o){return{code:(null==o?void 0:o.payment_code)||"",title:(null==o?void 0:o.payment_title)||"",thumbnail:(null==o?void 0:o.payment_thumbnail)||""}})):null},formatPaymentInformation:function(o){var e;return o?{paymentMethods:A.formatPaymentMethod(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.payment_detail_info)||[],totals:A.formatCartTotal(o.totals)}:null},formatOrderConfirmation:function(o){return o?{isSuccess:o.is_success||!1,orderInfo:A.formatOrder(o.order_info)}:null},formatCoupons:function(o){var e;return(null===(e=null==o?void 0:o.items)||void 0===e?void 0:e.length)?o.items.map((function(o){return{code:(null==o?void 0:o.code)||"",name:(null==o?void 0:o.name)||"",thumbnail:(null==o?void 0:o.thumbnail)||"",description:(null==o?void 0:o.expired_date)||""}})):null},formatShippings:function(o){return o?o.map((function(o){var e;return{carrierCode:o.carrier_code||"",methodCode:o.method_code||"",title:o.carrier_title||"",description:o.method_title||"",price:(null==o?void 0:o.base_amount)||0,thumbnail:(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.thumbnail)||""}})):[]}},f=Object.freeze({__proto__:null,dataFormatter:A});export{n as EcomApiTypes,g as EcomConstants,f as EcomDataFormatter,a as EcomDataTypes};
@@ -0,0 +1 @@
1
+ import{c as t,d as n}from"./tslib.es6-5532bd7b.js";import{g as e}from"./core-d22826b4.js";import{d as o,i as r}from"./constants-3be6f6a9.js";var a=function(t,n){var e="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return e?"http://localhost:3000":"https://".concat(!e&&!r?n?"fe.":"discover.":n?"www.":"").concat(o[n?"vi-VN_MB":t])},c=function(t,n){return"https://".concat(r?"id.":"staging-id.").concat(o[n?"vi-VN_MB":t])},i=function(){return"https://".concat(r?"together.":"staging-together.","hellohealthgroup.com")},s=function(t){return"https://".concat(r?"wp.":"staging.").concat(o[t])},l=function(){return"https://".concat(r?"health-care.":"service-health-care.","hellohealthgroup.com")},u=function(t,n){var e,o;if(!t)return{};var r="tl-PH"===n?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(e=t.link)||void 0===e?void 0:e.startsWith("http"))?t.link:"".concat(r,"/health-tools")+(null===(o=t.link)||void 0===o?void 0:o.replace("".concat(r,"/"),"/")),subtitle:t.subtitle,title:t.title}},h=function(e){return t(void 0,void 0,void 0,(function(){var t,o,r,a,c,i,l;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,8,,9]),"undefined"==typeof window?[3,1]:(t=window.fetch,[3,3]);case 1:return[4,require("node-fetch")];case 2:t=n.sent(),n.label=3;case 3:o="tl-PH"===e?"lang=fil":"",r=[],n.label=4;case 4:return n.trys.push([4,6,,7]),[4,t("".concat(s(e),"/wp-json/api/healthtools?ismenu=0").concat(o?"&"+o:"")).then((function(t){return t.json()}))];case 5:return a=n.sent(),r=(null===(l=null===(i=null==a?void 0:a.data)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,(function(t){return u(t,e)})))||[],[3,7];case 6:return n.sent(),[3,7];case 7:return[2,r];case 8:return c=n.sent(),console.error(c),[3,9];case 9:return[2]}}))}))},d=function(o){return t(void 0,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,e("all-health-tools",(function(){return h(o||"en-PH")}))];case 1:return[2,t.sent()||[]]}}))}))};export{c as a,i as b,s as c,l as d,h as e,u as f,a as g,d as h};
@@ -1 +1 @@
1
- export{u as useTranslations}from"./useTranslations-9326f7e8.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-99db33e1.js";export{u as useFbDataLayer,a as useHealthToolsCache}from"./useHealthToolCache-3ed2f96b.js";import"react";import"./translationsContext-39020288.js";import"string-format";import"lodash/debounce";import"./tslib.es6-5532bd7b.js";import"./cookieHelper-0e8521c3.js";import"./getDynamicHealthTool-ad018fba.js";import"./core-d22826b4.js";import"./routing-31d4caa0.js";import"./constants-3be6f6a9.js";
1
+ export{u as useTranslations}from"./useTranslations-9326f7e8.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-99db33e1.js";export{u as useFbDataLayer}from"./useFbDataLayer-5016df43.js";export{u as useHealthToolsCache}from"./useHealthToolCache-e91f1766.js";import"react";import"./translationsContext-39020288.js";import"string-format";import"lodash/debounce";import"./tslib.es6-5532bd7b.js";import"./cookieHelper-0e8521c3.js";import"./getDynamicHealthTool-af43c3ae.js";import"./core-d22826b4.js";import"./constants-3be6f6a9.js";
@@ -0,0 +1 @@
1
+ import e,{useState as n,useRef as t,useMemo as a,useEffect as o,Fragment as l,useCallback as i}from"react";import{S as r,d as c,T as s,e as m,f as d,g as p,h as u,i as g,j as h,k as f,l as v,m as x,n as E,o as y,p as b,q as w,r as k,s as C,t as L,u as N,v as z,w as M,x as F,y as D,z as _,A as B,B as j,D as I,E as H,F as S,G as A,H as T,I as V,J as P,C as Z,P as W,a as U}from"./index.styled-24e99a43.js";import{_ as G,a as O,b as R,c as Y,d as K,e as q}from"./tslib.es6-5532bd7b.js";import{i as J,B as Q,M as X,l as $}from"./screenSizeContext-d6e9a094.js";import{Range as ee,getTrackBackground as ne,useThumbOverlap as te}from"react-range";import{B as ae,H as oe}from"./index-0f53cc51.js";import{t as le}from"./theme-a50a1aa5.js";import{i as ie,j as re,k as ce,l as se,m as me,n as de,o as pe,p as ue,q as ge,r as he,s as fe,t as ve,u as xe,v as Ee,w as ye,x as be,y as we,z as ke,A as Ce,B as Le,E as Ne,G as ze,H as Me,U as Fe,I as De,J as _e,K as Be,O as je,Q as Ie,T as He,V as Se,W as Ae,X as Te,Y as Ve,Z as Pe,_ as Ze,$ as We,a0 as Ue,a1 as Ge,a2 as Oe,a3 as Re,a4 as Ye,a5 as Ke,a6 as qe,a7 as Je,a8 as Qe,a9 as Xe,aa as $e,ab as en,ac as nn,ad as tn,ae as an,af as on,ag as ln,ah as rn,ai as cn,aj as sn,ak as mn,al as dn,am as pn,an as un,ao as gn,ap as hn,aq as fn,ar as vn,as as xn,at as En,au as yn,av as bn,aw as wn,ax as kn,ay as Cn,az as Ln,aA as Nn,aB as zn,aC as Mn,aD as Fn,aE as Dn,aF as _n,aG as Bn,aH as jn,aI as In,aJ as Hn}from"./index-96be4a7e.js";import{useId as Sn}from"react-id-generator";import{D as An,f as Tn}from"./index-e2f04408.js";import{throttle as Vn}from"lodash";import{useKeenSlider as Pn}from"keen-slider/react";import"react-dom";import"./translationsContext-39020288.js";import"string-format";import"lodash/debounce";import{d as Zn,L as Wn,F as Un,i as Gn}from"./constants-3be6f6a9.js";import{isBefore as On,startOfMonth as Rn,addMonths as Yn,format as Kn,subMonths as qn,getDaysInMonth as Jn,isToday as Qn,isSameDay as Xn,isWithinInterval as $n,isAfter as et,isPast as nt}from"date-fns";import tt from"styled-components";import"./Locale-69030fff.js";import{h as at}from"./index-9e48935e.js";import{u as ot}from"./useTranslations-9326f7e8.js";import{b as lt,g as it,d as rt}from"./utils-89834e91.js";import{u as ct}from"./useOutsideClick-6004483a.js";import st from"date-fns/locale/en-US";import mt from"date-fns/locale/id";import dt from"date-fns/locale/vi";import pt from"date-fns/locale/zh-TW";import{g as ut}from"./getSocialList-ff22842b.js";import{I as gt}from"./index-cb0afbbf.js";import{i as ht,a as ft,b as vt,c as xt}from"./zalo-7f0726ae.js";import{D as Et}from"./index-954f6509.js";var yt=function(n){var t=n.style,a=n.onClose,o=n.text,l=n.type,i=n.contentIcon,d=n.closeIcon,p=n.className,u=n.description;return e.createElement(r,{style:t,"data-alert-type":l,className:p},e.createElement(c,null,e.createElement("div",{className:"icon-title"},i,e.createElement(s,{type:"bold",size:"label1"},o)),e.createElement(s,{type:"regular",size:"p3"},u)),e.createElement(m,{onClick:a},d))},bt=function(n){var t=n.amount,a=n.type,o=n.size,l=void 0===o?"medium":o,i=n.color,r=void 0===i?"primary":i,c=n.icon,s=n.className;return e.createElement(d,{"data-notification-type":a,"data-notification-size":l,"data-notification-color":r,"data-has-icon":!!c||void 0,notificationType:a,notificationSize:l,notificationColor:r,hasIcon:!!c,className:s},e.createElement("div",null,t&&e.createElement("span",null,t)," ",c&&e.createElement("div",null,c)))},wt=function(n){var t=n.style,a=n.children,o=n.className,l=n.size,i=void 0===l?"lg":l,r=n.type,c=void 0===r?"bold":r,s=n.upperCase,m=n.as,d=void 0===m?"h4":m,u=n.color;return e.createElement(p,{style:G({color:u},t),className:o,"data-size":i,"data-type":c,"data-uppercase":s,as:d},a)},kt=function(a){var o=a.className,l=a.value,i=a.options,r=a.onUploadSelected,c=a.id,s=a.placeholderIcon,m=a.placeholder,d=a.style,p=n(!1),x=p[0],E=p[1],y=function(){return E(!x)},b=t(i.map((function(n){return"upload"===n.type&&e.createElement("input",{id:"uploader-dropdown-input-"+c+"-"+n.value,key:"uploader-dropdown-input-"+c+"-"+n.value,accept:n.fileAcceptedType,multiple:n.multiple,type:"file",style:{display:"none"},onChange:function(e){console.log("change"),r(e.target.files)}})}))),w=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"})),e.createElement("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),e.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),k=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"download"),e.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),C=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"}));return e.createElement(u,{className:o,"data-dropdown-open":!!x,id:c,"data-has-icons":!0,style:d,onBlur:function(){return E(!1)},tabIndex:0},e.createElement(g,{onClick:y},s||w," ",e.createElement("span",null,l&&l.value?l.label:m)),x&&e.createElement(h,{onClick:y,"data-has-icons":!0},i.map((function(n){return e.createElement(f,{key:"".concat(c,"-").concat(n.value),"data-selected":l&&l.value===n.value||void 0,onClick:function(){return"upload"===n.type?function(e){var n;null===(n=document.querySelector(e))||void 0===n||n.click()}("#uploader-dropdown-input-"+c+"-"+n.value):void((e=n.url)&&window.open(e,"_blank"));var e}},e.createElement(v,null,n.icon||"download"===n.type?k:C),n.label)}))),e.createElement(e.Fragment,null,b.current))},Ct=function(n){var t=n.className,a=n.columns,o=n.columnsDesktop,l=n.gridTemplateColumns,i=n.gridTemplateColumnsDesktop,r=n.gap,c=n.children,s=n.justifyChildren,m=n.style,d=n.alignItems;return e.createElement(x,{className:t,style:m,theme:{columns:a,columnsDesktop:o,gap:r,justifyChildren:s,gridTemplateColumns:l,gridTemplateColumnsDesktop:i,alignItems:d}},c)},Lt=function(t){var a=t.pagesAmount,i=t.activePage,r=t.handlePageChange,c=t.handleClick,s=t.href,m=t.queryPageName,d=void 0===m?"page":m,p=O([],Array(a),!0).map((function(e,n){return n+1})),u=n(i<=4?p.slice(0,5):i>=p.length-3?p.slice(p.length-5,p.length):p.slice(i-2,i+1)),g=u[0],h=u[1];return o((function(){i<=4?h(p.slice(0,5)):i>=p.length-3?h(p.slice(p.length-5,p.length)):h(p.slice(i-2,i+1))}),[i]),e.createElement(l,null,i>4&&e.createElement(l,null,e.createElement(b,{onClick:function(){return r(1)}},s?e.createElement("a",{href:s,onClick:c},1):1),e.createElement(b,null,"...")),g.map((function(n){return e.createElement(b,{key:"".concat("pagination","+").concat(n),"data-page-active":n===i||void 0,onClick:function(){return r(n)}},s?e.createElement("a",{href:J(s,n,d),onClick:c},n):n)})),i<p.length-3&&e.createElement(l,null,e.createElement(b,null,"..."),e.createElement(b,{onClick:function(){return r(p.length)}},s?e.createElement("a",{href:J(s,p.length,d),onClick:c},p.length):p.length)))},Nt=function(t){var l=t.className,i=t.pagesAmount,r=t.currentPage,c=t.onChange,s=t.onClick,m=t.style,d=t.href,p=t.queryPageName,u=void 0===p?"page":p,g=O([],Array(i),!0).map((function(e,n){return n+1})),h=n(r),f=h[0],v=h[1],x=a((function(){return d&&d.endsWith("&page=")?d.replace("&page=",""):d}),[d]),w=i-1,k=function(e){e<=i&&e>0&&(v(e),c(e))},C=function(e){s&&s(e)};return o((function(){v(r)}),[r]),e.createElement(E,{className:l,style:m},e.createElement(y,{className:"prev-page",onClick:function(){return k(f-1)},"data-last-page":1===f||void 0},x?e.createElement("a",{href:J(x,f,u),onClick:C},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),g.length>8?e.createElement(Lt,{pagesAmount:i,activePage:f,handlePageChange:k,handleClick:C,href:x,queryPageName:u}):g.map((function(n){return e.createElement(b,{key:"".concat("pagination","+").concat(n),"data-page-active":n===f||void 0,onClick:function(){return k(n)}},x?e.createElement("a",{href:J(x,n,u),onClick:C},n):n)})),e.createElement(y,{className:"next-page",onClick:function(){return k(f+1)},"data-last-page":f===w+1||void 0},x?e.createElement("a",{href:J(x,f,u),onClick:C},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},zt=function(n){var t=n.size,a=n.children,o=n.style,l=n.className;return e.createElement(w,{style:o,className:l,"data-shadow-size":t},a)};function Mt(n){var t=n.rangeRef,a=n.values,o=n.index,l=te(t,a,o,1," - ",(function(e){return e})),i=l[0],r=l[1];return e.createElement(e.Fragment,null,e.createElement(z,{"data-label":o,style:r},i),e.createElement(M,{"data-label":o}))}var Ft=function(t){var a=t.step,l=t.min,i=t.max,r=t.value,c=t.onChange,m=t.className,d=t.heading,p=t.isMobile,u=void 0!==p&&p,g=["#DBDFE5","#2D87F3","#DBDFE5"],h=e.useRef(),f=n(r),v=f[0],x=f[1];o((function(){x(r)}),[r[0],r[1]]);return e.createElement(k,{className:m},e.createElement(ee,{ref:h,values:v[0]>=l&&v[1]<=i?v:[l,i],onChange:x,onFinalChange:c,renderThumb:function(n){var t=n.props,a=n.index;return e.createElement(C,G({},t),e.createElement(Mt,{rangeRef:h.current,values:v,index:a,isMobile:u}))},renderTrack:function(n){var t=n.props,a=n.children,o={background:ne({values:v,colors:g,min:l,max:i})};return e.createElement(e.Fragment,null,d&&e.createElement(s,{size:"md",type:"bold"},d),e.createElement(L,{onMouseDown:t.onMouseDown,onTouchStart:t.onTouchStart,style:G({},t.style)},e.createElement(N,{ref:t.ref,style:o},a)))},step:a,min:l,max:i}))},Dt=function(n){var t=n.type,a=n.children,o=n.style,l=n.isInline,i=n.isSquared,r=void 0!==i&&i,c=n.className,m=n.isLight,d=n.hasMorePadding,p=n.isLink,u=n.isSelected,g=n.textProps,h=void 0===g?{size:"sm"}:g,f=h.color?{"--text-props-color":h.color}:{};return e.createElement(F,{"data-is-squared":r||void 0,"data-tag-type":t,"data-is-light":m||void 0,"data-has-more-padding":d||void 0,"data-is-inline":l||void 0,style:G(G({},o),f),className:c,"data-is-selected":u||void 0,"data-is-link":p||void 0,tagType:t,isInline:l,tagHasMorePadding:d,tagIsLight:m,tagIsSquared:r,tagIsALink:p},e.createElement(s,G({},h),a))},_t=function(n){var t=n.className,a=n.id,o=n.onChange,l=n.checked,i=n.style,r=n.label;return e.createElement(D,{className:t,style:i},e.createElement("input",{type:"checkbox",id:a,onChange:o,checked:l}),e.createElement("label",{htmlFor:a},e.createElement(_,null),r&&e.createElement(B,null,r)))},Bt=function(n){var t=n.size,a=n.isDisabled,o=n.className,l=n.link,i=n.style;return e.createElement(j,{className:o,"data-size":t,style:i,"data-disabled":a||void 0},l)},jt=function(n){var t=n.type,a=n.withIcon,o=n.onFileSelected,l=n.inputId,i=n.withElement,r=n.fileAcceptType,c=n.multiple,s=n.value,m=n.className,d=function(){var e;null===(e=document.querySelector("#uploader-input-"+l))||void 0===e||e.click()};return e.createElement(I,{className:m},"badge"===t?e.createElement(H,{onClick:d,"data-is-attached-to-element":!!i},i,e.createElement(S,{"data-is-attached-to-element":!!i},a)):i?e.createElement("div",{onClick:d},i):e.createElement(ae,{size:"md",color:"secondary",className:"default-button",icon:a,onClick:d},e.createElement(A,null,e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.createElement("path",{className:"prefix__cls-1",d:"M14 10v2.67A1.33 1.33 0 0112.67 14H3.33A1.33 1.33 0 012 12.67V10M11.33 5.33L8 2 4.67 5.33M8 2v8",transform:"translate(-1.25 -1.25)"})),"Upload Image")),e.createElement("input",{id:"uploader-input-"+l,accept:r,multiple:c,type:"file",style:{display:"none"},onChange:function(e){o(e.target.files)},value:s}))},It=function(n){var t=n.label,a=n.name,o=n.checked,l=n.className,i=n.isDisabled,r=n.onChange,c=n.value,s=n.isRectangle;return e.createElement(T,{className:l,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":t},e.createElement("input",{type:"checkbox",checked:o,name:a,onChange:function(){return r(c,!o)},disabled:i,value:c,id:"".concat(a,"-").concat(c),"data-label-text":t}),!s&&e.createElement("label",{htmlFor:"".concat(a,"-").concat(c)},t))},Ht=function(n){return e.createElement("svg",G({},n,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"}))},St=function(n){return e.createElement("svg",G({},n,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"}))},At=function(n){return e.createElement("svg",G({},n,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),e.createElement("mask",{id:"mask0_3555_5815",maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:"url(#mask0_3555_5815)"},e.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},Tt=function(t){var a=t.gap,o=void 0===a?2:a,l=t.size,i=void 0===l?24:l,r=t.star,c=t.totalStars,s=void 0===c?5:c,m=t.onSelect,d=t.hideEmptyStars,p=t.style,u=t.className,g=Math.floor(r),h=r-g>=.5?1:0,f=n(null),v=f[0],x=f[1],E=v||g,y=v?0:h;return e.createElement(V,{"data-selectable":!!m,style:G({"--gap":o,"--star-size":i},p),className:u},Array.from({length:d?g+h:s}).map((function(n,t){var a=function(){return!!m&&x(t+1)},o=function(){return!!m&&x(null)};return t+1<=E?e.createElement(St,{key:t,onClick:function(){return null==m?void 0:m(t+1)},onMouseOver:a,onMouseLeave:o}):t+1===E+y?e.createElement(At,{key:t,onClick:function(){return null==m?void 0:m(t+1)},onMouseOver:a,onMouseLeave:o}):e.createElement(Ht,{key:t,onClick:function(){return null==m?void 0:m(t+1)},onMouseOver:a,onMouseLeave:o})})))},Vt=function(n){var t=n.percent,a=n.style;return e.createElement(P,{style:G({"--progress":t},a)})},Pt=function(n){var t=n.avatarImg,a=n.authorName,o=n.authorLink,l=n.uploadTime,i=n.size;return e.createElement(ce,null,e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":i},t),e.createElement("div",{className:"poster","data-is-disabled-url":!o},e.createElement(s,{size:"lg"===i?"p3":"p4"},e.createElement("a",{href:o},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,l)))))},Zt=function(n){var t=n.isMobile,a=n.avatarImg,o=n.name,l=n.link,i=n.size,r=void 0===i?"lg":i,c=n.specialty;return n.handleClick,n.isBookmarked,n.dataEventCategoryForBookmark,n.dataEventActionForBookmark,n.dataEventLabelForBookmark,e.createElement(ce,null,e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":r},a),e.createElement("div",{className:"expert","data-is-disabled-url":!l},t?e.createElement("a",{href:l},"lg"===r?e.createElement(e.Fragment,null,e.createElement(oe,{tag:"h6",className:"expert__name",color:le.colors.gray600},o),e.createElement(s,{color:le.colors.gray500,size:"p3",className:"specialty"},c)):e.createElement(e.Fragment,null,e.createElement(oe,{tag:"h6",className:"expert__name",color:le.colors.gray600},o))):e.createElement("a",{href:l},"lg"===r?e.createElement(e.Fragment,null,e.createElement(oe,{tag:"h6",className:"expert__name",color:le.colors.gray600},o),e.createElement(s,{color:le.colors.gray500,size:"p3",className:"specialty"},c)):e.createElement(e.Fragment,null,e.createElement(se,{color:le.colors.gray600,className:"expert__name"},o),e.createElement(s,{color:le.colors.gray500,size:"p4",className:"specialty"},c))))))},Wt=function(n){var t=n.articleLink,a=n.authorLink,o=n.authorName,l=n.avatarImg,i=n.banner,r=n.categoryLink,c=n.categoryName,m=n.className,d=n.dataEventActionForBanner,p=n.dataEventActionForBookmark,u=n.dataEventActionForCategory,g=n.dataEventActionForTitle,h=n.dataEventCategoryForBanner,f=n.dataEventCategoryForBookmark,v=n.dataEventCategoryForCategory,x=n.dataEventCategoryForTitle,E=n.dataEventLabelForBanner,y=n.dataEventLabelForBookmark,b=n.dataEventLabelForCategory,w=n.dataEventLabelForTitle,k=n.direction,C=void 0===k?"horizontal":k,L=n.hasAffiliate,N=n.isBookmark,z=void 0!==N&&N,M=n.isBookmarkDisplayed,F=void 0===M||M,D=n.isMobile,_=void 0===D||D,B=n.onBookmark,j=n.onClickCategoryName,I=n.section,H=void 0===I?"normal":I,S=n.size,A=void 0===S?"md":S,T=n.specialty,V=n.style,P=n.styleBanner,Z=n.styleLabel,W=n.styleTitle,U=n.text,G=n.title,O=n.type,R=void 0===O?"author":O,Y=n.uploadTime,K=n.articleLinkTarget,q=function(e){e.stopPropagation(),B&&B()},J="lg"===A&&"expert"===R?"h4":"lg"===A&&"home"===H?_?"h4":"h3":"lg"===A?"h4":"h5",Q="lg"===A?"p3":"p4",X=_||"home"!==H||"lg"!==A||"author"!==R?"c2":"c1";return e.createElement(ie,{className:m,"data-size":A,style:V,"data-direction":C,"data-is-expert":"expert"===R||void 0},e.createElement("div",{className:"banner",style:P},e.createElement(re,{"data-event-category":h,"data-event-action":d,"data-event-label":E,href:t||"#",target:K},i),L&&e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"})))),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(s,{style:Z,className:"label",size:X,type:"caption"},e.createElement(re,{"data-event-category":v,"data-event-action":u,"data-event-label":b,href:r||"#",onClick:j},c),F&&e.createElement("a",{className:"bookmark",onClick:q},z?e.createElement("svg",{"data-event-category":f,"data-event-action":p,"data-event-label":y,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):e.createElement("svg",{"data-event-category":f,"data-event-action":p,"data-event-label":y,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),e.createElement(oe,{tag:J,style:W,className:"title",as:"lg"===A?"h2":"h3"},e.createElement(re,{"data-event-category":x,"data-event-action":g,"data-event-label":w,href:t||"#",target:K},G)),U&&e.createElement("a",{href:t||"#",target:K},e.createElement(s,{size:Q,className:"text"},U))),e.createElement("div",{className:"footer"},"author"===R?e.createElement(Pt,{size:A,avatarImg:l,authorName:o,authorLink:a,uploadTime:Y,handleClick:q,isBookmarked:z,dataEventCategoryForBookmark:f,dataEventActionForBookmark:p,dataEventLabelForBookmark:y}):e.createElement(Zt,{size:A,isMobile:_,avatarImg:l,specialty:T,name:o,link:a,handleClick:q,isBookmarked:z,dataEventCategoryForBookmark:f,dataEventActionForBookmark:p,dataEventLabelForBookmark:y}))))},Ut=function(n){var t=n.LinkComponent,a=n.page,o=n.isLast,l=n.onChangePage,i=a.label,r=a.value,c=a.isDropdown,s=a.dropdownItems,m=a.dataEventCategory,d=a.dataEventAction,p=a.dataEventLabel;return c?e.createElement(An,{options:s,placeholder:"...",id:"",placeholderIcon:null,onChange:l,className:"collapsed-breadcrumb"}):e.createElement(pe,{title:"string"!=typeof i?r:i,"data-last":o},t&&e.createElement(t,{"data-event-category":m,"data-event-action":d,"data-event-label":p,href:r||"#"},i))},Gt=function(n){var t=n.className,o=n.pages,i=n.size,r=n.LinkComponent,c=void 0===r?"a":r,s=n.onChangePage,m=n.separator,d=a((function(){return o.map((function(e,n){return o.length>4?n>1&&n<o.length-2?null:1===n?G(G({},e),{isDropdown:1===n,dropdownItems:o.slice(1,o.length-2)}):e:e})).filter(Boolean)}),[o]),p=Sn(d.length);return e.createElement(me,{"data-size":i,className:t},d.map((function(n,t){var a=t+1===d.length;return e.createElement(l,{key:p[t]},e.createElement(Ut,{LinkComponent:c,page:n,isLast:a,onChangePage:s}),!a&&(m||e.createElement(de,{"data-size":i})))})))},Ot=function(n){var t=n.name,a=n.values,o=void 0===a?[]:a,l=n.onChanges,i=n.options,r=void 0===i?[]:i,c=n.className,s=n.type,m=void 0===s?"vertical":s,d=n.isDisabled,p=n.isRectangle,u=function(e,n){var t=o.slice();if(n)t.push(e);else{var a=t.findIndex((function(n){return n===e}));t.splice(a,1)}l&&l(t)};return e.createElement(ue,{className:c,"data-type":m,"data-is-rectangle":p||void 0},r.map((function(n,a){return e.createElement(It,{label:n.label,name:t,key:"".concat(a,"-").concat(n.value),checked:o.includes(n.value),value:n.value,isDisabled:d||n.disabled,onChange:!d&&u,isRectangle:p})})))},Rt=function(n){var t=n.size,a=n.iconPosition,o=n.className,l=n.children,i=n.icon;return e.createElement(ge,{className:o,"data-size":t,"data-icon-position":a},"left"===a&&i,l,"right"===a&&i)},Yt=function(t){var a=t.type,l=t.numberOfStep,r=t.activeStep,c=t.labelPrefix,s=t.detailSteps,m=t.className,d=t.onChange,p=n(0),u=p[0],g=p[1],h=function(n){var t=n.trackClassName,a=R(n,["trackClassName"]);return e.createElement(xe,G({},a,{className:t}),e.createElement(Ee,null))},f=e.createElement(he,{className:m+" progress-bar"},e.createElement(h,null),e.createElement((function(n){var t=n.trackLength,a=n.activeStep,o=n.labelPrefix,i=void 0===o?"Step":o,r=n.onChange;return e.createElement(e.Fragment,null,Array.from({length:l},(function(e,n){return n})).map((function(n,o){return e.createElement(ye,{"data-is-active":o===a,"data-label":o,style:{left:o*t/(l-1)},onClick:function(){r&&r(o)},key:o},o+1,e.createElement(be,{"data-step-passed":o<=a},i+" "+(o+1)))})))}),{trackLength:u,activeStep:r,labelPrefix:c,onChange:d})),v=e.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.5 9.5"},e.createElement("title",null,"chevron-right"),e.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),x=e.createElement(fe,null,s&&Array.from({length:s.length},(function(e,n){return n})).map((function(n,t){var a;return e.createElement(ve,{key:t,"data-selected":t===r,onClick:function(){d&&d(t)}},null===(a=s[t])||void 0===a?void 0:a.text," ",t<s.length-1&&v)}))),E=e.createElement(he,{className:m+" progress-bar"},e.createElement((function(n){var t=n.detailSteps,a=n.activeStep,o=n.onChange,l=Sn(t.length);return e.createElement(e.Fragment,null,Array.from({length:t.length},(function(e,n){return n})).map((function(n,i){return e.createElement(we,{key:l[i],style:{left:100/t.length*i+"%",width:100/t.length+"%"},onClick:function(){o&&o(i)}},t[i].icon?e.createElement(ke,{onClick:function(){o&&o(i)}},t[i].icon):e.createElement(Ce,{"data-is-active":i===a,"data-label":n,onClick:function(){o&&o(i)},key:i},i+1),e.createElement(Le,{"data-step-passed":i<a+1},t[i].text,e.createElement(Ne,null,t[i].description)),i<t.length-1&&e.createElement(h,{"data-step-passed":i<a,trackClassName:"progress-track","data-track-type":"detail"}))})))}),{activeStep:r,detailSteps:s,onChange:d})),y=i(Vn((function(){var e=document.querySelector(".progress-bar");e&&g(e.offsetWidth)}),1e3),[]);return o((function(){var e=document.querySelector(".progress-bar");return g(null==e?void 0:e.offsetWidth),window.addEventListener("resize",y),function(){window.removeEventListener("resize",y)}}),[]),"step-track"===a&&f||"breadcrumb"===a&&x||"detail-track"===a&&E},Kt=Object.freeze({__proto__:null,SideMenu:ze,SideHeader:Me,UserInfo:Fe,MenuLink:De}),qt=function(n){var t=n.isDisabled,a=n.isLeft,o=n.onClick,l=n.className,i=n.scheme,r=void 0===i?"hellosites":i;return e.createElement(je,{onClick:o,"data-is-disabled":t,"data-is-left":a,className:l},e.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a?e.createElement("path",{d:"M2.92902 6.00015L6.75002 2.17915C7.16402 1.76515 7.16402 1.09315 6.75002 0.679152C6.33602 0.265152 5.66402 0.265152 5.25002 0.679152L0.636023 5.29315C0.245023 5.68415 0.245023 6.31715 0.636023 6.70715L5.25002 11.3212C5.66402 11.7352 6.33602 11.7352 6.75002 11.3212C7.16402 10.9072 7.16402 10.2352 6.75002 9.82115L2.92902 6.00015Z",fill:"hellosites"===r?"#595959":"#E55C8A"}):e.createElement("path",{d:"M5.07095 6.00015L1.24995 2.17915C0.835953 1.76515 0.835953 1.09315 1.24995 0.679152C1.66395 0.265152 2.33595 0.265152 2.74995 0.679152L7.36395 5.29315C7.75495 5.68415 7.75495 6.31715 7.36395 6.70715L2.74995 11.3212C2.33595 11.7352 1.66395 11.7352 1.24995 11.3212C0.835953 10.9072 0.835953 10.2352 1.24995 9.82115L5.07095 6.00015Z",fill:"hellosites"===r?"#595959":"#E55C8A"})))},Jt=function(t){for(var a=t.row,o=t.column,l=t.children,i=t.scheme,r=void 0===i?"hellosites":i,c=t.classNameLeftArrow,s=void 0===c?"":c,m=t.classNameRightArrow,d=void 0===m?"":m,p=t.mode,u=void 0===p?"snap":p,g=t.isDotsShown,h=void 0===g||g,f=t.isArrowShown,v=void 0!==f&&f,x=t.dataEventCategory,E=t.dataEventAction,y=t.dataEventLabel,b=t.onChangePage,w=e.useState(0),k=w[0],C=w[1],L=n(!1),N=L[0],z=L[1],M=Pn({defaultAnimation:{duration:1e3},initial:0,slideChanged:function(e){C(e.track.details.rel),b&&b(e.track.details.rel)},created:function(){z(!0)},drag:!0,mode:u,slides:{spacing:12}}),F=M[0],D=M[1],_=[],B=a*o,j=0;j<l.length;j+=B){var I=l.slice(j,j+B);_.push(I)}return e.createElement(_e,{row:a,column:o},e.createElement("div",{className:"navigation-wrapper"},e.createElement("div",{ref:F,className:"keen-slider slides-wrapper"},_.map((function(n,t){return e.createElement("div",{key:t,className:"keen-slider__slide page-items"},n.map((function(n,t){return e.createElement("div",{key:t},n)})))}))),N&&D.current&&v&&e.createElement(e.Fragment,null,e.createElement(qt,{isLeft:!0,onClick:function(e){var n;return e.stopPropagation()||(null===(n=D.current)||void 0===n?void 0:n.prev())},isDisabled:0===k,scheme:r,className:"left-arrow ".concat(s),"data-event-category":x,"data-event-action":E,"data-event-label":y}),e.createElement(qt,{isLeft:!1,onClick:function(e){var n;return e.stopPropagation()||(null===(n=D.current)||void 0===n?void 0:n.next())},isDisabled:k===D.current.track.details.slides.length-1,scheme:r,className:"right-arrow ".concat(d),"data-event-category":x,"data-event-action":E,"data-event-label":y}))),N&&D.current&&h&&e.createElement("div",{className:"dots"},O([],Array(D.current.track.details.slides.length),!0).map((function(n,t){return e.createElement(Be,{key:t,onClick:function(){var e;null===(e=D.current)||void 0===e||e.moveToIdx(t)},"data-is-active":k===t,"data-is-hellosites":"hellosites"===r})}))))},Qt=function(n){var t=n.type,a=n.description,o=n.value,l=n.withIcon,i=n.isInACard,r=n.cardColor,c=n.className;return e.createElement(Ie,{className:c,"data-size":t,"data-is-in-card":"big"===t&&i,"data-card-color":r},e.createElement(He,null,"small"===t&&e.createElement(Se,{"data-color":r}),a),e.createElement(Ae,{"data-size":t},"small"!==t&&l,o))},Xt=Object.freeze({__proto__:null,Table:Te,Cell:Ve,Head:Pe,Row:Ze,Body:We}),$t=function(t){var a=t.style,l=t.initialTab,i=t.tabContent,r=t.onChange,c=t.className,m=t.dataEventCategory,d=t.dataEventAction,p=t.dataEventLabel,u=t.id,g=n(l||0),h=g[0],f=g[1],v=Sn(i.length);return o((function(){f(l)}),[l]),e.createElement(Ue,{style:a,className:c,role:"tablist",id:u},i.map((function(n,t){return e.createElement(Ge,{"data-is-tab-active":h===t||void 0,"aria-selected":h===t,role:"tab",onClick:function(){f(t),r&&r(t)},onKeyDown:function(e){"Enter"===e.key&&(f(t),r&&r(t))},key:v[t],"data-event-category":m,"data-event-action":d,"data-event-label":p,tabIndex:0},e.createElement(Oe,null,n.icon&&e.createElement(Re,null,n.icon),e.createElement(s,{size:n.textSize||"sm",type:n.textType||"bold",color:n.textColor||le.colors.gray800,dataEventCategory:n.dataEventCategory,dataEventAction:n.dataEventAction,dataEventLabel:n.dataEventLabel},n.name)))})))},ea=function(n){var t=n.thankyou,a=n.thankyouSubtitle,o=n.className,l=n.style;return e.createElement(Ye,{className:o,style:l},e.createElement("div",{className:"survey-inner-wrapper"},e.createElement(Ke,null,e.createElement("div",{className:"survey-thankyou-wrapper-inner"},e.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},e.createElement("path",{d:"M61.5 122C94.6371 122 121.5 95.1371 121.5 62C121.5 28.8629 94.6371 2 61.5 2C28.3629 2 1.5 28.8629 1.5 62C1.5 95.1371 28.3629 122 61.5 122Z",fill:"#E3F2FF"}),e.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),e.createElement("path",{d:"M82.9048 72.6663H101.5L87.597 40H35.403L21.5 72.6663H40.0952V91H83.0786L82.9048 72.6663Z",fill:"#2C74DF"}),e.createElement("path",{d:"M74.4004 15.0005H39.863C36.9017 15.0005 34.5 17.4022 34.5 20.3635V72.5769C34.5 75.5383 36.9017 77.9399 39.863 77.9399H83.1357C86.097 77.9399 88.4987 75.5383 88.4987 72.5769V29.0988L88.4987 21.0005C88.4987 17.6868 85.8124 15.0005 82.4987 15.0005H74.4004Z",fill:"white"}),e.createElement("path",{d:"M88.8529 80.1077H34.1469C31.8699 80.1077 30.06 78.3036 30.06 76.0338V65.3837C30.06 63.1139 31.8699 61.3098 34.1469 61.3098H88.8529C91.1299 61.3098 92.9398 63.1139 92.9398 65.3837V76.0338C92.9398 78.3036 91.1299 80.1077 88.8529 80.1077Z",fill:"#E4E8EC"}),e.createElement("path",{d:"M90.838 85.4512H32.1618C29.8849 85.4512 28.075 83.6471 28.075 81.3774V70.7272C28.075 68.4575 29.8849 66.6533 32.1618 66.6533H90.7796C93.0566 66.6533 94.8665 68.4575 94.8665 70.7272V81.3774C94.9249 83.6471 93.0566 85.4512 90.838 85.4512Z",fill:"white"}),e.createElement("path",{d:"M103.748 75.4919V105.755C103.748 107.675 102.172 109.247 100.245 109.247H23.0031C21.0764 109.247 19.5 107.675 19.5 105.755V75.4919C19.5 73.5713 21.0764 72 23.0031 72H42.3866C44.3133 72 45.8897 73.5713 45.8897 75.4919V80.8461C45.8897 81.1952 46.1232 81.428 46.4735 81.428H76.7749C77.1253 81.428 77.3588 81.1952 77.3588 80.8461V75.4919C77.3588 73.5713 78.9352 72 80.8618 72H100.245C102.172 72 103.748 73.5713 103.748 75.4919Z",fill:"#45A4FF"}),e.createElement("path",{d:"M51.9541 91.3767V94.4612C51.9541 96.0907 53.2386 97.3711 54.8733 97.3711H67.7179C69.3526 97.3711 70.6371 96.0907 70.6371 94.4612V91.3767",stroke:"#2C74DF",strokeWidth:"3",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M120.5 38.0251C118.5 37.7793 117.25 39.3768 118.125 41.22L118.375 41.9573C119.125 43.8006 118 45.398 116 45.1523L115.25 45.0294C113.25 44.7836 112 46.3811 112.875 48.2244L113.25 48.9616C114 50.8049 112.875 52.4025 110.875 52.1567L110.125 52.0337C108.625 51.9109 107.5 52.7712 107.5 54",stroke:"#FE921D",strokeWidth:"1.9096",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M1.53299 62C1.2644 63.413 2.6745 64.337 4.35323 63.8478L5.02472 63.6304C6.70346 63.087 8.11356 64.0109 7.84496 65.4783L7.7107 66.0217C7.4421 67.4348 8.8522 68.3587 10.5309 67.8696L11.2024 67.6522C12.8812 67.1087 14.2913 68.0326 14.0227 69.5L13.8884 70.0435C13.687 71.1304 14.4256 71.8913 15.5 72",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M118 92C119.381 92 120.5 90.8807 120.5 89.5C120.5 88.1193 119.381 87 118 87C116.619 87 115.5 88.1193 115.5 89.5C115.5 90.8807 116.619 92 118 92Z",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M82.0001 3.18747L83.1875 7.53467L87.5347 6.34727L86.3473 2.00007L82.0001 3.18747Z",stroke:"#00B16A",strokeWidth:"2.1628",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M17.0001 28C18.1046 28 19 27.1045 19 25.9999C19 24.8954 18.1046 24 17.0001 24C15.8955 24 15 24.8954 15 25.9999C15 27.1045 15.8955 28 17.0001 28Z",stroke:"#FE921D",strokeWidth:"2.3278",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M61.5 26.6667C54.136 26.6667 48.1667 32.6361 48.1667 40.0001C48.1667 47.3641 54.136 53.3334 61.5 53.3334C68.864 53.3334 74.8334 47.3641 74.8334 40.0001C74.8334 32.6361 68.864 26.6667 61.5 26.6667ZM69.1094 36.9427L59.776 46.2761C59.516 46.5361 59.1747 46.6667 58.8334 46.6667C58.492 46.6667 58.1507 46.5361 57.8907 46.2761L53.8907 42.2761C53.3694 41.7547 53.3694 40.9121 53.8907 40.3907C54.412 39.8694 55.2547 39.8694 55.776 40.3907L58.8334 43.4481L67.224 35.0574C67.7454 34.5361 68.588 34.5361 69.1094 35.0574C69.6307 35.5787 69.6307 36.4214 69.1094 36.9427Z",fill:"#00CB8A"})),t&&e.createElement(oe,{className:"survey-thankyou-title",tag:"h3"},t),a&&e.createElement(s,{className:"survey-thankyou-subtitle",size:"p3"},a)))))},na=function(t){var a=t.items,l=t.className,i=t.style,r=t.backgroundPanelStyle,c=t.isOpen,s=t.onOpen,m=t.onClose,d=t.disableBackdropClick,p=t.siteType,u=void 0===p?"hb":p,g=t.animationType,h=void 0===g?"zoom":g,f=t.zIndex,v=void 0===f?300:f,x=n(!!c),E=x[0],y=x[1];o((function(){y(!!c)}),[c]);var b=function(){y(!1),m&&m()};return e.createElement(qe,{style:i,className:l,"data-floatmenu-open":E,"data-site-type":u,"data-animation-type":h},e.createElement(Je,{className:"float-button-group__panel",style:G({zIndex:v},r),onClick:d?void 0:b}),e.createElement(Qe,{className:"float-button-group___content",style:{zIndex:v}},e.createElement(Xe,null,a.map((function(n,t){return e.createElement($e,{className:"float-item-button-".concat(t),style:G(G({},"zoom"===h&&{bottom:64*(a.length-1-t),transitionDelay:"".concat(en/a.length*(E?a.length-1-t:t),"ms")}),"slide"===h&&{bottom:64*(a.length-1-t),transitionDelay:"".concat(en/a.length*(E?t:a.length-1-t),"ms")}),key:t,onClick:function(){n.onClick(),n.keepMenuOnClick||y(!1)}},e.createElement(nn,{style:G({},"zoom"===h&&{transitionDelay:"".concat(en/a.length*(E?a.length-1-t:t),"ms")})},n.label),e.createElement(tn,{className:"float-item-button__icon-wrapper",style:G({},("zoom"===h||"slide"===h)&&{transitionDelay:"".concat(en/a.length*(E?a.length-1-t:t),"ms")})},n.icon))}))),e.createElement(an,{onClick:E?b:function(){y(!0),s&&s()}})))},ta=function(n){var t=n.className,a=n.policiesUrl,o=n.onAcceptClick,l=n.translations,i=void 0===l?{acceptButton:"Accept",policiesButton:"Our Policies"}:l,r=n.title,c=void 0===r?"":r,s=n.description,m=void 0===s?"":s,d=n.theme,p=void 0===d?"helloSites":d,u=n.isOpen,g=void 0===u||u,h=n.useDefaultPosition,f=void 0===h||h,v=n.trackingAttributes;return e.createElement(on,{className:t,"data-theme":p,"data-is-open":g,"data-default-position":f},e.createElement(ln,{"data-has-content":!!c},c),e.createElement(rn,{dangerouslySetInnerHTML:{__html:m}}),e.createElement(cn,null,e.createElement(sn,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:o,"data-event-category":null==v?void 0:v.dataEventCategory,"data-event-action":null==v?void 0:v.dataEventAction,"data-event-label":null==v?void 0:v.dataEventLabel},i.acceptButton),e.createElement(mn,{href:a},i.policiesButton)))},aa=function(n){var t,a,o,l,i,r,c,s,m,d,p,u,g,h,f,v,x,E,y,b=n.SEOData,w=void 0===b?{}:b,k=n.isAmp,C=void 0!==k&&k,L=n.locale,N=void 0===L?"vi-VN":L,z=n.routerPathname,M=n.routerQuery,F=n.nextHead,D=n.siteType,_=n.seoCustom,B=n.userId,j=n.forcedCanonicalUrl,I=w.totalPages,H=w.currentPage,S=w.SEOTitle,A=void 0===S?"":S,T=w.SEODescription,V=void 0===T?"":T,P=w.SEOImage,Z=w.seoType,W=w.SEOImageWidth,U=w.SEOImageHeight,R=w.customMetaData,Y=void 0===R?[]:R,K=w.isIndexable,q=void 0===K||K,J=w.hasNoCanonical,Q=void 0!==J&&J,X=q&&Gn?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",$=process.env.NEXT_PUBLIC_BASE_API_URL,ee=w.canonicalUrl||z;Object.keys(M).forEach((function(e){var n=M[e];n&&Array.isArray(n)&&(ee=ee.replace("[...".concat(e,"]"),n.join("/")))}));var ne,te=N||"en-PH",ae="helloSites"===D?Zn[te]:"www.marrybaby.vn",oe=ee.endsWith("/")?"":"/";if(w.apiMetaData&&"string"==typeof w.apiMetaData){var le=null===(t=w.apiMetaData)||void 0===t?void 0:t.match(/<title.*?>(.*)<\/title>/),ie=" - Page ".concat(H," of ").concat(I),re=H&&1!==H&&le?w.apiMetaData.replace(le[0],le[0].includes("-")?le[0].replace("-",ie+" - "):"<title>".concat(le[1].concat(ie),"</title>")).replace('<link rel="canonical" href="https://'.concat(ae).concat(ee).concat(oe,'" />'),'<link rel="canonical" href="https://'.concat(ae).concat(ee).concat(oe,"?page=").concat(H,'" />')):w.apiMetaData,ce=(ne=at(re,{trim:!0})).find((function(e){var n,t;return"og:image"===(null===(n=e.props)||void 0===n?void 0:n.property)||"og:image:secure_url"===(null===(t=e.props)||void 0===t?void 0:t.property)}));if(!ce){var se="https://".concat(ae,"/images/").concat(N,".png");ne=O(O([],ne,!0),[e.createElement("meta",{key:"og:image",property:"og:image",content:(null===(a=w.openGraph)||void 0===a?void 0:a.image)||se||""}),e.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(o=w.openGraph)||void 0===o?void 0:o.image)||se}),e.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(l=w.openGraph)||void 0===l?void 0:l.imageWidth)&&String(null===(i=w.openGraph)||void 0===i?void 0:i.imageWidth)||"1200"}),e.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(r=w.openGraph)||void 0===r?void 0:r.imageHeight)&&String(null===(c=w.openGraph)||void 0===c?void 0:c.imageHeight)||"630"})],!1)}}var me="https://".concat(ae,"/images/").concat(N,".png");return e.createElement(F,null,e.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===D&&e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===N?e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===N||"ms-MY"===N?e.createElement(e.Fragment,null):e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),e.createElement("link",{rel:"preconnect",href:$}),e.createElement("meta",{charSet:"UTF-8"}),!C&&e.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),e.createElement("meta",{name:"google",content:"notranslate"}),e.createElement("meta",{name:"robots",content:X}),e.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),Y.map((function(n,t){return e.createElement("meta",G({key:t},n))})),e.createElement("meta",{name:"theme-color",content:"helloSites"===D?"#2c87f3":"#e85388"}),e.createElement("meta",{name:"page_type",content:"Home"}),e.createElement("meta",{name:"page_platform",content:"WEB"}),e.createElement("meta",{name:"page_language",content:te}),e.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),C&&e.createElement(e.Fragment,null,e.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),e.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),e.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),e.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!ne&&e.createElement(e.Fragment,null,"helloSites"===D?e.createElement("title",null,_?A:A+" - "+(null===(s=Wn[N])||void 0===s?void 0:s.SITE_NAME)):e.createElement("title",null,A),!Q&&e.createElement("link",{rel:"canonical",href:"https://".concat(ae).concat(ee)}),e.createElement("meta",{name:"description",content:V||(null===(m=w.openGraph)||void 0===m?void 0:m.description)}),w.schemaData&&e.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:w.schemaData}}),e.createElement("meta",{property:"og:locale",content:N}),e.createElement("meta",{property:"og:type",content:Z||"website"}),e.createElement("meta",{property:"og:title",content:(null===(d=w.openGraph)||void 0===d?void 0:d.title)||A}),e.createElement("meta",{property:"og:description",content:(null===(p=w.openGraph)||void 0===p?void 0:p.description)||V}),e.createElement("meta",{property:"og:url",content:"https://".concat(ae).concat(ee)}),e.createElement("meta",{property:"og:site_name",content:"https://".concat(ae)}),e.createElement("meta",{property:"og:image",content:(null===(u=w.openGraph)||void 0===u?void 0:u.image)||P||me||""}),e.createElement("meta",{property:"og:image:secure_url",content:(null===(g=w.openGraph)||void 0===g?void 0:g.image)||P||me}),e.createElement("meta",{property:"og:image:width",content:(null===(h=w.openGraph)||void 0===h?void 0:h.imageWidth)&&String(null===(f=w.openGraph)||void 0===f?void 0:f.imageWidth)||W&&String(W)||"1200"}),e.createElement("meta",{property:"og:image:height",content:(null===(v=w.openGraph)||void 0===v?void 0:v.imageHeight)&&String(null===(x=w.openGraph)||void 0===x?void 0:x.imageHeight)||U&&String(U)||"630"}),e.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),e.createElement("meta",{name:"twitter:title",content:(null===(E=w.twitter)||void 0===E?void 0:E.title)||A}),e.createElement("meta",{name:"twitter:description",content:V}),e.createElement("meta",{name:"twitter:image",content:(null===(y=w.twitter)||void 0===y?void 0:y.image)||P})),("helloSites"===D?Un[te]||[]:Un.marryBaby).map((function(n,t){return"link"===n.type?e.createElement("link",{key:"favicon-".concat(t),rel:n.rel,href:n.href,sizes:n.sizes}):"meta"===n.type?e.createElement("meta",{key:t,name:n.name,content:n.content}):null})),Array.isArray(ne)&&j?ne.filter((function(e){return"canonical"!==e.props.name&&"canonical"!==e.props.rel})):ne,j&&e.createElement("link",{rel:"canonical",href:j}),!w.hasNoAmp&&"vi-VN"!==N&&e.createElement("link",{rel:"amphtml",href:"https://".concat(ae).concat(ee).concat(oe,"?amp=1")}),B&&"undefined"!=typeof window?e.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(B,"'});")}}):null)},oa=function(n){var t=n.className,a=n.heading,o=n.isMobile,l=n.bannerUrl,i=n.bannerUrlLarge,r=n.medicalReview,c=n.icon,s=(n.isHomePage,n.style),m=o?"h5":"h2",d=o?l:i||l;return e.createElement(dn,{"data-is-mobile":o,style:s},e.createElement(pn,{className:t,"data-banner-url":d,"data-is-mobile":o},e.createElement(Z,{className:"container"},e.createElement(un,null,e.createElement(gn,{"data-is-mobile":o},e.createElement(hn,{"data-is-mobile":o},e.createElement(oe,{color:le.colors.white,tag:m,as:"h2"},a)),r&&e.createElement(fn,{"data-is-mobile":o},e.createElement("img",{src:"./check-circle.svg",alt:void 0}),r)),e.createElement(vn,{"data-is-mobile":o},c)))))},la=function(t){var a,l=t.isMobile,i=t.locale,r=t.onSubmitDueDate,c=ot().t,m=n({}),d=m[0],p=m[1],u=n(""),g=u[0],h=u[1];return o((function(){Y(void 0,void 0,void 0,(function(){var e,n;return K(this,(function(t){switch(t.label){case 0:return[4,lt(it(rt.GET_DUE_DATE_INFO),"GET")];case 1:return e=t.sent(),p(null==e?void 0:e.data),h(Tn(null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.reviewd_by)||""),[2]}}))}))}),[]),e.createElement(xn,null,e.createElement(oa,{isEmbed:!0,bannerUrl:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzc1IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMzc1IDg4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMCAwSDM3NVY2OEwwIDg4VjBaIiBmaWxsPSJ1cmwoI3BhaW50MF9saW5lYXJfMTAzMzFfMjYzMDYpIi8+CjxkZWZzPgo8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50MF9saW5lYXJfMTAzMzFfMjYzMDYiIHgxPSItNi4xMjU1NGUtMDYiIHkxPSIzLjY2NjY3IiB4Mj0iODguNzQ4NCIgeTI9IjIwMS40MjciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iI0ZDNUQ5QSIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRDg3QjQiLz4KPC9saW5lYXJHcmFkaWVudD4KPC9kZWZzPgo8L3N2Zz4K",icon:e.createElement("img",{alt:"health-tool-icon",src:"https://hellobacsi.com/images/due-date-icon.svg",style:{objectFit:"contain"}}),style:{padding:0},heading:c("healthTools.dueDateCalculator"),medicalReview:(null===(a=null==d?void 0:d.reviewed_by)||void 0===a?void 0:a.display_name)?e.createElement(s,{size:"n1",color:le.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:c("toolPage.toolReviewer",{expert_name:'<a\n style="color: white"\n href="'.concat(g,'"\n >\n ').concat(null==d?void 0:d.reviewed_by.display_name,"\n </a>"),date:null==d?void 0:d.reviewed_date})}}),e.createElement("span",null)):void 0,isMobile:l}),e.createElement(Z,null,e.createElement(En,null,e.createElement(yn,{locale:i,onSubmitDueDate:r}))))},ia=function(n){var t=n.ampNextArticles,a=(null==t?void 0:t.filter(Boolean))||[];if(!(null==a?void 0:a.length))return null;return e.createElement("amp-next-page",null,e.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(a.map((function(e){return{image:e.image||"",title:e.title?JSON.stringify(e.title):"",url:e.link||""}})))}}),e.createElement("div",G({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:"))},ra=function(){return"undefined"!=typeof window&&window.innerWidth<Q.BREAK_POINT_MOBILE},ca=function(){return"undefined"!=typeof window&&window.innerWidth>=Q.BREAK_POINT_MOBILE&&window.innerWidth<Q.BREAK_POINT_PC};var sa={"en-PH":st,"vi-VN":dt,"zh-TW":pt,"id-ID":mt};function ma(t){var l=t.value,i=void 0===l?{from:null,to:null}:l,r=n(null),c=r[0],s=r[1],m=function(){var e=n(ra()),t=e[0],a=e[1],l=n(ca()),i=l[0],r=l[1];return o((function(){var e=function(){a(ra()),r(ca())};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),{isMobile:t,isLargeMobile:i}}().isMobile,d=n((function(){return i})),p=d[0],u=d[1],g=n((function(){var e;return Rn(null!==(e=i.from)&&void 0!==e?e:new Date)})),h=g[0],f=g[1],v=a((function(){return Yn(h,1)}),[h]);var x=G(G({},t),{goToNextMonth:function(){f((function(e){return Yn(e,1)}))},goToPreviousMonth:function(){f((function(e){return qn(e,1)}))},range:p,setRange:u,hoverDay:c,setHoverDay:s});return e.createElement(e.Fragment,null,e.createElement(da,G({},x,{date:h})),!m&&e.createElement(bn,null),!m&&e.createElement(da,G({},x,{date:v})))}function da(n){var t=n.date,l=n.range,i=n.setRange,r=n.onChange,c=n.goToPreviousMonth,s=n.goToNextMonth,m=n.minDate,d=n.maxDate,p=n.close,u=void 0===p?function(){}:p,g=n.autoClose,h=void 0!==g&&g,f=n.hoverDay,v=n.setHoverDay,x=ot().locale,E=a((function(){var e;return null!==(e=sa[x])&&void 0!==e?e:sa["en-PH"]}),[x]),y=a((function(){return Kn(t,"MMMM",{locale:E})}),[t,E]),b=a((function(){return E?[1,2,3,4,5,6,0].map((function(e){return E.localize.day(e,{width:"narrow"})})):[]}),[E]);function w(n,t){if(null===n)return e.createElement(Dn,{key:"idx-".concat(t),"data-empty":"true"});var a=n.getDate(),o=Qn(n),r=!!l.from&&Xn(l.from,n),c=!!l.to&&Xn(l.to,n),s=r||c,p=!1;null!==f&&l.from&&On(l.from,f)&&!l.to?p=$n(n,{start:l.from,end:f}):l.from&&l.to&&(p=$n(n,{start:l.from,end:l.to}));var g=!1;return m&&d?g=!$n(n,{start:m,end:d}):m?g=On(n,m):d&&(g=et(n,d)),e.createElement(Dn,{key:a,"data-is-today":o,"data-is-past":!o&&nt(n),"data-is-selected":s,"data-is-disabled":g,"data-in-range":p,"data-is-from":r,"data-is-to":c,onMouseEnter:function(){v(n)},onMouseLeave:function(){return v(null)},onClick:function(){g||i((function(e){return h&&l.from&&!l.to&&u(),function(e,n){return n.from||n.to?n.from&&n.to?{from:e,to:null}:n.from?On(e,n.from)?G(G({},n),{from:e}):G(G({},n),{to:e}):n:G(G({},n),{from:e})}(n,e)}))}},e.createElement(_n,{onClick:function(){}},e.createElement("p",null,a)))}return o((function(){l.from&&l.to&&r(l)}),[l]),e.createElement(wn,{className:"calendar-wrapper"},e.createElement(kn,null,e.createElement(ae,{onClick:c,size:"md",color:"ghost",icon:e.createElement("img",{src:"data:image/svg+xml,%3csvg width='7' height='13' viewBox='0 0 7 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.66875 11.814L1.46875 6.657L5.66875 1.5' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"})}),e.createElement("div",{className:"calendar-month"},y,e.createElement("strong",null,Kn(t,"yyyy"))),e.createElement(ae,{onClick:s,size:"md",color:"ghost",icon:e.createElement("img",{src:"data:image/svg+xml,%3csvg width='7' height='13' viewBox='0 0 7 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1.46875 11.814L5.66875 6.657L1.46875 1.5' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"})})),e.createElement(Cn,null,e.createElement("div",null,e.createElement(Ln,null,b.map((function(n,t){return e.createElement(Nn,{key:"".concat(n,"-").concat(t)},n)})))),e.createElement("div",null,function(){for(var n=t.getFullYear(),a=t.getMonth(),o=Jn(t),i=[],r=1;r<=o;r++)i.push(new Date(n,a,r));var c=i[0]?i[0].getDay():0;if(1!==c){var s=0===c?6:c-1;for(r=0;r<s;r++)i.unshift(null)}return e.createElement(zn,{key:"month-".concat(a),"data-month-index":a,"data-has-range":Boolean(l.from&&l.to)},e.createElement(Mn,null,e.createElement(Fn,null,i.map(w))))}())))}function pa(o){var l=o.inputSize,i=void 0===l?"md":l,r=o.name,c=void 0===r?"date-range-picker":r,s=o.value,m=o.minDate,d=o.maxDate,p=o.onChange,u=o.className,g=o.autoClose,h=void 0!==g&&g;s||(s={from:null,to:null});var f=n(!1),v=f[0],x=f[1];function E(){x(!1)}var y=t(null);function b(e){p&&p(e)}function w(e){return Kn(e,"dd/MM/yyyy")}ct(y,(function(){E()}));var k=a((function(){return s.from&&s.to?Xn(s.from,s.to)?w(s.from):"".concat(w(s.from)," - ").concat(w(s.to)):""}),[s.from,s.to]);return e.createElement(Bn,{className:[u,v&&"focused"].filter(Boolean).join(" "),ref:y},e.createElement("label",{htmlFor:c},e.createElement(W,{size:i,value:k,name:c,actionIcon:e.createElement("img",{src:"data:image/svg+xml,%3csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.9168 1.99984H13.5835C14.3168 1.99984 14.9168 2.59984 14.9168 3.33317V13.9998C14.9168 14.7332 14.3168 15.3332 13.5835 15.3332H2.91683C2.1835 15.3332 1.5835 14.7332 1.5835 13.9998V3.33317C1.5835 2.59984 2.1835 1.99984 2.91683 1.99984H3.5835V1.33317C3.5835 0.966504 3.8835 0.666504 4.25016 0.666504C4.61683 0.666504 4.91683 0.966504 4.91683 1.33317V1.99984H11.5835V1.33317C11.5835 0.966504 11.8835 0.666504 12.2502 0.666504C12.6168 0.666504 12.9168 0.966504 12.9168 1.33317V1.99984ZM3.5835 13.9998H12.9168C13.2835 13.9998 13.5835 13.6998 13.5835 13.3332V5.33317H2.91683V13.3332C2.91683 13.6998 3.21683 13.9998 3.5835 13.9998Z' fill='%23595959'/%3e%3c/svg%3e"}),autoFocus:!1,onFocus:function(){return x(!0)}})),v?e.createElement(jn,{onMouseDown:function(e){e.stopPropagation()}},e.createElement(ma,{value:s,onChange:b,minDate:m,maxDate:d,close:E,autoClose:h})):null)}var ua,ga,ha=function(){return e.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.86364 10.6666H5.22727C4.86912 10.6666 4.51448 10.5977 4.18359 10.4637C3.8527 10.3296 3.55205 10.1332 3.2988 9.8856C2.78734 9.3855 2.5 8.70722 2.5 7.99998C2.5 7.29274 2.78734 6.61446 3.2988 6.11436C3.81026 5.61426 4.50396 5.33331 5.22727 5.33331H6.86364M9.78374 5.33331H11.7727C12.1309 5.33331 12.4855 5.40229 12.8164 5.5363C13.1473 5.67031 13.4479 5.86674 13.7012 6.11436C13.9545 6.36198 14.1553 6.65596 14.2924 6.97949C14.4295 7.30303 14.5 7.64979 14.5 7.99998C14.5 8.35017 14.4295 8.69693 14.2924 9.02047C14.1553 9.344 13.9545 9.63798 13.7012 9.8856C13.4479 10.1332 13.1473 10.3296 12.8164 10.4637C12.4855 10.5977 12.1309 10.6666 11.7727 10.6666H9.78374",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6.5 8H10.5",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"}))},fa=function(n){var t=n.url,a=n.onCopied,o=n.locale,l=ot().t,i=ut(t||"").filter((function(e){return!e.allowedLocales||e.allowedLocales.includes(o)}));return e.createElement(In,null,e.createElement(s,{size:"p3",color:le.colors.gray800},l("shareContainer.title")),e.createElement("div",{className:"icon-group"},i.map((function(n,t){return e.createElement("a",{key:t,href:n.href,target:"_blank",rel:"noreferrer"},n.icon)})),e.createElement(ae,{size:"sm",type:"button",color:"tertiary",className:"share",style:{},icon:e.createElement(ha,null),onClick:function(){return Y(void 0,void 0,void 0,(function(){var e;return K(this,(function(n){switch(n.label){case 0:return[4,null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(t)];case 1:return n.sent(),null==a||a(),[2]}}))}))}})))},va=function(){return e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"copy"},e.createElement("path",{d:"M4 2.5C3.17125 2.5 2.5 3.17125 2.5 4V13.75C2.5 14.164 2.836 14.5 3.25 14.5C3.664 14.5 4 14.164 4 13.75V4H13.75C14.164 4 14.5 3.664 14.5 3.25C14.5 2.836 14.164 2.5 13.75 2.5H4ZM7 5.5C6.17125 5.5 5.5 6.17125 5.5 7V16C5.5 16.8287 6.17125 17.5 7 17.5H16C16.8287 17.5 17.5 16.8287 17.5 16V7C17.5 6.17125 16.8287 5.5 16 5.5H7ZM7 7H16V16H7V7Z",fill:"#595959"}))},xa=function(n){var t=n.open,a=n.title,l=n.onClose,r=n.onCopied,c=n.onShared,m=n.url,d=n.locale,p=R(n,["open","title","onClose","onCopied","onShared","url","locale"]),u=ot().t,g=i((function(){return Y(void 0,void 0,void 0,(function(){var e;return K(this,(function(n){switch(n.label){case 0:return[4,null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(m)];case 1:return n.sent(),null==r||r(),[2]}}))}))}),[m,r]),h=ut(m||"").filter((function(e){return!e.allowedLocales||e.allowedLocales.includes(d)}));return console.log(h),o((function(){t&&navigator.share&&navigator.share({title:null!=a?a:"Read This Post",url:m}).then((function(){null==c||c()})).catch((function(){null==l||l()}))}),[m,a,c,t]),navigator.share?null:e.createElement(Hn,G({title:u("share.title"),onClose:l,open:t,placement:"bottom"},p),e.createElement("div",{className:"share-container"},e.createElement("div",{className:"icon-container"},e.createElement(s,{type:"semiBold",size:"s3",color:le.colors.gray600},u("share.title")),e.createElement("div",{className:"icon-group"},h.map((function(n,t){return e.createElement("a",{key:t,href:n.href,target:"_blank",rel:"noreferrer"},n.icon)})))),e.createElement("div",{className:"link-container"},e.createElement(s,{type:"semiBold",size:"s3",color:le.colors.gray600},u("share.copyLink")),e.createElement("div",{className:"input-group"},e.createElement(gt,{name:"link",size:"md",value:m,isDisabled:!0}),e.createElement(ae,{size:"md",type:"button",color:"tertiary",icon:e.createElement(va,null),onClick:g})))))},Ea=tt.footer(ua||(ua=q(["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),X.mbDown,X.mbDown,X.mbUp,(function(e){return e.theme.colors.neutral500}),(function(e){return e.theme.colors.neutral500}),X.mbUp,X.mbDown,(function(e){return e.theme.colors.neutral500}),X.mbUp,X.mbUp,(function(e){return e.theme.colors.neutral500}),X.mbUp,(function(e){return e.theme.colors.neutral500}),X.mbDown,X.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),X.mbDown,(function(e){return e.theme.colors.neutral500}),X.mbDown,X.mbUp,(function(e){return e.theme.colors.neutral500}),X.mbDown,X.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),X.mbUp),ya=tt.div(ga||(ga=q(["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"],["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"]))),ba=function(n){var t=n.url,a=n.isMobile,o=n.dataEventCategory,l=n.dataEventAction,i=n.dataEventLabel,r=n.isAmp;return e.createElement(ya,{"data-is-mobile":a},r?e.createElement("amp-img",{className:"country-flag",src:t,alt:"Country Flag","data-event-category":o,"data-event-action":l,"data-content-label":i}):e.createElement("img",{loading:"lazy",className:"country-flag lazy","data-src":t,alt:"Country Flag","data-event-category":o,"data-event-action":l,"data-content-label":i}))},wa=function(n){var t,a,l,i,r,c,m,d,p,u,g,h,f,v,x,E,y,b,w,k,C,L,N,z,M,F,D,_,B,j,I,H,S,A,T,V=n.className,P=n.type,W=void 0===P?"main":P,U=n.footerInfo,G=n.isMobile,O=n.locale,R=n.isAmp,Y=ot().t,K=null==U?void 0:U.menu;return o((function(){setTimeout((function(){return null==$?void 0:$.update()}),100)}),[]),e.createElement(Ea,{as:R&&"mini"===W?"div":"footer",className:V,style:"mini"===W?{backgroundColor:le.colors.neutral50}:{},"next-page-hide":!0},e.createElement(Z,null,e.createElement("div",{className:"inner","data-type":W,"next-page-hide":""},"main"===W?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},R?(null===(a=null==U?void 0:U.general)||void 0===a?void 0:a.logo)?e.createElement("amp-img",{src:null===(l=null==U?void 0:U.general)||void 0===l?void 0:l.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:e.createElement("img",{loading:"lazy",className:"footer-logo lazy","data-src":null===(t=null==U?void 0:U.general)||void 0===t?void 0:t.logo,alt:"Logo","data-is-sehat":"id-ID"===O})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(s,{size:"p1",type:"bold"},null===(i=null==U?void 0:U.general)||void 0===i?void 0:i.content),e.createElement(ae,{className:"signupButton",color:"primary",size:"lg"},Y("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(s,{size:"sm",type:"regular"},null===(r=null==U?void 0:U.social)||void 0===r?void 0:r.title),e.createElement("div",{className:"icons"},null===(m=null===(c=null==U?void 0:U.social)||void 0===c?void 0:c.socials)||void 0===m?void 0:m.map((function(n,t){return e.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,href:n.url},R?e.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",width:"32",height:"32"}):e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,"data-src":n.icon,alt:"Logo Social",className:"social-icon lazy"}))}))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,K&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(p=null===(d=K[0])||void 0===d?void 0:d.items)||void 0===p?void 0:p.map((function(n,t){return e.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(Zn[O]).concat(n.url),className:"bigLink",key:t,href:n.url},n.title)}))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(u=K[1])||void 0===u?void 0:u.menu_title),null===(h=null===(g=K[1])||void 0===g?void 0:g.items)||void 0===h?void 0:h.map((function(n,t){return e.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(Zn[O]).concat(n.url),className:"link",href:n.url,key:t},e.createElement(s,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:"https://".concat(Zn[O]).concat(n.url)},n.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(f=K[2])||void 0===f?void 0:f.menu_title),null===(x=null===(v=K[2])||void 0===v?void 0:v.items)||void 0===x?void 0:x.map((function(n,t){return n.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.url,className:"link",href:n.url,key:t},e.createElement(s,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:n.url},n.title))})))),!R&&e.createElement(e.Fragment,null,e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(E=null==U?void 0:U.branch)||void 0===E?void 0:E.title),e.createElement("div",{className:"flags"},null===(b=null===(y=null==U?void 0:U.branch)||void 0===y?void 0:y.branch)||void 0===b?void 0:b.map((function(n,t){return e.createElement("a",{className:"link",href:n.url,key:t,"data-event-category":"Footer","data-event-action":n.name,"data-event-label":n.url},e.createElement(ba,{url:n.flag,isMobile:G,dataEventCategory:"Footer",dataEventAction:n.name,dataEventLabel:n.url,isAmp:R}))}))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright","data-is-amp":R||void 0},(null===(w=null==U?void 0:U.general)||void 0===w?void 0:w.verified)&&e.createElement("a",{href:null===(C=null===(k=null==U?void 0:U.general)||void 0===k?void 0:k.verified[0])||void 0===C?void 0:C.url,className:"copyright-image"},R?e.createElement("amp-img",{src:null===(N=null===(L=null==U?void 0:U.general)||void 0===L?void 0:L.verified[0])||void 0===N?void 0:N.image,alt:"DMCA Icon",width:"100",height:"36"}):e.createElement("img",{loading:"lazy",className:"lazy","data-src":null===(M=null===(z=null==U?void 0:U.general)||void 0===z?void 0:z.verified[0])||void 0===M?void 0:M.image,alt:"DMCA Icon"})),e.createElement(s,{size:"xs",type:"regular",className:"copyright-content"},null===(F=null==U?void 0:U.general)||void 0===F?void 0:F.copyright)),"vi-VN"===O&&e.createElement(s,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):e.createElement(e.Fragment,null,(null==U?void 0:U.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(D=null==U?void 0:U.menu[1])||void 0===D?void 0:D.menu_title),null===(B=null===(_=null==U?void 0:U.menu[1])||void 0===_?void 0:_.items)||void 0===B?void 0:B.map((function(n){return e.createElement("a",{className:"link",href:n.url,key:n.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":n.title,"data-content-id":"https://".concat(Zn[O]).concat(n.url),"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(Zn[O]).concat(n.url)},e.createElement(s,{dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:"https://".concat(Zn[O]).concat(n.url),size:"sm",type:"regular",style:{color:le.colors.gray800}},n.title))}))),e.createElement("div",{className:"mHalf"},e.createElement(s,{type:"regular",size:"sm",className:"linkTitle"},null===(j=null==U?void 0:U.menu[2])||void 0===j?void 0:j.menu_title),null===(H=null===(I=null==U?void 0:U.menu[2])||void 0===I?void 0:I.items)||void 0===H?void 0:H.map((function(n,t){return e.createElement("a",{className:"link",href:n.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":n.title,"data-content-id":n.url,"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.url},e.createElement(s,{size:"sm",type:"regular",style:{color:le.colors.gray800},dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:n.url},n.title))}))),!R&&"mini"!==W&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(s,{size:"sm",type:"regular"},null===(S=null==U?void 0:U.social)||void 0===S?void 0:S.title),e.createElement("div",{className:"icons"},null===(T=null===(A=null==U?void 0:U.social)||void 0===A?void 0:A.socials)||void 0===T?void 0:T.map((function(n,t){return e.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,href:n.url},R?e.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",width:"32",height:"32"}):e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,"data-src":n.icon,alt:"Logo Social",className:"social-icon lazy"}))}))))))))))};tt((function(n){var t=n.type,a=R(n,["type"]);return e.createElement(t,a)}))(ka||(ka=q(["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"],["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"])),(function(e){return e.theme.mbColors.dark}));var ka,Ca,La=tt.p(Ca||(Ca=q(["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"],["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"])),(function(e){return e.theme.mbColors.dark})),Na=function(n){var t=n.type,a=n.color,o=n.style,l=R(n,["type","color","style"]);return e.createElement(La,G({"data-type":t,style:G(G({},o),a&&{"--text-color":a})},l))};tt.footer(za||(za=q(["\n position: relative;\n background: ",";\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n position: relative;\n background: ",";\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),(function(e){return e.theme.mbColors.lightGray}),X.mbDown,X.mbDown,(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.neutral500}),X.mbUp,X.mbDown,(function(e){return e.theme.colors.neutral500}),X.mbUp,X.mbUp,(function(e){return e.theme.colors.white}),X.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),X.mbDown,(function(e){return e.theme.colors.neutral500}),X.mbDown,(function(e){return e.theme.colors.neutral500}),(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),X.mbUp);var za,Ma,Fa,Da,_a,Ba,ja,Ia,Ha=tt.div(Ma||(Ma=q([""],[""]))),Sa=tt.div(Fa||(Fa=q(["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"],["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"]))),Aa=tt.div(Da||(Da=q(["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"],["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"])),X.mbDown),Ta=tt.div(_a||(_a=q(["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"],["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"])),X.mbDown,(function(e){return e.theme.colors.gray800}),X.mbDown,X.mbUp,X.mbDown),Va=tt.div(Ba||(Ba=q(["\n position: relative;\n\n "," {\n margin: 80px 0 0;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"],["\n position: relative;\n\n "," {\n margin: 80px 0 0;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"])),X.mbUp,X.mbDown),Pa=tt.div(ja||(ja=q(["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"],["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"])),X.mbDown,X.mbDown,X.mbDown,(function(e){return e.theme.mbColors.midGray}),X.mbDown,X.mbDown,X.mbDown,(function(e){return e.theme.mbColors.midGray})),Za=tt.div(Ia||(Ia=q(["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"],["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"]))),Wa={SOCIAL_LINKS:{facebookLink:"https://www.facebook.com/marry.baby.vn",instagramLink:"https://www.instagram.com/marrybaby.vn",zaloLink:"http://zalo.me/806483414530291942",youtubeLink:"https://www.youtube.com/user/marrybabyvn"}},Ua=function(n){var t,a=n.socialLinks,o=void 0===a?Wa.SOCIAL_LINKS:a,l=o.facebookLink,i=o.instagramLink,r=o.zaloLink,c=o.youtubeLink,s=n.copyrightText,m=n.logoType,d=void 0===m?"marryBaby":m,p=n.isMobile,u=n.footerMenu,g=void 0===u?[]:u,h=n.type,f=void 0===h?"main":h,v=ot().t;return"main"===f?e.createElement(Ha,{className:"footer-container"},!p&&e.createElement("div",{className:"footer-divider"},e.createElement(Z,{type:"marryBaby"},e.createElement(Et,{style:{padding:"0 16px"},type:"solid"}))),e.createElement(Aa,null,e.createElement(Z,{type:"marryBaby"},e.createElement(Ta,null,e.createElement("div",{className:"grid"},null===(t=p?null==g?void 0:g.slice(0,6):g)||void 0===t?void 0:t.map((function(n,t){var a=n.title,o=n.link;return e.createElement("a",{"data-event-category":"Footer","data-event-action":a,"data-event-label":"".concat(o),className:"link",href:o,key:"footer-links-".concat(t)},e.createElement(Na,{color:le.colors.gray800,type:"subtitle-2"},a))})),e.createElement("div",{className:"social-wrapper"},e.createElement("div",{className:"social"},e.createElement(Na,{type:"subtitle-2"},v("footer.followUsText")),e.createElement("div",{className:"icons-links"},l&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":l,href:l},e.createElement("img",{src:ht,alt:"Facebook"})),c&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":c,href:c},e.createElement("img",{src:ft,alt:"Youtube"})),i&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":i,href:i},e.createElement("img",{src:vt,alt:"Instagram"})),r&&e.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},e.createElement("img",{src:xt,alt:"Zalo"}))))))))),e.createElement(Va,null,e.createElement(Z,{type:"marryBaby"},e.createElement(Pa,null,e.createElement(U,{className:"logo",type:d,width:"121px"}),e.createElement(Na,{className:"company-name",type:"subtitle-2"},v("footer.info.companyName")),e.createElement("div",{className:"text-info"},e.createElement(Na,{type:"bodytext-3"},v("footer.info.address")),e.createElement(Na,{type:"bodytext-3"},v("footer.info.license")),e.createElement(Na,{type:"bodytext-3"},v("footer.info.email"))),e.createElement("div",{className:"img-container"},e.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),e.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},e.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!p&&e.createElement(Et,{type:"solid"}),e.createElement("div",{className:"language-and-copyright"},e.createElement(Na,{type:"bodytext-3"},s)))))):e.createElement(Sa,null,e.createElement(Za,null),e.createElement(Na,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:le.sizes.fwSemiBold},color:le.mbColors.midGray},v("footer.followUsText")),e.createElement("div",{className:"icons-links"},l&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":l,href:l},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M21 5.75V18.25C21 19.765 19.765 21 18.25 21H15.5V14H17.31C17.565 14 17.78 13.81 17.81 13.56L17.995 12.06C18.015 11.92 17.97 11.775 17.875 11.67C17.78 11.56 17.645 11.5 17.5 11.5H15.5V9.75C15.5 9.2 15.95 8.75 16.5 8.75H17.5C17.775 8.75 18 8.525 18 8.25V6.56C18 6.305 17.8 6.09 17.545 6.065C17.515 6.06 16.81 6 15.915 6C13.715 6 12.5 7.31 12.5 9.685V11.5H10.5C10.225 11.5 10 11.725 10 12V13.5C10 13.775 10.225 14 10.5 14H12.5V21H5.75C4.235 21 3 19.765 3 18.25V5.75C3 4.235 4.235 3 5.75 3H18.25C19.765 3 21 4.235 21 5.75Z",fill:"url(#paint0_linear)"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#4DABF7"}),e.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),c&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":c,href:c},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M11.9287 4.25C8.75236 4.25 5.80117 4.47631 4.11719 4.82812C4.1136 4.82907 4.11002 4.83005 4.10645 4.83105C2.83774 5.11535 1.64309 6.02412 1.3916 7.44727L1.39062 7.45312C1.19742 8.60013 1 10.0953 1 12.25C1 14.4006 1.1981 15.8562 1.44238 17.0635C1.70004 18.4446 2.86711 19.3809 4.15527 19.6689C4.16144 19.6707 4.16762 19.6723 4.17383 19.6738C5.93135 20.0201 8.79923 20.25 11.9756 20.25C15.1519 20.25 18.0213 20.0201 19.7793 19.6738C19.7855 19.6723 19.7917 19.6707 19.7979 19.6689C21.0666 19.3847 22.2612 18.4759 22.5127 17.0527C22.5134 17.0492 22.514 17.0456 22.5146 17.042C22.7049 15.8716 22.9514 14.3778 23 12.2197C23.0001 12.2142 23.0001 12.2087 23 12.2031C23 10.0438 22.7529 8.53934 22.5117 7.34766C22.2561 5.96354 21.0877 5.02474 19.7979 4.73633C19.7781 4.73195 19.7583 4.72836 19.7383 4.72559C18.0232 4.48448 15.1056 4.25 11.9287 4.25ZM10.0781 8.50098C10.2633 8.49715 10.4548 8.54095 10.6348 8.64258L14.9365 11.0732C15.662 11.4832 15.662 12.5177 14.9365 12.9277L10.6348 15.3584C9.91527 15.7644 9.01855 15.2502 9.01855 14.4307V9.56934C9.01855 8.95471 9.52252 8.51246 10.0781 8.50098Z",fill:"#EB3223"}))),i&&e.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":i,href:i},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M8.25 2.5C5.08319 2.5 2.5 5.08319 2.5 8.25V15.75C2.5 18.9164 5.0831 21.5 8.25 21.5H15.75C18.9165 21.5 21.5 18.9165 21.5 15.75V8.25C21.5 5.0831 18.9164 2.5 15.75 2.5H8.25ZM8.25 4H15.75C18.1056 4 20 5.8939 20 8.25V15.75C20 18.1055 18.1055 20 15.75 20H8.25C5.8939 20 4 18.1056 4 15.75V8.25C4 5.89381 5.89381 4 8.25 4ZM17 6C16.4475 6 16 6.4475 16 7C16 7.5525 16.4475 8 17 8C17.5525 8 18 7.5525 18 7C18 6.4475 17.5525 6 17 6ZM12 7C9.24759 7 7 9.24759 7 12C7 14.7524 9.24759 17 12 17C14.7524 17 17 14.7524 17 12C17 9.24759 14.7524 7 12 7ZM12 8.5C13.9416 8.5 15.5 10.0584 15.5 12C15.5 13.9416 13.9416 15.5 12 15.5C10.0584 15.5 8.5 13.9416 8.5 12C8.5 10.0584 10.0584 8.5 12 8.5Z",fill:"url(#paint0_radial)"}),e.createElement("defs",null,e.createElement("radialGradient",{id:"paint0_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(0.499995 26) rotate(-47.9508) scale(34.3402 30.014)"},e.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),e.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),e.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),e.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),e.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),e.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),e.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),e.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),e.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),e.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),e.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),r&&e.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},e.createElement("div",{style:{height:24,width:24}},e.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},Ga=function(n){var t=n.type,a=n.isMobile,l=void 0===a||a,i=n.locale,r=n.footerInfo,c=n.isAmp,s=n.siteType;return o((function(){setTimeout((function(){return null==$?void 0:$.update()}),100)}),[]),"helloSites"===s?e.createElement(wa,{isAmp:c,isMobile:l,type:t,locale:i,footerInfo:r||{}}):e.createElement(Ua,{isMobile:l,locale:i,footerMenu:r||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:n.marryBabySocialLinks,type:t})};export{yt as A,bt as B,It as C,la as D,kt as F,Ct as G,Rt as I,Nt as P,Tt as R,zt as S,Dt as T,Bt as U,wt as a,Ft as b,_t as c,jt as d,Vt as e,Wt as f,Gt as g,Ot as h,Yt as i,Kt as j,Jt as k,Qt as l,Xt as m,$t as n,ea as o,na as p,ta as q,aa as r,oa as s,ia as t,pa as u,fa as v,xa as w,Ga as x};
@@ -1 +1 @@
1
- import{b as t,_ as a}from"./tslib.es6-5532bd7b.js";import e from"react";import{N as n,O as r,Q as d}from"./index.styled-e93b28cd.js";var o=function(d){var o=d.size,i=d.color,c=void 0===i?"primary":i,l=d.theme,s=void 0===l?"helloSites":l,m=d.isDisabled,u=d.isBlock,h=d.title,v=d.className,g=d.onClick,C=d.icon,p=d.children,E=d.isLoading,k=d.loadingText,y=d.dataEventCategory,b=d.dataEventAction,w=d.dataEventLabel,f=d.dataProductChannel,P=d.dataProductSku,x=d.dataProductBrand,B=d.dataProductName,A=d.dataProductPrice,L=d.dataProductCategory,N=d.dataProductPosition,F=d.isAmp,z=d.on,T=d.dataVarsTracking,W=d.type,D=t(d,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","isAmp","on","dataVarsTracking","type"]),I=F?{"data-vars-event-category":y,"data-vars-event-action":b,"data-vars-event-label":w,"data-vars-product-channel":f,"data-vars-product-sku":P,"data-vars-product-brand":x,"data-vars-product-name":B,"data-vars-product-price":A,"data-vars-product-category":L,"data-vars-product-position":N,"data-vars-tracking":T,on:z}:{"data-event-category":y,"data-event-action":b,"data-event-label":w,"data-product-channel":f,"data-product-sku":P,"data-product-brand":x,"data-product-name":B,"data-product-price":A,"data-product-category":L,"data-product-position":N};return e.createElement(n,a({},I,{className:v,"data-size":o,"data-color":c,"data-block":u,"data-has-icon":!!C||void 0,"data-theme":s,disabled:m,onClick:function(t){!E&&!m&&g&&g(t)},title:h,"data-is-loading":E||void 0,buttonHasIcon:!!C,buttonTheme:s,buttonSize:o,buttonColor:c,buttonIsLoading:E,buttonIsBlock:u,type:W},D),E?e.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:24}},("secondary"===c||"transparent"===c||"tertiary"===c||"ghost"===c||"danger"===c)&&e.createElement(e.Fragment,null,e.createElement("svg",{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement("circle",{cx:"12",cy:"12",r:"10",stroke:"#DBDFE5",strokeWidth:"4"})),e.createElement(r,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement("mask",{id:"a",fill:"#fff"},e.createElement("path",{d:"M12 0A12 12 0 11.19 9.88l3.9.7A8.03 8.03 0 1012 3.98V0z"})),e.createElement("path",{d:"M12 0A12 12 0 11.19 9.88l3.9.7A8.03 8.03 0 1012 3.98V0z",stroke:"#2D87F3",strokeWidth:"8",mask:"url(#a)"}))),"primary"===c&&e.createElement(e.Fragment,null,e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.createElement(r,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),e.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),e.createElement("span",null,k)):e.createElement("span",null,!E&&e.createElement("span",{className:"button-icon"},C)," ",p))},i=function(t){var n,r=t.as,o=t.tag,i=t.className,c=t.children,l=t.title,s=t.color,m=t.style,u=t.fontWeight,h=t.dataEventCategory,v=t.dataEventAction,g=t.dataEventLabel,C=r||o;return e.createElement(d,{title:l,style:a(a({},s?(n={},n["--custom-heading-color"]=s,n):void 0),m),"data-tag":o,"data-font-weight":u||void 0,"data-event-category":h,"data-event-action":v,"data-event-label":g,as:C,className:i,headingFontWeight:u,headingTag:o},c)};export{o as B,i as H};
1
+ import{b as t,_ as a}from"./tslib.es6-5532bd7b.js";import e from"react";import{N as n,O as r,Q as o}from"./index.styled-24e99a43.js";var d=function(o){var d=o.size,i=o.color,c=void 0===i?"primary":i,l=o.theme,s=void 0===l?"helloSites":l,m=o.isDisabled,u=o.isBlock,h=o.title,v=o.className,g=o.onClick,C=o.icon,p=o.children,E=o.isLoading,k=o.loadingText,y=o.dataEventCategory,b=o.dataEventAction,w=o.dataEventLabel,f=o.dataProductChannel,P=o.dataProductSku,x=o.dataProductBrand,B=o.dataProductName,A=o.dataProductPrice,L=o.dataProductCategory,N=o.dataProductPosition,F=o.isAmp,z=o.on,T=o.dataVarsTracking,W=o.type,D=t(o,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","isAmp","on","dataVarsTracking","type"]),I=F?{"data-vars-event-category":y,"data-vars-event-action":b,"data-vars-event-label":w,"data-vars-product-channel":f,"data-vars-product-sku":P,"data-vars-product-brand":x,"data-vars-product-name":B,"data-vars-product-price":A,"data-vars-product-category":L,"data-vars-product-position":N,"data-vars-tracking":T,on:z}:{"data-event-category":y,"data-event-action":b,"data-event-label":w,"data-product-channel":f,"data-product-sku":P,"data-product-brand":x,"data-product-name":B,"data-product-price":A,"data-product-category":L,"data-product-position":N};return e.createElement(n,a({},I,{className:v,"data-size":d,"data-color":c,"data-block":u,"data-has-icon":!!C||void 0,"data-theme":s,disabled:m,onClick:function(t){!E&&!m&&g&&g(t)},title:h,"data-is-loading":E||void 0,buttonHasIcon:!!C,buttonTheme:s,buttonSize:d,buttonColor:c,buttonIsLoading:E,buttonIsBlock:u,type:W},D),E?e.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:24}},("secondary"===c||"transparent"===c||"tertiary"===c||"ghost"===c||"danger"===c)&&e.createElement(e.Fragment,null,e.createElement("svg",{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement("circle",{cx:"12",cy:"12",r:"10",stroke:"#DBDFE5",strokeWidth:"4"})),e.createElement(r,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e.createElement("mask",{id:"a",fill:"#fff"},e.createElement("path",{d:"M12 0A12 12 0 11.19 9.88l3.9.7A8.03 8.03 0 1012 3.98V0z"})),e.createElement("path",{d:"M12 0A12 12 0 11.19 9.88l3.9.7A8.03 8.03 0 1012 3.98V0z",stroke:"#2D87F3",strokeWidth:"8",mask:"url(#a)"}))),"primary"===c&&e.createElement(e.Fragment,null,e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.createElement(r,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),e.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),e.createElement("span",null,k)):e.createElement("span",null,!E&&e.createElement("span",{className:"button-icon"},C)," ",p))},i=function(t){var n,r=t.as,d=t.tag,i=t.className,c=t.children,l=t.title,s=t.color,m=t.style,u=t.fontWeight,h=t.dataEventCategory,v=t.dataEventAction,g=t.dataEventLabel,C=r||d;return e.createElement(o,{title:l,style:a(a({},s?(n={},n["--custom-heading-color"]=s,n):void 0),m),"data-tag":d,"data-font-weight":u||void 0,"data-event-category":h,"data-event-action":v,"data-event-label":g,as:C,className:i,headingFontWeight:u,headingTag:d},c)};export{d as B,i as H};