PageSourceSearch

https://ilkadim.bel.tr/_nuxt/O7MsAGUv.js

js ilkadim.bel.tr collected 2026-10-02 19:53:08 UTC 7,856 bytes, 16 lines download raw bytes

1import{_ as tt}from"./COxOReRT.js";import{_ as at}from"./BQUezBu3.js";import{_ as O}from"./NxIwF53h.js";import{d as lt,b as it,_ as ot}from"./Ca6tsZgh.js";import{_ as et}from"./CIBhvOCx.js";import{u as st,_ as rt}from"./CPpVMA54.js";import{_ as ct}from"./BCQCnSl6.js";import{u as nt,o as dt}from"./vswlLEVq.js";import{f as j}from"./BDzv_oii.js";import{e as M,u as U,a as mt,b as ut,c as pt}from"./Bro_zzQc.js";import{s as gt}from"./lJc9rI0q.js";import{l as $,k as _t,L as c,u as a,O as d,a1 as Q,V as i,H as p,F as _,R as b,W as f,a0 as ft,Q as xt,$ as ht,M as o}from"./CVyEatbZ.js";import{u as yt}from"./NYU08hHP.js";import{P as kt}from"./C6X9MEs_.js";import"./1hy3G7V8.js";import"./BGQQCy9P.js";import"./DlG15TZ1.js";import"./CShCrdds.js";/**
2 * @license lucide-vue-next v0.376.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const bt=M("AwardIcon",[["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}],["path",{d:"M15.477 12.89 17 22l-5-3-5 3 1.523-9.11",key:"em7aur"}]]);/**
7 * @license lucide-vue-next v0.376.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const Lt=M("CalendarRangeIcon",[["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M17 14h-6",key:"bkmgh3"}],["path",{d:"M13 18H7",key:"bb0bb7"}],["path",{d:"M7 14h.01",key:"1qa3f1"}],["path",{d:"M17 18h.01",key:"1bdyru"}]]);/**
12 * @license lucide-vue-next v0.376.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const wt=M("ClockIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);function St(){var u;const{getSignal:C}=lt(),x=ut(),m=mt(),L=C(),{locale:w}=U(),{setSeoMeta:S}=pt(),[g,e]=(u=m==null?void 0:m.params)==null?void 0:u.slug,{data:n,isLoading:N,isError:E}=it({queryKey:["event",g],queryFn:async()=>{var y,k;try{const l=await gt(g,L),r=j(l==null?void 0:l.title,w.value);return S({title:l==null?void 0:l.title,description:`${l==null?void 0:l.title} - İlkadım Belediyesi`,ogTitle:l==null?void 0:l.title,ogDescription:`${l==null?void 0:l.title} - İlkadım Belediyesi`,ogImage:l==null?void 0:l.image,twitterTitle:`${l==null?void 0:l.title} - İlkadım Belediyesi`,twitterDescription:`${l==null?void 0:l.title} - İlkadım Belediyesi`,twitterImage:l==null?void 0:l.image}),(r!==e||((k=(y=m==null?void 0:m.params)==null?void 0:y.slug)==null?void 0:k.length)>2)&&x.push(`/etkinlikler/${g}/${r}`),l}catch{return x.push("/404"),{value:null}}}});return{eventDetail:$(()=>n==null?void 0:n.value),eventLoading:N,eventError:E}}const Nt={class:"containerLarge relative mb-32 mt-16"},Et={class:"relative rounded-b-3xl border-t-8 border-primary-20 shadow-lg"},$t={class:"grid grid-cols-2 gap-8 px-4 py-[4rem] sm:px-[5rem] md:grid-cols-4"},Mt={class:"flex flex-col items-center gap-6 text-center"},Ct={class:"mb-2 text-2xl last:mb-0"},Kt={class:"flex flex-col items-center gap-6 text-center"},Bt={class:"mb-2 text-2xl last:mb-0"},Tt={class:"flex flex-col items-center gap-6 text-center"},Rt={key:1,class:"text-2xl"},Dt={class:"flex-center flex-col text-center"},At={class:"max-w-[20rem] text-center text-2xl"},Pt={class:"max-w-[20rem] text-center text-2xl"},qt={key:1,class:"mb-24 mt-16"},zt={class:"flex gap-16 max-sm:flex-col"},Ft={class:"flex-1 rounded-3xl p-4 shadow-xl"},Gt={class:"flex-1"},Ht={class:"flex flex-col gap-3"},Vt={class:"flex items-center gap-4"},Ot={class:"mt-4 text-slate-800"},Qt={key:1,class:"error"},jt={class:"mt-16 grid grid-cols-2 gap-16 max-2xl:grid-cols-1"},da=_t({__name:"index",setup(C){const{allEvents:x,isLoading:m,isError:L,fetchNextPage:w,isFetchingNextPage:S,hasNextPage:g}=st(),{eventDetail:e,eventLoading:n}=St(),{latitude:N,longitude:E}=nt(),{locale:K}=U(),{formatDate:u}=yt(),y=$(()=>{var r;return(r=e==null?void 0:e.value)==null?void 0:r.lng}),k=$(()=>{var r;return(r=e==null?void 0:e.value)==null?void 0:r.lat}),l=async()=>{g.value&&await w()};return(r,s)=>{var T,R,D,A,P,q,z,F,G,H,V;const W=tt,B=at,h=O,Y=O,J=ot,X=et,Z=rt,v=ct,I=ht("dompurify-html");return o(),c(_,null,[a(n)?Q("",!0):(o(),d(W,{key:0,loading:a(n),mediaDetail:a(e),seoName:(T=a(e))==null?void 0:T.title},null,8,["loading","mediaDetail","seoName"])),i("section",Nt,[p(B,{class:"!mb-0 pt-0 sm:line-clamp-1",title:(R=a(e))==null?void 0:R.title},null,8,["title"]),i("div",Et,[i("div",$t,[i("figure",Mt,[p(a(Lt),{class:"h-12 w-12 text-primary-20"}),i("figcaption",null,[s[1]||(s[1]=i("p",{class:"mb-4 text-2xl font-medium text-slate-800"},"ETKİNLİK TARİHİ",-1)),a(n)?(o(),d(h,{key:0,"class-name":"mb-2"})):(o(!0),c(_,{key:1},b((D=a(e))==null?void 0:D.date_list,t=>(o(),c("p",Ct,f(a(u)(t).slice(0,-5)),1))),256))])]),i("figure",Kt,[p(a(wt),{class:"h-12 w-12 text-primary-20"}),i("figcaption",null,[s[2]||(s[2]=i("p",{class:"mb-4 text-2xl font-medium text-slate-800"},"ETKİNLİK SAATİ",-1)),a(n)?(o(),d(h,{key:0,"class-name":"mb-2"})):(o(!0),c(_,{key:1},b((A=a(e))==null?void 0:A.date_list,t=>(o(),c("p",Bt,f(a(u)(t).slice(-5)),1))),256))])]),i("figure",Tt,[p(a(bt),{class:"h-12 w-12 text-primary-20"}),i("figcaption",null,[s[3]||(s[3]=i("p",{class:"mb-4 text-2xl font-medium text-slate-800"},"ETKİNLİK TÜRÜ",-1)),a(n)?(o(),d(h,{key:0,"class-name":"mb-2"})):(o(),c("p",Rt,f((P=a(e))==null?void 0:P.event_type),1))])]),i("figure",{class:"flex cursor-pointer flex-col items-center gap-6 text-center",onClick:s[0]||(s[0]=t=>("openGoogleMaps"in r?r.openGoogleMaps:a(dt))(a(N),a(E),a(k),a(y)))},[s[5]||(s[5]=i("div",{class:"map-pinned"},null,-1)),i("figcaption",Dt,[s[4]||(s[4]=i("p",{class:"mb-4 text-2xl font-medium text-slate-800"},"ETKİNLİK LOKASYONU",-1)),a(n)?(o(),d(h,{key:0,"class-name":"mb-2"})):(o(),c(_,{key:1},[i("p",At,f((q=a(e))==null?void 0:q.place),1),i("p",Pt,f((z=a(e))==null?void 0:z.address),1)],64))])])]),s[6]||(s[6]=i("div",{class:"max-sm:hidden"},[i("img",{src:"https://i.hizliresim.com/g51qfyc.png",alt:"vector",class:"pointer-events-none absolute left-4 top-1/2 -z-[1] -translate-y-1/2"}),i("img",{src:"https://i.hizliresim.com/g51qfyc.png",alt:"vector",class:"pointer-events-none absolute right-4 top-1/2 -z-[1] -translate-y-1/2"})],-1))]),a(n)?(o(),d(Y,{key:0,"class-name":"mb-24 mt-16"}
16)):(o(),c("div",qt,[i("figure",zt,[i("div",Ft,[p(J,{src:(F=a(e))==null?void 0:F.image,alt:"ilkadim-logo",class:"h-full w-full rounded-3xl object-cover",placeholder:"",fit:"cover"},null,8,["src"])]),i("figcaption",Gt,[i("div",Ht,[(o(!0),c(_,null,b((G=a(e))==null?void 0:G.phone_list_formatted,t=>(o(),c("div",Vt,[p(a(kt),{class:"h-9 w-9 text-primary-20"}),i("span",null,f(t),1)]))),256))]),ft(i("div",Ot,null,512),[[I,(H=a(e))==null?void 0:H.content]])])])])),p(B,{class:"pb-0",title:"DİĞER ETKİNLİKLER",desc:"İlkadım ile ilgili etkinlikleri bu alandan inceleyebilirsiniz."}),i("div",null,[a(m)?(o(),d(h,{key:0})):a(L)?(o(),c("div",Qt,"Bir hata oluştu!")):((V=a(x))==null?void 0:V.length)===0?(o(),d(X,{key:2})):Q("",!0),p(v,{loader:a(S),"has-next":a(g),onLoadMore:l},{default:xt(()=>[i("div",jt,[(o(!0),c(_,null,b(a(x),t=>(o(),d(Z,{time:{first:a(u)((t==null?void 0:t.date_list)&&(t==null?void 0:t.date_list[0])).slice(0,2),second:a(u)((t==null?void 0:t.date_list)&&(t==null?void 0:t.date_list[0])).slice(2,-5),third:a(u)((t==null?void 0:t.date_list)&&(t==null?void 0:t.date_list[0])).slice(-5)},title:t==null?void 0:t.title,image:t==null?void 0:t.image,link:`/etkinlikler/${t==null?void 0:t.id}/${("formatSlugName"in r?r.formatSlugName:a(j))(t==null?void 0:t.title,a(K))}`,key:t==null?void 0:t.id},null,8,["time","title","image","link"]))),128))])]),_:1},8,["loader","has-next"])])])],64)}}});export{da 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.