!function(r){r.fn.visible=function(t){var e=r(this),a=r(window),i=a.scrollTop(),n=i+a.height(),o=e.offset().top,s=o+e.height();return(!0===t?o:s)<=n&&i<=(!0===t?s:o)}}(jQuery),function(l){"use strict";l("body"),l(window);var n=function(t,e,a){this.$element=l(t),this.callback=a,this.options=l.extend({},n.defaults,e),this.contentSelector=this.options.contentSelector||this.$element.find(".loadmore-wrap"),this.options.contentSelector=this.contentSelector,this.init()};n.defaults={contentSelector:null,nextSelector:"div.navigation a:first",navSelector:"div.navigation",itemSelector:"div.post",dataType:"html",finishedMsg:"Congratulations, you've reached the end of the internet.",maxPage:void 0,loading:{speed:0,start:void 0},state:{isDuringAjax:!1,isInvalidPage:!1,isDestroyed:!1,isDone:!1,isPaused:!1,isBeyondMaxPage:!1,currPage:1}},n.prototype.init=function(){this.create()},n.prototype.create=function(){var a=this,d=(this.$element,this.contentSelector,this.action,this.btn,this.loading,this.options);if(l(d.nextSelector).length){d.callback=function(t,e){a.callback&&a.callback.call(l(d.contentSelector)[0],t,d,e)},d.loading.start=function(t){d.state.isBeyondMaxPage||(t.hide(),l(d.navSelector).hide(),t.closest(".loadmore-action").find(".loadmore-loading").show(d.loading.speed,l.proxy(function(){e(d,t)},a)))};var e=function(e,a){var t=l(e.nextSelector).attr("href");t=function(t){if(t.match(/^(.*?)\b2\b(.*?$)/))t=t.match(/^(.*?)\b2\b(.*?$)/).slice(1);else if(t.match(/^(.*?)2(.*?$)/)){if(t.match(/^(.*?page=)2(\/.*|$)/))return t=t.match(/^(.*?page=)2(\/.*|$)/).slice(1);t=t.match(/^(.*?)2(.*?$)/).slice(1)}else{if(t.match(/^(.*?page=)1(\/.*|$)/))return t=t.match(/^(.*?page=)1(\/.*|$)/).slice(1);d.state.isInvalidPage=!0}return t}(t);var i,n,o,s,r;e.callback;e.state.currPage++,e.maxPage=l(e.contentSelector).data("maxpage")||e.maxPage,void 0!==e.maxPage&&e.state.currPage>e.maxPage?e.state.isBeyondMaxPage=!0:(i=t.join(e.state.currPage),(o=l("
")).load(i+" "+e.itemSelector,void 0,function(t){if(0!==(s=o.children()).length){for(n=document.createDocumentFragment();o[0].firstChild;)n.appendChild(o[0].firstChild);l(e.contentSelector)[0].appendChild(n),r=s.get(),a.closest(".loadmore-action").find(".loadmore-loading").hide(),void 0!==e.maxPage&&e.maxPage==e.state.currPage&&(e.state.isBeyondMaxPage=!0,a.html(e.finishedMsg)),a.show(e.loading.speed),e.callback(r)}else a.closest(".loadmore-action").find(".loadmore-loading").hide(e.loading.speed,function(){e.state.isBeyondMaxPage=!0,a.html(e.finishedMsg).show()})}))};l(document).on("click",'[data-paginate="loadmore"] .btn-loadmore',function(t){t.stopPropagation(),t.preventDefault(),d.loading.start.call(l(d.contentSelector)[0],l(this))})}},n.prototype.update=function(t){l.isPlainObject(t)&&(this.options=l.extend(!0,this.options,t))},l.fn.dtLoadmore=function(e,a){switch(typeof e){case"string":var i=Array.prototype.slice.call(arguments,1);this.each(function(){var t=l.data(this,"dtloadmore");return!!t&&(!(!l.isFunction(t[e])||"_"===e.charAt(0))&&void t[e].apply(t,i))});break;case"object":this.each(function(){var t=l.data(this,"dtloadmore");t?t.update(e):(t=new n(this,e,a),l.data(this,"dtloadmore",t))})}return this}}(window.jQuery),function(e){"use strict";e.fn.dt_mediaelementplayer=function(t){return t=e.extend({},t),this.each(function(){var t=e(this);t.attr("width","100%").attr("height","100%"),e(t).closest(".video-embed-wrap").each(function(){var t=e(this).height()/e(this).width();e(this).attr("data-aspectRatio",t).css({height:e(this).width()*t+"px",width:"100%"})}),t.mediaelementplayer({mode:"auto",defaultVideoWidth:"100%",defaultVideoHeight:"100%",videoWidth:"100%",videoHeight:"100%",audioWidth:"100%",audioHeight:30,startVolume:.8,loop:!1,enableAutosize:!0,features:["playpause","progress","duration","volume","fullscreen"],alwaysShowControls:!1,iPadUseNativeControls:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1,alwaysShowHours:!1,showTimecodeFrameCount:!1,framesPerSecond:25,enableKeyboard:!0,pauseOtherPlayers:!0,keyActions:[]}),window.setTimeout(function(){e(t).closest(".video-embed-wrap").css({height:"100%",width:"100%"})},1e3),e(t).closest(".mejs-container").css({height:"100%",width:"100%"})})}}(window.jQuery),function(){"use strict";for(var n=0,t=["ms","moz","webkit","o"],e=0;ex',e.appendChild(i.childNodes[1])}return t&&o.extend(a,t),this.each(function(){var t=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];a.customSelector&&t.push(a.customSelector);var n=".fitvidsignore";a.ignore&&(n=n+", "+a.ignore);var e=o(this).find(t.join(","));(e=(e=e.not("object object")).not(n)).each(function(){var t=o(this);if(!t.hasClass("dtfitvids-init")){if(0').parent(".fluid-width-video-wrapper").css("padding-top","56.56%");var i=t.closest(".dtfitvids");i.length&&!i.hasClass("dtfitvidsed")&&setTimeout(function(){i.data("width",a).data("height",e),i.addClass("dtfitvidsed")},200),t.removeAttr("height").removeAttr("width"),t.addClass("dtfitvids-init")}})})}}(window.jQuery||window.Zepto),function(m){var r=window.DawnThemes||{},s=(m("body"),m(window));r.getNavbarFixedHeight=function(){return parseInt(DawnThemesL10n.navbarFixedHeight)},r.userAgent={isIE7:!1,isIE8:!1,isLowIE:!1,isAndroid:!1,isTouch:!1,isIOS:!1,init:function(){var t=navigator.appVersion,e=navigator.userAgent;r.userAgent.isIE7=-1!==t.indexOf("MSIE 7."),r.userAgent.isIE8=-1!==t.indexOf("MSIE 8."),r.userAgent.isLowIE=r.userAgent.isIE7||r.userAgent.isIE8,r.userAgent.isAndroid=/android/gi.test(t),r.userAgent.isIOS=/iphone|ipad|ipod/gi.test(t),r.userAgent.isTouch=!!("ontouchstart"in window)||!!("onmsgesturechange"in window)&&!!window.navigator.maxTouchPoints,/(iPad|iPhone|iPod)/g.test(e)?m(document.documentElement).addClass("dt-os-ios"):-1 li.column").length;m(this).find("ul.columns > li.column").css("width",t+"%")}),r.menu_direction("check");var o=0;m("#top-header-content #dt-main-menu").clone().appendTo(m("#dt-sticky-navigation-holder .sticky-header-content")),m("body").hasClass("style-header-2")&&600m("#wpadminbar").height())i=m("#wpadminbar").height();var n=m("#dt-sticky-navigation-holder").attr("data-height");oparseInt(m("#top-header-content").offset().top+250)?(m("#dt-sticky-navigation-holder").css({top:i}),m("#dt-sticky-navigation-holder").addClass("scrolled bgc"),r.menu_direction("uncheck")):(m("#dt-sticky-navigation-holder").css("top",-n),m("#dt-sticky-navigation-holder").removeClass("scrolled bgc"),r.menu_direction("check")),0==(o=t)&&(m("#dt-sticky-navigation-holder").removeClass("scrolled bgc"),r.menu_direction("check")),r.menu_style2(),m(window).resize(function(){r.menu_style2()})}})},r.menu_style2=function(){m("body").hasClass("style-header-2")&&600$topHeader_offset.top?m(".site-header .top-header").addClass("sticky"):m(".site-header .top-header").removeClass("sticky"))},r.menu_direction=function(t){m(".dawnthemes-navigation-wrap").length&&m(".dawnthemes-navigation-wrap").each(function(){m(this);m(this).find("li").each(function(){m(this).hasClass("menu-item-has-children")&&("check"===t?(m(this).removeClass("dawnthemes-menu-dir-r"),m(window).width()-(m(this).offset().left+m(this).outerWidth())ul.sub-menu").width()&&m(this).addClass("dawnthemes-menu-dir-r")):m(this).removeClass("dawnthemes-menu-dir-r"))})})},r.scrollToTOp=function(){m(window).scroll(function(){500',prevArrow:'
',responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3,infinite:!0,dots:!0}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]})),m(".ticketbox-slick-slider").length&&m().slick&&m(".ticketbox-slick-slider").each(function(){var t,e,a,i,n=m(this);i=m(this).attr("data-dots"),t=m(this).attr("data-infinite"),e=parseInt(m(this).attr("data-visible")),a=parseInt(m(this).attr("data-scroll")),m(n).removeClass("ticketbox-preload"),i="1"==i||"true"==i,t="1"==t||"true"==t,m(this).find(".ticketbox-slick-items").slick({dots:i,infinite:t,slidesToShow:e,slidesToScroll:a,nextArrow:'
',prevArrow:'
'})})},r.carouselInit=function(){m().owlCarousel&&m(".ticketbox-carousel-slide.owl-carousel").each(function(){var t=m(this),e="true"==t.attr("data-autoplay"),a=void 0!==t.attr("data-rtl")&&"1"==t.attr("data-rtl");t.owlCarousel({items:t.attr("data-items"),lazyLoad:!0,loop:!0,nav:1==t.attr("data-nav"),dots:1==t.attr("data-dots"),dots:!0,autoPlay:e,autoplayTimeout:5e3,autoplayHoverPause:1==t.attr("data-stop_on_hover"),responsive:{0:{items:1},480:{items:2
'+e+"
")},errorCallback:function(){a.find(".infinite-scroll-loading-msg").html(t).animate({opacity:1},2e3,function(){m(this).parent().fadeOut("fast",function(){a.find(".infinite-scroll-loading-msg").html(e)})})}},function(t){if(m(t).find(".video-embed:not(.video-embed-popup),.audio-embed:not(.audio-embed-popup)").dt_mediaelementplayer(),a.hasClass("masonry")){if(a.find(".masonry-wrap").isotope("appended",m(t)),a.find(".masonry-filter").length){var e=a.find(".masonry-filter").find("a.selected").data("filter-value");a.find(".masonry-wrap").isotope({filter:e})}imagesLoaded(t,function(){r.magnificpopupInit(),r.responsiveEmbedIframe(),a.hasClass("masonry")&&a.find(".masonry-wrap").isotope("layout")})}})})},r.ajax_nav_content=function(){m(".dt-next-prev-wrap").each(function(){var t=m(this);m(t).find("a").on("click",function(t){t.preventDefault();var n=m(this),o=m(n).parents(".dt-next-prev-wrap").attr("data-target");if(!m(this).hasClass("ajax-page-disabled")){jQuery("#"+o+" .dt-content__wrap").addClass("dt-loading");var e=m(n).parents(".dt-next-prev-wrap").attr("data-cat"),a=m(n).parents(".dt-next-prev-wrap").attr("data-orderby"),i=m(n).parents(".dt-next-prev-wrap").attr("data-order"),s=m(n).parents(".dt-next-prev-wrap").attr("data-hover-thumbnail"),r=m(n).attr("data-offset"),d=m(n).attr("data-current-page"),l=m(n).parents(".dt-next-prev-wrap").attr("data-posts-per-page"),c=m(n).parents(".dt-next-prev-wrap").attr("data-template");m.ajax({url:ticketbox_dt_ajaxurl,data:{action:"ticketbox_nav_content",cat:e,orderby:a,order:i,hover_thumbnail:s,offset:r,current_page:d,posts_per_page:l,template:c},type:"POST",success:function(i){""!=i&&setTimeout(function(){m("#"+o+" .dt-content__wrap").removeClass("dt-loading"),m("#"+o+" .dt-content__wrap .dt-content").html(i).hide(),m("#"+o+" .dt-content__wrap .dt-content").fadeIn("slow");var t=parseInt(m(n).attr("data-current-page")),e=parseInt(m(n).attr("data-offset"));if(m(n).hasClass("dt-ajax-next-page")){m("#"+o+" .dt-next-prev-wrap .dt-ajax-next-page").attr("data-current-page",t+1);var a=parseInt(m(n).attr("data-current-page")-1);m("#"+o+" .dt-next-prev-wrap .dt-ajax-prev-page").attr("data-current-page",a),m(n).attr("data-offset",parseInt(r)+parseInt(l)),m("#"+o+" .dt-ajax-prev-page").removeClass("ajax-page-disabled"),m("#"+o+" .dt-ajax-prev-page").attr("data-offset",parseInt(r)-parseInt(l))}else m(n).hasClass("dt-ajax-prev-page")&&(m("#"+o+" .dt-next-prev-wrap .dt-ajax-prev-page").attr("data-current-page",t-1),m("#"+o+" .dt-next-prev-wrap .dt-ajax-next-page").attr("data-current-page",t),e<=0?(m(n).addClass("ajax-page-disabled"),m(n).attr("data-offset",0),m("#"+o+" .dt-ajax-next-page").attr("data-offset",parseInt(l)),m("#"+o+" .dt-next-prev-wrap .dt-ajax-next-page").attr("data-current-page",1)):(m(n).attr("data-offset",parseInt(e)-parseInt(l)),m("#"+o+" .dt-ajax-next-page").attr("data-offset",parseInt(e)+parseInt(l))),m("#"+o+" .dt-ajax-next-page").removeClass("ajax-page-disabled"));0r.SmartSidebar.lastKnownScrollY?"down":"up"),r.SmartSidebar.lastKnownScrollY=e,e+=r.SmartSidebar.navbarHeight;for(var n=0;n=o.sidebar.height?(o.state="fixedUp",r.SmartSidebar._adjustSidebar(o,"fixedUp")):(o.state="pinnedBottom",r.SmartSidebar._adjustSidebar(o,"pinnedBottom")):(!0===r.SmartSidebar._isSmaller(o.sidebar.bottom,e)?!0===r.SmartSidebar._isEqual(e,o.sidebar.top)&&!0===r.SmartSidebar._isEqual(o.content.top,e)?(o.state="fixedUp",r.SmartSidebar._adjustSidebar(o,"fixedUp")):!0===r.SmartSidebar._isSmaller(o.sidebar.bottom,a)&&!0===r.SmartSidebar._isSmaller(o.sidebar.bottom,o.content.bottom)&&o.content.bottom>=a?(o.state="fixedDown",r.SmartSidebar._adjustSidebar(o,"fixedDown")):(o.state="pinnedBottom",r.SmartSidebar._adjustSidebar(o,"pinnedBottom")):!0===r.SmartSidebar._isSmaller(o.sidebar.bottom,a)&&!0===r.SmartSidebar._isSmaller(o.sidebar.bottom,o.content.bottom)&&"down"===i&&o.content.bottom>=a?(o.state="fixedDown",r.SmartSidebar._adjustSidebar(o,"fixedDown")):!0===r.SmartSidebar._isEqual(o.sidebar.top,o.content.top)&&"up"===i&&o.content.bottom>=a?(o.state="default",r.SmartSidebar._adjustSidebar(o,"default")):!0===r.SmartSidebar._isEqual(o.content.bottom,o.sidebar.bottom)&&"down"===i||o.content.bottom');var n=m(t).find("#"+i)[0];r.VideoPlayLists._VMPlayerEvent(n,t,a)},_VMPlayerEvent:function(t,e,a){if("undefined"!=typeof $f){var i=$f(t);i.addEvent("ready",function(){r.VideoPlayLists.fitvids(),e.data("auto-play")&&i.api("play"),a&&r.VideoPlayLists._statusControlItem("playing",e),i.addEvent("play",function(){r.VideoPlayLists._statusControlItem("playing",e)}),i.addEvent("pause",function(){r.VideoPlayLists._statusControlItem("paused",e)}),i.addEvent("finish",function(){r.userAgent.isAndroid&&!r.userAgent.isIOS||r.VideoPlayLists._nextVideo(e)})})}}},r.getAdminbarHeight=function(){var t=0;return m("#wpadminbar").length&&(t=parseInt(m("#wpadminbar").outerHeight())),t},r.counter=function(){r.enableAnimation()&&m(".ticketbox-sc-counter").each(function(){var t=m(this),e=t.find(".counter-number");e.text("0"),void 0!==jQuery.fn.waypoint&&t.waypoint(function(){e.countTo({from:0,to:e.data("to"),speed:e.data("speed"),decimals:e.data("num-decimals"),decimal:e.data("decimal-sep"),thousand:e.data("thousand-sep"),refreshInterval:30,formatter:function(t,e){var a,i,n,o;if(t=t.toFixed(e.decimals),i=(a=(t+="").split("."))[0],n=1DawnThemesL10n.breakpoint&&!r.userAgent.isTouch)},r.historySupport=function(){return!!window.history&&!!history.pushState},r.Event.init(),m.DawnThemes=r,m(document).ajaxComplete(function(){})}(window.jQuery),function(n){"use strict";n("body");var a=n(window);n(document).ready(function(){var t=a.height();if(n("html").outerHeight()