PageSourceSearch

https://stamfordelections.com/_nuxt/ChoeAgGa.js

js stamfordelections.com collected 2026-10-05 04:01:15 UTC 981 bytes, 1 lines download raw bytes

1import{h as d,r as p,u as c,c as v,o as m,a as t,x as f,l as y,v as E,g as n}from"./TUH0JHWp.js";import{u as g}from"./J8r8R96C.js";import{u as x}from"./D3Gfvzq2.js";import"./GiYHD4YU.js";import"./B2lqP81J.js";const S={class:"container"},b={class:""},M={__name:"add",setup(w){const{league:i}=x(),l=g(),r=d(),o=p({year:""});c({title:`Add Election | ${i} Elections`});async function u(){const s=o.value.year;console.log("YEAR",s);const e=await l.saveElection({year:s});!e||e.isError||e.errorData?r.error("Error saving election"):r.success(`Saved election ${e.year}`)}return(s,e)=>(m(),v("div",S,[t("div",b,[e[4]||(e[4]=t("h1",null,"Add election",-1)),t("form",{onSubmit:e[1]||(e[1]=f(a=>u(),["prevent","stop"]))},[e[2]||(e[2]=t("label",null,"Year",-1)),y(t("input",{"onUpdate:modelValue":e[0]||(e[0]=a=>n(o).year=a),type:"text",title:"Election year"},null,512),[[E,n(o).year]]),e[3]||(e[3]=t("div",null,[t("input",{type:"submit",value:"Save"})],-1))],32)])]))}};export{M 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.