PageSourceSearch

https://investigen.ai/_next/static/chunks/pages/products/calculator/goal-2e9848a077b1e10f.js

js investigen.ai collected 2026-10-05 12:21:54 UTC 6,102 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2289],{22536:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/products/calculator/goal",function(){return i(69036)}])},42863:function(e,t,i){"use strict";i.d(t,{z:function(){return S}});var n=i(85893),r=i(49246),o=i(73981),s=i(29615),l=i(93635),a=i(13526),c=i(67294),u=i(25675),d=i.n(u),h=i(89205),p=i(50788),x=i(11163),f=i(33299),m=i(31093),g=i(179);let j=(0,m.E)(r.K),b=(0,m.E)(o.x),w=e=>{let{onClick:t}=e;return(0,n.jsxs)(o.x,{as:"button",onClick:e=>{e.stopPropagation(),t()},px:1.5,py:.5,borderRadius:"full",fontSize:"8px",fontWeight:"bold",color:"white",whiteSpace:"nowrap",position:"relative",overflow:"hidden",cursor:"pointer",border:"none",style:{background:"linear-gradient(135deg, #f97316, #ec4899, #a855f7)",backgroundSize:"200% 200%",animation:"gradientShift 2s ease infinite"},_hover:{transform:"scale(1.05)",transition:"transform 0.2s"},children:[(0,n.jsx)("style",{children:"\n      @keyframes gradientShift {\n        0% { background-position: 0% 50%; }\n        50% { background-position: 100% 50%; }\n        100% { background-position: 0% 50%; }\n      }\n    "}),"⭐ Upgrade"]})};function v(){var e;let t=(0,x.useRouter)(),{data:i}=(0,f.useSession)(),[a,u]=(0,c.useState)(!1),[m,v]=(0,c.useState)(-1),{pathname:S}=t,F=(null==i?void 0:null===(e=i.user)||void 0===e?void 0:e.product_list)||{};(0,c.useEffect)(()=>{let e=()=>{window.innerWidth<1100?u(!1):u(!0)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let k=h.R.filter(e=>!e.hidden).map(e=>{var t;let i={"/calculator":"Calculator","/fmiq":"FM IQ","/ahp-model":"Factor Model Whitelist","/fund-flare":"Fund Flare","/create-portfolio":"Portfolio Construction","/rebalance":"Portfolio Rebalancing","/sebi-chatbot":"SEBI MF Chatbot","/shortlist":"Scheme Shortlist"}[e.pathname]||null,n=i&&(null===(t=F[i])||void 0===t?void 0:t.access)==="YES";return{...e,hasAccess:!i||n}}),E=e=>!!e.pathname&&S.includes(e.pathname),z=e=>{var t;return null===(t=e.submenu)||void 0===t?void 0:t.some(e=>S.includes(e.pathname))},C=e=>m===e||z(k[e]);return(0,n.jsxs)(j,{gap:0,borderRight:"1px solid #e4e4e4",boxShadow:"4px 0px 10px 0px #00000014",animate:{width:a?240:60},children:[(0,n.jsx)(o.x,{color:"#5B616E",bg:"#EFF2FA",p:2,m:2,width:"40px",cursor:"pointer",onClick:()=>{window.innerWidth<1100||u(!a)},children:a?(0,n.jsx)(p.xdf,{size:20}):(0,n.jsx)(p.eDK,{size:20})}),(0,n.jsx)(o.x,{flex:"1",overflow:"auto",children:k.map((e,i)=>(0,n.jsxs)(c.Fragment,{children:[(0,n.jsxs)(s.U,{px:5,py:3,gap:3,cursor:"pointer",bgColor:E(e)||z(e)?"#E1E8FA":"white",onClick:()=>{e.submenu&&e.hasAccess?v(m===i?-1:i):e.pathname&&e.hasAccess?t.push("/products".concat(e.pathname)):e.pathname&&!e.hasAccess&&t.push("/price/pricing-plan")},_hover:{bgColor:E(e)||z(e)?"#E1E8FA":"#F5F5F5"},children:[(0,n.jsx)(d(),{src:e.icon,alt:e.title,width:20,height:20}),a&&(0,n.jsxs)(s.U,{flex:1,justify:"space-between",children:[(0,n.jsx)(l.x,{fontSize:"sm",color:E(e)||z(e)?"blue":"black",textWrap:"nowrap",overflow:"hidden",children:e.title}),e.hasAccess?e.submenu?(0,n.jsx)(o.x,{children:C(i)?(0,n.jsx)(p.rWj,{size:16}):(0,n.jsx)(p.Ix0,{size:16})}):null:(0,n.jsx)(w,{onClick:()=>t.push("/price/pricing-plan")})]})]}),a&&e.submenu&&e.hasAccess&&(0,n.jsx)(b,{px:5,initial:{height:0},animate:{height:C(i)?"auto":0},overflow:"hidden",children:e.submenu.map(e=>(0,n.jsx)(l.x,{ml:4,my:3,fontSize:"sm",color:E(e)?"blue":"black",cursor:"pointer",onClick:()=>t.push("/products".concat(e.pathname)),_hover:{color:"blue"},children:e.title},e.title))})]},e.title))}),(0,n.jsxs)(r.K,{fontSize:"sm",gap:4,padding:5,textWrap:"nowrap",bgColor:"white",color:"blue.600",children:[(0,n.jsxs)(s.U,{cursor:"pointer",overflow:"hidden",children:[(0,n.jsx)(o.x,{children:(0,n.jsx)(p.POW,{size:20})}),a&&(0,n.jsx)(l.x,{children:"Support"})]}),(0,n.jsxs)(s.U,{cursor:"pointer",overflow:"hidden",onClick:g.hY,children:[(0,n.jsx)(o.x,{children:(0,n.jsx)(p.lE7,{size:20})}),a&&(0,n.jsx)(l.x,{children:"Logout"})]})]})]})}let S=e=>(0,n.jsx)(F,{children:e}),F=e=>{let{children:t}=e,{data:i,status:r}=(0,f.useSession)(),s=(0,x.useRouter)();return(0,c.useEffect)(()=>
1{if("loading"===r)return;if("authenticated"!==r||!(null==i?void 0:i.user)){s.replace("/login");return}let e=["/login","/signup","/verify"].includes(s.pathname),t="/profile"===s.pathname;if(!e&&!t&&(!i.user.type||!i.user.logo)){s.replace("/profile");return}},[r,i,s,s.pathname]),(0,n.jsxs)(a.k,{height:"100%",children:[(0,n.jsx)(v,{}),(0,n.jsx)(o.x,{flex:"1",overflow:"auto",children:t})]})}},69036:function(e,t,i){"use strict";i.r(t);var n=i(85893),r=i(13526),o=i(66096),s=i(15543),l=i(29615),a=i(49246),c=i(93635),u=i(18718),d=i(11163),h=i(42863);let p=()=>{let e=(0,d.useRouter)();return(0,n.jsxs)(r.k,{direction:"column",align:"center",justify:"center",minH:"90vh",px:4,textAlign:"center",bg:"linear-gradient( #0954BA4D 0% , #FFA22717 9%, #FFFFFF33 90%)",children:[(0,n.jsx)(o.X,{mb:2,fontSize:"3xl",fontWeight:"bold",mt:12,color:"#0854BA",children:"Welcome to Goal Calculator"}),(0,n.jsx)(s.E,{src:"/Icons/digital-calc.png",alt:"digital",boxSize:"50px",mb:6,mt:6}),(0,n.jsxs)(l.U,{spacing:10,mb:8,flexWrap:"wrap",justify:"center",mt:6,children:[(0,n.jsx)(x,{icon:"⚙️",title:"Select Quick Questions",text:"Pariatur sint laborum cillum aute consectetur iure."}),(0,n.jsx)(x,{icon:"\uD83D\uDCCA",title:"View Summary",text:"Pariatur sint laborum cillum aute consectetur iure."}),(0,n.jsx)(x,{icon:"\uD83D\uDD0D",title:"Compare Schemes",text:"Pariatur sint laborum cillum aute consectetur iure."})]}),(0,n.jsx)(u.Z,{colorScheme:"blue",px:12,py:6,borderRadius:"full",onClick:()=>e.push("/products/calculator/goal/goal"),children:"Start"})]})},x=e=>{let{icon:t,title:i,text:r}=e;return(0,n.jsxs)(a.K,{maxW:"200px",spacing:2,children:[(0,n.jsx)(c.x,{fontSize:"2xl",children:t}),(0,n.jsx)(c.x,{fontWeight:"semibold",color:"#FFA227",children:i}),(0,n.jsx)(c.x,{fontSize:"sm",color:"gray.500",children:r})]})};p.getLayout=h.z,t.default=p}},function(e){e.O(0,[1093,2888,9774,179],function(){return e(e.s=22536)}),_N_E=e.O()}]);

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.