PageSourceSearch

https://rebootdemocracy.ai/_nuxt/DNJnOzgI.js

js rebootdemocracy.ai collected 2026-09-25 15:10:08 UTC 3,828 bytes, 1 lines download raw bytes

1import M from"./DItniVLP.js";import C from"./CgzPJO5d.js";import{e as E,r as c,g as m,s as L,M as B,c as i,a as n,i as v,q as D,m as H,v as I,b as S,A as p,w as R,o as l,d as N,J as V,_ as A}from"./D6duhh5t.js";import{_ as O,a as T,u as j}from"./CmipKumv.js";import"./CxpVLnRp.js";import"./BgZ55qoU.js";const z={class:"header-content__section",role:"banner"},q=["aria-expanded","aria-label"],W={key:0,xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24",height:"24",viewBox:"0 0 24 24",style:{fill:"#ffffff"},"aria-hidden":"true",focusable:"false",role:"presentation"},F={key:1,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"black","aria-hidden":"true",focusable:"false",role:"presentation"},J=["aria-hidden"],K=E({__name:"DefaultHeader",props:{topicTags:{}},setup(b){const h=b,r=V(),t=c(!1),a=c(!1),f=()=>{t.value=!t.value,t.value?document.addEventListener("keydown",s):document.removeEventListener("keydown",s)},s=o=>{if(o.key==="Escape"){t.value=!1,document.removeEventListener("keydown",s);const e=document.querySelector(".mobile-menu-toggle");e==null||e.focus()}},g=(o,e)=>{e.preventDefault(),o.name==="team"?r.push({path:"/about",hash:"#team-editorial-section"}):o.external&&o.to?window.location.href=o.to:o.to&&r.push(o.to)},_=(o,e)=>{g(o,e),a.value&&(t.value=!1,document.removeEventListener("keydown",s))},d=m(()=>[{label:"Weekly Columns",name:"series",children:j(h.topicTags??[])},{label:"Home",name:"home",to:"/"},{label:"Featured Posts",name:"featured-posts",to:"/featured-posts"},{label:"About",name:"about",children:[{label:"About the Reboot Democracy Blog",name:"about",to:"/about"},{label:"About Beth Simone Noveck",name:"bio",to:"/bio"},{label:"Our Team",name:"team",to:"/about#team-editorial-section"}]},{label:"Reboot Book",name:"book",to:"/book"},{label:"Sign up",name:"signup",to:"/signup"}]),w=m(()=>a.value?d.value:d.value.filter(o=>o.name!=="signup")),k=()=>{r.push("/signup")},u=()=>{a.value=window.innerWidth<1380,a.value||(t.value=!1,document.removeEventListener("keydown",s))};return L(()=>{u(),window.addEventListener("resize",u)}),B(()=>{window.removeEventListener("resize",u),document.removeEventListener("keydown",s)}),(o,e)=>{const y=M,x=C;return l(),i("header",z,[e[3]||(e[3]=n("div",{class:"header__logo"},[n("div",{class:"hero__first-partner"},[n("a",{href:"/",class:"logo-link","aria-label":"Visit Reboot Democracy website"},[n("img",{src:O,alt:"Reboot Democracy logo",width:"187",height:"50",tabindex:"-1",role:"presentation",class:"logo-img"}),n("img",{src:T,alt:"Reboot Democracy logo",width:"187",height:"50",tabindex:"-1",role:"presentation",class:"logo-img-hover"})])])],-1)),a.value?(l(),i("div",{key:0,class:"mobile-menu-toggle",onClick:f,"aria-expanded":t.value,"aria-label":t.value?"Close navigation menu":"Open navigation menu",type:"button"},[t.value?(l(),i("svg",F,[...e[1]||(e[1]=[n("path",{d:"M5 5L19 19M5 19L19 5",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])):(l(),i("svg",W,[...e[0]||(e[0]=[n("path",{d:"M3 6H21M3 12H21M3 18H21",stroke:"white","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])]))],8,q)):v("",!0),D(n("nav",{class:p({"nav-mobile-open":a.value&&t.value}),"aria-hidden":a.value&&!t.value,role:"navigation","aria-label":"Main navigation"},[S(y,{items:w.value,class:p({"mobile-menu":a.value}),onItemClick:_},null,8,["items","class"])],10,J),[[I,!a.value||a.value&&t.value]]),a.value?v("",!0):(l(),H(x,{key:1,class:"btn-header",variant:"secondary",height:"40px",onClick:k,"aria-label":"Sign up for weekly updates about democracy and governance"},{default:R(()=>[...e[2]||(e[2]=[N(" Sign up for updates ",-1)])]),_:1}))])}}}),Y=Object.assign(A(K,[["__scopeId","data-v-ba36c1a1"]]),{__name:"DefaultHeader"});export{Y as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.