PageSourceSearch

https://www.mapua.edu.ph/build/assets/TwoFactorChallenge-CNNX-hPM.js

js mapua.edu.ph collected 2026-10-02 05:35:18 UTC 2,985 bytes, 1 lines download raw bytes

1import{Z as b,A as c,o as n,a as i,b as o,m as t,E as m,F as a,G as l,J as f,H as x}from"./index.esm-C1d2N7E0.js";import{J as j}from"./AuthenticationCard-D8gdWURm.js";import{J as k}from"./AuthenticationCardLogo-e1L9_Zjk.js";import{J as w}from"./ValidationErrors-Dy1tme88.js";import{_ as C}from"./_plugin-vue_export-helper-DlAUqK2U.js";const V={components:{Head:b,JetAuthenticationCard:j,JetAuthenticationCardLogo:k,JetValidationErrors:w},data(){return{recovery:!1,form:this.$inertia.form({code:"",recovery_code:""})}},methods:{toggleRecovery(){this.recovery^=!0,this.$nextTick(()=>{this.recovery?(this.$refs.recovery_code.focus(),this.form.code=""):(this.$refs.code.focus(),this.form.recovery_code="")})},submit(){this.form.post(this.route("admin.two-factor.login"))}}},J={class:"flex flex-wrap items-center h-screen"},R={class:"w-1/2 text-center px-10"},H={class:"w-1/2"},T=t("h3",{class:"text-lg font-bold mt-4"},"Reset Password",-1),U=t("p",{class:"text-sm text-gray-500"},"6-digit code has been sent to [email protected]",-1),A={class:"mb-4 text-sm text-gray-600"},B={key:0},E={key:1},F={class:"flex items-center justify-end mt-4"};function N(P,r,L,z,e,d){const y=c("Head"),p=c("jet-authentication-card-logo"),v=c("jet-validation-errors"),u=c("jet-label"),_=c("jet-input"),h=c("jet-button"),g=c("jet-authentication-card");return n(),i(a,null,[o(y,{title:"Two-factor Confirmation"}),t("div",J,[t("div",R,[o(p)]),t("div",H,[o(g,null,{title:m(()=>[T,U]),default:m(()=>[t("div",A,[e.recovery?(n(),i(a,{key:1},[l(" Please confirm access to your account by entering one of your emergency recovery codes. ")],64)):(n(),i(a,{key:0},[l(" Please confirm access to your account by entering the authentication code provided by your authenticator application. ")],64))]),o(v,{class:"mb-4"}),t("form",{onSubmit:r[3]||(r[3]=f((...s)=>d.submit&&d.submit(...s),["prevent"]))},[e.recovery?(n(),i("div",E,[o(u,{for:"recovery_code",value:"Recovery Code"}),o(_,{ref:"recovery_code",id:"recovery_code",type:"text",class:"mt-1 block w-full",modelValue:e.form.recovery_code,"onUpdate:modelValue":r[1]||(r[1]=s=>e.form.recovery_code=s),autocomplete:"one-time-code"},null,8,["modelValue"])])):(n(),i("div",B,[o(u,{for:"code",value:"Code"}),o(_,{ref:"code",id:"code",type:"text",inputmode:"numeric",class:"mt-1 block w-full",modelValue:e.form.code,"onUpdate:modelValue":r[0]||(r[0]=s=>e.form.code=s),autofocus:"",autocomplete:"one-time-code"},null,8,["modelValue"])])),t("div",F,[t("button",{type:"button",class:"text-sm text-gray-600 hover:text-gray-900 underline cursor-pointer",onClick:r[2]||(r[2]=f((...s)=>d.toggleRecovery&&d.toggleRecovery(...s),["prevent"]))},[e.recovery?(n(),i(a,{key:1},[l(" Use an authentication code ")],64)):(n(),i(a,{key:0},[l(" Use a recovery code ")],64))]),o(h,{class:x(["ml-4",{"opacity-25":e.form.processing}]),disabled:e.form.processing},{default:m(()=>[l(" Log in ")]),_:1},8,["class","disabled"])])],32)]),_:1})])])],64)}const D=C(V,[["render",N]]);export{D as default};

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.