1import{r as m,aZ as g,b3 as h,aV as e,B as n,c4 as b,b0 as s,F as j,l as y,M as S,cf as a}from"./vendor-Ctk823yW.js";import{I as w}from"./InnerPageContainer-BLJm1kGt.js";import{a as C,L as I}from"./index-DtSZN4vW.js";import{u as B,a as D,D as M,B as k}from"./DonutChart-CjaJjtWw.js";import{K as v}from"./mui-icons-DcXNBBF6.js";import"./PageContainer-9seZyR3a.js";import"./tanstack-query-AVs-T-zH.js";import"./i18n-C2x398Fl.js";import"./form-hFxpmYqJ.js";import"./mui-datepicker-DRzdJM7s.js";import"./mui-charts-Cx7AYoKg.js";const F=()=>{const[l,o]=m.useState(0),{currentLanguageId:c}=C("common"),{data:r,isLoading:x}=B(c,I.Years),{data:d}=D(l,c),i=g(),u=h(i.breakpoints.down("lg")),p=h(i.breakpoints.down("md")),f=t=>{o(t)};return m.useEffect(()=>{r?.length&&o(r[0].id)},[r,o]),e.jsx(w,{seoTitle:"Ø¥ØØµØ§Ø¦Ùات",seoDescription:"ØµÙØØ© Ø§ÙØªÙاص٠٠ع Ø§ÙØ§Ùتخابات اÙÙÙØ§Ø¨ÙØ© اÙÙØ¨ÙاÙÙØ©",seoUrl:"https://elections.gov.lb/search-results",subTitle:"Ø¥ØØµØ§Ø¦Ùات",children:e.jsx(n,{component:"main",flexGrow:1,py:8,children:e.jsx(n,{sx:{width:"100%",display:"flex",flexDirection:"column",px:u?"1rem":"4.5rem"},children:e.jsxs(b,{maxWidth:"xl",children:[e.jsxs(n,{sx:{display:"flex",justifyContent:"center",mb:6,alignItems:"center",gap:3.5,alignContent:"center",flex:1,alignSelf:"center",justifyItems:"center"},children:[e.jsx(s,{component:"h2",sx:{fontWeight:600,fontSize:p?"1rem":"1.375rem",textAlign:"center"},variant:"h4",children:"أبرز Ø£Ø±ÙØ§Ù Ø§ÙØ§Ùتخابات اÙÙÙØ§Ø¨ÙØ©"}),e.jsx(j,{sx:{minWidth:100},children:e.jsx(y,{name:"election-stats-year",value:l||"",onChange:t=>f(t.target.value),IconComponent:v,sx:{bgcolor:"white",color:"white",borderRadius:"14px",height:"2.8125rem",fontSize:p?"0.8rem":"1rem",fontStyle:"normal",fontWeight:600,background:i.palette.custom.blue.dark,"& .MuiOutlinedInput-notchedOutline":{border:"none"},"&:hover .MuiOutlinedInput-notchedOutline":{border:"none"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{border:"none"},"& .MuiSelect-icon":{color:"#fff"}},children:r?.map(t=>e.jsx(S,{value:t.id,children:e.jsx(s,{children:t.name})},t.id))})})]}),e.jsxs(a,{container:!0,spacing:4,px:3,children:[e.jsx(a,{size:{xs:12,md:5},children:e.jsxs(n,{sx:{bgcolor:"white",borderRadius:"0.4375rem",border:"0.5px solid #b1b1b1",boxShadow:"0px 16px 32px -4px rgba(12, 12, 13, 0.1), 0px 4px 4px -4px rgba(12, 12, 13, 0.05)",p:4,height:"33.5rem",display:"flex",flexDirection:"column"},children:[e.jsx(s,{sx:{fontSize:"1.1rem",fontWeight:600,color:"#1a1a1a",mb:3,textAlign:"center"},children:"Ù Ø¬Ù ÙØ¹Ø© اÙÙ ÙØªØ®Ø¨Ù٠اÙ٠سجÙÙÙÙ"}),e.jsx(n,{sx:{flex:1,display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(M,{data:d||[],isLoading:x})})]})}),e.jsx(a,{size:{xs:12,md:7},children:e.jsxs(n,{sx:{borderRadius:"0.4375rem",border:"0.5px solid #B1B1B1",bgcolor:"white",boxShadow:"0px 16px 32px -4px rgba(12, 12, 13, 0.1), 0px 4px 4px -4px rgba(12, 12, 13, 0.05)",p:4,height:"33.5rem",display:"flex",flexDirection:"column"},children:[e.jsx(s,{sx:{fontSize:"1.1rem",fontWeight:600,color:"#1a1a1a",mb:3,textAlign:"center"},children:"ÙØ³Ø¨ Ø§ÙØ§Ùتراع ÙÙ Ø§ÙØ§Ùتخابات اÙÙÙØ§Ø¨ÙØ© ØØ³Ø¨ Ø§ÙØ¯Ø§Ø¦Ø±Ø© اÙÙØ¨Ø±Ù"}),e.jsx(n,{sx:{maxHeight:"26rem",flex:1,display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(k,{data:d||[],isLoading:x})})]})})]})]})})})})};export{F as default}; 2//# sourceMappingURL=Statistics-CkhkLhvD.js.map
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.