1(self.webpackChunkabcnews=self.webpackChunkabcnews||[]).push([[1776],{23282:function(e,t,s){const a=s(11593).DEFAULT_YEAR;t.SEVERITY={GAIN:"gain",LEAD:"lead",NO_ELECTION:"noElection",NO_RESULTS:"noResults",TOSSUP:"tossup",WIN:"win",COUNTING:"counting",RUNOFF:"runoff"},t.SEVERITY_LABELS={gain:"Gain",lead:"Lead",noElection:"No Election",noResults:"No Results",win:"Win"},t.title="National Map",t.stateResultsTitle="State Results",t.ZOOM_LEVELS=[1,2,3,5,8,13,21],t.ZOOM_DURATION=250,t.BUTTON_ICON_URL="https://s.abcnews.com/assets/dtci/elections/Symbol_Defs--MapButtons-V6.svg";const n="us_20m",i="https://a.abcnews.com/assets/dtci/elections/maps/us_20m-20201029.json",r="https://a.abcnews.com/assets/dtci/elections/maps/us_20m_placeholder-20200501.json",c="state_5m",l="cd_5m",o="county_5m",u={2020:"general-2020",2022:"midterm-2022",2024:"general-2024",2025:"general-2025",2026:"midterm-2026"},d={2025:"special-2025"},p={2020:"general-2020",2022:"general-2020",2024:"general-2020",2025:"general-2020",2026:"midterm-2026"},m={2020:"cd_117_20m",2022:"cd_118_20m",2024:"cd_119_20m",2025:"cd_119_5m",2026:"cd_119_20m"},_={2020:"https://a.abcnews.com/assets/dtci/elections/maps/general-2020/national/cd_117_20m.json",2022:"https://a.abcnews.com/assets/dtci/elections/maps/midterm-2022/national/cd_118_20m.json",2024:"https://a.abcnews.com/assets/dtci/elections/maps/general-2024/national/cd_119_20m.json",2026:"https://a.abcnews.com/assets/dtci/elections/maps/midterm-2026/national/cd_118_20m.json"},E={2020:"cd-117",2022:"cd-118",2024:"cd-119",2025:"cd-119",2026:"cd-119"},f={2020:"cd_117",2022:"cd_118",2024:"cd_119",2025:"cd_119",2026:"cd_119"};function R(e){return m[e]||m[a]}t.MAP_US_20M_NAME=n,t.MAP_US_20M_URL=i,t.MAP_US_PLACEHOLDER_URL=r,t.MAP_CD_20M_NAME=m,t.MAP_STATE_5M_NAME=c,t.MAP_CD_117_5M_NAME=l,t.MAP_COUNTY_5M_NAME=o,t.MAP_LAYERS_SRC={national:{isDynamic:!1,name:n,url:i,placeholder:r},national_cd:{isDynamic:!0,getName:R,getUrl:function(e){return _[e]||_[a]},placeholder:r},state:{isDynamic:!0,getSrc:function(e){return e?{name:c,url:`https://a.abcnews.com/assets/dtci/elections/maps/general-2020/states/state_5m_${e}.json`}:null}},state_cd:{isDynamic:!0,getSrc:function(e,t){let s=u[t]||u[a],n=E[t]||E[a],i=f[t]||f[a];return e?{name:l,url:`https://a.abcnews.com/assets/dtci/elections/maps/${s}/${n}/${i}_5m_${e}.json`,neighbors:`https://a.abcnews.com/assets/dtci/elections/maps/${s}/neighbors/${n}/${i}_5m_${e}.json`}:null}},state_county:{isDynamic:!0,getSrc:function(e,t,s){let n=s?d:u,i=n[t]||n[a],r=p[t]||p[a],c=f[t]||f[a],l=E[t]||E[a],m=R(t),_=o,b=`https://a.abcnews.com/assets/dtci/elections/maps/${r}/counties/county_5m_${e}.json`;return e?(s&&(_=`${m}${e}`,b=`https://a.abcnews.com/assets/dtci/elections/maps/${i}/${l}/${c}_5m_${e}${s}.json`),{name:_,url:b,neighbors:`https://a.abcnews.com/assets/dtci/elections/maps/general-2020/neighbors/counties/county_5m_${e}.json`}):null}}};t.FLIGHT_DURATION=750,t.FLIGHT_STEPS=Math.floor(45),t.ONE_FRAME=1e3/60,t.STRIPES_PER_VOTE=4,t.UNSUPPORTED_STATE_MAPS={"02":!0,11:!0},t.DC_FIPS="11"},77176:function(e,t,s){let a=s(50239),n=s(11593),i=n.chambers,r=i.HOUSE,c=i.ELECTORAL,l=i.PRESIDENTIAL,o=n.SPLIT_STATE_FIPS,u=n.AT_LARGE_FIPS,d=a.emptyObj,p=a.false;e.exports=function(e,t,s,a){let n=e||d,i=n.fips||n.parentFips||"",m=s||u,_=a||o,E=n.party&&n.party[0]||"",f=n.code||"",R=n.isPrimary||p,b=n.jurisdiction||"";return t===r?(b&&(f=b),m[i]&&(f="00"),R?`${i}${f}${E}`:`${i}${f}`):t===c&&_[i]?"00"==f?i:`${i}${f}${E}`:t===l&&R?i:E?`${i}${E}`:i}},61776:function(e,t,s){let a=s(50239),n=s(75472),i=s(13311),r=s(27361),c=a.forEach,l=a.cbool,o=a.strlc,u=s(77176),d=s(11593),p=d.DEMOCRATS,m=d.REPUBLICANS,_=d.OTHER,E=d.SPLIT_STATE_FIPS,f=d.chambers,R=f.SENATE,b=f.GOVERNOR,S=s(23282).SEVERITY,N=a.emptyObj,y=a.emptyAry,h="",$={incumbent:!0},A={runoff:!0},g={isRunoff:!0};function T(e,t,s=""){let a=e||N,n=a.party,i=n,r=t||N,c=n===p?r.democrats||r:n===m?r.republicans||r:y,l=a.id,o=(c.length>0&&c.find((e=>e.id===l))||N).bio||s,u=a.statistics||N,d=u.votes||N,E=u.percent||N,f=u.electoralVotes||N;return n!==m&&n!==p&&(i=_),{id:a.id,displayName:a.displayName,shortDisplayName:a.shortDisplayName,major:a.major,trueParty:n,bioLink:o,party:i,incumbent:a.incumbent||!1,winner:a.winner||!1,order:a.order||0,rawVotes:d.value,rawPercent:E.value,rawElectoral:f.value,statistics:u,isRunoff:a.runoff||!1}}function L(e,t,s={},a="",n="",i=!1){let o,u,d,E,f,$=e||y,A=s||N,g=a||h,T=n||h,L=!!i&&(T===R||T===b)&&g&&T,I=A.primaryCandidates||N,O=(L?r(I,`${g}.${T}`,N):null)||A.candidates||N,P=(A.stateResults||N).config||N,D=l(P.useCandidateColors),M=0,w=-1,C=S.NO_RESULTS,U=null,v=!1;if(c($,(function(e){let t=e||N,s=t.party,a=t.rawVotes||0,n=t.order||-1;if(a>
1M&&(M=a,o=s),t.winner){let e=O[s]||y;if(u&&w<n){if(!D)return;E="democrats"===s?"dem_tie":"rep_tie"}u=s,w=n,21303===t.id?(d=t,d.patternId="other"):d=d||e.find((e=>e.id===t.id)),U=E||d&&d.patternId||s&&("democrats"===s?"dem":"rep")+"_10"||null}else t.runoff&&(v=!0)})),!u&&o){if(f=o,C=S.LEAD,D&&L){let e=$.find((function(e){return e.party===o&&e.rawVotes===M}));if(e){let t=(O[o]||y).find((function(t){return t.id===e.id}));U=t&&t.patternId||("democrats"===o?"dem":"rep")+"_10"}}}else if(u){f=u,C=S.WIN;let e=t&&t!==p&&t!==m?_:t;e&&e!==(f!==p&&f!==m?_:f)&&(C=S.GAIN)}else v&&(C=S.RUNOFF);return{party:f||null,severity:C,patternId:U,winner:d}}function I(e,t){let s=t.stateName||t.displayName||h,a=t.seat;switch(e){case f.SENATE:return a&&0!=a?`${s}: Seat ${a} Results`:`${s}: Senate Results`;case f.PRESIDENTIAL:case f.ELECTORAL:return`${s}: Presidential Results`;case f.GOVERNOR:return`${s}: Governor Results`;case f.HOUSE:return s;case f.MAYOR:return`${s}: Mayoral Results`}}e.exports={parseStateMeta:function(e,t=null){let s=e||N;return{id:s.id,fips:s.fips,displayName:s.displayName,shortDisplayName:s.shortDisplayName,abbreviation:s.abbreviation,exitPolls:s.exitPolls,pollClosingDate:s.pollClosingDate}},parseLocalityMeta:function(e,t,s,a,n){let i,r=e||N,l=t||N,o=n||N,d=o.atLargeFips,p=o.splitStateFips||E,m=l.fips||h,_=r.code||h,f=r.fips,R=r.party,b=r.candidates,S=r.jurisdiction;return!R&&a&&c(b,(function(e){let t=e||N,s=t.party;t.aggregate||(R=s)})),i=u({code:_,fips:f,parentFips:m,party:R,isPrimary:a,jurisdiction:S},s,d,p),{id:r.id,displayName:r.displayName,shortDisplayName:r.shortDisplayName,abbreviation:r.abbreviation,parentFips:m,geoid:i,chamber:s}},parseCandidate:T,groupCandidatesBySeat:function(e,t){let s={};return c(e||y,(function(e){let a=e||N,n=T(a,t)||N,i=a.seat||"0";s[i]||(s[i]=[]),s[i].push(n)})),s},determineResult:L,checkThreshold:function(e,t){let s,a,n=e||N,i=n.reporting||N,r=i.value||0,c=i.threshold||100;return!t&&(s=L(n.candidates)||N,a=s.severity,a===S.WIN||a===S.GAIN)||r>=c},parseRace:function(e,t,s=N,r=!1){let c,u,d=e||y,p=t||N,m=s,_=m.splitStateFips||E,R=r,b=p.geoid||p.geoId||h,S=p.seat||"0",T=p.reporting||N,O=p.reporting2||T,P=2===a.cnum(S)?O:T,D=p.status,M=p.incumbentParty,w=o(p.abbreviation)||h,C=p.stateId,U=p.chamber,v=I(U,p),j=p.resultsLink,k=p.countyResultsLink,F=p.exitPollsLink,V=p.lastUpdated,G=p.pollClosingDate,Y=p.electoralVotes||null,x=n(d,["order"],["asc"]),H=l(i(d,$)),B=l(i(d,A))||l(i(d,g)),W=L(x,M,m,w,U,R)||N,Z=function(e,t){let s,a,n,i=t.keyRaces||N,r=o(e.abbreviation),c="00";switch(e.chamber){case f.ELECTORAL:case f.PRESIDENTIAL:a="p",s=i.electoral||y;break;case f.GOVERNOR:a="g",s=i.governor||y;break;case f.HOUSE:a="h",s=i.house||y,c=r.slice(2,4).padStart(2,"0"),r=r.slice(0,2);break;case f.SENATE:a="s",s=i.senate||y;break;case f.MAYOR:a="m",s=i.mayor||y}return!(!s||(n=`${r}_${a}-${c}`,!s.includes(n)&&!s.includes(`${r}_${a}-00`)))}(p,m),K=!!_[b.slice(0,2)];if(u=p.raceId?p.raceId:b?w?`${b}-${w}-${S}`:`${b}-${S}`:`${C}-${w}-${S}`,R){let e=(m.stateResults||N)[w],t=(a.first(d)||N).party||"";j=e?e.link:j,P=t&&P[t]||P}return c={raceId:u,displayName:v,reporting:P,lastUpdated:V,status:D,hasIncumbent:H,hasRunoff:B,result:W,candidates:x,resultsLink:j,countyResultsLink:k,exitPollsLink:F,chamber:U,isSplit:K,isKeyRace:Z,stateAbbrev:w,pollClosingDate:G,electoralVotes:Y},c},parseElectionDate:function(e){return((e||N).pollClosingDate||N).value},getChamberSpecificName:I}},75472:function(e,t,s){var a=s(82689),n=s(1469);e.exports=function(e,t,s,i){return null==e?[]:(n(t)||(t=null==t?[]:[t]),n(s=i?void 0:s)||(s=null==s?[]:[s]),a(e,t,s))}}}]);
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.