PageSourceSearch

https://www.goscholar.ai/_next/static/chunks/4343.0a67f94246ce95cb.js

js goscholar.ai collected 2026-10-02 01:13:20 UTC 12,921 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4343],{4343:(e,t,a)=>{a.r(t),a.d(t,{default:()=>j});var i=a(59793),s=a(981),n=a(5776),r=a.n(n),l=a(17892),o=a(76845),d=a(50974),c=a(29219),m=a(1345),x=a(88700),p=a(74614),u=a(93726),h=a(81662),f=a(43432);let y=["#10B981","#34D399","#A7F3D0","#1E293B","#FDE7C1","#F59E0B","#FFFFFF"];function g(e){let{originX:t=.5,originY:a=.45,count:n=140}=e,r=(0,s.useRef)(null);return(0,s.useEffect)(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=r.current,i=null==e?void 0:e.getContext("2d");if(!e||!i)return;let s=Math.min(window.devicePixelRatio||1,2),l=()=>{e.width=window.innerWidth*s,e.height=window.innerHeight*s};l();let o=window.innerWidth<640?Math.round(.6*n):n,d=window.innerWidth*t,c=window.innerHeight*a,m=Array.from({length:o},()=>{let e=-Math.PI/2+(Math.random()-.5)*Math.PI*1.25,t=7+9*Math.random();return{x:d,y:c,vx:Math.cos(e)*t,vy:Math.sin(e)*t,w:5+6*Math.random(),h:3+4*Math.random(),r:Math.random()*Math.PI,vr:(Math.random()-.5)*.35,c:y[Math.random()*y.length|0],life:0}}),x=0,p=performance.now(),u=e=>{let t=e-p;for(let e of(i.setTransform(s,0,0,s,0,0),i.clearRect(0,0,window.innerWidth,window.innerHeight),m))e.vy+=.28,e.vx*=.985,e.vy*=.985,e.x+=e.vx,e.y+=e.vy,e.r+=e.vr,i.save(),i.globalAlpha=Math.max(0,1-t/2600),i.translate(e.x,e.y),i.rotate(e.r),i.fillStyle=e.c,i.fillRect(-e.w/2,-e.h/2,e.w,e.h*Math.abs(Math.cos(2*e.r))),i.restore();t<2700?x=requestAnimationFrame(u):i.clearRect(0,0,window.innerWidth,window.innerHeight)};return x=requestAnimationFrame(u),window.addEventListener("resize",l),()=>{cancelAnimationFrame(x),window.removeEventListener("resize",l)}},[t,a,n]),(0,i.jsx)("canvas",{ref:r,"aria-hidden":!0,className:"pointer-events-none fixed inset-0 z-[260
1] h-full w-full"})}var b=a(46138),w=a(59933);let v=[.25,1,.5,1];function j(e){let{schoolName:t,program:a,country:n,onClose:y}=e,j=(0,o.I)(),[_,N]=(0,s.useState)(j?"letter":"arrive");(0,s.useEffect)(()=>{if("arrive"!==_)return;let e=window.setTimeout(()=>N("sealed"),900);return()=>window.clearTimeout(e)},[_]),(0,s.useEffect)(()=>{if("opening"!==_)return;let e=window.setTimeout(()=>N("letter"),1350);return()=>window.clearTimeout(e)},[_]);let k=!!n&&/^(us|usa|u\.s\.|united states)/i.test(n.trim()),P="opening"===_||"letter"===_,M=[{href:"/visa",icon:x.A,title:k?"Get ready for your F-1 visa interview":"Get ready for your student-visa interview",body:k?"The F-1 is the US student visa. Once the school sends your I-20 — the form that confirms your admission and funding — you can book the interview. Practise it here first.":"Practise the questions visa officers usually ask, at your own pace."},{href:"/resources/financial-aid",icon:p.A,title:"Check your funding and costs",body:"Read the aid offer closely and plan for what it doesn't cover."},{href:"/stories/submit",icon:u.A,title:"Share your story",body:"Your journey could be the one that convinces the next student to apply."}];return(0,i.jsx)(l.bL,{open:!0,onOpenChange:e=>!e&&y(),children:(0,i.jsx)(d.x,{reducedMotion:"user",children:(0,i.jsxs)(l.ZL,{children:[(0,i.jsx)(l.hJ,{asChild:!0,children:(0,i.jsx)(c.PY1.div,{className:"fixed inset-0 z-[240] bg-[radial-gradient(80%_60%_at_50%_40%,#0f3b33_0%,#0b1222_55%,#020617_100%)]",initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.35}})}),(0,i.jsxs)(l.UC,{"aria-describedby":void 0,onOpenAutoFocus:e=>{var t;e.preventDefault(),null===(t=e.currentTarget)||void 0===t||t.focus()},tabIndex:-1,className:"fixed inset-0 z-[241] flex overflow-y-auto px-4 pb-8 pt-16 outline-none sm:py-8",children:[(0,i.jsxs)(l.hE,{className:"sr-only",children:["You got into ",t]}),(0,i.jsx)(l.bm,{className:"fixed right-4 top-4 z-[250] flex h-11 w-11 items-center justify-center rounded-full border border-white/15 bg-white/5 text-white/80 backdrop-blur-md transition-transform duration-150 ease-brand hover:bg-white/10 hover:text-white active:scale-90","aria-label":"Close",children:(0,i.jsx)(h.A,{className:"h-5 w-5"})}),(0,i.jsx)(m.N,{children:"letter"!==_&&(0,i.jsxs)(c.PY1.div,{className:"relative m-auto flex flex-col items-center",exit:{y:80,opacity:0,transition:{duration:.45,ease:v}},children:[(0,i.jsxs)(c.PY1.p,{className:"mb-7 text-center text-sm font-medium tracking-wide text-emerald-green-200/90",initial:{opacity:0,y:-8},animate:{opacity:+("opening"!==_),y:0},transition:{delay:.5*("opening"!==_),duration:"opening"===_?.15:.3},children:["Something for you — ",t]}),(0,i.jsxs)(c.PY1.div,{className:"relative [perspective:1400px]",style:{width:"min(88vw, 440px)",aspectRatio:"1.55 / 1"},initial:{y:-420,rotate:-9,opacity:0},animate:{y:0,rotate:"sealed"===_?[0,-1.2,1.2,0]:0,opacity:1},transition:{y:{type:"spring",stiffness:120,damping:14},opacity:{duration:.2},rotate:"sealed"===_?{duration:.6,delay:2.4,repeat:1/0,repeatDelay:2.4}:{type:"spring",stiffness:120,damping:14}},children:[(0,i.jsx)("div",{className:"absolute inset-0 rounded-[10px] bg-[#e6dcc4] shadow-[0_40px_80px_-24px_rgba(0,0,0,0.75)]"}),(0,i.jsx)("div",{className:"absolute inset-0 rounded-[10px] bg-gradient-to-b from-[#cfc3a6] to-[#e6dcc4]"}),(0,i.jsx)(c.PY1.div,{className:"absolute inset-x-[7%] top-[8%] z-10 h-[84%] rounded-md bg-[#fbf7ee] shadow-md",initial:!1,animate:P?{y:"-58%"}:{y:0},transition:{delay:.55,duration:.7,ease:v},children:(0,i.jsxs)("div",{className:"flex h-full flex-col items-center justify-start gap-2 pt-[9%]",children:[(0,i.jsx)(w.default,{name:"match",size:28}),(0,i.jsx)("div",{className:"h-1.5 w-2/3 rounded bg-gray-300/70"}),(0,i.jsx)("div",{className:"h-1.5 w-1/2 rounded bg-gray-300/60"})]})}),(0,i.jsx)("div",{className:"absolute inset-0 z-[15] rounded-[10px]",style:{background:"#efe6d2",clipPath:"polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%)"}}),(0,i.jsx)("div",{className:"absolute inset-0 z-[15] rounded-[10px]",style:{background:"linear-gradient(160deg, rgba(0,0,0,0.06), transparent 40%)",clipPath:"polygon(0 0, 50% 58%, 0 100%)"}}),(0,i.jsx)("div",{className:"absolute inset-0 z-[15] rounded-[10px]",style:{background:"linear-gradient(200deg, rgba(0,0,0,0.08), transparent 40%)",clipPath:"polygon(100% 0, 50% 58%, 100% 100%)"}}),(0,i.jsxs)(c.PY1.div,{className:"absolute inset-x-0 top-0 h-[62%] origin-top",style:{transformStyle:"preserve-3d"},initial:!1,animate:P?{rotateX:180,zIndex:5}:{rotateX:0,zIndex:20},transition:{rotateX:{duration:.6,ease:v,delay:.15},zIndex:{delay:.4*!!P}},children:[(0,i.jsx)("div",{className:"absolute inset-0 [backface-visibility:hidden]",style:{background:"linear-gradient(180deg, #e9dfc7, #ddd0b3)",clipPath:"polygon(0 0, 100% 0, 50% 100%)",filter:"drop-shadow(0 3px 2px rgba(0,0,0,0.12))"}}),(0,i.jsx)("div",{className:"absolute inset-0 [backface-visibility:hidden] [transform:rotateX(180deg)]",style:{background:"#d6c9aa",clipPath:"polygon(0 0, 100% 0, 50% 100%)"}})]}),(0,i.jsxs)("div",{className:"absolute left-1/2 top-[62%] z-30 -translate-x-1/2 -translate-y-1/2",children:[(0,i.jsx)(m.N,{children:!P&&(0,i.jsxs)(c.PY1.button,{type:"button",onClick:()=>"sealed"===_&&N("opening"),"aria-label":"Break the seal and open",className:"relative flex h-[76px] w-[76px] items-center justify-center rounded-full outline-none focus-visible:ring-4 focus-visible:ring-emerald-green-300/60",initial:{scale:1.8,opacity:0}
1,animate:{scale:1,opacity:1},exit:{scale:1.25,opacity:0,transition:{duration:.25}},transition:{delay:.75,type:"spring",stiffness:380,damping:13},whileHover:{scale:1.06},whileTap:{scale:.92},children:[(0,i.jsx)("span",{className:"absolute inset-0 rounded-[46%_54%_50%_50%/52%_46%_54%_48%] bg-[radial-gradient(circle_at_35%_30%,#34d399_0%,#059669_38%,#064e3b_100%)] shadow-[0_6px_14px_rgba(0,0,0,0.35),inset_0_-4px_8px_rgba(0,0,0,0.3)]"}),(0,i.jsx)("span",{className:"absolute inset-[11px] rounded-full border-2 border-emerald-green-900/40 bg-[radial-gradient(circle_at_40%_35%,#10b981,#047857)] shadow-[inset_0_2px_4px_rgba(255,255,255,0.35),inset_0_-3px_5px_rgba(0,0,0,0.3)]"}),(0,i.jsx)(w.default,{name:"match",size:32,className:"relative"}),(0,i.jsx)("span",{className:"absolute left-[22%] top-[16%] h-3 w-5 -rotate-[25deg] rounded-full bg-white/45 blur-[1px]"})]},"seal")}),P&&[-1,1].map(e=>(0,i.jsx)(c.PY1.span,{"aria-hidden":!0,className:"absolute left-1/2 top-1/2 h-[76px] w-[76px] -translate-x-1/2 -translate-y-1/2 rounded-full bg-[radial-gradient(circle_at_40%_35%,#10b981,#064e3b)]",style:{clipPath:e<0?"polygon(0 0, 55% 0, 42% 50%, 58% 100%, 0 100%)":"polygon(55% 0, 100% 0, 100% 100%, 58% 100%, 42% 50%)"},initial:{x:0,y:0,rotate:0,opacity:1},animate:{x:60*e,y:160,rotate:40*e,opacity:0},transition:{duration:.8,ease:"easeIn"}},e))]})]}),(0,i.jsx)(c.PY1.p,{className:"mt-8 text-xs uppercase tracking-[0.25em] text-white/50",initial:{opacity:0}
1,animate:{opacity:+("sealed"===_)},transition:{delay:.6*("sealed"===_)},children:"Tap the seal to open"})]},"envelope")}),(0,i.jsx)(m.N,{children:"letter"===_&&(0,i.jsxs)(c.PY1.article,{className:"relative m-auto w-full max-w-lg rounded-2xl bg-[#fbf7ee] px-6 py-8 text-gray-900 shadow-[0_50px_100px_-30px_rgba(0,0,0,0.85)] sm:px-10 sm:py-10",initial:{y:120,opacity:0,scale:.9,rotateX:18},animate:{y:0,opacity:1,scale:1,rotateX:0},transition:{type:"spring",stiffness:140,damping:18},style:{transformPerspective:1200},children:[(0,i.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 rounded-2xl opacity-[0.05] [background-image:repeating-linear-gradient(0deg,#000_0_1px,transparent_1px_28px)]"}),(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2 text-emerald-green-800",children:[(0,i.jsx)(w.default,{name:"campus",size:40,className:"-m-0.5"}),(0,i.jsx)("span",{className:"text-xs font-semibold uppercase tracking-[0.22em]",children:"A note from GoScholar"})]}),(0,i.jsxs)(c.PY1.h2,{className:"mt-6 text-3xl font-bold leading-tight sm:text-4xl [font-family:var(--font-display)]",initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.25,duration:.5},children:["You got into ",(0,i.jsx)("span",{className:"text-emerald-green-700",children:t}),"."]}),a&&(0,i.jsx)("p",{className:"mt-2 text-sm text-gray-600",children:a}),(0,i.jsx)(c.PY1.p,{className:"mt-5 text-[15px] leading-relaxed text-gray-700",initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:.45},children:"However many essays, forms and late nights it took — this one is yours. Take a moment with it. When you're ready, here's what usually comes next:"}),(0,i.jsx)("ul",{className:"mt-5 space-y-2.5",children:M.map((e,t)=>(0,i.jsx)(c.PY1.li,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:.6+.1*t},children:(0,i.jsxs)(r(),{href:e.href,onClick:y,className:"group flex items-start gap-3 rounded-xl border border-[#e8dfc9] bg-white/60 p-3 transition-[transform,background-color] duration-200 ease-brand hover:-translate-y-0.5 hover:bg-white active:scale-[0.99]",children:[(0,i.jsx)("span",{className:"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-emerald-green-50 text-emerald-green-700",children:(0,i.jsx)(e.icon,{className:"h-4 w-4"})}),(0,i.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,i.jsx)("span",{className:"block text-sm font-semibold text-gray-900",children:e.title}),(0,i.jsx)("span",{className:"block text-xs leading-relaxed text-gray-500",children:e.body})]}),(0,i.jsx)(f.A,{className:"mt-2 h-4 w-4 shrink-0 text-gray-400 transition-transform duration-200 ease-brand group-hover:translate-x-0.5 group-hover:text-emerald-green-700"})]})},e.href))}),(0,i.jsx)("p",{className:"mt-7 text-sm italic text-gray-700 [font-family:var(--font-display)]",children:"— With pride, the GoScholar team"}),(0,i.jsxs)("p",{className:"mt-4 border-t border-[#e8dfc9] pt-3 text-xs leading-relaxed text-gray-500",children:["This is a celebration from GoScholar, not an official letter from ",t,". Keep your real offer letter and follow the school's instructions for accepting it."]}),(0,i.jsxs)("div",{className:"mt-5 flex flex-col gap-2.5 sm:flex-row",children:[(k||!n)&&(0,i.jsxs)(r(),{href:"/campus?moment=graduation&from=envelope",onClick:()=>{(0,b.Lp)("campus_film_cta_clicked",{source:"envelope"}),y()},"aria-label":"Visit your campus: walk a 3D campus at golden hour",className:"inline-flex min-h-[44px] w-full items-center justify-center gap-2 rounded-xl bg-emerald-green-700 text-sm font-semibold text-white transition-transform duration-150 ease-brand hover:bg-emerald-green-800 active:scale-[0.98] sm:w-auto sm:px-6",children:[(0,i.jsx)(w.default,{name:"campus",size:18,play:"hover"}),"Visit your campus"]}),(0,i.jsx)("button",{type:"button",onClick:y,className:"inline-flex min-h-[44px] w-full items-center justify-center rounded-xl bg-gray-900 text-sm font-semibold text-white transition-transform duration-150 ease-brand hover:bg-gray-800 active:scale-[0.98] sm:w-auto sm:px-6",children:"Back to my tracker"})]})]})]},"letter")}),"letter"===_&&!j&&(0,i.jsx)(g,{originY:.35})]})]})})})}}}]);

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.