1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8449,5998],{10834:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/crs/login",function(){return n(55998)}])},55998:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return login}});var s=n(85893),l=n(67294),o=n(77175),i=n.n(o),SvgElements_AirblackLogo=function(e){return(0,s.jsx)("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.71 9.433C18.113 3.576 26.639.001 36 .001c19.882 0 36 16.117 36 36v34.377c0 1.44-1.74 2.16-2.758 1.142l-8.952-8.952C53.887 68.425 45.362 72 36 72 16.118 72 0 55.883 0 36V1.62C0 .179 1.74-.541 2.759.477l8.951 8.956zm8.861 26.568c0 8.52 6.908 15.428 15.429 15.428S51.429 44.52 51.429 36c0-8.521-6.908-15.429-15.429-15.429S20.571 27.48 20.571 36.001z",fill:"#323232"})})},a=l.memo(e=>{let{onLoginClick:t,isMobile:n}=e,[o,a]=(0,l.useState)(""),[r,_]=(0,l.useState)("");return(0,s.jsxs)("div",{className:i()["login-container"],style:n?{width:"100%"}:{width:613},children:[(0,s.jsx)(SvgElements_AirblackLogo,{style:{width:72,height:72}}),(0,s.jsx)("div",{className:i().heading,children:"Login to Core Revenue System"}),(0,s.jsxs)("div",{className:i()["login-input-container"],children:[(0,s.jsx)("div",{className:i().title,children:"User Name"}),(0,s.jsx)("input",{className:i()["login-input"],value:o,onChange:e=>{a(e.target.value)},required:!0,type:"text"})]}),(0,s.jsxs)("div",{className:i()["login-input-container"],children:[(0,s.jsx)("div",{className:i().title,style:{marginTop:48},children:"Password"}),(0,s.jsx)("input",{className:i()["login-input"],value:r,onChange:e=>_(e.target.value),type:"password",required:!0})]}),(0,s.jsx)("button",{onClick:()=>t(o,r),style:{marginTop:60},children:"Login"})]})}),r=n(9008),_=n.n(r),d=n(29061),c=n(9776),p=n(31955),login=e=>{let{isMobile:t}=e,loginWithPassword=async(e,t)=>{try{let{data:n}=await d.Z.post("".concat(c.Z.server1,"api/users/login"),{username:e.trim(),password:t});if(console.log("\uD83D\uDE80 ~ file: login.js:16 ~ loginWithPassword ~ res:",n),n.isSuccess){p.Z.set("airblack-payment-link-auth-token",n.data.token),p.Z.set("airblack-logintype",n.data&&n.data.type),p.Z.remove("ablck-web-user");let e=p.Z.get("opportunity-id");void 0!==e?window.location.href="/crs/generate?opportunity_id=".concat(e):window.location.href="/crs/generate"}}catch(e){}};async function handleLogin(e,t){try{if(!e||!t)return;loginWithPassword(e,t)}catch(e){console.log(e)}}return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_(),{children:(0,s.jsx)("title",{children:"Login"})}),(0,s.jsx)("div",{className:i()["main-container"],children:(0,s.jsx)(a,{onLoginClick:handleLogin,isMobile:t})})]})}},9776:function(e,t){"use strict";let n="https://service.ablck.com/new/",s="https://airblack.co/";t.Z={server1:n,server2:n,mixpanelToken:"d6711a4a0a4399fc2303dc0af72a69bb",dashboardUrl:"https://www.airblack.co/dashboard/",shareUrl:s,razorPaySecretKey:"rzp_live_gXWgmbD0U0x57s",amplitudeKey:"bd892eb9c6f5a51c2e0804dbb7116f01",paytmURL:"https://securegw.paytm.in/",paytmSecretKey:"JZXeMu67118674577734",shareUrl:s,baseUrl:"https://airblack.co/"}},77175:function(e){e.exports={"main-container":"styles_main-container__ToQ8Z","ant-modal-content":"styles_ant-modal-content__0kUb5","load-container-link-generation":"styles_load-container-link-generation__kEe6q",loading:"styles_loading__AJcNv","generate-link-header":"styles_generate-link-header__FOm_f","login-container":"styles_login-container__sxpsD",heading:"styles_heading__6Bo9b","login-input-container":"styles_login-input-container__DN46P",title:"styles_title__ia1pV","country-code":"styles_country-code__1giHD","login-input":"styles_login-input__Zvghm","main-heading":"styles_main-heading__70gyK","page-heading":"styles_page-heading__PB6jq","ant-form-item-control":"styles_ant-form-item-control__FkVyA","ant-form-item":"styles_ant-form-item__nD8OY","ant-select-selection--single":"styles_ant-select-selection--single__vjkZ4","ant-select-selection-selected-value":"styles_ant-select-selection-selected-value__HHAYL","generate-link":"styles_generate-link__97Yo1","react-calendar":"styles_react-calendar__tWC87","suspended-text":"styles_suspended-text__sjLXI","token-amount-text":"styles_token-amount-text__1bbnk","load-container":"styles_load-container__Q94wI","text-input-heading":"styles_text-input-heading__2bu2a","radio-label":"styles_radio-label__bLg3M","phone-number":"styles_phone-number__L4nVb","text-input-box":"styles_text-input-box__RXsx0","text-input-box-disabled":"styles_text-input-box-disabled__ELPbj","text-input-box-error":"styles_text-input-box-error___QfA4","error-message":"styles_error-message__ntsg8","radio-btn-container":"styles_radio-btn-container__0AAzC","share-link":"styles_share-link__Ap2Cx",link:"styles_link__YR1CC","copy-btn":"styles_copy-btn__P6LCH","slot-box":"styles_slot-box__X6Mgf","slot-box-minus":"styles_slot-box-minus__3BTQz","slot-box-plus":"styles_slot-box-plus__7e4bU","slot-box-middle":"styles_slot-box-middle__yziS4","add-slot":"styles_add-slot___frcA","submit-btn":"styles_submit-btn__65Avl","submit-btn-disabled":"styles_submit-btn-disabled__SL1wo","dropdown-container":"styles_dropdown-container__E7rlF","dropdown-btn":"styles_dropdown-btn__e8_xl","dropdown-btn-disabled":"styles_dropdown-btn-disabled__vYFi_","dropdown-btn-placeholder":"styles_dropdown-btn-placeholder__k7d3O","dropdown-values":"styles_dropdown-values__z0MVp","payment-details-container":"styles_payment-details-container__oOChw","payment-details-container-row":"styles_payment-details-container-row__7sZHS",overdue:"styles_overdue__T2Mo7","payment-details-heading":"styles_payment-details-heading__Yqg3_","payment-details":"styles_payment-details__PoT5P","dropdown-value-container":"styles_dropdown-value-container__cq1yt","dropdown-value":"styles_dropdown-value__4fRtx","slect-course-type-
1drpdwn":"styles_slect-course-type-drpdwn__QqydV","ant-select-selection":"styles_ant-select-selection__hCnrn","select-course-dropdown-cls":"styles_select-course-dropdown-cls__YcLjK","ant-select-dropdown":"styles_ant-select-dropdown__KWWFm"}}},function(e){e.O(0,[9061,9774,2888,179],function(){return e(e.s=10834)}),_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.