PageSourceSearch

https://knowyourvote.to/_next/static/chunks/app/(frontend)/error-ab78ee7797a6a7a3.js

js knowyourvote.to collected 2026-10-09 00:44:52 UTC 8,623 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6229],{43677:(e,a,r)=>{"use strict";r.r(a),r.d(a,{default:()=>d});var s=r(73365),t=r(1521),n=r(99568),o=r.n(n),i=r(88388),l=r(65165),c=r.n(l);function d({error:e,reset:a}){return(0,t.useEffect)(()=>{console.error(e)},[e]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.default,{}),(0,s.jsxs)("main",{className:c().page,id:"main-content",children:[(0,s.jsx)("h1",{className:c().heading,children:"Something went wrong"}),(0,s.jsx)("p",{className:c().lede,children:"This is on our end. Your keycode and your account are fine, and nothing you've already submitted is affected."}),(0,s.jsxs)("p",{className:c().lede,children:["Please email ",(0,s.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})," and we will work on an alternative way for you to post your information as we troubleshoot."]}),(0,s.jsxs)("div",{className:c().actions,children:[(0,s.jsx)("button",{className:c().retryButton,onClick:()=>a(),type:"button",children:"Try again"}),(0,s.jsx)(o(),{className:c().homeLink,href:"/",children:"Back to the home page"})]}),e.digest&&(0,s.jsxs)("p",{className:c().digest,children:["If this keeps happening, let us know and mention this code: ",(0,s.jsx)("code",{children:e.digest})]})]})]})}},48495:(e,a,r)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s={default:function(){return d},getImageProps:function(){return c}};for(var t in s)Object.defineProperty(a,t,{enumerable:!0,get:s[t]});let n=r(12563),o=r(53441),i=r(38137),l=n._(r(93635));function c(e){let{props:a}=(0,o.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(a))void 0===r&&delete a[e];return{props:a}}let d=i.Image},52556:e=>{e.exports={nav:"SiteNav_nav__siJ3i",bar:"SiteNav_bar__dDM_S",brand:"SiteNav_brand__Z_5D0",brandLogo:"SiteNav_brandLogo___NjR5",navLinks:"SiteNav_navLinks__iofER",controls:"SiteNav_controls__tOmPe",menuItem:"SiteNav_menuItem__wZ_6t",menuButton:"SiteNav_menuButton__4cV44",chevron:"SiteNav_chevron__1Guud",subMenu:"SiteNav_subMenu__o1wK3",subMenuLink:"SiteNav_subMenuLink__UeCuY",cta:"SiteNav_cta__WhYtW",ctaDot:"SiteNav_ctaDot__rA3LM",burger:"SiteNav_burger__Mz5NV",mobilePanel:"SiteNav_mobilePanel__cY67V",mobileGroupLabel:"SiteNav_mobileGroupLabel__u1qwW",mobileLink:"SiteNav_mobileLink__AcfcD",mobileDivider:"SiteNav_mobileDivider__ftFrA",mobileCta:"SiteNav_mobileCta__BsGFy",panelGroups:"SiteNav_panelGroups__qiYdW",panelBelow1050:"SiteNav_panelBelow1050__UmvBg",barHideBelow1200:"SiteNav_barHideBelow1200___gvbk",barHideBelow1050:"SiteNav_barHideBelow1050__NEyea"}},63300:(e,a,r)=>{Promise.resolve().then(r.bind(r,43677))},65165:e=>{e.exports={page:"error_page__PSRjD",heading:"error_heading__ANnt2",lede:"error_lede__knP3P",actions:"error_actions__LXsGF",retryButton:"error_retryButton__1fJH1",homeLink:"error_homeLink__nHGYw",digest:"error_digest___6IwB"}},82239:(e,a,r)=>{"use strict";r.d(a,{Vu:()=>s});let s=[{anchor:"mayor",ballotNote:"One city-wide race — every Toronto voter gets this vote.",key:"mayor",name:"Mayor of Toronto",path:"/races/mayor",shortName:"Mayor"}
1,{anchor:"city-council",ballotNote:"One councillor per ward — you vote in the ward where you live.",key:"councillor",name:"City Council",path:"/races/city-council",shortName:"City Councillor"},{anchor:"tdsb",ballotNote:"English public school board.",key:"trustee-tdsb",name:"Toronto District School Board",path:"/races/tdsb",shortName:"TDSB Trustee"},{anchor:"tcdsb",ballotNote:"English Catholic school board.",key:"trustee-tcdsb",name:"Toronto Catholic District School Board",path:"/races/tcdsb",shortName:"TCDSB Trustee"},{anchor:"viamonde",ballotNote:"French public school board.",key:"trustee-csv",name:"Conseil scolaire Viamonde",path:"/races/viamonde",shortName:"Viamonde Trustee"},{anchor:"monavenir",ballotNote:"French Catholic school board.",key:"trustee-cscm",name:"Conseil scolaire catholique MonAvenir",path:"/races/monavenir",shortName:"MonAvenir Trustee"}]},88388:(e,a,r)=>{"use strict";r.r(a),r.d(a,{default:()=>f});var s=r(73365),t=r(48495),n=r.n(t),o=r(99568),i=r.n(o),l=r(1521);let c="true"===(r(89651).env.NEXT_PUBLIC_HIDE_BIG_ISSUES||"").toLowerCase();var d=r(82239),u=r(84972),h=r(52556),m=r.n(h);let _=[d.Vu.find(e=>"mayor"===e.key),d.Vu.find(e=>"councillor"===e.key)],b=["trustee-tdsb","trustee-tcdsb","trustee-csv","trustee-cscm"].map(e=>d.Vu.find(a=>a.key===e)),v=c?[{href:"/issues",label:"Big Issues"}]:[{href:"/#issues",label:"Big Issues"}],N={href:"/about",label:"About"},p={external:!0,href:"https://tpl.ca/programs-and-classes/featured/celebrate-democracy/",label:"Celebrate Democracy"},k=()=>(0,s.jsx)("svg",{"aria-hidden":"true",className:m().chevron,fill:"none",height:"12",viewBox:"0 0 12 12",width:"12",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M2 4l4 4 4-4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.75"})}),x=({className:e,link:a,onNavigate:r})=>a.external?(0,s.jsx)("a",{className:e,href:a.href,onClick:r,rel:"noreferrer",target:"_blank",children:a.label}):(0,s.jsx)(i(),{className:e,href:a.href,onClick:r,children:a.label});function f({cta:e}){let a=e??{href:"/#wards",label:"Find your ward"},[r,t]=(0,l.useState)(!1);(0,l.useEffect)(()=>{if(!r)return;let e=e=>{"Escape"===e.key&&t(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[r]);let o=()=>t(!1),c=(e,r)=>a.external?(0,s.jsxs)("a",{className:e,href:a.href,onClick:r,rel:"noreferrer",target:"_blank",children:[(0,s.jsx)("span",{className:m().ctaDot,"aria-hidden":"true"}),a.label]}):(0,s.jsxs)(i(),{className:e,href:a.href,onClick:r,children:[(0,s.jsx)("span",{className:m().ctaDot,"aria-hidden":"true"}),a.label]});return(0,s.jsxs)("nav",{className:m().nav,"aria-label":"Main navigation",children:[(0,s.jsxs)("div",{className:m().bar,children:[(0,s.jsx)(i(),{className:m().brand,href:"/",onClick:o,children:(0,s.jsx)(n(),{className:m().brandLogo,src:"/images/kyv-v2-logo/kyv-v6-stacked.svg",alt:"Know Your Vote T.O.",width:409,height:103,priority:!0})}),(0,s.jsxs)("div",{className:m().navLinks,children:[(0,s.jsxs)("div",{className:m().menuItem,children:[(0,s.jsxs)("button",{className:m().menuButton,type:"button",children:["Mayor & City Council",(0,s.jsx)(k,{})]}),(0,s.jsx)("div",{className:m().subMenu,children:_.map(e=>(0,s.jsx)(i(),{className:m().subMenuLink,href:e.path,children:e.name},e.key))})]}),(0,s.jsxs)("div",{className:m().menuItem,children:[(0,s.jsxs)("button",{className:m().menuButton,type:"button",children:["School Boards",(0,s.jsx)(k,{})]}),(0,s.jsx)("div",{className:m().subMenu,children:b.map(e=>(0,s.jsx)(i(),{className:m().subMenuLink,href:e.path,children:e.name},e.key))})]}),v.map(e=>(0,s.jsx)(x,{className:m().barHideBelow1050,link:e},e.href)),(0,s.jsx)(x,{className:m().barHideBelow1050,link:p}),(0,s.jsx)(x,{className:m().barHideBelow1200,link:N})]}),(0,s.jsxs)("div",{className:m().controls,children:[(0,s.jsx)(u.default,{}),c(m().cta),(0,s.jsx)("button",{"aria-expanded":r,"aria-label":r?"Close menu":"Open menu",className:m().burger,onClick:()=>t(e=>!e),type:"button",children:(0,s.jsx)("svg",{"aria-hidden":"true",fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",children:r?(0,s.jsx)("path",{d:"M4 4l12 12M16 4L4 16",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"}):(0,s.jsx)("path",{d:"M3 5h14M3 10h14M3 15h14",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2"})})})]})]}),r&&(0,s.jsxs)("div",{className:m().mobilePanel,children:[(0,s.jsxs)("div",{className:m().panelGroups,children:[(0,s.jsx)("p",{className:m().mobileGroupLabel,children:"Mayor & City Council"}),_.map(e=>(0,s.jsx)(i(),{className:m().mobileLink,href:e.path,onClick:o,children:e.name},e.key)),(0,s.jsx)("p",{className:m().mobileGroupLabel,children:"School Boards"}),b.map(e=>(0,s.jsx)(i(),{className:m().mobileLink,href:e.path,onClick:o,children:e.name},e.key)),(0,s.jsx)("div",{className:m().mobileDivider,"aria-hidden":"true"})]}),(0,s.jsxs)("div",{className:m().panelBelow1050,children:[v.map(e=>(0,s.jsx)("span",{className:m().mobileLink,children:(0,s.jsx)(x,{link:e,onNavigate:o})},e.href)),(0,s.jsx)("span",{className:m().mobileLink,children:(0,s.jsx)(x,{link:p,onNavigate:o})})]}),(0,s.jsx)("span",{className:m().mobileLink,children:(0,s.jsx)(x,{link:N,onNavigate:o})}),c(m().mobileCta,o)]})]})}}},e=>{e.O(0,[7535,1462,394,4972,2347,5158,7358],()=>e(e.s=63300)),_N_E=e.O()}]);

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.