module.exports=[555211,a=>{"use strict";var b=a.i(187924),c=a.i(90408);let d={default:"bg-white dark:bg-gray-800 border border-border hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300",primary:"bg-blue-600 border border-blue-600 hover:bg-blue-700 text-white",destructive:"bg-white dark:bg-gray-800 border border-red-300 dark:border-red-600 hover:bg-red-50 dark:hover:bg-red-900/20 text-red-600 dark:text-red-400",accent:"bg-white dark:bg-gray-800 border border-blue-300 dark:border-blue-600 hover:bg-blue-50 dark:hover:bg-blue-900/20 text-blue-600 dark:text-blue-400",orange:"bg-white dark:bg-gray-800 border border-orange-300 dark:border-orange-700 hover:bg-orange-50 dark:hover:bg-orange-900/20 text-orange-600 dark:text-orange-400"};function e({onClick:a,disabled:f,title:g,icon:h,label:i,variant:j="default",className:k}){return(0,b.jsx)(c.HoverTooltip,{content:g??i,children:(0,b.jsxs)("button",{onClick:()=>a(),disabled:f,className:`flex items-center gap-1 px-2.5 py-1.5 text-xs rounded disabled:opacity-40 disabled:cursor-not-allowed whitespace-nowrap ${d[j]}${k?` ${k}`:""}`,children:[h,i]})})}function f(){return(0,b.jsx)("span",{className:"w-px h-5 bg-border mx-0.5 shrink-0"})}let g={default:"bg-gray-50 dark:bg-gray-700 border border-border hover:bg-gray-100 dark:hover:bg-gray-600 text-gray-700 dark:text-gray-200",primary:"bg-blue-600 border border-blue-600 hover:bg-blue-700 text-white",destructive:"bg-gray-50 dark:bg-gray-700 border border-red-300 dark:border-red-500 hover:bg-red-50 dark:hover:bg-red-900/30 text-red-600 dark:text-red-400",accent:"bg-gray-50 dark:bg-gray-700 border border-blue-300 dark:border-blue-500 hover:bg-blue-50 dark:hover:bg-blue-900/30 text-blue-600 dark:text-blue-400",orange:"bg-gray-50 dark:bg-gray-700 border border-orange-300 dark:border-orange-600 hover:bg-orange-50 dark:hover:bg-orange-900/30 text-orange-600 dark:text-orange-400"};function h({onClick:a,disabled:d,title:e,icon:f,label:i,variant:j="default"}){return(0,b.jsx)(c.HoverTooltip,{content:e??i,side:"right",children:(0,b.jsxs)("button",{onClick:()=>a(),disabled:d,className:`flex flex-col items-center gap-0.5 w-full px-1 py-1.5 text-[10px] leading-tight rounded disabled:opacity-40 disabled:cursor-not-allowed ${g[j]}`,children:[f,(0,b.jsx)("span",{children:i})]})})}a.s(["AdaptiveBtn",0,function(a){let{orientation:c,...d}=a;return"vertical"===c?(0,b.jsx)(h,{...d}):(0,b.jsx)(e,{...d})},"AdaptiveSeparator",0,function({orientation:a}){return"vertical"===a?(0,b.jsx)("span",{className:"w-full h-px bg-border my-0.5"}):(0,b.jsx)(f,{})}])},633508,a=>{"use strict";var b=a.i(562213);a.s(["X",()=>b.default])},781560,a=>{"use strict";let b=(0,a.i(170106).default)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);a.s(["Trash2",0,b],781560)},915618,a=>{"use strict";let b=(0,a.i(170106).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);a.s(["Plus",0,b],915618)},452495,a=>{"use strict";let b=(0,a.i(170106).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);a.s(["ExternalLink",0,b],452495)},431491,a=>{"use strict";var b=a.i(187924),c=a.i(915618),d=a.i(781560),e=a.i(633508),f=a.i(452495),g=a.i(555211);a.s(["LicenseManagerActionPanel",0,function({position:a,install:h,remove:i,clear:j,busy:k,hasSelection:l,hasLicenses:m,viewOnly:n=!1}){let o="left"===a||"right"===a?"vertical":"horizontal";return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(g.AdaptiveBtn,{orientation:o,onClick:h,disabled:k||n,icon:(0,b.jsx)(c.Plus,{className:"w-4 h-4"}),label:"Install License",title:"Install a license from a JSON file",variant:"primary"}),(0,b.jsx)(g.AdaptiveBtn,{orientation:o,onClick:i,disabled:!l||k||n,icon:(0,b.jsx)(d.Trash2,{className:"w-4 h-4"}),label:"Remove Selected",title:l?"Remove the selected license":"Select a license to remove",variant:"destructive"}),(0,b.jsx)(g.AdaptiveBtn,{orientation:o,onClick:j,disabled:!m||k||n,icon:(0,b.jsx)(e.X,{className:"w-4 h-4"}),label:"Remove All",title:m?"Remove all installed licenses":"No licenses to remove",variant:"destructive"}),(0,b.jsx)(g.AdaptiveBtn,{orientation:o,onClick:()=>window.open("https://www.innovarhealthcare.com/plugins","_blank"),disabled:!1,icon:(0,b.jsx)(f.ExternalLink,{className:"w-4 h-4"}),label:"Purchase License",title:"Purchase a license for Innovar plugins",variant:"default"})]})}])}];

//# sourceMappingURL=_162hmm1._.js.map