import{iO as x,p as C,cb as c,ao as e,aF as h,L as k,aP as S,aq as r,aG as j,aH as y,bU as i,o as l,E as p,r as g,W as u,v as A}from"./app-k0jcl5PQ.js";const U="_image_1rjcf_1",L={image:U},t="userManager.ssoAddUsersConfirm",a=k.encloseNamespace(t);function b(s){const d=x(s.userType),o=C[s.userType===c.Learner?"StudentManager":"StaffManager"];function m(){l.logUserAction({},{workflowPhase:u.Next,actionType:g.Create,entity:p.User,location:o}),A.trigger(d.addNewUsers)}function f(){l.logUserAction({},{workflowPhase:u.Discard,actionType:g.Create,entity:p.User,location:o}),s.closePopup()}const n=s.userType===c.Learner;return e.jsx(h,{size:"md",title:a(n?"titleStudents":"titleStaff"),closePopup:s.closePopup,bodyClassName:"text-center",children:e.jsxs(e.Fragment,{children:[e.jsx("img",{src:S.UserManager.SSO_WARNING,className:`${L.image} img-fluid my-3`,draggable:!1}),e.jsx("h1",{className:"h4",children:e.jsx(r,{namespace:t,phrase:n?"ssoWarningCreateStudentTitle":"ssoWarningCreateStaffTitle"})}),e.jsx("p",{children:e.jsx(r,{namespace:t,phrase:n?"ssoWarningCreateStudent":"ssoWarningCreateStaff"})}),e.jsx("a",{className:"info-link d-block mb-3",href:j.getLiteArticle(y.EditSsoAccounts),target:"_blank",children:e.jsx(r,{namespace:t,phrase:"kbArticleCreate"})}),e.jsxs(i,{children:[e.jsx(i.Cancel,{onClick:f,text:a("cancel")}),e.jsx(i.Submit,{variant:"dark",onClick:m,text:a("continue")})]})]})})}export{b as SsoAddUserConfirmView};
//# sourceMappingURL=BeVC-qWa.chunk.js.map
