/*! OwlCarousel2Thumbs - v0.1.3 | (c) 2015 @gijsroge | MIT license | https://github.com/gijsroge/OwlCarousel2-Thumbs */
!function(a){"use strict";var b=function(c){this.owl=c,this._thumbcontent=[],this.owl_currentitem=this.owl.options.startPosition,this.$element=this.owl.$element,this._handlers={"prepared.owl.carousel":a.proxy(function(b){if(b.namespace&&this.owl._options.thumbs&&!this.owl._options.thumbImage)this._thumbcontent.push(a(b.content).find("[data-thumb]").attr("data-thumb"));else if(b.namespace&&this.owl._options.thumbs&&this.owl._options.thumbImage){var c=a(b.content).find("img");this._thumbcontent.push(c)}},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this.owl._options.thumbs&&(this.initialize(),this.currentslide(),this.draw())},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this.owl._options.thumbs&&(this.currentslide(),this.draw())},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&this.draw()},this)},this.owl._options=a.extend(b.Defaults,this.owl.options),this.owl.$element.on(this._handlers)};b.Defaults={thumbs:!0,thumbImage:!1,thumbContainerClass:"owl-thumbs",thumbItemClass:"owl-thumb-item"},b.prototype.currentslide=function(){this.owl_currentitem=this.owl._current-this.owl._clones.length/2,this.owl_currentitem===this.owl._items.length&&(this.owl_currentitem=0)},b.prototype.draw=function(){a(this._thumbcontent._thumbcontainer).children().filter(".active").removeClass("active"),a(this._thumbcontent._thumbcontainer).children().eq(this.owl_currentitem).addClass("active")},b.prototype.initialize=function(){var b=this.owl._options;this._thumbcontent._thumbcontainer=a("
").addClass(b.thumbContainerClass).appendTo(this.$element);var c;if(this.owl._options.thumbImage)for(c=0;c
');else for(c=0;c
"+this._thumbcontent[c]+"");a(this._thumbcontent._thumbcontainer).on("click","button",a.proxy(function(c){var d=a(c.target).parent().is(this._thumbcontent._thumbcontainer)?a(c.target).index():a(c.target).parent().index();c.preventDefault(),this.owl.to(d,b.dotsSpeed)},this))},b.prototype.destroy=function(){var a,b;for(a in this._handlers)this.owl.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Thumbs=b}(window.Zepto||window.jQuery,window,document);
jQuery(function($) {
$(document).ready(function() {
// Header Slide
$(".header-slider").owlCarousel({
rtl:$("html").attr("dir") == 'rtl' ? true : false,
items: 1,
loop: true,
dots: false,
margin: 0,
navText: [' ', ' '],
autoHeight: $("body").hasClass("azwa-template") ? true : false,
autoplay: true,
autoplayTimeout: 60000,
animateIn: 'pulse',
animateOut: 'fadeOut',
thumbs: $("body").hasClass("azwa-template") ? false : true,
thumbImage: $("body").hasClass("azwa-template") ? false : true,
thumbContainerClass: 'owl-thumbs',
thumbItemClass: 'owl-thumb-item',
responsive: {
0: {
nav: false,
},
768: {
nav: $("body").hasClass("azwa-template") ? true : false,
},
992: {
nav: $("body").hasClass("azwa-template") ? true : false,
}
}
});
// Header Slide items with animate.css
var owl = $('.header-slider');
owl.owlCarousel();
owl.on('translate.owl.carousel', function(event) {
$('.header-single-slider h1').removeClass('animated').hide();
$('.header-single-slider p').removeClass('animated').hide();
$('.header-single-slider .boxed-btn').removeClass('animated').hide();
});
owl.on('translated.owl.carousel', function(event) {
$('.header-single-slider h1').addClass('animated fadeInUp').show();
$('.header-single-slider p').addClass('animated fadeInDown').show();
$('.header-single-slider .boxed-btn').addClass('animated fadeInDown').show();
});
});
// Animated Typing Text
var typingText = function (el, toRotate, period) {
this.toRotate = toRotate;
this.el = el;
this.loopNum = 0;
this.period = parseInt(period, 10) || 2000;
this.txt = "";
this.tick();
this.isDeleting = false;
};
typingText.prototype.tick = function () {
var i = this.loopNum % this.toRotate.length;
var fullTxt = this.toRotate[i];
if (this.isDeleting) {
this.txt = fullTxt.substring(0, this.txt.length - 1);
} else {
this.txt = fullTxt.substring(0, this.txt.length + 1);
}
this.el.innerHTML = '' + this.txt + " ";
var that = this;
var delta = 200 - Math.random() * 100;
if (this.isDeleting) {
delta /= 2;
}
if (!this.isDeleting && this.txt === fullTxt) {
delta = this.period;
this.isDeleting = true;
} else if (this.isDeleting && this.txt === "") {
this.isDeleting = false;
this.loopNum++;
delta = 500;
}
setTimeout(function () {
that.tick();
}, delta);
};
window.onload = function () {
var elements = document.getElementsByClassName("typewrite");
for (var i = 0; i < elements.length; i++) {
var toRotate = elements[i].getAttribute("data-type");
var period = elements[i].getAttribute("data-period");
if (toRotate) {
new typingText(elements[i], JSON.parse(toRotate), period);
}
}
// INJECT CSS
var css = document.createElement("style");
css.type = "text/css";
css.innerHTML = $("body").hasClass("azwa-template") ? ".typewrite > .wrap { border-right: 0.08em solid #ffffff}" : ".typewrite > .wrap { border-right: 0.08em solid #ffffff}";
document.body.appendChild(css);
};
// Info Active/Hover
if ($("body").hasClass("azwa-template")) {
$('.single-contact').each(function(){
$(this).hover(function(){
$(this).parents('.contact-wrapper').find('.single-contact').removeClass('active');
$(this).addClass('active');
});
});
}
});
Skip to content
Ios Ve Android Için Uygulamayı İndirin Empieza Yükleyin Türkiye Resmi Net Sitesi Content Spor Bahisleri” “türleri Ve Oranları Türkiye’den Oyuncular Için Mostbet’e Oyun Hesabı Kaydı Mostbet’te Bahis Yapılabilecek Popüler Spor Etkinlikleri Android’de Mostbet Tr Uygulamasını Nasıl Indirebilirim Mostbet’te Ücretsiz Bahisler Mostbet’e Giriş Yap Ve Kazanmaya Başla! Mostbet Bonusları Mobil Bahis Uygulama Işlevselliği Mostbet’te Uluslararası Spor […]