PageSourceSearch

https://scholarden.com/_next/static/chunks/pages/cart/payment-successful-03f2a67b01ee4abf.js

js scholarden.com collected 2026-10-02 05:37:47 UTC 5,755 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9737],{15126:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/cart/payment-successful",function(){return i(72359)}])},5146:function(e,n){"use strict";n.Z={src:"/_next/static/media/Round_tick.0a66dd35.webp",height:168,width:169,blurDataURL:"data:image/webp;base64,UklGRsAAAABXRUJQVlA4WAoAAAAQAAAABwAABwAAQUxQSDwAAAABf6CokRQ2ePQmgj/yiIjAytBPy0WRiENRJKkRSYzgB01oQANmsMMr12tsRPQ/tHwl2Ib40B96QySYli9WUDggXgAAAHACAJ0BKggACAACQDgloAJ0BpAUxEbGxNcAMsAA/vC3v9qRFnsv4Wm0kTOG/MuYp/aJz10mPsMvx+0YXcUtPeI/JeyvxqbzyX1aqmz5w3W2zWAmn0SRbt7dRnCYAAA=",blurWidth:8,blurHeight:8}},72359:function(e,n,i){"use strict";i.r(n),i.d(n,{default:function(){return S}});var t=i(85893),a=i(67294),s=i(11163),o=i(25675),r=i.n(o),c=i(14440),l=i(94246),p=i(97353),d=i(27805),u=i(87066),g=i(5146),h={src:"/_next/static/media/Confetti.23066757.gif",height:450,width:463,blurWidth:0,blurHeight:0},x=i(1630),m=i(19142),f=i(53626),A=i(73327);(0,f.Z)((e=>(0,A.Z)({dialog:{"& .MuiDialog-paper":{width:"80%",[e.breakpoints.only("xs")]:{width:"95%"}}}})));const w=(0,f.Z)((e=>(0,A.Z)({container:{width:"100%",display:"flex",justifyContent:"center",alignItems:"center",padding:e.spacing(10,10),flexDirection:"column",gap:"40px",[e.breakpoints.down("sm")]:{padding:e.spacing(10,3)},[e.breakpoints.only("xs")]:{padding:e.spacing(10,2)}},main:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",gap:"24px"},checkIconWrapper:{display:"flex",justifyContent:"center",alignItems:"center",width:"56px",height:"56px",zIndex:"300",position:"relative","& > img":{objectFit:"contain"}},confetti:{position:"absolute",zIndex:"200",width:"208px",height:"208px",top:"-60px","& > img":{objectFit:"contain"}},textSec:{display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},step:{fontSize:"18px",fontWeight:"400",lineHeight:"140%"},thankyou:{fontSize:"32px",fontWeight:"700",lineHeight:"140%"},message:{color:e.palette.neutralEightHundred.main,textAlign:"center",fontSize:"18px",fontWeight:"400"},continueButton:{width:"303px",padding:"12px 40px",[e.breakpoints.down("sm")]:{width:"100%"}}})));(0,f.Z)((e=>(0,A.Z)({container:{width:"100%",minHeight:e.spacing(6),display:"flex",justifyContent:"center",alignItems:"center",padding:e.spacing(3,10),flexDirection:"column",[e.breakpoints.down("md")]:{padding:e.spacing(3,4)},[e.breakpoints.down("sm")]:{padding:e.spacing(3,0)},[e.breakpoints.only("xs")]:{padding:e.spacing(3,0)}},message:{margin:e.spacing(2,0,1),color:e.palette.neutralSevenHundred.main,textAlign:"center"},ratingWrapper:{padding:e.spacing(.5),"&\t.MuiRating-sizeLarge":{fontSize:e.spacing(6)},[e.breakpoints.only("xs")]:{"&\t.MuiRating-sizeLarge":{fontSize:e.spacing(4.3)}}},commentBox:{resize:"none",padding:e.spacing(2),margin:e.spacing(1,0,2),fontSize:e.spacing(2),color:e.palette.neutralEightHundred.main,outline:"none",border:"1.5px solid ".concat(e.palette.primary.main),borderRadius:e.spacing(.5),"&:focus ":{outline:"none",boxShadow:"0px 0px 5px 0px ".concat(e.palette.primary.main)}},footer:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:e.spacing(.5),width:"100%"},footerButton:{padding:e.spacing(1,6),[e.breakpoints.only("xs")]:{padding:e.spacing(1,3)}}})));var y=i(11039),b=i(52480),v=i(4819),k=i(64565);const R=()=>{var e;const n=(0,s.useRouter)(),[i,o]=(0,a.useState)(!1),[f,A]=(0,a.useState)(!1),[R,S]=(0,a.useState)(!1),E=w(),{userStatus:_}=(0,v.x)(),{session_id:N,service:j}=n.query,C="scholarship-services"===j&&(null==_||null===(e=_.profileEvaluation)||void 0===e?void 0:e.createdAt);return(0,a.useEffect)((()=>{n.isReady&&(async()=>{if(!N||!(null==_?void 0:_.orders)||R)return;const e=N;A(!0);const i={...n.query};delete i.session_id,n.push({query:i});try{o(!0),(await u.Z.post(m.HC,{id:e})).data;const n=_.orders[_.orders.length-1];(0,y.RO)(),(0,b.mG)(n)}catch(e){}finally{R||S(!0),o(!1)}})()}),[n.isReady]),(0,a.useEffect)((()=>{"string"==typeof n.query.session_id||f||n.push({pathname:x.Qjk})}),[n.query.session_id]),!i&&f&&n.isReady?(0,t.jsxs)(c.Z,{className:E.container,children:[(0,t.jsxs)(c.Z,{className:E.main,children:[(0,t.jsx)(c.Z,{className:E.checkIconWrapper,children:(0,t.jsx)(r(),{src:g.Z,alt:"",fill:!0})}),(0,t.jsx)(c.Z,{className:E.confetti,children:(0,t.jsx)(r(),{src:h,alt:"",fill:!0})}),(0,t.jsxs)(c.Z,{className:E.textSec,children:[(0,t.jsx)(l.Z,{className:E.step,sx:{color:"neutralSixHundred.main"},children:"STEP 5 OF 5"}),(0,t.jsx)(l.Z,{className:E.thankyou,sx:{color:"neutralEightHundred.main"},children:"Thank You!"}),(0,t.jsx)(l.Z,{variant:"body",className:E.message,children:"scholarship-adjustment-services"===j?"Payment has been successfully processed.":"evaluation"===j?"Please continue to book a meeting with our expert":C?"Please continue to book a 30 minutes meeting with a scholarship expert":"You have successfully subscribed."})]})]}),(0,t.jsx)(p.Z,{variant:"contained",className:E.continueButton,onClick:()=>{"evaluation"===j?n.replace(x.wSw):"masters-scholarship-services"===j?n.replace(x.Vby):C?n.replace("".concat(x.wSw,"?source=scholarship")):"scholarship-services"===j?n.replace(x.uF8):j===k.D.PROFESSIONAL_US_REQUIREMENT_CV.toLowerCase()?n.replace(x.wwJ):j===k.D.STATEMENT_OF_PURPOSE.toLowerCase()?n.replace(x.jtG):j===k.D.LETTER_OF_RECOMMENDATION.toLowerCase()?n.replace(x.zqC):"scholarship-indiv
1idual-services"===j||j===k.D.VISA_INTERVIEW_PREPARATION.toLowerCase()||"scholarship-adjustment-services"===j?n.replace(x.uF8):(null==_?void 0:_.onboardingSubmissionDate)?n.replace(x.Qjk):n.replace(x.gUN)},children:"evaluation"===j?"Book Now":"Continue"})]}):(0,t.jsx)(d.Z,{})};var S=R;R.authGuard=!0}},function(e){e.O(0,[2888,5014,179],(function(){return n=15126,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.