import{c as t}from"./chunk-STJ3LWFL.js";import{d as l}from"./chunk-KOB6T6NK.js";import{f as i,m,n as w,o as d,r as f}from"./chunk-PTIJDS6I.js";import{F as n}from"./chunk-E24W34C4.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();async function y(o,r,P){i()||f({store:r});let e=o??m()??await p(["Enter your",{link:{label:"store password",url:t(r)}}]),s=!1;for(;!await l(e,r,P);)s||(d(),s=!0),e=await p(["Incorrect",{link:{label:"store password",url:t(r)}},{char:"."},"Please try again"]);return w(e),e}async function p(o){return n({message:o,password:!0})}export{y as a};
