{"version":3,"sources":["components/SearchSelect.js","Form.js","hooks/useReferralData.js","serviceWorker.js","index.js"],"names":["colors","defaultTheme","selectStyles","control","provided","minWidth","margin","menu","boxShadow","SearchSelect","props","useState","isOpen","value","undefined","menuState","setMenuState","toggleOpen","className","htmlFor","name","label","onClose","target","Button","iconAfter","onClick","isSelected","buttonSelectLabel","buttonPlaceholder","autoFocus","backspaceRemovesValue","components","DropdownIndicator","IndicatorSeparator","controlShouldRenderValue","hideSelectedOptions","isClearable","isSearchable","menuIsOpen","onChange","context","options","placeholder","styles","tabSelectsValue","Menu","shadow","css","backgroundColor","borderRadius","marginTop","position","zIndex","Blanket","bottom","left","top","right","Dropdown","children","Svg","p","width","height","viewBox","focusable","role","color","neutral20","d","fill","fillRule","ChevronDown","style","marginRight","Form","useForm","mode","register","handleSubmit","errors","triggerValidation","setValue","getValues","formState","authToken","setBearer","clientIp","setIp","useEffect","a","fetch","response","json","body","ip","makeCall","method","headers","Authorization","then","authResponse","Data","catch","console","error","getIp","referralData","apiServer","subjects","locations","studyTypes","studyYears","setReferralData","fetchData","url","type","mapper","results","map","iso","dialling_code","useReferralData","process","validateEmail","emailFormat","match","validateMobile","values","country_code","dial_code","find","x","numberFormat","fullNumber","requestOptions","data","ok","message","status","Promise","reject","utmParams","caseType","urlParams","URLSearchParams","window","location","search","utmData","allowedParams","UtmSource","UtmMedium","UtmCampaign","key","has","get","currentReferrer","referral_domain","document","href","split","referral_reference","pathname","setupPartnerPayload","dialCodeLocation","nationality","currentLocation","current_location","selectedSubject","subject_interest","referralInfo","payload","FirstName","first_name","LastName","last_name","TelMobile","phone_number","Email","email","THELocation","THENationality","Subject","LevelOfStudy","desired_study_level","CurrentLevelOfStudy","current_study_level","DepartureYear","desired_study_year","Ip","THEID","referalDomain","Website","FormCampaignText","Referral","setupThePayload","desired_study_location","desired_study_subject","desired_study_date","partner_name","partner_user_id","partner_consent","the_consent","signup","onSubmit","partnerPayload","log","JSON","stringify","partnerResponse","thePayload","MessageCode","partner_new_user","theResponse","statusCode","alert","getElementById","innerHTML","dialCodeMap","countryMap","forEach","push","genericChangeHandler","touched","dirty","e","id","ref","required","validate","as","forwardRef","rules","signupconsent","consent","disabled","isSubmitting","Boolean","hostname","ReactDOM","render","StrictMode","navigator","serviceWorker","ready","registration","unregister"],"mappings":"oXAOOA,G,MAAUC,IAAVD,QAEDE,EAAe,CACnBC,QAAS,SAAAC,GAAQ,kCAASA,GAAT,IAAmBC,SAAU,IAAKC,OAAQ,KAC3DC,KAAM,iBAAO,CAACC,UAAW,sCAGZ,SAASC,EAAaC,GAAO,MAERC,mBAAS,CAACC,QAAQ,EAAOC,WAAOC,IAFxB,mBAEnCC,EAFmC,KAExBC,EAFwB,KAGpCC,EAAa,WACjBD,EAAa,CAACJ,QAASG,EAAUH,UAQ5BA,EAAiBG,EAAjBH,OAAQC,EAASE,EAATF,MAEf,OACE,mBAAKK,UAAW,iBACd,oBAAMC,QAAST,EAAMU,MAAOV,EAAMW,OACpC,YAAC,EAAD,CACET,OAAQA,EACRU,QAASL,EACTM,OACE,YAACC,EAAA,EAAD,CACEJ,KAAMV,EAAMU,KACZK,UAAW,YAAC,EAAD,MACXC,QAAST,EACTU,WAAYf,GAEXC,EAAK,UAAMA,EAAMQ,OAAUX,EAAMkB,mBAAqBlB,EAAMmB,mBAAqB,kBAItF,YAAC,IAAD,CACET,KAAMV,EAAMU,KACZU,WAAS,EACTC,uBAAuB,EACvBC,WAAY,CAACC,oBAAmBC,mBAAoB,MACpDC,0BAA0B,EAC1BC,qBAAqB,EACrBC,aAAa,EACbC,aAAc5B,EAAM4B,eAAgB,EACpCC,YAAU,EACVC,SAnCiB,SAAC3B,EAAO4B,GAC7B/B,EAAM8B,SAAS3B,EAAO4B,GACtBxB,IACAD,EAAa,CAACH,WAiCV6B,QAAShC,EAAMgC,QACfC,YAAY,YACZC,OAAQ1C,EACR2C,iBAAiB,EACjBhC,MAAOA,MASf,IAAMiC,EAAO,SAAApC,GACX,IAAMqC,EAAS,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ACnBlN,KAAK,sBACLC,MAAO,yBACPH,UAAW,iBACXsB,SAAU,mCAAE3B,EAAF,KAAS4B,EAAT,YAAuBuL,EAAqBnN,EAAO4B,MAE9DwC,EAAOyG,qBAA2D,aAApCzG,EAAOyG,oBAAoBrE,MACxD,qEAGJ,sCACA,yBAAKnG,UAAU,UACb,2BAAOC,QAAQ,UACb,2BAAOkG,KAAK,WAAW+G,GAAG,SAAShN,KAAK,SAASuB,YAAY,qCACtD0L,IAAKtJ,IACZ,0BAAM7D,UAAU,kBAAhB,mCACA,0BAAMA,UAAU,wBAAhB,mRAED+D,EAAO4H,QAAwC,aAA9B5H,EAAO0J,cAActH,MAAwB,8DAGjE,yBAAKnG,UAAU,WACb,2BAAOC,QAAQ,WACb,2BAAOmN,UAAQ,EAACjH,KAAK,WAAW+G,GAAG,UAAUhN,KAAK,UAAUuB,YAAY,8BACjE0L,IAAKtJ,EAAS,CAACuJ,UAAU,MAChC,0BAAMpN,UAAU,kBAAhB,8HACA,0BAAMA,UAAU,wBAAhB,uEACA,0BAAMA,UAAU,wBAAhB,oHAED+D,EAAO2J,SAAmC,aAAxB3J,EAAO2J,QAAQvH,MAAwB,8DAG5D,4BAAQnG,UAAU,SAAS2N,SAAUxJ,EAAUyJ,cAAc,2CAG/D,2CACA,qaEjZcC,QACW,cAA7B5F,OAAOC,SAAS4F,UAEe,UAA7B7F,OAAOC,SAAS4F,UAEhB7F,OAAOC,SAAS4F,SAASjH,MACvB,2DCZNkH,IAASC,OACP,kBAAC,IAAMC,WAAP,KACE,kBAAC,EAAD,OAEFnF,SAAS0D,eAAe,SDyHpB,kBAAmB0B,WACrBA,UAAUC,cAAcC,MACrBjJ,MAAK,SAAAkJ,GACJA,EAAaC,gBAEdhJ,OAAM,SAAAE,GACLD,QAAQC,MAAMA,EAAMiC,c","file":"static/js/main.d385807e.chunk.js","sourcesContent":["/** @jsx jsx */\nimport { jsx } from '@emotion/core';\nimport Button from '@atlaskit/button';\nimport Select from 'react-select';\nimport {defaultTheme} from 'react-select';\nimport './SearchSelect.css';\nimport {useState} from 'react';\nconst {colors} = defaultTheme;\n\nconst selectStyles = {\n control: provided => ({...provided, minWidth: 240, margin: 8}),\n menu: () => ({boxShadow: 'inset 0 1px 0 rgba(0, 0, 0, 0.1)'}),\n};\n\nexport default function SearchSelect(props) {\n //console.log('__SearchSelect_props', props);\n const [menuState, setMenuState] = useState({isOpen: false, value: undefined});\n const toggleOpen = () => {\n setMenuState({isOpen: !menuState.isOpen});\n };\n const onSelectChange = (value, context) => {\n props.onChange(value, context);\n toggleOpen();\n setMenuState({value});\n };\n\n const {isOpen, value} = menuState;\n\n return (\n
SI-UK will contact you within 24 hours to arrange your initial consultation.
';\n }\n };\n\n let dialCodeMap = [];\n let countryMap = [];\n referralData.locations.forEach(function(location) {\n dialCodeMap.push({value: location.iso, label: location.dialling_code + ' (' + location.name + ')' });\n countryMap.push({value: location.iso, label: location.name});\n });\n\n const genericChangeHandler = (value, context) => {\n setValue(context.name, value.value);\n formState.touched[context.name] = true;\n formState.dirty = true;\n if (context.name === 'dial_code') {\n triggerValidation('phone_number').catch(e => console.error('Phone validation did not trigger', e));\n }\n return value.value;\n };\n\n return (\nThinking about attending university in the United Kingdom? We know that the idea of studying abroad can be\n daunting as well as exciting so we’re here to help. Through our trusted partner SI-UK, THE is making sure you\n get access to the best possible advice when it comes to making one of the biggest decisions of your life – who\n to trust with your education.
\nThrough SI-UK’s free advice service they will get to know more about your needs and help answer any questions\n or concerns you might have, leaving you in the best possible position to complete your university\n applications.
\nIf you’d like to know more, simply complete the form on this page and SI-UK’s friendly team will be in\n touch.
\n\n
SI-UK provides free independent advice and support to international students applying to study in the UK. Their\n international education consultants are UK university graduates who are fully experienced and trained by trusted\n university partners and the British Council. They will help guide you through each step of the application\n process to any UK university, language school or college.
\n\n\n