PageSourceSearch

https://www.decisiondeskhq.com/_next/static/chunks/7e1720cd4c49e099.js?dpl=dpl_FZSQMjsxqQG9KjwzaJFa2CgWukCy

js decisiondeskhq.com collected 2026-10-02 02:24:00 UTC 8,067 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88027,e=>{"use strict";var t=e.i(18145),a=e.i(74914);function s({hideHeader:e=!1}){let[s,l]=(0,a.useState)(""),[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(""),[x,r]=(0,a.useState)(""),[o,m]=(0,a.useState)(""),[p,f]=(0,a.useState)(!1),[u,h]=(0,a.useState)(!1),[g,b]=(0,a.useState)(!1);async function v(e){e.preventDefault(),f(!0),h(!1),b(!1);let t=new FormData;t.append("access_key","7a5ef466-8101-4167-bfac-425558c8bf11"),t.append("name",`${s} ${n}`.trim()),t.append("email",c),x&&t.append("company",x),t.append("message",o);try{let e=await fetch("https://api.web3forms.com/submit",{method:"POST",body:t});(await e.json()).success?(b(!0),l(""),i(""),d(""),r(""),m("")):h(!0)}catch{h(!0)}finally{f(!1)}}return(0,t.jsxs)("div",{className:"rounded-lg border border-[#e1e1e1] bg-[#fafafa] p-10 md:p-[68px] flex flex-col gap-10 md:gap-[68px]",children:[!e&&(0,t.jsxs)("div",{className:"flex flex-col gap-4 max-w-[570px]",children:[(0,t.jsx)("h2",{className:"text-4xl font-light text-black md:text-[56px] md:leading-[62px]",children:"Contact Us"}),(0,t.jsx)("p",{className:"text-lg text-[#767676] md:text-[26px] md:leading-[34px]",children:"If you'd like to discuss how Decision Desk HQ can help meet your election intelligence or coverage needs, contact us using the form."})]}),(0,t.jsxs)("form",{onSubmit:v,className:"flex flex-col gap-10 md:gap-[68px]",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-8 md:gap-[68px]",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-8 md:flex-row md:gap-8",children:[(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-[11px]",children:[(0,t.jsx)("label",{htmlFor:"first-name",className:"text-sm text-black/54 md:text-lg",children:"First name"}),(0,t.jsx)("input",{id:"first-name",type:"text",required:!0,autoComplete:"given-name",placeholder:"Enter your first name",value:s,onChange:e=>l(e.target.value),className:"rounded-lg bg-[#f1f1f1] px-6 py-5 text-base font-medium text-black placeholder:text-black/40 outline-none md:text-2xl"})]}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-[11px]",children:[(0,t.jsx)("label",{htmlFor:"last-name",className:"text-sm text-black/54 md:text-lg",children:"Last name"}),(0,t.jsx)("input",{id:"last-name",type:"text",required:!0,autoComplete:"family-name",placeholder:"Enter your last name",value:n,onChange:e=>i(e.target.value),className:"rounded-lg bg-[#f1f1f1] px-6 py-5 text-base font-medium text-black placeholder:text-black/40 outline-none md:text-2xl"})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-8 md:flex-row md:gap-8",children:[(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-[11px]",children:[(0,t.jsx)("label",{htmlFor:"contact-email",className:"text-sm text-black/54 md:text-lg",children:"Email address"}),(0,t.jsx)("input",{id:"contact-email",type:"email",required:!0,autoComplete:"email",placeholder:"Enter your email address",value:c,onChange:e=>d(e.target.value),className:"rounded-lg bg-[#f1f1f1] px-6 py-5 text-base font-medium text-black placeholder:text-black/40 outline-none md:text-2xl"})]}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-[11px]",children:[(0,t.jsx)("label",{htmlFor:"contact-company",className:"text-sm text-black/54 md:text-lg",children:"Company"}),(0,t.jsx)("input",{id:"contact-company",type:"text",autoComplete:"organization",placeholder:"Enter your company",value:x,onChange:e=>r(e.target.value),className:"rounded-lg bg-[#f1f1f1] px-6 py-5 text-base font-medium text-black placeholder:text-black/40 outline-none md:text-2xl"})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-[11px]",children:[(0,t.jsx)("label",{htmlFor:"contact-message",className:"text-sm text-black/54 md:text-lg",children:"Message"}),(0,t.jsx)("textarea",{id:"contact-message",required:!0,placeholder:"Enter your message",value:o,onChange:e=>m(e.target.value),className:"min-h-[280px] resize-none rounded-lg bg-[#f1f1f1] p-6 text-base text-black leading-8 placeholder:text-black/40 outline-none md:p-10 md:text-xl"})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4 items-start justify-between sm:flex-row sm:items-center",children:[(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[u&&(0,t.jsx)("p",{className:"text-base text-red-600 md:text-[23px] md:leading-[33px]",children:"Sorry, there was an error. Please try again."}),g&&(0,t.jsx)("p",{className:"text-base text-[#767676] md:text-[23px] md:leading-[33px]",children:"Thanks for your message - we'll get back to you shortly with more information!"})]}),(0,t.jsx)("button",{type:"submit",disabled:p,className:"shrink-0 rounded bg-brand px-6 py-3.5 text-sm font-bold text-black hover:bg-brand/90 active:bg-brand/80 disabled:opacity-50 md:text-lg",children:p?"Sending...":"Send message"})]})]})]})}e.s(["ContactSection",()=>s])},8621,e=>{"use strict";var t=e.i(18145),a=e.i(74914);let s=(0,e.i(88094).default)("radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]]);
1var l=e.i(35683),n=e.i(65378);function i({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"skeleton",className:(0,n.cn)("bg-accent animate-pulse rounded-md",e),...a})}function c({time:e,tickerLabel:a,tickerLoading:n=!1,heading:c,description:d}){return(0,t.jsx)("section",{className:"relative flex flex-col justify-end overflow-hidden",children:(0,t.jsxs)("div",{className:"relative max-w-[1140px]",children:[e&&a?(0,t.jsxs)("a",{href:(0,l.votesUrl)("https://votes.decisiondeskhq.com","hero-live-ticker"),target:"_blank",rel:"noopener noreferrer",className:"flex flex-wrap items-center gap-4 sm:gap-[26px] mb-[30px] hover:opacity-80 transition-opacity",children:[(0,t.jsxs)("div",{className:"relative flex items-center gap-2.5 rounded-sm px-3 py-2",children:[(0,t.jsx)("div",{className:"absolute inset-0 rounded-sm bg-brand/20 animate-pulse"}),(0,t.jsx)(s,{className:"relative size-[22px] text-brand"}),(0,t.jsx)("span",{className:"relative font-mono text-base font-bold text-white",children:e})]}),(0,t.jsx)("p",{className:"font-mono text-sm text-brand sm:text-base",children:(0,t.jsx)("span",{className:"font-bold",children:a})})]}):n?(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-4 sm:gap-[26px] mb-[30px]",children:[(0,t.jsxs)("div",{className:"relative flex items-center gap-2.5 rounded-sm px-3 py-2",children:[(0,t.jsx)("div",{className:"absolute inset-0 rounded-sm bg-brand/20"}),(0,t.jsx)(s,{className:"relative size-[22px] text-brand"}),(0,t.jsx)("span",{className:"relative font-mono text-base font-bold text-white invisible",children:"Loading..."})]}),(0,t.jsx)(i,{className:"h-5 sm:h-6 w-[320px] rounded-sm"})]}):null,(0,t.jsx)("div",{className:"pl-0 sm:pl-5",children:(0,t.jsxs)("div",{className:"border-l-4 border-brand pl-6 sm:pl-9 flex flex-col gap-4",children:[(0,t.jsx)("h1",{className:"max-w-full text-3xl font-light text-white sm:text-4xl md:text-5xl lg:text-[56px] lg:leading-[62px]",children:c}),d&&(0,t.jsx)("p",{className:"text-lg md:text-[26px] md:leading-[34px] text-[#969696]",children:d})]})})]})})}function d(){let[e,s]=(0,a.useState)(null),[l,n]=(0,a.useState)(!0);(0,a.useEffect)(()=>{fetch("/api/live-stats").then(e=>e.ok?e.json():null).then(e=>s(e)).catch(()=>{}).finally(()=>n(!1))},[]);let i=e?new Date(`${e.closestDate}T00:00:00`).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}):void 0,d=e?`Click here for ${e.stats.distinctRaceIdsCount.toLocaleString()} Live Election ${1===e.stats.distinctRaceIdsCount?"Result":"Results"} across ${e.stats.distinctStatesCount} ${1===e.stats.distinctStatesCount?"State":"States"}`:void 0;return(0,t.jsx)(c,{time:i,tickerLabel:d,tickerLoading:l,heading:"Decision Desk HQ delivers reliable and fast U.S. election data — built for newsrooms, platforms, research, and business use."})}e.s(["LiveStatsHero",()=>d],8621)}]);

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.