import{j as t,O as c,at as r,aO as l}from"./app-BgLa5dit.js";function o(e){return t.jsx("svg",{...e,children:t.jsx("path",{d:"M17.278 17.333a3.056 3.056 0 1 0 0-6.11 3.056 3.056 0 0 0 0 6.11m3.53-.637q.046.033.087.076l1.729 1.728a.794.794 0 1 1-1.124 1.124l-1.728-1.729a1 1 0 0 1-.076-.088 4.278 4.278 0 1 1 1.112-1.112zM7.713 9C7.32 9 7 8.776 7 8.5s.32-.5.714-.5h8.572c.394 0 .714.224.714.5s-.32.5-.714.5H7.714zm-.357 3.5C7.16 12.5 7 12.276 7 12s.16-.5.357-.5h4.286c.197 0 .357.224.357.5s-.16.5-.357.5H7.357zM7.5 16a.5.5 0 1 1 0-1h4a.5.5 0 1 1 0 1zm8.5 3a.5.5 0 1 1 0 1H6.5A2.5 2.5 0 0 1 4 17.5v-11A2.5 2.5 0 0 1 6.5 4h11A2.5 2.5 0 0 1 20 6.5V9a.5.5 0 1 1-1 0V6.5A1.5 1.5 0 0 0 17.5 5h-11A1.5 1.5 0 0 0 5 6.5v11A1.5 1.5 0 0 0 6.5 19z",fill:"currentColor"})})}const m="_panel_15zc9_1",d="_selected_15zc9_6",u="_preview_15zc9_9",i={panel:m,selected:d,preview:u};function f(e){const n=e.cft.data.products.find(a=>a.id==="lite"&&a.enabled),s=e.cft.data.products.find(a=>a.id==="streamable_learning"&&a.enabled);return t.jsx(c,{onClick:e.onChangeCft,children:t.jsxs("div",{className:`position-relative text-center rounded p-2 cursor-pointer d-flex flex-column align-items-center justify-content-center ${i.panel} ${e.isSelected?i.selected:""}`,children:[t.jsx(r,{svg:o,className:`position-absolute ${i.preview}`,onClick:a=>{a.stopPropagation(),e.showTemplatePreview(e.cft)}}),t.jsxs("div",{className:"mb-2",children:[n&&t.jsx("img",{src:l.CustomerWizard.LITE_LOGO,className:"me-2"}),s&&t.jsx("img",{src:l.CustomerWizard.SL_LOGO})]}),e.cft.displayName]})},e.cft.name)}function v(e){var n;return t.jsx("div",{className:"d-flex flex-wrap gap-3",children:(n=e.customerFormationTemplates)==null?void 0:n.map(s=>t.jsx(f,{cft:s,showTemplatePreview:e.showTemplatePreview,onChangeCft:()=>e.onChangeCft(s.name),isSelected:e.selectedCft===s.name},s.name))})}export{v as C};
//# sourceMappingURL=Ceer3EzR.chunk.js.map
