@hhgtech/hhg-components 1.21.85 → 1.21.87

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 (55) hide show
  1. package/build/babyGrowth.js +1 -1
  2. package/build/components/molecules/pillCarousel/index.d.ts +2 -1
  3. package/build/components/organisms/pregnancyWeightGainChart/index.d.ts +3 -1
  4. package/build/components.js +1 -1
  5. package/build/esm/babyGrowth.js +1 -1
  6. package/build/esm/components.js +1 -1
  7. package/build/esm/index-00262df6.js +1 -0
  8. package/build/esm/index-1010794b.js +1 -0
  9. package/build/esm/index-129f52d4.js +1 -0
  10. package/build/esm/index-509de1e7.js +1 -0
  11. package/build/esm/index-6e8b940a.js +1 -0
  12. package/build/esm/index-80bee14c.js +1 -0
  13. package/build/esm/index-dd4f46cd.js +1 -0
  14. package/build/esm/index-e9896017.js +1 -0
  15. package/build/esm/index.js +1 -1
  16. package/build/esm/index.styled-9ccca63b.js +1 -0
  17. package/build/esm/mantine.js +1 -1
  18. package/build/esm/navigation.js +1 -1
  19. package/build/esm/pwg.js +1 -1
  20. package/build/esm/together.js +1 -1
  21. package/build/esm/types-6ad6d4c9.js +1 -0
  22. package/build/esm/utils-13b25141.js +1 -0
  23. package/build/index-1dd7c311.js +1 -0
  24. package/build/index-6cfb17f6.js +1 -0
  25. package/build/index-88b15787.js +1 -0
  26. package/build/index-953fc456.js +1 -0
  27. package/build/index-ac20567b.js +1 -0
  28. package/build/index-ae77acec.js +1 -0
  29. package/build/index-c76c6e27.js +1 -0
  30. package/build/index-e640a891.js +1 -0
  31. package/build/index.js +1 -1
  32. package/build/index.styled-05afa7e7.js +1 -0
  33. package/build/mantine.js +1 -1
  34. package/build/navigation.js +1 -1
  35. package/build/pwg.js +1 -1
  36. package/build/together.js +1 -1
  37. package/build/types-a931f8cc.js +1 -0
  38. package/build/utils-ae703992.js +1 -0
  39. package/package.json +2 -3
  40. package/build/esm/index-0f2ac9f2.js +0 -1
  41. package/build/esm/index-182c57d1.js +0 -1
  42. package/build/esm/index-2058993e.js +0 -1
  43. package/build/esm/index-276d754d.js +0 -1
  44. package/build/esm/index-ab34085c.js +0 -1
  45. package/build/esm/index-eced25ed.js +0 -1
  46. package/build/esm/index-fdce1dc1.js +0 -1
  47. package/build/esm/types-c751a7fb.js +0 -1
  48. package/build/index-0db09db1.js +0 -1
  49. package/build/index-46eab25f.js +0 -1
  50. package/build/index-76dc603c.js +0 -1
  51. package/build/index-91ac4f65.js +0 -1
  52. package/build/index-a8d5c663.js +0 -1
  53. package/build/index-aae60289.js +0 -1
  54. package/build/index-ebcffc91.js +0 -1
  55. package/build/types-a556493e.js +0 -1
