import{d as e,f as t,t as n}from"./hooks.module-5xe-uC6c.js";import{B as r}from"./content_renderer-CoENEE63.js";import{s as i}from"./options-CDt8ZGCW.js";import{t as a}from"./jsxRuntime.module--xb8gfv5.js";import{t as o}from"./Button-XVZ6KZoL.js";import{t as s}from"./FormGroup--CU8SFQh.js";import{t as c}from"./FormTextBox-oE57I0qB.js";e();function l(){let e=n(null);return a(`form`,{class:`protected-session-password-form tn-centered-form`,onSubmit:t(t=>{if(!e.current)return;t.preventDefault();let n=String(e.current.value);e.current.value=``,r.setupProtectedSession(n)},[e]),children:[a(`span`,{class:`form-icon bx bx-key`}),a(s,{name:`protected-session-password-in-detail`,label:i(`protected_session.enter_password_instruction`),children:a(c,{type:`password`,className:`protected-session-password`,autocomplete:`current-password`,inputRef:e})}),a(o,{text:i(`protected_session.start_session_button`),kind:`primary`,keyboardShortcut:`Enter`})]})}export{l as default};