1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6051],{12329:function(e,a,t){t.d(a,{Z:function(){return u}});var n={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yar\u0131m dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yakla\u015f\u0131k 1 saat",other:"yakla\u015f\u0131k {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 g\xfcn",other:"{{count}} g\xfcn"},aboutXWeeks:{one:"yakla\u015f\u0131k 1 hafta",other:"yakla\u015f\u0131k {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yakla\u015f\u0131k 1 ay",other:"yakla\u015f\u0131k {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yakla\u015f\u0131k 1 y\u0131l",other:"yakla\u015f\u0131k {{count}} y\u0131l"},xYears:{one:"1 y\u0131l",other:"{{count}} y\u0131l"},overXYears:{one:"1 y\u0131ldan fazla",other:"{{count}} y\u0131ldan fazla"},almostXYears:{one:"neredeyse 1 y\u0131l",other:"neredeyse {{count}} y\u0131l"}},i=function(e,a,t){var i,r=n[e];return i="string"===typeof r?r:1===a?r.one:r.other.replace("{{count}}",a.toString()),null!==t&&void 0!==t&&t.addSuffix?t.comparison&&t.comparison>0?i+" sonra":i+" \xf6nce":i},r=t(49526),o={date:(0,r.Z)({formats:{full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:(0,r.Z)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.Z)({formats:{full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},l={lastWeek:"'ge\xe7en hafta' eeee 'saat' p",yesterday:"'d\xfcn saat' p",today:"'bug\xfcn saat' p",tomorrow:"'yar\u0131n saat' p",nextWeek:"eeee 'saat' p",other:"P"},s=function(e,a,t,n){return l[e]},d=t(88486),c={ordinalNumber:function(e,a){return Number(e)+"."},era:(0,d.Z)({values:{narrow:["M\xd6","MS"],abbreviated:["M\xd6","MS"],wide:["Milattan \xd6nce","Milattan Sonra"]},defaultWidth:"wide"}),quarter:(0,d.Z)({values:{narrow:["1","2","3","4"],abbreviated:["1\xc7","2\xc7","3\xc7","4\xc7"],wide:["\u0130lk \xe7eyrek","\u0130kinci \xc7eyrek","\xdc\xe7\xfcnc\xfc \xe7eyrek","Son \xe7eyrek"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,d.Z)({values:{narrow:["O","\u015e","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","\u015eub","Mar","Nis","May","Haz","Tem","A\u011fu","Eyl","Eki","Kas","Ara"],wide:["Ocak","\u015eubat","Mart","Nisan","May\u0131s","Haziran","Temmuz","A\u011fustos","Eyl\xfcl","Ekim","Kas\u0131m","Aral\u0131k"]},defaultWidth:"wide"}),day:(0,d.Z)({values:{narrow:["P","P","S","\xc7","P","C","C"],short:["Pz","Pt","Sa","\xc7a","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","\xc7ar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Sal\u0131","\xc7ar\u015famba","Per\u015fembe","Cuma","Cumartesi"]},defaultWidth:"wide"}),dayPeriod:(0,d.Z)({values:{narrow:{am:"\xf6\xf6",pm:"\xf6s",midnight:"gy",noon:"\xf6",morning:"sa",afternoon:"\xf6s",evening:"ak",night:"ge"},abbreviated:{am:"\xd6\xd6",pm:"\xd6S",midnight:"gece yar\u0131s\u0131",noon:"\xf6\u011fle",morning:"sabah",afternoon:"\xf6\u011fleden sonra",evening:"ak\u015fam",night:"gece"},wide:{am:"\xd6.\xd6.",pm:"\xd6.S.",midnight:"gece yar\u0131s\u0131",noon:"\xf6\u011fle",morning:"sabah",afternoon:"\xf6\u011fleden sonra",evening:"ak\u015fam",night:"gece"}},defaultWidth:"wide",formattingValues:{narrow:{am:"\xf6\xf6",pm:"\xf6s",midnight:"gy",noon:"\xf6",morning:"sa",afternoon:"\xf6s",evening:"ak",night:"ge"},abbreviated:{am:"\xd6\xd6",pm:"\xd6S",midnight:"gece yar\u0131s\u0131",noon:"\xf6\u011flen",morning:"sabahleyin",afternoon:"\xf6\u011fleden sonra",evening:"ak\u015famleyin",night:"geceleyin"},wide:{am:"\xf6.\xf6.",pm:"\xf6.s.",midnight:"gece yar\u0131s\u0131",noon:"\xf6\u011flen",morning:"sabahleyin",afternoon:"\xf6\u011fleden sonra",evening:"ak\u015famleyin",night:"geceleyin"}},defaultFormattingWidth:"wide"})},x=t(76723),u={code:"tr",formatDistance:i,formatLong:o,formatRelative:s,localize:c,match:{ordinalNumber:(0,t(60974).Z)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,x.Z)({matchPatterns:{narrow:/^(m\xf6|ms)/i,abbreviated:/^(m\xf6|ms)/i,wide:/^(milattan \xf6nce|milattan sonra)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(^m\xf6|^milattan \xf6nce)/i,/(^ms|^milattan sonra)/i]},defaultParseWidth:"any"}),quarter:(0,x.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\xe7/i,wide:/^((i|\u0130)lk|(i|\u0130)kinci|\xfc\xe7\xfcnc\xfc|son) \xe7eyrek/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1\xe7/i,/2\xe7/i,/3\xe7/i,/4\xe7/i],wide:[/^(i|\u0130)lk \xe7eyrek/i,/(i|\u0130)kinci \xe7eyrek/i,/\xfc\xe7\xfcnc\xfc \xe7eyrek/i,/son \xe7eyrek/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,x.Z)({matchPatterns:{narrow:/^[o\u015fmnhtaek]/i,abbreviated:/^(oca|\u015fub|mar|nis|may|haz|tem|a\u011fu|eyl|eki|kas|ara)/i,wide:/^(ocak|\u015fubat|mart|nisan|may\u0131s|haziran|temmuz|a\u011fustos|eyl\xfcl|ekim|kas\u0131m|aral\u0131k)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^o/i,/^\u015f/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^\u015f/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^a\u011f/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},defaultParseWidth:"any"}),day:(0,x.Z)({matchPatterns:{narrow:/^[ps\xe7c]/i,short:/^(pz|pt|sa|\xe7a|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|\xe7ar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|sal\u0131|\xe7ar\u015famba|per\u015fembe|cuma(?!rtesi)|cumartesi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^p/i,/^p/i,/^s/i,/^\xe7/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^\xe7a/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^sal\u0131/i,/^\xe7ar\u015famba/i,/^per\u015fembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},defaultParseWidth:"any"}),dayPeriod:(0,x.Z)({matchPatterns:{narrow:/^(\xf6\xf6|\xf6s|gy|\xf6|sa|\xf6s|ak|ge)/i,any:/^(\xf6\.?\s?[\xf6s]\.?|\xf6\u011fleden sonra|gece yar\u0131s\u0131|\xf6\u011fle|(sabah|\xf6\u011f|ak\u015fam|ge
1ce)(leyin))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^\xf6\.?\xf6\.?/i,pm:/^\xf6\.?s\.?/i,midnight:/^(gy|gece yar\u0131s\u0131)/i,noon:/^\xf6\u011f/i,morning:/^sa/i,afternoon:/^\xf6\u011fleden sonra/i,evening:/^ak/i,night:/^ge/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},46051:function(e,a,t){t.r(a),t.d(a,{default:function(){return E}});var n=t(41799),i=t(69396),r=t(828),o=t(85893),l=t(39653),s=t(48641),d=t(20979),c=t(51469),x=t(57026),u=t(47741),p=t(34583),h=t(12329),m=t(9008),g=t.n(m),b=t(11163),y=t(67294),f=t(9198),v=t.n(f),k=t(87536),j=(t(18698),t(32423)),w=t(30811),z=t(84894),S=t(9135),C=t(77671);function Z(e){var a=e.register,t=e.categoryList;return(0,o.jsxs)(s.xu,{p:"30px 20px",children:[(0,o.jsx)(p.ol,{top:"20px",right:"20px",fontSize:"12px",bg:"baseColor.darkBlue",color:"white",rounded:"50%",boxSize:"45px"}),(0,o.jsx)(s.xv,{variant:"text_5",fontWeight:"700",color:"textColor.black",mb:"28px",children:"Filtre"}),(0,o.jsxs)(s.xu,{color:"textColor.black",children:[(0,o.jsx)(s.xv,{variant:"text_4",fontWeight:"600",mb:"15px",children:"Kategori"}),(0,o.jsx)(s.gC,{gap:"20px",align:"start",sx:{".chakra-checkbox__control[data-checked]":{bg:"baseColor.orange !important",border:"none",outline:"none"},".chakra-checkbox__control ":{border:"1px solid #57595A",rounded:"4px",outline:"none",boxSize:"24px",boxShadow:"none",marginRight:"16px"},".chakra-checkbox__control[data-hover]":{bg:"white"}},mb:"30px",children:t.map((function(e){return(0,y.createElement)(S.XZ,(0,i.Z)((0,n.Z)({size:"lg",value:e.categoryId,name:"category"},a("checkbox")),{key:(0,C.Z)()}),e.categoryName)}))})]})]})}var M=t(23887),P=t(60218),W=t(90557);function _(e){var a=e.vertical,t=e.data,n=(0,l.qY)(),i=n.isOpen,r=n.onOpen,d=n.onClose,x=(0,y.useState)(),u=x[0],h=x[1];return 0==(null===t||void 0===t?void 0:t.length)?(0,o.jsx)("div",{children:"sonu\xe7 bulunamad\u0131"}):(null===t||void 0===t||t.sort((function(e,a){var t=e.summaryDate.split("."),n=a.summaryDate.split("."),i=new Date(t[2],t[1],t[0]);return new Date(n[2],n[1],n[0])-i})),(0,o.jsxs)("div",{children:[(0,o.jsx)(W.Z,{children:(0,o.jsxs)(p.u_,{onClose:d,size:"3xl",isOpen:i,isCentered:!0,children:[(0,o.jsx)(p.ZA,{bg:"#FFFFFF33",backdropFilter:"blur(3px)"}),(0,o.jsxs)(p.hz,{bg:"baseColor.darkBlue",color:"white",children:[(0,o.jsx)(p.ol,{fontSize:"20px",color:"black",bg:"white",m:"10px",p:"20px",border:"1px solid white",rounded:"50%",_hover:{bg:"white",color:"black"}}),(0,o.jsxs)(p.fe,{p:"36px 54px",children:[(0,o.jsxs)(s.xv,{mb:"32px",variant:"text_6",children:[null===u||void 0===u?void 0:u.title," "]}),(0,o.jsx)(s.oM,{maxW:"800px",ratio:16/9,children:(0,o.jsx)("iframe",{src:null===u||void 0===u?void 0:u.youtubeEmbedLink,allowFullScreen:!0,width:800})})]})]})]})}),(0,o.jsx)(s.rj,{templateColumns:"repeat(12, 1fr)",gap:30,children:null===t||void 0===t?void 0:t.map((function(e,t){if(0==(null===e||void 0===e?void 0:e.featured))return null;var n=function(e,a){return"item--".concat(e.detailUrl,"--key-").concat(a)}(e,t),i=null===e||void 0===e?void 0:e.summaryDate.split("/"),l=3===i.length?i[1]+"."+i[0]+"."+i[2]:i[0];return(0,o.jsx)(s.P4,{colSpan:{base:12,md:a?12:6,xl:a?12:4},children:(0,o.jsxs)(s.kC,{className:"card",mb:a?"0":"30px",flexDir:a?"row":"column",alignItems:a?"center":"flex-start",children:[(0,o.jsx)(c.di,{above:"md",children:(0,o.jsxs)(s.xu,{minW:a?"50%":"100%",mb:{base:"20px",xl:a?"0":"20px"},position:"relative",minH:{base:a?"225px":"100%",xl:a?"350px":"100%"},mr:a?"30px":"0",children:[(0,o.jsxs)(s.xu,{width:"100%",height:"100%",rounded:"20px",overflow:"hidden",position:"relative",cursor:"pointer",onClick:function(){h(e),r()},children:[(0,o.jsx)(P.Z,{src:e.image,alt:e.imageAlt,title:e.imageTitle}),(0,o.jsx)(s.xu,{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",children:(0,o.jsx)(M.Ee,{objectFit:"cover",w:"100%",src:"/play.png",alt:"custom placeholder",title:"custom placeholder"})})]}),(0,o.jsx)(s.xu,{position:"absolute",top:"15px",right:"15px",p:"15px 40px",bg:"white",rounded:"10px",children:(0,o.jsx)(s.xv,{variant:"text_2",fontWeight:"700",children:e.bannerTitle})})]})}),(0,o.jsxs)(s.xu,{children:[(0,o.jsx)(s.xv,{variant:{base:"text_5",xl:"text_6"},fontWeight:"600",mb:{base:"10px",xl:a?"25px":"15px"},children:e.title}),(0,o.jsx)(s.xu,{w:"264px",h:"6px",bg:"linear-gradient(263.09deg, #FF6F00 6.18%, rgba(255, 255, 255, 0) 92.02%)",mb:{base:"10px",xl:a?"20px":"10px"}}),(0,o.jsx)(s.xv,{variant:{base:"text_3",xl:"text_4"},fontWeight:"600",color:"textColor.dark",opacity:"0.6",mb:{base:"15px",md:"10px",xl:a?"35px!important":"25px"},children:l}),(0,o.jsx)(c.c,{above:"md",children:(0,o.jsx)(s.xu,{mb:"25px",children:(0,o.jsxs)(s.xu,{width:"100%",height:"100%",rounded:"20px",overflow:"hidden",position:"relative",curs
1or:"pointer",onClick:function(){h(e),r()},children:[(0,o.jsx)(P.Z,{src:e.image,alt:e.imageAlt,title:e.imageTitle}),(0,o.jsx)(s.xu,{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",children:(0,o.jsx)(M.Ee,{objectFit:"cover",w:"100%",src:"/play.png",alt:"custom placeholder",title:"custom placeholder"})})]})})}),(0,o.jsx)(s.xv,{variant:{base:"text_3",xl:"text_5"},mb:{base:"20px",md:a?"20px":"10px",xl:a?"40px !important":"20px !important"},className:"lineClamp",children:e.shortText})]})]})},n)}))})]}))}(0,f.registerLocale)("tr",h.Z);var E=function(e){var a,t=function(e){var a=new URL(e).pathname.split("/")[2];return"https://www.youtube.com/watch?v=".concat(a)},h=(0,l.qY)(),m=h.isOpen,f=h.onOpen,S=h.onClose,C=(0,k.cI)(),M=C.register,P=C.handleSubmit,W=C.watch,E=(0,y.useState)([null,null]),A=E[0],F=E[1],N=(0,y.useState)(null===e||void 0===e?void 0:e.paginationLength),D=N[0],I=N[1],L=(0,r.Z)(A,2),O=L[0],T=L[1],H=(0,y.useState)(1),X=H[0],q=H[1],U=(0,y.useState)(null===e||void 0===e?void 0:e.data),Y=U[0],B=U[1],K=(0,b.useRouter)(),R=K.query.page?K.query.page:1;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(g(),{children:null===Y||void 0===Y?void 0:Y.map((function(e,a){var n={"@context":"https://schema.org","@type":"VideoObject",name:e.imageAlt,description:e.imageAlt,thumbnailUrl:[e.image||"#"],uploadDate:e.historySort||(new Date).toISOString(),contentUrl:t(e.youtubeEmbedLink)||"#",embedUrl:e.youtubeEmbedLink||"#"},i=JSON.stringify(n);return(0,o.jsx)("script",{type:"application/ld+json",children:i},a)}))}),(0,o.jsxs)(s.W2,{maxW:{base:"600px",md:"760px",lg:"1000px",xl:"1260px",xxl:"1500px"},px:{base:"20px",xl:"15px"},mt:"30px",mb:{base:"84px",xl:"90px"},children:[(0,o.jsxs)("form",{onSubmit:P((function(){q(1),function(a){var t=null===e||void 0===e?void 0:e.categoryList.map((function(e){return e.categoryId}));fetch("/api/search-video",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({searchText:W("search"),searchCategory:W("checkbox")&&W("checkbox").length>0&&!W("category")?W("checkbox"):!W("checkbox")&&!W("category")||!W("category")&&0!=W("checkbox").length?t:[W("category")],listLimit:null===e||void 0===e?void 0:e.listItemLimit,searchStartDate:O&&(0,w.p6)(O),searchEndDate:T&&(0,w.p6)(T),searchPage:isNaN(a)?X:a})}).then((function(e){return e.json()})).then((function(e){B(null===e||void 0===e?void 0:e.data),I(null===e||void 0===e?void 0:e.paginationLength)})).catch((function(e){console.error("Search failed:",e)}))}(1)})),children:[(0,o.jsxs)(s.Ug,{h:"60px",gap:{base:"10px",xl:"15px"},mb:{base:"45px",xl:"30px"},children:[(0,o.jsxs)(d.BZ,{color:"#57595A",children:[(0,o.jsx)(d.Z8,{pointerEvents:"none",h:"100%",left:"8px",children:(0,o.jsx)(j.Z,{icon:"icon-search"})}),(0,o.jsx)(d.II,(0,n.Z)({_focusVisible:{outline:"none"},p:{base:"19px 15px 19px 50px"},h:"auto",fontSize:"14px",border:"1px solid #57595A",placeholder:"Arad\u0131\u011f\u0131n\u0131z kelimeyi yaz\u0131n",size:"lg",rounded:"15px"},M("search")))]}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c.c,{above:"xl",children:(0,o.jsx)(s.xu,{rounded:"10px",bg:"tableColor.line",fontSize:"22px",boxSize:"60px",minW:"60px",onClick:f,display:"flex",alignContent:"center",justifyContent:"center",flexWrap:"wrap",children:(0,o.jsx)(j.Z,{icon:"icon-calendar"})})}),(0,o.jsxs)(c.di,{above:"xl",children:[(0,o.jsx)(x.Ph,(0,i.Z)((0,n.Z)({placeholder:"Kategori",h:"60px",minW:"250px",maxW:"250px",_focusVisible:{outline:"none"},rounded:"15px",value:W("category")},M("category")),{children:null===e||void 0===e||null===(a=e.categoryList)||void 0===a?void 0:a.map((function(e,a){return(0,o.jsx)("option",{value:e.categoryId,children:e.categoryName},a)}))})),(0,o.jsxs)(s.kC,{h:"100%",rounded:"10px",justify:"center",alignItems:"center",sx:{".react-datepicker__close-icon":{p:"0",top:"0",right:"8px"}},position:"relative",children:[(0,o.jsx)(v(),{locale:"tr",selectsRange:!0,startDate:O,endDate:T,onChange:function(e){F(e)},customInput:(0,o.jsxs)(d.BZ,{position:"relative",children:[(0,o.jsx)(d.II,{_focusVisible:{outline:"none"},p:{base:"15px 0 15px 15px"},h:"auto",fontSize:"18px",border:"1px solid #57595A",size:"lg",rounded:"15px",value:O?"":"Tarih"}),(0,o.jsx)(d.Z8,{pointerEvents:"none",h:"100%",right:"0",left:"auto",position:"absolute",fontSize:"20px",display:O?"none":"flex",children:(0,o.jsx)(j.Z,{icon:"icon-calendar"})})]})}),(0,o.jsx)(s.M5,{onClick:function(){return F([null,null])},fontSize:"8px",position:"absolute",right:"12px",rounded:"50%",p:"8px",bg:"baseColor.darkBlue",cursor:"pointer",color:"white",display:O?"flex":"none",children:(0,o.jsx)(j.Z,{icon:"icon-closeIcon"})}),(0,o.jsxs)(s.xu,{position:"absolute",top:"10px",left:"10px",children:[(0,o.jsx)(s.xv,{fontSize:"14px",children:O&&(0,w.p6)(O)}),(0,o.jsx)(s.xv,{fontSize:"14px",children:T&&(0,w.p6)(T)})]})]})]})]}),(0,o.jsx)(u.zx,{variant:"secondary",size:"middle",height:"100%",m:"0 !important",rounded:"15px",type:"submit",textTransform:"uppercase",children:"Ara"})]}),(0,o.jsxs)(p.u_,{isOpen:m,onClose:S,size:{base:"full",md:"xl"},children:[(0,o.jsx)(p.ZA,{}),(0,o.jsx)(p.hz,{children:(0,o.jsx)(Z,{register:M,watch:W,categoryList:null===e||void 0===e?void 0:e.categoryList})})]})]}),(0,o.jsx)(_,{vertical:null===e||void 0===e?void 0:e.verticalCard,data:Y}),D>1&&(0,o.jsx)(z.Z,{data:D,activePage:R})]})]})}}}]);
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.