@@ -0,0 +1 @@
1
+ import{a as n,c as e,_ as t,d as i,e as a}from"./tslib.es6-44f7e5ec.js";import o,{useRef as r,useState as l,useMemo as s,useContext as d,useEffect as p,useCallback as c}from"react";import{g as m}from"./core-341c626a.js";import{CommonGAssets as h}from"./gAssets.js";import{S as g,a as u,b as f,c as x,d as v,e as b,f as y,P as w}from"./index.styled-9ccca63b.js";import{T as E}from"./index-db100bfe.js";import{C as k,a as C,T as L,d as B,L as P,S as M,U as z}from"./index-9dd60ba6.js";import{g as H,a as A,b as S,c as N,d as T}from"./routing-2d333f69.js";import{U as _,P as U,A as R,c as D,e as j}from"./index-00262df6.js";import{L as Z}from"./constants-a0a981fa.js";import{u as V}from"./useTranslations-b3eb31ef.js";import{H as F}from"./index-6ebadd9f.js";import{M as O,g as I}from"./utils-11febb09.js";import G,{css as W}from"styled-components";import{B as Y}from"./index-c4be547e.js";import{t as q}from"./theme-a50a1aa5.js";import{g as K}from"./defaultClassWrapper-4144361d.js";import Q from"dayjs";import X from"dayjs/plugin/relativeTime";import{C as J,L as $}from"./index-34929038.js";import nn from"lodash/throttle";import{l as en}from"./lazyLoad-59e8ff6d.js";import tn from"string-format";import{Portal as an}from"@mantine/core";import{g as on}from"./cookieHelper-0e8521c3.js";import rn from"lodash/debounce";var ln,sn,dn,pn,cn,mn,hn,gn,un,fn,xn,vn,bn,yn,wn,En=function(e){return o.createElement("img",n({src:h.getAssetPath("flags/cambodiaRound.png"),style:n({borderRadius:"50%"},e.style)},e))},kn=function(e){return o.createElement("img",n({src:h.getAssetPath("flags/cambodiaSquare.png")},e))},Cn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("path",{d:"M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z",fill:"#3F51B5"}),o.createElement("path",{d:"M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z",fill:"#3F51B5"}),o.createElement("path",{d:"M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z",fill:"white"}),o.createElement("path",{d:"M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z",fill:"#3F51B5"}),o.createElement("path",{d:"M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z",fill:"#3F51B5"}),o.createElement("path",{d:"M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z",fill:"white"}),o.createElement("path",{d:"M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z",fill:"white"}),o.createElement("path",{d:"M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z",fill:"white"}),o.createElement("path",{d:"M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z",fill:"white"}),o.createElement("path",{d:"M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z",fill:"white"}),o.createElement("path",{d:"M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z",fill:"white"}),o.createElement("path",{d:"M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z",fill:"white"}),o.createElement("path",{d:"M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z",fill:"white"}),o.createElement("path",{d:"M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z",fill:"white"}),o.createElement("path",{d:"M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z",fill:"white"}),o.createElement("path",{d:"M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z",fill:"white"}),o.createElement("path",{d:"M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z",fill:"#E53935"}),o.createElement("path",{d:"M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z",fill:"#E53935"}),o.createElement("path",{d:"M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z",fill:"white"}),o.createElement("path",{d:"M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z",fill:"white"}),o.createElement("path",{d:"M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z",fill:"white"}),o.createElement("path",{d:"M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z",fill:"white"}),o.createElement("path",{d:"M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z",fill:"#E53935"}),o.createElement("path",{d:"M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z",fill:"#E53935"}),o.createElement("path",{d:"M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z",fill:"#E53935"}),o.createElement("path",{d:"M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z",fill:"#E53935"}),o.createElement("path",{d:"M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z",fill:"#E53935"})))},Ln=function(e){return o.createElement("svg",n({viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"5",width:"24",height:"16"},o.createElement("path",{d:"M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z",fill:"#3F51B5"})),o.createElement("path",{d:"M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z",fill:"#3F51B5"}),o.createElement("path",{d:"M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z",fill:"white"}),o.createElement("path",{d:"M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z",fill:"white"}),o.createElement("path",{d:"M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z",fill:"white"}),o.createElement("path",{d:"M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z",fill:"white"}),o.createElement("path",{d:"M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z",fill:"white"}),o.createElement("path",{d:"M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z",fill:"white"}),o.createElement("path",{d:"M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z",fill:"#E53935"}),o.createElement("path",{d:"M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z",fill:"#E53935"})))},Bn=function(e){return o.createElement("img",n({src:h.getAssetPath("flags/indiaRound.png"),style:n({borderRadius:"50%"},e.style)},e))},Pn=function(e){return o.createElement("img",n({src:h.getAssetPath("flags/indiaSquare.png")},e))},Mn=function(t){var i=t.isTesting,a=e(t,["isTesting"]),l=r("id-flag-round-mask-"+(i?1:Math.random()));return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),o.createElement("mask",{id:l.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("g",{mask:"url(#".concat(l.current,")")},o.createElement("rect",{width:"20",height:"10",fill:"#CE1126"}),o.createElement("rect",{y:"10",width:"20",height:"10",fill:"white"})))},zn=function(t){var i=t.isTesting,a=e(t,["isTesting"]),l=r("id-flag-clip-"+(i?1:Math.random()));return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),o.createElement("g",{clipPath:"url(#".concat(l.current,")")},o.createElement("rect",{y:"0.0166016",width:"24",height:"8",fill:"#CE1126"}),o.createElement("rect",{y:"8.0166",width:"24",height:"8",fill:"white"})),o.createElement("defs",null,o.createElement("clipPath",{id:l.current},o.createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}))))},Hn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("rect",{y:"1",width:"20",height:"20",fill:"#CC0001"}),o.createElement("rect",{y:"16.106",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"16",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"18",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"14.0652",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"12.0242",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"9.9834",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"7.94263",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"5.90186",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"3.86084",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"2",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"-1",width:"10",height:"12",fill:"#010066"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z",fill:"#FFCC00"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z",fill:"#FFCC00"})))},An=function(e){return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#CC0001"}),o.createElement("rect",{y:"12.2712",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"12.1904",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"13.7144",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"10.7161",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"9.16138",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"7.60645",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"6.05127",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"4.49658",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"2.94141",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"1.52393",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{width:"24",height:"0.777454",fill:"white"}),o.createElement("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z",fill:"#010066"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z",fill:"#FFCC00"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z",fill:"#FFCC00"}))},Sn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("rect",{x:"-4",y:"-1",width:"28",height:"11",fill:"#FECB00"}),o.createElement("rect",{x:"-4",y:"10",width:"28",height:"10",fill:"#EA2839"}),o.createElement("rect",{x:"-4",y:"6.7041",width:"28",height:"6.47773",fill:"#34B233"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z",fill:"white"})))},Nn=function(e){return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#FECB00"}),o.createElement("rect",{y:"8.3811",width:"24",height:"7.61905",rx:"2",fill:"#EA2839"}),o.createElement("rect",{y:"5.86987",width:"24",height:"4.93542",fill:"#34B233"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z",fill:"white"}))},Tn=function(e){return o.createElement("img",n({src:h.getAssetPath("flags/philippineRound.png"),style:n({borderRadius:"50%"},e.style)},e))},_n=function(e){return o.createElement("img",n({src:h.getAssetPath("flags/philippineSquare.png")},e))},Un=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#D8D8D8"}),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),o.createElement("rect",{width:"30",height:"20",fill:"#ED1E24"}),o.createElement("rect",{width:"15",height:"10",fill:"#2B2F84"}),o.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),o.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),o.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),o.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),o.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),o.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),o.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),o.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),o.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),o.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),o.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),o.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),o.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))))},Rn=function(e){return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#ED1E24"}),o.createElement("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z",fill:"#2B2F84"}),o.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),o.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),o.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),o.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),o.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),o.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),o.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),o.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),o.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),o.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),o.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),o.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),o.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))},Dn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#ED1C24"}),o.createElement("rect",{x:"-4",y:"3.31665",width:"28",height:"13.3333",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-4 6.65015H24V13.3168H-4V6.65015Z",fill:"#241D4F"})))},jn=function(e){return o.createElement("svg",n({viewBox:"0 0 24 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("rect",{y:"0.983398",width:"24",height:"16",rx:"2",fill:"#ED1C24"}),o.createElement("rect",{y:"3.65039",width:"24",height:"10.6667",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6.31689H24V11.6502H0V6.31689Z",fill:"#241D4F"}))},Zn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#DA251D"}),o.createElement("path",{d:"M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z",fill:"#FFEB3B"})))},Vn=function(e){return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("g",null,o.createElement("clipPath",null,o.createElement("rect",{width:"24",height:"16",fill:"white"})),o.createElement("path",{d:"M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z",fill:"#DA251D"}),o.createElement("path",{d:"M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z",fill:"#FFEB3B"})))},Fn=function(n){var e,t,i=n.country,a=n.language,r=n.rounded,l=n.height,s=n.width,d=n.isTesting;switch(a){case"en":e=o.createElement(Ln,null),t=o.createElement(Cn,null);break;case"vi":e=o.createElement(Vn,null),t=o.createElement(Zn,null);break;case"id":e=o.createElement(zn,{isTesting:d}),t=o.createElement(Mn,{isTesting:d});break;case"th":e=o.createElement(jn,null),t=o.createElement(Dn,null);break;case"km":e=o.createElement(kn,null),t=o.createElement(En,null);break;case"ms":e=o.createElement(An,null),t=o.createElement(Hn,null);break;case"my":e=o.createElement(Nn,null),t=o.createElement(Sn,null);break;case"tl":e=o.createElement(_n,null),t=o.createElement(Tn,null);break;case"hi":e=o.createElement(Pn,null),t=o.createElement(Bn,null);break;case"zh":e=o.createElement(Rn,null),t=o.createElement(Un,null)}if(!e&&!t)switch(i){case"VN":e=o.createElement(Vn,null),t=o.createElement(Zn,null);break;case"ID":e=o.createElement(zn,{isTesting:d}),t=o.createElement(Mn,{isTesting:d});break;case"TH":e=o.createElement(jn,null),t=o.createElement(Dn,null);break;case"KH":e=o.createElement(kn,null),t=o.createElement(En,null);break;case"MY":e=o.createElement(An,null),t=o.createElement(Hn,null);break;case"MM":e=o.createElement(Nn,null),t=o.createElement(Sn,null);break;case"PH":e=o.createElement(_n,null),t=o.createElement(Tn,null);break;case"IN":e=o.createElement(Pn,null),t=o.createElement(Bn,null);break;case"TW":e=o.createElement(Rn,null),t=o.createElement(Un,null)}return o.createElement(g,{theme:{width:s,height:l}},r?t:e)},On=function(n){var e=n.options,t=n.label,i=n.labelRenderer,a=n.selected,r=n.onChange,s=n.showSelected,d=void 0===s||s,p=n.style,c=void 0===p?{}:p,m=n.showIndicator,g=void 0===m||m,y=l(!1),w=y[0],k=y[1];return o.createElement(o.Fragment,null,o.createElement(u,null,o.createElement(f,{onClick:function(){return k((function(n){return!n}))}},t||(null==i?void 0:i(w))||null,o.createElement(x,{"data-is-open":w,style:c,"data-show-indicator":g},e.map((function(n,e){return o.createElement(v,{key:e,"data-selected":d&&a===n.value,onClick:function(e){a!==n.value&&(r(n.value),k((function(n){return!n}))),e.stopPropagation()}},o.createElement(E,{size:"p3"},n.label),d&&a===n.value&&o.createElement("img",{src:h.getAssetPath("check.svg"),alt:"check",className:"check-icon"}))}))))),w&&o.createElement(b,{onClick:function(){return k(!1)}}))},In=function(n){var e,t,i=n.languageOptions,a=n.locale,r=null==i?void 0:i.find((function(n){return n.locale===a}));return(null==i?void 0:i.length)?o.createElement(On,{options:i,selected:r.value,label:o.createElement(Gn,{locale:a,label:r.label||(null===(t=null===(e=a.split("-"))||void 0===e?void 0:e[0])||void 0===t?void 0:t.toUpperCase())}),onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1}):null},Gn=function(n){var e,t,i,a=n.locale,r=n.label,l=n.href;return o.createElement(y,{href:l},o.createElement(Fn,{country:null===(t=null===(e=null==a?void 0:a.split("-"))||void 0===e?void 0:e[1])||void 0===t?void 0:t.toUpperCase(),width:16,height:16,rounded:!0,language:null===(i=null==a?void 0:a.split("-"))||void 0===i?void 0:i[0]}),o.createElement("span",null,r))},Wn=o.createContext({}),Yn=function(t){var i=t.children,a=e(t,["children"]),r="undefined"!=typeof window?window.location.href:a.currentUrl||B[a.locale||"en-PH"],l=function(n){var e=n.locale,t=n.projectType,i=n.isMobile,a=n.siteType;return s((function(){var n=!(!i&&"profile"===t),o="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===a,r="marryBaby"!==a&&"marryBaby"!==t&&k.includes(e),l="marryBaby"!==t&&"discover"===t&&"marryBaby"!==a&&C.includes(e),s="marryBaby"===t||L.includes(e),d="ecom"===t,p="ecom"===t,c=H(e,"marryBaby"===a),m=A(e,"marryBaby"===a);return{enableProfileNavigatorMenu:n,enableSearchBar:o,enableNavCare:r,enableNavCareBooking:l,enableNavTogether:s,enableNavEcom:d,enableProfileEcom:p,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:"".concat(c,"/care"),TOGETHER_URL_FE:"".concat(c,"/community"),SSO_URL:m,TOGETHER_API:S(),DISCOVER_API:N(e)}}}),[e,t,i])}({locale:a.locale,projectType:a.projectType,isMobile:a.isMobile,siteType:a.siteType});return o.createElement(Wn.Provider,{value:n(n({},a),{configs:l,currentUrl:r})},i)},qn=function(){return o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"}))},Kn=function(){var n=d(Wn),e=n.locale,t=n.configs.statics,i=n.siteType,a=V().t;return o.createElement(w,{className:"fake-search-input",name:"search-input-menu-service",size:"md",placeholder:"marryBaby"===i?a("navigation.search.input.placeholder"):a("home.search",{site:P[e||"en-PH"]?P[e||"en-PH"].SITE_NAME:""}),onChange:function(){},onKeyDown:function(n){return"Enter"===n.key&&(window.location.href="".concat(t.HOME_PAGE_URL,"/search/?s=").concat(n.target.value))},type:"search",onFocus:function(n){n.preventDefault()},displayIcon:o.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},o.createElement(qn,null))})},Qn=G.div(ln||(ln=t(["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"])),O.mbUp),Xn=G.a(sn||(sn=t(["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n }\n }\n"],["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.lightPink}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.mbColors.lightGray})),Jn=G.div(dn||(dn=t(["\n margin: 15px 0;\n "," {\n display: none;\n }\n"],["\n margin: 15px 0;\n "," {\n display: none;\n }\n"])),O.mbDown),$n=G.div(pn||(pn=t(["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"],["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"])),O.mbUp),ne=G.div(cn||(cn=t(["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),ee=G.div(mn||(mn=t(["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"]))),te=G.a(hn||(hn=t(["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"],["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.pink}),O.mbDown),ie=function(n){var e=n.hrefViewMore,t=n.titleBtnViewMore,i=n.UrlFE,a=n.onClosePopup,r=n.menuItems,l=n.headingTitle,s=d(Wn),p=s.siteType,c=s.isAmp;return o.createElement(Qn,null,o.createElement(Jn,null,o.createElement(F,{tag:"marryBaby"===p?"h5":"h6",as:"h2",fontWeight:"semibold"},l)),null==r?void 0:r.slice(0,6).map((function(n,e){var t=(null==n?void 0:n.link)?(null==n?void 0:n.link.startsWith("http"))?null==n?void 0:n.link:"".concat(i,"/").concat(null==n?void 0:n.link.split("/").filter(Boolean).join("/"),"/"):"/";return o.createElement(Xn,{className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t,"data-is-heading-category":!1,href:t,"data-theme":p,key:e,onClick:a},o.createElement("div",{className:"icon"},c?o.createElement("img",{alt:n.name,src:n.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32}}):o.createElement("img",{className:"lazy",alt:n.name,"data-src":n.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32}})),o.createElement("p",null,n.name),o.createElement($n,null,o.createElement("img",{src:h.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"}})))})),t&&o.createElement(te,{"data-theme":p,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},o.createElement(ne,{onClick:a,"data-theme":p,"data-is-heading-category":!1},t,o.createElement(ee,null,o.createElement("img",{className:"svg",src:"marryBaby"===p?h.getAssetPath("chevronRightPink.svg"):h.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}})))))},ae=G.div(gn||(gn=t(["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"],["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"])),O.mbDown,O.mbUp),oe=G.div(un||(un=t(["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"],["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"])),(function(n){return n.theme.colors.gray600})),re=G.div(fn||(fn=t(["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"],["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"]))),le=G.div(xn||(xn=t(["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"],["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"]))),se=G.div(vn||(vn=t(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"])),O.mbDown),de=function(n){var e=n.title,t=n.link,i=n.description,a=n.cta,r=n.icon,l=d(Wn),s=l.siteType,p=l.isAmp;return o.createElement(ae,{"data-theme":s},o.createElement(se,null,p?o.createElement("img",{src:"marryBaby"===s?h.getAssetPath("navMBSpotlightBgNoData.svg"):h.getAssetPath("navSpotlightBgNoData.svg"),alt:"",className:"bg-svg"}):o.createElement("img",{"data-src":"marryBaby"===s?h.getAssetPath("navMBSpotlightBgNoData.svg"):h.getAssetPath("navSpotlightBgNoData.svg"),alt:"",className:"bg-svg lazy"}),o.createElement(le,null,r&&o.createElement("img",{src:r,width:64,height:64}))),o.createElement("div",null,e&&o.createElement(re,null,e),i&&o.createElement(oe,null,i),a&&o.createElement("div",null,o.createElement("a",{href:t},o.createElement(Y,{theme:s,className:"survey-contact-submit",size:"md"},a)))))},pe=G.div(bn||(bn=t(["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"],["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"])),O.mbDown,(function(n){return n.theme.colors.neutral100})),ce=G.div(yn||(yn=t(["\n margin: 15px 0;\n display: flex;\n"],["\n margin: 15px 0;\n display: flex;\n"]))),me=G.a(wn||(wn=t(["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"],["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),O.mbDown),he=function(n){var e=n.title,t=n.viewMore,i=n.children,a=n.link,r=n.dataEventAction,l=void 0===r?"":r,s=d(Wn).siteType;return o.createElement(pe,null,o.createElement(ce,null,o.createElement(F,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},e),t&&o.createElement(me,{"data-event-category":"Hamburger Navigation","data-event-action":l,"data-event-label":a,href:a,"data-theme":s},t,o.createElement("img",{src:"marryBaby"===s?h.getAssetPath("chevronRightPink.svg"):h.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}}))),i)};G.div(ge||(ge=t(["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}));var ge,ue,fe,xe,ve,be,ye,we,Ee,ke=G.div(ue||(ue=t(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"])),O.tdDown),Ce=G.div(fe||(fe=t(["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"],["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"])),O.tdDown,O.mbDown),Le=G.div(xe||(xe=t(["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"],["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"]))),Be=G.div(ve||(ve=t(["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"],["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),O.tdDown),Pe=G.p(be||(be=t(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"])),(function(n){return n.theme.colors.gray800}),O.tdDown),Me=G.p(ye||(ye=t(["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"],["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"])),(function(n){return n.theme.colors.gray600}),O.tdDown),ze="hhgcomp-navigation-menucareitem-contentwrapper",He=K(G.div(we||(we=t(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"],["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"])),O.tdDown),ze),Ae=G.a(Ee||(Ee=t(["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"])),q.colors.white,O.tdUp,O.tdDown,ze,O.mbDown,O.tdOnly,q.colors.neutral100),Se=function(n){var e,t=n.item,i=n.index,a=void 0===i?0:i,r=V().t,l=d(Wn),s=l.locale,p=l.configs.statics,c=l.isAmp;if(!t)return null;var m="".concat(p.CARE_URL_FE,"/").concat(null===(e=Z[s])||void 0===e?void 0:e.HOSPITAL,"/").concat(t.slug,"-").concat(t.id);return o.createElement(Ae,{key:t.id,href:m,"data-event-category":"Hamburger Navigation","data-event-action":"Care Click ".concat(a+1),"data-event-label":m},c?o.createElement("img",{src:h.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg"}):o.createElement("img",{"data-src":h.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg lazy"}),o.createElement(Ce,null,o.createElement(Le,null,c?o.createElement("img",{alt:t.name,src:t.logo||"/images/avatar.jpg"}):o.createElement("img",{className:"lazy",alt:t.name,"data-src":t.logo||"/images/avatar.jpg"}))),o.createElement(He,null,o.createElement(Pe,null,t.name),o.createElement(Me,null,t.description),o.createElement(Be,null,r("home.seeMore"),o.createElement("img",{src:h.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))))},Ne=function(n){var e=n.spotlights,t=void 0===e?[]:e,i=n.hrefViewMore,a=V().t;return o.createElement(he,{title:a("home.navigator.menu.spotlightHospitals")},0!==t.length?o.createElement(ke,null,null==t?void 0:t.slice(0,3).map((function(n,e){return o.createElement(Se,{key:e,index:e,item:n})}))):o.createElement(de,{title:a("home.navigator.menu.care.noDatas.title"),description:a("home.navigator.menu.care.noDatas.description"),link:i,cta:a("home.navigator.menu.care.noDatas.cta"),icon:h.getAssetPath("community.svg")}))};G.div(Te||(Te=t(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"]))),G.div(_e||(_e=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var Te,_e,Ue,Re,De,je,Ze=G.div(Ue||(Ue=t(["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"])),O.tdDown),Ve=G.a(Re||(Re=t(["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"],["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"]))),Fe=G.div(De||(De=t(["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"],["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"])),O.tdDown),Oe=G.p(je||(je=t(["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"],["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),O.tdUp),Ie=function(n){var e=n.item,t=n.index,i=void 0===t?0:t;if(!e)return null;var a=d(Wn).isAmp;return o.createElement(Ve,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Spotlight Click ".concat(i+1),"data-event-label":e.link},o.createElement(Fe,null,a?o.createElement("img",{alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"}):o.createElement("img",{className:"lazy",alt:e.title,"data-src":e.banner||"/images/notFound-min-small.jpg"})),o.createElement(Oe,null,e.title))},Ge=function(n){var e=n.spotlightsList,t=void 0===e?[]:e,i=n.hrefViewMore,a=V().t,r=d(Wn).configs.statics;return o.createElement(he,{title:a("home.navigator.menu.spotlights"),viewMore:a("home.navigator.menu.spotlights.seeAll"),link:i,dataEventAction:"Spotlight See More Click"},0!==t.length?o.createElement(Ze,null,null==t?void 0:t.slice(0,4).map((function(n,e){return o.createElement(Ie,{key:e,index:e,item:{id:n.id,link:r.HOME_PAGE_URL+n.permalink,title:n.name,banner:n.image}})}))):o.createElement(de,{title:a("home.navigator.menu.category.noDatas.title"),description:a("home.navigator.menu.category.noDatas.description"),link:i,cta:a("home.navigator.menu.category.noDatas.cta"),icon:h.getAssetPath("Spotlight.svg")}))};G.div(We||(We=t(["\n & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),G.div(Ye||(Ye=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var We,Ye,qe,Ke,Qe,Xe,Je,$e,nt,et,tt,it,at,ot,rt=G.div(qe||(qe=t(["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"],["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"])),O.tdDown,O.mbDown),lt=G.div(Ke||(Ke=t(["\n padding: 5px;\n flex: 1;\n"],["\n padding: 5px;\n flex: 1;\n"]))),st=G.img(Qe||(Qe=t(["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"],["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"]))),dt=G.div(Xe||(Xe=t(["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.gray800})),pt=G.div(Je||(Je=t(["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.primaryBase})),ct=G.div($e||($e=t(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(n){return n.theme.colors.gray600})),mt=G.div(nt||(nt=t(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(n){return n.theme.colors.gray600})),ht=G.a(et||(et=t(["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"],["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral100}),O.tdOnly,O.mbDown,O.tdUp),gt=G.div(tt||(tt=t(["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"],["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"]))),ut=G.div(it||(it=t(["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"],["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.gray800})),ft=G.div(at||(at=t(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"],["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"]))),xt=G.div(ot||(ot=t(["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"],["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"])));Q.extend(X);var vt=function(n){var e,t,i,a,r,l,s,p=n.post,c=n.index,m=void 0===c?0:c,h=d(Wn),g=h.siteType,u=h.configs.statics,f=h.isAmp;if(!p)return null;var x=[u.TOGETHER_URL_FE,null===(e=p.community)||void 0===e?void 0:e.slug].join("/"),v=[x,p.slug].join("/"),b=p.createdAt,y=b?isNaN(new Date(b).getTime())?null:new Date(b):null,w=y?Q(y).toNow(!0):b;return o.createElement(ht,{href:v,"data-event-category":"Hamburger Navigation","data-event-action":"Together Click ".concat(m+1),"data-event-label":v},o.createElement(lt,null,o.createElement(gt,null,o.createElement(_,{avatar:null===(t=p.author)||void 0===t?void 0:t.avatar,username:(null===(i=p.author)||void 0===i?void 0:i.name)||(null===(a=p.author)||void 0===a?void 0:a.username),isLazy:!f}),o.createElement(xt,null,o.createElement(dt,{"data-theme":g},null===(r=p.author)||void 0===r?void 0:r.name),o.createElement(ft,null,o.createElement(pt,{"data-event-category":"Hamburger Navigation","data-event-action":"Topic Click ".concat(m+1),"data-event-label":x,onClick:function(n){n.preventDefault(),location.href=x},"data-theme":g},null===(l=p.community)||void 0===l?void 0:l.name),o.createElement(mt,null,"•"),o.createElement(ct,{"data-theme":g},w)))),o.createElement(ut,null,p.title)),!!(null===(s=p.photos)||void 0===s?void 0:s.length)&&(f?o.createElement(st,{src:p.photos[0]}):o.createElement(st,{className:"lazy","data-src":p.photos[0]})))},bt=function(n){var e=n.spotlights,t=void 0===e?[]:e,i=d(Wn).configs.statics,a=V().t;return o.createElement(he,{title:a("home.navigator.menu.trendingPosts"),viewMore:a("home.navigator.menu.trendingPosts.seeMore"),link:i.TOGETHER_URL_FE,dataEventAction:"Together See More Click"},0!==t.length?o.createElement(rt,null,null==t?void 0:t.slice(0,4).map((function(n,e){return o.createElement(vt,{index:e,post:n,key:n.id})}))):o.createElement(de,{title:a("home.navigator.menu.together.noPosts.title"),description:a("home.navigator.menu.together.noPosts.description"),link:"".concat(i.HOME_PAGE_URL,"/community/"),cta:a("home.navigator.menu.together.noPosts.cta"),icon:h.getAssetPath("community.svg")}))};G.div(yt||(yt=t(["\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n &[data-is-display='false'] {\n display: none;\n }\n"])));var yt,wt,Et,kt,Ct,Lt,Bt,Pt,Mt,zt,Ht,At,St,Nt,Tt,_t,Ut=G.div(wt||(wt=t(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"])),O.tdDown),Rt=G.a(Et||(Et=t(["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"])),O.tdDown,O.tdDown),Dt=G.div(kt||(kt=t(["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"],["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"])),O.tdDown),jt=G.div(Ct||(Ct=t(["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"])),(function(n){return n.theme.colors.primaryBase})),Zt=G.p(Lt||(Lt=t(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"])),(function(n){return n.theme.colors.gray800})),Vt=G.p(Bt||(Bt=t(["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray600}),O.tdDown),Ft=G.div(Pt||(Pt=t(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"])),O.tdUp,O.tdDown),Ot=function(n){var e=n.item,t=n.index,i=void 0===t?0:t,a=V().t,r=d(Wn),l=r.configs.statics,s=r.isAmp;if(!e)return null;var p=e.link?e.link.startsWith("http")?e.link:"".concat(l.HOME_PAGE_URL).concat(e.link):void 0;return o.createElement(Rt,{href:p,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(i+1),"data-event-label":p},s?o.createElement("img",{src:h.getAssetPath("navToolCardBg.svg"),alt:"",className:"bg-svg"}):o.createElement("img",{"data-src":h.getAssetPath("navToolCardBg.svg"),alt:"",className:"bg-svg lazy"}),o.createElement(Ft,null,o.createElement(Zt,null,e.title),o.createElement(Vt,null,e.subtitle),o.createElement(jt,null,a("home.seeMore"),o.createElement("img",{src:h.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))),o.createElement(Dt,null,s?o.createElement("img",{alt:e.title,src:e.icon||"/images/avatar.jpg"}):o.createElement("img",{className:"lazy",alt:e.title,"data-src":e.icon||"/images/avatar.jpg"})))},It=G.a(Mt||(Mt=t(["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"],["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"])),(function(n){return n.theme.mbColors.tonePink}),(function(n){return n.theme.mbColors.peach}),(function(n){return n.theme.mbColors.toneYellow}),(function(n){return n.theme.mbColors.orange}),(function(n){return n.theme.mbColors.toneGreen}),(function(n){return n.theme.mbColors.mint}),O.tdDown,O.mbDown,O.tdUp,O.tdUp,O.tdDown),Gt=G.div(zt||(zt=t(["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"],["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"])),O.tdDown,O.mbDown),Wt=G.div(Ht||(Ht=t(["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"],["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"])),(function(n){return n.theme.mbColors.gray}),O.tdDown,(function(n){return n.theme.mbColors.pink})),Yt=G.p(At||(At=t(["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"],["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"])),(function(n){return n.theme.colors.gray800})),qt=G.p(St||(St=t(["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray600}),O.tdDown),Kt=G.div(Nt||(Nt=t(["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"],["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"])),O.tdUp,O.tdDown),Qt=G.div(Tt||(Tt=t(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"])),O.tdUp,O.tdDown),Xt=G.div(_t||(_t=t(["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"],["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"])),O.tdUp,O.tdDown),Jt=function(n){var e=n.item,t=n.index,i=void 0===t?0:t,a=n.color,r=V().t,l=d(Wn),s=l.configs.statics,p=l.isAmp;if(!e)return null;var c=e.link?e.link.startsWith("http")?e.link:"".concat(s.HOME_PAGE_URL).concat(e.link):void 0,m=function(){return o.createElement(Gt,null,p?o.createElement("img",{src:e.icon||"/images/avatar.jpg"}):o.createElement("img",{className:"lazy",alt:e.title,"data-src":e.icon||"/images/avatar.jpg"}))},g=function(){return o.createElement(Xt,null,o.createElement(Qt,null,o.createElement(Yt,null,e.title),o.createElement(qt,null,e.subtitle)),o.createElement(Wt,null,o.createElement("div",{className:"mobile-only"},r("home.seeMore")),o.createElement("img",{src:h.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"}})))};return o.createElement(It,{href:c,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(i+1),"data-event-label":c,"data-color":a},o.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),o.createElement("img",{"data-src":h.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg lazy",alt:""}),o.createElement(Kt,null,o.createElement("div",{className:"mobile-only"},m()),o.createElement("div",{className:"desktop-only"},g())),o.createElement("div",{className:"mobile-only"},g()),o.createElement("div",{className:"desktop-only"},m()))},$t=function(n){var e=n.hrefViewMore,t=n.spotlightHealthTools,i=void 0===t?[]:t,a=V().t,r=["pink","orange","green"],l=d(Wn).siteType;return o.createElement(he,{title:a("home.navigator.menu.spotlightTools")},0!==i.length&&o.createElement(Ut,null,null==i?void 0:i.slice(0,3).map((function(n,e){return"marryBaby"===l?o.createElement(Jt,{key:e,index:e,item:n,color:r[e]}):o.createElement(Ot,{key:e,index:e,item:n})}))),0===i.length&&o.createElement(de,{title:a("home.navigator.menu.healthTools.noDatas.title"),description:a("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:a("home.navigator.menu.healthTools.noDatas.cta"),icon:h.getAssetPath("community.svg")}))},ni="profile/posts?website_url={websiteUrl}",ei=99,ti=300,ii=400,ai=200,oi=210,ri=G(J)(li||(li=t(["\n padding-bottom: 1rem;\n\n "," {\n display: block;\n padding: 0;\n }\n "," {\n display: grid;\n grid-template-columns: 1fr 3fr;\n grid-gap: 10px;\n }\n"],["\n padding-bottom: 1rem;\n\n "," {\n display: block;\n padding: 0;\n }\n "," {\n display: grid;\n grid-template-columns: 1fr 3fr;\n grid-gap: 10px;\n }\n"])),O.mbDown,O.mbUp);G.div(si||(si=t(["\n padding-right: 1rem;\n border-right: 1px solid #e4e8ec;\n"],["\n padding-right: 1rem;\n border-right: 1px solid #e4e8ec;\n"])));var li,si,di,pi,ci,mi="hhgcomp-navigation-popupwrapper-menuwrapper",hi=K(G.div(di||(di=t(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: ",";\n transition: opacity 0.2s ease-in-out;\n &[data-is-display='false'] {\n visibility: hidden;\n opacity: 0;\n }\n padding: 0.5rem;\n &[data-is-nav-menu='true'] {\n position: absolute;\n top: 100%;\n height: unset;\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: ",";\n transition: opacity 0.2s ease-in-out;\n &[data-is-display='false'] {\n visibility: hidden;\n opacity: 0;\n }\n padding: 0.5rem;\n &[data-is-nav-menu='true'] {\n position: absolute;\n top: 100%;\n height: unset;\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n"])),ai,(function(n){return n.theme.colors.white})),mi),gi=G.div(pi||(pi=t(["\n position: relative;\n z-index: 1;\n"],["\n position: relative;\n z-index: 1;\n"]))),ui=G.div(ci||(ci=t(["\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),fi=G.div(xi||(xi=t(["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n\n &[data-is-amp='true'] {\n top: calc(var(--header-height));\n }\n\n ."," {\n position: unset;\n }\n"],["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n\n &[data-is-amp='true'] {\n top: calc(var(--header-height));\n }\n\n ."," {\n position: unset;\n }\n"])),mi);G.div(vi||(vi=t(["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"],["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"]))),G.div(bi||(bi=t(["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"],["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"]))),G.div(yi||(yi=t(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"]))),G.div(wi||(wi=t(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"]))),G.div(Ei||(Ei=t(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"]))),G.div(ki||(ki=t(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04), 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04), 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),oi,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),G.div(Ci||(Ci=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),G.div(Li||(Li=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),G.div(Bi||(Bi=t(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),G.div(Pi||(Pi=t(["\n display: none;\n"],["\n display: none;\n"]))),G.div(Mi||(Mi=t(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),G.div(zi||(zi=t(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),G.div(Hi||(Hi=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),G.div(Ai||(Ai=t(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),G.div(Si||(Si=t(["\n display: block;\n"],["\n display: block;\n"]))),G.div(Ni||(Ni=t(["\n .amp-sidebar {\n width: 100vw;\n\n background-color: ",";\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"],["\n .amp-sidebar {\n width: 100vw;\n\n background-color: ",";\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800})),G.div(Ti||(Ti=t(["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"],["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"])),(function(n){return n.theme.mbColors.pink}));var xi,vi,bi,yi,wi,Ei,ki,Ci,Li,Bi,Pi,Mi,zi,Hi,Ai,Si,Ni,Ti,_i,Ui,Ri,Di,ji,Zi,Vi,Fi=G.div(_i||(_i=t(["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"],["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"])),(function(n){return n.theme.mbColors.lightGray})),Oi=G.div(Ui||(Ui=t(["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"],["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"]))),Ii=function(n){var e,t,i=n.closePopup,a=n.menuItems,r=void 0===a?[]:a,l=d(Wn),s=l.siteType,p=l.ssrMenuContent,c=p.categories,m=p.healthTools,h=p.care,g=p.together,u=l.activeMenuService,f=l.configs,x=f.statics,v=f.enableSearchBar,b=l.isAmp,y=l.locale,w=V().t;return o.createElement(fi,{id:"categories-menu","data-is-amp":b},v?o.createElement(Fi,{"data-theme":s,onClick:function(){window.location.href="".concat(x.HOME_PAGE_URL,"/search")}},o.createElement(Kn,null)):null,o.createElement(Oi,null,o.createElement(ie,{UrlFE:x.HOME_PAGE_URL,titleBtnViewMore:w("home.navigator.menuItem.allCategories"),menuItems:r,headingTitle:w("home.navigator.menuItem.healthCategories"),onClosePopup:i}),"categories"===u&&o.createElement(Ge,{spotlightsList:(null==c?void 0:c.spotlights)||[],hrefViewMore:"".concat(x.HOME_PAGE_URL).concat("tl-PH"===y?"/fil":"","/spotlight/")}),"tools"===u&&o.createElement($t,{spotlightHealthTools:null==m?void 0:m.spotlights,hrefViewMore:"".concat(x.HOME_PAGE_URL).concat("tl-PH"===y?"/fil":"").concat((null===(e=M[y])||void 0===e?void 0:e.HEALTH_TOOLS)||"")}),"care"===u&&o.createElement(Ne,{spotlights:null==h?void 0:h.spotlights,hrefViewMore:"".concat(x.CARE_URL_FE,"/").concat(null===(t=Z[y])||void 0===t?void 0:t.SPECIALTIES)}),"together"===u&&o.createElement(bt,{spotlights:null==g?void 0:g.spotlights})))},Gi=G.div(Ri||(Ri=t(["\n ","\n"],["\n ","\n"])),(function(n){return"\n ".concat(0!==n.lowerBound?"@media (max-width: ".concat(n.lowerBound-1,"px) { display: none; }"):"","\n ").concat(0!==n.upperBound?"@media (min-width: ".concat(n.upperBound,"px) { display: none; }"):"","\n ")})),Wi=function(n){var e=n.forceDisplay,t=n.mediaQueryKey,i=n.children,a=n.className,r=n.style,l=s((function(){return I(t)}),[t]),d=l[0],p=l[1];return o.createElement(Gi,{lowerBound:e?0:d,upperBound:e?0:p,className:a,style:r},i)},Yi=G.div(Di||(Di=t(["\n a {\n text-decoration: none;\n }\n .login-btn-mobile {\n padding-left: 10px;\n padding-right: 10px;\n }\n"],["\n a {\n text-decoration: none;\n }\n .login-btn-mobile {\n padding-left: 10px;\n padding-right: 10px;\n }\n"]))),qi=function(n){var e=n.onCareHeaderClick,t=n.currentUrl,i=n.careUrlFe,a=n.btnName;return o.createElement(Yi,null,e?o.createElement(Y,{className:"login-btn-mobile",size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:function(n){return e(n)}},a):o.createElement("a",{href:i,className:"care-button no-replace-click"},o.createElement(Y,{className:"login-btn-mobile",size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},a)))},Ki=function(n){var e=(n||{}).allowBgScroll,t=r();return{containerRef:t,onContainerFocus:function(){e||(document.documentElement.style.overflow="hidden")},onContainerBlur:function(){e||(document.documentElement.style.overflow="")},onButtonMouseDown:function(n){t.current&&(document.activeElement===t.current||t.current.contains(document.activeElement))&&(t.current.blur(),document.activeElement.blur(),n.preventDefault())},onClose:function(){t.current&&(document.activeElement===t.current||t.current.contains(document.activeElement))&&(t.current.blur(),document.activeElement.blur())}}},Qi="hhgcomp-navigation-itemnav-headeritem",Xi=K(G.div(ji||(ji=t(["\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n border-bottom: 1px solid #ffffff;\n text-decoration: none;\n cursor: pointer;\n\n & > div {\n display: flex;\n align-items: center;\n\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n &:focus-within {\n color: ",";\n border-bottom: 1px solid ",";\n svg path {\n stroke: ",";\n }\n div[data-site-type='marryBaby'] & {\n color: ",";\n border-bottom: 1px solid ",";\n svg path {\n stroke: ",";\n }\n svg:hover path {\n stroke: ",";\n }\n }\n\n ."," {\n visibility: initial;\n opacity: 1;\n }\n }\n &:not(:focus-within) {\n ."," {\n img {\n display: none;\n }\n }\n }\n\n .care-navigator {\n color: ",";\n font-size: 14px;\n font-weight: 700;\n }\n"],["\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n border-bottom: 1px solid #ffffff;\n text-decoration: none;\n cursor: pointer;\n\n & > div {\n display: flex;\n align-items: center;\n\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n &:focus-within {\n color: ",";\n border-bottom: 1px solid ",";\n svg path {\n stroke: ",";\n }\n div[data-site-type='marryBaby'] & {\n color: ",";\n border-bottom: 1px solid ",";\n svg path {\n stroke: ",";\n }\n svg:hover path {\n stroke: ",";\n }\n }\n\n ."," {\n visibility: initial;\n opacity: 1;\n }\n }\n &:not(:focus-within) {\n ."," {\n img {\n display: none;\n }\n }\n }\n\n .care-navigator {\n color: ",";\n font-size: 14px;\n font-weight: 700;\n }\n"])),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.secondaryDark}),(function(n){return n.theme.mbColors.dark}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.midGray}),(function(n){return n.theme.mbColors.pink}),mi,mi,(function(n){return n.theme.colors.secondaryDark})),Qi),Ji=G.div(Zi||(Zi=t(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),$i=G.div(Vi||(Vi=t(["\n cursor: pointer;\n * {\n pointer-events: none;\n }\n"],["\n cursor: pointer;\n * {\n pointer-events: none;\n }\n"]))),na=function(n){var e=n.item,t=n.menu,i=Ki({allowBgScroll:!0}),a=i.containerRef,r=i.onContainerFocus,s=i.onContainerBlur,d=i.onButtonMouseDown,c=i.onClose,m=function(){var n=l(!0),e=n[0],t=n[1];return p((function(){t(!1)}),[]),e}();return!e.popupType&&e.link?o.createElement(Xi,{className:m?"":"menu-handler-".concat(e.id),tabIndex:0,as:"a",href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},o.createElement($i,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},e.name)):o.createElement(Xi,{ref:a,className:m?"":"menu-handler-".concat(e.id),tabIndex:0,key:e.id,onBlur:s,onFocus:r,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},o.createElement($i,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:d},e.name,e.popupType&&o.createElement(Ji,null,o.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),o.isValidElement(t)?o.cloneElement(t,{onClose:c}):null)},ea=function(n){var e,t,i,a;return n?{termId:n.term_id||null,sponsor:n.sponsor?(a=n.sponsor,a?{title:a.title,logo:a.logo,link:a.link}:{}):null,isSponsored:n.is_sponsored||null,categoryName:n.cat_name||n.name||null,name:n.name||null,iconUrl:n.icon||"",slugName:n.category_nicename||null,description:n.description||null,featureImage:n.thumbnail||n.image||null,displayName:n.name||null,parent:n.parent||null,permalink:n.permalink||null,slug:n.slug||null,childCates:(null===(e=n.child_cates)||void 0===e?void 0:e.map((function(n){return ea(n)})))||[],thumnailColor:n.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:n.color_feature_image||null,imageColor:n.image_color||null,textColor:n.text_color||null,catParent:(null===(t=n.cat_parent)||void 0===t?void 0:t.name)?{name:n.cat_parent.name,permalink:n.cat_parent.permalink}:{},metaTag:n.meta_tag||"",reviewedBy:n.reviewed_by?(i=n.reviewed_by,{postTitle:i.post_title,permalink:i.permalink}):null,reviewedDate:n.reviewed_date||"",faqs:n.faqs?n.faqs.map((function(n){return function(n){return{title:n.title,content:n.content}}(n)})):null}:{}},ta=function(n){var e,t;if(!n)return{};var i=null===(e=n.link)||void 0===e?void 0:e.includes("/bot/"),a=null===(t=n.link)||void 0===t?void 0:t.startsWith("/fil/"),o=n.link?n.link.startsWith("http")||i?n.link:a?n.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):"/health-tools".concat(n.link.replace("/health-tools/","/")):void 0;return{icon:n.icon,link:o,subtitle:n.subtitle,title:n.title}},ia=function(n){return n?{thumbnail:n.thumbnail,link:null==n?void 0:n.slug,subtitle:n.name,name:n.name,slug:n.slug}:{}},aa=function(n){return n?{id:n.id,name:n.name,logo:null==n?void 0:n.logo,description:n.about,slug:n.slug}:{}},oa=function(n){var e,t,i=n.type,a=n.specialtySlug,o=n.locale;return"".concat(null===(e=Z[o])||void 0===e?void 0:e.ALL,"/").concat((null===(t=Z[o])||void 0===t?void 0:t[i])||"doctor","/").concat(null!=a?a:"")},ra=function(n){return n?{id:n.ID,name:n.name,permalink:n.permalink,image:(null==n?void 0:n.small_banner)||(null==n?void 0:n.image)||"",imageMedium:(null==n?void 0:n.image_medium)||null,imageThumbnail:(null==n?void 0:n.image_thumbnail)||null,startDate:null==n?void 0:n.start_date,endDate:null==n?void 0:n.end_date}:{}},la=function(n){var e=new Date;if(null==n?void 0:n.startDate){var t=new Date(n.startDate);if(e.getTime()<t.getTime())return!1}if(null==n?void 0:n.endDate){var i=new Date(n.endDate);if(e.getTime()>i.getTime())return!1}return!0},sa=function(n){var e=n.onClosePopup;return o.createElement(ui,{className:"close-btn",onClick:e},o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))},da=function(n){var e=n.onClosePopup,t=n.isDisplay,i=n.children,a=n.isNavMenu,r=n.hideCloseBtn;return o.createElement(hi,{className:"top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!a},o.createElement(J,null,!r&&o.createElement(gi,null,o.createElement(sa,{onClosePopup:e})),o.createElement(ri,null,i)))},pa=function(n){var e,t=n.careSpecialties,i=void 0===t?[]:t,a=n.isOpen,r=n.onClose,l=n.spotlights,s=void 0===l?[]:l,p=V().t,c=d(Wn),m=c.locale,h=c.configs.statics,g="".concat(h.CARE_URL_FE,"/").concat(null===(e=Z[m])||void 0===e?void 0:e.SPECIALTIES);return o.createElement(da,{onClosePopup:r,isDisplay:a,isNavMenu:!0},o.createElement(ie,{headingTitle:p("home.navigator.menuItem.specialties"),hrefViewMore:g,UrlFE:h.CARE_URL_FE,onClosePopup:r,titleBtnViewMore:p("home.navigator.menuItem.allSpecialties"),menuItems:(null==i?void 0:i.map((function(n){return n?{name:String(n.name)||"",link:oa({type:"DOCTOR",specialtySlug:n.slug,locale:m}),thumbnail:(null==n?void 0:n.thumbnail)||""}:{}})))||[]}),o.createElement(Ne,{spotlights:s,hrefViewMore:g}))},ca=function(n){var e=n.categories,t=void 0===e?[]:e,i=n.spotlightsList,a=void 0===i?[]:i,r=n.onClose,l=n.isOpen,s=V().t,p=d(Wn),c=p.locale,m=p.configs.statics;return o.createElement(da,{onClosePopup:r,isDisplay:l,isNavMenu:!0},o.createElement(ie,{hrefViewMore:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===c?"/fil":"","/categories/"),UrlFE:m.HOME_PAGE_URL,onClosePopup:r,titleBtnViewMore:s("home.navigator.menuItem.allCategories"),menuItems:(null==t?void 0:t.map((function(n){return n?{name:n.displayName||null,link:(null==n?void 0:n.permalink)||"/",thumbnail:n.iconUrl||null}:{}})))||[],headingTitle:s("home.navigator.menuItem.healthCategories")}),o.createElement(Ge,{spotlightsList:a,hrefViewMore:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===c?"/fil":"","/spotlight/")}))},ma=function(n){var e=n.communities,t=void 0===e?[]:e,i=n.onClose,a=n.isOpen,r=n.spotlights,l=void 0===r?[]:r,s=V().t,p=d(Wn).configs.statics;return o.createElement(da,{onClosePopup:i,isDisplay:a,isNavMenu:!0},o.createElement(ie,{hrefViewMore:p.TOGETHER_URL_FE,UrlFE:p.TOGETHER_URL_FE,onClosePopup:i,titleBtnViewMore:s("home.navigator.menuItem.allCommunities"),menuItems:(null==t?void 0:t.map((function(n){return n?{name:n.name||"",link:n.slug||"/",thumbnail:n.thumbnail||""}:{}})))||[],headingTitle:s("home.navigator.menuItem.allCommunitiesheadingTitle")}),o.createElement(bt,{spotlights:l}))},ha=function(n){var e,t=n.locale,i=n.onClose,a=n.isOpen,r=n.spotlightHealthTools,l=void 0===r?[]:r,s=n.healthTools,p=void 0===s?[]:s,c=V().t,m=d(Wn).configs.statics,h="".concat(m.HOME_PAGE_URL).concat("tl-PH"===t?"/fil":"").concat((null===(e=M[t])||void 0===e?void 0:e.HEALTH_TOOLS)||"");return o.createElement(da,{onClosePopup:i,isDisplay:a,isNavMenu:!0},o.createElement(ie,{hrefViewMore:h,UrlFE:m.HOME_PAGE_URL,onClosePopup:i,headingTitle:c("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:c("home.navigator.menuItem.allHealthTools"),menuItems:p.map((function(n){return{name:n.title,link:n.link?n.link.startsWith("http")?n.link:"".concat(m.HOME_PAGE_URL).concat(n.link):void 0,thumbnail:n.icon}}))}),o.createElement($t,{spotlightHealthTools:l,hrefViewMore:h}))};function ga(n){var e=n.className,t=n.ampHidden,i=n.ampBindHiddenCondition;return o.createElement("div",{"data-amp-bind-hidden":i,hidden:t},o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},o.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function ua(n){var e=n.siteType,t=n.type,i=n.enableSearch,a=n.className,r=n.ampBindHiddenCondition;return"helloSites"===e?o.createElement("div",{"data-amp-bind-hidden":r},o.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:i?h.getAssetPath("hamburgerMenuNewWithSearch.svg"):h.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:t,className:a})):o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}var fa=G.header(Ca||(Ca=t(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),xa=G.div(Ba||(Ba=t(["\n margin-right: 8px;\n &[data-event-category] > * {\n pointer-events: none;\n }\n\n ","\n #categories-menu {\n transition: transform 0.1s, opacity 0.1s;\n opacity: 0;\n transform: translateX(-100%);\n }\n"],["\n margin-right: 8px;\n &[data-event-category] > * {\n pointer-events: none;\n }\n\n ","\n #categories-menu {\n transition: transform 0.1s, opacity 0.1s;\n opacity: 0;\n transform: translateX(-100%);\n }\n"])),(function(n){return!n.isAmp&&W(La||(La=t(["\n .mobile-close-icon {\n display: none;\n }\n &:focus-within {\n .mobile-close-icon {\n display: block;\n }\n .mobile-hamburger-icon {\n display: none;\n }\n #categories-menu {\n transform: translateX(0);\n opacity: 1;\n }\n }\n "],["\n .mobile-close-icon {\n display: none;\n }\n &:focus-within {\n .mobile-close-icon {\n display: block;\n }\n .mobile-hamburger-icon {\n display: none;\n }\n #categories-menu {\n transform: translateX(0);\n opacity: 1;\n }\n }\n "])))})),va=G.div(Pa||(Pa=t(["\n cursor: pointer;\n > * {\n pointer-events: none;\n }\n"],["\n cursor: pointer;\n > * {\n pointer-events: none;\n }\n"]))),ba=G.div(Ma||(Ma=t(["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n &[data-is-amp='true'] {\n position: relative;\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n\n &[data-is-amp='true'] {\n position: relative;\n transform: translateY(0);\n transition: transform 0.5s;\n }\n }\n\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"],["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n &[data-is-amp='true'] {\n position: relative;\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n\n &[data-is-amp='true'] {\n position: relative;\n transform: translateY(0);\n transition: transform 0.5s;\n }\n }\n\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.mbColors.lightPink}),O.mbUp,O.mbDown,ei,ti,ii,(function(n){return n.theme.mbColors.lightGray})),ya=G.div(za||(za=t(["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"],["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"])),O.pcDown,O.mbDown,O.tdUp),wa=G.div(Ha||(Ha=t(["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),O.pcDown),Ea=G.div(Aa||(Aa=t([""],[""]))),ka=G.div(Sa||(Sa=t(["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n ."," {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n ."," {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),Qi,O.pcUp,O.pcDown,O.mbDown);G.div(Na||(Na=t(["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"],["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"])));var Ca,La,Ba,Pa,Ma,za,Ha,Aa,Sa,Na,Ta,_a,Ua,Ra,Da=G.div(Ta||(Ta=t(["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"],["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"])),O.pcDown,O.mbDown),ja=G.div(_a||(_a=t(["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"]))),Za=function(n){var e=n.type,t=void 0===e?"home":e,i=n.menuItems,a=d(Wn),r=a.siteType,l=a.isAmp,s=a.configs.enableSearchBar,p=Ki(),c=p.containerRef,m=p.onContainerFocus,h=p.onContainerBlur,g=p.onButtonMouseDown,u=p.onClose;return o.createElement(Wi,{mediaQueryKey:"mbDown",forceDisplay:!!l||void 0},l&&o.createElement("amp-state",{id:"menu"},o.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify({lightbox:"closed"})}})),o.createElement(fa,null,o.createElement(xa,{ref:c,on:"tap:discover-amp-lightbox",role:"button",tabIndex:0,onBlur:h,onFocus:m,isAmp:l},o.createElement(va,{onMouseDown:g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},o.createElement(ga,{className:"mobile-close-icon",ampHidden:l&&!0,ampBindHiddenCondition:"menu.lightbox == 'closed'"}),o.createElement(ua,{siteType:r,type:t,enableSearch:s,className:"mobile-hamburger-icon",ampBindHiddenCondition:"menu.lightbox == 'open'"})),!l&&o.createElement(Ii,{menuItems:i,closePopup:u}))))},Va=G.div(Ua||(Ua=t(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"])),O.mbDown,O.mbUp,(function(n){return n.theme.colors.gray800}),O.mbDown,O.mbUp,(function(n){return n.theme.colors.gray600}),O.mbDown,O.mbUp),Fa=G.div(Ra||(Ra=t(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"])),O.mbDown,O.mbUp,(function(n){return"marryBaby"===n.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""})),Oa=function(n){var e=n.openLogoutPopup,t=n.onCloseHandler,i=n.onLogoutHandler,a=n.siteType,r=void 0===a?"helloSites":a,l=V().t;return p((function(){document.body.classList.toggle("noscroll",e)}),[e]),o.createElement(an,null,o.createElement(U,{type:"confirm",isOpen:e,closeIcon:o.createElement("img",{src:h.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon"}),onClose:t},o.createElement(Va,null,"helloSites"===r&&o.createElement("img",{src:h.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account"}),o.createElement("h2",null,l("helloSites"===r?"logout.popup.ask1":"logout.popup.ask.mb")),o.createElement("p",null,l("logout.popup.ask2")),o.createElement(Fa,{siteType:r},o.createElement(Y,{className:"logout-button",color:"tertiary",size:"lg",onClick:i},l("logout.popup.button.logout")),o.createElement(Y,{className:"cancel-button",color:"primary",size:"lg",onClick:t},l("logout.popup.button.cancel"))))))},Ia="hhgcomp-navprofilebutton-popup",Ga=K(G.div(Ya||(Ya=t(["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n "," {\n max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n width: 100%;\n border-top: 1px solid ",";\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n "," {\n max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n width: 100%;\n border-top: 1px solid ",";\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(n){return n.theme.colors.white}),O.mbDown,O.mbUp,O.mbDown,O.mbUp,O.mbDown,O.mbUp,(function(n){return n.theme.colors.gray200}),O.mbDown,q.colors.neutral100,O.mbUp),Ia),Wa="hhgcomp-navprofilebutton-popupwrapper";K(G.div(qa||(qa=t(["\n position: fixed;\n z-index: 150;\n top: var(--header-bottom, 69px);\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 150;\n top: var(--header-bottom, 69px);\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"])),O.mbUp,O.mbDown),Wa);var Ya,qa,Ka,Qa,Xa,Ja,$a,no,eo,to,io,ao,oo,ro,lo,so,po,co,mo=G.div(Ka||(Ka=t(["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"],["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"])),(function(n){return n.theme.colors.secondaryBase})),ho=G.a(Qa||(Qa=t(["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"],["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"])),Ia,O.mbDown,Wa),go=G.a(Xa||(Xa=t(["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"],["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"])),O.mbUp,O.mbUp),uo={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"},fo=G.div(Ja||(Ja=t(["\n cursor: pointer;\n [data-theme='helloSites'] & {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 6px;\n padding: 12px 16px;\n }\n [data-theme='marryBaby'] & {\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n min-width: 80px;\n height: 100px;\n border-radius: 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n"],["\n cursor: pointer;\n [data-theme='helloSites'] & {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 6px;\n padding: 12px 16px;\n }\n [data-theme='marryBaby'] & {\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n min-width: 80px;\n height: 100px;\n border-radius: 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n"]))),xo=G.h3($a||($a=t(["\n white-space: nowrap;\n [data-theme='helloSites'] & {\n font-size: 14px;\n color: ",";\n margin-top: 6px;\n }\n [data-theme='marryBaby'] & {\n font-size: 12px;\n color: ",";\n margin-top: 8px;\n }\n"],["\n white-space: nowrap;\n [data-theme='helloSites'] & {\n font-size: 14px;\n color: ",";\n margin-top: 6px;\n }\n [data-theme='marryBaby'] & {\n font-size: 12px;\n color: ",";\n margin-top: 8px;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.text_default})),vo=G.div(no||(no=t(["\n background-repeat: no-repeat;\n [data-theme='helloSites'] & {\n height: 28px;\n }\n [data-theme='marryBaby'] & {\n width: 40px;\n height: 40px;\n border-radius: 20px;\n display: flex;\n justify-content: center;\n align-items: center;\n background-position: center;\n }\n"],["\n background-repeat: no-repeat;\n [data-theme='helloSites'] & {\n height: 28px;\n }\n [data-theme='marryBaby'] & {\n width: 40px;\n height: 40px;\n border-radius: 20px;\n display: flex;\n justify-content: center;\n align-items: center;\n background-position: center;\n }\n"]))),bo={myHealth:q.mbColors.toneYellow,myCommunity:q.mbColors.toneBlue,mySaved:q.mbColors.toneGreen},yo={helloSites:{myBooking:function(){return h.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg")},myCommunity:function(){return h.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg")},myFamily:function(){return h.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg")},myHealth:function(){return h.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg")},mySaved:function(){return h.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg")},eCom:function(){return h.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")}},marryBaby:{mySaved:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg")},myCommunity:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg")},myHealth:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}}},wo=G.div(eo||(eo=t(["\n display: flex;\n flex-direction: column;\n padding: 18px 16px;\n &[data-theme='helloSites'] {\n gap: 16px;\n }\n &[data-theme='marryBaby'] {\n font-family: Inter, 'Open Sans', sans-serif;\n gap: 24px;\n }\n\n // reset inherited values\n font-size: initial;\n font-weight: initial;\n line-height: initial;\n"],["\n display: flex;\n flex-direction: column;\n padding: 18px 16px;\n &[data-theme='helloSites'] {\n gap: 16px;\n }\n &[data-theme='marryBaby'] {\n font-family: Inter, 'Open Sans', sans-serif;\n gap: 24px;\n }\n\n // reset inherited values\n font-size: initial;\n font-weight: initial;\n line-height: initial;\n"]))),Eo=G.div(to||(to=t(["\n flex: 1;\n display: inline-flex;\n flex-wrap: wrap;\n [data-theme='helloSites'] & {\n gap: 8px;\n margin-right: -8px;\n }\n [data-theme='marryBaby'] & {\n gap: 16px;\n }\n"],["\n flex: 1;\n display: inline-flex;\n flex-wrap: wrap;\n [data-theme='helloSites'] & {\n gap: 8px;\n margin-right: -8px;\n }\n [data-theme='marryBaby'] & {\n gap: 16px;\n }\n"]))),ko=G((function(n){var e=n.type,t=n.themeName,i=n.className,a=n.onClick,r=void 0===a?function(){}:a,l=V().t,d=s((function(){var n,i;return(null===(i=null===(n=yo[t])||void 0===n?void 0:n[e])||void 0===i?void 0:i.call(n))||""}),[e,t]),p=s((function(){return"marryBaby"!==t?"transparent":bo[e]}),[e,t]);return o.createElement(fo,{onClick:function(){r(e)},className:i},o.createElement(vo,{style:{backgroundColor:p,backgroundImage:'url("'.concat(d,'")')}}),o.createElement(xo,null,l("userProfile.nav.card.".concat(e))))}))(io||(io=t(["\n [data-theme='helloSites'] & {\n width: calc(50% - 8px);\n }\n [data-theme='marryBaby'] & {\n flex: 1;\n width: 33.33%;\n }\n"],["\n [data-theme='helloSites'] & {\n width: calc(50% - 8px);\n }\n [data-theme='marryBaby'] & {\n flex: 1;\n width: 33.33%;\n }\n"]))),Co=G(Y)(ao||(ao=t(["\n span {\n justify-content: center;\n font-weight: normal;\n img {\n margin-right: 8px;\n }\n }\n\n & .button-icon {\n width: 15px;\n height: 15px;\n }\n"],["\n span {\n justify-content: center;\n font-weight: normal;\n img {\n margin-right: 8px;\n }\n }\n\n & .button-icon {\n width: 15px;\n height: 15px;\n }\n"]))),Lo=G.div(oo||(oo=t(["\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),Bo=G(R)(ro||(ro=t(["\n flex-shrink: 0;\n"],["\n flex-shrink: 0;\n"]))),Po=G.div(lo||(lo=t(["\n flex-grow: 0;\n margin-left: 12px;\n"],["\n flex-grow: 0;\n margin-left: 12px;\n"]))),Mo=G.div(so||(so=t(["\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n color: ",";\n font-weight: 700;\n -webkit-line-clamp: 1;\n text-overflow: ellipsis;\n word-break: break-word;\n [data-theme='helloSites'] & {\n font-size: 16px;\n font-weight: 600;\n }\n [data-theme='marryBaby'] & {\n font-size: 14px;\n font-weight: 600;\n }\n"],["\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n color: ",";\n font-weight: 700;\n -webkit-line-clamp: 1;\n text-overflow: ellipsis;\n word-break: break-word;\n [data-theme='helloSites'] & {\n font-size: 16px;\n font-weight: 600;\n }\n [data-theme='marryBaby'] & {\n font-size: 14px;\n font-weight: 600;\n }\n"])),(function(n){return n.theme.colors.text_black})),zo=G.div(po||(po=t(["\n display: flex;\n width: fit-content;\n align-items: center;\n padding-top: 0;\n padding-left: 0;\n background-repeat: no-repeat;\n cursor: pointer;\n font-size: 12px;\n font-weight: normal;\n [data-theme='helloSites'] & {\n padding-right: 15px;\n background-image: ",";\n background-position: right 5px;\n background-size: 5px 8px;\n color: ",";\n }\n [data-theme='marryBaby'] & {\n padding-right: 25px;\n margin-top: 2px;\n background-image: ",";\n background-position: right -2px;\n background-size: 20px 20px;\n color: ",";\n font-weight: 600;\n }\n"],["\n display: flex;\n width: fit-content;\n align-items: center;\n padding-top: 0;\n padding-left: 0;\n background-repeat: no-repeat;\n cursor: pointer;\n font-size: 12px;\n font-weight: normal;\n [data-theme='helloSites'] & {\n padding-right: 15px;\n background-image: ",";\n background-position: right 5px;\n background-size: 5px 8px;\n color: ",";\n }\n [data-theme='marryBaby'] & {\n padding-right: 25px;\n margin-top: 2px;\n background-image: ",";\n background-position: right -2px;\n background-size: 20px 20px;\n color: ",";\n font-weight: 600;\n }\n"])),(function(){return'url("'.concat(h.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg"),'")')}),(function(n){return n.theme.colors.gray600}),(function(){return'url("'.concat(h.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg"),'")')}),(function(n){return n.theme.mbColors.midGray}));function Ho(n){var e=n.userInfo,t=n.onClickMyProfileButton,i=n.themeName,a=void 0===i?"helloSites":i,r=V().t,l=s((function(){var n=(null==e?void 0:e.name)||(null==e?void 0:e.username);return n&&n.length?n[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return o.createElement(Lo,{onClick:function(){t&&t()}},o.createElement(Bo,{type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:l,backgroundColor:"marryBaby"===a?q.mbColors.pink:q.colors.secondaryBase}),o.createElement(Po,null,o.createElement(Mo,null,(null==e?void 0:e.name)||(null==e?void 0:e.username)),o.createElement(zo,null,r("userProfile.nav.header.viewProfile"))))}G.div(co||(co=t(["\n display: flex;\n flex: 1;\n justify-content: flex-end;\n"],["\n display: flex;\n flex: 1;\n justify-content: flex-end;\n"])));var Ao,So,No,To,_o,Uo,Ro,Do,jo,Zo,Vo,Fo,Oo,Io,Go,Wo,Yo=G.div(Ao||(Ao=t(["\n user-select: none;\n overflow: hidden;\n font-size: 14px;\n color: ",";\n [data-theme='helloSites'] & {\n padding: 8px 0;\n background-color: ",";\n }\n margin: 0 -16px;\n"],["\n user-select: none;\n overflow: hidden;\n font-size: 14px;\n color: ",";\n [data-theme='helloSites'] & {\n padding: 8px 0;\n background-color: ",";\n }\n margin: 0 -16px;\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.neutral50})),qo=G.div(No||(No=t(["\n background-color: white;\n border: 1px solid transparent;\n transition: margin 0.3 linear;\n cursor: pointer;\n\n ","\n\n margin-top: 0;\n transition: margin 200ms;\n\n &[data-is-open='true'] {\n & > div:first-child {\n border-bottom-color: ",";\n }\n & + div {\n margin-top: 8px;\n }\n & + .nav-menu-item {\n border-top-color: transparent;\n }\n }\n\n [data-theme='helloSites'] & {\n & + .nav-menu-item {\n border-top-color: ",";\n }\n }\n\n [data-theme='marryBaby'] & {\n & + .nav-menu-item::before {\n content: '';\n display: block;\n height: 1px;\n background-color: ",";\n margin: 0 50px;\n }\n }\n\n .nav-menu-item {\n padding-left: 33px;\n }\n"],["\n background-color: white;\n border: 1px solid transparent;\n transition: margin 0.3 linear;\n cursor: pointer;\n\n ","\n\n margin-top: 0;\n transition: margin 200ms;\n\n &[data-is-open='true'] {\n & > div:first-child {\n border-bottom-color: ",";\n }\n & + div {\n margin-top: 8px;\n }\n & + .nav-menu-item {\n border-top-color: transparent;\n }\n }\n\n [data-theme='helloSites'] & {\n & + .nav-menu-item {\n border-top-color: ",";\n }\n }\n\n [data-theme='marryBaby'] & {\n & + .nav-menu-item::before {\n content: '';\n display: block;\n height: 1px;\n background-color: ",";\n margin: 0 50px;\n }\n }\n\n .nav-menu-item {\n padding-left: 33px;\n }\n"])),(function(n){return n.hasSubmenu&&W(So||(So=t(["\n cursor: pointer;\n "],["\n cursor: pointer;\n "])))}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.mbColors.lightGray})),Ko=G.div(To||(To=t(["\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 18px;\n border: 1px solid transparent;\n transition: border-color 300ms;\n"],["\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 18px;\n border: 1px solid transparent;\n transition: border-color 300ms;\n"]))),Qo=G.div(_o||(_o=t(["\n width: 20px;\n height: 20px;\n margin-right: 14px;\n background-repeat: no-repeat;\n background-position: center;\n"],["\n width: 20px;\n height: 20px;\n margin-right: 14px;\n background-repeat: no-repeat;\n background-position: center;\n"]))),Xo=G.div(Uo||(Uo=t(["\n flex: 1;\n display: flex;\n justify-content: flex-end;\n &::after {\n content: '';\n display: block;\n width: 12px;\n height: 10px;\n background-image: ",";\n background-repeat: no-repeat;\n background-position: center;\n [data-is-open='true'] & {\n transform: rotate(-180deg);\n }\n }\n"],["\n flex: 1;\n display: flex;\n justify-content: flex-end;\n &::after {\n content: '';\n display: block;\n width: 12px;\n height: 10px;\n background-image: ",";\n background-repeat: no-repeat;\n background-position: center;\n [data-is-open='true'] & {\n transform: rotate(-180deg);\n }\n }\n"])),(function(){return'url("'.concat(h.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg"),'")')})),Jo=G.div(Ro||(Ro=t(["\n overflow: hidden;\n max-height: 0;\n transition: max-height 0.3s ease-out;\n\n [data-is-open='true'] & {\n max-height: 100px;\n transition-timing-function: ease-in;\n }\n"],["\n overflow: hidden;\n max-height: 0;\n transition: max-height 0.3s ease-out;\n\n [data-is-open='true'] & {\n max-height: 100px;\n transition-timing-function: ease-in;\n }\n"]))),$o=function(n){var e=n.themeName,t=n.locale,i=n.onClickItem,a=l(""),r=a[0],d=a[1],p=V().t,c=s((function(){return"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:h.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:h.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:h.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:h.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]}),[e]);return o.createElement(Yo,null,c.map((function n(e){var a;return(null===(a=e.disableLocale)||void 0===a?void 0:a.includes(t))?null:o.createElement(qo,{className:"nav-menu-item","data-is-open":r===e.key,key:e.key,hasSubmenu:!!e.subMenu},o.createElement(Ko,{onClick:function(){return function(n){n.subMenu?d((function(e){return e?"":n.key})):i&&i(n)}(e)}},e.icon&&o.createElement(Qo,{style:{backgroundImage:'url("'.concat(e.icon,'")')}}),p(e.key),e.subMenu&&o.createElement(Xo,null)),e.subMenu&&o.createElement(Jo,null,e.subMenu.map(n)))})))},nr=G.div(Do||(Do=t(["\n [data-theme='marryBaby'] & {\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n border-radius: 8px;\n overflow: hidden;\n }\n"],["\n [data-theme='marryBaby'] & {\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n border-radius: 8px;\n overflow: hidden;\n }\n"]))),er=G.div(jo||(jo=t(["\n [data-theme='helloSites'] & {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 6px;\n overflow: hidden;\n }\n"],["\n [data-theme='helloSites'] & {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 6px;\n overflow: hidden;\n }\n"]))),tr=G.div(Zo||(Zo=t(["\n display: flex;\n align-items: center;\n padding: 0 16px;\n font-size: 14px;\n [data-theme='helloSites'] & {\n height: 42px;\n }\n [data-theme='marryBaby'] & {\n height: 52px;\n }\n\n [data-theme='helloSites'] [data-user-rank='member'] & {\n color: ",";\n background-color: ",";\n }\n [data-theme='marryBaby'] [data-user-rank='member'] & {\n color: ",";\n background-color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n padding: 0 16px;\n font-size: 14px;\n [data-theme='helloSites'] & {\n height: 42px;\n }\n [data-theme='marryBaby'] & {\n height: 52px;\n }\n\n [data-theme='helloSites'] [data-user-rank='member'] & {\n color: ",";\n background-color: ",";\n }\n [data-theme='marryBaby'] [data-user-rank='member'] & {\n color: ",";\n background-color: ",";\n }\n"])),(function(n){return n.theme.colors.blue600}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.mbColors.blue}),(function(n){return n.theme.mbColors.toneBlue})),ir=G.div(Vo||(Vo=t(["\n background-repeat: no-repeat;\n background-position: center;\n [data-theme='helloSites'] & {\n height: 18px;\n width: 18px;\n }\n [data-theme='marryBaby'] & {\n height: 24px;\n width: 24px;\n }\n"],["\n background-repeat: no-repeat;\n background-position: center;\n [data-theme='helloSites'] & {\n height: 18px;\n width: 18px;\n }\n [data-theme='marryBaby'] & {\n height: 24px;\n width: 24px;\n }\n"]))),ar=G.h3(Fo||(Fo=t(["\n font-size: 14px;\n [data-theme='helloSites'] & {\n margin-left: 6px;\n font-weight: 600;\n }\n [data-theme='marryBaby'] & {\n margin-left: 8px;\n font-weight: 500;\n }\n"],["\n font-size: 14px;\n [data-theme='helloSites'] & {\n margin-left: 6px;\n font-weight: 600;\n }\n [data-theme='marryBaby'] & {\n margin-left: 8px;\n font-weight: 500;\n }\n"]))),or=G.p(Oo||(Oo=t(["\n flex: 1;\n display: flex;\n justify-content: flex-end;\n font-weight: 600;\n [data-theme='helloSites'] & {\n font-size: 14px;\n }\n [data-theme='marryBaby'] & {\n font-size: 12px;\n color: ",";\n }\n"],["\n flex: 1;\n display: flex;\n justify-content: flex-end;\n font-weight: 600;\n [data-theme='helloSites'] & {\n font-size: 14px;\n }\n [data-theme='marryBaby'] & {\n font-size: 12px;\n color: ",";\n }\n"])),(function(n){return n.theme.mbColors.gray}));G.div(Io||(Io=t(["\n display: flex;\n font-size: 12px;\n margin-top: 6px;\n [data-theme='helloSites'] & {\n color: ",";\n }\n [data-theme='marryBaby'] & {\n color: ",";\n }\n"],["\n display: flex;\n font-size: 12px;\n margin-top: 6px;\n [data-theme='helloSites'] & {\n color: ",";\n }\n [data-theme='marryBaby'] & {\n color: ",";\n }\n"])),(function(n){return n.theme.color.gray500}),(function(n){return n.theme.mbColors.midGray})),G.div(Go||(Go=t(["\n .theme--hb & {\n font-weight: bold;\n color: ",";\n }\n .theme--mb & {\n margin-left: 6px;\n }\n"],["\n .theme--hb & {\n font-weight: bold;\n color: ",";\n }\n .theme--mb & {\n margin-left: 6px;\n }\n"])),(function(n){return n.theme.colors.gray600})),G.div(Wo||(Wo=t(["\n .theme--hb & {\n color: ",";\n }\n .theme--mb & {\n margin-left: 3px;\n }\n"],["\n .theme--hb & {\n color: ",";\n }\n .theme--mb & {\n margin-left: 3px;\n }\n"])),(function(n){return n.theme.colors.gray500}));var rr={helloSites:{member:function(){return h.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg")},ambassador:function(){return h.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg")},doctor:function(){return h.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg")},expert:function(){return h.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg")},influencer:function(){return h.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")}},marryBaby:{member:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg")},ambassador:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg")},doctor:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg")},expert:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg")},influencer:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}}},lr=function(n){var e=n.themeName,t=n.rank,i=void 0===t?"member":t,a=n.numberOfPosts,r=void 0===a?0:a,l=V().t,d=s((function(){var n,t;return(null===(t=null===(n=rr[e])||void 0===n?void 0:n[i])||void 0===t?void 0:t.call(n))||""}),[i,e]);return o.createElement(nr,{"data-user-rank":i},o.createElement(er,null,o.createElement(tr,null,o.createElement(ir,{style:{backgroundImage:'url("'.concat(d,'")')}}),o.createElement(ar,null,l("userProfile.userRank.".concat(i))),r>0&&o.createElement(or,null,r," ",l("userProfile.nav.header.count.posts")))))},sr=function(e){var t=e.SSO_URL,i=e.UP_BASEPATH,a=void 0===i?"user":i,r=e.themeName,d=void 0===r?"helloSites":r,c=e.cardUrls,m=void 0===c?uo:c,g=e.enableCare,u=e.enableTogether,f=e.enableEcom,x=e.userInfo,v=e.togetherApiDomain,b=e.userPostsNumber,y=e.onClickNavigationCard,w=e.onClickMyProfileButton,E=e.onClickMenuItem,k=e.onClickLogout,C=e.isUserProfileNavigatorMenuHidden,L=void 0!==C&&C,P=e.isMyHealthEnabled,M=void 0!==P&&P,z=e.locale,H=V().t,A=l(b||0),S=A[0],N=A[1],T="marryBaby"===d;p((function(){if(x&&void 0===b){var e=on("hhg_user_token");e&&fetch(function(e,t,i,a){return(i||"https://together.hellohealthgroup.com/")+"api/v1/"+tn(ni,n(n({},a),{websiteUrl:t?"https://marrybaby.vn":"https://".concat(B[e])}))}(z,T,v),{headers:{Authorization:"Bearer ".concat(e)}}).then((function(n){return n.json()})).then((function(n){var e,t,i;1===(null==n?void 0:n.status)&&(null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.pagination)&&N((null===(i=null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.pagination)||void 0===i?void 0:i.total_items)||0)})).catch((function(n){return console.error("Error fetching post number",n)}))}}),[z,null!==x,b,v,T]);var _=s((function(){return(T?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"]).filter((function(n){return"myBooking"===n?g:"myCommunity"===n?u:"myHealth"===n?M:"eCom"!==n||f}))}),[T,M]),U=s((function(){return"marryBaby"===d?null:o.createElement(Co,{color:"tertiary",icon:o.createElement("img",{src:h.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15}),size:"md",onClick:k},H("userProfile.nav.menu.logout"))}),[d]),R=function(n){window.location.href="".concat(t).concat(a,"/").concat(n)},D=function(n){var e=m[n];y?y(e):R(e)};return x?o.createElement(wo,{"data-theme":d},o.createElement(Ho,{userInfo:x,themeName:d,onClickMyProfileButton:function(){w?w():R("profile")}}),o.createElement(lr,{themeName:d,rank:"member",numberOfPosts:S}),o.createElement(Eo,null,_.map((function(n){return o.createElement(ko,{key:n,themeName:d,type:n,onClick:D})}))),!L&&o.createElement(o.Fragment,null,o.createElement($o,{themeName:d,locale:z,onClickItem:function(n){"logout"===n.link&&k?k():n.link&&!n.subMenu&&(E?E(n.link):R(n.link))}}),U)):null},dr=function(n){var e=n.type,t=void 0===e?"lead":e,i=n.closeIcon,a=n.isOpen,r=void 0===a||a,l=n.onClose,s=n.children,d=n.enableAnimation,p=void 0===d||d,c=n.targetAvatar,m=n.id,h=n.className;return o.createElement(Ga,{"data-open":r,"data-type":t,"data-animation":p,"data-target":c,id:m,className:h},o.createElement("div",{className:"popup-content"},!!i&&o.createElement("div",{className:"close-button",onClick:l},i),s))},pr=function(n){var e=n.SSO_URL,t=n.UP_BASEPATH,i=n.isOpen,a=n.targetAvatar,r=n.userInfo,l=n.enableCare,s=n.enableTogether,d=n.enableEcom,p=n.closePopup,c=n.siteType,m=void 0===c?"helloSites":c,h=n.dispatchLogout,g=n.userProfileRouterPush,u=n.isUserProfileNavigatorMenuHidden,f=n.isMyHealthEnabled,x=void 0!==f&&f,v=n.togetherApiDomain,b=n.locale,y=function(n){g?g("/".concat(n)):e&&(window.location.href="".concat(e).concat(t,"/").concat(n))},w=function(n){y(n),p()};return o.createElement(dr,{isOpen:i,type:"profile",enableAnimation:!0,targetAvatar:a,onClose:p},o.createElement(sr,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:r,enableCare:l,enableTogether:s,enableEcom:d,onClickLogout:function(){h&&(h(),p())},onClickMenuItem:w,onClickNavigationCard:w,onClickMyProfileButton:function(){y("profile"),p()},isUserProfileNavigatorMenuHidden:u,isMyHealthEnabled:x,togetherApiDomain:v,locale:b}))},cr=function(e){var t=e.userInfo,r=e.siteType,s=e.isAmp,d=e.goToLogin,c=e.SSO_URL,m=e.currentUrl,g=e.isMinifyLogin,u=e.enableCare,f=e.enableTogether,x=e.enableEcom,v=e.isUserProfileNavigatorMenuHidden,b=e.UP_BASEPATH,y=e.isMyHealthEnabled,w=e.togetherApiDomain,k=e.onLogout,C=e.style,L=e.userProfileRouterPush,B=e.isLoading,P=e.locale,M=V().t,z=l(!1),H=z[0],A=z[1],S=(null==t?void 0:t.name)||(null==t?void 0:t.username),N=l(!1),T=N[0],_=N[1];p((function(){_(!0)}),[]);var U=Ki(),D=U.containerRef,j=U.onContainerFocus,Z=U.onContainerBlur,F=U.onButtonMouseDown,O=U.onClose;return B&&!s?o.createElement(Y,{size:"sm",color:"transparent",isLoading:!0}):(null==t?void 0:t.id)?o.createElement(o.Fragment,null,o.createElement(ho,{ref:D,href:s?"".concat(c,"user/profile"):void 0,style:C,tabIndex:0,onBlur:Z,onFocus:j},o.createElement("div",{onMouseDown:F},o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},o.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),o.createElement(R,{type:"rounded",size:"medium",className:"user-avatar",avatarUrl:null==t?void 0:t.avatar,firstLetter:S&&S.length?S[0].toUpperCase():"A",backgroundColor:"marryBaby"===r?q.mbColors.pink:q.colors.secondaryBase,isAmp:s})),!s&&o.createElement(pr,{UP_BASEPATH:b,SSO_URL:c,dispatchLogout:function(){O(),A(!0)},isOpen:!1,isMyHealthEnabled:y,enableCare:u,enableTogether:f,enableEcom:x,closePopup:O,userInfo:t,siteType:r,isUserProfileNavigatorMenuHidden:v,togetherApiDomain:w,userProfileRouterPush:L,locale:P})),!s&&o.createElement(Oa,{openLogoutPopup:H,onCloseHandler:function(){document.body.classList.toggle("noscroll",!1),A(!1)},siteType:r,onLogoutHandler:function(){return i(void 0,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return A(!1),document.body.classList.toggle("noscroll",!1),[4,k()];case 1:return n.sent(),[2]}}))}))}})):o.createElement(go,{style:n({textDecoration:"none"},C),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":m,href:s?"".concat(c,"?returnUrl=").concat(m.replace("?amp=1","")):T?void 0:"".concat(c,"?returnUrl=").concat(m),"data-site-type":r},g?o.createElement(mo,{onClick:d},o.createElement("img",{"data-src":h.getAssetPath("lock.png"),className:"avatar lazy",alt:"avatar"})):o.createElement(o.Fragment,null,"helloSites"===r&&o.createElement("img",{className:"mobile-only",src:h.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:d}),"marryBaby"===r&&o.createElement("div",{className:"mobile-only",onClick:d,style:{paddingLeft:16}},o.createElement(E,{size:"p3",color:q.mbColors.pink},M("navigation.loginJoin"))),o.createElement(Y,{className:"login-btn",size:"md",color:"tertiary",onClick:d,icon:o.createElement("img",{src:h.getAssetPath("login.svg"),width:18,height:18}),theme:r},M("navigation.loginJoin"))))};function mr(n){var e=n.goToLogin,t=d(Wn),i=t.siteType,a=t.isAmp,r=t.userState.userInfo,l=t.currentUrl,s=t.locale,p=t.onLogout,c=t.userProfileRouterPush,m=t.configs,h=m.enableNavCare,g=m.enableProfileMyHealth,u=m.enableNavTogether,f=m.enableProfileEcom,x=m.statics,v=m.enableProfileNavigatorMenu,b=t.isUserLoading;return o.createElement(cr,{userInfo:r,siteType:i,isAmp:a,goToLogin:e,SSO_URL:x.SSO_URL+"/",currentUrl:l,onLogout:p,UP_BASEPATH:z,isMyHealthEnabled:g,enableCare:h,enableTogether:u,enableEcom:f,togetherApiDomain:x.TOGETHER_API+"/",isUserProfileNavigatorMenuHidden:!v,userProfileRouterPush:c,isLoading:b,locale:s})}var hr,gr,ur,fr,xr=function(n){var e,t,i,a,s,m=n.onTopBarAppears,g=n.type,u=void 0===g?"home":g,f=n.languageMenu,x=n.menuItems,v=n.setSitewideBannerClosed,b=n.sitewideBannerClosed,y=d(Wn),w=y.siteType,E=y.isAmp,k=y.isMobile,C=void 0!==k&&k,L=y.locale,B=y.sitewideBanner,M=y.sitewideBannerShown,z=void 0===M||M,H=y.sponsorComponent,A=y.onBookingClick,S=y.currentUrl,N=y.ssrMenuContent,T=N.categories,_=N.healthTools,U=N.care,R=N.together,D=y.configs,j=D.statics,Z=D.enableNavCareBooking,F=D.enableSearchBar,O=V().t,I=j.SSO_URL,G=j.HOME_PAGE_URL,W=!!H,Y=l(!1),q=Y[0],K=Y[1],Q=r(47),X=r(null),J=r(!1),tn="helloSites"===w?null===(e=P[L])||void 0===e?void 0:e.LOGO_TYPE:w,an="undefined"!=typeof window,on=c(nn((function(){if("home"===u&&an){if(!X.current)return;var n=X.current.getBoundingClientRect();n.top<=0&&window.scrollY>Q.current&&window.scrollY>n.height+20&&!J.current&&(J.current=!0,K(!0)),window.scrollY<Q.current&&J.current&&(J.current=!1,K(!1)),window.scrollY>=0&&(Q.current=window.scrollY)}}),200),[]);p((function(){null==m||m(!q)}),[q]),p((function(){return window.addEventListener("scroll",on,{passive:!0}),function(){window.removeEventListener("scroll",on)}}),[]),p((function(){C&&on()}),[C]),p((function(){null==en||en.update(document.querySelectorAll("#site-header img"))}),[null===(t=null==T?void 0:T.items)||void 0===t?void 0:t.length,null===(i=null==_?void 0:_.items)||void 0===i?void 0:i.length,null===(a=null==U?void 0:U.items)||void 0===a?void 0:a.length,null===(s=null==R?void 0:R.items)||void 0===s?void 0:s.length,C]);var rn=z&&!!B&&!b;return o.createElement(ba,{"data-site-type":w,"data-sponsored":W,"data-sitewide-banner-shown":rn,"data-header-type":u,"data-collapsed":q,"data-with-search-input":"popup-sub-level"!==u,"data-is-displayed":!0,"data-is-amp":E,id:"site-header",ref:X},B?o.isValidElement(B)?o.cloneElement(B,{isCollapsed:q,setBannerClosed:v,isAmp:E,isMobile:C}):B:null,o.createElement(ya,{"data-site-type":w},o.createElement(wa,{"data-site-type":w},o.createElement(Za,{menuItems:x,type:u}),o.createElement("a",{href:G},o.createElement(Ea,null,o.createElement($,{style:{display:"flex"},type:tn,badge:"id-ID"===L&&(E?o.createElement("amp-img",{src:h.getAssetPath("sehat-badge.png"),width:"56",height:"23"}):o.createElement("img",{src:h.getAssetPath("sehat-badge.png"),width:"56",height:"23"})),dateForSeasonal:new Date,locale:L,key:"undefined"!=typeof window?"client":"server"}))),!E&&("marryBaby"===w?o.createElement(br,{menuItems:x}):F&&o.createElement(vr,{siteType:w}))),o.createElement(ka,{"data-site-type":w},!E&&("marryBaby"===w?F&&o.createElement(vr,{siteType:w}):o.createElement(br,{menuItems:x})),o.createElement(Da,null,Z&&!E&&o.createElement(Wi,{mediaQueryKey:"mbUp",forceDisplay:!E&&void 0},o.createElement(qi,{careUrlFe:j.CARE_URL_FE,currentUrl:S,btnName:O("login.booking"),onCareHeaderClick:A})),f,o.createElement(mr,{goToLogin:function(){var n=window.location.href;window.location.href=I?"".concat(I,"?returnUrl=").concat(n):n}})))),H?o.isValidElement(H)?o.cloneElement(H,{isCollapsed:q,locale:L,isMobile:C,isAmp:E}):H:null)},vr=function(n){var e=n.siteType;return o.createElement(Wi,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},o.createElement(Kn,null))},br=function(n){var e=n.menuItems,t=d(Wn),i=t.siteType,a=t.locale,r=t.ssrMenuContent,l=r.categories,s=r.healthTools,p=r.care,c=r.together;return o.createElement(Wi,{mediaQueryKey:"mbUp",style:{height:"100%"}},o.createElement(ja,{"data-site-type":i},null==e?void 0:e.map((function(n,e){return o.createElement(na,{key:e,item:n,menu:"categories"===n.popupType?o.createElement(ca,{categories:null==l?void 0:l.items,spotlightsList:null==l?void 0:l.spotlights}):"tools"===n.popupType?o.createElement(ha,{locale:a,healthTools:null==s?void 0:s.items,spotlightHealthTools:null==s?void 0:s.spotlights}):"together"===n.popupType?o.createElement(ma,{communities:null==c?void 0:c.items,spotlights:null==c?void 0:c.spotlights}):"care"===n.popupType?o.createElement(pa,{careSpecialties:null==p?void 0:p.items,spotlights:null==p?void 0:p.spotlights}):null})}))))},yr=G.div(gr||(gr=t(["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n ","\n\n .amp-header {\n position: fixed;\n z-index: var(--header-z-index);\n top: 0;\n left: 0;\n width: 100vw;\n max-width: 100vw;\n\n > [data-site-type] {\n border-bottom: none;\n }\n }\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > amp-lightbox {\n pointer-events: auto;\n }\n > section * {\n pointer-events: auto;\n }\n"],["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n ","\n\n .amp-header {\n position: fixed;\n z-index: var(--header-z-index);\n top: 0;\n left: 0;\n width: 100vw;\n max-width: 100vw;\n\n > [data-site-type] {\n border-bottom: none;\n }\n }\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > amp-lightbox {\n pointer-events: auto;\n }\n > section * {\n pointer-events: auto;\n }\n"])),O.mbDown,(function(n){return!n.isAmp&&W(hr||(hr=t(["\n -webkit-transform: translateZ(0);\n position: sticky;\n "],["\n -webkit-transform: translateZ(0);\n position: sticky;\n "])))}));G.div(ur||(ur=t(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),G.a(fr||(fr=t(["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"],["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"])));var wr=function(e){var t,i,a=e.isMobile,m=e.isAmp,g=void 0!==m&&m,u=e.locale,f=e.onTopBarAppears,x=e.languageOptions,v=e.ampSubBar,b=e.sponsorComponent,y=e.sitewideBanner,w=e.sitewideBannerShown,E=e.className,k=l(!1),C=k[0],L=k[1],B=function(){var n=V().t,e=d(Wn),t=e.siteType,i=e.locale,a=e.configs,o=a.enableNavCare,r=a.enableNavTogether,l=a.enableNavEcom,p=a.statics,c="marryBaby"===t,m=s((function(){var e,t=[{name:n("home.navigator.menuItem.discover"),id:"categories",link:"".concat(p.HOME_PAGE_URL).concat("tl-PH"===i?"/fil":"","/categories"),niceName:"",thumbnail:c?h.getAssetPath("categories-mb.svg"):h.getAssetPath("discover.png"),popupType:"categories"},{name:n("home.navigator.menuItem.healthTools"),id:"tools",link:"".concat(p.HOME_PAGE_URL).concat("tl-PH"===i?"/fil":"").concat((null===(e=M[i])||void 0===e?void 0:e.HEALTH_TOOLS)||""),thumbnail:c?h.getAssetPath("healthtools-mb.svg"):h.getAssetPath("healthTools.png"),popupType:"tools"}];return o&&t.push({name:n("home.navigator.menuItem.helloCare"),id:"care",link:p.HOME_PAGE_URL+"/care",thumbnail:h.getAssetPath("helloCare-thumbnail.png"),popupType:"zh-TW"===i?null:"care"}),r&&t.push({name:n("home.navigator.menuItem.helloTogether"),id:"together",link:p.TOGETHER_URL_FE+"/",thumbnail:c?h.getAssetPath("community-mb.svg"):h.getAssetPath("together.png"),popupType:"together"}),l&&t.push({name:n("home.navigator.menuItem.helloEcom"),id:"ecom",link:p.HOME_PAGE_URL+"/ecom",thumbnail:h.getAssetPath("helloCare-thumbnail.png"),popupType:"shop"}),t}),[i,o,r,l]);return m}();!function(){var e=d(Wn),t=e.isFirstLogin,i=e.userState.userInfo;p((function(){(null==i?void 0:i.id)&&(t?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:n({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:n({uuid:null==i?void 0:i.id,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:n({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:n({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])}();var P=g&&{"next-page-hide":""},z=function(n){var e=n.hasSponsoredBanners,t=n.isSiteWide,i=n.isSponsored,a=n.isShowingSiteWideBanner,o=n.isMobile,d=n.showAmpSubBar,m=r(null),h=l(0),g=h[0],u=h[1],f=l(64),x=f[0],v=f[1],b=c(rn((function(){var n,e,t,i,a=(null===(n=m.current)||void 0===n?void 0:n.clientHeight)||(null===(t=null===(e=m.current)||void 0===e?void 0:e.children[0])||void 0===t?void 0:t.clientHeight)||0;window.scrollY<=a+200&&(u(a),v((null===(i=m.current)||void 0===i?void 0:i.getBoundingClientRect().bottom)||g))}),200),[]);p((function(){return window.addEventListener("resize",b),window.addEventListener("scroll",b),b(),function(){window.removeEventListener("resize",b),window.removeEventListener("scroll",b)}}),[]),p((function(){b()}),[d,o,t,a,i,e,m.current]);var y=s((function(){var n=o?64:69;return a&&(n+=64),i&&(n+=40,e&&(n+=57)),d&&(n+=32),n}),[o,a,e,i,d]);return{defaultHeaderHeight:y,headerHeight:g||y,headerBottom:x,headerRef:m}}({isSiteWide:!!y&&!C,isShowingSiteWideBanner:w&&!!y&&!C,isSponsored:!!b,hasSponsoredBanners:!!(null===(i=null===(t=null==b?void 0:b.props)||void 0===t?void 0:t.sponsoredBy)||void 0===i?void 0:i.length),isMobile:a,showAmpSubBar:g&&!!v}),H=z.headerRef,A=z.defaultHeaderHeight,S=z.headerHeight,N=z.headerBottom;return o.createElement(yr,{id:"navigation-v2",style:{"--default-header-height":A+"px","--header-height":"calc(".concat(S,"px - var(--amp-site-wide-closed), 64px)"),"--header-bottom":N+"px"},isAmp:g,className:"".concat(g&&w?"nav-open":""," ").concat(E)},o.createElement("section",n({className:g?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},P,{ref:H,style:g?{overflow:"hidden"}:void 0}),o.createElement(xr,{menuItems:B,type:"home",onTopBarAppears:a?function(n){f&&f(n)}:void 0,languageMenu:o.createElement(In,{languageOptions:x,locale:u}),setSitewideBannerClosed:L,sitewideBannerClosed:C}),a&&g&&void 0!==v&&o.createElement(o.Fragment,null,v)),g&&o.createElement("amp-lightbox",{id:"discover-amp-lightbox",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"},on:"lightboxOpen:AMP.setState({menu: {lightbox: 'open'}});lightboxClose:AMP.setState({menu: {lightbox: 'closed'}})"},o.createElement("div",n({style:{position:"absolute",width:"100%",height:"100%"},role:"button",tabIndex:1},{on:"tap:discover-amp-lightbox.close"})),o.createElement(Ii,{menuItems:B})))},Er=function(e){var t=n({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return o.createElement(Yn,n({},t),o.createElement(wr,n({},t)))},kr=function(n){return i(void 0,void 0,void 0,(function(){var e,t,i,o,r,l,s,d,p,c,m,h,g,u,f,x,v,b,y,w,E,C,P,M,z,H,A,_,U,R,Z,V,F,O,I,G;return a(this,(function(a){switch(a.label){case 0:e={},t="vi-VN_MB"===n,a.label=1;case 1:a.trys.push([1,14,,15]),i="tl-PH"===n?"lang=fil":"",a.label=2;case 2:return a.trys.push([2,4,,5]),[4,Promise.all([fetch("".concat(N(n),"/wp-json/api/categories").concat(i?"?"+i:"")).then((function(n){return n.json()})),fetch("".concat(N(n),"/wp-json/api/spotlights?per_page=10").concat(i?"&"+i:"")).then((function(n){return n.json()})),fetch("".concat(N(n),"/wp-json/api/").concat(t?"health-tools":"healthtools").concat(i?"?"+i:"")).then((function(n){return n.json()})),fetch("".concat(N(n),"/wp-json/api/").concat(t?"health-tools":"healthtools","/favorites").concat(i?"?"+i:"")).then((function(n){return n.json()}))])];case 3:return o=a.sent(),r=o[0],l=o[1],s=o[2],d=o[3],e.categories={items:(null===(v=null===(x=null==r?void 0:r.data)||void 0===x?void 0:x.map)||void 0===v?void 0:v.call(x,ea))||[],spotlights:(null===(E=null===(w=null===(y=null===(b=null==l?void 0:l.data)||void 0===b?void 0:b.articles)||void 0===y?void 0:y.map)||void 0===w?void 0:w.call(y,ra))||void 0===E?void 0:E.filter(la))||[]},e.healthTools={items:(null===(P=null===(C=null==s?void 0:s.data)||void 0===C?void 0:C.map)||void 0===P?void 0:P.call(C,ta))||[],spotlights:(null===(z=null===(M=null==d?void 0:d.data)||void 0===M?void 0:M.map)||void 0===z?void 0:z.call(M,ta))||[]},[3,5];case 4:return a.sent(),[3,5];case 5:if(!t&&!L.includes(n))return[3,9];a.label=6;case 6:return a.trys.push([6,8,,9]),[4,Promise.all([fetch("".concat(S(),"/api/v1/community?website_url=https://").concat(B[n])).then((function(n){return n.json()})),fetch("".concat(S(),"/api/v1/options?website_url=https://").concat(B[n],"&meta_key=popular_post")).then((function(n){return n.json()}))])];case 7:return p=a.sent(),c=p[0],m=p[1],e.together={items:(null===(_=null===(A=null===(H=null==c?void 0:c.data)||void 0===H?void 0:H.communities)||void 0===A?void 0:A.map)||void 0===_?void 0:_.call(A,D))||[],spotlights:(null===(Z=null===(R=null===(U=null==m?void 0:m.data)||void 0===U?void 0:U.posts)||void 0===R?void 0:R.map)||void 0===Z?void 0:Z.call(R,j))||[]},[3,9];case 8:return a.sent(),[3,9];case 9:if(!k.includes(n))return[3,13];a.label=10;case 10:return a.trys.push([10,12,,13]),[4,Promise.all([fetch(T()+"/api/specialties?_ishome=1&site=".concat(B[n])).then((function(n){return n.json()})),fetch(T()+"/api/search/?site=".concat(B[n],"&type=hospital&order_by=total_doctor")).then((function(n){return n.json()}))])];case 11:return h=a.sent(),g=h[0],u=h[1],e.care={items:(null===(O=null===(F=null===(V=null==g?void 0:g._data)||void 0===V?void 0:V.specialties)||void 0===F?void 0:F.map)||void 0===O?void 0:O.call(F,ia))||[],spotlights:(null===(G=null===(I=null==u?void 0:u._data.searches)||void 0===I?void 0:I.map)||void 0===G?void 0:G.call(I,aa))||[]},[3,13];case 12:return a.sent(),[3,13];case 13:return[3,15];case 14:return f=a.sent(),console.error(f),[3,15];case 15:return[2,e]}}))}))},Cr=function(n){return i(void 0,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,m("nav-menu-content",(function(){return kr(n||"en-PH")}),(function(n){var e,t;return!!(null===(t=null===(e=null==n?void 0:n.categories)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)}))];case 1:return[2,e.sent()||{}]}}))}))};export{Fn as F,In as L,Er as N,pr as P,sr as U,Cr as a,Ho as b,lr as c,Oa as d,cr as e,kr as g};
@@ -0,0 +1 @@
1
+ import{a as e,c as n,_ as r}from"./tslib.es6-44f7e5ec.js";import t,{useState as a,useEffect as o,createContext as i,useContext as l,useRef as u}from"react";import{createEmotionCache as s,FileInput as c,NumberInput as d,PasswordInput as m,TextInput as p}from"@mantine/core";import{useDebouncedValue as f,useResizeObserver as v}from"@mantine/hooks";import{L as h}from"./Locale-69030fff.js";import{CommonGAssets as g}from"./gAssets.js";import{Carousel as Y}from"@mantine/carousel";import M from"styled-components";var x,y=300,D=s({key:"mantine",prepend:!1}),b=((x={})[h.Vietnam]={dateFormat:"DD/MM/YYYY",separator:","},x[h.Cambodia]={dateFormat:"DD/MM/YYYY",separator:"."},x[h.India]={dateFormat:"DD/MM/YYYY",separator:"."},x[h.Indonesia]={dateFormat:"DD/MM/YYYY",separator:","},x[h.Malaysia]={dateFormat:"DD/MM/YYYY",separator:"."},x[h.Thailand]={dateFormat:"DD/MM/YYYY",separator:"."},x[h.Taiwan]={dateFormat:"YYYY/MM/DD",separator:","},x[h.PhilippinesTagalog]={dateFormat:"MM/DD/YYYY",separator:"."},x[h.PhilippinesEnglish]={dateFormat:"MM/DD/YYYY",separator:"."},x[h.Myanmar]={dateFormat:"DD/MM/YYYY",separator:","},x),C=g.getAssetPath("EyeVisible.svg"),F=g.getAssetPath("EyeHidden.svg"),E=function(r){var i=r.value,l=r.onChange,u=n(r,["value","onChange"]),s=a(i||""),c=s[0],d=s[1],m=f(c,y)[0];return o((function(){null==l||l(m)}),[m]),o((function(){d(i)}),[i]),t.createElement(p,e({size:"md",onChange:function(e){return d(e.currentTarget.value)},value:c},u))};E.File=function(n){return t.createElement(c,e({size:"md"},n))},E.Password=function(r){var i=r.value,l=r.onChange,u=n(r,["value","onChange"]),s=a(i||""),c=s[0],d=s[1],p=f(c,y)[0];return o((function(){null==l||l(p)}),[p]),o((function(){d(i)}),[i]),t.createElement(m,e({size:"md",onChange:function(e){return d(e.currentTarget.value)},visibilityToggleIcon:function(e){var n=e.reveal,r=e.size;return n?t.createElement("img",{src:C,width:r}):t.createElement("img",{src:F,width:r})},styles:{rightSection:{pointerEvents:"initial"}},value:c},u))},E.Number=function(r){var i=r.value,l=r.onChange,u=n(r,["value","onChange"]),s=a(i||0),c=s[0],m=s[1],p=f(c,y)[0];return o((function(){null==l||l(p)}),[p]),o((function(){m(i)}),[i]),t.createElement(d,e({size:"md",stepHoldDelay:500,stepHoldInterval:function(e){return Math.max(1e3/Math.pow(e,2),25)},onChange:m,hideControls:!0,min:0,formatter:function(e){return 0===Number(e)?"":e||""},removeTrailingZeros:!0,value:c},u))};var S,I=M(Y.Slide)(S||(S=r([""],[""]))),w=i({}),k=function(e,n){return e>=n?e-n:e},T=function(r){var i=r.children,l=r.blurFromCenter,s=r.blurFromIndex,c=r.blurLength,d=void 0===c?3:c,m=r.maxBlurOpacity,p=void 0===m?.5:m,f=r.onSlideChange,h=n(r,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange"]),g=v(),M=g[0],x=g[1],y=u(null),D=a(0),b=D[0],C=D[1],F=function(){var e,n,r,t=null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.selectedScrollSnap();C(t);var a=(null===(n=null==y?void 0:y.current)||void 0===n?void 0:n.slideNodes())||[],o=a.length,i=(null===(r=null==y?void 0:y.current)||void 0===r?void 0:r.slidesInView()).length,u=Math.floor(i/2),c=l?s+d-1:u,m=t+c,f=m===o?0:m>o?m-o:m,v=t-c,h=v<0?o+v:v>0?t-c:0,g=Array(2*c+1).fill("").map((function(e,n){return k(h+n,o)}));a.map((function(e,n){if(n===t?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==g.indexOf(n))for(var r=p/d,a=0;a<d;a++){if(n===k(h+a,o)||n===(l=o,(i=f-a)<0?l+i:i)){e.style.opacity=String((a+1)*r);break}e.style.opacity="1"}else e.style.opacity="0";var i,l}))},E={getEmblaApi:function(e){y.current=e},onSlideChange:function(e){F(),null==f||f(e)}};return o((function(){(null==y?void 0:y.current)&&F()}),[x]),t.createElement(w.Provider,{value:{slider:null==y?void 0:y.current,centerSlide:b}},t.createElement(Y,e({ref:M,slideSize:"auto",containScroll:"trimSnaps"},E,h,{loop:!0}),"function"==typeof i?i(b):i))};T.Slide=function(r){var i=r.children,s=r.onClick,c=n(r,["children","onClick"]),d=l(w).slider,m=u(),p=u(""),f=a(0),v=f[0],h=f[1];o((function(){p.current=String(Math.round(1e4*Math.random()))}),[]),o((function(){var e=(null==d?void 0:d.slideNodes())||[];h(e.findIndex((function(e){return e.dataset.key===p.current})))}),[d]);var g={ref:m,"data-key":p.current,"data-index":v,styles:function(){return{control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}}}};return t.createElement(I,e({},g,c),t.createElement("div",{onClick:function(){null==d||d.scrollTo(v),null==s||s(v)}},i))};export{T as C,y as D,E as I,b as a,D as e};
@@ -0,0 +1 @@
1
+ import{_ as n,a as e}from"./tslib.es6-44f7e5ec.js";import o from"react";import t from"styled-components";var i,a,r,d,p,l,s=t.div(i||(i=n(["\n --dropdown-padding: 12px 18px 12px 16px;\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-disabled='true'],\n :disabled {\n background-color: #f2f2f2;\n cursor: not-allowed;\n }\n\n &[data-size='sm'] {\n font-size: 13px;\n line-height: 20px;\n }\n &[data-size='md'] {\n font-size: 14px;\n line-height: 21px;\n }\n &[data-size='lg'] {\n font-size: 16px;\n line-height: 24px;\n }\n\n &[data-has-icons='true'] {\n border: none;\n background: ",";\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n display: inline-block;\n vertical-align: middle;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n top: 50%;\n right: 12px;\n width: 10px;\n height: 8px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n\n &[data-is-native='true'] {\n padding: var(--dropdown-padding);\n line-height: 24px;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px ",";\n }\n }\n"],["\n --dropdown-padding: 12px 18px 12px 16px;\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-disabled='true'],\n :disabled {\n background-color: #f2f2f2;\n cursor: not-allowed;\n }\n\n &[data-size='sm'] {\n font-size: 13px;\n line-height: 20px;\n }\n &[data-size='md'] {\n font-size: 14px;\n line-height: 21px;\n }\n &[data-size='lg'] {\n font-size: 16px;\n line-height: 24px;\n }\n\n &[data-has-icons='true'] {\n border: none;\n background: ",";\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n display: inline-block;\n vertical-align: middle;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n top: 50%;\n right: 12px;\n width: 10px;\n height: 8px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n\n &[data-is-native='true'] {\n padding: var(--dropdown-padding);\n line-height: 24px;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px ",";\n }\n }\n"])),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.gray100}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.blue200})),x=t.div(a||(a=n(["\n padding: var(--dropdown-padding);\n cursor: pointer;\n\n &.with-label {\n padding-top: 34px;\n padding-bottom: 12px;\n }\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n"],["\n padding: var(--dropdown-padding);\n cursor: pointer;\n\n &.with-label {\n padding-top: 34px;\n padding-bottom: 12px;\n }\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200})),g=t.ul(r||(r=n(["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001), -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"],["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001), -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray200})),u=t.li(d||(d=n(["\n display: flex;\n padding: 12px 18px 12px 16px;\n &[data-disabled='true'] {\n cursor: not-allowed;\n color: #bfbfbf;\n & > * {\n pointer-events: none;\n }\n }\n &:hover,\n :active {\n background: ",";\n }\n"],["\n display: flex;\n padding: 12px 18px 12px 16px;\n &[data-disabled='true'] {\n cursor: not-allowed;\n color: #bfbfbf;\n & > * {\n pointer-events: none;\n }\n }\n &:hover,\n :active {\n background: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),c=t.div(p||(p=n(["\n max-width: 16px;\n margin-right: 8px;\n"],["\n max-width: 16px;\n margin-right: 8px;\n"]))),b=t.div(l||(l=n(["\n position: absolute;\n top: 12px;\n left: 16px;\n pointer-events: none;\n"],["\n position: absolute;\n top: 12px;\n left: 16px;\n pointer-events: none;\n"]))),h=function(n){var t=n.className,i=n.value,a=n.options,r=n.onChange,d=void 0===r?function(){}:r,p=n.id,l=n.placeholderIcon,h=n.placeholder,v=n.style,m=n.size,w=void 0===m?"lg":m,f=n.groupedWithLabel,k=n.disabled,E=n.dropdownLabelTrackingAttributes,y=void 0===E?{}:E,z=n.isNativeSelect,C=void 0!==z&&z,L=o.useState(!1),B=L[0],j=L[1],A=function(){return!k&&j(!B)};return C?o.createElement(s,{as:"select","data-is-native":"true",value:(null==i?void 0:i.value)||void 0,disabled:k,onChange:function(n){if("string"==typeof n.target.value){var e=a.find((function(e){return e.value===n.target.value}));e&&d(e)}}},h&&o.createElement("option",{value:h,disabled:!0,selected:!0},h),a.map((function(n){return o.createElement("option",{key:"".concat(p,"-").concat(n.value),value:n.value,disabled:!!n.disabled&&n.disabled},n.label)}))):o.createElement(s,{className:t,"data-dropdown-open":B||void 0,"data-size":w,id:p,"data-has-icons":!!l,style:v,onBlur:function(){return j(!1)},tabIndex:0,"data-disabled":k},!!f&&o.createElement(b,null,f),o.createElement(x,e({onClick:A,className:f&&"with-label"},y),l," ",o.createElement("span",null,i&&i.value?i.label:h)),B&&o.createElement(g,{onClick:A,"data-has-icons":!!l},a.map((function(n){return o.createElement(u,{key:"".concat(p,"-").concat(n.value),"data-selected":i&&i.value===n.value||void 0,onClick:function(){return!n.disabled&&!k&&(null==d?void 0:d(n))},"data-disabled":!!n.disabled&&n.disabled},n.icon&&o.createElement(c,null,n.icon),n.label)}))))};export{h as D};