import{S as s,i as a,a as i,b as n,s as e,e as t,c as o,n as r,d as l,h as c,p as u,j as h,o as m,r as d}from"./index-9e0a68c1.js";function p(s){let a,i,e,m,d,p,f,b,g,v;return{c(){a=t("header"),i=t("a"),i.innerHTML=' \n Libertarian socialists',e=o(),m=t("input"),d=o(),p=t("label"),p.innerHTML='',f=o(),b=t("nav"),b.innerHTML='',this.c=r,l(i,"id","logo-container"),l(i,"href","/"),l(m,"type","checkbox"),l(m,"id","side-menu"),l(p,"id","hamb"),l(p,"for","side-menu"),l(b,"id","nav"),l(a,"id","navbar")},m(t,o){n(t,a,o),c(a,i),c(a,e),c(a,m),s[3](m),c(a,d),c(a,p),c(a,f),c(a,b),s[4](a),g||(v=u(m,"click",s[2]),g=!0)},p:r,i:r,o:r,d(i){i&&h(a),s[3](null),s[4](null),g=!1,v()}}}function f(s,a,i){let n,e;return m((()=>{})),[n,e,function(){n.checked?i(1,e.style.background="white",e):setTimeout((()=>{i(1,e.style.position="relative",e),i(1,e.style.background="",e),i(1,e.style.boxShadow="",e)}),510)},function(s){d[s?"unshift":"push"]((()=>{n=s,i(0,n)}))},function(s){d[s?"unshift":"push"]((()=>{e=s,i(1,e)}))}]}class b extends s{constructor(s){super(),this.shadowRoot.innerHTML="",a(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},f,p,e,{},null),s&&s.target&&n(s.target,this,s.anchor)}}customElements.define("navbar-component",b);export{b as default};