1import{a as g,b as u}from"./chunk-7EAKTWRW.js";import{a as l}from"./chunk-3ZXF4WD3.js";import{a as f,b as c,c as h}from"./chunk-4EO2KNVY.js";import{a as n,b as m,c as p}from"./chunk-RCUYZO7A.js";import{I as a,M as i}from"./chunk-VM53P45Q.js";import{g as e,n as r}from"./chunk-WQ3TMWBQ.js";import{d as t}from"./chunk-SYELWAOX.js";var o=class extends p{static get styles(){return[i,h,g,f,c,l,n]}hasError(s){return((this.challenge?.responseErrors||{})[s]||[]).length>0}render(){return this.challenge?e`<header class="pf-c-login__main-header"> 2 <h1 class="pf-c-title pf-m-3xl">${this.challenge.flowInfo?.title}</h1> 3 </header> 4 <div class="pf-c-login__main-body"> 5 <form 6 class="pf-c-form" 7 @submit=${s=>{this.submitForm(s)}} 8 > 9 <ak-form-static 10 class="pf-c-form__group" 11 userAvatar="${this.challenge.pendingUserAvatar}" 12 user=${this.challenge.pendingUser} 13 > 14 <div slot="link"> 15 <a href="${m(this.challenge.flowInfo?.cancelUrl)}" 16 >${r("Not you?")}</a 17 > 18 </div> 19 </ak-form-static> 20 <input 21 name="username" 22 autocomplete="username" 23 type="hidden" 24 value="${this.challenge.pendingUser}" 25 /> 26 <ak-flow-input-password 27 label=${r("Password")} 28 required 29 grab-focus 30 class="pf-c-form__group" 31 .errors=${(this.challenge?.responseErrors||{}).password} 32 ?allow-show-password=${this.challenge.allowShowPassword} 33 invalid=${this.hasError("password").toString()} 34 prefill=${u.password??""} 35 ></ak-flow-input-password> 36 37 ${this.challenge.recoveryUrl?e`<a href="${this.challenge.recoveryUrl}"> 38 ${r("Forgot password?")}</a 39 >`:""} 40 41 <div class="pf-c-form__group pf-m-action"> 42 <button type="submit" class="pf-c-button pf-m-primary pf-m-block"> 43 ${r("Continue")} 44 </button> 45 </div> 46 </form> 47 </div> 48 <footer class="pf-c-login__main-footer"> 49 <ul class="pf-c-login__main-footer-links"></ul> 50 </footer>`:e`<ak-empty-state loading> </ak-empty-state>`}};o=t([a("ak-stage-password")],o);export{o as a}; 51//# sourceMappingURL=chunk-MXEOMUJH.js.map
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.