1import s from"./DjDDI0eJ.js";import{_ as i,o as c,c as l,f as p,e as h,a6 as d,p as m}from"./DikjsCuG.js";const u={key:"Election2024Map",components:{IframeWrapper:s},props:{electionProp:{type:String,default:"onkormanyzati"}},data(){return{iframeSrc:null,election:null}},computed:{getColorMode(){return this.$colorMode.preference}},mounted(){this.windowWidth=window.innerWidth,window.addEventListener("message",this.newRouteHandler),this.election=this.electionProp,this.setIframeSrc()},beforeUnmount(){window.removeEventListener("message",this.newRouteHandler)},methods:{setIframeSrc(){let n=`https://valasztas-2024.telex.hu/${this.election}/terkep`;const t=m().params.fullPath;t.length>2&&(n+="/"+t[2]),t.length>3&&(n+="/"+t[3]),n+="?hideMore=1",this.iframeSrc=n},onResize(){this.windowWidth=window.innerWidth},newRouteHandler(n){const t=n.data;if(t.type==="route-push"){const e=t.path.split("/");let o="/melleklet/";o+=e[1]==="ep"?"ep-2024":"valasztas-2024",o+="/adatok",this.election=e[1],e.length>3&&e[3]!==""&&(o+="/"+e[3]),e.length>4&&e[4]!==""&&(o+="/"+e[4]),d().push({path:o})}}}},f={key:0};function _(n,t,e,o,r,w){const a=s;return r.iframeSrc&&r.election?(c(),l("div",f,[p(a,{src:r.iframeSrc,"width-props":"100%"},null,8,["src"])])):h("",!0)}const y=Object.assign(i(u,[["render",_]]),{__name:"Election2024Map"});export{y 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.