PageSourceSearch

https://www.huttonsgroup.com/build/assets/TwoFactorChallenge-B72oCz8v.js

js huttonsgroup.com collected 2026-10-01 16:01:04 UTC 2,501 bytes, 1 lines download raw bytes

1import{D as b,c as a,b as o,u as t,h,w as d,a as i,o as r,F as n,f as l,y as _,z as C,n as m,K as w}from"./app-CiZjbkE0.js";import{A as V}from"./AuthenticationCard-DXb18i5H.js";import{_ as $}from"./AuthenticationCardLogo-B-DTT7Xi.js";import{_ as p,a as v}from"./TextInput-XH39p83N.js";import{_ as g}from"./InputLabel-BHRxVYwm.js";import{_ as F}from"./PrimaryButton-DlREukFm.js";/* empty css            */import"./_plugin-vue_export-helper-DlAUqK2U.js";const I={class:"mb-4 text-sm text-gray-600 dark:text-gray-400"},T={key:0},U={key:1},B={class:"flex items-center justify-end mt-4"},M={__name:"TwoFactorChallenge",setup(N){const c=m(!1),e=b({code:"",recovery_code:""}),f=m(null),y=m(null),k=async()=>{c.value^=!0,await w(),c.value?(f.value.focus(),e.code=""):(y.value.focus(),e.recovery_code="")},x=()=>{e.post(route("two-factor.login"))};return(z,s)=>(r(),a(n,null,[o(t(h),{title:"Two-factor Confirmation"}),o(V,null,{logo:d(()=>[o($)]),default:d(()=>[i("div",I,[c.value?(r(),a(n,{key:1},[l(" Please confirm access to your account by entering one of your emergency recovery codes. ")],64)):(r(),a(n,{key:0},[l(" Please confirm access to your account by entering the authentication code provided by your authenticator application. ")],64))]),i("form",{onSubmit:_(x,["prevent"])},[c.value?(r(),a("div",U,[o(g,{for:"recovery_code",value:"Recovery Code"}),o(p,{id:"recovery_code",ref_key:"recoveryCodeInput",ref:f,modelValue:t(e).recovery_code,"onUpdate:modelValue":s[1]||(s[1]=u=>t(e).recovery_code=u),type:"text",class:"mt-1 block w-full",autocomplete:"one-time-code"},null,8,["modelValue"]),o(v,{class:"mt-2",message:t(e).errors.recovery_code},null,8,["message"])])):(r(),a("div",T,[o(g,{for:"code",value:"Code"}),o(p,{id:"code",ref_key:"codeInput",ref:y,modelValue:t(e).code,"onUpdate:modelValue":s[0]||(s[0]=u=>t(e).code=u),type:"text",inputmode:"numeric",class:"mt-1 block w-full",autofocus:"",autocomplete:"one-time-code"},null,8,["modelValue"]),o(v,{class:"mt-2",message:t(e).errors.code},null,8,["message"])])),i("div",B,[i("button",{type:"button",class:"text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 underline cursor-pointer",onClick:_(k,["prevent"])},[c.value?(r(),a(n,{key:1},[l(" Use an authentication code ")],64)):(r(),a(n,{key:0},[l(" Use a recovery code ")],64))]),o(F,{class:C(["ms-4",{"opacity-25":t(e).processing}]),disabled:t(e).processing},{default:d(()=>[...s[2]||(s[2]=[l(" Log in ",-1)])]),_:1},8,["class","disabled"])])],32)]),_:1})],64))}};export{M 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.