import{__assign as e}from"tslib";import{jsx as c,jsxs as i}from"react/jsx-runtime";import{Plus as s,KeyRound as n}from"lucide-react";import a from"../styles/EmptyRuleState.module.css.js";var o=function(o){var t=o.onCreate,l=o.title,r=o.desc,d=o.button,m=o.canCreateRule,u=o.noAccessTitle,v=void 0===u?"You don't have access":u,h=o.noAccessDesc,p=void 0===h?"Request access to create a Global scope for this application.":h,N=o.requestAccessButton,L=void 0===N?"Request Access":N,f=o.onRequestAccess,b=null!=m&&m,A=!b;return c("div",e({className:a.container},{children:i("div",e({className:a.card},{children:[i("div",e({className:a.iconContainer},{children:[i("div",e({className:a.iconLines},{children:[c("div",{className:"".concat(a.iconLine," ").concat(a.iconLineLong)}),c("div",{className:"".concat(a.iconLine," ").concat(a.iconLineLong)}),c("div",{className:"".concat(a.iconLine," ").concat(a.iconLineShort)})]})),c("div",e({className:a.iconBadge},{children:c(s,{size:22})}))]})),c("h2",e({className:a.title},{children:A?v:l})),c("p",e({className:a.description},{children:A?p:r})),i("button",e({onClick:A?f:t,className:a.createButton,disabled:!b&&!A},{children:[c(A?n:s,{size:16}),A?L:d]}))]}))}))};export{o as default};
//# sourceMappingURL=EmptyLearningState.js.map
