import{m as t,n as i,u as r}from"./index-009d300e.js";const a={data:()=>({requiredKeys:["S2_Unauthenticated","S2_Authenticated","S2_AccessControl","S0_Legacy"],requiredKeysLongRange:["S2_Authenticated","S2_AccessControl"]}),computed:{...t(r,["zwave"]),missingKeys(){const n=this.zwave.securityKeys||{},e=[];for(const s of this.requiredKeys)(!n[s]||n[s].length!==32)&&e.push(s);return e},missingZwlrKeys(){const n=this.zwave.securityKeysLongRange||{},e=[];for(const s of this.requiredKeysLongRange)(!n[s]||n[s].length!==32)&&e.push(s);return e}}};var o=function(){var e=this,s=e._self._c;return e.missingKeys.length>0||e.missingZwlrKeys.length>0?s("v-alert",{attrs:{"max-width":"600px",dense:"",border:"left",type:"warning"}},[e.missingKeys.length>0?s("p",[e._v(" Some Z-Wave security keys are missing: "),s("strong",[e._v(e._s(e.missingKeys.join(", ")))])]):e._e(),e.missingZwlrKeys.length>0?s("p",[e._v(" Some Z-Wave Long Range security keys are missing: "),s("strong",[e._v(e._s(e.missingZwlrKeys.join(", ")))])]):e._e(),s("span",[e._v("Please make sure to set the keys in Settings.")])]):e._e()},_=[],g=i(a,o,_,!1,null,null,null,null);const y=g.exports;export{y as default};
