"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[65809],{112142(e,t,n){n.d(t,{A:()=>s});var r=n(296540),i=n(271856),o=n(325898),a=(0,r.memo)(e=>{const{motif:t,width:n=194,left:a=0,top:c=0,topMargin:d,tooltipProps:l={},...u}=e,{motif:s}=(0,o.A)(t);return r.createElement("div",{style:{position:"absolute",left:a,top:c}},r.createElement(i.A,{motif:s,width:n,animate:!1,isHoverable:!1,offset:d?d+10:l.offset,...u,...l},r.createElement("div",null)))},(e,t)=>Boolean(t.hidden));function c(e){return null!==e&&("string"==typeof e?"%"===e.slice(-1):!isNaN(e))}(0,n(349005).A)(".tooltipContainer__Q9Q7ZKPc{opacity:1;pointer-events:none}.tooltipContainer__Q9Q7ZKPc.animated__Q9Q7ZKPc{transition-duration:.1s;transition-property:opacity;transition-timing-function:cubic-bezier(.25,0,.25,1)}.tooltipContainer__Q9Q7ZKPc.interactive__Q9Q7ZKPc{pointer-events:auto}.tooltipContainer__Q9Q7ZKPc.interactive__Q9Q7ZKPc.hidden__Q9Q7ZKPc{pointer-events:none}.tooltipContainer__Q9Q7ZKPc.hidden__Q9Q7ZKPc{opacity:0}");var d=n(722860),l=n(385941);const u=(0,d.c)({tooltipContainer:"tooltipContainer__Q9Q7ZKPc",animated:"animated__Q9Q7ZKPc",interactive:"interactive__Q9Q7ZKPc",hidden:"hidden__Q9Q7ZKPc"});var s=(0,r.memo)(r.forwardRef((e,t)=>{const{className:n,isAnimated:i=!0,delay:o,hidden:d=!1,top:s=0,left:m=0,isInteractive:f,message:h,title:p,description:g,children:v,...b}=e,{currentState:A,onStart:x,onComplete:_}=(0,l.T)(d,o),[k,E]=(0,r.useState)(!0),[Q,$]=(0,r.useState)({top:s,left:m,message:h,title:p,description:g,children:v});(0,r.useEffect)(()=>{E(!1)},[]),(0,r.useEffect)(()=>{d!==A&&(d?_:x)(d)},[d,A,x,_]),(0,r.useEffect)(()=>{d||$({top:s,left:m,message:h,title:p,description:g,children:v})},[d,s,m,h,p,g,v]);const C=!A&&c(m)&&c(s)&&!k;return r.createElement("div",{"data-testid":"svgtooltip",ref:t,className:u.concat(n)("tooltipContainer",!C&&"hidden",f&&"interactive",i&&"animated")},r.createElement(a,{hidden:A,top:Q.top,left:Q.left,isInteractive:f,message:Q.message,title:Q.title,description:Q.description,...b},Q.children))}))},689965(e,t,n){n.d(t,{A:()=>h,I:()=>r});var r,i=n(296540),o=n(822336),a=n(963724),c=n(71479),d=n(825032),l=n(566723),u=n(294303),s=n(311785);!function(e){e.ACCORDION="accordion",e.BUTTON_LIST="buttonList"}(r||(r={}));const m=(0,c.A)(u.A,(0,s.A)("marginBottom","isButtonList","margin","flex","width","padding","nested","background"))`
  background-color: ${({background:e,nested:t,theme:{themeName:n}})=>e||o.Ay[n===d.S.DARK?`desktop-color-neutral-${t?"00":"01"}-dark`:`desktop-color-neutral-${t?"01":"00"}-light`]};
  padding: ${({theme:e,isButtonList:t,padding:n})=>n||(t?`0 ${e.spacing["spacing-l"]}`:e.spacing["spacing-l"])};
  margin-bottom: ${({theme:e,marginBottom:t})=>t||e.spacing["spacing-l"]};
  ${({margin:e})=>e?`margin: ${e};`:""}
  border-radius: 8px;
  flex-direction: column;
  width: ${({width:e="100%"})=>e};
  flex: ${({flex:e=0})=>e};
  > :last-child {
    margin-bottom: 0;
  }
  thead {
    tr {
      height: 32px !important;
    }
    th {
      text-transform: none;
    }
  }
  ${({isButtonList:e})=>e?`\n    > div {\n      display: flex;\n      height: 48px;\n      border-bottom: ${({theme:{themeName:e}})=>o.Ay[`desktop-border-divider-${e}`]};\n      &:last-child {\n        border-bottom: none;\n      }\n    }\n  `:""}
`,f=(0,c.A)(a.A,(0,s.A)("marginBottom","margin","flex","padding","nested","background"))`
  background-color: ${({background:e,nested:t,theme:{themeName:n}})=>e||o.Ay[n===d.S.DARK?`desktop-color-neutral-${t?"00":"01"}-dark`:`desktop-color-neutral-${t?"01":"00"}-light`]};
  margin-bottom: ${({theme:e,marginBottom:t})=>t||e.spacing["spacing-l"]};
  ${({margin:e})=>e?`margin: ${e};`:""}
  ${({padding:e})=>e?`padding: ${e};`:""}
  border-radius: 8px;
  flex-direction: column;
  flex: ${({flex:e=0})=>e};
  > :last-child {
    margin-bottom: 0;
  }
  thead {
    tr {
      height: 32px !important;
    }
    th {
      text-transform: none;
    }
  }
  > li {
    > div:first-child {
      background: ${({background:e,theme:{themeName:t}})=>e||o.Ay[t===d.S.DARK?"desktop-color-neutral-01-dark":"desktop-color-neutral-00-light"]};
      height: 48px;
      padding: 0 ${l.Ln};
    }
    > div:nth-child(2) {
      margin-bottom: 0;
      padding: 0;
      > div {
        padding: 0 ${l.Ln} ${l.Ln};
      }
    }
  }
