"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[33832],{35571:(e,l,t)=>{t.d(l,{R:()=>c});var a=t(71479),n=t(566723),r=t(294303);const c=(0,a.A)(r.A)`
  justify-content: space-between;
  align-items: center;
  gap: ${n.Er};
  white-space: nowrap;
`},67668:(e,l,t)=>{t.d(l,{A:()=>o});var a=t(296540),n=t(559874),r=t(491876),c=t(35571);const o=({label:e,value:l})=>a.createElement(c.R,null,a.createElement(r.A,null,e),a.createElement(n.A,null,l))},303581:(e,l,t)=>{t.d(l,{A:()=>R});var a=t(469733),n=t(296540),r=t(217439),c=t(895795),o=t(742920),i=t(582724),s=t(689965),m=t(675359),E=t(699784),d=t(151033),u=t(801081),A=t(25553),g=t(87485),p=t(691189),v=t(987617);const C=`${v.A2}/cef`,f=":logId:",O=`${v.o2}/${f}/cef`,k=(e={},l={})=>{return(0,p.Kd)((t=e.queryParams.id,[C,t].join()),O.replace(f,e.queryParams.id),C,e,l);var t},w=e=>(0,u.Mz)((e=>(0,A.uh)(k({queryParams:{id:e}})))(e),g.i6);var h;!function(e){e.CEF_LOG="cef_log"}(h||(h={}));const I="CEF_LOG_CLASSNAME";var N=t(822336),y=t(71479),_=t(566723),x=t(294303);const M=(0,y.A)(x.A)`
  border-radius: 8px;
  word-wrap: break-word;
  background: ${({theme:{themeName:e}})=>N.Ay[`desktop-color-neutral-02-${e}`]};
  padding: ${_.Ln};
  gap: ${_.YC};
  .${I} {
    line-height: 24px;
    overflow-wrap: anywhere;
  }
`,R=({log:e})=>{const l=(0,a.useDispatch)(),t=(0,a.useSelector)((0,n.useMemo)(()=>w(e[d.k1.ID]),[e])),u=(0,n.useCallback)(async()=>{t[h.CEF_LOG]&&navigator.clipboard.writeText(t[h.CEF_LOG]).then(()=>{l((0,m.ox)({icon:o.C.success,message:"COMMON_COPIED_TO_CLIPBOARD",duration:1e3}))})},[l,t]);return(0,i.A)([k({queryParams:{id:e[d.k1.ID]}})],t[h.CEF_LOG]?n.createElement(s.A,{type:s.I.ACCORDION,items:[{id:"cef-log",label:n.createElement(E.sA,{id:"LOGS_CEF_LOG"}),openByDefault:!0,renderContent:()=>n.createElement(M,null,n.createElement(r.A,{size:"medium",color:"text-2",className:I},t[h.CEF_LOG]),n.createElement(c.A,{size:"original",actionable:!0,onClick:u}))}]}):null,{renderKey:e[d.k1.ID]})}},422970:(e,l,t)=>{t.d(l,{p:()=>c});var a=t(71479),n=t(566723),r=t(294303);const c=(0,a.A)(r.A)`
  align-items: center;
  gap: ${n.kc};
  overflow: hidden;
`},433832:(e,l,t)=>{t.r(l),t.d(l,{default:()=>p});var a=t(296540),n=t(689965),r=t(151033),c=t(286388),o=t(795995),i=t(895169),s=t(303581),m=t(678306),E=t(71479),d=t(566723),u=t(294303);const A=(0,E.A)(u.A)`
  flex-direction: column;
`,g=(0,E.A)(u.A)`
  flex-direction: column;
  gap: ${d.kc};
`,p=(0,a.memo)(({activeItem:{log:e,flow:l}})=>a.createElement(A,null,r.k1.ID in e?a.createElement(n.A,null,a.createElement(g,null,a.createElement(o.A,{log:e}))):null,c.eq.ID in l?a.createElement(m.default,{activeItem:l}):null,r.k1.ID in e?a.createElement(i.A,{log:e}):null,r.k1.ID in e?a.createElement(s.A,{log:e}):null))},491876:(e,l,t)=>{t.d(l,{A:()=>r});var a=t(296540),n=t(705145);const r=e=>a.createElement(n.A,{size:"medium",color:"text-2",...e})},559874:(e,l,t)=>{t.d(l,{A:()=>r});var a=t(296540),n=t(115829);const r=({flexProps:e,...l})=>a.createElement(n.A,{size:"medium",color:"text-3",flexProps:{justifyContent:"end",...e},...l})},795995:(e,l,t)=>{t.d(l,{A:()=>v});var a=t(296540),n=t(822336),r=t(998837),c=t(699784),o=t(628999),i=t(370295),s=t(151033),m=t(635937),E=t(559874),d=t(422970),u=t(67668);const A=({log:e})=>{const{themeName:l}=(0,r.u)();return e[s.k1.SEVERITY]?a.createElement(u.A,{label:a.createElement(c.sA,{id:"COMMON_SEVERITY"}),value:a.createElement(d.p,null,a.createElement(E.A,{style:{color:n.Ay[`desktop-color-${i.f[e[s.k1.SEVERITY]][1]}-${l}`]}},a.createElement(c.sA,{id:m.lU[e[s.k1.SEVERITY]]})),a.createElement(o.A,{logSeverity:e[s.k1.SEVERITY]}))}):null},g=({log:e})=>e[s.k1.EVENT]?a.createElement(u.A,{label:a.createElement(c.sA,{id:"COMMON_EVENT"}),value:a.createElement(c.sA,{id:`${s.yQ.SYS_LOG_EVENT}_${e[s.k1.EVENT]}`})}):null,p=({log:e})=>e[s.k1.CATEGORY]?a.createElement(u.A,{label:a.createElement(c.sA,{id:"COMMON_CATEGORY"}),value:a.createElement(c.sA,{id:m.Vx[e[s.k1.CATEGORY]]})}):null,v=({log:e})=>a.createElement(a.Fragment,null,a.createElement(g,{log:e}),a.createElement(A,{log:e}),a.createElement(p,{log:e}))},895169:(e,l,t)=>{t.d(l,{A:()=>i});var a=t(296540),n=t(217439),r=t(689965),c=t(699784),o=t(89587);const i=({log:e})=>a.createElement(r.A,{type:r.I.ACCORDION,items:[{id:"log-description",label:a.createElement(c.sA,{id:"COMMON_DESCRIPTION"}),openByDefault:!0,renderContent:()=>a.createElement(n.A,{style:{wordWrap:"break-word"},size:"medium",color:"text-2"},(0,o.x)({log:e,isSidePanel:!0}))}]})},895795:(e,l,t)=>{t.d(l,{A:()=>r});var a=t(296540),n=t(629318);const r=(0,t(51946).w)(e=>(0,a.createElement)("svg",(0,n.d)({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em"},e),(0,a.createElement)("rect",{x:3,y:5,width:12,height:12,rx:1,fill:"currentColor",className:e.twotonedclassname}),(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5 4H16v9.5a.5.5 0 0 0 1 0V4a1 1 0 0 0-1-1H6.5a.5.5 0 0 0 0 1ZM4 6h10v10H4V6ZM3 6a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6Z",fill:"currentColor",className:e.baseclassname}),(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5 4H16v9.5a.5.5 0 0 0 1 0V4a1 1 0 0 0-1-1H6.5a.5.5 0 0 0 0 1ZM4 5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4Z",fill:"currentColor",className:e.fillclassname})))}}]);