import{ih as a,jh as l}from"./cli-0.5.12-63mc4ryd.mjs";import{kh as m,lh as c}from"./cli-0.5.12-11b979hs.mjs";import{BZ as e,DZ as n}from"./cli-0.5.12-c6whkxmz.mjs";import{aoa as s}from"./cli-0.5.12-xzeb7mtb.mjs";async function f(o,r){let t=await m();if(t.type==="message")return o(t.value),null;return e(a,{startingMessage:"Starting new login following /extra-usage. Exit with Ctrl-C to use existing account.",onDone:(i)=>{r.onChangeAPIKey(),o(i?"Login successful":"Login interrupted")}})}var g=s(()=>{l();c();n()});
export{f as gh,g as hh};
