import{R as l,j as e,b7 as c,a8 as t}from"./app-BgLa5dit.js";const h="shared.confirmInputChallenge";function m(a){const[r,s]=l.useState("");function o(n){s(n.target.value),a.onChallengePass(t.removeExtraSpace(n.target.value)===t.removeExtraSpace(a.challengePhrase))}return e.jsxs("div",{className:"mt-3",children:[e.jsx("label",{htmlFor:"confirm",children:e.jsx(c,{namespace:h,phrase:"confirmHeading",options:{escapeText:!0,dashboardName:a.challengePhrase}})}),e.jsx("input",{onChange:o,value:r,id:"confirm",className:"border border-secondary rounded w-100 py-1 ps-2",type:"text"})]})}export{m as C};
//# sourceMappingURL=Cgoejc6d.chunk.js.map
