PageSourceSearch

https://static.fanatik.com.tr/scripts/fanatik/fanatik.app.min.js?v=87058

js fanatik.com.tr collected 2026-09-24 20:00:33 UTC 56,301 bytes, 1 lines download raw bytes

1(()=>{var e={2124(e,t,n){function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}e=n.nmd(e),function(t){var n=function(e,t,n){"use strict";var a,o;if(function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in o=e.lazySizesConfig||e.lazysizesConfig||{},n)t in o||(o[t]=n[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:o,noSupport:!0};var i=t.documentElement,r=e.HTMLPictureElement,c="addEventListener",l="getAttribute",s=e[c].bind(e),d=e.setTimeout,u=e.requestAnimationFrame||d,p=e.requestIdleCallback,m=/^picture$/i,f=["load","error","lazyincluded","_lazyloaded"],y={},g=Array.prototype.forEach,v=function(e,t){return y[t]||(y[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),y[t].test(e[l]("class")||"")&&y[t]},h=function(e,t){v(e,t)||e.setAttribute("class",(e[l]("class")||"").trim()+" "+t)},w=function(e,t){var n;(n=v(e,t))&&e.setAttribute("class",(e[l]("class")||"").replace(n," "))},b=function(e,t,n){var a=n?c:"removeEventListener";n&&b(e,t),f.forEach(function(n){e[a](n,t)})},_=function(e,n,o,i,r){var c=t.createEvent("Event");return o||(o={}),o.instance=a,c.initEvent(n,!i,!r),c.detail=o,e.dispatchEvent(c),c},S=function(t,n){var a;!r&&(a=e.picturefill||o.pf)?(n&&n.src&&!t[l]("srcset")&&t.setAttribute("srcset",n.src),a({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},L=function(e,t){return(getComputedStyle(e,null)||{})[t]},k=function(e,t,n){for(n=n||e.offsetWidth;n<o.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},A=(we=[],be=[],_e=we,Se=function(){var e=_e;for(_e=we.length?be:we,ve=!0,he=!1;e.length;)e.shift()();ve=!1},Le=function(e,n){ve&&!n?e.apply(this,arguments):(_e.push(e),he||(he=!0,(t.hidden?d:u)(Se)))},Le._lsFlush=Se,Le),E=function(e,t){return t?function(){A(e)}:function(){var t=this,n=arguments;A(function(){e.apply(t,n)})}},C=function(e){var t,a=0,i=o.throttleDelay,r=o.ricTimeout,c=function(){t=!1,a=n.now(),e()},l=p&&r>49?function(){p(c,{timeout:r}),r!==o.ricTimeout&&(r=o.ricTimeout)}:E(function(){d(c)},!0);return function(e){var o;(e=!0===e)&&(r=33),t||(t=!0,(o=i-(n.now()-a))<0&&(o=0),e||o<9?l():d(l,o))}},q=function(e){var t,a,o=99,i=function(){t=null,e()},r=function(){var e=n.now()-a;e<o?d(r,o-e):(p||i)(i)};return function(){a=n.now(),t||(t=d(r,o))}},x=(G=/^img$/i,$=/^iframe$/i,K="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),J=0,Z=0,Q=0,ee=-1,te=function(e){Q--,(!e||Q<0||!e.target)&&(Q=0)},ne=function(e){return null==X&&(X="hidden"==L(t.body,"visibility")),X||!("hidden"==L(e.parentNode,"visibility")&&"hidden"==L(e,"visibility"))},ae=function(e,n){var a,o=e,r=ne(e);for(V-=n,Y+=n,j-=n,U+=n;r&&(o=o.offsetParent)&&o!=t.body&&o!=i;)(r=(L(o,"opacity")||1)>0)&&"visible"!=L(o,"overflow")&&(a=o.getBoundingClientRect(),r=U>a.left&&j<a.right&&Y>a.top-1&&V<a.bottom+1);return r},oe=function(){var e,n,r,c,s,d,u,p,m,f,y,g,v=a.elements;if((H=o.loadMode)&&Q<8&&(e=v.length)){for(n=0,ee++;n<e;n++)if(v[n]&&!v[n]._lazyRace)if(!K||a.prematureUnveil&&a.prematureUnveil(v[n]))me(v[n]);else if((p=v[n][l]("data-expand"))&&(d=1*p)||(d=Z),f||(f=!o.expand||o.expand<1?i.clientHeight>500&&i.clientWidth>500?500:370:o.expand,a._defEx=f,y=f*o.expFactor,g=o.hFac,X=null,Z<y&&Q<1&&ee>2&&H>2&&!t.hidden?(Z=y,ee=0):Z=H>1&&ee>1&&Q<6?f:J),m!==d&&(R=innerWidth+d*g,F=innerHeight+d,u=-1*d,m=d),r=v[n].getBoundingClientRect(),(Y=r.bottom)>=u&&(V=r.top)<=F&&(U=r.right)>=u*g&&(j=r.left)<=R&&(Y||U||j||V)&&(o.loadHidden||ne(v[n]))&&(B&&Q<3&&!p&&(H<3||ee<4)||ae(v[n],d))){if(me(v[n]),s=!0,Q>9)break}else!s&&B&&!c&&Q<4&&ee<4&&H>2&&(W[0]||o.preloadAfterLoad)&&(W[0]||!p&&(Y||U||j||V||"auto"!=v[n][l](o.sizesAttr)))&&(c=W[0]||v[n]);c&&!s&&me(c)}},ie=C(oe),re=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(te(e),h(t,o.loadedClass),w(t,o.loadingClass),b(t,le),_(t,"lazyloaded"))},ce=E(re),le=function(e){ce({target:e.target})},se=function(e,t){try{e.contentWindow.location.replace(t)}catch(n){e.src=t}},de=function(e){var t,n=e[l](o.srcsetAttr);(t=o.customMedia[e[l]("data-media")||e[l]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n
1)},ue=function(e){return new Promise(function(t,n){var a=new Image;a.addEventListener("load",function(){return t(a)}),a.addEventListener("error",function(e){return n(e)}),a.src=e})},pe=E(function(e,t,n,a,i){var r,c,s,u,p,f;(p=_(e,"lazybeforeunveil",t)).defaultPrevented||(a&&(n?h(e,o.autosizesClass):e.setAttribute("sizes",a)),c=e[l](o.srcsetAttr),r=e[l](o.srcAttr),i&&(u=(s=e.parentNode)&&m.test(s.nodeName||"")),f=t.firesLoad||"src"in e&&(c||r||u),p={target:e},h(e,o.loadingClass),f&&(clearTimeout(D),D=d(te,2500),b(e,le,!0)),u&&g.call(s.getElementsByTagName("source"),de),c?e.setAttribute("srcset",c):r&&!u&&($.test(e.nodeName)?se(e,r):ue(r).then(function(t){e.src=r})["catch"](function(t){e.classList.add("unloaded-image")})),i&&(c||u)&&S(e,{src:r})),e._lazyRace&&delete e._lazyRace,w(e,o.lazyClass),A(function(){var t=e.complete&&e.naturalWidth>1;f&&!t||(t&&h(e,"ls-is-cached"),re(p),e._lazyCache=!0,d(function(){"_lazyCache"in e&&delete e._lazyCache},100)),"lazy"==e.loading&&Q--},!0)}),me=function(e){if(!e._lazyRace){var t,n=G.test(e.nodeName),a=n&&(e[l](o.sizesAttr)||e[l]("sizes")),i="auto"==a;(!i&&B||!n||!e[l]("src")&&!e.srcset||e.complete||v(e,o.errorClass)||!v(e,o.lazyClass))&&(t=_(e,"lazyunveilread").detail,i&&T.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,Q++,pe(e,t,i,a,n))}},fe=q(function(){o.loadMode=3,ie()}),ye=function(){3==o.loadMode&&(o.loadMode=2),fe()},ge=function(){B||(n.now()-O<999?d(ge,999):(B=!0,o.loadMode=3,ie(),s("scroll",ye,!0)))},{_:function(){O=n.now(),a.elements=t.getElementsByClassName(o.lazyClass),W=t.getElementsByClassName(o.lazyClass+" "+o.preloadClass),s("scroll",ie,!0),s("resize",ie,!0),s("pageshow",function(e){if(e.persisted){var n=t.querySelectorAll("."+o.loadingClass);n.length&&n.forEach&&u(function(){n.forEach(function(e){e.complete&&me(e)})})}}),e.MutationObserver?new MutationObserver(ie).observe(i,{childList:!0,subtree:!0,attributes:!0}):(i[c]("DOMNodeInserted",ie,!0),i[c]("DOMAttrModified",ie,!0),setInterval(ie,999)),s("hashchange",ie,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){t[c](e,ie,!0)}),/d$|^c/.test(t.readyState)?ge():(s("load",ge),t[c]("DOMContentLoaded",ie),d(ge,2e4)),a.elements.length?(oe(),A._lsFlush()):ie()},checkElems:ie,unveil:me,_aLSL:ye}),T=(M=E(function(e,t,n,a){var o,i,r;if(e._lazysizesWidth=a,a+="px",e.setAttribute("sizes",a),m.test(t.nodeName||""))for(i=0,r=(o=t.getElementsByTagName("source")).length;i<r;i++)o[i].setAttribute("sizes",a);n.detail.dataAttr||S(e,n.detail)}),P=function(e,t,n){var a,o=e.parentNode;o&&(n=k(e,o,n),(a=_(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=a.detail.width)&&n!==e._lazysizesWidth&&M(e,o,a,n))},N=q(function(){var e,t=z.length;if(t)for(e=0;e<t;e++)P(z[e])}),{_:function(){z=t.getElementsByClassName(o.autosizesClass),s("resize",N)},checkElems:N,updateElem:P}),I=function(){!I.i&&t.getElementsByClassName&&(I.i=!0,T._(),x._())};var z,M,P,N;var W,B,D,H,O,R,F,V,j,U,Y,X,G,$,K,J,Z,Q,ee,te,ne,ae,oe,ie,re,ce,le,se,de,ue,pe,me,fe,ye,ge;var ve,he,we,be,_e,Se,Le;return d(function(){o.init&&I()}),a={cfg:o,autoSizer:T,loader:x,init:I,uP:S,aC:h,rC:w,hC:v,fire:_,gW:k,rAF:A}}(t,t.document,Date);t.lazySizes=n,"object"==a(e)&&e.exports&&(e.exports=n)}("undefined"!=typeof window?window:{})}};const t={};function n(a){const o=t[a];if(o!==undefined)return o.exports;const i=t[a]={id:a,loaded:!1,exports:{}};return e[a](i,i.exports,n),i.loaded=!0,i.exports}n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";var e=undefined;function t(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,r=e},f:function(){try{c||null==n["return"]||n["return"]()}finally{if(l)throw r}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var o={isMobile:{Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return o.isMobile.Android()||o.isMobile.BlackBerry()||o.isMobile.iOS()||o.isMobile.Opera()||o.isMobile.Windows()},init:function(){o.isMobile.iOS()?document.querySelector("html").classList.add("ios"):o.isMobile.Android()?document.querySelector("html").classList.add("android"):o.isMobile.Windows()&&document.querySelector("html").classList.add("windows"),null===o.isMobile.any()?document.querySelector("html").classList.add("no-touch"):document.querySelector("html").classList.add("touch")}},share:{shareButtonsInit:function(){document.body.classList.contains("share-listener-attached")||(document.body.classList.add("share-listener-attached"),document.addEventListener("click",function(e){var t=e.target.closest("[data-share]");if(t){e.preventDefault();var n=document.querySelector("meta[property='og:title']").getAttribute("content")||t.parentNode.getAttribute("data-og-title"),a=t.parentNode.getAttribute("data-og-url"),i=a?a.split("#").pop():"";switch(t.getAttribute("data-share")){case"nextsosyal":o.share.nextsosyal(a,n,i);break;case"facebook":o.share.facebook(a);break;case"twitter":o.share.twitter(a,"tr","fanatikcomtr",n);break;case"google":o.share.google(a);break;case"linkedin":o.share.linkedin(a);break;case"whatsapp":o.share.whatsapp(n,a);break;case"line":o.share.line(n,a);break;case"mail":o.share.mail(a,n);break;case"print":o.share.print();break;case"embed":o.share.embedVideo(t);break;case"copy-link":o.share.copyLink(t)}}}))},appendDailymotionVideo:function(e){var t=this;console.log("appendDailymotionVideo");var n=e||this.articleContainerEl.getAttribute("data-article-id"),a=document.querySelector('.nd-article-container[data-article-id="'.concat(n,'"]')).querySelectorAll(".dailymotionVideo");a.length>0&&[].forEach.call(a,function(e){var n=document.querySelector(".dailymotionPlayer"),a=(e.getAttribute("data-autoplay"),n.getAttribute("data-playerid"));
1console.log("playerId",a),null!==a&&a!==undefined&&t.loadJS("https://geo.dailymotion.com/libs/player/".concat(a,".js"),function(){!function(e,t,n){console.log("playerPlayBack");var a=e.getAttribute("data-videoId"),o=e.getAttribute("data-ads-parameters"),i=e.id,r=e.getAttribute("data-playerid");e.getAttribute("data-playlist"),dailymotion.createPlayer(i,{video:a,referrerPolicy:"no-referrer-when-downgrade",player:r,params:{customConfig:{keyvalues:o,dynamiciu:"/9927946,22420904089/fanatik/sitegeneli",plcmt:"2",vpmute:"1"},mute:!0}}).then(function(e){e.on(dailymotion.events.PLAYER_VIEWABILITYCHANGE,function(t){var n=t.playerIsViewable,a=t.playerIsPlaying;n&&!a?(e.setVolume(0),e.play(),console.log("video is playing")):!n&&a&&(e.pause(),console.log("video paused"))}),e.on(dailymotion.events.PLAYER_START,function(e){var t,o;e.playerIsPlaying||n||(dataLayer.push({CM_Video_Watched:"1",Category:"vms",Action:"started",Label:"".concat((t=window["dlmPlayerLabel_".concat(a)],o="",o+="VEmbedUrl:".concat(t.embedUrl,"|"),o+="VUrl:".concat(t.vUrl,"|"),o+="VSlugTitle:".concat(t.slugifyVideoTitle,"|"),o+="VContentId:".concat(t.ItemId,"|"),o+="VMainCat:".concat(t.mainCategory,"|"),o+="VCat:".concat(t.category,"|"),o+="VTags:".concat(t.tags,"|"),o+="VIsSpotVideo:".concat(t.isSpotVideo,"|"),o+="VPlayType:".concat(t.playType,"|"),o+="PubName:".concat(t.pubName,"|"),o+="PubContentId:".concat(t.pubContentId,"|"),o+="PubCat:".concat(t.pubCategory,"|"),o+="PubCatlist:".concat(t.pubCatlist,"|"),o+="videosource:".concat(t.videoSource))),noninteraction:!0,event:"gaVideoEvent"}),n=!0)})})["catch"](function(e){return console.error(e)})}(n,0,false)})})},nextsosyal:function(e,t,n){return window.open("https://sosyal.teknofest.app/share?text="+encodeURIComponent(t)+"%0A"+encodeURIComponent(e+"#post-"+n)),!1},facebook:function(e){return window.open("https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(e)),"facebooksharedialog","toolbar=0,status=0,width=626,height=436"),!1},twitter:function(e,t,n,a){return window.open("https://twitter.com/intent/tweet?=original_referer="+encodeURIComponent(e)+"&related="+n+"&text="+encodeURIComponent(a)+"&url="+encodeURIComponent(e)+"&via="+n,"sharer","toolbar=0,status=0,width=626,height=436"),!1},linkedin:function(e){return window.open("https://www.linkedin.com/cws/share?url=".concat(e)),!1},whatsapp:function(e,t){document.querySelector("html").classList.contains("no-touch")?window.open("https://web.whatsapp.com/send?text=".concat(e," ").concat(t)):o.isMobile.Android&&window.innerWidth>600?window.open("https://wa.me/?text=".concat(e," ").concat(t)):window.open("https://api.whatsapp.com/send?text=".concat(e," ").concat(t))},mail:function(e,t){window.location.href="mailto:?subject=".concat(t,"&body=").concat(t," :   ").concat(e)},google:function(e){window.open("https://plus.google.com/share?url=".concat(encodeURIComponent(e)),"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600")},print:function(){window.print()},showHide:function(){var e=document.querySelector("[data-showhide]");e&&e.addEventListener("click",function(t){t.stopImmediatePropagation(),e.classList.toggle("hasShow")})},embedVideo:function(e){var t=null!==document.querySelector(".video-pop-content"),n=!0,a=e.getAttribute("data-embed-url");if(a){"undefined"!=typeof quarkPlayer&&"undefined"!=typeof quarkPlayer.player&&quarkPlayer.player.pause();var o=function(){var e,t,o,i=document.querySelector("#frameBody"),r=document.querySelector("#iWidth"),c=document.querySelector("#iHeight");i&&r&&c&&(i.value=(e=a,t=r.value,o=c.value,'<iframe src="'.concat(e,"&resizable=1&autostart=").concat(n,'" width="').concat(t,'px" height="').concat(o,'px" frameborder="0" scrolling="0" allow="autoplay; fullscreen" allowfullscreen></iframe>')))},i=function(){document.querySelectorAll(".video-overlay, .video-pop-module").forEach(function(e){return e.remove()}),t=!1};document.querySelector(".video-pop-content")?(document.querySelectorAll(".video-overlay, .video-pop-module").forEach(function(e){return e.style.display="block"}),o()):function(){if(!t){var e,r,c,l,s='\n            <div class="video-overlay" style="display: block;"></div>\n            <div class="video-pop-module" style="display: block;">\n                <div class="video-pop-wrapper">\n                    <div class="video-pop-close"><i class="icon fa fa-times"></i></div>\n                    <div class="video-pop-content pop-embed-content">\n                        <div class="video-pop-title">Sitene Ekle</div>\n                        <div class="row">\n                            <div class="col-lg-12">\n                                <div class="text">Aşağıdaki kodu kopyalayıp sitenize ekleyebilirsiniz</div>\n                                <div class="element"><textarea onclick="this.select()" id="frameBody" rows="4" class="iArea" readonly data-auto-start="true" data-embed-url="'.concat(a,'"></textarea></div>\n                            </div>\n                        </div>\n                        <div class="row">\n                            <div class="col-lg-12">\n                                <label class="checkbox checked" id="btnAutoStart">\n                                    <input type="checkbox" checked />
1\n                                    <span class="label">Video Otomatik Olarak Başlasın</span>\n                                </label>\n                            </div>\n                        </div>\n                        <div class="row">\n                            <div class="col-lg-12">\n                                <label class="checkbox checked" id="btnAutoSize">\n                                    <input type="checkbox" />\n                                    <span class="label">Otomatik Boyut</span>\n                                </label>\n                            </div>\n                        </div>\n                        <div class="row">\n                            <div class="col-lg-3">\n                                <div class="text">Genişlik:</div>\n                                <div class="element"><input type="text" class="iEmbed" id="iWidth" value="584" readonly /></div>\n                            </div>\n                            <div class="col-lg-3">\n                                <div class="text">Yükseklik:</div>\n                                <div class="element"><input type="text" class="iEmbed" id="iHeight" value="326" readonly /><i>X</i></div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        ');document.body.insertAdjacentHTML("beforeend",s),t=!0,document.querySelectorAll(".video-overlay, .video-pop-close").forEach(function(e){e.addEventListener("click",i)}),e=document.querySelector("#btnAutoStart input[type='checkbox']"),r=document.querySelector("#btnAutoSize input[type='checkbox']"),c=document.querySelector("#iWidth"),l=document.querySelector("#iHeight"),e.addEventListener("change",function(){n=this.checked,o(),this.closest("label").classList.toggle("checked",this.checked)}),r.addEventListener("change",function(){this.checked?(c.readOnly=!1,l.readOnly=!1,c.focus(),this.closest("label").classList.remove("checked")):(l.value=328,c.value=584,c.readOnly=!0,l.readOnly=!0,this.closest("label").classList.add("checked")),o()}),c.addEventListener("change",function(){var e=parseInt(this.value,10);if(e<480)return alert("Video genişliği en az 480px olabilir."),l.value=270,c.value=480,void c.focus();c.value=e,l.value=parseInt(.5625*e,10),o()}),l.addEventListener("change",function(){var e=parseInt(this.value,10);if(e<270)return alert("Video yüksekliği en az 270px olabilir."),l.value=270,c.value=480,void l.focus();l.value=e,c.value=parseInt(1.777777777777778*e,10),o()}),o()}}()}},copyLink:function(e){var t=e.getAttribute("data-copy-link"),n=e.querySelector("span");if(t&&n){var a=n.textContent,o=document.body.dataset.copiedText||"Link Kopyalandı",i=function(){n.textContent=o,setTimeout(function(){n.textContent=a;var t=e.closest(".share-dropdown");t&&t.removeAttribute("open")},1200)},r=function(){var e=document.createElement("input");document.body.appendChild(e),e.value=t,e.select();try{document.execCommand("copy")}catch(n){}document.body.removeChild(e),i()};navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(t).then(i,r):r()}},commentScroll:function(){document.addEventListener("click",function(e){var t=e.target.closest(".comment-cta");if(t){e.preventDefault();var n=t.getAttribute("data-scroll-target");if(n){var a=document.getElementById(n);if(a){var o=Date.now(),i=0,r=function(){var e=a.getBoundingClientRect().top-70;if(Math.abs(e)<=1)i++;else{i=0;var t=.12*e;Math.abs(t)<.5&&(t=e>0?.5:-.5),window.scrollTo({top:window.scrollY+t,left:0,behavior:"auto"})}var c=Date.now()-o;i>=15||c>8e3?history.pushState(null,"","#"+n):requestAnimationFrame(r)};requestAnimationFrame(r)}}}})},closeDropdownOnOutsideClick:function(){document.addEventListener("click",function(e){e.target.closest(".share-dropdown")||document.querySelectorAll(".share-dropdown[open]").forEach(function(e){return e.removeAttribute("open")})}),document.addEventListener("keydown",function(e){"Escape"!==e.key&&27!==e.keyCode||document.querySelectorAll(".share-dropdown[open]").forEach(function(e){return e.removeAttribute("open")})})},fontSizeChanger:function(){document.addEventListener("click",function(e){var t=e.target.closest("[data-fontsize]");if(t){var n=t.getAttribute("data-fontsize"),a="reset"===n?0:parseFloat(document.body.getAttribute("data-page-font-size"))||0;"up"===n&&3!==a?a++:"down"===n&&-3!==a&&a--,document.body.setAttribute("data-page-font-size",a.toString()),e.stopImmediatePropagation()}})}},showMoreLess:function(){var e=document.querySelectorAll("[data-show-more-less]");Array.prototype.forEach.call(e,function(e){e.addEventListener("click",function(t){var n=e.querySelector(".ico"),a=e.querySelector("span"),o=e.parentElement.parentElement.classList.contains("wiki")?e.parentElement.parentElement:e.previousElementSibling,i=a.textContent,r=e.getAttribute("data-action-content");o.classList.contains("show-less")?(o.classList.remove("show-less"),o.classList.add("show-more"),n.classList.remove("fa-angle-down"),n.classList.add("fa-angle-up")):(o.classList.remove("show-more"),o.classList.add("show-less"),n.classList.remove("fa-angle-up"),n.classList.add("fa-angle-down")),a.textContent=r,e.setAttribute("data-action-content",i)})})},getData:function(e,t,n){if(window.fetch!==undefined)window.fetch(e).then(function(e){if(200===e.status)return e.json();if(204===e.status)n();else if(404===e.status||500===e.status||504===e.status)return null}).then(function(e){t(e)});else{var a=new XMLHttpRequest;a.onreadystatechange=function(){a.readyState===XMLHttpRequest.DONE&&t(JSON.parse(a.responseText))},a.open("GET",e,!0),a.send(null)}},getQueryString:function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);
1return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},handleSwiperPagination:{init:function(){o.handleSwiperPagination.hover(),o.handleSwiperPagination.click()},hover:function(){var e=document.querySelectorAll(".swiper-pagination-bullet");Array.prototype.forEach.call(e,function(e){e.addEventListener("mouseover",function(e){var t=e.target.getAttribute("data-slider-index"),n=e.target.getAttribute("data-slider-name");n&&window[n].slideTo(t)})})},click:function(){var e=document.querySelectorAll(".swiper-pagination-bullet");Array.prototype.forEach.call(e,function(e){e.addEventListener("click",function(t){if(e.classList.contains("go-to-link")){t.preventDefault();var n=t.target.href;window.open(n,t.target.target)}})})}},paging:{append:function(e){var t=e.output,n=e.location,a=document.querySelector(n);a&&(a.innerHTML=t)},bindEventHandlers:function(e){var t=document.querySelector(".paging__btn--next"),n=document.querySelector(".paging__btn--back"),a=document.querySelectorAll(".paging__btn:not(.paging__btn--nav):not(.paging__btn--disabled)");t.addEventListener("click",function(){o.paging.handleNextClick(e)}),n.addEventListener("click",function(){o.paging.handlePrevClick(e)}),Array.prototype.forEach.call(a,function(t){t.addEventListener("click",function(t){o.paging.handleItemClick(t,e)})})},createButton:function(e){var t=e.direction,n=e.isActive,a=void 0===n||n,o=e.text,i=e.isCurrent,r=e.index,c="back"===t?"<i class='fas fa-chevron-left'></i>":"next"===t?"<i class='fas fa-chevron-right'></i>":o,l=[a?"":"paging__btn--disabled",i?"paging__btn--current":"","back"===t?"paging__btn--nav paging__btn--back":"next"===t?"paging__btn--nav paging__btn--next":""];return"<a href='javascript:;' data-page-index=\"".concat(r,'" class="paging__btn ').concat(l.join(" "),'" data-google-interstitial="false"> ').concat(c," </a>")},createPaging:function(e,t){var n=e.location,a=e.initialPage,i=e.totalPage,r=o.paging.createButton({direction:"back",isActive:1!==a}),c=o.paging.createButton({direction:"next",isActive:a!==i}),l=r;if(a>i)return!1;if(i>4){var s,d;switch(a){case i:s=i-3,d=i+1;break;case i-1:s=a-2,d=i+1;break;case i-2:s=a-1,d=i+1;break;case i-3:s=a,d=i+1;break;default:s=a,d=a+2}for(var u=s;u<d;u++)l+=o.paging.createButton({text:u,isCurrent:u===a,index:u});var p="",m="";a<i-3&&(p=o.paging.createButton({text:"...",isActive:!1,index:""})),l+=p,a<i-3&&(m=o.paging.createButton({text:i,isCurrent:i===a,index:i})),l+=m}else for(var f=0;f<i;f++)l+=o.paging.createButton({text:f+1,isCurrent:f+1===a,index:f+1});l+=c,o.paging.append({output:l,location:n}),t()},init:function(t,n){o.paging.createPaging(t,function(){if(o.paging.bindEventHandlers(t),e.appendDailymotionVideo(currentItem.modelContent.IId),n){var a=document.querySelector(t.wrapper),i=document.querySelector(".global-header");document.body.setAttribute("data-loading",!0),o.paging.getContent(t.url,t.target,function(){if("undefined"!=typeof Blazy)new Blazy({selector:".lazy"});setTimeout(function(){document.body.setAttribute("data-loading",!1)},1e3)}),a&&(window.scrollTo(0,a.getBoundingClientRect().top+window.pageYOffset-i.clientHeight),t.hasCombine&&setTimeout(function(){o.paging.initCombineWidget()},1400))}o.paging.handleUrlChange(t.initialPage)})},initCombineWidget:function(){o.smartAds.runSticker()},getContent:function(e,t,n){o.paging.getData(e,function(e){o.paging.append({output:e.Contents.RenderHtml,location:t},n())})},getData:function(e,t){if(window.fetch!==undefined)window.fetch(e).then(function(e){return e.json()}).then(function(e){t(e)});else{var n=new XMLHttpRequest;n.onreadystatechange=function(){n.readyState===XMLHttpRequest.DONE&&t(JSON.parse(n.responseText))},n.open("GET",e,!0),n.send(null)}},handleItemClick:function(e,t){var n=parseInt(e.target.getAttribute("data-page-index"));void 0!==n&&n!==t.initialPage&&n<=t.totalPage&&(t.initialPage=n,o.paging.init(t,!0))},handleNextClick:function(e){var t=e.initialPage;if(t===e.totalPage)return!1;t+=1,e.initialPage=t,o.paging.init(e,!0)},handlePrevClick:function(e){var t=e.initialPage;if(1===t)return!1;t-=1,e.initialPage=t,o.paging.init(e,!0)},handleUrlChange:function(e){var t="",n=window.location.hash,a=window.location.search;if(t=window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""),1!==e){var o="?page="+e;history.pushState(null,null,"".concat(t).concat(window.location.pathname).concat(o).concat(n))}else if(a.includes("google_preview")){var i=a;history.pushState(null,null,"".concat(t).concat(window.location.pathname).concat(i).c
1oncat(n))}else history.pushState(null,null,"".concat(t).concat(window.location.pathname).concat(n))}},mastheadOverlay:function(){var e=document.querySelector('input[name="pagetype"]'),n=e?e.value:"";if("newsDetail"===n||"galleryDetail"===n||"fanatikHome"===n){var a=document.querySelector('div[id*="header"]');if(a&&a.classList.contains("dfp")){var o,i;o=new Date;var r=!1;window.addEventListener("scroll",function(e){null==i&&(i=new Date);var n=(o.getTime()-i.getTime())/1e3,c=Math.abs(n),l=5e3-parseInt(c.toString().replace(".",""));l>0&&(document.documentElement.scrollTop>200&&!1===r&&(r=!0,setTimeout(function(){var e=new ResizeObserver(function(n){var a,o=t(n);try{var i=function(){var t=a.value,n=t.target;n.classList.add("mhDimm");var o=n.getBoundingClientRect().height;t.borderBoxSize&&t.borderBoxSize[0]&&(o=t.borderBoxSize[0].blockSize);var i=window.getComputedStyle(n),r=o+(parseFloat(i.marginTop)||0)+(parseFloat(i.marginBottom)||0);console.log("Hassas Hesaplanan Yükseklik:",r);var c=document.getElementById("mh-placeholder");c&&c.remove();var s=document.createElement("div");s.id="mh-placeholder",s.style.width="100%",s.style.height="".concat(r,"px"),n.insertAdjacentElement("afterend",s),setTimeout(function(){n.classList.remove("mhDimm"),s.remove()},l),e.unobserve(n)};for(o.s();!(a=o.n()).done;)i()}catch(r){o.e(r)}finally{o.f()}});e.observe(a)},100)))})}}},smartAds:{appendSticker:function(){var e=document.querySelectorAll("[data-smartads]");if(e&&e.length>0){var t=document.createElement("div");t.setAttribute("class","smart-ads__sticker"),t.setAttribute("data-smartads-sticker",""),t.innerHTML='<div class="smart-ads__sticker-inner">\n        <div class="smart-ads__sticker__text-1"><span data-sticker="oldPrice"></span></div>\n        <div class="smart-ads__sticker__text-2"><span data-sticker="price"></span></div>\n        <div class="smart-ads__sticker__text-3"><span data-sticker="product"></span></div>\n    </div>',document.body.appendChild(t)}},runSticker:function(){var e=document.querySelectorAll("[data-smartads]");function t(e){var t=event.pageX-e.clientWidth/2,n=event.pageY+20;e.style.left=t+"px",e.style.top=n+"px"}e&&e.length>0&&Array.prototype.forEach.call(e,function(e){var n=e.getAttribute("data-oldprice"),a=document.querySelector("[data-sticker='oldPrice']"),i=e.getAttribute("data-price"),r=document.querySelector("[data-sticker='price']"),c=e.getAttribute("data-product"),l=document.querySelector("[data-sticker='product']"),s=document.querySelector("[data-smartads-sticker]");if(""===n&&""===i&&""===c)return!1;e.addEventListener("mouseover",function(){null===o.isMobile.any()&&(""!==n?a.innerHTML=n+"<i>TL</i>":document.querySelector(".smart-ads__sticker__text-1 span").innerHTML="",""!==i?r.innerHTML=i+"<i>TL</i>":document.querySelector(".smart-ads__sticker__text-2 span").innerHTML="",""!==c?l.innerHTML=c:document.querySelector(".smart-ads__sticker__text-3 span").innerHTML="",s.classList.add("smart-ads__sticker--active"),t(s))}),e.addEventListener("mousemove",function(e){t(s)}),e.addEventListener("mouseout",function(){s.classList.remove("smart-ads__sticker--active")})})},init:function(){o.smartAds.appendSticker(),o.smartAds.runSticker()}},pushGemius:function(){if("undefined"!=typeof pp_gemius_hit){var e="undefined"!=typeof pp_identifier?pp_identifier:"bDFKuBxEq8D0gFQUkChGRsV2HZEZc0cMtpZs0M9DkX3.W7";pp_gemius_hit(e)}},tabTitleChange:function(){var e;window.origTitle=document.title,document.addEventListener("visibilitychange",function(t){"visible"===t.target.visibilityState?(clearInterval(e),document.title=window.origTitle):"hidden"===t.target.visibilityState&&(e=setInterval(function(){"Fanatik Dijital'le #HayatıKaçırma"===document.title?document.title=window.origTitle:document.title="Fanatik Dijital'le #HayatıKaçırma"},2e3))})},setLinkTargetsForMobileIframe:function(){(null!==o.isMobile.any()||window.location.href.indexOf("://m.")>0)&&window.location.href.indexOf("iframe")>0&&document.querySelectorAll("a").forEach(function(e){e.setAttribute("target","_blank")})},setsizesOfLeftAndRightAds:function(){var e=window.innerWidth>=1200&&window.innerWidth<=1600;if(window.location.href.indexOf("iframe")>0&&e){var t=document.getElementById("medyanet/9927946,22420904089/fanatik/anasayfa/pageskin_sol_120x600"),n=document.getElementById("medyanet/9927946,22420904089/fanatik/anasayfa/sag_120x600");t&&(t.setAttribute("data-size","[[120, 600], [160, 600]]"),t.setAttribute("data-size-mapping","[1560, 100]:[[160, 600], [120, 600]]|[1340, 100]:[[160, 600], [120, 600]]|[1260, 100]:[[120, 600]]|[0, 0]:[]"),window.innerWidth<=1320&&(t.setAttribute("data-size","[[120, 600]]"),t.setAttribute("data-size-mapping","[1560, 100]:[[120, 600]]|[1340, 100]:[[120, 600]]|[1260, 100]:[[120, 600]]|[0, 0]:[]"))),n&&(n.setAttribute("data-size","[[120, 600], [160, 600]]"),n.setAttribute("data-size-mapping","[1560, 100]:[[160, 600], [120, 600]]|[1340, 100]:[[160, 600], [120, 600]]|[1260, 100]:[[120, 600]]|[0, 0]:[]"),window.innerWidth<=1320&&(n.setAttribute("data-size","[[120, 600]]"),n.setAttribute("data-size-mapping","[1560, 100]:[[120, 600]]|[1340, 100]:[[120, 600]]|[1260, 100]:[[120, 600]]|[0, 0]:[]")))}},postHeight:function(){setInterval(function(){var e=document.querySelector("html").getBoundingClientRect().height;parent.postMessage({home_height:e},"https://www.fanatik.com.tr/")},2e3)},pushServiceProvider:function(e){window.dataLayer&&(window.dataLayer[0].fserviceprovider=e.Operator?e.Operator:e.operator)},helpers:{closest:function(e,t){for(Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1});e&&e!==document;e=e.parentNode)if(e.matches(t))return e;return null},startsWithInit:function(){String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(e,t){return this.substr(!t||t<0?0:+t,e.length)===e}})}},setSelectedCategory:function(){var e=window.location.href,t=document.querySelector(".search__select.category"),n=new URL(e).searchParams.get("category");null==n||(t.value=n)}};String.prototype.turkishToLower=function(){var e=this,t={"İ":"i",I:"ı","Ş":"ş","Ğ":"ğ","Ü":"ü","Ö":"ö","Ç":"ç","ı":"i","ğ":"g","ş":"s","ü":"u","ç":"c","ö":"o"};return(e=e.replace(/(([İIŞĞÜÇÖığşüçö]))/g,function(e){return t[e]})).toLowerCase()};var i={initTrafficData:function(e){var t=parseInt(e,10);t=null===t||6!==t?34:6,localStorage.setItem("cityPlate",t);var n="/api/traffic/gettraffic/"+t;o.getData(n,function(e){if(e){var t=document.querySelector("[data-traffic-value='text']"),n=document.querySelector("[data-traffic-value='percentage']"),a=document.querySelector("[data-traffic-value='cityName']"),o=document.querySelector(".traffic-percentage"),i="traffic__",r=parseInt(e.Degree,10);r>0&&r<4?i+="green":4===r?i+="yellow":r>4&&r<7?i+="orange":r>6&&(i+="red"),t.innerText=e.Text,n.innerText="%".concat(e.Percentiles),a.innerText=e.CityName.toLocaleUpperCase("tr"),o.classList.add(i)}})},tabInit:function(){var e=document.querySelectorAll("[js-role='tabTrigger']");e&&Array.prototype.forEach.call(e,function(e,t){e.addEventListener("click",function(n){if("active"!==e.dataset.status){var a=e.getAttribute("js-tab-group"),o=document.querySelectorAll("[js-role='tabTrigger'][js-tab-group=".concat(a,"]")),i=document.querySelectorAll("[js-role='tabContent'][js-tab-group=".concat(a,"]"));if(Array.prototype.forEach.call(o,function(e,n){e.setAttribute("data-status",""),n===t&&e.setAttribute("data-status","active")}),Array.prototype.forEach.call(i,function(e,n){e.setAttribute("data-status",""),n===t&&e.setAttribute("data-status","active")}),"undefined"!=typeof Blazy)new Blazy({selector:".lazy",offset:300})}})})},localNewsWidget:{init:function(){if(document.querySelectorAll(".localnews-widget").length>0){var e=document.querySelectorAll(".localnews-widget__select__header");i.localNewsWidget.selectbox.toggle(e),i.localNewsWidget.selectbox.change(e);var t=document.querySelector(".btn-container"),n=t.querySelector(".btn-all-city"),a=document.querySelector(".localnews-filter");a.querySelector(".all-city-list").offsetHeight>=310&&(t.style.display="block",a.classList.add("collapsed"),n.addEventListener("click",function(){a.classList.contains("collapsed")?n.innerHTML="Gizle":n.innerHTML="Tamamını Gör",a.classList.toggle("collapsed")}))}},selectbox:{toggle:function(e){var t;Array.prototype.forEach.call(e,function(e,n){e.addEventListener("click",function(n){t=e.querySelector("[data-arrow-direction]"),"opened"===e.parentNode.dataset.status?e.parentNode.dataset.status="closed":e.parentNode.dataset.status="opened","down"===t.dataset.arrowDirection?t.dataset.arrowDirection="up":t.dataset.arrowDirection="down"})})},change:function(e){var t,n;Array.prototype.forEach.call(e,function(e,a){t=e.parentNode.querySelectorAll(".localnews-widget__select__item"),e=e.querySelector(".localnews-widget__select__title"),Array.prototype.forEach.call(t,function(t,a){n=t.parentNode.parentNode,t.addEventListener("click",function(a){n.dataset.status="closed",n.querySelector('[data-status="active"]').removeAttribute("data-status"),t.dataset.status="active",e.innerText=t.innerText})})})}}},economyWidget:{changeTab:function(){var e,t=document.querySelectorAll(".economy-widget");t&&Array.prototype.forEach.call(t,function(t){var n=t.querySelectorAll(".economy-widget__title");Array.prototype.forEach.call(n,function(n){n.addEventListener("click",function(){"false"===n.parentNode.dataset.selected&&(t.querySelector(".economy-widget__item[data-selected='true']").dataset.selected=!1,n.parentNode.dataset.selected=!0,"kripto"===n.dataset.currencyGetName?e=setInterval(function(){o.getData("/api/currency/gettickers",function(e){i.economyWidget.cryptoTemplate(e,n)})},3e4):clearInterval(e))})})})},getCryptoData:function(){var e=document.querySelectorAll("[data-currency-get-name='kripto']");e&&Array.prototype.forEach.call(e,function(e){e.addEventListener("click",function(){o.getData("/api/currency/gettickers",function(t){i.economyWidget.cryptoTemplate(t,e)})})})},cryptoTemplate:function(e,t){var n="";n+='\n      <ul class="economy-widget__row-list">\n      ',Array.prototype.forEach.call(e,function(e){n+='\n              <li class="economy-widget__row-item economy-widget__row-item--'.concat(e.StatusIconName,'">
1\n                  <span class="economy-widget__row-info">').concat(e.Symbol,'</span>\n                  <div class="economy-widget__row-content">\n                      <span class="economy-widget__row-percentage">').concat((100*e.DailyChangePercent).toFixed(1),'%</span>\n                      <span class="economy-widget__row-status">').concat(e.Bid,"</span>\n                  </div>\n              </li>\n          ")}),n+="\n          </ul>\n      ",t.parentNode.querySelector(".economy-widget__content").innerHTML=n}},getLocalCitiesForCityPick:function(){if(document.querySelector(".localnews-city")){var e=document.querySelector(".local-cities-popup__list"),t="";o.getData("/api/weather/getcities",function(n){n.map(function(e){t+='<li data-city-url="'.concat(e.LocalNewsUrlCityName,'" data-city-plate="').concat(e.CityId,'" data-city-id="').concat(e.XmlId,'" data-local-city-name="').concat(e.LowerCityName,'" class="local-cities-popup__city">').concat(e.CityName,"</li>")}),e.innerHTML=t})}},getLocalCitiesForCityWeatherPick:function(){if(document.querySelector(".localnews-weather")){var e=document.querySelector(".local-cities-weather-popup__list"),t="";o.getData("/api/weather/getcities",function(n){n.map(function(e){t+='<li data-city-plate="'.concat(e.CityId,'" data-city-id="').concat(e.XmlId,'" data-weather-city-name="').concat(e.LowerCityName,'" class="local-cities-weather-popup__city">').concat(e.CityName,"</li>")}),e.innerHTML=t})}},getLocalCitiesForCityPrayerPick:function(){if(document.querySelector(".localnews-prayertime")){var e=document.querySelector(".local-cities-prayertime-popup__list"),t="";o.getData("/api/weather/getcities",function(n){n.map(function(e){t+='<li data-city-plate="'.concat(e.CityId,'" data-city-id="').concat(e.XmlId,'" data-prayer-city-name="').concat(e.LowerCityName,'" class="local-cities-prayertime-popup__city">').concat(e.CityName,"</li>")}),e.innerHTML=t})}},getWeatherInfoByCity:function(e){if(document.querySelector(".localnews-weather")){var t,n=document.querySelector(".localnews-weather__content"),a=document.querySelector(".localnews-weather__list"),i="",r="",c="",l="";o.getData("/api/weather/getweatherforlocalnews/"+e,function(e){i='  <img class="localnews-weather__icon" src="'.concat((t=e)[0].Icon,'" />           \n                         <div class="localnews-weather__degree">\n                             <span class="localnews-weather__desc">').concat(t[0].Condition,'</span>\n                             <span class="localnews-weather__value">').concat(t[0].Temperature,"°</span>\n                         </div>");for(var o=0;o<t.length;o++)c=0==o?"Bugün":t[o].Day,r+='<li class="localnews-weather__item">\n                                    <span class="localnews-weather__date">'.concat(c,'</span>\n                                    <img class="localnews-weather__icon" src="').concat(t[o].Icon,'" />\n                                    <span class="localnews-weather__value">').concat(t[o].Temperature,"°</span>\n                                    </li>");n.innerHTML=i,a.innerHTML=r;var s=t[0].City;switch(s){case"İzmit":l="Kocaeli";break;case"Adapazarı":l="Sakarya";break;case"Antakya":l="Hatay";break;case"İçel":l="Mersin";break;default:l=s}document.getElementById("divWeatherSelectedCity").innerText=l})}},getPrayerTimes:function(e,t){if(document.querySelector(".localnews-prayertime__selector")){var n,a=document.querySelector(".localnews-prayertime__list"),i="";o.getData("/api/prayer/getprayertime/"+e,function(e){var o=[(n=e).Sobriety,n.Sunrise,n.Noon,n.Afternoon,n.Evening,n.Night],r=n.ActiveTime;document.getElementById("divPrayerTimeSelectedCity").innerHTML=n.CityName,document.getElementById("prayerTimesTitle").innerHTML='<a href="/'.concat(n.CityIxName,'-namaz-vakitleri/">').concat(n.CityName," Namaz Vakitleri</a>"),"true"==t&&(null!=document.getElementById("cityWidgetSelected")&&("/yerel-haberler/"==window.location.pathname?document.getElementById("cityWidgetSelected").innerHTML="Şehir Seçiniz":document.getElementById("cityWidgetSelected").innerHTML=n.CityName),null!=document.getElementById("districtName")&&(document.getElementById("districtName").innerHTML=n.CityName.toLocaleUpperCase("tr")+" İLÇELER")),i=["İmsak","Güneş","Öğle","İkindi","Akşam","Yatsı"].map(function(e,t){return'<li class="localnews-
1prayertime__item '.concat(r==o[t]?"ActivePrayerTimeRed":"",'"><span class="prayertime">').concat(e,'</span><span class="seperator">:</span><span class="time">').concat(o[t],"</span></li>")}).join(""),a.innerHTML=i,a.forEach})}},initLocalNewsCityWidgetSearch:function(e){var t=document.querySelectorAll(".local-cities-popup__city"),n=[];Array.prototype.forEach.call(t,function(e){n.push(e.getAttribute("data-local-city-name")),e.style.display="none"}),o.helpers.startsWithInit(),n.filter(function(t){return t.startsWith(e.toLocaleLowerCase("tr"))}).map(function(e){document.querySelector("[data-local-city-name=".concat(e,"]")).style.display="block"})},initLocalNewsWeatherWidgetSearch:function(e){var t=document.querySelectorAll(".local-cities-weather-popup__city"),n=[];Array.prototype.forEach.call(t,function(e){n.push(e.getAttribute("data-weather-city-name")),e.style.display="none"}),o.helpers.startsWithInit(),n.filter(function(t){return t.startsWith(e.toLocaleLowerCase("tr"))}).map(function(e){document.querySelector("[data-weather-city-name=".concat(e,"]")).style.display="block"})},initLocalNewsPrayerWidgetSearch:function(e){var t=document.querySelectorAll(".local-cities-prayertime-popup__city"),n=[];Array.prototype.forEach.call(t,function(e){n.push(e.getAttribute("data-prayer-city-name")),e.style.display="none"}),o.helpers.startsWithInit(),n.filter(function(t){return t.startsWith(e.toLocaleLowerCase("tr"))}).map(function(e){document.querySelector("[data-prayer-city-name=".concat(e,"]")).style.display="block"})},updateMedyanetTargeting:function(){var e="localhost"===location.hostname?location.protocol+"//"+location.hostname+":"+location.port:location.protocol+"//"+location.hostname,t=document.referrer===e+"/",n=e+"/"===window.location.href;t&&n&&(window.Medyanet_Display_Settings.Targeting[1][1]="pagetype_other,refresh")},checkIfHomeRefreshed:function(){var e=window.location.href===sessionStorage.getItem("loc");("localhost"===location.hostname?location.protocol+"//"+location.hostname+":"+location.port:location.protocol+"//"+location.hostname)+"/"===window.location.href&&e&&(window.Medyanet_Display_Settings.Targeting[1][1]="pagetype_other,refresh"),sessionStorage.setItem("loc",window.location.href)},iframeCheck:function(){window.location.href.indexOf("iframe")>0&&(window.Medyanet_Display_Settings.Targeting[1][1]="pagetype_other,inf_anasayfa")},leaguesComponent:function(e){var t=e.querySelectorAll("[data-tab]");e.querySelector(".accordion")&&i.accordion(e.querySelector(".accordion"));for(var n=function(){for(var t=e.querySelectorAll("[data-tab]"),n=0;n<t.length;n++){t[n].classList.remove("active");var a=t[n].getAttribute("data-tab");e.querySelector("#"+a).classList.remove("active")}},a=0;a<t.length;a++)t[a].addEventListener("click",function(t){n(),t.target.classList.add("active");var a=t.currentTarget.getAttribute("data-tab");e.querySelector("#"+a).classList.add("active")},!1)},accordion:function(e){var t=e,n=(t.querySelectorAll(".accordion__title"),function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},n="string"==typeof e?document.querySelector(e):e;if(n){var a=t.maxDuration,o=void 0===a?1e3:a,i=t.verticalOffset,r=void 0===i?0:i,c=n.getBoundingClientRect().top+window.pageYOffset+r,l=window.pageYOffset,s=c-l,d=null;requestAnimationFrame(function e(t){null===d&&(d=t);var n=t-d,a=Math.min(n/o,1),i=a<.5?2*a*a:(4-2*a)*a-1;window.scrollTo(0,l+s*i),n<o&&requestAnimationFrame(e)})}});!function(){var e=t.querySelectorAll(".accordion__title");e.forEach(function(t,a){t.addEventListener("click",function(){t.classList.contains("active")?t.classList.remove("active"):(e.forEach(function(e){e.classList.remove("active")}),t.classList.add("active")),setTimeout(function(){t.classList.contains("active")&&n(t,{maxDuration:1e3,verticalOffset:-100})},1e3)})})}()},teamFilter:function(e){if(!e)return!1;var t=e.querySelector(".show-more__items"),n=e.querySelector(".show-more__dropdown__items"),a=Array.from(t.children).filter(function(e){return e.classList.contains("show-more__item")}).reduce(function(e,t){return e.set(t,0),e},new Map),o=(e.querySelector(".show-more__dropdown"),function(){a.forEach(function(e,t){a.set(t,function(e){var t=getComputedStyle(e),n=t.marginLeft,a=t.marginRight;return e.clientWidth+parseInt(n)+parseInt(a)}(t))})}),i=function(e){if(null!=e)for(;e.firstChild;)e.removeChild(e.firstChild)},r=function(){i(t),i(n);var o,r,c,l=(o=getComputedStyle(t),r=o.paddingLeft,c=o.paddingRight,t.clientWidth-parseInt(r)-parseInt(c)),s=document.createDocumentFragment(),d=document.createDocumentFragment();a.forEach(function(e,t){l-e>0?(s.appendChild(t),l-=e):d.appendChild(t)}),t.appendChild(s),n.appendChild(d),n.children.length?e.querySelector(".show-more__dropdown").classList.remove("empty"):e.querySelector(".show-more__dropdown").classList.add("empty")};o(),r(),window.addEventListener("resize",function(e){o(),r()},!0)},getLeagues:function(e){null!=e.querySelector("#drpCountries")&&e.querySelector("#drpCountries").addEventListener("change",function(e){var t=e.target.value,a=e.target.getAttribute("data-sportType");t&&n(t,a)});var t=function(e){var t=e.target.options[e.target.selectedIndex].getAttribute("data-url"),n=e.target.getAttribute("data-widgettype"),a=n?"-".concat(n):"";t&&(window.location.href=t+a)},n=function(n,a){fetch("/api/livescore/"+"getleaguebycountry/".concat(a,"/").concat(n)).then(function(e){return e.json()}).then(function(n){var a;document.querySelector("#unique__tournament__picker").innerHTML="<option selected value=''>Seçiniz</option>";for(var o=0;o<n.length;o++)(a=document.createElement("option")).text=n[o].TournamentName,a.value=n[o].Slug,a.setAttribute("data-url","/"
1+n[o].Slug),document.querySelector("#unique__tournament__picker").add(a);e.querySelector("#unique__tournament__picker").addEventListener("change",t)})["catch"](console.error)};e.querySelector("#unique__tournament__picker").addEventListener("change",t)},updateSpecificSelect:function(){var e=document.querySelectorAll(".fixture-by-weeks select");console.log("testLig"),e.forEach(function(e){if(e&&e.selectedOptions.length>0){var t=e.selectedOptions[0];if(t&&"sr:cup:157967"===t.value){e.value="sr:league:80247";var n=new CustomEvent("change",{bubbles:!0,cancelable:!0});e.dispatchEvent(n)}}else console.error("The select element was not found or has no selected options.")})}};document.addEventListener("DOMContentLoaded",function(){if(i.tabInit(),document.querySelector(".traffic-info")){var e=null!==localStorage.getItem("cityPlate")?localStorage.getItem("cityPlate"):34;i.initTrafficData(e)}document.querySelector(".tournament__selector")&&i.getLeagues(document.querySelector(".tournament__selector")),document.querySelector(".teams-list__dropdowns")&&i.getLeagues(document.querySelector(".teams-list__dropdowns"))}),window.addEventListener("load",function(){i.updateSpecificSelect(),i.localNewsWidget.init(),i.economyWidget.changeTab(),i.economyWidget.getCryptoData(),document.querySelector(".leagues")&&i.leaguesComponent(document.querySelector(".leagues")),i.teamFilter(document.querySelector(".team-filter"))}),document.addEventListener("DOMContentLoaded",function(){null!==document.getElementById("hdnCityWidgetTarget")&&function(){var e=document.getElementById("hdnCityWidgetTarget").value,t=document.querySelector(".localnews-city"),n=document.querySelector(".local-cities-popup__list-item.active"),a=document.querySelector(".local-cities-popup__list");if(n&&(n.parentElement.parentElement.scrollLeft=n.getBoundingClientRect().left),t){var o=document.querySelector(".localnews__selector"),r=o.querySelector(".localnews__arrow"),c=document.querySelector(".local-cities-popup__input");localStorage.setItem("cityId","11508"),o.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),i.getLocalCitiesForCityPick(),"down"===r.getAttribute("data-arrow-direction")?r.setAttribute("data-arrow-direction","up"):r.setAttribute("data-arrow-direction","down"),c.value="",c.focus()}),c.addEventListener("keyup",function(e){i.initLocalNewsCityWidgetSearch(e.target.value)}),document.querySelector(".local-cities-popup").addEventListener("click",function(e){e.preventDefault(),e.stopPropagation()}),document.addEventListener("click",function(){var e=document.querySelector("[data-toggle-src='local-cities-popup']");e&&e.setAttribute("data-visible","false"),r.setAttribute("data-arrow-direction","down")}),a.addEventListener("click",function(t){var n=event.target||event.srcElement,a=document.querySelector("[data-toggle-src='local-cities-popup']");a&&(a.setAttribute("data-visible","false"),r.setAttribute("data-arrow-direction","down"));var o="localhost"===location.hostname?location.protocol+"//"+location.hostname+":"+location.port:location.protocol+"//"+location.hostname;window.open(o+n.dataset.cityUrl,e)})}}()}),document.addEventListener("DOMContentLoaded",function(){null!==document.getElementById("cookieWeatherWidgetXmlId")&&function(){var e=document.getElementById("cookieWeatherWidgetXmlId").value;"0"==e&&(e="11508"),i.getWeatherInfoByCity(e);var t=document.querySelector(".localnews-weather"),n=document.querySelector(".local-cities-weather-popup__list-item.active"),a=document.querySelector(".local-cities-weather-popup__list");if(n&&(n.parentElement.parentElement.scrollLeft=n.getBoundingClientRect().left),t){var o=document.querySelector(".localnews-weather__selector"),r=o.querySelector(".localnews-weather__arrow"),c=document.querySelector(".local-cities-weather-popup__input");localStorage.setItem("cityId","11508"),o.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),i.getLocalCitiesForCityWeatherPick(),"down"===r.getAttribute("data-arrow-direction")?r.setAttribute("data-arrow-direction","up"):r.setAttribute("data-arrow-direction","down"),c.value="",c.focus()}),c.addEventListener("keyup",function(e){i.initLocalNewsWeatherWidgetSearch(e.target.value)}),document.querySelector(".local-cities-weather-popup").addEventListener("click",function(e){e.preventDefault(),e.stopPropagation()}),document.addEventListener("click",function(){var e=document.querySelector("[data-toggle-src='local-cities-weather-popup']");e&&e.setAttribute("data-visible","false"),r.setAttribute("data-arrow-direction","down")}),a.addEventListener("click",function(e){var t=event.target||event.srcElement,n=document.querySelector("[data-toggle-src='local-cities-weather-popup']");
1n&&(n.setAttribute("data-visible","false"),r.setAttribute("data-arrow-direction","down")),i.getWeatherInfoByCity(t.dataset.cityId)})}}()}),document.addEventListener("DOMContentLoaded",function(){null!==document.getElementById("cookiePrayerTimeWidgetCityId")&&function(){var e=document.getElementById("cookiePrayerTimeWidgetCityId").value;"0"==e&&(e="34"),i.getPrayerTimes(e,"true");var t=document.querySelector(".localnews-prayertime"),n=document.querySelector(".local-cities-prayertime-popup__list-item.active"),a=document.querySelector(".local-cities-prayertime-popup__list");if(n&&(n.parentElement.parentElement.scrollLeft=n.getBoundingClientRect().left),t){var o=document.querySelector(".localnews-prayertime__selector"),r=o.querySelector(".localnews-prayertime__arrow"),c=document.querySelector(".local-cities-prayertime-popup__input");localStorage.setItem("cityId","11508"),o.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),i.getLocalCitiesForCityPrayerPick(),"down"===r.getAttribute("data-arrow-direction")?r.setAttribute("data-arrow-direction","up"):r.setAttribute("data-arrow-direction","down"),c.value="",c.focus()}),c.addEventListener("keyup",function(e){i.initLocalNewsPrayerWidgetSearch(e.target.value)}),document.querySelector(".local-cities-prayertime-popup").addEventListener("click",function(e){e.preventDefault(),e.stopPropagation()}),document.addEventListener("click",function(){var e=document.querySelector("[data-toggle-src='local-cities-prayertime-popup']");e&&e.setAttribute("data-visible","false"),r.setAttribute("data-arrow-direction","down")}),a.addEventListener("click",function(e){var t=event.target||event.srcElement,n=document.querySelector("[data-toggle-src='local-cities-prayertime-popup']");n&&(n.setAttribute("data-visible","false"),r.setAttribute("data-arrow-direction","down")),i.getPrayerTimes(t.dataset.cityPlate,"false")})}}()}),document.addEventListener("click",function(e){var t=document.querySelector(".navigation-bar__dropdown"),n=document.querySelector(".navigation-bar__dropdown__menu"),a=e.target;do{if(a==t)return console.log("Berkay"),void n.classList.add("opened");a=a.parentNode}while(a);n&&n.classList.remove("opened")}),document.addEventListener("DOMContentLoaded",function(){if(document.querySelector(".homepage-localnews-widget")){var e=document.querySelector(".col-md-12.col-lg-8"),t=[],n=0;fetch("/api/weather/getcities").then(function(e){return e.json()}).then(function(e){e.forEach(function(e){"Ankara"!=e.CityName&&"İstanbul"!=e.CityName&&"İzmir"!=e.CityName&&t.push(e.CityNameNonTurkishCharacter)})}),window.addEventListener("scroll",function(){if(window.scrollY+window.innerHeight>e.offsetTop+e.clientHeight&&n<=81){var a=document.querySelector(".nd-loading");a&&this.loadingEl.classList.remove("hidden");var o="/api/lazy/localarticlecitymaincontent?url=/".concat(t[n],"/");fetch(o).then(function(e){return e.json()}).then(function(t){e.innerHTML+=t.HtmlContent,a&&a.classList.add("hidden")}),n+=1}})}}),document.addEventListener("DOMContentLoaded",function(){if(document.querySelector(".localnews-district")){var e=window.location.pathname,t=e.split("-"),n=e.split("/"),a=document.querySelector(".local-news"),o=1,i=1,r="";window.addEventListener("scroll",function(){window.scrollY+window.innerHeight>a.offsetTop+a.clientHeight&&o==i&&(o+=1,r=""==n[2]?"/api/lazy/localarticledistrictnextcontent?url=".concat(t[0],"/&page=").concat(o):"/api/lazy/localarticledistrictnextcontent?url=".concat(t[0],"/").concat(n[2],"/&page=").concat(o),fetch(r).then(function(e){return e.json()}).then(function(e){"\r\n\r\n"!=e.HtmlContent&&(i+=1,a.innerHTML+=e.HtmlContent)}))})}}),document.addEventListener("DOMContentLoaded",function(){new Swiper(".multiple-news-card__slider",{slidesPerView:"auto",spaceBetween:20,navigation:{nextEl:".multiple-news-next",prevEl:".multiple-news-prev"}}),new Swiper(".multiple-news-card__slider.small-slider",{slidesPerView:"auto",spaceBetween:20,navigation:{nextEl:".multiple-news-next",prevEl:".multiple-news-prev"}})});n(2124)})()})();

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.