/home/ivoiecob/email.hirewise-va.com/adminpanel/js/4668.3a3f6fd4.js
"use strict";(globalThis["webpackChunkadmin_panel_vue_webclient"]=globalThis["webpackChunkadmin_panel_vue_webclient"]||[]).push([[4668],{64668:(e,o,n)=>{n.r(o),n.d(o,{default:()=>x});var t=n(61758),l=n(29104),a=n(58790);const s={class:"q-pa-md"},i={class:"q-gutter-y-md column",style:{width:"240px"}};function d(e,o,n,d,r,c){const g=(0,t.g2)("Logo"),u=(0,t.g2)("q-icon"),p=(0,t.g2)("q-input"),h=(0,t.g2)("q-btn"),m=(0,t.g2)("login-layout");return(0,t.uX)(),(0,t.Wv)(m,null,{default:(0,t.k6)((()=>[(0,t.Lk)("div",s,[(0,t.Lk)("div",i,[(0,t.bF)(g,{class:"logo"}),(0,t.bF)(p,{class:"login-name login_screen","bg-color":"white",standout:"bg-yellow-2",outlined:"",dense:"",modelValue:r.login,"onUpdate:modelValue":o[0]||(o[0]=e=>r.login=e),placeholder:e.$t("COREWEBCLIENT.LABEL_LOGIN"),onKeyup:(0,l.jR)(c.proceedLogin,["enter"])},{prepend:(0,t.k6)((()=>[(0,t.bF)(u,{name:"person"})])),_:1},8,["modelValue","placeholder","onKeyup"]),(0,t.bF)(p,{class:"q-mt-none login-password login_screen","bg-color":"white",standout:"bg-yellow-2",outlined:"",dense:"",modelValue:r.password,"onUpdate:modelValue":o[1]||(o[1]=e=>r.password=e),type:"password",placeholder:e.$t("COREWEBCLIENT.LABEL_PASSWORD"),onKeyup:(0,l.jR)(c.proceedLogin,["enter"])},{prepend:(0,t.k6)((()=>[(0,t.bF)(u,{name:"lock"})])),_:1},8,["modelValue","placeholder","onKeyup"]),(0,t.bF)(h,{unelevated:"","no-caps":"",outline:"","bg-color":"primary",color:"white",class:"q-px-sm bg-primary",ripple:!1,loading:r.loading,onClick:c.proceedLogin},{loading:(0,t.k6)((()=>[(0,t.eW)((0,a.v_)(e.$t("COREWEBCLIENT.ACTION_SIGN_IN_IN_PROGRESS")),1)])),default:(0,t.k6)((()=>[(0,t.eW)((0,a.v_)(e.$t("COREWEBCLIENT.ACTION_SIGN_IN"))+" ",1)])),_:1},8,["loading","onClick"])])])])),_:1})}var r=n(43436),c=n.n(r),g=n(48778),u=n(36720),p=n(38176),h=n(79134);const m={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"130",height:"95",viewBox:"0 0 1024 1024",fill:"#25AEB8",stroke:"#144144"},_=(0,t.Lk)("path",{d:"M505.974 206.187c-92.476-0.049-185.325 43.469-226.266 137.519-7.898-1.777-16.062-2.725-24.38-2.725-30.917 0-58.912 12.54-79.176 32.803-20.22 20.22-32.745 48.143-32.803 78.973-25.435 19.226-46.739 43.498-62.397 71.282-18.943 33.637-29.751 72.404-29.751 113.634 0 64.069 25.964 122.065 67.949 164.050 84.419 84.426 248.044 69.825 387.546 63.725-27.175-20.778-36.969-36.277-61.192-70.313-75.745 3.206-216.602 17.306-274.643-45.123-72.46-72.46-58.135-194.943 29.954-248.394l22.826-13.851c-32.295-51.203 47.166-115.931 97.193-46.575 53.153-237.439 384.656-193.761 359.134 38.028 224.501-9.907 203.695 266.415 53.895 309.879l0.079-1.149c-92.266 14.396-191.531 2.525-162.281-135.548l45.123-213.080h-78.399l-7.5 33.062c-16.622-26.776-42.792-40.156-78.388-40.156-31.142 0-59.025 9.626-83.669 28.794-24.644 19.263-43.615 43.914-57.003 74.041-13.381 30.119-20.078 60.642-20.078 91.777 0 29.916 6.488 55.073 19.47 75.46s29.915 34.878 50.911 43.501c20.996 8.616 42.705 10.755 65.122 6.295 22.41-4.46 42.185-15.227 59.424-32.263 30.961 132.416 122.952 155.395 241.457 140.897v-0.023c99.925-11.561 161.533-82.483 183.914-164.196 33.18-121.167-19.864-266.037-162.034-276.198 0.79-137.251-121.296-214.062-244.036-214.127zM458.982 485.774c8.725 0 16.537 1.623 23.333 4.865 6.897 3.343 12.671 8.115 17.545 14.403 4.866 6.39 8.509 13.787 11.047 22.207 2.437 8.42 3.649 17.844 3.649 28.287 0 21.199-3.642 43.117-10.946 65.832-7.303 22.613-18.051 41.371-32.252 56.282-14.2 14.802-30.527 22.308-49.188 22.308-16.021 0-29.008-6.387-38.952-19.065-9.834-12.677-14.797-30.829-14.797-54.661 0-23.121 3.751-45.54 11.25-67.239 7.608-21.699 18.254-39.347 32.251-52.837 13.99-13.584 29.719-20.382 47.059-20.382z"},null,-1),L=[_];function E(e,o,n,l,a,s){return(0,t.uX)(),(0,t.CE)("svg",m,L)}const A={name:"Logo"};var w=n(12807);const R=(0,w.A)(A,[["render",E]]),C=R;function b(e,o,n,l,a,s){const i=(0,t.g2)("q-page"),d=(0,t.g2)("q-page-container"),r=(0,t.g2)("q-layout");return(0,t.uX)(),(0,t.Wv)(r,{view:"hHh LpR lfr"},{default:(0,t.k6)((()=>[(0,t.bF)(d,{style:{height:"100vh"}},{default:(0,t.k6)((()=>[(0,t.bF)(i,{class:"flex flex-center"},{default:(0,t.k6)((()=>[(0,t.RG)(e.$slots,"default")])),_:3})])),_:3})])),_:3})}const v={name:"LoginLayout"};var k=n(62008),I=n(45205),N=n(77716),y=n(98582),O=n.n(y);const f=(0,w.A)(v,[["render",b]]),T=f;O()(v,"components",{QLayout:k.A,QPageContainer:I.A,QPage:N.A});const q={name:"Login",components:{Logo:C,LoginLayout:T},data(){return{loading:!1,login:"",password:""}},methods:{proceedLogin(){this.loading||(this.loading=!0,h.A.sendRequest({moduleName:"AdminAuth",methodName:"LoginAsSuperadmin",parameters:{Login:this.login,Password:this.password}}).then((e=>{this.loading=!1,c().isObject(e)&&e.AuthToken?g.A.requestAppData():p.A.showError(this.$t("COREWEBCLIENT.ERROR_PASS_INCORRECT"))}),(e=>{this.loading=!1,p.A.showError(u.A.getTextFromResponse(e,this.$t("COREWEBCLIENT.ERROR_PASS_INCORRECT")))})))}}};var B=n(39270),S=n(50492),W=n(56384);const F=(0,w.A)(q,[["render",d],["__scopeId","data-v-346fc16d"]]),x=F;O()(q,"components",{QInput:B.A,QIcon:S.A,QBtn:W.A})}}]);