PageSourceSearch

https://leverageedu.vercel.app/_next/static/chunks/pages/referral/dashboard-309a6c1d39434721.js

js leverageedu.vercel.app collected 2026-10-03 07:17:01 UTC 52,266 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7159,3212,8074,6673,1548,1433,6547],{67981:function(e,a,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/referral/dashboard",function(){return n(12201)}])},38074:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return m}});var r=n(4111),s=n(51438),t=n(52951),o=n(14924),l=n(88029),i=n(60460),c=n(85893),d=n(67294),u=n(93967),h=n.n(u),p=n(23212),m=function(e){(0,l.Z)(n,e);var a=(0,i.Z)(n);function n(e){var t;return(0,s.Z)(this,n),t=a.call(this,e),(0,o.Z)((0,r.Z)(t),"componentDidUpdate",function(){var e,a=t.props,n=a.settings,r=a.close;clearTimeout(e),(void 0===n?{}:n).show&&(e=setTimeout(function(){r()},5e3))}),t}return(0,t.Z)(n,[{key:"render",value:function(){var e=this.props,a=e.settings,n=void 0===a?{}:a,r=(e.open,e.close),s="";switch(n.type){case"success":s="success";break;case"danger":s="danger";break;case"warning":s="warning";break;case"info":s="info";break;default:s="default"}var t=n.show,o=h()(s,t?"fadeIn open":"fadeOut hide");return(0,c.jsx)(d.Fragment,{children:(0,c.jsxs)("section",{id:"noobNotification",className:o,onClick:r,children:[(0,c.jsx)("img",{src:p.EW+"assets/img/icons/"+("danger"==s?"wrong.svg":"right.svg"),className:"icon",alt:""}),"   ",n.message]})})}}]),n}(d.Component)},27899:function(e,a,n){"use strict";n.d(a,{I3:function(){return t},bK:function(){return s},dk:function(){return r}});var r={studyAbroad:{title:"STUDY GLOBAL",links:[{label:"Study in UK",url:"/study-locations/study-in-uk/"},{label:"Study in USA",url:"/study-locations/study-in-usa/"},{label:"Study in Ireland",url:"/study-locations/study-in-ireland/"},{label:"Study in Canada",url:"/study-locations/study-in-canada/"},{label:"Study in Germany",url:"/study-locations/study-in-germany/"},{label:"Study in Dubai",url:"/study-locations/study-in-dubai/"},{label:"Study in France",url:"/study-locations/study-in-france/"},{label:"Study in Europe",url:"/study-locations/study-in-europe/"},{label:"Study in Italy",url:"/study-locations/study-in-italy/"},]},workGlobal:{title:"WORK GLOBAL",links:[{label:"Registered Nurse, Germany",url:"#"},{label:"Caregiver, Japan",url:"#"},{label:"Ausbildung, Germany",url:"#"},{label:"Registered Nurse, USA",url:"#"},]},localDegrees:{title:"STUDY LOCAL",links:[{label:"MSc Supply Chain Management",url:"https://www.aston.ac.uk/study/courses/supply-chain-management-msc"},{label:"BSc (Hons) Health and Social Care",url:"https://www.rcl.ac.uk/courses/detail/bsc-hons-health-and-social-care/"},{label:"HND in Construction Management",url:"https://globalbanking.ac.uk/courses/hnd-in-construction-management-for-england-construction-design-and-build-technician/"},{label:"MSc Data Analytics",url:"https://www.londonmet.ac.uk/courses/postgraduate/data-analytics---msc/"},{label:"Master of Computer Science (Applied AI)",url:"https://www.unf.ca/programs/master-of-computer-science-applied-artificial-intelligence"},{label:"BSc Nursing (Bilingual)",url:"https://laurentian.ca/academics/program/nursing"},{label:"Master of Business Administration",url:"https://www.ucanwest.ca/programs/graduate/master-of-business-administration"},]},offerings:{title:"OFFERINGS",links:[{label:"Study Global",url:"/study-global/"},{label:"Work Global",url:"/work-global/"},{label:"Learn Online",url:"/learn-online/"},{label:"Study Local",url:"/study-local/"},]},platforms:{title:"PLATFORM",links:[{label:"Financial Services",url:"https://fly.finance/"},{label:"Affordable & Safe Housing",url:"https://fly.homes/"},{label:"Visa, Consular & Citizen Services",url:"https://compass.biz/"},{label:"Continuous Career Support",url:"https://leveragecareers.com/"},]},company:{title:"COMPANY",links:[{label:"About Us",url:"/about/"},{label:"Our Virtues",url:"/virtues/"},{label:"Work with Us",url:"/work-with-us/"},{label:"Success Stories",url:"/success-stories/"},{label:"Experience Centres",url:"/experience-centres/"},{label:"For Education Consultants",url:"https://studentops360.com/"},]},resources:{title:"RESOURCES",links:[{label:"LOR",url:"/blog/lor/"},{label:"SOP",url:"/blog/category/sop/"},{label:"IELTS",url:"/tests/ielts-exam/"},{label:"GMAT",url:"/tests/gmat-exam/"},{label:"GRE",url:"/tests/gre/"},{label:"SAT",url:"/tests/sat-exam/"},{label:"TOEFL",url:"/tests/toefl/"},{label:"PTE",url:"/tests/pte-exam/"},]},otherLinks:{title:"OTHER LINKS",links:[{label:"Privacy Policy",url:"/privacy-policy/"},{label:"Terms & Conditions",url:"/terms-and-conditions/"},{label:"Responsible Disclosure Policy",url:"/responsible-disclosure-policy/"},{label:"EEO Policy",url:"/eeo-policy/"},{label:"Agent Selection Guide",url:"https://study-uk.shorthandstories.com/study-uk-a-student-guide-to-choosing-an-education-agent/index.html"},{label:"National Code UK",url:"https://www.britishcouncil.org/sites/default/files/the_national_code_of_ethical_practice_for_uk_education_agents.pdf"},{label:"AIRC Certificate",url:"/AIRC-Certificate/"},{label:"Students & Parents Guide",url:"".concat("https://lepublicassets.leverageedu.com","/students_and_parents_guide_to_choosing_an_education_agent.pdf"),newTab:!0},]}},s="Copyright \xa9 2026, Leverage Edu. All rights reserved.",t=["Copyright \xa9 2026, Leverage Edu.","All rights reserved."]},67775:function(e,a,n){"use strict";n.r(a);var r=n(85893),s=n(67294),t=n(27176),o=n.n(t),l=n(11573),i=n(56684),c=[{key:"global",label:"GLOBAL HQ"},{key:"corporate",label:"CORPORATE OFFICES"},{key:"experienceCenter",label:"EXPERIENCE CENTRES"}
1,],d=function(){var e,a=(0,s.useState)("global"),n=a[0],t=a[1],d=(0,s.useState)(0),u=d[0],h=d[1],p=(null===(e=l.C[n])||void 0===e?void 0:e.content)||[],m=p[u],_=(0,s.useCallback)(function(e){t(e),h(0)},[]),f=(0,s.useCallback)(function(e){h(e)},[]);return(0,r.jsx)("section",{className:o().footerMap,"aria-label":"Global offices and locations",children:(0,r.jsxs)("div",{className:"".concat(o().inner," container"),children:[(0,r.jsx)("div",{className:o().tabs,children:c.map(function(e,a){return(0,r.jsxs)("span",{children:[(0,r.jsx)("button",{className:"".concat(o().tabBtn," ").concat(n===e.key?o().active:""),onClick:function(){return _(e.key)},children:e.label}),a<c.length-1&&(0,r.jsx)("span",{className:o().separator,children:"/"})]},e.key)})}),(0,r.jsxs)("div",{className:o().content,children:[(0,r.jsx)("div",{className:o().officeList,children:p.map(function(e,a){return(0,r.jsxs)("div",{className:"".concat(o().officeCard," ").concat(u===a?o().selected:""),onClick:function(){return f(a)},children:[(0,r.jsx)("p",{className:o().officeName,children:e.officeName}),(0,r.jsx)("p",{className:o().officeAddress,children:e.officeAddress})]},a)})}),(0,r.jsx)("div",{className:o().mapContainer,children:m&&(0,r.jsx)(i.Z,{apiKey:"AIzaSyD-rpS9B858ewcDwWpTM-zMU6D1A6cumQo",center:m.officeCoordinates,zoom:15,markers:m,mapClass:o().map,setGoogleMap:function(){}})}),(0,r.jsxs)("div",{className:o().appDownload,children:[(0,r.jsx)("p",{className:o().downloadTitle,children:"Download Leverage Edu App"}),(0,r.jsx)("img",{src:"".concat("https://publicassets.leverageedu.com","/homepage/homepageV4/footer/LE%20App%20QR%20Code.png"),alt:"QR Code",className:o().qrCode}),(0,r.jsxs)("div",{className:o().storeBadges,children:[(0,r.jsxs)("a",{href:"https://apps.apple.com/app/apple-store/id1590845967?pt=122430854&ct=le_homepage&mt=8",target:"_blank",rel:"noopener noreferrer",className:o().storeBadge,children:[(0,r.jsx)("img",{src:"".concat("https://publicassets.leverageedu.com","/homepage/homepageV4/footer/Link.png"),alt:"Download on the App Store",className:o().appStoreDesktop}),(0,r.jsx)("img",{src:"".concat("https://publicassets.leverageedu.com","/homepage/homepageV4/footer/appstoreMobile.png"),alt:"Download on the App Store",className:o().appStoreMobile})]}),(0,r.jsxs)("a",{href:"https://play.google.com/store/apps/details?id=com.leverageedu.leverageedu&referrer=utm_source%3Dle_homepage",target:"_blank",rel:"noopener noreferrer",className:o().storeBadge,children:[(0,r.jsx)("img",{src:"".concat("https://publicassets.leverageedu.com","/homepage/homepageV4/footer/Link%20%281%29.png"),alt:"Get it on Google Play",className:o().gplayDesktop}),(0,r.jsx)("img",{src:"".concat("https://publicassets.leverageedu.com","/homepage/homepageV4/footer/gplayMobile.png"),alt:"Get it on Google Play",className:o().gplayMobile})]})]})]})]})]})})};a.default=d},91548:function(e,a,n){"use strict";n.r(a);var r=n(85893),s=n(93092),t=n(64359),o=n.n(t),l=[{name:"Instagram",url:"https://www.instagram.com/leverageedu/?hl=en",icon:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,r.jsx)("path",{d:"M20.75 5.00098H10.25C7.3505 5.00098 5 7.35148 5 10.251V20.751C5 23.6505 7.3505 26.001 10.25 26.001H20.75C23.6495 26.001 26 23.6505 26 20.751V10.251C26 7.35148 23.6495 5.00098 20.75 5.00098Z",fill:"black","fill-opacity":"1"}),(0,r.jsx)("path",{d:"M19.7003 14.8398C19.8299 15.7137 19.6806 16.6061 19.2737 17.3903C18.8669 18.1744 18.2231 18.8103 17.434 19.2074C16.6449 19.6046 15.7506 19.7429 14.8785 19.6025C14.0063 19.4622 13.2005 19.0504 12.5759 18.4257C11.9512 17.801 11.5394 16.9953 11.399 16.1231C11.2587 15.2509 11.3969 14.3567 11.7941 13.5676C12.1913 12.7785 12.8272 12.1347 13.6113 11.7278C14.3955 11.321 15.2879 11.1717 16.1618 11.3013C17.0531 11.4335 17.8784 11.8488 18.5156 12.486C19.1527 13.1232 19.5681 13.9484 19.7003 14.8398Z",stroke:"white","stroke-width":"2.42299","stroke-linecap":"round","stroke-linejoin":"round"}),(0,r.jsx)("path",{d:"M21.2773 9.72656H21.2879",stroke:"white","stroke-width":"2.42299","stroke-linecap":"round","stroke-linejoin":"round"})]})},{name:"Facebook",url:"https://www.facebook.com/LeverageEdu/",icon:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:(0,r.jsx)("path",{d:"M21.666 5.00098H18.4844C17.078 5.00098 15.7292 5.55966 14.7348 6.55411C13.7403 7.54857 13.1816 8.89734 13.1816 10.3037V13.4854H10V17.7275H13.1816V26.2119H17.4238V17.7275H20.6055L21.666 13.4854H17.4238V10.3037C17.4238 10.0224 17.5356 9.75268 17.7345 9.55379C17.9333 9.3549 18.2031 9.24316 18.4844 9.24316H21.666V5.00098Z",fill:"black","fill-opacity":"1"})})},{name:"LinkedIn",url:"https://in.linkedin.com/company/leverage-edu/",icon:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,r.jsx)("path",{d:"M26.9942 26.0012V26.0004H26.9994V18.2989C26.9994 14.5313 26.1883 11.6289 21.7837 11.6289C19.6662 11.6289 18.2453 12.791 17.6652 13.8924H17.604V11.9806H13.4277V26.0004H17.7765V19.0583C1
17.7765 17.2305 18.123 15.4629 20.3864 15.4629C22.6168 15.4629 22.6499 17.5489 22.6499 19.1753V26.0012H26.9942Z",fill:"black","fill-opacity":"1"}),(0,r.jsx)("path",{d:"M6.3457 11.9814H10.6997V26.0012H6.3457V11.9814Z",fill:"black","fill-opacity":"1"}),(0,r.jsx)("path",{d:"M8.52178 5.00098C7.12951 5.00098 6 6.13049 6 7.52275C6 8.91502 7.12951 10.0682 8.52178 10.0682C9.91404 10.0682 11.0436 8.91502 11.0436 7.52275C11.0425 6.13049 9.91299 5.00098 8.52178 5.00098Z",fill:"black","fill-opacity":"1"})]})},{name:"YouTube",url:"https://www.youtube.com/c/LeverageEdu",icon:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,r.jsx)("path",{d:"M4.60108 21.8442C3.79964 18.062 3.79964 14.1539 4.60108 10.3717C4.70639 9.98758 4.90985 9.63751 5.19147 9.3559C5.47308 9.07428 5.82315 8.87082 6.20724 8.76551C12.3605 7.74613 18.6395 7.74613 24.7928 8.76551C25.1769 8.87082 25.5269 9.07428 25.8085 9.3559C26.0901 9.63751 26.2936 9.98758 26.3989 10.3717C27.2004 14.1539 27.2004 18.062 26.3989 21.8442C26.2936 22.2283 26.0901 22.5784 25.8085 22.86C25.5269 23.1416 25.1769 23.3451 24.7928 23.4504C18.6395 24.47 12.3605 24.47 6.20724 23.4504C5.82315 23.3451 5.47308 23.1416 5.19147 22.86C4.90985 22.5784 4.70639 22.2283 4.60108 21.8442Z",fill:"black","fill-opacity":"1"}),(0,r.jsx)("path",{d:"M13.207 19.5505L18.9433 16.1088L13.207 12.667V19.5505Z",fill:"white"})]})},{name:"X",url:"https://twitter.com/leverageedu",icon:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:(0,r.jsx)("path",{d:"M17.43 14.5849L23.9542 7.00098H22.4082L16.7432 13.586L12.2186 7.00098H7L13.8421 16.9586L7 24.9115H8.54612L14.5285 17.9575L19.3068 24.9115H24.5254L17.4296 14.5849H17.43ZM15.3124 17.0464L14.6191 16.0548L9.10321 8.16487H11.478L15.9294 14.5323L16.6226 15.5239L22.4089 23.8005H20.0342L15.3124 17.0467V17.0464Z",fill:"black","fill-opacity":"1"})})},],i={phone:"1800-572-000",hello:"[email protected]",press:"[email protected]"},c=[{name:"ICEF Accredited",src:"https://publicassets.leverageedu.com/homepage/homepageV4/partners/icef.png",className:"partnerIcef"},{name:"British Council",src:"https://publicassets.leverageedu.com/homepage/homepageV4/partners/british-council.png",className:"partnerBritish"},{name:"AIRC Certified",src:"https://publicassets.leverageedu.com/homepage/homepageV4/partners/airc.png",className:"partnerAirc"},],d=function(e){var a=e.logo,n=e.showPartners,t=e.showPhone;return(0,r.jsx)("section",{className:o().socialBand,"aria-label":"Social media and contact information",children:(0,r.jsxs)("div",{className:o().content,children:[(0,r.jsx)("img",{src:a||"".concat(s.Z.PUBLIC_ASSETS_S3_URL,"/landing-pages-new/logo-dark.svg"),alt:"Leverage Edu",className:o().logo}),(0,r.jsxs)("h2",{className:o().heading,children:[(0,r.jsxs)("span",{className:o().headingDesktop,children:["Building Global Careers, ",(0,r.jsx)("br",{}),"for the AI Economy of Tomorrow"]}),(0,r.jsxs)("span",{className:o().headingMobile,"aria-hidden":"true",children:[(0,r.jsx)("span",{className:o().headingLine1,children:"Building Global Careers,"}),(0,r.jsx)("span",{className:o().headingLine2,children:"for the AI Economy of Tomorrow"})]})]}),(0,r.jsxs)("div",{className:o().contactInfo,children:[(void 0===t||t)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("a",{onClick:function(){return window.gtag&&window.gtag("event","phone_number_click",{value:"phone_number_click"})},href:"tel:1800572000",children:i.phone}),(0,r.jsx)("span",{className:o().contactSeparator,children:"/"})]}),(0,r.jsx)("a",{href:"mailto:".concat(i.hello),children:i.hello}),(0,r.jsx)("span",{className:o().contactSeparator,children:"/"}),(0,r.jsx)("a",{href:"mailto:".concat(i.press),children:i.press})]}),(0,r.jsx)("div",{className:o().icons,children:l.map(function(e){return(0,r.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:o().iconLink,"aria-label":e.name,children:e.icon},e.name)})}),(void 0===n||n)&&(0,r.jsxs)("div",{className:o().partners,children:[(0,r.jsx)("p",{className:o().partnersLabel,children:"Proudly associated with"}),(0,r.jsx)("div",{className:o().partnerLogos,children:c.map(function(e){return(0,r.jsx)("img",{src:e.src,alt:e.name,className:"".concat(o().partnerLogo," ").concat(o()[e.className])},e.name)})})]})]})})};a.default=d},15840:function(e,a,n){"use strict";n.d(a,{Z:function(){return l}});var r=n(85893);n(67294);var s=n(2157),t=n.n(s),o=n(11163);function l(e){var a="/shorelight-referral"==(0,o.useRouter)().pathname||"shorelight"==e.partner;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:t().contentWrapper,children:[(0,r.jsxs)("div",{className:t().stepsWrapper,children:[(0,r.jsx)("h2",{className:t().heading,children:(0,r.jsx)("span",{children:"How does it work"})}),(0,r.jsx)("div",{className:t().listWrapper,children:(0,r.jsxs)("ul",{className:"list-unstyled pl-5",children:[(0,r.jsxs)("li",{children:[(0,r.jsx)("div",{className:t().listHeading,children:"Step 1"}),(0,r.jsx)("div",{className:t().listText,children:"Create an account on leverageedu.com or, login via your existing Leverage Edu account."})]}),(0,r.jsxs)("li",{children:[(0,r.jsx)("div",{className:t().listHeading,children:"Step 2"}),(0,r.jsx)("div",{className:t().listText,children:"Share your unique referral link with your network. Or, you can enter student details via a form on your referral page."})]}),(0,r.jsxs)("li",{children:[(0,r.jsx)("div",{className:t().listHeading,children:"Step 3"}),(0,r.jsx)("div",{className:t().listText,children:"You will be getting a notification once a student enrolls with Leverage Edu."})]}),(0,r.jsxs)("li",{children:[(0,r.jsx)("div",{className:t().listHeading,children:"Step 4"}),(0,r.jsx)("div",{className:t().listText,children:a?"You can track the student journey till he/she gets an admission offer, pays a deposit fee to the university and gets a visa":"Track the student journey till he/she gets an admission offer and pays a deposit fee to the university of his/her choice"})]}),(0,r.jsxs)("li",{children:[(0,r.jsx)("div",{className:t().listHeading,children:"Step 5"}),(0,r.jsx)("div",{className:t().listText,children:"As soon as the student completes his/her application to at least one university, we will be sending you a reward worth ₹500 within a week (applicable only when referred student is an Indian citizen)."})]}),(0,r.jsxs)("li",{children:[(0,r.jsx)("div",{className:t().listHeading,children:"Step 6"}),(0,r.jsx)("div",{className:t().listText,children:a?"As soon as the student receives their visa for USA, we will send you a reward worth ₹20,000 within 10 working days (the reward will be equivalent to ₹10,000 if student is a non-Indian)":"As s
1oon as the student receives & submits the visa copy to us, we will send you a reward worth ₹20,000 within 10 working days (the reward will be equivalent to ₹10,000 if student is a non-Indian)"})]}),a&&(0,r.jsxs)("li",{children:[(0,r.jsx)("div",{className:t().listHeading,children:"Step 7"}),(0,r.jsx)("div",{className:t().listText,children:"Go to leverageedurewards.com to track and redeem your earnings"})]})]})})]}),(0,r.jsxs)("div",{className:t().noteWrapper,children:[(0,r.jsx)("div",{className:t().note,children:"Note"}),(0,r.jsxs)("ul",{className:t().list,children:[(0,r.jsx)("li",{children:"If the referred student is already registered with us, he/she will not be considered as a valid referral."}),(0,r.jsx)("li",{children:"You will not be provided any details of your referees’ study preferences or any other admission related/ personal information."})]})]})]})})}},23212:function(e,a,n){"use strict";n.d(a,{EW:function(){return o},JG:function(){return t},Wj:function(){return l},eE:function(){return d},hl:function(){return h},nP:function(){return p},qv:function(){return i},wp:function(){return c},y7:function(){return s},zo:function(){return u}});var r=n(83454),s="Leverage Edu - Your Trusted Study Abroad Expert",t="End-to-end support for students including course shortlisting, applications, visa, education loans, international money transfer & more.",o="https://images.leverageedu.com/",l="https://publicassets.leverageedu.com/",i="https://leverageedu.com/account/user/login",c="".concat("https://api.leverageedu.com/services/integrations/"),d="".concat("https://assets.leverageedu.com"),u="".concat("https://images.leverageedu.com");(r.env.NEXT_PUBLIC_STUDY_LOCATION_FACT_ICONS_BASE||"https://8khev4a50phv2e5g-public.s3.amazonaws.com/study-locations/fact-icons").replace(/\/$/,"");var h="https://api.leverageedu.com/services/ip/",p={OFE:"offline_experience",NAS:"nas_scholarship",IELTS:"ielts_analyzer",OFE_EVENTS:"offline_experience_events",CF:"courseFinder",SIE:"study_in_europe",WORKGLOBAL:"work_global"}},40262:function(e,a,n){"use strict";n.d(a,{BC:function(){return t},O6:function(){return c},fm:function(){return l},hp:function(){return o},iU:function(){return s},r1:function(){return i}});var r=n(828),s=function(e,a){var n=document.querySelector(e).getBoundingClientRect().top+window.pageYOffset+-a;window.scrollTo({top:n,behavior:"smooth"})},t=function(e){var a=e.src,n=e.width;return"".concat("https://images.leverageedu.com").concat(a,"?w=").concat(n)},o=function(e){return e?(/^[?#]/.test(e)?e.slice(1):e).split("&").reduce(function(e,a){var n=(0,r.Z)(a.split("="),2),s=n[0],t=n[1];return e[s]=t?decodeURIComponent(t.replace(/\+/g," ")):"",e},{}):{}},l=function(){var e,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=a.charAt(0).toUpperCase();return n+a.slice(1)},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/^[a-zA-Z\s]*$/g.test(e)},c=function(e){return Object.entries(e).filter(function(e){var a=(0,r.Z)(e,2);return a[0],a[1]}).map(function(e){var a=(0,r.Z)(e,2),n=a[0],s=a[1];return"".concat(n,"=").concat(encodeURIComponent(s))}).join("&")}},93092:function(e,a){"use strict";a.Z={PUBLIC_ASSETS_S3_URL:"https://publicassets.leverageedu.com",LEVERAGEEDUNEW_S3_URL:"https://images.leverageedu.com",ipServiceUrl:"https://api.leverageedu.com/services/ip",portalServiceUrl:"https://api.leverageedu.com/services/sspold"}},12201:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return K}});var r=n(47568),s=n(97582),t=n(85893),o=n(67294),l=n(11163),i=n(9008),c=n.n(i),d=n(96245),u=n(9669),h=n.n(u),p=n(58918),m=n.n(p),_=n(61923),f=n(38074),b=n(15840),v=n(27561),g=n(91548),x=n(67775),j=n(73285),N=n(90634),w=n.n(N),y=n(40262),S="".concat("https://publicassets.leverageedu.com","/scholarship/referralLoggedInHeroBg.webp"),C=function(e){var a=e.partner,n=e.onLearnHowItWorks;return(0,t.jsxs)("section",{className:w().hero,"aria-label":"Dashboard Hero",children:[(0,t.jsxs)("div",{className:w().left,children:[(0,t.jsxs)("h1",{className:w().heading,children:["Hi Leverage Edu",a&&" X ".concat((0,y.fm)(a)),(0,t.jsx)("br",{}),"Ambassador!"]}),(0,t.jsx)("button",{type:"button",className:w().ctaButton,onClick:n,children:"Learn how it works"})]}),(0,t.jsx)("div",{className:w().right,children:(0,t.jsx)("img",{src:S,alt:"",className:w().heroImage})})]})},L=n(29815),R=n(67555),k=n.n(R);n(86408);var B=n(21818),E=n(9013),I=n.n(E),M=function(){return(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,t.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",stroke:"white",strokeWidth:"2"}),(0,t.jsx)("path",{d:"M5 15H4C2.89543 15 2 14.1046 2 13V4C2 2.89543 2.89543 2 4 2H13C14.1046 2 15 2.89543 15 4V5",stroke:"white",strokeWidth:"2"})]})},D=function(){return(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"
1currentColor",children:(0,t.jsx)("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})})},A=function(){return(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,t.jsx)("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}),(0,t.jsx)("path",{d:"M22 7L12 13L2 7"})]})},T=function(e){e.referralCode;var a=e.referralLink,n=e.shareUrl,r=e.shareSubject,s=e.onCopy,l=e.copyNotification,i=e.onSubmit,c=e.formLoader,d=e.onWhatsappAnalytics,u=e.onEmailAnalytics,h=(0,o.useState)([{name:{value:"",error:""},mobile:{value:"",error:"",country_code:""},country:{name:""}},]),p=h[0],m=h[1],_=(0,o.useState)(""),f=_[0],b=_[1],v=function(e,a){var n=a.target.value,r=(0,L.Z)(p);"name"===a.target.name?(0,y.r1)(n)?(r[e].name.error="",r[e].name.value=n):r[e].name.error="Name: only characters allowed":"mobile"===a.target.name&&(r[e].mobile.value=n,isNaN(n)?r[e].mobile.error="Mobile Number: only digits allowed":r[e].mobile.error=""),m(r)},g=function(e,a){var n=(0,L.Z)(p);n[0].mobile.value=e.slice(a.dialCode.length),n[0].mobile.country_code=a.dialCode,n[0].country.name=a.name,b(e),m(n)},x=p.some(function(e){return""!==e.name.error}),j=p.some(function(e){return""!==e.mobile.error}),N=p.some(function(e){return e.name.value.length<1}),w=p.some(function(e){return e.mobile.value.length<1}),S="91"===p[0].mobile.country_code?10!==p[0].mobile.value.toString().length:p[0].mobile.value.toString().length<=6,C=x||j||N||w||c||S,R=function(e){e.preventDefault(),C||(i(p),m([{name:{value:"",error:""},mobile:{value:"",error:"",country_code:""},country:{name:""}},]),b("+91"))};return(0,t.jsx)("section",{className:I().section,children:(0,t.jsxs)("div",{className:I().container,children:[(0,t.jsxs)("div",{className:I().formCard,children:[(0,t.jsxs)("div",{className:I().fieldGroup,children:[(0,t.jsx)("h2",{className:I().fieldLabel,children:"Refer a Friend"}),(0,t.jsxs)("div",{className:I().copyRow,children:[(0,t.jsx)("input",{className:I().linkInput,value:a,readOnly:!0}),(0,t.jsx)("button",{type:"button",className:I().copyButton,onClick:s,title:"Copy referral link",children:(0,t.jsx)(M,{})})]}),l&&(0,t.jsx)("span",{className:I().copySuccess,children:l})]}),(0,t.jsxs)("div",{className:I().fieldGroup,children:[(0,t.jsx)("h2",{className:I().fieldLabel,children:"Or Share Via"}),(0,t.jsxs)("div",{className:I().shareRow,children:[(0,t.jsx)("div",{className:I().whatsappButton,onClick:d,children:(0,t.jsx)(B.N0,{url:n,children:(0,t.jsxs)("span",{className:I().shareBtnInner,children:[(0,t.jsx)(D,{}),(0,t.jsx)("span",{children:"WhatsApp"})]})})}),(0,t.jsx)("div",{className:I().emailButton,onClick:u,children:(0,t.jsx)(B.cG,{url:n,subject:r,children:(0,t.jsxs)("span",{className:I().shareBtnInner,children:[(0,t.jsx)(A,{}),(0,t.jsx)("span",{children:"Email"})]})})})]})]}),(0,t.jsxs)("div",{className:I().fieldGroup,children:[(0,t.jsx)("h2",{className:I().fieldLabel,children:"Or Submit via form"}),p.map(function(e,a){return(0,t.jsxs)("div",{className:I().formRow,children:[(0,t.jsxs)("div",{className:I().inputWrapper,children:[(0,t.jsx)("input",{type:"text",name:"name",placeholder:"Your Friend's Full Name",className:I().input,value:e.name.value,onChange:function(e){return v(a,e)}}),e.name.error&&(0,t.jsx)("span",{className:I().error,children:e.name.error})]}),(0,t.jsxs)("div",{className:I().inputWrapper,children:[(0,t.jsx)("div",{className:I().phoneWrapper,children:(0,t.jsx)(k(),{placeholder:"Phone number",countryCodeEditable:!1,
1country:"in",value:f,onChange:g,excludeCountries:["pk"]})}),e.mobile.error&&(0,t.jsx)("span",{className:I().error,children:e.mobile.error})]})]},a)})]}),(0,t.jsx)("button",{type:"button",className:I().submitButton,onClick:R,disabled:C,style:{opacity:C?.6:1},children:c?"Submitting...":"Submit Referral"})]}),(0,t.jsxs)("div",{className:I().noteBox,children:[(0,t.jsx)("p",{className:I().noteLabel,children:"Note:"}),(0,t.jsx)("ul",{className:I().noteList,children:(0,t.jsx)("li",{className:I().noteItem,children:"If the referred student doesn't register with the phone number provided by you, we will not consider the student as your referral."})})]})]})})},H=n(29289),V=n.n(H),F=function(e){var a,n,r,s,o,l,i,c,d,u,h,p,m,_,f,b,v,g,x=e.earningData,j=[{label:"Application Submitted",count:null!==(h=null==x?void 0:null===(a=x.applicationIncentive)||void 0===a?void 0:a.count)&&void 0!==h?h:0,earnings:"₹".concat(null!==(p=null==x?void 0:null===(n=x.applicationIncentive)||void 0===n?void 0:n.earnings)&&void 0!==p?p:"0"),isTotal:!1},{label:"Visa Approved (Indian Student)",count:null!==(m=null==x?void 0:null===(r=x.depositIncentive)||void 0===r?void 0:null===(s=r.indianStudent)||void 0===s?void 0:s.count)&&void 0!==m?m:0,earnings:"₹".concat(null!==(_=null==x?void 0:null===(o=x.depositIncentive)||void 0===o?void 0:null===(l=o.indianStudent)||void 0===l?void 0:l.earnings)&&void 0!==_?_:"0"),isTotal:!1},{label:"Visa Approved (Non-Indian Student)",count:null!==(f=null==x?void 0:null===(i=x.depositIncentive)||void 0===i?void 0:null===(c=i.internationalStudent)||void 0===c?void 0:c.count)&&void 0!==f?f:0,earnings:"₹".concat(null!==(b=null==x?void 0:null===(d=x.depositIncentive)||void 0===d?void 0:null===(u=d.internationalStudent)||void 0===u?void 0:u.earnings)&&void 0!==b?b:"0"),isTotal:!1},{label:"Total",count:null!==(v=null==x?void 0:x.allRefcount)&&void 0!==v?v:0,earnings:"₹".concat(null!==(g=null==x?void 0:x.total)&&void 0!==g?g:"0"),isTotal:!0},];return(0,t.jsx)("section",{className:V().section,"aria-label":"Current Earnings",children:(0,t.jsxs)("div",{className:V().container,children:[(0,t.jsxs)("div",{className:V().left,children:[(0,t.jsx)("h2",{className:V().heading,children:"Your Current Earnings"}),(0,t.jsxs)("div",{className:V().table,children:[(0,t.jsxs)("div",{className:"".concat(V().row," ").concat(V().headerRow),children:[(0,t.jsx)("div",{className:V().cellStatus,children:"Status"}),(0,t.jsx)("div",{className:V().cellCount,children:"No.of Students"}),(0,t.jsx)("div",{className:V().cellEarnings,children:"Rewards Earned"})]}),j.map(function(e,a){return(0,t.jsxs)("div",{className:"".concat(V().row," ").concat(e.isTotal?V().headerRow:""," ").concat(a%2==0||e.isTotal?"":V().altRow),children:[(0,t.jsx)("div",{className:"".concat(V().cellStatus," ").concat(e.isTotal?V().cellBold:""),children:e.label}),(0,t.jsx)("div",{className:V().cellCount,children:e.count}),(0,t.jsx)("div",{className:V().cellEarnings,children:e.earnings})]},a)})]})]}),(0,t.jsx)("div",{className:V().right,children:(0,t.jsx)("img",{src:"https://publicassets.leverageedu.com/scholarship/refer_and_earn.png",alt:"",className:V().image})})]})})},O=n(32260),G=n.n(O),W=[{number:"01",label:"Document Shared",position:"top"},{number:"02",label:"Application Submitted",position:"bottom",reward:"Referee will be eligible for a reward of ₹500",note:"*Applicable for only Indian students"},{number:"03",label:"Offer Received",position:"top"},{number:"04",label:"Offer Accepted",position:"bottom"},{number:"05",label:"Deposit Paid",position:"top"},{number:"06",label:"Visa Approved",position:"bottom",reward:"Referee will be eligible for a reward of ₹20,000",note:"**₹10,000 for non-Indian students"},{number:"07",label:"Registered at University",position:"top"},],U=function(){return(0,t.jsx)("section",{className:G().section,"aria-label":"Ideal student journey",children:(0,t.jsxs)("div",{className:G().container,children:[(0,t.jsx)("h2",{className:G().heading,children:"Ideal student journey"}),(0,t.jsxs)("div",{className:G().timeline,children:[(0,t.jsx)("div",{className:G().labelsRow,children:W.map(function(e){return(0,t.jsx)("div",{className:G().labelCell,children:"top"===e.position&&(0,t.jsx)("p",{className:G().stepLabel,children:e.label})},e.number)})}),(0,t.jsx)("div",{className:G().connectorsRow,children:W.map(function(e){return(0,t.jsx)("div",{className:G().connectorCell,children:"top"===e.position&&(0,t.jsx)("div",{className:G().connector})},e.number)})}),(0,t.jsxs)("div",{className:G().circlesRow,children:[(0,t.jsx)("div",{className:G().dashedLine}),W.map(function(e){return(0,t.jsx)("div",{className:G().circleCell,children:(0,t.jsx)("div",{className:G().circle,children:(0,t.jsx)("span",{children:e.number})})},e.number)})]}),(0,t.jsx)("div",{className:G().connectorsRow,children:W.map(function(e){return(0,t.jsx)("div",{className:G().connectorCell,children:"bottom"===e.position&&(0,t.jsx)("div",{className:G().connector})},e.number)})}),(0,t.jsx)("div",{className:G().labelsRow,children:W.map(function(e){return(0,t.jsx)("div",{className:G().labelCellBottom,children:"bottom"===e.position&&(0,t.jsxs)("div",{className:G().stepInfo,children:[(0,t.jsx)("p",{className:G().stepLabel,children:e.label}),e.reward&&(0,t.jsx)("p",{className:G().rewardText,children:e.reward}),e.note&&(0,t.jsx)("p",{className:G().rewardNote,children:e.note})]})},e.number)})})]}),(0,t.jsx)("div",{className:G().timelineMobile,children:W.map(function(e,a){return(0,t.jsxs)("div",{className:G().mobileStep,children:[(0,t.jsxs)("div",{className:G().mobileLeft,children:[(0,t.jsx)("div",{className:G().circle,children:(0,t.jsx)("span",{children:e.number})}),a<W.length-1&&(0,t.jsx)("div",{className:G().mobileConnector})]}),(0,t.jsxs)("div",{className:G().mobileContent,children:[(0,t.jsx)("p",{className:G().stepLabel,children:e.label}),e.reward&&(0,t.jsx)("p",{className:G().rewardText,children:e.reward}),e.note&&(0,t.jsx)("p",{className:G().rewardNote,children:e.note})]})]},e.number)})}),(0,t.jsxs)("div",{className:G().noteBox,children:[(0,t.jsx)("p",{className:G().noteLabel,children:"Note:"}),(0,t.jsx)("ul",{className:G().noteList,children:(0,t.jsx)("li",{className:G().noteItem,children:"If student doesn't meet academic requirements, then he/she 
1can get rejected by the university."})})]})]})})},J=n(30381),Y=n.n(J),Z=n(41067),P=n.n(Z),z=function(e){var a=e.isOpen;return(0,t.jsx)("svg",{className:"".concat(P().chevron," ").concat(a?P().chevronOpen:""),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,t.jsx)("path",{d:"M6 9L12 15L18 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},q=function(e){var a,n,r,s,l,i,c,d,u,h,p,m,_,f,b=e.incentiveData,v=void 0===b?[]:b,g=(0,o.useState)(-1),x=g[0],j=g[1],N=function(e){j(x===e?-1:e)},w=v.length>=1;return(0,t.jsx)("section",{className:P().section,"aria-label":"Referred Students",children:(0,t.jsxs)("div",{className:P().container,children:[(0,t.jsx)("h2",{className:P().heading,children:"Referred Students"}),w?(0,t.jsx)("div",{className:P().studentList,children:v.map(function(e,o){return(0,t.jsxs)("div",{className:"".concat(P().studentCard," ").concat(x===o?P().studentCardOpen:""),children:[(0,t.jsxs)("button",{type:"button",className:P().studentHeader,onClick:function(){return N(o)},children:[(0,t.jsxs)("div",{className:P().desktopRow,children:[(0,t.jsxs)("div",{className:P().col,children:[(0,t.jsx)("span",{className:P().colLabel,children:"Referred Student"}),(0,t.jsx)("span",{className:P().colValue,children:null!==(a=null==e?void 0:e.name)&&void 0!==a?a:"-"})]}),(0,t.jsxs)("div",{className:P().col,children:[(0,t.jsx)("span",{className:P().colLabel,children:"Referred Date"}),(0,t.jsx)("span",{className:P().colValue,children:(null==e?void 0:e.referralDate)?Y()(e.referralDate).format("DD-MM-YYYY"):"-"})]}),(0,t.jsxs)("div",{className:P().col,children:[(0,t.jsx)("span",{className:P().colLabel,children:"Current Status"}),(0,t.jsx)("span",{className:P().colValue,children:null!==(n=null==e?void 0:e.currentStatus)&&void 0!==n?n:"-"})]}),(0,t.jsxs)("div",{className:P().col,children:[(0,t.jsx)("span",{className:P().colLabel,children:"Payout Date"}),(0,t.jsx)("span",{className:P().colValue,children:(null==e?void 0:e.payoutDate)?Y()(e.payoutDate).format("DD-MM-YYYY"):"-"})]}),(0,t.jsxs)("div",{className:P().col,children:[(0,t.jsx)("span",{className:P().colLabel,children:"Nationality"}),(0,t.jsx)("span",{className:P().colValue,children:null!==(r=null==e?void 0:e.nationality)&&void 0!==r?r:"-"})]}),(0,t.jsxs)("div",{className:P().col,children:[(0,t.jsx)("span",{className:P().colLabel,children:"Reward Earned"}),(0,t.jsxs)("span",{className:P().colValue,children:["₹",null!==(s=null==e?void 0:e.amount)&&void 0!==s?s:"0"]})]})]}),(0,t.jsxs)("div",{className:P().mobileRow,children:[(0,t.jsxs)("div",{className:P().mobileRowInner,children:[(0,t.jsx)("span",{className:P().colLabel,children:"Referred Student"}),(0,t.jsx)("span",{className:P().colValue,children:null!==(l=null==e?void 0:e.name)&&void 0!==l?l:"-"})]}),(0,t.jsxs)("div",{className:P().mobileRowInner,children:[(0,t.jsx)("span",{className:P().colLabel,children:"Reward Earned"}),(0,t.jsxs)("span",{className:P().colValue,children:["₹",null!==(i=null==e?void 0:e.amount)&&void 0!==i?i:"0"]})]})]}),(0,t.jsx)(z,{isOpen:x===o})]}),x===o&&(0,t.jsxs)("div",{className:P().studentDetails,children:[(0,t.jsxs)("div",{className:P().desktopRow,children:[(0,t.jsxs)("div",{className:P().col,children:[(0,t.jsx)("span",{className:P().colLabel,children:"Valid/Invalid*"}),(0,t.jsx)("span",{className:P().colValue,children:null!==(c=null==e?void 0:e.status)&&void 0!==c?c:"-"})]}),(0,t.jsxs)("div",{className:P().col,children:[(0,t.jsx)("span",{className:P().colLabel,children:"Reason for Rejection"}),(0,t.jsx)("span",{className:P().colValue,children:null!==(d=null==e?void 0:e.remarks)&&void 0!==d?d:"-"})]}),(0,t.jsxs)("div",{className:P().col,children:[(0,t.jsx)("span",{className:P().colLabel,children:"Reward Milestone"}),(0,t.jsx)("span",{className:P().colValue,children:null!==(u=null==e?void 0:e.rewardMilestone)&&void 0!==u?u:"-"})]}),(0,t.jsxs)("div",{className:P().col,children:[(0,t.jsx)("span",{className:P().colLabel,children:"Milestone Date"}),(0,t.jsx)("span",{className:P().colValue,children:(null==e?void 0:e.milestoneDate)?Y()(e.milestoneDate).format("DD-MM-YYYY"):"-"})]}),(0,t.jsx)("div",{className:P().col}),(0,t.jsx)("div",{className:P().col})]}),(0,t.jsx)("div",{className:P().mobileDetails,children:[{label:"Referred Date",value:(null==e?void 0:e.referralDate)?Y()(e.referralDate).format("DD-MM-YYYY"):"-"},{label:"Current Status",value:null!==(h=null==e?void 0:e.currentStatus)&&void 0!==h?h:"-"},{label:"Nationality",value:null!==(p=null==e?void 0:e.nationality)&&void 0!==p?p:"-"},{label:"Payout Date",value:(null==e?void 0:e.payoutDate)?Y()(e.payoutDate).format("DD-MM-YYYY"):"-"},{label:"Valid/Invalid",value:null!==(m=null==e?void 0:e.status)&&void 0!==m?m:"-"},{label:"Reason for Rejection",value:null!==(_=null==e?void 0:e.remarks)&&void 0!==_?_:"-"},{label:"Reward Milestone",value:null!==(f=null==e?void 0:e.rewardMilestone)&&void 0!==f?f:"-"},{label:"Milestone Date",value:(null==e?void 0:e.milestoneDate)?Y()(e.milestoneDate).format("DD-MM-YYYY"):"-"},].map(function(e,a){return(0,t.jsxs)("div",{className:P().mobileDetailRow,children:[(0,t.jsx)("span",{className:P().colLabel,children:e.label}),(0,t.jsx)("span",{className:P().colValue,children:e.value})]},a)})})]})]},o)})}):(0,t.jsx)("div",{className:P().emptyState,children:(0,t.jsx)("p",{className:P().emptyText,children:"No Referred Student Found"})}),(0,t.jsxs)("div",{className:P().noteBox,children:[(0,t.jsx)("p",{className:P().noteLabel,children:"Note:"}),(0,t.jsx)("ul",{className:P().noteList,children:(0,t.jsx)("li",{className:P().noteItem,children:"If student is already registered with Leverage Edu, he/she will not be considered a valid referral."})})]})]})})},K=function(){var e=function(){var e,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(a){var n=new URLSearchParams(window.location.search),r=(0,_.Ai)(),s={user_id:null==r?void 0:null===(e=r.user)||void 0===e?void 0:e.user_id,activity_type:a,redirection:n.get("referral_redirect")||!1,referralCode:n.get("referredCode")||"",internal_referral_code:n.get("internal_referral_code")||""};try{h().post("".concat("https://api.leverageedu.com/services","/sspold/api/log-event"),s)}catch(t){console.error(t)}}},a=(0,l.useRouter)(),n=(0,o.useState)(!1),i=n[0],u=n[1],p=(0,o.useState)(""),N=p[0],w=p[1],y=(0,o.useState)(!1),S=y[0],L=y[1],R=(0,o.useState)(""),k=R[0],B=R[1],E=(0,o.useState)(""),I=E[0],M=E[1],D=(0,o.useState)(null),A=D[0],H=D[1],V=(0,o.useState)([]),O=V[0],G=V[1],W=(0,o.useState)(!1),J=W[0],Y=W[1],Z=(0,o.useState)(!1),P=Z[0],z=Z[1],K=(0,o.useState)(""),X=K[0],Q=K[1],$=(0,o.useState)(200),ee=$[0],ea=$[1],en=(0,o.useState)(""),er=en[0],es=en[1],et=(0,o.useState)(""),eo=et[0],el=et[1],ei=(0,o.useState)(!1),ec=(ei[0],ei[1]),ed=(0,o.useState)(""),eu=ed[0],eh=ed[1],ep=(0,o.useState)(!1),em=ep[0],e_=ep[1],ef="".concat("https://api.leverageedu.com/services/sspold","/api"),eb="".concat(N,"/studyabroadreferralsignup?refer="),ev="Hi!\nLeverage Edu has helped 45,000+ students receive offers from top universities in UK, US, Australia and Canada.\n\nUse my link to book your free counselling session with a study abroad expert to kick start your global career. ".concat(eb),eg=(0,o.useState)(""),ex=eg[0],ej=eg[1];(0,o.useEffect)(function(){w(window.location.origin);var e,a,n=localStorage.getItem("token");n&&((0,d.Z)(n),L(!0)),B(sessionStorage.getItem("partner")||"");var r=(0,_.Ai)();ej("Leverage Edu | ".concat(null!==(a=null==r?void 0:null===(e=r.user)||void 0===e?void 0:e.user_fname)&&void 0!==a?a:""," thinks you should get started on your study abroad journey"))},[]),(0,o.useEffect)(function(){var e,a,n,r,s,t;e=window,a=document,e.hj=e.hj||function(){(e.hj.q=e.hj.q||[]).push(arguments)},e._hjSettings={hjid:3106208,hjsv:6},s=a.getElementsByTagName("head")[0],(t=a.createElement("script")).async=1,t.src="https://static.hotjar.com/c/hotjar-"+e._hjSettings.hjid+".js?sv="+e._hjSettings.hjsv,s.appendChild(t)},[]),(0,o.useEffect)(function(){i&&(k?a.replace("/".concat(k,"-referral")):a.replace("/referral"))},[i]),(0,o.useEffect)(function(){if(S){var a,n=new URLSearchParams(window.location.search).get("internal_referral_code")||"";n&&es(n),window.scrollTo(0,0),e("referral_dashboard_page_visit"),(a=(0,r.Z)(function(){var e,a,r,t,o,l,i,c,d,u,p,m,_,f,b;return(0,s.__generator)(this,function(a){switch(a.label){case 0:return a.trys.push([0,9,,10]),[4,fetch("".concat(ef,"/get-referral-code"),{method:"GET",headers:{"Content-Type":"application/json",Authorization:localStorage.getItem("token")}})];case 1:return[4,a.sent().json()];case 2:if(M(t=a.sent().Data.referral_code),o=n?"&utm_campaign=referral_email&internal_referral_code=".concat(n):"&utm_campaign=referral_email",el(ev+t+o),!localStorage.getItem("referral_student_id"))return[3,4];return d={referral_code:t,id:localStorage.getItem("referral_student_id")},n&&(d.internal_referral_code=n),[4,h().post("".concat("https://api.leverageedu.com/services/sspold","/api/map-user"),d,{headers:{"Content-Type":"application/json",Authorization:localStorage.getItem("token")}})];case 3:(null==(u=a.sent())?void 0:null===(l=u.data)||void 0===l?void 0:null===(i=l.meta)||void 0===i?void 0:i.code)===200&&(localStorage.removeItem("referral_student_id"),ea(200),Q("Referred Successfully"),z(!0)),a.label=4;case 4:return[4,fetch("".concat(ef,"/v2/get-total-earning"),{method:"GET",headers:{"Content-Type":"application/json",Authorization:localStorage.getItem("token")}})];case 5:case 7:return[4,a.sent().json()];case 6:return H(null==(m=a.sent())?void 0:null===(e=m.Data)||void 0===e?void 0:e.finalResponse),[4,fetch("".concat(ef,"/v2/get-referral-incentives"),{method:"GET",headers:{"Content-Type":"application/json",Authorization:localStorage.getItem("token")}})];case 8:return G(a.sent().Data||[]),[3,10];case 9:return b=a.sent(),console.error("Dashboard fetch error:",b),[3,10];case 10:return[2]}})}),function(){return a.apply(this,arguments)})()}},[S]);var eN,ew=function(){ec(!0),e("link_copy"),eh("Referral Code has been copied successfully");var a=er?"&utm_campaign=referral_copy_link&internal_referral_code=".concat(er):"&utm_campaign=referral_copy_link";navigator.clipboard.writeText(eb+I+a),setTimeout(function(){ec(!1),eh("")},2e3)},ey=(eN=(0,r.Z)(function(a){var n,r,t,o,l,i;return(0,s.__generator)(this,function(r){switch(r.label){case 0:e("referral_dashboard_form_submit"),Y(!0),n={referralCode:I,formData:a},er&&(n.internal_referral_code=er),"shorelight"===k&&(n.campaign_name="sl_referral"),r.label=1;case 1:return r.trys.push([1,6,,7]),[4,fetch("".concat("https://api.leverageedu.com/services/sspold","/api/v2/fill-ref-form"),{method:"POST",headers:{"Content-Type":"application/json",Authorization:localStorage.getItem("token")},body:JSON.stringify(n)})];case 2:case 4:return[4,r.sent().json()];case 3:return 200===(t=r.sent()).meta.code?(ea(200),Q("Success")):400===t.meta.code&&(ea(400),Q("Referral is invali
1d")),z(!0),[4,fetch("".concat(ef,"/v2/get-referral-incentives"),{method:"GET",headers:{"Content-Type":"application/json",Authorization:localStorage.getItem("token")}})];case 5:return G(r.sent().Data||[]),[3,7];case 6:return i=r.sent(),console.error(i),[3,7];case 7:return Y(!1),[2]}})}),function(e){return eN.apply(this,arguments)});return(0,t.jsxs)("div",{id:"referral-dashboard",children:[(0,t.jsxs)(c(),{children:[(0,t.jsx)("title",{children:"Dashboard | Leverage Edu"}),(0,t.jsx)("link",{rel:"canonical",href:"https://leverageedu.com/referral/dashboard/"})]}),(0,t.jsx)(f.default,{settings:{type:200===ee?"success":"danger",message:X,show:P},close:function(){return z(!1)}}),(0,t.jsx)(v.default,{onLogout:function(){return u(!0)}}),S&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C,{partner:k,onLearnHowItWorks:function(){return e_(!em)}}),(0,t.jsx)("div",{className:"referral_steps",children:(0,t.jsx)(m(),{isOpen:em,className:"referral_steps__collapse referral_steps__collapse--gradient "+(em?"referral_steps__collapse--active":""),children:(0,t.jsx)(b.Z,{partner:k})})}),(0,t.jsx)(T,{referralCode:I,referralLink:eb+I,shareUrl:eo,shareSubject:ex,onCopy:ew,copyNotification:eu,onSubmit:ey,formLoader:J,onWhatsappAnalytics:function(){return e("social_copy_whatsapp")},onEmailAnalytics:function(){return e("social_copy_email")}}),(0,t.jsx)(F,{earningData:A}),(0,t.jsx)(U,{}),(0,t.jsx)(q,{incentiveData:O})]}),(0,t.jsx)(g.default,{}),(0,t.jsx)(x.default,{}),(0,t.jsx)(j.default,{})]})}},29289:function(e){e.exports={section:"dashboardEarnings_section__d9TRf",container:"dashboardEarnings_container__p9POQ",left:"dashboardEarnings_left__SDDYR",heading:"dashboardEarnings_heading___AtqX",table:"dashboardEarnings_table__JB3F8",row:"dashboardEarnings_row__8BEvh",headerRow:"dashboardEarnings_headerRow__snRlQ",altRow:"dashboardEarnings_altRow__pxylh",cellStatus:"dashboardEarnings_cellStatus__cdHG6",cellBold:"dashboardEarnings_cellBold__DvNSC",cellCount:"dashboardEarnings_cellCount___w1DW",cellEarnings:"dashboardEarnings_cellEarnings__hwfUu",right:"dashboardEarnings_right__kaJgS",image:"dashboardEarnings_image__gt7c7"}},90634:function(e){e.exports={hero:"dashboardHero_hero__nSKzO",left:"dashboardHero_left__Q__R2",heading:"dashboardHero_heading__79PE0",ctaButton:"dashboardHero_ctaButton__4u92v",right:"dashboardHero_right__BUFsA",heroImage:"dashboardHero_heroImage__nHPuo"}},32260:function(e){e.exports={section:"dashboardJourney_section__pVCgt",container:"dashboardJourney_container__FHm71",heading:"dashboardJourney_heading__RPuu1",timeline:"dashboardJourney_timeline__pFzsh",labelsRow:"dashboardJourney_labelsRow__ui6Z5",labelCell:"dashboardJourney_labelCell__bLOJy",labelCellBottom:"dashboardJourney_labelCellBottom__HI9OE",connectorsRow:"dashboardJourney_connectorsRow__EgNnZ",connectorCell:"dashboardJourney_connectorCell__4Pgsh",connector:"dashboardJourney_connector__Z8lAF",circlesRow:"dashboardJourney_circlesRow__2U26z",dashedLine:"dashboardJourney_dashedLine___olK0",circleCell:"dashboardJourney_circleCell__ufoFu",circle:"dashboardJourney_circle__WBQ5X",stepLabel:"dashboardJourney_stepLabel__l35_B",stepInfo:"dashboardJourney_stepInfo__6zF1g",rewardText:"dashboardJourney_rewardText__lXnne",rewardNote:"dashboardJourney_rewardNote__A5P3_",timelineMobile:"dashboardJourney_timelineMobile__Slaao",noteBox:"dashboardJourney_noteBox__V0nrW",noteLabel:"dashboardJourney_noteLabel__VqRZC",noteList:"dashboardJourney_noteList__Mz5l_",noteItem:"dashboardJourney_noteItem__eu6RB",mobileStep:"dashboardJourney_mobileStep__ptH1Y",mobileLeft:"dashboardJourney_mobileLeft__WAWds",mobileConnector:"dashboardJourney_mobileConnector__t3pT3",mobileContent:"dashboardJourney_mobileContent__AQ9t2"}},9013:function(e){e.exports={section:"dashboardReferralForm_section__XTZj7",container:"dashboardReferralForm_container__07y2q",formCard:"dashboardReferralForm_formCard__vXFjt",fieldGroup:"dashboardReferralForm_fieldGroup__f_1Bq",fieldLabel:"dashboardReferralForm_fieldLabel__N6TBt",copyRow:"dashboardReferralForm_copyRow__SA3Bs",linkInput:"dashboardReferralForm_linkInput__JtXCd",copyButton:"dashboardReferralForm_copyButton__AJzKV",copySuccess:"dashboardReferralForm_copySuccess__mSuDa",shareRow:"dashboardReferralForm_shareRow__2fi0q",whatsappButton:"dashboardReferralForm_whatsappButton__QT76D",emailButton:"dashboardReferralForm_emailButton__8vE8I",shareBtnInner:"dashboardReferralForm_shareBtnInner__pyJN3",formRow:"dashboardReferralForm_formRow__g0dDB",inputWrapper:"dashboardReferralForm_inputWrapper__rt2Ap",input:"dashboardReferralForm_input__S0pn_",phoneWrapper:"dashboardReferralForm_phoneWrapper__cU444",error:"dashboardReferralForm_error__WnvgL",submitButton:"dashboardReferralForm_submitButton__W115f",noteBox:"dashboardReferralForm_noteBox__m3Dfr",noteLabel:"dashboardReferralForm_noteLabel__2D5Ak",noteList:"dashboardReferralForm_noteList__8jMtT",noteItem:"dashboardReferralForm_noteItem__Vavce"}},41067:function(e){e.exports={section:"dashboardReferredStudents_section__0Mft5",container:"dashboardReferredStudents_container__UfNGU",heading:"dashboardReferredStudents_heading__VPkiq",studentList:"dashboardReferredStudents_studentList__wV83x",studentCard:"dashboardReferredStudents_studentCard__NUE46",studentHeader:"dashboardReferredStudents_studentHeader__tttGb",desktopRow:"dashboardReferredStudents_desktopRow__w4qL_",col:"dashboardReferredStudents_col__FaeQI",colLabel:"dashboardReferredStudents_colLabel__hf2up",colValue:"dashboardReferredStudents_colValue__4e0gI",chevron:"dashboardReferredStudents_chevron__hpR31",chevronOpen:"dashboardReferredStudents_chevronOpen__FSd92",studentDetails:"dashboardReferredStudents_studentDetails__G19zl",mobileRow:"dashboardReferredStudents_mobileRow__fjHC7",mobileDetails:"dashboardReferredStudents_mobileDetails__dod41",emptyState:"dashboardReferredStudents_emptyState__gJuaE",emptyText:"dashboardReferredStudents_emptyText__M_Gbr",noteBox:"dashboardReferredStudents_noteBox__CfoI5",noteLabel:"dashboardReferredStudents_noteLabel__sDLtq",noteList:"dashboardReferredStudents_noteList__3lj0T",noteItem:"dashboardReferredStudents_noteItem__hMMB3",mobileRowInner:"dashboardReferredStudents_mobileRowInner__ymPus",mobileDetailRow:"dashboardReferredStudents_mobileDetailRow__E9F_9"}},27176:function(e){e.exports={footerMap:"footerMap_footerMap__irKX3",inner:"footerMap_inner__J32dj",tabs:"footerMap_tabs__L9liL",tabBtn:"footerMap_tabBtn__zn9Jy",active:"footerMap_active__ZCYLf",separator:"footerMap_separator__d1EuB",content:"footerMap_content__TM4GF",office
1List:"footerMap_officeList__9sAVi",officeCard:"footerMap_officeCard__lKBSl",selected:"footerMap_selected__23vLf",officeName:"footerMap_officeName__Ec8fv",officeAddress:"footerMap_officeAddress__jdTCz",mapContainer:"footerMap_mapContainer__Kquyr",map:"footerMap_map__Y_Cf6",appDownload:"footerMap_appDownload__Uc9_2",downloadTitle:"footerMap_downloadTitle__TpIqD",qrCode:"footerMap_qrCode__oYv2a",storeBadges:"footerMap_storeBadges__81pfF",storeBadge:"footerMap_storeBadge__4uoBT",appStoreDesktop:"footerMap_appStoreDesktop__i7z7p",appStoreMobile:"footerMap_appStoreMobile__8MvKR",gplayDesktop:"footerMap_gplayDesktop__jZlHs",gplayMobile:"footerMap_gplayMobile__r3P0a"}},64359:function(e){e.exports={socialBand:"socialBand_socialBand__L6UO0",content:"socialBand_content__XBiXH",logo:"socialBand_logo__GbN4s",heading:"socialBand_heading__hmDwl",headingDesktop:"socialBand_headingDesktop__ZBqMY",headingMobile:"socialBand_headingMobile__uos8v",mobileBr:"socialBand_mobileBr__Q99Ik",contactInfo:"socialBand_contactInfo__EToCO",contactSeparator:"socialBand_contactSeparator__nVjB5",icons:"socialBand_icons__W8lKK",iconLink:"socialBand_iconLink__Lg8wo",partners:"socialBand_partners__cIthq",partnersLabel:"socialBand_partnersLabel__M2hxy",partnerLogos:"socialBand_partnerLogos___ktrI",partnerLogo:"socialBand_partnerLogo__Ly4Ba",partnerIcef:"socialBand_partnerIcef__ttcdI",partnerBritish:"socialBand_partnerBritish__RS0i4",partnerAirc:"socialBand_partnerAirc__XRGNJ"}},2157:function(e){e.exports={contentWrapper:"main_contentWrapper__Gmv6m",backArrow:"main_backArrow__vXc1e",stepsWrapper:"main_stepsWrapper__CwqZK",heading:"main_heading__nQoh0",listHeading:"main_listHeading__qv5WR",listText:"main_listText__JFBOZ",noteWrapper:"main_noteWrapper__A65cc",note:"main_note__W0kIN",list:"main_list__PkJxt"}}},function(e){e.O(0,[9669,7555,1664,6748,2662,8427,3884,7561,3285,9774,2888,179],function(){return e(e.s=67981)}),_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.