(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,727612,t=>{"use strict";let e=(0,t.i(475254).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"}]]);t.s(["Trash2",0,e],727612)},569074,t=>{"use strict";let e=(0,t.i(475254).default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);t.s(["Upload",0,e],569074)},144833,t=>{"use strict";var e=t.i(843476),a=t.i(440160),i=t.i(16715),s=t.i(356909),n=t.i(727612),l=t.i(569074),o=t.i(669716);t.s(["SiemActionPanel",0,function({position:t,activeTab:r,viewOnly:d=!1,...c}){let h="left"===t||"right"===t?"vertical":"horizontal";return"general"===r?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(o.AdaptiveBtn,{orientation:h,onClick:()=>c.backup?.(),disabled:c.generalBusy,icon:(0,e.jsx)(a.Download,{className:"w-4 h-4"}),label:"Backup",title:"Download SIEM config backup"}),(0,e.jsx)(o.AdaptiveBtn,{orientation:h,onClick:()=>c.restore?.(),disabled:c.generalBusy||d,icon:(0,e.jsx)(l.Upload,{className:"w-4 h-4"}),label:"Restore",title:"Restore SIEM config from file"})]}):"settings"===r?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(o.AdaptiveBtn,{orientation:h,onClick:()=>c.refresh?.(),disabled:c.loading,icon:(0,e.jsx)(i.RefreshCw,{className:"w-4 h-4"}),label:"Refresh",title:"Refresh SIEM settings"}),(0,e.jsx)(o.AdaptiveSeparator,{orientation:h}),(0,e.jsx)(o.AdaptiveBtn,{orientation:h,variant:"primary",onClick:()=>c.save?.(),disabled:c.settingsSaving||c.loading||d,icon:(0,e.jsx)(s.Save,{className:"w-4 h-4"}),label:c.settingsSaving?"Saving...":"Save",title:"Save SIEM settings"})]}):"statistics"===r?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(o.AdaptiveBtn,{orientation:h,onClick:()=>c.refreshStats?.(),disabled:c.statLoading,icon:(0,e.jsx)(i.RefreshCw,{className:"w-4 h-4"}),label:"Refresh",title:"Refresh statistics"}),(0,e.jsx)(o.AdaptiveSeparator,{orientation:h}),(0,e.jsx)(o.AdaptiveBtn,{orientation:h,variant:"destructive",onClick:()=>c.clearStats?.(),disabled:c.statClearing||c.statLoading||d,icon:(0,e.jsx)(n.Trash2,{className:"w-4 h-4"}),label:"Clear Statistics",title:"Reset all statistics counters"})]}):null}])}]);