PageSourceSearch

https://inecnigeria.org/_nuxt/C20_Ngc5.js

js inecnigeria.org collected 2026-10-02 04:17:12 UTC 13,639 bytes, 1 lines download raw bytes

1import{d as B,y as _,a as F,b as E,c as r,g as x,f as e,h as D,t as l,l as u,B as S,A as g,F as y,r as w,q as f,s as A,i as z,o as a,N as j,C as M,j as d,O as G,m as N}from"./Bnr0ArTo.js";const V={class:"min-h-screen bg-[#FBFBFB] flex flex-col font-['Poppins:Regular',sans-serif] text-[#181D27]"},L={class:"w-full bg-white border-b border-gray-200 py-4 sm:py-5 md:py-6 lg:py-8 px-4 sm:px-6 md:px-12 lg:px-0"},P={class:"max-w-[1214px] mx-auto flex flex-col gap-6"},U={class:"flex flex-col lg:flex-row lg:items-center justify-between gap-6"},O={class:"flex items-center gap-3 shrink-0"},H={class:"px-5 py-3 bg-[#F8F9FA] rounded-xl border-1 border-gray-200 shadow-sm flex flex-col items-center min-w-[90px]"},T={class:"text-xl font-bold text-[#181D27]"},I={class:"max-w-[1214px] mx-auto w-full py-6 flex flex-col gap-8 flex-1"},K={class:"bg-white rounded-2xl p-4 sm:p-5 border border-gray-200 shadow-sm flex flex-col md:flex-row items-center justify-between gap-4"},$={class:"w-full md:w-96 flex items-center gap-3 px-4 py-3 bg-gray-50 border border-gray-200 rounded-xl focus-within:border-[#5DB95C] focus-within:bg-white focus-within:ring-2 focus-within:ring-[#5DB95C]/20 transition-all"},q={class:"flex items-center gap-2 flex-wrap w-full md:w-auto justify-start md:justify-end"},J=["onClick"],Q={class:"bg-white rounded-2xl border border-gray-200 shadow-sm"},R={class:"overflow-visible"},W={class:"w-full text-left border-collapse relative"},X={class:"divide-y divide-gray-100 text-sm relative"},Y={class:"py-4 px-6 text-center text-[#8B8E93] font-semibold"},Z={class:"py-4 px-6"},ee={class:"flex flex-col gap-1"},te={class:"font-['Fraunces:Bold',serif] text-base font-bold text-[#181D27] group-hover:text-[#5DB95C] transition-colors leading-snug"},se={class:"text-xs text-[#8B8E93] font-medium"},oe={class:"py-4 px-6"},ne={class:"py-4 px-6 font-['Space_Grotesk:Bold',sans-serif] font-bold text-[#181D27] whitespace-nowrap"},re={class:"flex items-center gap-2"},le={class:"py-4 px-6 text-center"},ae={class:"py-4 px-6 text-center whitespace-nowrap"},ie={class:"relative inline-block text-left"},de=["onClick"],ce={key:0},pe={colspan:"6",class:"py-12 text-center text-gray-500"},ge=B({__name:"calendar",setup(xe){_({title:"Full Election Calendar - Independent National Electoral Commission",meta:[{name:"description",content:"Official timetable of upcoming Bye-Elections, Presidential, and Governorship Elections in Nigeria."}]});const m=[{sn:1,title:"GOMBE (Gombe/Kwami/Funakaye Federal Constituencies) Bye-Election",constituency:"Federal Constituency, Gombe State",category:"Bye-Election",date:"September 19, 2026",status:"Concluded"},{sn:2,title:"BAUCHI (Disina and Sakwa State Constituencies) Bye-Election",constituency:"State Constituency, Bauchi State",category:"Bye-Election",date:"September 19, 2026",status:"Concluded"},{sn:3,title:"DELTA (Udu State Constituency) Bye-Election",constituency:"State Constituency, Delta State",category:"Bye-Election",date:"September 19, 2026",status:"Concluded"},{sn:4,title:"KANO (Dawakin Kudu State Constituency) Bye-Election",constituency:"State Constituency, Kano State",category:"Bye-Election",date:"September 19, 2026",status:"Concluded"},{sn:5,title:"Presidential / House Of Assembly Election",constituency:"Nationwide (36 States & FCT)",category:"General Election",date:"January 16, 2027",status:"Upcoming"},{sn:6,title:"Governorship / State House Of Assembly Election",constituency:"Participating States & State Constituencies",category:"Governorship",date:"February 6, 2027",status:"Upcoming"}],n=f(""),c=f("All"),i=f(null);function k(o,t){t.stopPropagation(),i.value=i.value===o?null:o}function b(){i.value=null}F(()=>{typeof window<"u"&&window.addEventListener("click",b)}),E(()=>{typeof window<"u"&&window.removeEventListener("click",b)});const v=A(()=>m.filter(o=>{const t=o.title.toLowerCase().includes(n.value.toLowerCase())||o.constituency.toLowerCase().includes(n.value.toLowerCase())||o.date.toLowerCase().includes(n.value.toLowerCase()),p=c.value==="All"||o.category===c.value;return t&&p}));function C(o){switch(o){case"Bye-Election":return"bg-[#FEF3C7] text-[#92400E]";case"General Election":return"bg-[#DCFCE7] text-[#166534]";case"Governorship":return"bg-[#DBEAFE] text-[#1E40AF]";default:return"bg-gray-100 text-gray-700"}}return(o,t)=>{const p=z;
1return a(),r("div",V,[x(j),e("header",L,[e("div",P,[e("div",null,[x(p,{to:"/",class:"inline-flex items-center gap-2 text-xs sm:text-sm font-semibold text-[#52565D] hover:text-[#5DB95C] transition-colors w-fit group"},{default:D(()=>[...t[4]||(t[4]=[e("svg",{class:"size-4 text-[#8B8E93] group-hover:text-[#5DB95C] group-hover:-translate-x-1 transition-all",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})],-1),e("span",null,"Back to Home",-1)])]),_:1})]),e("div",U,[t[7]||(t[7]=e("div",{class:"flex flex-col gap-2 max-w-2xl"},[e("h1",{class:"font-['Fraunces:Bold',serif] text-2xl sm:text-3xl lg:text-4xl font-bold text-[#181D27] tracking-tight"}," Full Election Calendar & Timetable "),e("p",{class:"text-[#8B8E93] text-sm leading-relaxed"}," Official schedule and approved timetable for upcoming federal & state constituency Bye-Elections, Presidential, and Governorship Elections in Nigeria. ")],-1)),e("div",O,[e("div",H,[t[5]||(t[5]=e("span",{class:"text-[11px] font-semibold text-[#8B8E93] uppercase tracking-wider"},"Total",-1)),e("span",T,l(m.length),1)]),t[6]||(t[6]=u('<div class="px-5 py-3 bg-[#F4FAF4] rounded-xl border-1 border-[#5DB95C] shadow-sm flex flex-col items-center min-w-[110px]"><span class="text-[11px] font-semibold text-[#5DB95C] uppercase tracking-wider">Bye-Elections</span><span class="text-xl font-bold text-[#5DB95C]">4</span></div><div class="px-5 py-3 bg-[#F3F6FF] rounded-xl border-1 border-[#5DB95C] shadow-sm flex flex-col items-center min-w-[110px]"><span class="text-[11px] font-semibold text-[#275B9F] uppercase tracking-wider">General / Gov</span><span class="text-xl font-bold text-[#275B9F]">2</span></div>',2))])])])]),e("main",I,[e("div",K,[e("div",$,[t[8]||(t[8]=e("svg",{class:"size-4 text-gray-400 shrink-0 ml-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),S(e("input",{"onUpdate:modelValue":t[0]||(t[0]=s=>n.value=s),type:"text",placeholder:"Search elections by state or title...",class:"w-full bg-transparent text-sm text-[#181D27] placeholder-gray-400 focus:outline-none"},null,512),[[M,n.value]]),n.value?(a(),r("button",{key:0,onClick:t[1]||(t[1]=s=>n.value=""),class:"text-gray-400 hover:text-gray-600 text-xs px-1"}," ✕ ")):g("",!0)]),e("div",q,[t[9]||(t[9]=e("span",{class:"text-xs text-[#8B8E93] font-medium mr-1"},"Filter:",-1)),(a(),r(y,null,w(["All","Bye-Election","General Election","Governorship"],s=>e("button",{key:s,onClick:h=>c.value=s,class:d(["px-4 py-2 rounded-full text-xs font-semibold whitespace-nowrap transition-all cursor-pointer border",c.value===s?"bg-[#5DB95C] border-[#5DB95C] text-white shadow-sm":"bg-white border-gray-200 text-gray-700 hover:bg-gray-50 hover:border-gray-300"])},l(s),11,J)),64))])]),e("div",Q,[e("div",R,[e("table",W,[t[15]||(t[15]=e("thead",null,[e("tr",{class:"bg-[#F8F9FA] border-b border-gray-200 text-[#52565D] text-xs font-['Poppins:SemiBold',sans-serif] uppercase tracking-wider"},[e("th",{class:"py-4 px-6 w-16 text-center"},"S/N"),e("th",{class:"py-4 px-6"},"Election Title"),e("th",{class:"py-4 px-6 w-44"},"Category"),e("th",{class:"py-4 px-6 w-52"},"Scheduled Date"),e("th",{class:"py-4 px-6 w-32 text-center"},"Status"),e("th",{class:"py-4 px-6 w-36 text-center"},"Actions")])],-1)),e("tbody",X,[(a(!0),r(y,null,w(v.value,s=>(a(),r("tr",{key:s.sn,class:d(["hover:bg-[#F4FAF4]/40 transition-colors group",i.value===s.sn?"relative z-40":"relative z-10"])},[e("td",Y,l(s.sn),1),e("td",Z,[e("div",ee,[e("span",te,l(s.title),1),e("span",se,l(s.constituency),1)])]),e("td",oe,[e("span",{class:d(["inline-block px-3 py-1 rounded-full text-xs font-semibold",C(s.category)])},l(s.category),3)]),e("td",ne,[e("div",re,[t[10]||(t[10]=e("svg",{class:"size-4 text-[#5DB95C] shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})],-1)),e("span",null,l(s.date),1)])]),e("td",le,[e("span",{class:d(["inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-xs font-semibold",s.status==="Upcoming"?"bg-emerald-50 text-emerald-700 border border-emerald-200":"bg-gray-100 text-gray-700 border border-gray-200"])},[e("span",{class:d(["size-1.5 rounded-full",s.status==="Upcoming"?"bg-emerald-500 animate-pulse":"bg-gray-400"])},null,2),e("span",null,l(s.status),1)],2)]),e("td",ae,[e("div",ie,[e("button",{onClick:h=>k(s.sn,h),class:d(["group/btn inline-flex items-center gap-2 px-4 py-2 rounded-full text-xs font-semibold transition-all duration-200 cursor-pointer",i.value===s.sn?"bg-[#5DB95C] text-white shadow-[0_4px_12px_rgba(93,185,92,0.35)]":"bg-[#F4FAF4] hover:bg-[#5DB95C] text-[#2E7D32] hover:text-white border-[#5DB95C] border-[1.5px] hover:border-transparent shadow-sm"]),"aria-label":"Election actions"},[t[12]||(t[12]=e("span",null,"Actions",-1)),(a(),r("svg",{class:d(["size-3.5 transition-transform duration-200",i.value===s.sn?"rotate-180":"group-hover/btn:translate-y-0.5"]),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[...t[11]||(t[11]=[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2.5",d:"M19 9l-7 7-7-7"},null,-1)])],2))],10,de),i.value===s.sn?(a(),r("div",{key:0,class:"absolute top-full mt-2 w-52 bg-white rounded-2xl shadow-[0px_14px_35px_rgba(0,0,0,0.15)] border border-gray-200 p-2.5 z-50 origin-top-right transition-all animate-fadeIn",onClick:t[2]||(t[2]=G(()=>{},["stop"])),style:{right:"0%"}},[...t[13]||(t[13]=[u('<div class="px-3 py-1.5 text-[10px] uppercase font-bold text-gray-400 tracking-wider border-b border-gray-200 mb-1 text-left"> Election Services </div><a href="https://cvr.inecnigeria.org/pu" target="_blank" rel="noopener noreferrer" class="flex items-center gap-3 px-3 py-2 text-xs font-medium text-gray-700 hover:bg-[#F4FAF4] hover:text-[#2E7D32] rounded-xl transition-colors group/item"><div class="size-7 rounded-lg bg-emerald-50 text-emerald-600 flex items-center justify-center group-hover/item:bg-[#5DB95C] group-hover/item:text-white transition-colors shrink-0"><svg class="size-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z"></path></svg></div><div class="flex flex-col text-left"><span class="font-semibold text-gray-900 group-hover/item:text-[#2E7D32] leading-tight">Find Polling Unit</span></div></a><a href="https://cvr.inecnigeria.org/" target="_blank" rel="noopener noreferrer" class="flex items-center gap-3 px-3 py-2 text-xs font-medium text-gray-700 hover:bg-amber-50/70 hover:text-amber-700 rounded-xl transition-colors group/item"><div class="size-7 rounded-lg bg-amber-50 text-amber-600 flex items-center justify-center group-hover/item:bg-amber-600 group-hover/item:text-white transition-colors shrink-0"><svg class="size-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg></div><div class="flex flex-col text-left"><span class="font-semibold text-gray-900 group-hover/item:text-amber-700 leading-tight">Check Voter Status</span></div></a>',3)])])):g("",!0)])])],2))),128)),v.value.length===0?(a(),r("tr",ce,[e("td",pe,[t[14]||(t[14]=e("p",{class:"text-sm"}
1,"No elections found matching your criteria.",-1)),e("button",{onClick:t[3]||(t[3]=s=>{n.value="",c.value="All"}),class:"mt-3 px-4 py-1.5 rounded-full bg-[#5DB95C] text-white text-xs font-semibold hover:bg-[#4ea84d]"}," Clear Filter ")])])):g("",!0)])])])]),t[16]||(t[16]=u('<div class="bg-white rounded-2xl p-6 border border-gray-200 shadow-sm flex flex-col md:flex-row items-center justify-between gap-6"><div class="flex items-start gap-4"><div class="p-3 bg-[#5DB95C]/10 rounded-xl text-[#5DB95C] shrink-0"><svg class="size-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg></div><div class="flex flex-col gap-1"><h4 class="font-[&#39;Fraunces:Bold&#39;,serif] text-base font-bold text-[#181D27]"> Election Day Directives &amp; Polling Information </h4><p class="text-xs text-[#8B8E93] max-w-2xl leading-relaxed"> Accreditation and voting proceed simultaneously from 8:30 AM to 2:30 PM on scheduled election days. All voters must present their Permanent Voter Card (PVC) for verification via the Bimodal Voter Accreditation System (BVAS). </p></div></div><div class="flex items-center gap-3 shrink-0 w-full md:w-auto"><a href="https://cvr.inecnigeria.org/" target="_blank" rel="noopener noreferrer" class="w-full md:w-auto text-center px-5 py-2.5 rounded-full bg-[#5DB95C] text-white text-xs font-semibold hover:bg-[#4ea84d] transition-all shadow-sm"> Check Voter Status </a></div></div>',1))]),x(N)])}}});export{ge 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.