const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BlinkIcon-BiLQ4bd9.js","./index-Ms_1iFoB.js","./index-2j-kvxFz.css"])))=>i.map(i=>d[i]);
import{_ as o,a as s,u as a,j as i,n as c}from"./index-Ms_1iFoB.js";const l={props:{node:{type:Object,required:!0}},components:{BlinkIcon:()=>o(()=>import("./BlinkIcon-BiLQ4bd9.js"),__vite__mapDeps([0,1,2]),import.meta.url)},data(){return{now:Date.now(),nowInterval:null}},methods:{...s(a,["getDateTimeString"]),jsonToList(n){return i(n,{ignore:["lwr","nlwr","rssi","backgroundRSSI","lastSeen"],suffixes:{rtt:"ms"}})}},mounted(){this.nowInterval=setInterval(()=>{this.now=Date.now()},200)},beforeDestroy(){clearInterval(this.nowInterval)}};var _=function(){var t=this,e=t._self._c;return e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:r}){return[e("center",t._g({},r),[e("blink-icon",{attrs:{icon:"north",activeColor:t.node.errorTransmit?"error":"green",active:t.now-t.node.lastTransmit<200}}),e("blink-icon",{attrs:{icon:"south",activeColor:t.node.errorReceive?"error":"green",active:t.now-t.node.lastReceive<200}}),e("div",{staticClass:"text-caption"},[e("i",[t._v(t._s(t.node.lastActive?t.getDateTimeString(t.node.lastActive):"Never")+" ")])])],1)]}}])},[e("span",{staticStyle:{"white-space":"pre-wrap"}},[t._v(t._s(t.node.statistics?t.jsonToList(t.node.statistics):"-----"))])])},v=[],d=c(l,_,v,!1,null,null);const m=d.exports;export{m as default};
