import{bc as p,c4 as n,ao as c,aF as l,L as m,m as u,o as C,f as A,e as S,A as g,cj as f}from"./app-k0jcl5PQ.js";import{E as x}from"./5O_OfZVM.chunk.js";import{C as h}from"./_XP6hjk3.chunk.js";import"./C3DvQ1wU.chunk.js";import"./DV1GpLCe.chunk.js";import"./Di9d6zcy.chunk.js";import"./CKctgafI.chunk.js";import"./CcVxCsAm.chunk.js";import"./DLmnDxSd.chunk.js";import"./CW7x8M-z.chunk.js";const L="classrooms.createClassroom",e=m.encloseNamespace(L);function N(s){const o=p(),r=n(),i=a=>{u(r,h.createClassroom(a,t=>{C.logUserAction(t,s.analyticsOptions),o.success({heading:f.Success,type:g.Success,message:e("success",{name:a.name,escapeText:!0}),appLink:{application:S.CLASSROOMS,action:A.Classrooms.CLASSROOM_STUDENTS,args:[t.id]},appLinkText:e("goToClassroom",{name:a.name,escapeText:!0}),appLinkClassName:"info-link"}),s.closePopup()},()=>{o.error(e("error")),s.closePopup()}))};return c.jsx(l,{title:e("title"),closePopup:s.closePopup,children:c.jsx(x,{saveClassroom:i,onClickCancel:s.closePopup})})}export{N as CreateClassroomView};
//# sourceMappingURL=BKJlluwL.chunk.js.map
