import{f as p,a as m,s as j}from"../chunks/DktbhmWA.js";import{i as S}from"../chunks/BhDuCDh7.js";import{p as V,a as z,s as b,c as t,r as a,t as C,g as A}from"../chunks/CPWcrcMP.js";import{S as F,e as H,i as L}from"../chunks/BxBMkMrU.js";import{G as N}from"../chunks/CtdL8EMg.js";var O=p("<tr><td> </td><td> </td></tr>"),T=p('<section><div class="bg-base-200 mt-4 mb-4 p-6 rounded-lg shadow"><div class="flex flex-col"><div class="flex gap-4"><div class="card bg-base-100 shadow-md w-full flex-1"><div class="card-body flex flex-row items-center space-x-4 flex-grow"><div class="overflow-x-auto w-full flex-1"><table class="table table-zebra w-full"><thead><tr><th>Name</th><th>Value</th></tr></thead><tbody></tbody></table></div></div></div></div></div></div></section>');function W(v,o){V(o,!1);let s=new F(["Bacnet/#"]);function d(){const n=(s==null?void 0:s.getData())||{};return Object.entries(n).filter(([e])=>!e.toLowerCase().includes("history")&&!e.startsWith("VB_")).map(([e,r])=>{const l=e;return r!==null&&typeof r=="object"&&!Array.isArray(r)?{topic:e,name:l,...r,isPlain:!1}:{topic:e,name:l,value:r,isPlain:!0}})}S();var i=T(),u=t(i),x=t(u),h=t(x),_=t(h),g=t(_),w=t(g),y=t(w),B=b(t(y));H(B,5,d,L,(n,e)=>{let r=()=>A(e).name,l=()=>A(e).value;var c=O(),f=t(c),G=t(f,!0);a(f);var D=b(f),P=t(D,!0);a(D),a(c),C(()=>{j(G,r()),j(P,l()||"")}),m(n,c)}),a(B),a(y),a(w),a(g),a(_),a(h),a(x),a(u),a(i),m(v,i),z()}var k=p('<section><div class="container mx-auto"><!> <!></div></section>');function M(v){var o=k(),s=t(o),d=t(s);N(d,{});var i=b(d,2);W(i,{}),a(s),a(o),m(v,o)}export{M as component};
