import{j as o,D as e,c0 as c,I as s,a2 as i,aw as a,b$ as d,K as l,o as g,ah as $}from"./index-CNZMR1GT.js";const h=t=>{const r=g(),{back:u}=o();return e($,{w:{"@initial":"$full","@md":"$lg"},p:"$8",spacing:"$3",alignItems:"start",get children(){return[e(c,{get children(){return t.title}}),e(s,{autofocus:!0,type:"password",get value(){return t.password()},get background(){return i("$neutral3","$neutral2")()},onKeyDown:n=>{n.key==="Enter"&&t.enterCallback()},onInput:n=>t.setPassword(n.currentTarget.value)}),e(a,{w:"$full",justifyContent:"space-between",get children(){return[e(d,{fontSize:"$sm",color:"$neutral10",direction:{"@initial":"column","@sm":"row"},columnGap:"$1",get children(){return t.children}}),e(a,{spacing:"$2",get children(){return[e(l,{colorScheme:"neutral",onClick:u,get children(){return r("global.back")}}),e(l,{onClick:()=>t.enterCallback(),get children(){return r("global.ok")}})]}})]}})]}})};export{h as default};
