if(typeof window.setrowErrorLogger=="undefined"){window.setrowErrorLogger=function(data){var __setrowErrorimg=new Image();__setrowErrorimg.src='//sl.setrowid.com/error_log.php?error_data='+encodeURIComponent(JSON.stringify(data))}} if(typeof window.setrowGetAgent=="undefined"){window.setrowGetAgent=(function(){var ua=navigator.userAgent,tem,M=ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];if(/trident/i.test(M[1])){tem=/\brv[ :]+(\d+)/g.exec(ua)||[];return 'IE '+(tem[1]||'')} if(M[1]==='Chrome'){tem=ua.match(/\b(OPR|Edge)\/(\d+)/);if(tem!=null)return tem.slice(1).join(' ').replace('OPR','Opera')} M=M[2]?[M[1],M[2]]:[navigator.appName,navigator.appVersion,'-?'];if((tem=ua.match(/version\/(\d+)/i))!=null)M.splice(1,1,tem[1]);return M.join(' ')})()} window.onerror=function(msg,url,line,col,error){var extra=!error?'':''+error;line+=!col?'':':'+col;var errorData={browser:window.setrowGetAgent,message:msg,url:url,line:line,extra:extra};window.setrowErrorLogger(errorData);var suppressErrorAlert=!1;return suppressErrorAlert};(function(){if(typeof window.CustomEvent==="function")return !1;function CustomEvent(event,params){params=params||{bubbles:!1,cancelable:!1,detail:undefined};var evt=document.createEvent('CustomEvent');evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail);return evt} CustomEvent.prototype=window.Event.prototype;window.CustomEvent=CustomEvent})();if(typeof window.setrowScriptLoader=="undefined"){window.setrowScriptLoader=function(params){this.mkodu='682';this.params=params;this.setrowGetURLParameter=function(name){return decodeURIComponent((new RegExp('[?|&]'+name+'='+'([^&;]+?)(&|#|;|$)').exec(location.search)||[,""])[1].replace(/\+/g,'%20'))||null};this.log=function(str){if(this.debug=='true'||this.debug==!0||this.onIzlemeModu=='true'||this.onIzlemeModu==!0){console.log(str)}};this.ieCheck=function(){var ua=window.navigator.userAgent;var msie=ua.indexOf("MSIE ");if(msie>0||!!navigator.userAgent.match(/Trident.*rv\:11\./)){return !0}else{return !1}} this.setrowID=null;var _self=this;this.setrowIDCalled=!1;if(!this.ieCheck()){this.setrowIDEvent=new CustomEvent('setrowid_loaded');this.loadSetrowID=function(){this.setrowIDCalled=!0;if(this.setrowID==null){jQuery.ajax({type:"GET",xhrFields:{withCredentials:!0},dataType:"json",contentType:"text/json; charset=\"utf-8\"",url:"//sl.setrowid.com/SetrowIDV2.php",success:function(data){_self.setrowID=data;window.dispatchEvent(_self.setrowIDEvent)}})}else{window.dispatchEvent(_self.setrowIDEvent)}}}else{this.loadSetrowID=function(){return !1}} this.setrowCookies={getItem:function(e){return e?decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null:null},setItem:function(e,o,n,t,r,c){if(!e||/^(?:expires|max\-age|path|domain|secure)$/i.test(e))return!1;var s="";if(n)switch(n.constructor){case Number:s=n===1/0?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+n;break;case String:s="; expires="+n;break;case Date:s="; expires="+n.toUTCString()}return document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(o)+s+(r?"; domain="+r:"")+(t?"; path="+t:"")+(c?"; secure":""),!0},removeItem:function(e,o,n){return this.hasItem(e)?(document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(n?"; domain="+n:"")+(o?"; path="+o:""),!0):!1},hasItem:function(e){return!e||/^(?:expires|max\-age|path|domain|secure)$/i.test(e)?!1:new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},keys:function(){for(var e=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),o=e.length,n=0;o>n;n++)e[n]=decodeURIComponent(e[n]);return e}};var cookieDate=function(dakika){var now=new Date();var time=now.getTime();var expireTime=time+(1000*60*parseInt(dakika));now.setTime(expireTime);return now.toUTCString()};var setrowCookieActions=function(){var toplamSayfaGezinmeSayi=setrowCookies.getItem('strw-'+this.mkodu+'-tpvc')!==null?parseInt(setrowCookies.getItem('strw-'+this.mkodu+'-tpvc')):0;toplamSayfaGezinmeSayi++;setrowCookies.setItem('strw-'+this.mkodu+'-tpvc',toplamSayfaGezinmeSayi,cookieDate(525600),'/');var sessionSayfaGezinmeSayi=setrowCookies.getItem('strw-'+this.mkodu+'-spvc')!==null?parseInt(setrowCookies.getItem('strw-'+this.mkodu+'-spvc')):0;sessionSayfaGezinmeSayi++;setrowCookies.setItem('strw-'+this.mkodu+'-spvc',sessionSayfaGezinmeSayi,'','/');var toplamGezinmeSure=setrowCookies.getItem('strw-'+this.mkodu+'-ttt')!==null?parseInt(setrowCookies.getItem('strw-'+this.mkodu+'-ttt')):0;var sessionGezinmeSure=setrowCookies.getItem('strw-'+this.mkodu+'-stt')!==null?parseInt(setrowCookies.getItem('strw-'+this.mkodu+'-stt')):0;var sayfaGezinmeSure=0;setInterval(function(){toplamGezinmeSure+=3;sessionGezinmeSure+=3;sayfaGezinmeSure+=3;setrowCookies.setItem('strw-'+this.mkodu+'-ttt',toplamGezinmeSure,cookieDate(525600),'/');setrowCookies.setItem('strw-'+this.mkodu+'-stt',sessionGezinmeSure,'','/');setrowCookies.setItem('strw-'+this.mkodu+'-ptt',sayfaGezinmeSure,'','/');var event=new CustomEvent('setrowTravelChange',{detail:{toplamGezinmeSure:toplamGezinmeSure,sessionGezinmeSure:sessionGezinmeSure,sayfaGezinmeSure:sayfaGezinmeSure}});window.dispatchEvent(event)},3000);var now=new Date();var visitorData=setrowCookies.getItem('strw-'+this.mkodu+'-vt');if(visitorData===null){setrowCookies.setItem('strw-'+this.mkodu+'-vt','0_'+now.getTime(),cookieDate(525600),'/')}else{var visitorArr=visitorData.split('_');if(visitorArr.length==2){var visitorType=visitorArr[0];var visitorTime=visitorArr[1];if(visitorType=='0'){var diff=now.getTime()-visitorTime;if((diff/(1000*60*30))>1){setrowCookies.setItem('strw-'+this.mkodu+'-vt','1_'+visitorTime,cookieDate(525600),'/')}}}}};if(document.readyState!=='loading'){setrowCookieActions()}else{document.addEventListener('DOMContentLoaded',function(){setrowCookieActions()})} this.onIzlemeModu=this.setrowGetURLParameter('setrow_onizleme');this.debug=this.setrowGetURLParameter('setrow_debug');var __self=this;this.log('Widget Loader kutuphanesi yukleniyor...');this.widgetLoader=function(widgetId){var widget=jQuery(".setrow-widget[data-widget-id="+widgetId+"]");if(typeof widget.length!='undefiend'&&widget.length>0){widget=widget[0];var widgetKey=widget.getAttribute("data-widget-key");var widgetUrun=widget.getAttribute("data-widget-urun");var widgetKategori=widget.getAttribute("data-widget-kategori");var widgetMarka=widget.getAttribute("data-widget-marka");var widgetCacheKullanma=widget.getAttribute("data-widget-cache-kullanma");var widgetSepettekiUrunler=widget.getAttribute("data-widget-sepetteki-urunler");var widgetBaslik=widget.getAttribute("data-widget-baslik");var ozelAlanData=widget.getAttribute("data-widget-ozel-alan-data");var urunRenk=widget.getAttribute("data-widget-renk");var __setrow=document.createElement("script");var onIzlemeModu=setrowGetURLParameter('onizleme');__setrow.src="//rw.setrowid.com/v3/index.php?widgetId="+widgetId+"&widgetKey="+widgetKey+"&urunId="+widgetUrun+"&kategoriId="+widgetKategori+"&markaId="+widgetMarka+"&renk="+urunRenk+"&sepettekiUrunler="+widgetSepettekiUrunler+"&cacheKullanma="+widgetCacheKullanma+"&on_izleme="+onIzlemeModu+"&widget_baslik="+widgetBaslik+"&ozelAlanData="+ozelAlanData;console.log("Widget script URL("+__setrow.src+")");__setrow.setAttribute('async','true');__setrow.setAttribute('charset','utf-8');eval('__setrow.onload = function() { if(typeof setrowWidget'+widgetId+' !== "undefined") setrowWidget'+widgetId+'(); else console.log("Widget olusturan fonksiyon tanimlanmamis setrowWidget'+widgetId+'"); };');var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(__setrow,s)}else{this.log('widget dom elementi bulunamadı')}} this.log('Widget Loader kutuphanesi yuklendi!');this.log('Widget Slider Script kutuphanesi yukleniyor...');(function(jQuery){var plugin={};var defaults={mode:'horizontal',slideSelector:'',infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,slideMarginActive:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:'visible',responsive:!0,slideZIndex:50,wrapperClass:'setrow-bx-wrapper',showHeader:!0,headerText:'',touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:'full',pagerShortSeparator:' / ',pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:'Next',prevText:'Prev',nextSelector:null,prevSelector:null,autoControls:!1,startText:'Start',stopText:'Stop',autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4000,autoStart:!0,autoDirection:'next',autoHover:!1,autoDelay:0,autoSlideForOnePage:!1,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},onSliderResize:function(){}} jQuery.fn.setrowBxSlider=function(options){if(this.length==0)return this;if(this.length>1){this.each(function(){jQuery(this).setrowBxSlider(options)});return this} var slider={};var el=this;plugin.el=this;var windowWidth=jQuery(window).width();var windowHeight=jQuery(window).height();var init=function(){slider.settings=jQuery.extend({},defaults,options);slider.settings.slideWidth=parseInt(slider.settings.slideWidth);slider.children=el.children(slider.settings.slideSelector);if(slider.children.length1||slider.settings.maxSlides>1;if(slider.carousel)slider.settings.preloadImages='all';slider.minThreshold=(slider.settings.minSlides*slider.settings.slideWidth)+((slider.settings.minSlides-1)*slider.settings.slideMargin);slider.maxThreshold=(slider.settings.maxSlides*slider.settings.slideWidth)+((slider.settings.maxSlides-1)*slider.settings.slideMargin);slider.working=!1;slider.controls={};slider.interval=null;slider.animProp=slider.settings.mode=='vertical'?'top':'left';slider.usingCSS=slider.settings.useCSS&&slider.settings.mode!='fade'&&(function(){var div=document.createElement('div');var props=['WebkitPerspective','MozPerspective','OPerspective','msPerspective'];for(var i in props){if(div.style[props[i]]!==undefined){slider.cssPrefix=props[i].replace('Perspective','').toLowerCase();slider.animProp='-'+slider.cssPrefix+'-transform';return !0}} return !1}());if(slider.settings.mode=='vertical')slider.settings.maxSlides=slider.settings.minSlides;el.data("origStyle",el.attr("style"));el.children(slider.settings.slideSelector).each(function(){jQuery(this).data("origStyle",jQuery(this).attr("style"))});setup()} var setup=function(){el.wrap('
');slider.viewport=el.parent();slider.loader=jQuery('