`,h=({type:e,marginBottom:t,margin:n,padding:o,flex:a,width:c,nested:d,...l})=>"items"in l?i.createElement(f,{marginBottom:t,margin:n,padding:o,flex:a,nested:d,...l}):i.createElement(m,{nested:d,width:c,marginBottom:t,margin:n,padding:o,flex:a,isButtonList:e===r.BUTTON_LIST,...l},l.children)},540446(e,t,n){n.d(t,{A:()=>c});var r=n(296540),i=n(86571),o=n(689965),a=n(346241);const c=(0,r.memo)(({mac:e,object:t})=>r.createElement(o.A,{type:o.I.ACCORDION,items:[{id:"systemPerformance",openByDefault:!1,label:r.createElement(i.A,{id:"DEVICE_PROPERTY_SYSTEM_STATISTICS"}),renderContent:()=>r.createElement(a.A,{mac:e,object:t})}]}))},679431(e,t,n){n.r(t),n.d(t,{default:()=>l});var r=n(296540),i=n(87250),o=n(275357),a=n(540739),c=n(13739),d=n(540446);const l=({activeItem:{mac:e,model:t}})=>r.createElement(r.Fragment,null,r.createElement(c.A,{mac:e,model:t,logType:a.F.DEVICE,label:"COMMON_HISTORY",ignoreActionableValues:[o.dl.DEVICE]}),r.createElement(d.A,{mac:e,object:i.qv.SW}))},340936(e,t,n){n.d(t,{A:()=>o});var r=n(296540);function i(e,t,n){return e[t]?e[t][0]?e[t][0][n]:e[t][n]:"contentBoxSize"===t?e.contentRect["inlineSize"===n?"width":"height"]:void 0}function o(e){void 0===e&&(e={});var t=e.onResize,n=(0,r.useRef)(void 0);n.current=t;var o=e.round||Math.round,a=(0,r.useRef)(),c=(0,r.useState)({width:void 0,height:void 0}),d=c[0],l=c[1],u=(0,r.useRef)(!1);(0,r.useEffect)(function(){return u.current=!1,function(){u.current=!0}},[]);var s=(0,r.useRef)({width:void 0,height:void 0}),m=function(e,t){var n=(0,r.useRef)(null),i=(0,r.useRef)(null);i.current=t;var o=(0,r.useRef)(null);(0,r.useEffect)(function(){a()});var a=(0,r.useCallback)(function(){var t=i.current,r=o.current||(t?t instanceof Element?t:t.current:null);n.current&&n.current.element===r&&n.current.subscriber===e||(n.current&&n.current.cleanup&&n.current.cleanup(),n.current={element:r,subscriber:e,cleanup:r?e(r):void 0})},[e]);return(0,r.useEffect)(function(){return function(){n.current&&n.current.cleanup&&(n.current.cleanup(),n.current=null)}},[]),(0,r.useCallback)(function(e){o.current=e,a()},[a])}((0,r.useCallback)(function(t){return a.current&&a.current.box===e.box&&a.current.round===o||(a.current={box:e.box,round:o,instance:new ResizeObserver(function(t){var r=t[0],a="border-box"===e.box?"borderBoxSize":"device-pixel-content-box"===e.box?"devicePixelContentBoxSize":"contentBoxSize",c=i(r,a,"inlineSize"),d=i(r,a,"blockSize"),m=c?o(c):void 0,f=d?o(d):void 0;if(s.current.width!==m||s.current.height!==f){var h={width:m,height:f};s.current.width=m,s.current.height=f,n.current?n.current(h):u.current||l(h)}})}),a.current.instance.observe(t,{box:e.box}),function(){a.current&&a.current.instance.unobserve(t)}},[e.box,o]),e.ref);return(0,r.useMemo)(function(){return{ref:m,width:d.width,height:d.height}},[m,d.width,d.height])}},383149(e,t,n){n.d(t,{A:()=>i});var r=n(885205);const i=function(e,t){return!(null==e||!e.length)&&(0,r.A)(e,t,0)>-1}},887809(e,t,n){n.d(t,{A:()=>r});const r=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},458043(e,t,n){n.d(t,{A:()=>l});var r=n(8300),i=n(383149),o=n(887809),a=n(45572),c=n(552789),d=n(764099);const l=function(e,t,n,l){var u=-1,s=i.A,m=!0,f=e.length,h=[],p=t.length;if(!f)return h;n&&(t=(0,a.A)(t,(0,c.A)(n))),l?(s=o.A,m=!1):t.length>=200&&(s=d.A,m=!1,t=new r.A(t));e:for(;++u<f;){var g=e[u],v=null==n?g:n(g);if(g=l||0!==g?g:0,m&&v==v){for(var b=p;b--;)if(t[b]===v)continue e;h.push(g)}else s(t,v,l)||h.push(g)}return h}},144757(e,t,n){n.d(t,{A:()=>c});var r=n(458043),i=n(187671),o=n(224326),a=n(153533);const c=(0,o.A)(function(e,t){return(0,a.A)(e)?(0,r.A)(e,(0,i.A)(t,1,a.A,!0)):[]})}}]);