PageSourceSearch

https://scholarden.com/_next/static/chunks/pages/sat/diagnostic-7bd4b9af53dcfe85.js

js scholarden.com collected 2026-10-02 05:39:35 UTC 7,942 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9307],{68771:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sat/diagnostic",function(){return n(74700)}])},7441:function(t,e,n){"use strict";n.d(e,{d:function(){return i}});const i=[{id:"id",label:"Q No. ",minWidth:100,align:"center"},{id:"userAnswer",label:"Status",minWidth:100,align:"center"},{id:"marked",label:"Marked",minWidth:100,align:"center"},{id:"action",label:"Action",minWidth:100,align:"center"}]},74700:function(t,e,n){"use strict";n.r(e);var i=n(85893),a=n(11163),o=n(67294),s=n(4819),r=n(59979),u=n(32174),c=n(7441),d=n(18922),l=n(78624),p=n(66674),m=n(1630),g=n(9008),f=n.n(g),h=n(27805),x=n(39593);const b=()=>{const[t,e]=(0,o.useState)(!0),[n,g]=(0,o.useState)([]),[x,b]=(0,o.useState)(null),[y,w]=(0,o.useState)(!1),[k,q]=(0,o.useState)(-1),[j,T]=(0,o.useState)(2100),{userStatus:v}=(0,s.x)(),C=(0,a.useRouter)(),S=(0,p.O)(),A=()=>{w(!1),(0,l.p1)("diagnostic-section",0)},R="sat";return(0,o.useEffect)((()=>{if(!v)return;const t=v.satDiagnosticSessionStatus;if("completed"===t)return void C.replace("".concat(m.O8t));(async()=>{const n=await(0,d.p7)(t,v.userId,"sat-maths",R);n&&(e(!1),g(n.diagnosticQuestionsArray),T(n.timeLeft))})()}),[v]),(0,o.useEffect)((()=>{if(!n.length||t)return;const e=n.findIndex((t=>t.current));q(-1!==e?e:0)}),[n]),(0,o.useEffect)((()=>{n.length&&-1!==k&&b(n[k])}),[k]),(0,o.useEffect)((()=>{if(!x||!j)return;const t=setInterval((()=>{T((t=>t-1))}),1e3);return()=>clearInterval(t)}),[j,x]),(0,o.useEffect)((()=>{x&&v&&(0,d.c)(v.userId,j,n,"sat-maths",R)}),[x]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(f(),{children:[(0,i.jsx)("title",{children:"GRE FREE Self-Assessment | Scholar Den"}),(0,i.jsx)("meta",{name:"description",content:"Take the  GRE Quantitative Self-Assessment and choose the option that best answers the question. "}),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1"}),(0,i.jsx)("meta",{property:"og:title",content:"GRE FREE Self-Assessment | Scholar Den"}),(0,i.jsx)("meta",{property:"og:type",content:"website"}),(0,i.jsx)("meta",{property:"og:url",content:"https://www.scholarden.com/diagnostic"}),(0,i.jsx)("meta",{property:"og:image",content:m.hRj}),(0,i.jsx)("meta",{property:"og:image",content:m.hRj}),(0,i.jsx)("meta",{property:"og:description",content:"Take the  GRE Quantitative Self-Assessment and choose the option that best answers the question. "}),(0,i.jsx)("meta",{property:"og:site_name",content:"Scholar Den"}),(0,i.jsx)("meta",{property:"og:image:width",content:"450"}),(0,i.jsx)("meta",{property:"og:image:height",content:"298"}),(0,i.jsx)("meta",{property:"fb:app_id",content:"1840306979332866"}),(0,i.jsx)("meta",{name:"ahrefs-site-verification",content:"efcea81437a056be665f683dbfabb8ba3930d97c7dd8f60b6516f6ab234aeab7"}),(0,i.jsx)("meta",{name:"facebook-domain-verification",content:"bbdgukvahs5hejy7tql8ft85u5ympt"}),(0,i.jsx)("meta",{name:"csrf-param",content:"authenticity_token"}),(0,i.jsx)("meta",{name:"csrf-token",content:"EmGSdGyaabqde9vQ1b+DAtAtuifun2RYlETGK8yHa3Tuk4FZ/NvWzTWUEuHAbaaCOUiKZqIQDt7NqHoCg9+KTg=="})]}),(0,i.jsxs)(r.Z,{className:S.container,children:[(0,i.jsx)(u.Ks,{title:"Self-Assessment",subtitle:"Test",backLink:m._Rq}),(0,i.jsx)("div",{id:"diagnostic-section"}),t?(0,i.jsx)(h.Z,{}):(0,i.jsxs)(i.Fragment,{children:[x&&(0,i.jsx)(u.lD,{...x,timeLeft:j,showAttemptStatus:!1,totalQuestions:n.length,currentQuestionNumber:k+1,getPreviousQuestion:(t,e)=>{g((n=>n.map(((n,i)=>{if(i===k){const{id:i,imgData:a,options:o,questionText:s,questionTitle:r,questionType:u,quantityA:c,quantityB:d,attemptResult:l,marked:p,userPace:m}=n;return{id:i,imgData:a,marked:p,options:o,questionText:s,questionTitle:r,questionType:u,quantityA:c,quantityB:d,attemptResult:l,userPace:m+e,userAnswer:t,attempted:Boolean(t.length)}}return i===k-1?{...n,current:!0}:n}))))},getNextQuestion:(t,e)=>{g((n=>n.map(((n,i)=>{if(i===k){const{id:i,imgData:a,options:o,questionText:s,questionTitle:r,questionType:u,quantityA:c,quantityB:d,attemptResult:l,userPace:p,marked:m}=n;return{id:i,imgData:a,options:o,marked:m,questionText:s,questionTitle:r,questionType:u,quantityA:c,quantityB:d,attemptResult:l,userPace:p+e,userAnswer:t,attempted:Boolean(t.length)}}return i===k+1?{...n,current:!0}:n}))))},toggleQuestionMarkedStatus:(t,e)=>{const i=n.find((t=>t.id===e));i&&(g((n=>n.map((n=>n.id===e?{...n,marked:t}:n)))),b({...i,marked:t}))},showReviewSection:()=>{w(!0),(0,l.p1)("review",60)},finishSection:()=>{v&&(0,d.Sx)(v.userId,v.userEmail,v.name,n,"sat-maths",R)}}),(0,i.jsx)("div",{id:"review"}),n.length&&y&&(0,i.jsx)(u.zZ,{questions:n,timer:j,currentQuestionIdx:k,openARandomQuestion:t=>{g((e=>e.map(((e,n)=>{if(n===k){const{id:t,imgData:n,options:i,questionText:a,questionTitle:o,questionType:s,quantityA:r,quantityB:u,userAnswer:c,attemptResult:d,marked:l,userPace:p}=e;return{id:t,imgData:n,marked:l,options:i,questionText:a,questionTitle:o,questionType:s,quantityA:r,quantityB:u,attemptResult:d,userPace:p,userAnswer:c,attempted:Boolean(c.length)}}return n===t?{...e,current:!0}:e})))),A()},handleCloseReviewSection:A,tableColumnHead:c.d})]})]})]})};b.authGuard=!0,b.getLayout=t=>(0,i.jsx)(x.L,{children:t}),e.default=b},66674:function(t,e,n){"use strict";n.d(e,{O:function(){return o}});var i=n(53626),a=n(73327);const o=(0,i.Z)((t=>(0,a.Z)({container:{backgroundColor:t.palette.backgroundColorOne.main,padding:t.spacing(3,6),maxWidth:"100%",minHeight:"100vh",[t.breakpoints.down("sm")]:{padding:t.spacing(3,2)}},titleContainer:{display:"flex",justifyContent:"space-between","& span":{color:t.palette.neutralSevenHundred.main}},titleAndSection:{"& h3":{textTransform:"capitalize",color:t.palette.neutralEightHundred.main}},reviewInstructionsAndCircularProgress:{display:"flex",padding:t.spacing(4,6),backgroundColor:t.palette.backgroundColor.main,[t.breakpoints.down("md")]:{flexDirection:"column-reverse",padding:t.spacing(4,3)},[t.breakpoints.down("sm")]:{padding:t.spacing(4,2)}},reviewInstructions:{flex:"75%",flexGrow:"0",paddingRight:t.spacing(2),borderRight:"1px solid ".concat(t.palette.neutralFourHundred.main),"& h4":{marginBottom:t.spacing(2)},"& span":{marginBottom:t.spacing(1)},"& button":{marginTop:t.spacing(2)},[t.breakpoints.down("md")]:{borderRight:"none",borderTop:"1px solid ".concat(t.palette.neutralFourHundred.main),paddingRight:"0",paddingTop:t.spacing(4),marginTop:t.spacing(2),flex:"100%"}},circularProgressContainer:{margin:"0 auto",display:"flex",flexDirection:"column",gap:t.spacing(4),justifyContent:"space-evenly",alignItems:"center",[t.breakpoints.down("md")]:{flexDirection:"row"}},attemptsContainer:{marginTop:t.spacing(8)},tableBodyCell:{backgroundColor:t.palette.backgroundColor.main},tableBodyCellAction:{color:t.palette.primary.main,backgroundColor:t.palette.backgroundColor.main,textDecoration:"underline",cursor:"pointer"},sixtySecondsPauseBox:{marginTop:t.spacing(4),borderRadius:t.spacing(.5),padding:t.spacing(4),display:"flex",justifyContent:"space-between",backgroundColor:t.palette.backgroundColor.main},sixtySecondsPauseBoxContent:{flex:"80%",flexGrow:"0",borderRight:"1px solid ".concat(t.palette.neutralFourHundred.main),"& h4":{color:t.palette.neutralEightHundred.main,marginBottom:t.spacing(2)},"& span":{color:t.palette.neutralSevenHundred.main,marginBottom:t.spacing(4)}},finishModalContainer:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:t.spacing(4,2),[t.breakpoints.down("sm")]:{padding:t.spacing(4,2)}},buttonContainer:{display:"flex",alignItems:"center",justifyContent:"center",gap:t.spacing(2),width:"100%",[t.breakpoints.down(360)]:{flexDirection:"column"},"& button":{width:200,height:48,[t.breakpoints.down(360)]:{width:"100%"}},"& .crossIcon":{cursor:"pointer",position:"absolute",top:"20px",right:"20px"}}})))}},function(t){t.O(0,[9593,2888,5014,179],(function(){return e=68771,t(t.
1s=e);var e}));var e=t.O();_N_E=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.