"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7797],{EiiV:function(e,t,r){r.d(t,{I:function(){return Instagram},W:function(){return WhatsApp}});var a=r("FRPj"),l=r("q1tI");let Instagram=e=>{var{size:t=24}=e,r=(0,a._)(e,["size"]);return l.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),l.createElement("path",{d:"M24.8997 31.9831L7.13135 32C3.2223 32.0036 0.0213251 28.8088 0.016883 24.8997L2.96183e-06 7.13135C-0.00355072 3.2223 3.19121 0.0213251 7.10026 0.016883L24.8687 2.96183e-06C28.7777 -0.00355072 31.9787 3.19121 31.9831 7.10026L32 24.8687C32.0044 28.7786 28.8088 31.9796 24.8997 31.9831Z",fill:"url(#paint0_radial_1500_2234)"}),l.createElement("path",{d:"M24.8997 31.9831L7.13135 32C3.2223 32.0036 0.0213251 28.8088 0.016883 24.8997L2.96183e-06 7.13135C-0.00355072 3.2223 3.19121 0.0213251 7.10026 0.016883L24.8687 2.96183e-06C28.7777 -0.00355072 31.9787 3.19121 31.9831 7.10026L32 24.8687C32.0044 28.7786 28.8088 31.9796 24.8997 31.9831Z",fill:"url(#paint1_radial_1500_2234)"}),l.createElement("path",{d:"M16.0002 22.2191C12.5718 22.2191 9.78125 19.4295 9.78125 16.0002C9.78125 12.5709 12.5718 9.78125 16.0002 9.78125C19.4286 9.78125 22.2191 12.5709 22.2191 16.0002C22.2191 19.4295 19.4286 22.2191 16.0002 22.2191ZM16.0002 11.5581C13.5508 11.5581 11.5581 13.5508 11.5581 16.0002C11.5581 18.4496 13.5508 20.4423 16.0002 20.4423C18.4496 20.4423 20.4423 18.4496 20.4423 16.0002C20.4423 13.5508 18.4496 11.5581 16.0002 11.5581Z",fill:"white"}),l.createElement("path",{d:"M22.6637 10.6692C23.3997 10.6692 23.9963 10.0725 23.9963 9.33654C23.9963 8.60054 23.3997 8.00391 22.6637 8.00391C21.9277 8.00391 21.3311 8.60054 21.3311 9.33654C21.3311 10.0725 21.9277 10.6692 22.6637 10.6692Z",fill:"white"}),l.createElement("path",{d:"M21.3307 27.5491H10.6696C7.24121 27.5491 4.45068 24.7595 4.45068 21.3302V10.6691C4.45068 7.23983 7.24121 4.4502 10.6696 4.4502H21.3307C24.7591 4.4502 27.5496 7.23983 27.5496 10.6691V21.3302C27.5496 24.7595 24.7591 27.5491 21.3307 27.5491ZM10.6696 6.22704C8.22025 6.22704 6.22752 8.21976 6.22752 10.6691V21.3302C6.22752 23.7795 8.22025 25.7723 10.6696 25.7723H21.3307C23.78 25.7723 25.7728 23.7795 25.7728 21.3302V10.6691C25.7728 8.21976 23.78 6.22704 21.3307 6.22704H10.6696Z",fill:"white"}),l.createElement("defs",null,l.createElement("radialGradient",{id:"paint0_radial_1500_2234",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(11.8959 32.0231) scale(39.8892 39.8892)"},l.createElement("stop",{stopColor:"#FFDD55"}),l.createElement("stop",{offset:"0.328",stopColor:"#FF543F"}),l.createElement("stop",{offset:"0.348",stopColor:"#FC5245"}),l.createElement("stop",{offset:"0.504",stopColor:"#E64771"}),l.createElement("stop",{offset:"0.643",stopColor:"#D53E91"}),l.createElement("stop",{offset:"0.761",stopColor:"#CC39A4"}),l.createElement("stop",{offset:"0.841",stopColor:"#C837AB"})),l.createElement("radialGradient",{id:"paint1_radial_1500_2234",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(5.14928 -0.399517) scale(26.4865 17.6479)"},l.createElement("stop",{stopColor:"#4168C9"}),l.createElement("stop",{offset:"0.999",stopColor:"#4168C9",stopOpacity:"0"}))))},WhatsApp=e=>{var{size:t}=e,r=(0,a._)(e,["size"]);return l.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),l.createElement("g",{clipPath:"url(#clip0_20894_2328)"},l.createElement("rect",{width:"32",height:"32",rx:"4",fill:"url(#paint0_linear_20894_2328)"}),l.createElement("path",{d:"M16.0002 4.37598C14.0016 4.37631 12.0384 4.90301 10.3079 5.90308C8.57753 6.90315 7.14102 8.34131 6.14294 10.0729C5.14487 11.8044 4.62043 13.7683 4.6224 15.7669C4.62436 17.7656 5.15266 19.7284 6.15415 21.458L4.60742 27.3789L10.6259 25.7847C12.1508 26.6014 13.8419 27.0597 15.5706 27.1247C17.2993 27.1897 19.02 26.8597 20.602 26.1597C22.184 25.4598 23.5855 24.4083 24.7001 23.0853C25.8146 21.7623 26.6128 20.2026 27.034 18.5248C27.4552 16.8469 27.4883 15.0952 27.1308 13.4026C26.7732 11.7101 26.0345 10.1213 24.9707 8.7572C23.9068 7.39306 22.546 6.28945 20.9916 5.53026C19.4372 4.77108 17.7301 4.37631 16.0002 4.37598ZM22.6917 22.4465C21.1639 23.9735 19.1599 24.9322 17.0123 25.1637C14.8647 25.3951 12.7024 24.8854 10.8844 23.719L7.38809 24.6463L8.28175 21.2311C7.23775 19.7599 6.63602 18.0209 6.54744 16.219C6.45887 14.4172 6.88715 12.6275 7.78181 11.061C8.67648 9.49441 10.0003 8.21621 11.5972 7.37695C13.1941 6.53769 14.9977 6.17234 16.7953 6.32396C18.593 6.47558 20.3098 7.13785 21.7436 8.23273C23.1774 9.32761 24.2684 10.8095 24.888 12.5038C25.5077 14.198 25.6302 16.0341 25.241 17.7957C24.8519 19.5573 23.9674 21.1709 22.6917 22.4465Z",fill:"white"}),l.createElement("path",{d:"M21.7015 18.7344C21.7021 18.9215 21.6862 19.1082 21.654 19.2926C21.6238 19.4794 21.5778 19.6634 21.5166 19.8425C21.3756 20.2405 20.6057 20.7279 20.6057 20.7279C20.0586 21.0921 19.4048 21.2616 18.7496 21.2091C18.596 21.1934 18.4434 21.1691 18.2925 21.1363C18.0368 21.0792 17.9123 21.0428 17.9123 21.0428C17.7886 21.0063 17.4676 20.9053 17.4676 20.9053C17.1465 20.8049 17.0744 20.7857 17.0744 20.7857C16.5867 20.6391 16.1142 20.4464 15.6631 20.2103C14.623 19.6452 13.4901 18.6326 13.4901 18.6326C12.8193 18.0363 12.2129 17.3714 11.6808 16.6487C11.3977 16.2256 11.1538 15.7776 10.9521 15.3103C10.9246 15.2415 10.7892 14.9329 10.7892 14.9329C10.6517 14.6249 10.6036 14.506 10.6036 14.506C10.5541 14.3864 10.4661 14.1389 10.4661 14.1389C10.4159 13.9928 10.3748 13.8438 10.343 13.6927C10.3177 13.5564 10.3007 13.4187 10.2921 13.2803C10.2523 12.5571 10.6118 11.7961 10.6118 11.7961C11.0071 10.9781 11.3907 10.7911 11.3907 10.7911C11.5622 10.7137 11.7391 10.6486 11.92 10.5965C12.099 10.541 12.2833 10.5041 12.4699 10.4865C12.5258 10.4811 12.5822 10.486 12.6363 10.501C12.7807 10.5402 13.0866 11.075 13.0866 11.075C13.1814 11.2194 13.3457 11.4874 13.3457 11.4874C13.5107 11.7542 13.6489 11.9687 13.6489 11.9687C13.7864 12.1852 13.9156 12.3749 13.9156 12.3749C13.941 12.4052 14.0641 12.564 14.0641 12.564C14.1317 12.6494 14.1933 12.7394 14.2483 12.8334C14.2861 12.9015 14.3095 12.9766 14.3171 13.0541C14.3253 13.2115 14.115 13.4597 14.115 13.4597C13.9721 13.624 13.8172 13.7775 13.6516 13.9189C13.4882 14.0575 13.3332 14.2058 13.1876 14.363C12.9759 14.5953 12.9814 14.7369 12.9814 14.7369C12.9897 14.7971 13.0061 14.8558 13.0302 14.9116C13.0756 15.0154 13.1065 15.069 13.1065 15.069C13.1367 15.1219 13.2268 15.2511 13.2268 15.2511C13.3169 15.3804 13.3251 15.3955 13.3251 15.3955C13.7401 16.0441 14.234 16.6387 14.7955 17.1656C15.6088 17.8929 16.7203 18.4298 16.7203 18.4298C16.7368 18.4367 16.875 18.5116 16.875 18.5116C17.0125 18.5873 17.0696 18.6113 17.0696 18.6113C17.1259 18.6361 17.2345 18.6691 17.2345 18.6691C17.2921 18.6887 17.3525 18.6986 17.4133 18.6986C17.5549 18.6911 17.7625 18.4546 17.7625 18.4546C17.9021 18.2921 18.032 18.1216 18.1516 17.9438C18.2739 17.7639 18.4093 17.5932 18.5565 17.4331C18.7799 17.1959 18.9373 17.187 18.9373 17.187C19.015 17.1863 19.092 17.2008 19.1642 17.2296C19.2631 17.2749 19.3593 17.3261 19.4522 17.3829C19.6241 17.4874 19.6584 17.5094 19.6584 17.5094C19.8647 17.6166 20.0929 17.7293 20.0929 17.7293C20.3239 17.8428 20.6071 17.9768 20.6071 17.9768C20.8903 18.1109 21.0443 18.1885 21.0443 18.1885C21.61 18.4333 21.663 18.5721 21.663 18.5721C21.6837 18.624 21.6967 18.6787 21.7015 18.7344Z",fill:"white"})),l.createElement("defs",null,l.createElement("linearGradient",{id:"paint0_linear_20894_2328",x1:"16",y1:"32",x2:"16",y2:"0",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#00D02D"}),l.createElement("stop",{offset:"0.25",stopColor:"#10D93A"}),l.createElement("stop",{offset:"0.75",stopColor:"#3AF15D"}),l.createElement("stop",{offset:"1",stopColor:"#51FE71"})),l.createElement("clipPath",{id:"clip0_20894_2328"},l.createElement("rect",{width:"32",height:"32",fill:"white"}))))};WhatsApp.defaultProps={size:24}},aQvT:function(e,t,r){r.d(t,{a:function(){return ageGenerate}});var a=r("Wgwc"),l=r.n(a);let ageGenerate=(e,t=new Date)=>{let r=Math.ceil(l()(t).diff(e,"week",!0)),a=l()(t).diff(e,"month");return{year:Math.floor(a/12),month:a%12,week:r}}},JgGI:function(e,t,r){r.d(t,{a:function(){return i},b:function(){return n},c:function(){return o},d:function(){return C},e:function(){return d},f:function(){return s},g:function(){return c},h:function(){return m},s:function(){return l}});var a=r("AeFk");let l=a.F4` from { transform: translate3d(0, 100%, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } `,i=a.F4` from { transform: translate3d(0, -100%, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } `,n=a.F4` from { transform: translate3d(-100%, 0, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } `,o=a.F4` from { transform: translate3d(100%, 0, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } `,d=a.F4` from { transform: translate3d(0, 0, 0); } to { visibility: hidden; transform: translate3d(0, 100%, 0); } `,s=a.F4` from { transform: translate3d(0, 0, 0); } to { visibility: hidden; transform: translate3d(-100%, 0, 0); } `,c=a.F4` from { transform: translate3d(0, 0, 0); } to { visibility: hidden; transform: translate3d(100%, 0, 0); } `,C=a.F4` from { transform: translate3d(0, 0, 0); } to { visibility: hidden; transform: translate3d(0, -100%, 0); } `,m=a.F4` from { opacity: 0; } to { opacity: 1; } `},pkib:function(e,t,r){r.d(t,{Hm:function(){return BabyGrowthLegend},dW:function(){return BabyGrowthChooseProfileDrawer},fB:function(){return transformDataToChart},fL:function(){return ChildCard},nX:function(){return generateGrowthChart},yn:function(){return BabyGrowthChart}});var a,l,i=r("q1tI"),n=r("+DyL"),o=r("LOL7"),d=r("vFls"),s=r("XUjW"),c=r("ah6c"),C=r("5IIq"),m=r("tX9N"),h=r("Zge2"),p=r("R3fp"),u=r("Gx+P"),f=r("EoPH"),b=r("W5tO"),y=r("wp0n"),g=r("iBNF"),E=r("rBCA"),x=r("uuQu"),v=r("9guM"),w=r("eosF"),k=r("LgdP");r("Wgwc");var M=r("69aA"),L=r("DEkF"),B=r("FRPj"),Z=r("BUnU"),P=r("MmHG"),H=r("IoIb"),D=r("t0rw"),F=r("l9Yf"),N=r("ps87"),G=r("4cdY"),I=r("y9N3"),T=r("hNiv"),W=r("J+eN"),R=r("b+jq"),V=r("i8Hr"),z=r("wwo5"),S=r("N6qP"),A=r("kcif"),$=r.n(A);r("xXM3"),r("sEfC"),r("i8i4"),r("yVya"),E.Z.div` & > :not(:last-child) { margin-bottom: 8px; } .gender-selector { & > :not(:last-child) { margin-right: 16px; } & > div { width: calc(50% - 8px); ${x.M.mbUp} { justify-self: left; } } } `,(0,E.Z)(v.R)` & > div > div { display: flex; flex-direction: row; justify-content: center; align-content: center; gap: 8px; padding-block: 5px; } .radio-group-item-heading { margin-top: 0; } `;let _=E.Z.div` display: flex; justify-content: center; gap: 16px; `,j=E.Z.div` display: flex; justify-content: center; align-items: center; gap: 6px; .dot { width: 8px; height: 8px; border-radius: 50%; } `,BabyGrowthLegend=({legends:e,locale:t})=>i.createElement(_,null,e.map((e,r)=>i.createElement(j,{key:r},i.createElement("span",{className:"dot",style:{backgroundColor:e.color}}),i.createElement(y.T,{size:"n1",color:g.r.colors.gray800},t===w.L.Indonesia?e["z-score"]:e.text))));E.Z.div` display: flex; justify-content: center; .switch { border: 1px solid ${g.r.colors.neutral200}; padding: 6px 12px; font-weight: 600; font-size: 11px; &:nth-child(2n + 1) { border-radius: ${g.r.borderRadius} 0px 0px 6px; border-right: none; } &:nth-child(2n) { border-radius: 0px 6px 6px 0px; border-left: none; } } `,(a=l||(l={}))[a.WHO=0]="WHO",a[a.CDC=1]="CDC";let O=E.Z.div` /* position: absolute; */ display: flex; align-items: stretch; justify-content: space-around; padding: 8px; gap: 14px; min-width: 145px; max-width: 220px; min-height: 50px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.3); .risk { display: flex; align-items: center; padding: 4px 8px; background: ${g.r.colors.yellow600}; border-radius: 3px; } .tooltip { text-align: left; } `,Y=[{name:["3rd","-3SD","97th","3SD"],color:g.r.colors.red600},{name:["15rd","-2SD","85th","2SD"],color:g.r.colors.yellow600},{name:["50th","0Median"],color:g.r.colors.green600}],U={"3rd":"-3SD","15th":"-2SD","50th":"Median","85th":"2SD","97th":"3SD"},BabyGrowthTooltip=e=>{var t;let{payload:r,locale:a,active:l}=e,n=null===(t=null==r?void 0:r[0])||void 0===t?void 0:t.payload;if(!n||!n.history||!n.name||!n.risk||!n.toolTipLabel||!l)return null;let o=(0,i.useMemo)(()=>{var e;return null===(e=Y.find(e=>e.name.includes(n.risk||"")))||void 0===e?void 0:e.color},[n.risk]),d=(0,i.useMemo)(()=>a===w.L.Indonesia?n.risk?U[n.risk]:"":n.risk,[a,n.risk]);return i.createElement(O,null,i.createElement("div",{className:"risk",style:{backgroundColor:o}},i.createElement(y.T,{size:"s3",color:g.r.colors.white,weight:"semiBold"},d)),i.createElement("div",{className:"tooltip"},(n.toolTipLabel||[]).map((e,t)=>i.createElement(y.T,{key:t,size:"n1",color:g.r.colors.gray600},e))))},q="300ms",X=E.Z.div` background: ${g.r.colors.gray50}; border-radius: ${g.r.borderRadius}; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } &[data-is-mb='true'] { background: #ffffff; border: 1px solid #e0e9fb; border-radius: 16px; } &[data-isActive='true'] { border: 1px solid #2661ad; } .baby { display: flex; align-items: center; gap: 8px; svg { min-width: 24px; } } &[data-is-mb='false'] .radio { cursor: pointer; position: relative; min-width: 22px; width: 22px; height: 22px; background: #ffffff; border: 2px solid ${g.r.colors.gray600}; border-radius: 50%; transition: all ${q} ease-in-out; &.active { border-color: ${g.r.colors.primaryBase}; &::before { content: ''; position: absolute; inset: 0; width: 100%; height: 100%; background-color: ${g.r.colors.primaryBase}; background-clip: content-box; padding: 5px; border-radius: 50%; animation: fadeIn ${q} ease-in-out forwards; } } } &[data-is-mb='true'] .radio { cursor: pointer; position: relative; min-width: 22px; width: 22px; height: 22px; background: #ffffff; border: 1.3px solid #9495a0; border-radius: 10px; transition: all ${q} ease-in-out; &.active { border: none; &::before { content: ''; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border-radius: 10px; animation: fadeIn ${q} ease-in-out forwards; } } } `,BabyGrowthProfileRadio=({profile:e,onChange:t,isActive:r,siteType:a})=>{let l="marryBaby"===a;return i.createElement(X,{onClick:()=>t(String(e.id)),"data-is-mb":l,"data-isActive":l&&r},l?i.createElement(i.Fragment,null,i.createElement("div",{className:"baby"},i.createElement(b.M,{type:"bodytext-1",color:g.r.colors.gray800},e.name)),i.createElement("div",{className:r?"radio active":"radio"},r&&i.createElement(d.Z,{size:26}))):i.createElement(i.Fragment,null,i.createElement("div",{className:"baby"},"male"===e.gender?i.createElement(n.Z,{size:24}):i.createElement(o.Z,{size:24}),i.createElement(y.T,{size:"p2",color:g.r.colors.gray800},e.name)),i.createElement("div",{className:r?"radio active":"radio"})))};E.Z.div` cursor: pointer; position: relative; padding: 20px 2px; border-bottom: 1px solid ${g.r.colors.gray100}; .time { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; } .edit-button { margin-left: auto; justify-self: end; } .record { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; grid-column-gap: 30px; grid-row-gap: 0px; } .record-item { display: flex; align-items: center; gap: 8px; } `;let K=E.Z.div` min-width: 212px; width: ${e=>e.width+"px"}; background-color: #ffffff; border-radius: ${g.r.borderRadius}; overflow: hidden; filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04)) drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04)); ul { list-style: none; } `,Q=E.Z.li` background-color: inherit; display: flex; align-items: center; justify-content: left; gap: 10px; padding: 10px 16px; cursor: pointer; transition: background-color 200ms ease-in-out; &:hover { background-color: ${g.r.colors.neutral50}; } .icon { width: 16px; height: 16px; } `,Menu=e=>{var{children:t,width:r=300}=e,a=(0,B._)(e,["children","width"]);return i.createElement(K,Object.assign({},a,{width:r}),i.createElement("ul",null,t))};Menu.Item=e=>{var{icon:t,children:r}=e,a=(0,B._)(e,["icon","children"]);return i.createElement(Q,Object.assign({},a),t&&i.createElement("div",{className:"icon"},t),r)};let J=E.Z.div` /* Auto layout */ position: relative; display: flex; align-items: flex-start; padding: 16px; gap: 16px; background: ${g.r.colors.white}; border: 1px solid ${g.r.colors.gray100}; border-radius: ${g.r.borderRadius}; &[data-theme='marryBaby'] { border: 1px solid #f3f3f3; border-radius: 16px; padding: 19px 16px; } &[data-theme='marryBaby'] .information { gap: 4px; } .information { display: flex; flex-direction: column; gap: 8px; h5:first-letter { text-transform: uppercase; } .detail { display: flex; gap: 16px; div { display: flex; align-items: center; gap: 6px; } } } `,ee=E.Z.div` position: absolute; top: 18px; right: 16px; cursor: pointer; `,et=(0,E.Z)(Menu)` position: absolute; right: 0; z-index: 1; &[data-site='marryBaby'] { border-radius: 12px; box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1); li { display: flex; gap: 16px; align-items: center; :hover { background-color: ${g.r.mbColors.tonePink}; } } } `,ChildCardMenu=({name:e,onClose:t,onEdit:r,onSwitch:a,onAdd:l,onRemove:n,siteType:o})=>{let{t:d}=(0,u.u)(),s=(0,i.useRef)();return(0,Z.a)(s,t),i.createElement("div",{ref:s},"marryBaby"===o?i.createElement(et,{width:250,"data-site":o},i.createElement(Menu.Item,{onClick:r,icon:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.1512 4.29354C13.7553 3.68946 14.5746 3.3501 15.4289 3.3501C17.2078 3.3501 18.65 4.79223 18.65 6.5712C18.65 7.42549 18.3106 8.24479 17.7065 8.84886L16.9689 9.58652C16.9626 9.59307 16.9562 9.5995 16.9496 9.6058L13.7897 12.7657C12.0036 14.5518 9.76564 15.8189 7.31513 16.4315L6.55809 16.6208C5.84616 16.7988 5.20129 16.1539 5.37927 15.442L5.56853 14.6849C6.18116 12.2344 7.44827 9.99647 9.23437 8.21036L12.3943 5.0504C12.4006 5.04388 12.407 5.0375 12.4135 5.03127L13.1512 4.29354ZM12.2667 7.01649L10.1536 9.1296C8.53411 10.7491 7.3852 12.7783 6.82972 15.0002L6.77301 15.227L6.99983 15.1703C9.22177 14.6149 11.251 13.4659 12.8705 11.8464L14.9836 9.73334C14.3478 9.52953 13.7639 9.13743 13.3133 8.68678C12.8626 8.23613 12.4705 7.65226 12.2667 7.01649ZM16.1622 8.55469C15.5984 8.66895 14.8552 8.39025 14.2325 7.76754C13.6098 7.14483 13.3311 6.40165 13.4454 5.83784L14.0704 5.21278C14.4307 4.8525 14.9193 4.6501 15.4289 4.6501C16.4899 4.6501 17.35 5.5102 17.35 6.5712C17.35 7.08071 17.1476 7.56935 16.7873 7.92962L16.1622 8.55469Z",fill:"#3E3F58"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.34998 20.0001C4.34998 19.6411 4.64099 19.3501 4.99998 19.3501H19C19.359 19.3501 19.65 19.6411 19.65 20.0001C19.65 20.3591 19.359 20.6501 19 20.6501H4.99998C4.64099 20.6501 4.34998 20.3591 4.34998 20.0001Z",fill:"#3E3F58"}))},i.createElement(b.M,{type:"bodytext-2",color:g.r.mbColors.gray},d("childCard.menu.edit",{name:e}))),i.createElement(Menu.Item,{onClick:a,icon:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5951 4.50716C12.8673 4.19494 13.3411 4.16249 13.6533 4.43468L19.4929 9.52559C19.7286 9.73108 19.812 10.0613 19.7023 10.3541C19.5926 10.6469 19.3127 10.8409 19 10.8409H5C4.58579 10.8409 4.25 10.5051 4.25 10.0909C4.25 9.67671 4.58579 9.34092 5 9.34092H16.9984L12.6676 5.56534C12.3554 5.29315 12.3229 4.81938 12.5951 4.50716Z",fill:"#3E3F58"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4049 19.4928C11.1327 19.8051 10.6589 19.8375 10.3467 19.5653L4.50715 14.4744C4.27144 14.2689 4.18796 13.9387 4.29768 13.6459C4.40741 13.3531 4.68729 13.1591 5 13.1591L19 13.1591C19.4142 13.1591 19.75 13.4949 19.75 13.9091C19.75 14.3233 19.4142 14.6591 19 14.6591L7.00161 14.6591L11.3324 18.4347C11.6446 18.7069 11.6771 19.1806 11.4049 19.4928Z",fill:"#3E3F58"}))},i.createElement(b.M,{type:"bodytext-2",color:g.r.mbColors.gray},d("childCard.menu.switch"))),i.createElement(Menu.Item,{onClick:l,icon:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},i.createElement("path",{d:"M11.8123 22.1251C8.24982 22.1251 5.15607 19.837 4.10577 16.4444C4.01202 16.1441 4.18048 15.8248 4.48077 15.731C4.78107 15.6373 5.1004 15.8057 5.19415 16.106C6.09357 19.0313 8.75665 20.981 11.8123 20.981C14.868 20.981 17.5311 19.0123 18.4305 16.106C18.5242 15.8057 18.8436 15.6373 19.1439 15.731C19.4442 15.8248 19.6126 16.1441 19.5189 16.4444C18.4686 19.837 15.3748 22.1251 11.8123 22.1251Z",fill:"#3E3F58"}),i.createElement("path",{d:"M4.3125 16.875C2.75684 16.875 1.5 15.6182 1.5 14.0625C1.5 12.5244 2.73779 11.2881 4.25684 11.25C4.96875 9.33691 6.41309 7.72559 8.26904 6.82471C8.55029 6.69434 8.88721 6.80566 9.01904 7.08691C9.14941 7.36816 9.03809 7.70654 8.75684 7.83691C7.05029 8.66309 5.73779 10.1997 5.19434 12C5.11816 12.2622 4.85596 12.4307 4.57471 12.394C4.46191 12.375 4.38721 12.375 4.3125 12.375C3.375 12.375 2.625 13.125 2.625 14.0625C2.625 15 3.375 15.75 4.3125 15.75C4.38721 15.75 4.46191 15.75 4.55566 15.731C4.85596 15.6943 5.15625 15.8994 5.19434 16.1997C5.23096 16.5 5.02441 16.8003 4.72559 16.8369C4.57471 16.856 4.44434 16.875 4.3125 16.875ZM19.3125 16.875C19.1807 16.875 19.0503 16.856 18.8994 16.8369C18.6006 16.8003 18.375 16.5 18.4307 16.1997C18.4688 15.8994 18.769 15.6753 19.0693 15.731C19.1631 15.75 19.2378 15.75 19.3125 15.75C20.25 15.75 21 15 21 14.0625C21 13.125 20.25 12.375 19.3125 12.375C19.2378 12.375 19.1631 12.375 19.0693 12.394C18.7881 12.4307 18.5244 12.2622 18.4497 12C17.5503 9.07471 14.8872 7.125 11.8315 7.125C10.856 7.125 9.39404 6.46875 9.39404 4.6875C9.39404 4.36816 9.63721 4.125 9.95654 4.125C10.2744 4.125 10.519 4.36816 10.519 4.6875C10.519 5.96191 11.6997 6 11.8315 6C15.2432 6 18.2256 8.10059 19.3872 11.25C20.9062 11.2881 22.144 12.5244 22.144 14.0625C22.125 15.6182 20.8682 16.875 19.3125 16.875Z",fill:"#3E3F58"}),i.createElement("circle",{cx:"11.8125",cy:"17.8125",r:"0.9375",fill:"#3E3F58"}),i.createElement("path",{d:"M16.0938 13.1694C15.897 13.0702 15.6596 13.1484 15.5592 13.343C15.5561 13.3488 15.2533 13.9219 14.7187 13.9219C14.1841 13.9219 13.8814 13.3488 13.8799 13.3453C13.781 13.148 13.5421 13.069 13.3452 13.1671C13.1483 13.2655 13.0689 13.5048 13.167 13.7017C13.188 13.7434 13.6876 14.7188 14.7187 14.7188C15.7499 14.7188 16.2495 13.7433 16.2705 13.7017C16.3685 13.5056 16.2892 13.2686 16.0938 13.1694Z",fill:"#3E3F58"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.1344 13.0892L16.1346 13.0893C16.3737 13.2108 16.4714 13.5014 16.351 13.7421L16.3509 13.7425C16.3382 13.7675 16.2027 14.0317 15.9361 14.2906C15.6691 14.55 15.2651 14.809 14.7188 14.809C14.1725 14.809 13.7685 14.55 13.5014 14.2906C13.2349 14.0317 13.0994 13.7675 13.0867 13.7424L13.0865 13.742L13.0865 13.742C12.9664 13.5009 13.0635 13.2075 13.305 13.0867L13.3051 13.0867C13.5463 12.9666 13.8392 13.0633 13.9604 13.3051L13.9625 13.3094L13.9625 13.3094C13.9628 13.31 13.9635 13.3112 13.9646 13.313C13.9776 13.3355 14.0457 13.4532 14.1633 13.5717C14.2976 13.707 14.4853 13.8321 14.7188 13.8321C14.9522 13.8321 15.1399 13.707 15.2744 13.5714C15.3411 13.5042 15.3925 13.4366 15.4274 13.3854C15.4448 13.3598 15.458 13.3386 15.4667 13.3238C15.4711 13.3164 15.4744 13.3106 15.4766 13.3068L15.4797 13.3011C15.6028 13.0634 15.8935 12.9678 16.1344 13.0892ZM13.8799 13.3455C13.8814 13.349 14.1841 13.9221 14.7188 13.9221C15.2517 13.9221 15.5543 13.3525 15.5592 13.3432L15.5592 13.3431C15.6597 13.1486 15.897 13.0704 16.0939 13.1696C16.2892 13.2688 16.3686 13.5058 16.2705 13.7019C16.2495 13.7435 15.7499 14.719 14.7188 14.719C13.6877 14.719 13.1881 13.7435 13.167 13.7019C13.069 13.505 13.1484 13.2657 13.3453 13.1672C13.5422 13.0692 13.7811 13.1482 13.8799 13.3455Z",fill:"#3E3F58"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5094 13.0893L10.5091 13.0892C10.2682 12.9678 9.97759 13.0634 9.85442 13.3011L9.85131 13.3068C9.84916 13.3106 9.84588 13.3164 9.8415 13.3238C9.83273 13.3386 9.81958 13.3598 9.80218 13.3854C9.76727 13.4366 9.71585 13.5042 9.6492 13.5714C9.51469 13.707 9.327 13.8321 9.09355 13.8321C8.86008 13.8321 8.67238 13.707 8.53807 13.5717C8.47152 13.5047 8.42025 13.4372 8.38558 13.3864C8.35996 13.3488 8.34478 13.3223 8.33921 13.3126L8.33682 13.3085L8.33512 13.3051C8.21396 13.0633 7.92186 12.9667 7.68003 13.0866L7.67978 13.0867C7.43828 13.2075 7.34115 13.5009 7.46124 13.742L7.46147 13.7424C7.47414 13.7675 7.60963 14.0317 7.87619 14.2906C8.14326 14.55 8.54722 14.809 9.09355 14.809C9.63987 14.809 10.0438 14.55 10.3109 14.2906C10.5775 14.0317 10.713 13.7675 10.7256 13.7425L10.7258 13.7421C10.8462 13.5014 10.7484 13.2108 10.5094 13.0893ZM9.93396 13.3432L9.934 13.3431C10.0062 13.2033 10.1491 13.1235 10.297 13.1266C10.1492 13.1236 10.0064 13.2033 9.93422 13.3431L9.93419 13.3432C9.92921 13.3526 9.62669 13.9221 9.09377 13.9221C9.08851 13.9221 9.08327 13.9221 9.07806 13.922C9.0832 13.9221 9.08836 13.9221 9.09355 13.9221C9.62649 13.9221 9.92901 13.3525 9.93396 13.3432ZM9.06061 14.7186C8.0518 14.6982 7.56261 13.7431 7.5418 13.7019C7.44375 13.505 7.52313 13.2657 7.72002 13.1672C7.7803 13.1373 7.84434 13.1239 7.90705 13.1253C7.84441 13.1239 7.78045 13.1374 7.72024 13.1672C7.52335 13.2657 7.44397 13.505 7.54203 13.7019C7.56283 13.7431 8.05195 14.6981 9.06061 14.7186Z",fill:"#3E3F58"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.8 2.3999C19.9144 2.3999 20.0071 2.49262 20.0071 2.60698V3.99282H21.3929C21.5073 3.99282 21.6 4.08554 21.6 4.1999C21.6 4.31427 21.5073 4.40698 21.3929 4.40698H20.0071V5.79282C20.0071 5.90719 19.9144 5.9999 19.8 5.9999C19.6856 5.9999 19.5929 5.90719 19.5929 5.79282V4.40698H18.2071C18.0927 4.40698 18 4.31427 18 4.1999C18 4.08554 18.0927 3.99282 18.2071 3.99282H19.5929V2.60698C19.5929 2.49262 19.6856 2.3999 19.8 2.3999Z",fill:"#3E3F58"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.2929 2.60718C19.2929 2.32712 19.5199 2.1001 19.8 2.1001C20.08 2.1001 20.307 2.32712 20.307 2.60718V3.69302H21.3929C21.6729 3.69302 21.9 3.92005 21.9 4.2001C21.9 4.48015 21.6729 4.70718 21.3929 4.70718H20.307V5.79302C20.307 6.07307 20.08 6.3001 19.8 6.3001C19.5199 6.3001 19.2929 6.07307 19.2929 5.79302V4.70718H18.207C17.927 4.70718 17.7 4.48015 17.7 4.2001C17.7 3.92005 17.927 3.69302 18.207 3.69302H19.2929V2.60718Z",fill:"#3E3F58"}))},i.createElement(b.M,{type:"bodytext-2",color:g.r.mbColors.gray},d("childCard.menu.add"))),i.createElement(Menu.Item,{onClick:n,icon:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.6094 2.61873C11.0508 2.44123 11.5233 2.3501 12 2.3501C12.4767 2.3501 12.9491 2.44123 13.3905 2.61873C13.832 2.79625 14.2343 3.05692 14.5741 3.38678C14.9139 3.71668 15.1845 4.10937 15.3695 4.54295C15.4685 4.77508 15.5419 5.01633 15.5887 5.2626H16.9895C18.4406 5.2626 19.65 6.40947 19.65 7.86442V8.01078C19.65 8.89985 19.1605 9.68128 18.4237 10.1037C18.884 10.8243 19.2029 11.64 19.3437 12.5139L19.3813 12.7472C19.5681 13.9067 19.4973 15.0915 19.1738 16.2218L19.0562 16.6329C18.3288 19.1745 16.1665 21.0699 13.5141 21.522C12.5123 21.6928 11.4876 21.6928 10.4858 21.522C7.83339 21.0699 5.67109 19.1745 4.94377 16.6329L4.82611 16.2218C4.50265 15.0915 4.43185 13.9067 4.61867 12.7472L4.65627 12.5139C4.79707 11.64 5.11599 10.8243 5.57625 10.1037C4.83944 9.68128 4.34998 8.89985 4.34998 8.01078V7.86442C4.34998 6.40947 5.55937 5.2626 7.01043 5.2626H8.41124C8.45805 5.01633 8.53144 4.77508 8.63048 4.54295C8.81547 4.10937 9.08608 3.71668 9.42589 3.38678C9.76565 3.05692 10.168 2.79625 10.6094 2.61873ZM9.74907 5.2626L14.2509 5.2626C14.2288 5.19175 14.2031 5.12183 14.1738 5.05312C14.0572 4.77998 13.8859 4.53053 13.6685 4.31952C13.4511 4.10848 13.192 3.94008 12.9055 3.82486C12.619 3.70963 12.3112 3.6501 12 3.6501C11.6887 3.6501 11.381 3.70963 11.0944 3.82486C10.8079 3.94008 10.5488 4.10848 10.3314 4.31952C10.1141 4.53053 9.94273 4.77998 9.8262 5.05311C9.79688 5.12183 9.77115 5.19175 9.74907 5.2626ZM7.01043 6.5626C6.2408 6.5626 5.64998 7.16345 5.64998 7.86442V8.01078C5.64998 8.53694 6.03782 9.01141 6.60612 9.11574C6.65027 9.12384 6.69443 9.13185 6.73861 9.13975C6.73934 9.13988 6.74007 9.14001 6.7408 9.14014C6.9188 9.17198 7.09704 9.20218 7.27549 9.23076C10.5824 9.76029 13.9603 9.73008 17.2592 9.14014C17.2597 9.14004 17.2603 9.13994 17.2608 9.13984C17.3052 9.13191 17.3495 9.12388 17.3938 9.11574C17.9621 9.01141 18.35 8.53694 18.35 8.01078V7.86442C18.35 7.16345 17.7591 6.5626 16.9895 6.5626H7.01043ZM6.89224 10.4854C6.40537 11.1346 6.07257 11.8962 5.93971 12.7207L5.90212 12.954C5.74569 13.9249 5.80489 14.917 6.07594 15.8642L6.19359 16.2753C6.77869 18.3198 8.5277 19.8695 10.7042 20.2405C11.5615 20.3866 12.4385 20.3866 13.2957 20.2405C15.4722 19.8695 17.2212 18.3198 17.8063 16.2753L17.924 15.8642C18.1951 14.917 18.2543 13.9249 18.0978 12.954L18.0602 12.7207C17.9274 11.8962 17.5946 11.1346 17.1077 10.4854C17.0485 10.4953 16.9893 10.5049 16.93 10.5144C13.6061 11.0467 10.2137 11.037 6.89224 10.4854ZM9.34998 16.5918V12.7084C9.34998 12.3495 9.64099 12.0584 9.99998 12.0584C10.359 12.0584 10.65 12.3495 10.65 12.7084V16.5918C10.65 16.9508 10.359 17.2418 9.99998 17.2418C9.64099 17.2418 9.34998 16.9508 9.34998 16.5918ZM14 12.0584C14.359 12.0584 14.65 12.3495 14.65 12.7084V16.5918C14.65 16.9508 14.359 17.2418 14 17.2418C13.641 17.2418 13.35 16.9508 13.35 16.5918V12.7084C13.35 12.3495 13.641 12.0584 14 12.0584Z",fill:"#3E3F58"}))},i.createElement(b.M,{type:"bodytext-2",color:g.r.mbColors.red},d("childCard.menu.remove",{name:e})))):i.createElement(et,{width:250},i.createElement(Menu.Item,{onClick:r,icon:i.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},i.createElement("path",{d:"M12.7812 1.83301C12.2987 1.83301 11.8162 2.01676 11.4479 2.38509L10.6667 3.16634L13.3333 5.83301L14.1146 5.05176C14.8506 4.31576 14.8506 3.12176 14.1146 2.38509C13.7463 2.01676 13.2638 1.83301 12.7812 1.83301ZM9.66667 4.16634L2 11.833V14.4997H4.66667L12.3333 6.83301L9.66667 4.16634Z",fill:"#595959"}))},i.createElement(P.T,{size:"p2",color:g.r.colors.gray800},d("childCard.menu.edit",{name:e}))),i.createElement(Menu.Item,{onClick:a,icon:i.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},i.createElement("path",{d:"M8 2.5C4.9478 2.5 2.4204 4.79359 2.05078 7.7513C2.03763 7.83928 2.04222 7.929 2.06428 8.01518C2.08634 8.10136 2.12542 8.18226 2.17922 8.2531C2.23303 8.32394 2.30046 8.3833 2.37756 8.42768C2.45465 8.47206 2.53985 8.50057 2.62813 8.51152C2.71642 8.52247 2.806 8.51564 2.8916 8.49143C2.9772 8.46723 3.05709 8.42614 3.12657 8.37059C3.19605 8.31503 3.2537 8.24613 3.29615 8.16795C3.33859 8.08978 3.36496 8.00389 3.3737 7.91536C3.66141 5.61307 5.61354 3.83333 8 3.83333C9.34288 3.83333 10.5434 4.39987 11.3919 5.30339L10.0977 6.59766C9.96766 6.72766 9.96766 6.93901 10.0977 7.06901C10.1623 7.13434 10.248 7.16667 10.3333 7.16667H13.3333C13.5101 7.16667 13.6797 7.09643 13.8047 6.9714C13.9298 6.84638 14 6.67681 14 6.5V3.5C14 3.41467 13.967 3.32966 13.9023 3.26432C13.7723 3.13432 13.561 3.13432 13.431 3.26432L12.3359 4.35938C11.2437 3.21415 9.7037 2.5 8 2.5ZM13.2943 8.49089C13.1292 8.48959 12.9695 8.54959 12.8461 8.65928C12.7227 8.76896 12.6444 8.92053 12.6263 9.08464C12.3386 11.3869 10.3865 13.1667 8 13.1667C6.65713 13.1667 5.45884 12.5994 4.60938 11.6953L5.90234 10.4023C6.03234 10.2723 6.03234 10.061 5.90234 9.93099C5.83768 9.86566 5.752 9.83333 5.66667 9.83333H2.66667C2.48986 9.83333 2.32029 9.90357 2.19526 10.0286C2.07024 10.1536 2 10.3232 2 10.5V13.5C2 13.5853 2.03299 13.6703 2.09766 13.7357C2.22766 13.8657 2.43901 13.8657 2.56901 13.7357L3.66536 12.6393C4.75711 13.7836 6.29696 14.5 8 14.5C11.0522 14.5 13.5796 12.2064 13.9492 9.2487C13.9622 9.1548 13.955 9.05922 13.928 8.96833C13.9011 8.87745 13.8552 8.79334 13.7932 8.72163C13.7312 8.64991 13.6546 8.59224 13.5686 8.55245C13.4826 8.51266 13.3891 8.49167 13.2943 8.49089Z",fill:"#595959"}))},i.createElement(P.T,{size:"p2",color:g.r.colors.gray800},d("childCard.menu.switch"))),i.createElement(Menu.Item,{onClick:l,icon:i.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9564 8.56545C15.7745 7.46727 14.9673 6.57273 13.9127 6.26C13.5273 5.44545 12.9818 4.73273 12.32 4.14364C11.1709 3.11818 9.65818 2.5 8 2.5C6.34182 2.5 4.82909 3.11818 3.68 4.14364C3.01091 4.73273 2.46545 5.45273 2.08727 6.26C1.03273 6.57273 0.225455 7.46 0.0436364 8.56545C0.0145455 8.71818 0 8.87818 0 9.04545C0 9.21273 0.0145455 9.37273 0.0436364 9.52545C0.225455 10.6236 1.03273 11.5182 2.08727 11.8309C2.46545 12.6382 3.01091 13.3509 3.66545 13.9327C4.81455 14.9655 6.33455 15.5909 8 15.5909C9.66545 15.5909 11.1855 14.9655 12.3418 13.9327C12.9964 13.3509 13.5418 12.6309 13.92 11.8309C14.9673 11.5182 15.7745 10.6309 15.9564 9.52545C15.9855 9.37273 16 9.21273 16 9.04545C16 8.87818 15.9855 8.71818 15.9564 8.56545ZM6.18182 7.04545C5.67974 7.04545 5.27273 7.45247 5.27273 7.95455C5.27273 8.45662 5.67974 8.86364 6.18182 8.86364C6.6839 8.86364 7.09091 8.45662 7.09091 7.95455C7.09091 7.45247 6.6839 7.04545 6.18182 7.04545ZM9.81818 7.04545C9.3161 7.04545 8.90909 7.45247 8.90909 7.95455C8.90909 8.45662 9.3161 8.86364 9.81818 8.86364C10.3203 8.86364 10.7273 8.45662 10.7273 7.95455C10.7273 7.45247 10.3203 7.04545 9.81818 7.04545ZM5.01821 10.5H10.9818C11.1128 10.5 11.2073 10.6455 11.1491 10.7691C10.5455 11.9109 9.36002 12.6818 8.00002 12.6818C6.64002 12.6818 5.45457 11.9109 4.85093 10.7691C4.78548 10.6455 4.88002 10.5 5.01821 10.5ZM12.9538 10.4875C12.9991 10.4938 13.0435 10.5 13.0909 10.5C13.8909 10.5 14.5455 9.84545 14.5455 9.04545C14.5455 8.24545 13.8909 7.59091 13.0909 7.59091C13.0435 7.59091 12.9991 7.5971 12.9538 7.60343C12.9297 7.60679 12.9053 7.6102 12.88 7.61273C12.7345 7.12545 12.5236 6.67455 12.2545 6.26C11.3455 4.87091 9.78182 3.95455 8 3.95455C6.21818 3.95455 4.65455 4.87091 3.74545 6.26C3.47636 6.67455 3.26545 7.12545 3.12 7.61273C3.09473 7.6102 3.07033 7.60679 3.0462 7.60343C3.0009 7.5971 2.95654 7.59091 2.90909 7.59091C2.10909 7.59091 1.45455 8.24545 1.45455 9.04545C1.45455 9.84545 2.10909 10.5 2.90909 10.5C2.95654 10.5 3.0009 10.4938 3.0462 10.4875C3.07033 10.4841 3.09473 10.4807 3.12 10.4782C3.26545 10.9655 3.47636 11.4164 3.74545 11.8309C4.65455 13.22 6.21818 14.1364 8 14.1364C9.78182 14.1364 11.3455 13.22 12.2545 11.8309C12.5236 11.4164 12.7345 10.9655 12.88 10.4782C12.9053 10.4807 12.9297 10.4841 12.9538 10.4875Z",fill:"#595959"}),i.createElement("path",{d:"M2.5 2V1C2.5 0.725 2.275 0.5 2 0.5C1.725 0.5 1.5 0.725 1.5 1V2H0.5C0.225 2 0 2.225 0 2.5C0 2.775 0.225 3 0.5 3H1.5V4C1.5 4.275 1.725 4.5 2 4.5C2.275 4.5 2.5 4.275 2.5 4V3H3.5C3.775 3 4 2.775 4 2.5C4 2.225 3.775 2 3.5 2H2.5Z",fill:"#595959"}))},i.createElement(P.T,{size:"p2",color:g.r.colors.gray800},d("childCard.menu.add"))),i.createElement(Menu.Item,{onClick:n,icon:i.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},i.createElement("path",{d:"M6.66699 1.83301L6.00033 2.49967H3.33366C2.93366 2.49967 2.66699 2.76634 2.66699 3.16634C2.66699 3.56634 2.93366 3.83301 3.33366 3.83301H4.66699H11.3337H12.667C13.067 3.83301 13.3337 3.56634 13.3337 3.16634C13.3337 2.76634 13.067 2.49967 12.667 2.49967H10.0003L9.33366 1.83301H6.66699ZM3.33366 5.16634V13.833C3.33366 14.5663 3.93366 15.1663 4.66699 15.1663H11.3337C12.067 15.1663 12.667 14.5663 12.667 13.833V5.16634H3.33366ZM6.00033 6.49967C6.40033 6.49967 6.66699 6.76634 6.66699 7.16634V13.1663C6.66699 13.5663 6.40033 13.833 6.00033 13.833C5.60033 13.833 5.33366 13.5663 5.33366 13.1663V7.16634C5.33366 6.76634 5.60033 6.49967 6.00033 6.49967ZM10.0003 6.49967C10.4003 6.49967 10.667 6.76634 10.667 7.16634V13.1663C10.667 13.5663 10.4003 13.833 10.0003 13.833C9.60033 13.833 9.33366 13.5663 9.33366 13.1663V7.16634C9.33366 6.76634 9.60033 6.49967 10.0003 6.49967Z",fill:"#F44D2C"}))},i.createElement(P.T,{size:"p2",color:g.r.colors.red600},d("childCard.menu.remove",{name:e})))))},renderChildAge=(e,t)=>{if(e){if(e.year<1){if(0===e.month)switch(e.week){case 0:case 1:return t("childCard.age.oneWeek");default:return t("childCard.age.week",{weeks:e.week})}if(1===e.month)return t("childCard.age.oneMonth");if(e.month>1)return t("childCard.age.months",{month:e.month})}else{if(1===e.year)return t("childCard.age.months",{month:12*e.year+e.month});if(0===e.month)return t("childCard.age.yearNoMonth",{year:e.year});if(e.month>0)return t("childCard.age.yearMonth",{year:e.year,month:e.month})}}},ChildCard=({name:e,gender:t,age:r,isLoggedIn:a=!1,showMenu:l=!1,onEdit:d,onSwitch:E,onAdd:v,onRemove:w,className:k,siteType:B})=>{let{t:Z}=(0,u.u)(),[P,H]=(0,i.useState)(!1);return i.createElement(J,{className:k,"data-theme":B},"marryBaby"===B?i.createElement(i.Fragment,null,i.createElement("div",{"data-testid":"gender"},t===f.G.Boy?i.createElement(s.Z,{"data-testid":"boy",id:"boy",size:48}):i.createElement(c.Z,{"data-testid":"girl",id:"girl",size:48})),i.createElement("div",{className:"information"},i.createElement(b.M,{type:"subtitle-1",color:g.r.mbColors.dark},(0,x.s)(e)||Z("childCard.noName")),i.createElement("div",{className:"detail"},i.createElement("div",null,t===f.G.Boy?i.createElement(C.Z,{size:14}):i.createElement(m.Z,{size:14}),i.createElement(b.M,{type:"bodytext-2",color:g.r.mbColors.gray},Z(t===f.G.Girl?"childCard.girl":"childCard.boy"))),i.createElement("div",null,i.createElement(h.Z,{size:20}),r&&i.createElement(b.M,{type:"bodytext-2",color:g.r.mbColors.gray},renderChildAge(r,Z)))))):i.createElement(i.Fragment,null,i.createElement("div",{"data-testid":"gender"},t===f.G.Boy?i.createElement(n.Z,{"data-testid":"boy",id:"boy"}):i.createElement(o.Z,{"data-testid":"girl",id:"girl"})),i.createElement("div",{className:"information"},i.createElement(L.H,{tag:"h5",fontWeight:"bold",color:g.r.colors.gray800},(0,x.s)(e)||Z("childCard.noName")),i.createElement("div",{className:"detail"},i.createElement("div",null,t===f.G.Boy?i.createElement(C.Z,null):i.createElement(m.Z,null),i.createElement(y.T,{size:"p3",color:g.r.colors.gray800,style:{textTransform:"capitalize"}},Z(t===f.G.Girl?"childCard.girl":"childCard.boy"))),i.createElement("div",null,i.createElement(p.Z,{size:16}),r&&i.createElement(y.T,{size:"p3",color:g.r.colors.gray800},renderChildAge(r,Z)))))),l&&a&&i.createElement(ee,null,i.createElement(M.Z,{onClick:()=>H(e=>!e)}),P&&i.createElement(ChildCardMenu,{siteType:B,name:e,onClose:()=>H(!1),onEdit:()=>{H(!1),d()},onSwitch:()=>{H(!1),E()},onAdd:()=>{H(!1),v()},onRemove:()=>{H(!1),w()}})))},er=(0,E.Z)(H.D)` .add-profile-container { display: flex; flex-direction: column; gap: 24px; } .profile-container { display: flex; flex-direction: column; gap: 8px; } .button-group { display: flex; flex-direction: column; gap: 8px; button { width: 100%; } } `,ea=(0,E.Z)(D.M)` .hhg-modal { min-width: 570px; } .title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid ${g.r.colors.neutral100}; } .close-button { margin-left: auto; } .profile-container { padding-block: 16px; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid ${g.r.colors.neutral100}; max-height: 300px; overflow-y: auto; } .button-group { display: flex; justify-content: center; width: 100%; gap: 16px; margin-block: 16px; button { width: 100%; } } `,el="300ms",ei=E.Z.div` background: ${g.r.colors.gray50}; border-radius: ${g.r.borderRadius}; padding: 16px 20px; @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .title { display: flex; justify-content: space-between; align-items: center; padding: 0; padding-bottom: 16px; border-bottom: none; } &[data-is-mb='true'] { background: #ffffff; border: 1px solid #e0e9fb; border-radius: 16px; input { border-radius: 16px; } } &[data-isActive='true'] { border: 1px solid #2661ad; } &[data-is-mb='false'] .radio { cursor: pointer; position: relative; min-width: 22px; width: 22px; height: 22px; background: #ffffff; border: 2px solid ${g.r.colors.gray600}; border-radius: 50%; transition: all ${el} ease-in-out; &.active { border-color: ${g.r.colors.primaryBase}; &::before { content: ''; position: absolute; inset: 0; width: 100%; height: 100%; background-color: ${g.r.colors.primaryBase}; background-clip: content-box; padding: 5px; border-radius: 50%; animation: fadeIn ${el} ease-in-out forwards; } } } &[data-is-mb='true'] .radio { cursor: pointer; position: relative; min-width: 22px; width: 22px; height: 22px; background: #ffffff; border: 1.3px solid #9495a0; border-radius: 10px; transition: all ${el} ease-in-out; &.active { border: none; &::before { content: ''; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border-radius: 10px; animation: fadeIn ${el} ease-in-out forwards; } } } `,NewBabyProfileRadio=({isActive:e,onChange:t,value:r="",onInputChange:a,siteType:l})=>{let{t:n}=(0,u.u)(),o="marryBaby"===l;return i.createElement(ei,{onClick:()=>t("new"),"data-is-mb":o,"data-isActive":o&&e},"marryBaby"===l?i.createElement("div",{className:"title"},i.createElement(b.M,{type:"bodytext-1",color:g.r.colors.gray800},n("chooseBaby.new")),i.createElement("div",{className:e?"radio active":"radio"},e&&i.createElement(d.Z,{size:26}))):i.createElement("div",{className:"title"},i.createElement(y.T,{size:"p2",color:g.r.colors.gray800},n("chooseBaby.new")),i.createElement("div",{className:e?"radio active":"radio"})),i.createElement(F.I,{name:"name",value:r,size:"md",placeholder:n("chooseBaby.placeholder"),type:"text",onChange:a}))},BabyGrowthChooseProfileDrawer=e=>{var t,r,{babyProfiles:a,currentProfileId:l,onClose:n,onCreate:o,onAddMeasurement:d,onSwitchProfile:s,open:c,isMobile:C,isMyProfile:m=!1,buttonGroup:h,newBabyValue:p,onNewBabyValueChange:f,siteType:y,buttonText:E,headerText:x}=e,v=(0,B._)(e,["babyProfiles","currentProfileId","onClose","onCreate","onAddMeasurement","onSwitchProfile","open","isMobile","isMyProfile","buttonGroup","newBabyValue","onNewBabyValueChange","siteType","buttonText","headerText"]);let renderButton=e=>m?i.createElement(i.Fragment,null,i.createElement(k.B,{theme:y,onClick:()=>{null==o||o(),n()},size:"lg",color:"secondary",icon:i.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},i.createElement("path",{d:"M13.5 9.75H9.75V13.5C9.75 13.9125 9.4125 14.25 9 14.25C8.5875 14.25 8.25 13.9125 8.25 13.5V9.75H4.5C4.0875 9.75 3.75 9.4125 3.75 9C3.75 8.5875 4.0875 8.25 4.5 8.25H8.25V4.5C8.25 4.0875 8.5875 3.75 9 3.75C9.4125 3.75 9.75 4.0875 9.75 4.5V8.25H13.5C13.9125 8.25 14.25 8.5875 14.25 9C14.25 9.4125 13.9125 9.75 13.5 9.75Z",fill:"#2D87F3"}))},L("babyGrowth.drawer.createBaby")),i.createElement(k.B,{theme:y,size:"lg",color:"primary",onClick:()=>{null==e||e(),m?null==s||s(w):null==d||d(w),n()}},m?L("babyGrowth.drawer.switchProfile"):L("babyGrowth.drawer.addMeasurement"))):i.createElement(k.B,{theme:y,size:"lg",color:"primary",onClick:()=>{null==d||d(w),null==e||e(),n()}},E||L("chooseBaby.button")),[w,M]=(0,i.useState)(String(l)||String(null===(t=a[0])||void 0===t?void 0:t.id)),{t:L}=(0,u.u)();return C?i.createElement(er,Object.assign({title:x||"Baby profiles",onClose:n,open:c,placement:"bottom"},v),({internalClose:e})=>{var t;return i.createElement("div",{className:"add-profile-container"},i.createElement("div",{className:"profile-container"},null===(t=a||[])||void 0===t?void 0:t.map(e=>i.createElement(BabyGrowthProfileRadio,{siteType:y,key:e.id,profile:e,isActive:w===String(e.id),onChange:M})),!m&&i.createElement(NewBabyProfileRadio,{siteType:y,value:p,onInputChange:f,isActive:"new"===w,onChange:M})),i.createElement("div",{className:"button-group"},h||renderButton(e)))}):i.createElement(ea,{type:"confirm",isOpen:c,onClose:n,siteType:y},i.createElement("div",{className:"header"},i.createElement("div",{className:"title"},"marryBaby"===y?i.createElement(b.M,{type:"subtitle-1",color:g.r.mbColors.dark},L("chooseBaby.title")):i.createElement(P.T,{size:"s2",type:"semiBold"},x||L("chooseBaby.title")),i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"close-button",onClick:n},i.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"})))),i.createElement("div",{className:"profile-container"},null===(r=a||[])||void 0===r?void 0:r.map(e=>i.createElement(BabyGrowthProfileRadio,{key:e.id,profile:e,isActive:w===String(e.id),onChange:M,siteType:y})),!m&&i.createElement(NewBabyProfileRadio,{value:p,onInputChange:f,isActive:"new"===w,onChange:M,siteType:y})),i.createElement("div",{className:"button-group"},h||renderButton()))},en={[f.G.Boy]:{[f.B.Height]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"Wkl7")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"U7x5")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"YwWi"))},[f.B.Weight]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"S2MT")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"f4+w")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"0z5F"))},[f.B.Head]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"ySEO")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"GR1O")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"CIBB"))},[f.B.BMI]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"OgUZ")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"vc4s")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"00wg"))}},[f.G.Girl]:{[f.B.Height]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"CkQU")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"S3hy")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"lDjJ"))},[f.B.Weight]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"7/+/")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"E35J")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"hyoA"))},[f.B.Head]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"1M8/")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"XieR")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"Dp05"))},[f.B.BMI]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"ow4F")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"DjIS")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"iBp8"))}}},eo={[f.G.Boy]:{[f.B.Height]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"nvzV")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"QNDj")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"6WKv"))},[f.B.Weight]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"3GQ2")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"DnDV")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"UdRs"))},[f.B.Head]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"b+r1")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"6qC/")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"YMa7"))},[f.B.BMI]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"eswQ")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"aSR+")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"P1qR"))}},[f.G.Girl]:{[f.B.Height]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"Pump")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"1ioJ")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"M4Ci"))},[f.B.Weight]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"24vB")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"6oSZ")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"dGcf"))},[f.B.Head]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"/jf1")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"uDdT")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"Gmyz"))},[f.B.BMI]:{[f.a.Weekly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"KG41")),[f.a.Monthly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"mq0V")),[f.a.Yearly]:()=>Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(140),r.e(5718),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(4190),r.e(2582),r.e(6509),r.e(5308),r.e(4125),r.e(9715),r.e(7730),r.e(3929),r.e(891),r.e(137),r.e(4414),r.e(1079),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413)]).then(r.bind(r,"5iEo"))}}},generateGrowthChart=(e,t,r,a)=>a===w.L.Indonesia?eo[e][t][r]():en[e][t][r](),divideChartData=(e,t)=>{let[r,a]=$()(t,Math.ceil(t.length/2)),l=r.map(e=>e.name),i=a.map(e=>e.name);return l.includes(e)?{data:r,status:"first-half"}:i.includes(e)?{data:a,status:"second-half"}:{data:t,status:"full"}},refineDataWithLine=(e,t)=>[...e,...t.map(e=>({name:e.name,history:e.history,risk:e.risk,toolTipLabel:e.toolTipLabel}))].sort((e,t)=>e.name-t.name),refineDataWithDot=(e,t,r,a,l)=>[...e,{name:a,history:l,risk:t,toolTipLabel:r}].sort((e,t)=>e.name-t.name),transformDataToChart=(e,t=0)=>{let r=[];for(let a in e){let l=e[a];l.forEach((e,l)=>{r[l]?r[l][a]=e:r[l]={name:l+t,[a]:e}})}return r},generateXAxisTicks=(e,t=0)=>Array.from({length:e-t+1},(e,r)=>r+t),ed=E.Z.div` position: relative; .custom-chart-label { display: flex; width: 100%; justify-content: space-between; align-items: center; margin-top: 8px; } `,es=[{name:"-3SD",label:"-3",color:g.r.colors.red600},{name:"-2SD",label:"-2",color:g.r.colors.yellow600},{name:"0Median",label:"0",color:g.r.colors.green600},{name:"2SD",label:"2",color:g.r.colors.yellow600},{name:"3SD",label:"3",color:g.r.colors.red600},{name:"history",color:g.r.colors.primaryBase}],ec=[{name:"3rd",color:g.r.colors.red600},{name:"15th",color:g.r.colors.yellow600},{name:"50th",color:g.r.colors.green600},{name:"85th",color:g.r.colors.yellow600},{name:"97th",color:g.r.colors.red600},{name:"history",color:g.r.colors.primaryBase}],CustomLineLabel=e=>{let{x:t,y:r,last:a,index:l,name:n}=e;return a===l?i.createElement("text",{x:t,y:r,dx:16,fill:g.r.colors.gray500,fontSize:12,textAnchor:"middle"},n):null},BabyGrowthChart=({gender:e,type:t,duration:r,xLabel:a,x:l,y:n,toolTipLabel:o=[],isDivide:d=!0,onIsPrevious:s,locale:c,riskLevel:C,withLine:m=!1,lineData:h=[]})=>{let[p,b]=(0,i.useState)([]),E=(0,i.useRef)([]),{t:x}=(0,u.u)();(0,i.useEffect)(()=>{(0,B.a)(void 0,void 0,void 0,function*(){let a=(yield generateGrowthChart(e,t,r,c)).default,i=r===f.a.Weekly?0:1,n=transformDataToChart(a,i);if(Array.isArray(n)&&0===n.length){null==s||s();return}let o={data:n.map((e,t)=>Object.assign(Object.assign({},e),{name:t})),status:"full"};try{o=d?divideChartData(l||i,n):{data:n,status:"full"}}catch(e){}if(d)switch(o.status){case"first-half":E.current=generateXAxisTicks(o.data.length-1+i,i);break;case"second-half":E.current=generateXAxisTicks(a.length,o.data.length);break;default:E.current=generateXAxisTicks(n.length-1+i,i)}else E.current=generateXAxisTicks(n.length-1+i,i);b(o.data)})},[e,t,r,c,s]);let[v,k]=(0,i.useState)(!1),M=(0,i.useMemo)(()=>m&&Array.isArray(p)&&p.length>0?refineDataWithLine(p,h):refineDataWithDot(p,C,o,l,n),[m,h,p]),L=(0,i.useRef)(null);return(0,Z.a)(L,()=>k(!1)),i.createElement(ed,null,i.createElement("div",{className:"custom-chart-label"},i.createElement(y.T,{size:"n1",color:g.r.colors.gray500},(()=>{switch(t){case f.B.Weight:return x("babyGrowth.weight");case f.B.Height:return x("babyGrowth.height");case f.B.Head:return x("babyGrowth.headCircumference");case f.B.BMI:return"BMI";default:return""}})()),i.createElement(y.T,{size:"n1",color:g.r.colors.gray500},c===w.L.Indonesia?"Z-Score":x("babyGrowth.percentiles"))),Array.isArray(M)&&M.length>0&&i.createElement(N.h,{height:388,className:"chart"},i.createElement(G.w,{data:M,margin:{top:16,right:28,bottom:8,left:0}},i.createElement(I.q,{stroke:g.r.colors.neutral100}),i.createElement(T.u,{trigger:"click",content:e=>i.createElement(BabyGrowthTooltip,Object.assign({active:!m&&v&&void 0!==l&&void 0!==n,locale:c},e))}),i.createElement(W.K,{type:"number",scale:"linear",ticks:E.current,dataKey:"name",tickLine:!1,tickMargin:12,tick:{fontFamily:"Inter",fontWeight:400,fontSize:12,color:g.r.colors.gray800},domain:["dataMin","dataMax"],interval:"preserveStartEnd",tickCount:1,tickFormatter:e=>String(Math.round((e+Number.EPSILON)*100)/100),allowDecimals:!0}),i.createElement(R.B,{domain:[e=>Math.min(e,n||e),e=>Math.max(e,n||e)],tickLine:!1,tickMargin:7,width:45,tickCount:10,allowDecimals:!0,tickFormatter:e=>String(Math.round((e+Number.EPSILON)*100)/100),tick:{fontFamily:"Inter",fontWeight:400,fontSize:12,color:g.r.colors.gray800}}),(c===w.L.Indonesia?es:ec).map((e,t)=>i.createElement(i.Fragment,null,"history"===e.name?i.createElement(V.x,{key:t,connectNulls:!0,type:"linear",dataKey:"history",stroke:e.color,strokeWidth:2,dot:{stroke:e.color,fill:e.color,strokeWidth:1,r:4,strokeDasharray:""},activeDot:!0,color:e.color}):i.createElement(V.x,{key:e.name,type:"linear",dataKey:e.name,stroke:e.color,dot:!1,activeDot:!1,connectNulls:!0,label:i.createElement(CustomLineLabel,{last:(null==M?void 0:M.length)?M.length-1:0,name:(null==e?void 0:e.label)||e.name}),tooltipType:"none"}))),void 0!==l&&void 0!==n&&i.createElement(z.q,{onClick:()=>k(!0),x:0===l?1:l,y:n,r:4,shape:i.createElement(S.C,{ref:L,r:4}),fill:g.r.colors.primaryBase,stroke:g.r.colors.primaryBase}))),i.createElement("div",{className:"custom-chart-label"},i.createElement("i",null),i.createElement(y.T,{size:"n1",color:g.r.colors.gray500},a)))}}}]);