(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=cockpit;var n=e.n(t);const o=n().channel({payload:"metrics1",source:"internal",metrics:[{name:"block.device.read"}],interval:1e3});o.addEventListener("close",((e,t)=>console.log(t))),o.addEventListener("message",((e,t)=>console.log(t))),document.addEventListener("DOMContentLoaded",(()=>{document.body.removeAttribute("hidden"),document.getElementById("reload").addEventListener("click",(()=>n().logout(!0)))}))})();