PageSourceSearch

https://www.stashaway.sg/_next/static/chunks/7663.3d7668f9a0520260.js

js stashaway.sg collected 2026-10-01 11:40:03 UTC 5,682 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="39bec173-2c6d-44cc-98ed-42307c102c62",e._sentryDebugIdIdentifier="sentry-dbid-39bec173-2c6d-44cc-98ed-42307c102c62")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7663],{11323:(e,r,t)=>{var a=t(86830),n=t(3663),s=t(32190),o=t(42767),i=t(54720),l=t(20212),d=t(28083),c=t(81259),x=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(i(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||c(e)||s(e)))return!e.length;var r=n(e);if("[object Map]"==r||"[object Set]"==r)return!e.size;if(d(e))return!a(e).length;for(var t in e)if(x.call(e,t))return!1;return!0}},47663:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>v});var a=t(65321),n=t(63880),s=t(49246),o=t(21780);let i=e=>{let{title:r,description:t}=e;return(0,a.jsxs)(n.A,{children:[(0,a.jsx)(s.A,{variant:"h2",component:"h3",color:o.Ay.primary.p2,sx:{marginBottom:{md:"24px",xs:"16px"}},children:r}),(0,a.jsx)(s.A,{variant:"bodyReg",color:o.Ay.secondaryGray.shade600,children:t})]})};var l=t(97109),d=t(48472),c=t(11323),x=t.n(c),p=t(82572),h=t(9438),u=t(94517),y=t(62357),m=t(92807),A=t(60566);let g=e=>{let{data:r}=e,t=(0,l.useMemo)(()=>({maintainAspectRatio:!1,series:[{name:"items",type:"pie",startAngle:200,radius:["45%","70%"],data:[null==r?void 0:r[0].value,null==r?void 0:r[1].value],labelLine:{show:!1},emphasis:{scale:!1}}],color:[(null==r?void 0:r[0].color)||o.Ay.primary.p2,(null==r?void 0:r[1].color)||o.Ay.secondaryGreen.shade900]}),[r]);return(0,a.jsx)(n.A,{sx:{transform:{md:"translateY(0)",xs:"translateY(20px)"},marginTop:{xs:"-110px",md:"-10px"}},children:(0,a.jsx)(A.A,{option:t})})},b=e=>{switch(e){case 15:return[30,70];case 25:return[42,58];case 35:return[67,33];case 45:return[85,15];default:return[0,0]}},j=e=>{let r=(0,y.A)(),{title:t,subTitle1:o,subTitle2:i,modalTitle:d,modalDescription:c,RSI:A,disclaimer:j}=e,[f,v]=(0,l.useState)(b(A)[0]),[w,S]=(0,l.useState)(b(A)[1]);return(0,l.useEffect)(()=>{v(b(A)[0]),S(b(A)[1])},[A]),(0,a.jsxs)(n.A,{children:[(0,a.jsxs)(n.A,{sx:{display:"flex"},children:[(0,a.jsxs)(n.A,{sx:{width:"50%"},children:[(0,a.jsx)(s.A,{variant:"h4",color:r.palette.text.secondary,sx:{marginBottom:{md:"24px",xs:"16px"}},children:t}),(0,a.jsx)(s.A,{variant:"bodyReg",color:r.palette.text.secondary,children:o}),(0,a.jsxs)(s.A,{variant:"h2",color:r.palette.brand.light,sx:{marginBottom:{md:"24px",xs:"16px"}},children:[f,"%"]}),(0,a.jsxs)(s.A,{component:"div",variant:"bodyReg",color:r.palette.text.secondary,children:[i,(0,a.jsxs)(u.A,{triggerer:(0,a.jsx)(h.ai,{htmlColor:r.palette.text.secondary,sx:{width:"20px",cursor:"pointer"}}),children:[(0,a.jsx)(s.A,{variant:"h4",sx:{marginBottom:"16px"},color:r.palette.faq.question,children:d}),(0,a.jsx)(s.A,{component:"div",variant:"smallBold",sx:{fontWeight:"normal"},color:r.palette.text.secondary,children:(0,a.jsx)(p.A,{component:"div",value:c})})]})]}),(0,a.jsxs)(s.A,{variant:"h2",color:r.palette.brand["secondary-green-900"],children:[w,"%"]})]}),(0,a.jsx)(n.A,{sx:{width:"50%"},children:(0,a.jsx)(g,{data:[{value:f,color:r.palette.brand.light},{value:w,color:r.palette.brand["secondary-green-900"]}]})})]}),!x()(j)&&(0,a.jsx)(n.A,{sx:{transform:{xs:"translateY(10px)",md:"translateY(-30px)"}},children:(0,a.jsx)(m.A,{label:j.label,description:j.description,renderOpened:j.renderOpened})})]})},f=e=>{let{title:r,sliderTitleLeft:t,sliderTitleRight:i,target:c,disclaimer:x}=e,[p,h]=(0,l.useState)({...c});return(0,a.jsxs)(n.A,{sx:{flex:"1",marginTop:"40px"},children:[(0,a.jsxs)(n.A,{sx:{marginBottom:"44px",width:"100%"},children:[(0,a.jsxs)(s.A,{component:"div",variant:"h4",color:o.Ay.secondaryGray.shade600,sx:{marginBottom:"32px"},children:[r,"\xa0",(0,a.jsxs)(s.A,{component:"span",variant:"h4",color:o.Ay.primary.p2,children:[15===p.RSI?20:p.RSI,"%"]})]}),(0,a.jsxs)(n.A,{sx:{display:"flex",justifyContent:"space-between",marginBottom:"12px"},children:[(0,a.jsx)(s.A,{variant:"smallReg",color:o.Ay.secondaryGray.main,fontWeight:"bold",children:t}),(0,a.jsx)(s.A,{variant:"smallReg",color:o.Ay.secondaryGray.main,fontWeight:"bold",children:i})]}
1),(0,a.jsx)(n.A,{sx:{"& .MuiSlider-track":{color:o.Ay.primary.p2},"& .MuiSlider-rail":{color:o.Ay.otherColor.iron},"& .MuiSlider-thumb":{color:o.Ay.neutral.white,border:"4px solid ".concat(o.Ay.primary.p2)},"& .MuiSlider-sizeMedium .MuiSlider-mark":{opacity:"0"}},children:(0,a.jsx)(d.A,{defaultValue:15,step:10,min:15,max:45,onChange:(e,r)=>{h({...c,RSI:r})}})})]}),(0,a.jsx)(j,{...p,disclaimer:x})]})},v=e=>{let{title:r,description:t,riskIndex:s}=e;return(0,a.jsxs)(n.A,{sx:{display:{lg:"flex",xs:"block"}},children:[(0,a.jsx)(n.A,{sx:{width:{lg:"358px",xs:"100%"},marginRight:{lg:"117px",xs:"0"}},children:(0,a.jsx)(i,{title:r,description:t})}),(0,a.jsx)(f,{...s})]})}},48472:(e,r,t)=>{"use strict";t.d(r,{A:()=>i});var a=t(65321),n=t(63880),s=t(27368),o=t(21780);let i=e=>{var r;return(0,a.jsx)(n.A,{sx:{paddingRight:1},children:(0,a.jsx)(s.Ay,{marks:null==(r=e.marks)||r,sx:{"&.MuiSlider-root":{color:o.Ay.secondaryGray.shade500},"& .MuiSlider-rail":{opacity:"1"},"& .MuiSlider-thumb":{width:"24px",height:"24px",background:"#FFFFFF",border:"4px solid ".concat(o.Ay.primary.p2),transform:"translate(-5px, -11px)",boxShadow:"0","&:hover":{boxShadow:"0"}},"& .MuiSlider-mark":{width:"16px",height:"16px",background:o.Ay.secondaryGray.shade400,borderRadius:"50%",opacity:"1",boxShadow:"0","&:hover":{boxShadow:"0"}},"& .MuiSlider-track":{border:0}},...e})})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.