(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9195],{23986:function(t,e,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return i(39977)}])},64641:function(t,e,i){"use strict";i.r(e);var n=i(35944),l=i(67294),o=i(70917),a=i(66455),r=i(52154);let c=(0,o.iv)("height:auto;overflow:hidden;margin:0 auto;z-index:0;");e.default=(0,l.memo)(function(t){let{id:e,name:i,sizes:o,externalCss:s,disable:d}=t;return(0,l.useEffect)(()=>{e&&i&&o&&!d&&(0,r.dE)(i,e,o)},[e,i,o,d]),(0,n.tZ)(a.Box,{children:d?null:(0,n.tZ)(a.Flex,{justifyContent:"center",id:e,css:[c,s]})})},()=>!0)},23789:function(t,e,i){"use strict";var n=i(35944),l=i(67294),o=i(66455),a=i(70917),r=i(34665),c=i(18108),s=i(33463),d=i(41664),u=i.n(d),p=i(26146);function h(t,e,i){t(i),e(i)}function g(t,e,i,l,o){return(0,n.tZ)(u(),{passHref:!0,shallow:!0,as:"".concat(t).concat(1!=i?(t.includes("?")?"&":"?")+"".concat(o===p.H.Blog?"page=":"p=")+"".concat(i):""),href:"".concat(e).concat(1!=i?(t.includes("?")?"&":"?")+"".concat(o===p.H.Blog?"page=":"p=")+"".concat(i):""),css:Z,title:"Sayfa ".concat(i),children:l},i)}let b=(0,a.iv)("width:28px;height:28px;text-align:center;cursor:pointer;margin:0 3px;"),x=(0,a.iv)("width:28px;height:28px;cursor:pointer;"),v=(0,a.iv)("padding:6px 10px 7px;text-align:center;font-size:12px;color:",r.wL.fontColor,";cursor:pointer;"),f=(0,a.iv)(v," font-weight:600;padding:6px 10px 7px;display:inline-block;border-radius:3.2px;border:solid 0.8px ",r.wL.fontColor,";"),m=(0,a.iv)("width:95px;height:28px;cursor:pointer;padding:6px 12px 7px 16px;border-radius:3.2px;&:hover{background-color:",r.wL.paleGrey,";}"),w=(0,a.iv)("transform:rotate(180deg);"),Z=(0,a.iv)("text-decoration:none;color:",r.wL.fontColor,";");e.Z=function(t){let[e,i]=l.useState(t.page||1);l.useEffect(()=>{i(t.page||1)},[t.totalCount]);let a=t.maxPageLimit||1;if(a<=1)return null;let d=t.hideText?(0,n.tZ)(n.HY,{}):(0,n.BX)(o.Flex,{alignItems:"center",mr:22,css:m,onClick:h.bind(void 0,i,t.onClick,1===e?e:e-1),children:[(0,n.tZ)(c.Z,{css:w,fill:r.wL.black}),(0,n.tZ)(s.Z,{fontSize:12,fontWeight:500,children:"\xd6nceki"})]}),u=t.hideText?(0,n.tZ)(n.HY,{}):(0,n.BX)(o.Flex,{alignItems:"center",ml:22,css:m,onClick:h.bind(void 0,i,t.onClick,e===a?e:e+1),children:[(0,n.tZ)(s.Z,{fontSize:12,fontWeight:500,children:"Sonraki"}),(0,n.tZ)(c.Z,{fill:r.wL.black})]});return(0,n.BX)(o.Flex,{children:[1!==e?t.baseAsUrl&&t.baseUrl&&t.catalogType?g(t.baseAsUrl,t.baseUrl,e-1,d,t.catalogType):d:null,function(t,e,i){let o=[],a=t.maxPageLimit||1,r=0;for(let c=e-1;c<=a;c++){let s=e===c;if(1==++r&&c===e-1&&c>=3){let e=(0,n.tZ)("div",{css:v,onClick:h.bind(void 0,i,t.onClick,1),children:1});o.push((0,n.BX)(l.Fragment,{children:[t.baseAsUrl&&t.baseUrl&&t.catalogType?g(t.baseAsUrl,t.baseUrl,1,e,t.catalogType):e,(0,n.tZ)("div",{css:v,children:"..."})]},"extra-".concat(c)))}if(0!==c){let e=(0,n.tZ)("div",{css:s?x:b,onClick:h.bind(void 0,i,t.onClick,c),children:(0,n.tZ)("div",{css:s?f:v,children:c})},c);o.push(t.baseAsUrl&&t.baseUrl&&t.catalogType?g(t.baseAsUrl,t.baseUrl,c,e,t.catalogType):e)}if(4===r){if(c!==a){let e=(0,n.tZ)("div",{css:v,onClick:h.bind(void 0,i,t.onClick,a),children:a});o.push((0,n.BX)(l.Fragment,{children:[(0,n.tZ)("div",{css:v,children:"..."}),t.baseAsUrl&&t.baseUrl&&t.catalogType?g(t.baseAsUrl,t.baseUrl,a,e,t.catalogType):e]},"extra-".concat(c)))}break}}return r=0,o}(t,e,i),e!==a?t.baseAsUrl&&t.baseUrl&&t.catalogType?g(t.baseAsUrl,t.baseUrl,e+1,u,t.catalogType):u:null]})}},44108:function(t,e,i){"use strict";var n=i(35944),l=i(67294),o=i(66455),a=i(18108),r=i(34665),c=i(70917),s=i(64416);let d=(0,c.F4)("from{opacity:0;}to{opacity:1;}"),u=(0,c.iv)("display:none;height:48px;width:48px;position:fixed;bottom:10px;right:16px;z-index:999;padding:12px;border-radius:100%;background-color:",r.wL.scrollTopBlue,";cursor:pointer;text-align:center;display:flex;align-items:center;&.show{animation:",d," 1s;display:block;}"),p=(0,c.iv)("color:",r.wL.white,";transform:rotate(-90deg);-webkit-transform:rotate(-90deg);");e.Z=(0,l.memo)(function(t){let{isShow:e,scrollYPosition:i}=t,[c,d]=l.useState(!1),h=i||250,g=(0,s.v)();return(0,l.useEffect)(()=>{g&&g>=h?d(!0):d(!1)},[g]),e&&c?(0,n.tZ)(o.Box,{css:[u],onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:c&&"show",children:(0,n.tZ)(a.Z,{fill:r.wL.white,size:24,css:p})}):(0,n.tZ)(n.HY,{})})},64416:function(t,e,i){"use strict";i.d(e,{v:function(){return l}});var n=i(67294);function l(){let[t,e]=(0,n.useState)(),i=(0,n.useCallback)(t=>{e(window.scrollY)},[]);return(0,n.useEffect)(()=>(window.addEventListener("scroll",i),()=>{window.removeEventListener("scroll",()=>i)}),[i]),t}},68032:function(t,e,i){"use strict";i.d(e,{R:function(){return a},m:function(){return r}});var n=i(67294),l=i(57404),o=i(65242);function a(t,e,i){let[l,o]=(0,n.useState)(!1),a=new IntersectionObserver(t=>{let[e]=t;return o(e.isIntersecting)},null!=e?e:{threshold:1});return(0,n.useEffect)(()=>(i||a.observe(null==t?void 0:t.current),()=>{a.disconnect()}),[i,a]),!i&&l}function r(){let[t,e]=(0,n.useState)(0),[i,a]=(0,n.useState)(0),r=(0,l.jU)()?window.pageYOffset:0,c=!1,s=()=>{let t=window.pageYOffset;if(0>Math.abs(t-r)){c=!1;return}a(t>r?2:1),r=t>0?t:0,c=!1},d=n.useCallback(()=>{let{top:t}=(0,o.d)();!c&&(0,l.jU)()&&(window.requestAnimationFrame(s),c=!0),e(t)},[t]);return(0,n.useEffect)(()=>(window.addEventListener("scroll",d),()=>document.removeEventListener("scroll",d)),[]),{topPx:t,scrollDir:i}}i(66337)},39977:function(t,e,i){"use strict";let n;i.r(e),i.d(e,{__N_SSP:function(){return tA},default:function(){return tE}});var l=i(35944),o=i(67294),a=i(41187),r=i(30427),c=i(66455),s=i(34665),d=i(43519),u=i(70917),p=i(22149),h=i(86549),g=i(97126),b=i(69767),x=i(1092),v=i(62209),f=i(33463),m=(0,o.memo)(function(t){let{navigationItems:e,activeTabIndex:i,handleTabClick:n}=t,a=(0,o.useCallback)((t,e)=>{(0,x.AB)((0,x.A0)(e)),n(t)},[]);return(0,l.tZ)(l.HY,{children:(0,l.tZ)(g.Z,{noWrap:!0,children:(0,l.tZ)(p.Z,{externalCss:[s.z1,w],children:(0,l.tZ)(c.Flex,{alignItems:"center",css:[s.z1,Z],children:null==e?void 0:e.data.map(t=>(0,l.tZ)(o.Fragment,{children:"tumu"===t.attributes.slug?"blog"===i?(0,l.tZ)(f.Z,{externalCss:[k(!0)],children:t.attributes.title}):(0,l.tZ)(h.Z,{children:t.attributes.title,href:"".concat(b.Ey,"/blog"),externalCss:[k(!1)],onClick:()=>{(0,x.AB)((0,v.eb)(t.attributes.title)),(0,x.AB)((0,x.A0)(t.attributes.title))},title:t.attributes.title}):t.attributes.slug===i?(0,l.tZ)(f.Z,{externalCss:[k(!0)],children:t.attributes.title}):(0,l.tZ)(h.Z,{children:t.attributes.title,href:t.attributes.link?t.attributes.link:"".concat(b.Ey,"/blog/").concat(t.attributes.slug),targetBlank:!!t.attributes.link,externalCss:[k(!1)],onClick:()=>{(0,x.AB)((0,v.eb)(t.attributes.title)),t.attributes.link||a(t.attributes.slug||"",t.attributes.title)},title:t.attributes.title})},t.id))})})})})});let w=(0,u.iv)("margin-bottom:20px;padding:0 0;background-color:",s.wL.white,";height:auto;box-shadow:0 2px 1px 0 rgba(0,0,0,0.1);"),Z=(0,u.iv)("overflow-x:unset;& a{font-size:15px;font-weight:500;letter-spacing:0.5px;text-decoration:none !important;}&:hover{text-decoration:none !important;}"),k=t=>(0,u.iv)("padding:17px 20px 15px 20px;text-align:center;font-size:15px;font-weight:500;letter-spacing:0.5px;color:",t?s.wL.blue3:s.wL.black,";cursor:pointer;text-decoration:none !important;border-bottom:2px solid ",t?s.wL.blue3:s.wL.white,";white-space:nowrap;&:hover{cursor:",t?"default":"pointer",";}",s._Q.tablet,"{padding:15px 17px 13px 16px;}");var C=i(10615),y=i(78707),B=i(31696);let A=(0,u.iv)("font-size:22px;font-weight:bold;line-height:1.36;color:#ffffff;position:absolute;margin:-70px 0 0 15px;z-index:2;text-shadow:0.2px 0.5px 0.2px #000000;"),E=(0,u.iv)("width:100%;",s._Q.tablet,"{height:298px;}@media (max-width:1441px){height:401px;}"),S=(0,u.iv)("content-visibility:auto;display:block;height:100%;@media (min-width:1441px){height:535px;}");var L=o.memo(function(t){let{item:e,index:i,onClick:n}=t,a=(0,o.useCallback)(()=>{n(i)},[i,n]);return(0,o.useCallback)(()=>e.slug?(0,l.BX)(l.HY,{children:[(0,l.tZ)(c.Box,{css:E,children:(0,l.tZ)(h.Z,{onClick:a,href:e.slug||"",externalCss:S,disableDecoration:!0,title:e.title,children:(0,l.tZ)(y.h,{src:(0,B.Ee)(e.imageUrl,8),layout:"fill",placeholder:"empty",priority:!1,alt:e.title})})}),(0,l.tZ)(c.Box,{css:A,children:e.title})]}):(0,l.BX)("div",{className:"advanced-slider-container",children:[(0,l.tZ)(c.Box,{css:E,children:(0,l.tZ)(y.h,{src:(0,B.Ee)(e.imageUrl,8),layout:"fill",placeholder:"empty",priority:!1,alt:e.title})}),(0,l.tZ)(c.Box,{css:A,children:e.title})]}),[])()},()=>!0),U=i(57404),_=i(68032),z=i(30337),T=i(18108);let H=(0,u.iv)("position:absolute;z-index:2;height:100%;padding:30px;cursor:pointer;"),I=(0,u.iv)("position:absolute;z-index:2;top:calc(50% - 48px);width:48px;height:48px;border-radius:100%;cursor:pointer;background-color:rgb(255,255,255,0.4);text-align:center;",s._Q.tablet,"{width:30px;height:30px;top:calc(50% - 30px);}"),X=(0,u.iv)("top:0;right:0;"),F=t=>(0,u.iv)("right:",null!=t?t:12,"px;"),j=t=>(0,u.iv)("left:",null!=t?t:12,"px;transform:rotate(180deg);");var P=o.memo(function(t){let{onClick:e,title:i,position:n,distance:o}=t,a="left"===n,r=a?j(o):F(o),d=(0,z.i)();return(0,l.tZ)(c.Box,{onClick:e,css:[H,!a&&X],children:(0,l.tZ)(c.Flex,{justifyContent:"center",alignItems:"center",type:"button",title:i,css:[I,r],children:(0,l.tZ)(T.Z,{fill:s.wL.black,size:d.width!0);let N=(0,u.iv)("position:relative;padding:0;& img{object-fit:cover;object-position:top center;}"),R=(0,u.iv)("background-color:",s.wL.veryLightPink2,";width:16px;height:16px;border-radius:100%;display:inline-block;margin:0 2px;",s._Q.tablet,"{width:9px;height:9px;}"),Y=(0,u.iv)("background-color:",s.wL.blue3,";");var D=(0,o.memo)(function(t){let{sliderItem:e,isVisibleArrow:i,isVisibleIndicator:n,isBlog:a}=t,[r,d]=(0,o.useState)(function(t){var e;let i={};return null==t||null===(e=t.banners)||void 0===e||e.forEach((t,e)=>{i[e]=!1}),i}(e)),u=(0,o.useRef)(null),p=(0,U.jU)()&&(0,_.R)(u);(0,o.useEffect)(()=>{if(p&&!r["0"]&&!a){(0,v.AB)((0,v.Bk)(e.banners[0],1,"view"));let t={...r};t["0"]=!0,d(t)}},[p,e,r]);let h=(0,o.useCallback)(t=>{if(p&&!r[t]&&!a){(0,v.AB)((0,v.Bk)(null==e?void 0:e.banners[t],t,"view"));let i={...r};i[t]=!0,d(i)}},[p,e,r]),g=(0,o.useCallback)(t=>{if(a){var i;(0,v.AB)((0,v.wQ)(null==e?void 0:null===(i=e.banners[t])||void 0===i?void 0:i.title))}else(0,v.AB)((0,v.Bk)(null==e?void 0:e.banners[t],t,"click"))},[p,e]),b=(0,o.useMemo)(()=>{var t;return null==e?void 0:null===(t=e.banners)||void 0===t?void 0:t.map((t,e)=>(0,l.tZ)("div",{className:"advance-slider-item-wrapper",children:(0,l.tZ)(L,{onClick:g,item:t,index:e})},e))},[e]),x=(0,o.useCallback)((t,i,o)=>{if(n||!((null==e?void 0:e.banners.length)<1))return i?(0,l.tZ)("li",{css:[R,Y]}):(0,l.tZ)("li",{css:[R,s.Rx],onClick:()=>{t(),m(o+1)},onKeyDown:()=>{t(),m(o+1)},value:o,role:"button",tabIndex:0},o)},[]),f=(0,o.useCallback)(t=>{a&&(0,v.AB)((0,v.yu)(t))},[]),m=(0,o.useCallback)(t=>{a&&(0,v.AB)((0,v.yu)(t))},[]),w=(0,o.useCallback)(t=>{var e,i;a&&(0,v.AB)((0,v.yu)(null==t?void 0:null===(i=t.target)||void 0===i?void 0:null===(e=i.firstElementChild)||void 0===e?void 0:e.getAttribute("alt")))},[]);return(0,l.tZ)("div",{className:"advanced-slider",children:(0,l.tZ)(c.Box,{ref:u,mb:30,children:(0,l.tZ)(C.lr,{swipeable:!0,emulateTouch:!0,showStatus:!1,interval:4e3,autoPlay:!1,onChange:h,infiniteLoop:!0,onSwipeStart:t=>w(t),renderArrowPrev:(t,e,n)=>i&&e&&(0,l.tZ)(P,{onClick:()=>{t(),f("left")},title:n,position:"left",distance:15}),renderArrowNext:(t,e,n)=>i&&e&&(0,l.tZ)(P,{onClick:()=>{t(),f("right")},title:n,position:"right",distance:15}),renderIndicator:x,showThumbs:!1,css:N,showIndicators:!1,children:b})})})},()=>!0),O=i(2685),Q=i(88515),W=i(20467),q=i(69694);let M=(0,u.iv)("& div:nth-last-child(-n + 2){margin-bottom:20px;}"),G=(0,u.iv)("padding:0;& .title{font-size:22px;font-weight:600;line-height:1.31;letter-spacing:0.5px;margin:15px 0;}& .author,.date{font-size:16px;font-weight:500;line-height:1.73;letter-spacing:0.5px;}& .date{color:",s.wL.brownGrey3,";margin-left:5px;}",s._Q.tablet,"{& .title{font-size:18px;}& .author,.date{font-size:13px;}}");var V=t=>{var e;let{blogCardData:i}=t;return(0,l.tZ)(l.HY,{children:(0,l.tZ)(c.Flex,{mx:-2,justifyContent:"space-between",flexWrap:"wrap",css:M,children:i&&(null==i?void 0:null===(e=i.data)||void 0===e?void 0:e.map((t,e)=>{var i,n,o,a,r,s,d,u;return(0,l.tZ)(c.Box,{width:.5,px:2,children:(0,l.tZ)(q.Z,{canonical:t.attributes.canonicalUrl,index:t.id,dataIndex:e,imageUrl:(0,B.Ee)(null==t?void 0:null===(r=t.attributes)||void 0===r?void 0:null===(a=r.media)||void 0===a?void 0:null===(o=a.data)||void 0===o?void 0:null===(n=o[0])||void 0===n?void 0:null===(i=n.attributes)||void 0===i?void 0:i.url,4)||O.t0,title:t.attributes.title,author:(null===(u=t.attributes.author)||void 0===u?void 0:null===(d=u.data)||void 0===d?void 0:null===(s=d.attributes)||void 0===s?void 0:s.name)||"",date:t.attributes.createdAt,dimension:1,externalCss:G,slug:t.attributes.slug})},t.id)}))})})},$=i(93065),J=i(31897),K=i(23789),tt=i(64641),te=i(8882),ti=i(4188),tn=i(56757),tl=i(65263),to=i(39144),ta=i(87360),tr=i.n(ta);let tc=(0,u.iv)('&[type="text"]{font-size:15px;font-weight:600;letter-spacing:normal;text-align:left;border:solid 0.7px ',s.wL.veryLightPink2,";padding:0 15px;}"),ts=(0,u.iv)("box-sizing:border-box;-webkit-box-align:center;align-items:center;display:flex;padding:5px 15px;cursor:pointer;white-space:normal;line-height:38px;height:38px;margin:5px 0;&:hover{background-color:",s.wL.veryLightPink3,";}"),td=(0,u.iv)("display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.5;letter-spacing:normal;color:",s.wL.black,";vertical-align:middle;overflow:hidden;"),tu=(0,u.iv)("max-height:300px;overflow-y:auto;width:100%;"),tp=(0,u.iv)("position:relative;"),th=(0,u.iv)("position:absolute;right:10px;"),tg=(0,u.iv)("top:61px;overflow-y:hidden;height:auto;box-shadow:0 9px 20px 1px rgba(0,0,0,0.5);",s._Q.tablet,"{top:51px;}");var tb=o.memo(t=>{let{externalInputCss:e,externalCss:i,onClickItem:a,onClickSearchInput:r,overlayCss:s,value:d,keepPlaceholder:u}=t,[p,g]=(0,o.useState)(d||""),[m,w]=(0,o.useState)(!1),[Z,k]=(0,o.useState)(!1),[C,B]=(0,o.useState)([]),A=o.useRef(null);(0,ti.H)(A,()=>k(!1));let E=(0,o.useRef)(void 0),S=(0,o.useCallback)(()=>{(null==E?void 0:E.current)&&E.current.abort();let t=new AbortController;E.current=t},[]),L=o.useCallback(t=>{clearTimeout(n),w(!0),n=setTimeout(()=>{(null==t?void 0:t.length)>2&&(S(),(0,te.D0)(t,!1,void 0,null==E?void 0:E.current).then(e=>{e.body&&(B(tr().go(t,e.body.data,{keys:["attributes.title","attributes.content","attributes.contentItems.title","attributes.contentItems.detail"],scoreFn:t=>{let e=t.map(t=>t.score||-1e3);return Math.max(e[0],e[1]?e[1]-100:-1e3)}}).map(t=>t.obj)),e.body.data.length&&(k(!0),(0,x.AB)((0,x.WR)(t))))}).finally(()=>{w(!1)}))},300)},[]),U=(0,o.useCallback)(t=>{let e=t.target.value||"";g(e),L(e),e.length||(B([]),w(!1))},[p]),_=(0,o.useCallback)(()=>{g(""),B([]),t.onClose&&t.onClose()},[]),z=(0,o.useCallback)(t=>{let e=(0,J.g_)($.$7),i=null==e?void 0:e.findIndex(e=>e.id===t.id);-1===i?null==e||e.unshift(t):(0,tn.Rp)(e,i,0),e&&Array.isArray(e)&&(null==e?void 0:e.length)>5&&(e=e.slice(0,6)).pop(),(0,J.d8)($.$7,JSON.stringify(e),7)},[]),T=(0,o.useCallback)((t,e)=>{k(!1),(0,x.AB)((0,v.jE)(p)),a&&a(t,e),g(e.attributes.title),z(e)},[p,a,z]),H=(0,o.useCallback)(()=>{(null==p?void 0:p.length)&&!Z?L(p):k(!0),r&&r()},[p,Z,r]),I=(0,o.useCallback)(()=>!p.length||m||(null==C?void 0:C.length)?(null==C?void 0:C.length)&&!m?C.map(t=>(0,l.tZ)(c.Box,{children:(0,l.tZ)(h.Z,{externalCss:ts,onClick:e=>T(e,t),targetBlank:!!t.attributes.canonicalUrl,href:t.attributes.canonicalUrl||"".concat(b.Ey,"/blog/").concat(t.attributes.slug),disableDecoration:!0,children:(0,l.tZ)(f.Z,{css:td,children:t.attributes.title})})},t.id)):null:(0,l.BX)(f.Z,{fontSize:14,p:18,children:[(0,l.BX)("b",{children:["'",p,"'"]})," i\xe7in sonu\xe7 bulunamadı."]}),[C,p,m,a]);return(0,l.BX)(c.Flex,{ref:A,alignItems:"center",css:[tp,i],children:[(0,l.tZ)(tl.Z,{placeholder:"Blog i\xe7inde ara...",onChange:U,onClick:H,value:p,inputCss:[tc,e],onClearSearchVal:_,keepPlaceholder:u}),""===p&&(0,l.tZ)(c.Box,{mt:"3px",css:th,children:(0,l.tZ)(y.h,{width:24,height:24,src:"".concat(b.kq,"search-blog.svg"),alt:"Ara"})}),(0,l.tZ)(to.Z,{show:Z,externalCss:[tg,s],children:(0,l.tZ)(c.Flex,{css:tu,flexDirection:"column",children:I()})})]})}),tx=i(26146),tv=i(11163),tf=i(44108);let tm=(0,u.iv)("display:flex;justify-content:flex-start;align-items:center;width:50%;margin:0;"),tw=(0,u.iv)("padding-top:0;"),tZ=(0,u.iv)("padding:0;margin:0;"),tk=(0,u.iv)("width:100%;",s._Q.tablet,"{width:50%;display:flex;justify-content:flex-end;}"),tC=(0,u.iv)("display:flex;justify-content:flex-end;",s._Q.tablet,"{padding-left:15px;}"),ty=(0,u.iv)("padding:15px 0px;");var tB=function(t){var e,i,n;let{pageSlug:a,breadCrumbData:r,navigationData:u,ssrActiveTabIndex:h,sliderItems:g,popularBlogItems:f,blogCardData:w,category:Z,maxPageLimit:k}=t,C=(0,tv.useRouter)(),y=null==Z?void 0:Z.name,B=(0,z.i)(),[A,E]=(0,o.useState)(h||"/"),S=B.width<=s.Op&&B.width>0,[L,T]=(0,o.useState)(!1),[H,I]=(0,o.useState)(0),X=(0,o.useRef)(null),F=!!(w&&(null==w?void 0:w.meta)&&(null==w?void 0:null===(e=w.meta)||void 0===e?void 0:e.pagination)&&(null==w?void 0:null===(n=w.meta)||void 0===n?void 0:null===(i=n.pagination)||void 0===i?void 0:i.total)>O.tE)&&(0,U.jU)()&&(0,_.R)(X),[j,P]=(0,o.useState)(!1);(0,o.useEffect)(()=>{F&&!j&&((0,x.AB)((0,x.Am)()),P(!0))},[F,j]);let N=(0,o.useCallback)(t=>{E(t)},[]),R=(0,o.useCallback)(()=>{(0,J.d8)($.SD,"false",365),T(!1)},[L]),Y=(0,o.useCallback)(t=>{let e=C.query.page?Number(C.query.page):1,i=e===t+1?"\xd6nceki":e===t-1?"Sonraki":t;(0,x.AB)((0,v.xd)(i,e)),(0,x.AB)((0,x.q)(t,tx.H.Blog)),I(t)},[H]);return(0,l.BX)(p.Z,{css:[tw],children:[(0,l.BX)(c.Box,{css:[s.z1],children:[(0,l.tZ)(c.Box,{mb:"15px",children:(0,l.tZ)(d.Z,{breadCrumbData:r})}),(0,l.tZ)(m,{navigationItems:u,handleTabClick:N,activeTabIndex:A}),g&&"blog"===h&&(0,l.tZ)(D,{sliderItem:{banners:g},isVisibleArrow:!0,isVisibleIndicator:!0,isBlog:!0}),(0,l.BX)(p.Z,{externalCss:tZ,children:[y&&!S&&(0,l.tZ)(c.Box,{mb:30,children:(0,l.tZ)("h1",{css:tm,children:y})}),(0,l.BX)(c.Flex,{mx:-2,flexDirection:S?"column-reverse":"",children:[(0,l.BX)(c.Box,{width:S?1:3/4,px:2,children:[(0,l.tZ)(V,{blogCardData:w}),(0,l.tZ)(c.Flex,{mt:30,mb:30,justifyContent:"center",ref:X,children:(0,l.tZ)(K.Z,{onClick:Y,baseAsUrl:"".concat(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"blog"!==t?"/blog/".concat(t):"/".concat(t,"/")}(a)),baseUrl:"".concat(b.Ey).concat(a),totalCount:(null==w?void 0:w.meta.pagination.total)||0,limit:(null==w?void 0:w.meta.pagination.pageSize)||O.tE,page:(null==w?void 0:w.meta.pagination.page)||1,catalogType:tx.H.Blog,maxPageLimit:k})})]}),(0,l.BX)(c.Box,{width:S?1:1/4,pl:S?0:2,pr:2,children:[(0,l.BX)(c.Box,{mb:30,css:tC,children:[A&&S&&(0,l.tZ)("h1",{css:tm,children:y}),(0,l.tZ)(tb,{externalCss:tk,onClickSearchInput:R})]}),!S&&(0,l.BX)(c.Box,{children:[(0,l.tZ)(Q.Z,{popularBlogItems:f}),(0,l.tZ)(c.Flex,{justifyContent:"center",mt:20,height:280,maxHeight:280,children:(0,l.tZ)(tt.default,{externalCss:ty,id:"div-gpt-ad-1669632270486-0"})})]})]})]}),S&&(0,l.BX)(c.Box,{children:[(0,l.tZ)(c.Flex,{justifyContent:"center",children:(0,l.tZ)(c.Box,{width:1,children:(0,l.tZ)(W.Z,{popularBlogItems:f})})}),(0,l.tZ)(c.Flex,{justifyContent:"center",mt:20,height:120,maxHeight:120,children:(0,l.tZ)(tt.default,{externalCss:ty,id:"div-gpt-ad-1669632270486-0"})})]})]})]}),(0,l.tZ)(tf.Z,{isShow:!0})]})},tA=!0,tE=t=>{let{category:e,breadCrumbSchema:i,meta:n,isGoogleBot:c,currentPage:s,maxPageLimit:d,...u}=t;return(0,o.useEffect)(()=>{(0,x.AB)((0,v.gx)())},[]),(0,l.BX)(l.HY,{children:[(0,l.tZ)(r.Z,{title:s&&s<2?"".concat(null==n?void 0:n.title):"".concat(null==n?void 0:n.title," - Sayfa ").concat(s),metaTitle:s&&s<2?"".concat(null==n?void 0:n.title):"".concat(null==n?void 0:n.title," - Sayfa ").concat(s),metaDescription:s&&s<2?"".concat((null==n?void 0:n.description)||(null==n?void 0:n.title)):"".concat((null==n?void 0:n.description)||(null==n?void 0:n.title)," - Sayfa ").concat(s),breadcrumb:i,analyticsInput:(0,x.$2)(void 0==e?"blog":"blog-category",s),isGoogleBot:c,isPaginationPage:!0,prevPageNumber:s&&s>1?Number(s)-1:0,nextPageNumber:(s||1)<(d||1)?(Number(s)||1)+1:0,isBlog:!0,trackingParameters:["page"],adLists:[{id:"div-gpt-ad-1711717474558-0",name:"nkal_w_serit_tepe_1400x50",sizes:[[1400,50]]},{id:"div-gpt-ad-1669632270486-0",name:"nkal_w_rehberlisting1",sizes:[[300,250]]}]}),(0,l.tZ)(a.Z,{children:(0,l.tZ)(tB,{category:e,maxPageLimit:d,...u})})]})}},65242:function(t,e,i){"use strict";function n(){window.scroll({top:0,left:0,behavior:void 0})}function l(){let t=0,e=0,i=0,n=0;if(document){let l=document;l.documentElement&&(e=(window.pageYOffset||l.documentElement.scrollTop)-(l.documentElement.clientTop||0),i=window.innerHeight||l.documentElement.clientHeight||l.body.clientHeight,t=Math.max(l.body.scrollHeight,l.documentElement.scrollHeight,l.body.offsetHeight,l.documentElement.offsetHeight,l.body.clientHeight,l.documentElement.clientHeight)),n=window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body.clientWidth}return{top:e,maxHeight:t,height:i,width:n}}i.d(e,{S:function(){return n},d:function(){return l}})}},function(t){t.O(0,[9476,615,7360,7285,3202,2888,9774,179],function(){return t(t.s=23986)}),_N_E=t.O()}]);