1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5150],{45150:(e,s,i)=>{"use strict";i.r(s),i.d(s,{default:()=>N});var t=i(95155);i(58429);var l=i(51532),a=i(95767),n=i(27073),d=i(11467),r=i(69350),o=i(29173),A=i(67969),c=i(81236),u=i(96825),_=i(65442),g=i(10142),v=i(12115),m=i(9387),h=i.n(m),S=i(48118),b=i(49237),p=i(17200);let E=(0,i(33956).wG)(),N=e=>{let{setCurrentPage:s,fromInistitute:i,setEmailMobile:m,handleCrossButton:N,classcodeDetails:f,username:w,password:x,forceModalStyle:R=!1}=e,{adjustData:T,auth_key:k}=(0,d.d4)(e=>e.login),{newBoardList:C}=(0,d.d4)(e=>e.signup),M=(0,d.wA)(),j=(0,A.DQ)(),[y,O]=(0,g.lT)(["emSSOWebuserKey"]),[q,J]=(0,v.useState)({os:{version:""}}),[L,H]=(0,v.useState)(!1);(0,v.useEffect)(()=>{if(i){let e=null==C?void 0:C.find(e=>(null==e?void 0:e.board_id)==(null==f?void 0:f.board_id)),s={board:null==e?void 0:e.name,classroom_code:"CC-".concat(null==f?void 0:f.class_code)};(0,p.sendClickStream)("Institute Added","Button",s,"Netcore","User added another institute")}},[]);let P=async()=>{try{var e,i;H(!0);let t={action:"cognito_login",apikey:c.MSA_JAVA_API_KEY,checksum:"",login_details:{username:w,password:x,app_name:(0,b._d)(),acess_id:"",app_version:null!=(e=T.app_version)?e:"",gcm_key:null!=(i=T.device_id)?i:"",email_address:"",latitude:T.latitude||"",longitude:T.longitude||"",operating_system_version:q.os.version,source:T.platform?T.platform:"website",auth_key:k.auth_key,delimiter_changed:+(0!=c.DELIMETER_CHANGED)}},l=h();c.NEW_HASH_ALGO&&(t.enc_type=1,l=S.A.SHA512);let a=l(t.action+":"+t.apikey+":"+t.login_details.username+":"+t.login_details.password+":"+c.MSA_JAVA_SALT).toString();t.checksum=a,M((0,r.userLoginFlow)(t,s,j,w,y,O,()=>{},()=>{},!1,!1,"RequestPending",f,void 0,null,void 0,void 0,H))}catch(e){H(!1),console.log(e),M((0,o.m)("show",n.A.SOMETHING_WENT_WRONG,!0,4e3,"QnAERROR"))}},U=((e,s)=>{var i;return("string"==typeof e?e:null!=(i=null==e?void 0:e.src)?i:null==e?void 0:e.default)||s})(l.A,"/nx_web_assets/images/new-theme/RequestSent.png"),W=!R&&(!i||i&&(null==T?void 0:T.platform));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.A,{onChange:e=>{J(e)}}),(0,t.jsxs)("div",{className:"RequestSent ".concat(E||R?"iframelogin":""),children:[W&&(0,t.jsx)("div",{className:"closeRreqest",children:(0,t.jsx)("button",{type:"button",onClick:()=>{i?N():(s(1),m({countryObj:{},isMobile:!1,value:""}))},"aria-label":"Close",children:(0,t.jsx)("img",{src:a,alt:"",width:16,height:16})})}),(0,t.jsx)("div",{className:"titleside",children:n.A.REQUEST_SENT}),(0,t.jsx)("div",{className:"titleimage",children:(0,t.jsx)("img",{src:U,alt:"",width:350,height:247,decoding:"async"})}),(0,t.jsx)("div",{className:"titleSubside",children:n.A.REQUEST_APPROVAL}),i||(null==f?void 0:f.board_id)==0x34cacf9?"":(0,t.jsx)("div",{className:"titleSubside2",children:n.A.CLASSROOM_CODE_SUB_TEXT}),i||(null==f?void 0:f.board_id)==0x34cacf9?"":(0,t.jsx)("div",{className:"request",children:(0,t.jsxs)("button",{className:"requestButton",onClick:()=>P(),children:[L&&(0,t.jsx)(_.A,{as:"span",animation:"border",size:"sm",role:"status","aria-hidden":"true",style:{marginLeft:"5px"}}),n.A.CONTINUE_TXT]})})]})]})}},51532:(e,s,i)=>{"use strict";i.d(s,{A:()=>t});let t={src:"/_next/static/media/RequestSent.ed11092a.png",height:247,width:350,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAATlBMVEXg5u/s9f3v+v/m6/Tm7vLGjono7/fv9vxMaXHh7vvm7PLv//+SqM+Miqb5h19PWIWrqbnr8vgXI0vO2OSXsuPr8/v1/f/N3/WTlqzw1NBfnGMJAAAAFnRSTlPi+/1ZFPHr7gD9KYH7/Pz9/uJApP5A6SlO3gAAAAlwSFlzAAALEwAACxMBAJqcGAAAADlJREFUeJwVwYkRgCAMBMADAknwAXwO7b9Rx12YHWfQZKhLfiNVoNzz5Sqgb231IWCYT4+8UfAr6QM3JQHuD2WMSwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:6}},58429:()=>{},95767:(e,s,i)=>{"use strict";e.exports=i.p+"static/media/cancle__btn.b7e0e055.svg"}}]);
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.