PageSourceSearch

https://operabale.gov.tr/_next/static/chunks/pages/directorates/[slugId]-148099ec3c8dfcd2.js

js operabale.gov.tr collected 2026-10-02 10:55:05 UTC 7,066 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[324],{593:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSP:()=>b,default:()=>E});var a=l(7876);l(4232);var i=l(7342),r=l(5470);let n=e=>{var t;return e.isLoading||e.upcoming&&e.upcoming.length>0?(0,a.jsxs)("div",{className:"bg-parl upcoming-events relative z-100 pt-16 pb-24",children:[(0,a.jsx)("div",{className:"pl-4",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("h1",{className:"text-4xl text-white events-title top-16 relative tracking-tight text-left font-semibold",children:"tr"==e.locale?"Yaklaşan Etkinlikler":"Upcoming Events"})})}),(0,a.jsx)("div",{className:"pt-8 pb-8 upcoming-swiper container grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 lg:gap-4",children:e.isLoading?Array.from({length:8}).map((e,t)=>(0,a.jsx)(r.Q,{},"skeleton-".concat(t))):null==(t=e.upcoming)?void 0:t.map((t,l)=>(0,a.jsx)(i.n,{event:{...t,index:l},locale:e.locale,idx:l},l))})]}):null};var s=l(8813),c=l(8112),o=l(6142);c.Ay.registerPlugin(o.ScrollToPlugin);let d=e=>((0,s.L)(()=>{let e=c.Ay.context(()=>{let e,t=["#ffffff","#e1b41f","#e7e7e7","#ffc200"],l=document.getElementById("container-main-inner"),a=l.offsetWidth,i=l.offsetHeight,r=e=>{c.Ay.to(e,c.Ay.utils.random(5,10),{y:i,ease:"none",repeat:-1,delay:-10}),c.Ay.to(e,c.Ay.utils.random(1,6),{x:"+=50",ease:"power1.inOut",repeat:-1,yoyo:!0}),c.Ay.to(e,c.Ay.utils.random(1,2),{opacity:.2,ease:"power1.inOut",repeat:-1,yoyo:!0})};for(let n=0;n<25;n++)(e=document.createElement("div")).classList.add("particle"),l.appendChild(e),c.Ay.set(e,{x:c.Ay.utils.random(0,a),y:c.Ay.utils.random(0,i)-.5*i,scale:c.Ay.utils.random(.5,1),backgroundColor:c.Ay.utils.random(t)}),r(e)});return()=>e.revert()},[]),(0,a.jsxs)(a.Fragment,{children:[" ",(e.upcoming&&e.upcoming.length,(0,a.jsx)("section",{id:"container-main-inner",className:"h-max",children:e.children}))]})),m=e=>{let{directorate:t,provinces:l,locale:i,upcoming:r,isLoading:s}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(d,{upcoming:r||"",children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"z-100 left-0 flex justify-center w-full h-max",children:(0,a.jsx)("div",{className:"panel1  w-full flex flex-col relative top-0 h-max overflow-hidden  ",children:(0,a.jsx)("div",{className:"h-max relative",children:(0,a.jsx)("div",{className:"h-max w-full flex flex-col",children:(0,a.jsxs)("div",{className:"caption h-full w-full flex mt-8 flex-col items-center justify-center ",children:[(0,a.jsx)("h2",{className:"text-white text-5xl text-glow font-semibold  relative main-title flex flex-col justify-center items-center",children:l.title}),(0,a.jsxs)("h2",{className:"text-white text-3xl text-glow  relative main-title flex flex-col justify-center items-center p-4",children:[" ","tr"==i?"Devlet Opera ve Balesi":"State Opera and Ballet"]})]})})})})}),(0,a.jsx)(n,{locale:i,upcoming:r,isLoading:s})]})})})};var x=l(7328),p=l.n(x),h=l(9099),u=l(4359),g=l(8230),f=l.n(g);let v=e=>{let{event:t,locale:l}=e;return(0,a.jsxs)(f(),{href:"".concat("tr"==l?"/eser":"/shows","/").concat("tr"==l?t.seoUrl:t.seoUrlEn),className:"repertoire-card-inner upcoming-card top-16 relative h-full w-full rounded-2xl",children:[(0,a.jsx)("div",{className:"h-[300px] md:h-[420px] lg:h-[420px] w-full relative rounded-2xl overflow-hidden",children:(0,a.jsx)("img",{src:t.afisler[0]||"/images/banner.jpg",alt:"tr"==l?t.eserAdi:t.eserAdiIngilizce,className:"w-full h-full object-cover"})}),(0,a.jsx)("div",{className:"caption flex p-2 relative flex-col items-between",children:(0,a.jsx)("h1",{className:"text-base lg:text-base text-white tracking-tighter text-left font-bold",children:"tr"==l?t.eserAdi:t.eserAdiIngilizce})})]})};function j(e){let{locale:t,upcoming:l,isLoading:i}=e;return(0,a.jsx)("div",{className:" pt-4 ",children:(0,a.jsxs)("div",{className:" repertoire  container relative top-16  pt-16 pb-44 ",children:[(0,a.jsx)("div",{className:"pl-4 ",children:(0,a.jsx)("div",{className:"",children:(0,a.jsx)("h1",{className:"text-5xl events-title text-glow text-center relative top-16 mb-16 tracking-tight  font-semibold",children:"tr"==t?"Repertuvar":"Repertoire"})})}),(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"grid grid-cols-2 announce-grid md:grid-cols-3 lg:grid-cols-4 gap-x-4 gap-y-12",children:i?Array.from({length:4}).map((e,t)=>(0,a.jsx)(r.Q,{},"skeleton-".concat(t))):l&&l.data.length>0&&l.data.map((e,l)=>(0,a.jsx)(v,{event:e,locale:t},l))})})]})})}var w=l(5364);let N=async e=>{let{id:t}=e;return(await fetch("".concat("https://apimain.operabale.gov.tr","/v1/web/temsil/mudurluk/listele/").concat(t))).json()},y=async e=>{let{id:t}=e;return(await fetch("".concat("https://apimain.operabale.gov.tr","/v1/web/repertuvar/mudurluk/").concat(t))).json()};var b=!0;let E=e=>{let t=(0,h.useRouter)(),{data:l,error:i,isLoading:r}=(e=>{let{id:t}=e;return(0,u.I)({queryKey:["temsil","mudurluk","listele",t],queryFn:()=>N({id:t})})})({id:e.id}),{data:n,error:s,isLoading:c}=(e=>{let{id:t}=e;return(0,u.I)({queryKey:["repertuvar","mudurluk","listele",t],queryFn:()=>y({id:t})})})({id:e.id});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(p(),{children:[(0,a.jsx)("title",{children:"tr"==t.locale?"".concat(e.page.title," | DEVLET OPERA VE BALESİ GENEL M\xdcD\xdcRL\xdcĞ\xdc"):"".concat(e.page.titleEn," | DEVLET OPERA VE BALESİ GENEL M\xdcD\xdcRL\xdcĞ\xdc")}),(0,a.jsx)("meta",{name:"description",content:"tr"==t.locale?"".concat(e.page.title," opera ve bale etkinlikleri, repertuvar ve iletişim bilgileri"):"".concat(e.page.titleEn," opera and ballet events, repertoire and contact information")}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,a.jsx)("meta",{name:"keywords",content:"tr"==t.locale?"".concat(e.page.title,", opera, bale, repertuvar, etkinlikler, sanat"):"".concat(e.page.titleEn,", opera, ballet, repertoire, events, art")}),(0,a.jsx)("link",{rel:"canonical",href:"".concat(w.env.NEXT_PUBLIC_SITE_URL).concat(t.asPath)})]}),(0,a.jsx)("header",{className:" breadcrumb-header border-t flex bg-black  border-white border-opacity-20 flex-row items-center w-full  justify-between   h-12 lg:h-12   lg:flex ",children:(0,a.jsxs)("div",{className:"flex  items-center justify-between flex-row  container",children:[(0,a.jsx)("div",{className:"w-1/2",children:(0,a.jsxs)("h2",{className:"text-white text-3xl",children:[" ",e.page.title]})}),(0,a.jsxs)("div",{className:"flex  text-white flex-row",children:[(0,a.jsx)("a",{className:"",href:"#repertuvar",children:"Repertuvar"}),(0,a.jsx)("a",{className:"ml-4",href:"#iletisim",children:"İletişim"})]})]})}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(m,{locale:t.locale,upcoming:l,isLoading:r,provinces:e.page?e.page:null}),(0,a.jsx)("div",{id:"repertuvar",className:"bg-parl pb-8",children:(0,a.jsx)(j,{locale:t.locale,upcoming:n,isLoading:c})})]})]})}},1532:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/directorates/[slugId]",function(){return l(593)}])}},e=>{e.O(0,[736,516,636,593,792],()=>e(e.s=1532)),_N_E=e.O()}]);

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.