function revslider_showDoubleJqueryError(n){var t="Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include.";t+="<br> This includes make eliminates the revolution slider libraries, and make it not work.";t+="<br><br> To fix it you can:<br>&nbsp;&nbsp;&nbsp; 1. In the Slider Settings -> Troubleshooting set option:  <strong><b>Put JS Includes To Body<\/b><\/strong> option to true.";t+="<br>&nbsp;&nbsp;&nbsp; 2. Find the double jquery.js include and remove it.";t="<span style='font-size:16px;color:#BC0C06;'>"+t+"<\/span>";jQuery(n).show().html(t)}function Init(n){1!=n&&(_afterResize(),_slider_full(),_topNav(),_sideNav(),_stickyFooter(),_infiniteScroll());_owl_carousel();_flexslider();_popover();_lightbox();_mixitup();_animate();_onepageNav();_scrollTo(!1,0);_parallax();_video();_youtubeBG();_toggle();_placeholder();_wrotate();_lazyload();_misc();_countDown();_masonryGallery();_toastr(!1,!1,!1,!1);_charts();_select2();_form();_pickers();_editors();_pajinate();_zoom();_autosuggest();_stepper();_slimScroll();_modalAutoLoad();_bgimage();_widget_facebook();_widget_dribbble();_widget_media();_disable_tabnabbing();jQuery("a[data-toggle=tooltip], button[data-toggle=tooltip], span[data-toggle=tooltip]").tooltip()}function _afterResize(){jQuery(window).load(function(){"use strict";jQuery(window).resize(function(){window.afterResizeApp&&clearTimeout(window.afterResizeApp);window.afterResizeApp=setTimeout(function(){_slider_full();window.width=jQuery(window).width();jQuery(".flexslider").length>0&&jQuery(".flexslider").resize()},300)})})}function loadScript(n,t){if(_arr[n])t&&t();else{_arr[n]=!0;var r=document.getElementsByTagName("body")[0],i=document.createElement("script");i.type="text/javascript";i.src=n;i.onload=t;r.appendChild(i)}}function _slider_full(){_headerHeight=0;jQuery("#header").hasClass("transparent")||jQuery("#header").hasClass("translucent")?_headerHeight=0:(_headerHeight=jQuery("#header").outerHeight(),jQuery("#topBar").length>0&&(_headerHeight+=jQuery("#topBar").outerHeight()));_screenHeight=jQuery(window).height()-_headerHeight;jQuery("#slider.fullheight").height(_screenHeight)}function _topNav(){function u(){_scrollTop=jQuery(document).scrollTop();_scrollTop>100?jQuery("#toTop").is(":hidden")&&jQuery("#toTop").show():jQuery("#toTop").is(":visible")&&jQuery("#toTop").hide()}function f(){jQuery("#sidepanel_overlay").unbind();jQuery("#sidepanel_overlay").bind("click",function(){jQuery("a#sidepanel_btn").trigger("click")})}var n,r,i,t;window.scrollTop=0;n=jQuery("#header");jQuery(window).scroll(function(){u()});r=!1;(jQuery("#topMain a.dropdown-toggle").bind("click",function(n){"#"==jQuery(this).attr("href")&&n.preventDefault();r=jQuery(this).parent().hasClass("resp-active");jQuery("#topMain").find(".resp-active").removeClass("resp-active");r||jQuery(this).parents("li").addClass("resp-active")}),jQuery("li.search i.fa").click(function(){jQuery("#header .search-box").is(":visible")?jQuery("#header .search-box").fadeOut(300):(jQuery(".search-box").fadeIn(300),jQuery("#header .search-box form input").focus(),jQuery("#header li.quick-cart div.quick-cart-box").is(":visible")&&jQuery("#header li.quick-cart div.quick-cart-box").fadeOut(300))}),0!=jQuery("#header li.search i.fa").size()&&(jQuery("#header .search-box, #header li.search i.fa").on("click",function(n){n.stopPropagation()}),jQuery("body").on("click",function(){jQuery("#header li.search .search-box").is(":visible")&&jQuery("#header .search-box").fadeOut(300)})),jQuery(document).bind("click",function(){jQuery("#header li.search .search-box").is(":visible")&&jQuery("#header .search-box").fadeOut(300)}),jQuery("#closeSearch").bind("click",function(n){n.preventDefault();jQuery("#header .search-box").fadeOut(300)}),jQuery("button#page-menu-mobile").bind("click",function(){jQuery(this).next("ul").slideToggle(150)}),jQuery("li.quick-cart>a").click(function(n){n.preventDefault();var t=jQuery("li.quick-cart div.quick-cart-box");t.is(":visible")?t.fadeOut(300):(t.fadeIn(300),jQuery("li.search .search-box").is(":visible")&&jQuery(".search-box").fadeOut(300))}),0!=jQuery("li.quick-cart>a").size()&&(jQuery("li.quick-cart").on("click",function(n){n.stopPropagation()}),jQuery("body").on("click",function(){jQuery("li.quick-cart div.quick-cart-box").is(":visible")&&jQuery("li.quick-cart div.quick-cart-box").fadeOut(300)})),jQuery("#page-menu ul.menu-scrollTo>li").bind("click",function(n){var t=jQuery("a",this).attr("href");jQuery("a",this).hasClass("external")||(n.preventDefault(),jQuery("#page-menu ul.menu-scrollTo>li").removeClass("active"),jQuery(this).addClass("active"),jQuery(t).length>0&&(_padding_top=0,jQuery("#header").hasClass("sticky")&&(_padding_top=jQuery(t).css("padding-top"),_padding_top=_padding_top.replace("px","")),jQuery("html,body").animate({scrollTop:jQuery(t).offset().top-_padding_top},800,"easeInOutExpo")))}),n.hasClass("bottom")?(n.addClass("dropup"),window.homeHeight=jQuery(window).outerHeight()-55,n.hasClass("sticky")&&(window.isOnTop=!0,jQuery(window).scroll(function(){jQuery(document).scrollTop()>window.homeHeight/2?n.removeClass("dropup"):n.addClass("dropup")}),jQuery(window).scroll(function(){jQuery(document).scrollTop()>window.homeHeight?window.isOnTop===!0&&(jQuery("#header").addClass("fixed"),n.removeClass("dropup"),window.isOnTop=!1):window.isOnTop===!1&&(jQuery("#header").removeClass("fixed"),n.addClass("dropup"),window.isOnTop=!0)}),jQuery(window).resize(function(){window.homeHeight=jQuery(window).outerHeight()}))):n.hasClass("sticky")?jQuery(window).scroll(function(){if(window.width>768){var t=jQuery(document).scrollTop();_topBar_H=jQuery("#topBar").outerHeight()||0;t>_topBar_H?(n.addClass("fixed"),_header_H=n.outerHeight()||0,n.hasClass("transparent")||n.hasClass("translucent")||jQuery("body").css({"padding-top":_header_H+"px"})):(n.hasClass("transparent")||n.hasClass("translucent")||jQuery("body").css({"padding-top":"0px"}),n.removeClass("fixed"))}}):n.hasClass("static"),jQuery("a.slidetop-toggle").bind("click",function(){jQuery("#slidetop .container").slideToggle(150,function(){jQuery("#slidetop .container").is(":hidden")?jQuery("#slidetop").removeClass("active"):jQuery("#slidetop").addClass("active")})}),jQuery(document).keyup(function(n){27==n.keyCode&&jQuery("#slidetop").hasClass("active")&&jQuery("#slidetop .container").slideToggle(150,function(){jQuery("#slidetop").removeClass("active")})}),jQuery("a#sidepanel_btn").bind("click",function(n){n.preventDefault();t="right";jQuery("#sidepanel").hasClass("sidepanel-inverse")&&(t="left");jQuery("#sidepanel").is(":hidden")?(jQuery("body").append('<span id="sidepanel_overlay"><\/span>'),"left"==t?jQuery("#sidepanel").stop().show().animate({left:"0px"},150):jQuery("#sidepanel").stop().show().animate({right:"0px"},150)):(jQuery("#sidepanel_overlay").remove(),"left"==t?jQuery("#sidepanel").stop().animate({left:"-300px"},300):jQuery("#sidepanel").stop().animate({right:"-300px"},300),setTimeout(function(){jQuery("#sidepanel").hide()},500));f()}),jQuery("#sidepanel_close").bind("click",function(n){n.preventDefault();jQuery("a#sidepanel_btn").trigger("click")}),jQuery(document).keyup(function(n){27==n.keyCode&&jQuery("#sidepanel").is(":visible")&&jQuery("a#sidepanel_btn").trigger("click")}),jQuery("#menu_overlay_open").length>0)&&(i=jQuery("html").hasClass("ie9")?!0:!1,1==i&&jQuery("#topMain").hide(),jQuery("#menu_overlay_open").bind("click",function(n){n.preventDefault();jQuery("body").addClass("show-menu");1==i&&jQuery("#topMain").show()}),jQuery("#menu_overlay_close").bind("click",function(n){n.preventDefault();jQuery("body").hasClass("show-menu")&&jQuery("body").removeClass("show-menu");1==i&&jQuery("#topMain").hide()}),jQuery(document).keyup(function(n){27==n.keyCode&&(jQuery("body").hasClass("show-menu")&&jQuery("body").removeClass("show-menu"),1==i&&jQuery("#topMain").hide())}));jQuery("#sidebar_vertical_btn").length>0&&jQuery("body").hasClass("menu-vertical-hide")&&(t=(_paddingStatusL=jQuery("#mainMenu.sidebar-vertical").css("left"),_paddingStatusR=jQuery("#mainMenu.sidebar-vertical").css("right"),parseInt(_paddingStatusL)<0)?"left":parseInt(_paddingStatusR)<0?"right":"left",jQuery("#sidebar_vertical_btn").bind("click",function(){_paddingStatus=jQuery("#mainMenu.sidebar-vertical").css(t);parseInt(_paddingStatus)<0?"right"==t?jQuery("#mainMenu.sidebar-vertical").stop().animate({right:"0px"},200):jQuery("#mainMenu.sidebar-vertical").stop().animate({left:"0px"},200):"right"==t?jQuery("#mainMenu.sidebar-vertical").stop().animate({right:"-263px"},200):jQuery("#mainMenu.sidebar-vertical").stop().animate({left:"-263px"},200)}),jQuery(window).scroll(function(){_paddingStatus=parseInt(jQuery("#mainMenu.sidebar-vertical").css(t));_paddingStatus>=0&&("right"==t?jQuery("#mainMenu.sidebar-vertical").stop().animate({right:"-263px"},200):jQuery("#mainMenu.sidebar-vertical").stop().animate({left:"-263px"},200))}));jQuery("#topBar").length>0&&jQuery("#topNav ul").addClass("has-topBar");jQuery(window).scroll(function(){window.width<769&&(jQuery("#header li.quick-cart div.quick-cart-box").is(":visible")&&jQuery("#header li.quick-cart div.quick-cart-box").fadeOut(0),jQuery("#header li.search .search-box").is(":visible")&&jQuery("#header .search-box").fadeOut(0))})}function _sideNav(){jQuery("div.side-nav").each(function(){var n=jQuery("ul",this);jQuery("button",this).bind("click",function(){n.slideToggle(300)})});jQuery("div.side-nav>ul>li>a.dropdown-toggle").bind("click",function(n){n.preventDefault();jQuery(this).next("ul").slideToggle(200);jQuery(this).closest("li").toggleClass("active")})}function _animate(){if(jQuery("body").hasClass("enable-animation")){var n=new WOW({boxClass:"wow",animateClass:"animated",offset:90,mobile:!1,live:!0});n.init()}jQuery(".countTo").appear(function(){var n=jQuery(this),t=n.attr("data-from")||0,i=n.attr("data-speed")||1300,r=n.attr("data-refreshInterval")||60;n.countTo({from:parseInt(t),to:n.html(),speed:parseInt(i),refreshInterval:parseInt(r)})})}function _onepageNav(){var n=jQuery("#topMain.nav-onepage");n.length>0&&loadScript(plugin_path+"jquery.nav.min.js",function(){jQuery(n).onePageNav({currentClass:"active",changeHash:!1,scrollSpeed:750,scrollThreshold:.5,filter:":not(.external)",easing:"easeInOutExpo"})})}function _owl_carousel(){var n=jQuery("div.owl-carousel");n.length>0&&loadScript(plugin_path+"owl-carousel/owl-carousel/owl.carousel.min.js",function(){n.each(function(){function progressBar(n){$elem=n;buildProgressBar();start()}function buildProgressBar(){$progressBar=jQuery("<div>",{id:"progressBar"});$bar=jQuery("<div>",{id:"bar"});$progressBar.append($bar).prependTo($elem)}function start(){percentTime=0;isPause=!1;tick=setInterval(interval,10)}function interval(){isPause===!1&&(percentTime+=1/time,$bar.css({width:percentTime+"%"}),percentTime>=100&&$elem.trigger("owl.next"))}function pauseOnDragging(){isPause=!0}function moved(){clearTimeout(tick);start()}var slider=jQuery(this),options=slider.attr("data-plugin-options"),$opt=eval("("+options+")"),afterInit,defaults,config,elem,time;afterInit="true"==$opt.progressBar?progressBar:!1;defaults={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[980,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!0,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:['<i class="fa fa-angle-left"><\/i>','<i class="fa fa-angle-right"><\/i>'],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:window,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,transitionStyle:!1,addClassActive:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:afterInit,beforeMove:!1,afterMove:0==afterInit?!1:moved,afterAction:!1,startDragging:!1,afterLazyLoad:!1};config=jQuery.extend({},defaults,options,slider.data("plugin-options"));slider.owlCarousel(config).addClass("owl-carousel-init");elem=jQuery(this);time=7})})}function _flexslider(){var n=jQuery(".flexslider");n.length>0&&loadScript(plugin_path+"flexslider/jquery.flexslider-min.js",function(){if(jQuery().flexslider){var t=n.attr("data-controlNav"),r=n.attr("data-slideshowSpeed")||7e3,i=n.attr("data-pauseOnHover")||!1;i="true"==i?!0:!1;t="thumbnails"==t?"thumbnails":"true"==t?!0:"false"==t?!1:!0;_directionNav="thumbnails"==t||0==t?!1:!0;jQuery(n).flexslider({animation:"slide",controlNav:t,slideshowSpeed:parseInt(r)||7e3,directionNav:_directionNav,pauseOnHover:i,start:function(){jQuery(".flex-prev").html('<i class="fa fa-angle-left"><\/i>');jQuery(".flex-next").html('<i class="fa fa-angle-right"><\/i>')}});n.resize()}})}function _popover(){jQuery("a[data-toggle=popover]").bind("click",function(n){jQuery(".popover-title .close").remove();n.preventDefault()});var t=!1,n=!1;jQuery("a[data-toggle=popover], button[data-toggle=popover]").popover({html:!0,trigger:"manual"}).click(function(i){jQuery(this).popover("show");n=!1;t=!0;i.preventDefault()});jQuery(document).click(function(){t&n?(jQuery("a[data-toggle=popover], button[data-toggle=popover]").popover("hide"),t=n=!1):n=!0});jQuery("a[data-toggle=popover], button[data-toggle=popover]").popover({html:!0,trigger:"manual"}).click(function(n){$(this).popover("show");$(".popover-title").append('<button type="button" class="close">&times;<\/button>');$(".close").click(function(){jQuery("a[data-toggle=popover], button[data-toggle=popover]").popover("hide")});n.preventDefault()})}function _lightbox(){var n=jQuery(".lightbox");n.length>0&&loadScript(plugin_path+"magnific-popup/dist/jquery.magnific-popup.min.js",function(){return"undefined"==typeof jQuery.magnificPopup?!1:(jQuery.extend(!0,jQuery.magnificPopup.defaults,{tClose:"Close",tLoading:"Loading...",gallery:{tPrev:"Previous",tNext:"Next",tCounter:"%curr% / %total%"},image:{tError:"Image not loaded!"},ajax:{tError:"Content not loaded!"}}),void n.each(function(){var n=jQuery(this),i=n.attr("data-plugin-options"),t={};n.data("plugin-options")&&(t=jQuery.extend({},{type:"image",fixedContentPos:!1,fixedBgPos:!1,mainClass:"mfp-no-margins mfp-with-zoom",closeOnContentClick:!0,closeOnBgClick:!0,image:{verticalFit:!0},zoom:{enabled:!1,duration:300},gallery:{enabled:!1,navigateByImgClick:!0,preload:[0,1],arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"><\/button>',tPrev:"Previous",tNext:"Next",tCounter:'<span class="mfp-counter">%curr% / %total%<\/span>'}},i,n.data("plugin-options")));jQuery(this).magnificPopup(t)}))})}function _scrollTo(n,t){0==n?(jQuery("a.scrollTo").bind("click",function(n){n.preventDefault();var t=jQuery(this).attr("href"),i=jQuery(this).attr("data-offset")||0;"#"!=t&&"#top"!=t&&jQuery("html,body").animate({scrollTop:jQuery(t).offset().top-parseInt(i)},800,"easeInOutExpo");"#top"==t&&jQuery("html,body").animate({scrollTop:0},800,"easeInOutExpo")}),jQuery("#toTop").bind("click",function(n){n.preventDefault();jQuery("html,body").animate({scrollTop:0},800,"easeInOutExpo")})):jQuery("html,body").animate({scrollTop:jQuery(n).offset().top-t},800,"easeInOutExpo")}function _parallax(){jQuery().parallax&&(jQuery(".parallax-1").parallax("50%","0.1"),jQuery(".parallax-2").parallax("50%","0.2"),jQuery(".parallax-3").parallax("50%","0.3"),jQuery(".parallax-4").parallax("50%","0.4"));var n=jQuery("#slider");n.length>0&&n.hasClass("parallax-slider")&&(n.offset().top,jQuery(window).scroll(function(){var n=jQuery(document).scrollTop(),t;768>n&&(t=jQuery("#slider").height(),jQuery("#slider>div").css("top",.5*n),jQuery("#slider>div").css("opacity",1-n/t*1))}))}function _video(){if(jQuery("section.section-video").length>0){var n=jQuery("section.section-video .section-container-video>video");_w=jQuery(window).width();n.width(_w)}}function _youtubeBG(){var n=jQuery("#YTPlayer");n.length>0&&loadScript(plugin_path+"jquery.mb.YTPlayer.min.js",function(){if(jQuery().mb_YTPlayer)/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent),(jQuery(".player").mb_YTPlayer(),jQuery("#video-volume").bind("click",function(n){n.preventDefault();jQuery("#YTPlayer").toggleVolume()}),jQuery("#video-volume").bind("click",function(){jQuery("i.fa",this).hasClass("fa-volume-down")?(jQuery("i.fa",this).removeClass("fa-volume-down"),jQuery("i.fa",this).removeClass("fa-volume-up"),jQuery("i.fa",this).addClass("fa-volume-up")):(jQuery("i.fa",this).removeClass("fa-volume-up"),jQuery("i.fa",this).removeClass("fa-volume-v"),jQuery("i.fa",this).addClass("fa-volume-down"))}))})}function _mixitup(){var n=jQuery(".mix-grid");n.length>0&&loadScript(plugin_path+"mixitup/build/jquery.mixitup.min.js",function(){jQuery().mixitup&&(n.mixitup(),jQuery("ul.mix-filter a").bind("click",function(n){n.preventDefault()}))})}function _toggle(){var n=25;jQuery("div.toggle.active > p").addClass("preview-active");jQuery("div.toggle.active > div.toggle-content").slideDown(400);jQuery("div.toggle > label").click(function(t){var r=jQuery(this).parent(),f=jQuery(this).parents("div.toggle"),i=!1,s=f.hasClass("toggle-accordion"),e,o,u;(s&&"undefined"!=typeof t.originalEvent&&f.find("div.toggle.active > label").trigger("click"),r.toggleClass("active"),r.find("> p").get(0))&&(i=r.find("> p"),e=i.css("height"),o=i.css("height"),i.css("height","auto"),i.css("height",e));u=r.find("> div.toggle-content");r.hasClass("active")?(jQuery(i).animate({height:o},350,function(){jQuery(this).addClass("preview-active")}),u.slideDown(350)):(jQuery(i).animate({height:n},350,function(){jQuery(this).removeClass("preview-active")}),u.slideUp(350))})}function _placeholder(){-1!=navigator.appVersion.indexOf("MSIE")&&jQuery("[placeholder]").focus(function(){var n=jQuery(this);n.val()==n.attr("placeholder")&&(n.val(""),n.removeClass("placeholder"))}).blur(function(){var n=jQuery(this);(""==n.val()||n.val()==n.attr("placeholder"))&&(n.addClass("placeholder"),n.val(n.attr("placeholder")))}).blur()}function _wrotate(){jQuery(".word-rotator").each(function(){var i=jQuery(this),n=i.find(".items"),r=n.find("> span"),e=r.eq(0),o=e.clone(),u=jQuery(this).height(),t=1,f=0,s=jQuery(this).attr("data-delay")||2e3;n.append(o);i.height(u).addClass("active");setInterval(function(){f=t*u;n.animate({top:-f+"px"},300,"easeOutQuad",function(){t++;t>r.length&&(n.css("top",0),t=1)})},s)});var n=jQuery("span.rotate");n.length>0&&loadScript(plugin_path+"text-rotator/jquery.simple-text-rotator.min.js",function(){n.each(function(){var n=jQuery(this),t=n.attr("data-animation")||"fade",i=n.attr("data-speed")||2e3;n.textrotator({animation:t,speed:parseInt(i)})})})}function _lazyload(){var n=jQuery("img.lazy");n.length>0&&loadScript(plugin_path+"lazyload/jquery.lazyload.min.js",function(){jQuery().lazyload&&n.each(function(){var n=jQuery(this),t=n.attr("data-effect")||"fadeIn";n.lazyload({effect:t})})})}function _misc(){var t,i,n,r;jQuery("#portfolio").length>0&&jQuery("#portfolio .item-box .owl-carousel").each(function(){jQuery(this).parent().parent().find(".item-box-desc").css({"padding-top":"29px"})});jQuery().masonry&&jQuery(".masonry").masonry();t=jQuery("#portfolio.portfolio-isotope");t.length>0&&loadScript(plugin_path+"isotope/dist/isotope.pkgd.min.js",function(){function t(){_dw=jQuery(document).width();n.hasClass("fullwidth")?(_w=n.width(),_wItem=_w/_cols,_dw<760&&(_wItem=_w/2),_dw<480&&(_wItem=jQuery("#portfolio").width()),jQuery("#portfolio>.portfolio-item").css({width:_wItem})):(_mR=parseInt(jQuery("#portfolio>.portfolio-item").css("margin-right")),_w=jQuery("#portfolio").closest(".container").width(),_wItem=_w/_cols-_mR,_dw<760&&(_wItem=_w/2-_mR),_dw<480&&(_wItem=_w),jQuery("#portfolio.portfolio-isotope").css({width:_w}),jQuery("#portfolio>.portfolio-item").css({width:_wItem}));jQuery(".flexslider").length>0&&jQuery(".flexslider").resize()}if(jQuery().isotope){var n=jQuery("#portfolio");_cols=n.hasClass("portfolio-isotope-2")?2:n.hasClass("portfolio-isotope-3")?3:n.hasClass("portfolio-isotope-4")?4:n.hasClass("portfolio-isotope-5")?5:n.hasClass("portfolio-isotope-6")?6:4;t();jQuery(window).load(function(){setTimeout(function(){n.isotope({masonry:{},filter:"*",animationOptions:{duration:750,easing:"linear",queue:!1}});jQuery("#portfolio_filter>li>a").bind("click",function(t){t.preventDefault();jQuery("#portfolio_filter>li.active").removeClass("active");jQuery(this).parent("li").addClass("active");var i=jQuery(this).attr("data-filter");n.isotope({filter:i,animationOptions:{duration:750,easing:"linear",queue:!1}})})},50);setTimeout(function(){n.isotope("layout")},300)});jQuery(window).resize(function(){window.afterResizeApp2&&clearTimeout(window.afterResizeApp2);window.afterResizeApp2=setTimeout(function(){t();setTimeout(function(){n.isotope("layout")},300)},300)})}});i=jQuery("#blog.blog-isotope");(i.length>0&&loadScript(plugin_path+"isotope/dist/isotope.pkgd.min.js",function(){function t(){_dw=jQuery(document).width();n.hasClass("fullwidth")?(_w=jQuery(document).width(),_wItem=_w/_cols,_dw<760&&(_wItem=_w/2),_dw<480&&(_wItem=jQuery("#blog").width()),jQuery("#blog>.blog-post-item").css({width:_wItem})):(_mR=parseInt(jQuery("#blog>.blog-post-item").css("margin-right")),_w=jQuery("#blog").closest(".container").width(),_wItem=_w/_cols-_mR,_dw<760&&(_wItem=_w/2-_mR),_dw<480&&(_wItem=_w),jQuery("#blog.blog-isotope").css({width:_w}),jQuery("#blog>.blog-post-item").css({width:_wItem}));jQuery(".flexslider").length>0&&jQuery(".flexslider").resize()}if(jQuery().isotope){var n=jQuery("#blog");_cols=n.hasClass("blog-isotope-2")?2:n.hasClass("blog-isotope-3")?3:n.hasClass("blog-isotope-4")?4:4;t();jQuery(window).load(function(){setTimeout(function(){n.isotope({masonry:{},filter:"*",animationOptions:{duration:750,easing:"linear",queue:!1}});jQuery("#blog_filter>li>a").bind("click",function(t){t.preventDefault();jQuery("#blog_filter>li.active").removeClass("active");jQuery(this).parent("li").addClass("active");var i=jQuery(this).attr("data-filter");n.isotope({filter:i,animationOptions:{duration:750,easing:"linear",queue:!1}})})},50);setTimeout(function(){n.isotope("layout")},300)});jQuery(window).resize(function(){window.afterResizeApp2&&clearTimeout(window.afterResizeApp2);window.afterResizeApp2=setTimeout(function(){t();setTimeout(function(){n.isotope("layout")},300)},300)})}}),jQuery(".box-flip").length>0&&(jQuery(".box-flip").each(function(){_height1=jQuery(".box1",this).outerHeight();_height2=jQuery(".box2",this).outerHeight();_height=_height1>=_height2?_height1:_height2;jQuery(this).css({"min-height":_height+"px"});jQuery(".box1",this).css({"min-height":_height+"px"});jQuery(".box2",this).css({"min-height":_height+"px"})}),jQuery(".box-flip").hover(function(){jQuery(this).addClass("flip")},function(){jQuery(this).removeClass("flip")})),jQuery("div.sticky-side").length>0)&&(n=jQuery("div.sticky-side"),_h=n.height()/2,n.css({"margin-top":"-"+_h+"px"}));jQuery(".incr").bind("click",function(n){n.preventDefault();var t=jQuery(this).attr("data-for"),r=parseInt(jQuery(this).attr("data-max")),i=parseInt(jQuery("#"+t).val());r>i&&jQuery("#"+t).val(i+1)});jQuery(".decr").bind("click",function(n){n.preventDefault();var t=jQuery(this).attr("data-for"),r=parseInt(jQuery(this).attr("data-min")),i=parseInt(jQuery("#"+t).val());i>r&&jQuery("#"+t).val(i-1)});jQuery("a.toggle-default").bind("click",function(n){n.preventDefault();var t=jQuery(this).attr("href");jQuery(t).is(":hidden")?(jQuery(t).slideToggle(200),jQuery("i.fa",this).removeClass("fa-plus-square").addClass("fa-minus-square")):(jQuery(t).slideToggle(200),jQuery("i.fa",this).removeClass("fa-minus-square").addClass("fa-plus-square"))});r=jQuery("input[type=file]");r.length>0&&loadScript(plugin_path+"custom.fle_upload.js");jQuery("textarea.word-count").on("keyup",function(){var n=jQuery(this),i=this.value.match(/\S+/g).length,r=n.attr("data-maxlength")||200,u,t,f;i>parseInt(r)?(u=n.val().split(/\s+/,200).join(" "),n.val(u+" ")):(t=n.attr("data-info"),""==t||void 0==t?(f=n.next("div"),jQuery("span",f).text(i+"/"+r)):jQuery("#"+t).text(i+"/"+r))})}function _stickyFooter(){function n(){t=i.height();r=jQuery(window).scrollTop()+jQuery(window).height()-t+"px";jQuery(document.body).height()+t>jQuery(window).height()?i.css({position:"absolute"}).stop().animate({top:r},0):i.css({position:"static"})}if(jQuery("#footer").hasClass("sticky")){var t=0,r=0,i=jQuery("#footer.sticky");n();jQuery(window).scroll(n).resize(n)}}function _countDown(){var n=jQuery(".countdown"),t=jQuery(".countdown-download");(n.length>0||t.length>0)&&loadScript(plugin_path+"countdown/jquery.countdown.pack.min.js",function(){n.each(function(){var t=jQuery(this),i=t.attr("data-from"),n=t.attr("data-labels"),r;(n&&(n=n.split(",")),i)&&(r=new Date(i),jQuery(this).countdown({until:new Date(r),labels:n||["Years","Months","Weeks","Days","Hours","Minutes","Seconds"]}))});t.bind("click",function(n){n.preventDefault();var t=jQuery(this),i=t.attr("data-for"),r=jQuery("#"+i+" span.download-wait>.countdown"),u=parseInt(t.attr("data-seconds")),f=t.attr("href");return t.fadeOut(250,function(){jQuery("#"+i).fadeIn(250,function(){var n=new Date;n.setSeconds(n.getSeconds()+u);r.countdown({until:n,format:"S",expiryUrl:f,onExpiry:function(){jQuery("#"+i+" span.download-message").removeClass("hide");jQuery("#"+i+" span.download-wait").addClass("hide")}})})}),!1})})}function _masonryGallery(){jQuery(".masonry-gallery").length>0&&jQuery(".masonry-gallery").each(function(){var n=jQuery(this),t=4;n.hasClass("columns-2")?t=2:n.hasClass("columns-3")?t=3:n.hasClass("columns-4")?t=4:n.hasClass("columns-5")?t=5:n.hasClass("columns-6")&&(t=6);var u=n.find("a:eq(0)").outerWidth(),i=n.attr("data-img-big"),f=n.width(),r=f/t;r=Math.floor(r);r*t>=f&&n.css({"margin-right":"-1px"});6>t&&n.children("a").css({width:r+"px"});parseInt(i)>0&&(i=Number(i)-1,n.find("a:eq("+i+")").css({width:2*u+"px"}),loadScript(plugin_path+"isotope/dist/isotope.pkgd.min.js",function(){setTimeout(function(){n.isotope({masonry:{columnWidth:u}});n.isotope("layout")},1e3)}))})}function _toastr(n,t,i,r){var u=jQuery(".toastr-notify");(u.length>0||0!=n)&&loadScript(plugin_path+"toastr/toastr.js",function(){u.bind("click",function(n){n.preventDefault();var t=jQuery(this).attr("data-message"),i=jQuery(this).attr("data-notifyType")||"default",r=jQuery(this).attr("data-position")||"top-right",u="true"==jQuery(this).attr("data-progressBar")?!0:!1,f="true"==jQuery(this).attr("data-closeButton")?!0:!1,e="true"==jQuery(this).attr("data-debug")?!0:!1,o="true"==jQuery(this).attr("data-newestOnTop")?!0:!1,s="true"==jQuery(this).attr("data-preventDuplicates")?!0:!1,h=jQuery(this).attr("data-showDuration")||"300",c=jQuery(this).attr("data-hideDuration")||"1000",l=jQuery(this).attr("data-timeOut")||"5000",a=jQuery(this).attr("data-extendedTimeOut")||"1000",v=jQuery(this).attr("data-showEasing")||"swing",y=jQuery(this).attr("data-hideEasing")||"linear",p=jQuery(this).attr("data-showMethod")||"fadeIn",w=jQuery(this).attr("data-hideMethod")||"fadeOut";toastr.options={closeButton:f,debug:e,newestOnTop:o,progressBar:u,positionClass:"toast-"+r,preventDuplicates:s,onclick:null,showDuration:h,hideDuration:c,timeOut:l,extendedTimeOut:a,showEasing:v,hideEasing:y,showMethod:p,hideMethod:w};toastr[i](t)});0!=n&&(onclick=0!=r?function(){window.location=r}:null,toastr.options={closeButton:!0,debug:!1,newestOnTop:!1,progressBar:!0,positionClass:"toast-"+t,preventDuplicates:!1,onclick:onclick,showDuration:"300",hideDuration:"1000",timeOut:"5000",extendedTimeOut:"1000",showEasing:"swing",hideEasing:"linear",showMethod:"fadeIn",hideMethod:"fadeOut"},setTimeout(function(){toastr[i](n)},1500))})}function _charts(){var n=jQuery(".piechart");n.length>0&&loadScript(plugin_path+"chart.easypiechart/dist/jquery.easypiechart.min.js",function(){jQuery(".piechart").each(function(){var t=jQuery(this),n=t.attr("data-size")||150,i=t.attr("data-animate")||"3000";t.easyPieChart({size:n,animate:i,scaleColor:!1,trackColor:t.attr("data-trackcolor")||"rgba(0,0,0,0.04)",lineWidth:t.attr("data-width")||"2",lineCap:"square",barColor:t.attr("data-color")||"#0093BF"});jQuery("span",this).attr("style","line-height:"+n+"px !important; height:"+n+"px; width:"+n+"px");jQuery("i",this).attr("style","line-height:"+n+"px !important; height:"+n+"px; width:"+n+"px")})})}function _select2(){var n=jQuery("select.select2");n.length>0&&loadScript(plugin_path+"select2/js/select2.full.min.js",function(){jQuery().select2&&jQuery("select.select2").select2()})}function _form(){jQuery("form.validate-plugin").length>0&&loadScript(plugin_path+"jquery.form.validate/jquery.form.validate.js",function(){loadScript(plugin_path+"jquery.form.validate/jquery.form.validate.js")});jQuery("form.validate").length>0&&loadScript(plugin_path+"jquery.form.validate/jquery.form.validate.js",function(){loadScript(plugin_path+"jquery.form.validate/jquery.form.validate.js",function(){jQuery().validate&&jQuery("form.validate").each(function(){var n=jQuery(this),i=n.attr("data-success")||"Successfully! Thank you!",t=(n.attr("data-captcha")||"Invalid Captcha!",n.attr("data-toastr-position")||"top-right"),r=n.attr("data-toastr-type")||"success";_Turl=n.attr("data-toastr-url")||!1;n.append('<input type="hidden" name="is_ajax" value="true" />');n.validate({submitHandler:function(n){jQuery(n).find(".input-group-addon").find(".fa-envelope").removeClass("fa-envelope").addClass("fa-refresh fa-spin");jQuery(n).ajaxSubmit({target:jQuery(n).find(".validate-result").length>0?jQuery(n).find(".validate-result"):"",error:function(){_toastr("Sent Failed!",t,"error",!1)},success:function(u){var u=u.trim();"_failed_"==u?_toastr("SMTP ERROR! Please, check your config file!",t,"error",!1):"_captcha_"==u?_toastr("Invalid Captcha!",t,"error",!1):(jQuery(n).find(".input-group-addon").find(".fa-refresh").removeClass("fa-refresh fa-spin").addClass("fa-envelope"),jQuery(n).find("input.form-control").val(""),_toastr(i,t,r,_Turl))}})}})})})});var n=jQuery("input.masked");n.length>0&&loadScript(plugin_path+"form.masked/jquery.maskedinput.js",function(){n.each(function(){var n=jQuery(this);_format=n.attr("data-format")||"(999) 999-999999";_placeholder=n.attr("data-placeholder")||"X";jQuery.mask.definitions.f="[A-Fa-f0-9]";n.mask(_format,{placeholder:_placeholder})})})}function _pickers(){var r=jQuery(".datepicker"),n,t,i;r.length>0&&loadScript(plugin_path+"bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js",function(){jQuery().datepicker&&r.each(function(){var n=jQuery(this),t=n.attr("data-lang")||"en";"en"!=t&&""!=t&&loadScript(plugin_path+"bootstrap.datepicker/dist/locales/bootstrap-datepicker."+t+".min.js");jQuery(this).datepicker({format:n.attr("data-format")||"yyyy-mm-dd",language:t,rtl:"true"==n.attr("data-RTL")?!0:!1,changeMonth:"false"==n.attr("data-changeMonth")?!1:!0,todayBtn:"false"==n.attr("data-todayBtn")?!1:"linked",calendarWeeks:"false"==n.attr("data-calendarWeeks")?!1:!0,autoclose:"false"==n.attr("data-autoclose")?!1:!0,todayHighlight:"false"==n.attr("data-todayHighlight")?!1:!0,onRender:function(){}}).on("changeDate",function(){}).data("datepicker")})});n=jQuery(".rangepicker");n.length>0&&loadScript(plugin_path+"bootstrap.daterangepicker/moment.min.js",function(){loadScript(plugin_path+"bootstrap.daterangepicker/daterangepicker.js",function(){jQuery().datepicker&&n.each(function(){var n=jQuery(this),t=n.attr("data-format").toUpperCase()||"YYYY-MM-DD";n.daterangepicker({format:t,startDate:n.attr("data-from"),endDate:n.attr("data-to"),ranges:{Today:[moment(),moment()],Yesterday:[moment().subtract(1,"days"),moment().subtract(1,"days")],"Last 7 Days":[moment().subtract(6,"days"),moment()],"Last 30 Days":[moment().subtract(29,"days"),moment()],"This Month":[moment().startOf("month"),moment().endOf("month")],"Last Month":[moment().subtract(1,"month").startOf("month"),moment().subtract(1,"month").endOf("month")]}},function(){})})})});t=jQuery(".timepicker");t.length>0&&loadScript(plugin_path+"timepicki/timepicki.min.js",function(){jQuery().timepicki&&t.timepicki()});i=jQuery(".colorpicker");i.length>0&&loadScript(plugin_path+"spectrum/spectrum.min.js",function(){jQuery().spectrum&&i.each(function(){var n=jQuery(this),r=n.attr("data-format")||"hex",i=n.attr("data-palletteOnly")||"false",f=n.attr("data-fullpicker")||"false",t=n.attr("data-allowEmpty")||!1,u;u=(_flat=n.attr("data-flat")||!1,"true"==i||"true"==f)?[["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]]:null;_color=n.attr("data-defaultColor")?n.attr("data-defaultColor"):"#ff0000";n.attr("data-defaultColor")||"true"!=t||(_color=null);n.spectrum({showPaletteOnly:"true"==i?!0:!1,togglePaletteOnly:"true"==i?!0:!1,flat:"true"==_flat?!0:!1,showInitial:"true"==t?!0:!1,showInput:"true"==t?!0:!1,allowEmpty:"true"==t?!0:!1,chooseText:n.attr("data-chooseText")||"Coose",cancelText:n.attr("data-cancelText")||"Cancel",color:_color,showInput:!0,showPalette:!0,preferredFormat:r,showAlpha:"rgb"==r?!0:!1,palette:u})})})}function _editors(){var t=jQuery("textarea.summernote"),n;t.length>0&&loadScript(plugin_path+"editor.summernote/summernote.min.js",function(){jQuery().summernote&&t.each(function(){var n=jQuery(this).attr("data-lang")||"en-US";"en-US"!=n&&(alert(n),loadScript(plugin_path+"editor.summernote/lang/summernote-"+n+".js"));jQuery(this).summernote({height:jQuery(this).attr("data-height")||200,lang:jQuery(this).attr("data-lang")||"en-US",toolbar:[["style",["style"]],["fontsize",["fontsize"]],["style",["bold","italic","underline","strikethrough","clear"]],["color",["color"]],["para",["ul","ol","paragraph"]],["table",["table"]],["media",["link","picture","video"]],["misc",["codeview","fullscreen","help"]]]})})});n=jQuery("textarea.markdown");n.length>0&&loadScript(plugin_path+"editor.markdown/js/bootstrap-markdown.min.js",function(){jQuery().markdown&&n.each(function(){var n=jQuery(this),t=n.attr("data-lang")||"en";"en"!=t&&loadScript(plugin_path+"editor.markdown/locale/bootstrap-markdown."+t+".js");jQuery(this).markdown({autofocus:"true"==n.attr("data-autofocus")?!0:!1,savable:"true"==n.attr("data-savable")?!0:!1,height:n.attr("data-height")||"inherit",language:"en"==t?null:t})})})}function _pajinate(){var n=jQuery("div.pajinate");n.length>0&&loadScript(plugin_path+"pajinate/jquery.pajinate.bootstrap.min.js",function(){jQuery().pajinate&&n.each(function(){var n=jQuery(this),t=n.attr("data-pajinante-items-per-page")||8;_numLinks=n.attr("data-pajinante-num-links")||5;n.pajinate({items_per_page:parseInt(t),num_page_links_to_display:parseInt(_numLinks),item_container_id:n.attr("data-pajinate-container")||".pajinate-container",nav_panel_id:".pajinate-nav ul",show_first_last:!1,wrap_around:!0,abort_on_small_lists:!0,start_page:0,nav_label_prev:"&laquo;",nav_label_next:"&raquo;"})})})}function _infiniteScroll(){var n=jQuery(".infinite-scroll");n.length>0&&loadScript(plugin_path+"infinite-scroll/jquery.infinitescroll.min.js",function(){_navSelector=n.attr("data-nextSelector")||"#inf-load-nex";_itemSelector=n.attr("data-itemSelector")||".item";_nextSelector=_navSelector+" a";n.infinitescroll({loading:{finishedMsg:'<i class="fa fa-check"><\/i>',msgText:'<i class="fa fa-refresh fa-spin"><\/i>',img:"data:image/gif;base64,R0lGODlhGAAYAPUAABQSFCwuLBwaHAwKDKyurGxqbNze3CwqLCQmJLS2tOzu7OTi5JyenBweHBQWFJyanPz+/HRydLSytFxeXPz6/ExOTKSmpFRSVHR2dAwODAQCBOzq7PTy9ISChPT29IyKjIyOjISGhOTm5GRiZJSWlJSSlFRWVMTCxNza3ExKTNTS1KyqrHx6fGRmZKSipMzOzMTGxDQyNDw+PAQGBDQ2NERCRFxaXMzKzGxubDw6PCQiJLy+vERGRLy6vHx+fNTW1CH/C05FVFNDQVBFMi4wAwEAAAAh+QQJBQAAACwAAAAAGAAYAEAGqECAcAhoRAiojQJFiAiI0Kh0qOsZOhqhDMK9ZadgAI0WBmhAXAhFVm5HbZR0aTYdsFpSkwqjo5sRLAtpIjxuUzZpECmGjI1QA4JcKH5lGVICDHFpGyoqGx4uDWENFh4iKjcbiR4MT1ItLJSPJWkUNo9uAyhpBpaOGjdpOY7ExcYaIQs9OsUpibfENZoQIF9gY1EpqlwiLAh+M4AqJmUCOBJJGz8EOKJRQQAh+QQJBQABACwAAAAAGAAYAAAGp8CAcBhoRBILDgdFKAiI0KHAB5rUZBUWDALxMJ5R4SCmiWpoJ67iEm4TZx0upOCuB1jyir2tuXE3DnthE3IlglENchwDh0QDG3ITjUQ7ciGTQxFybJgBGkcYGhoYPaGdARdyOKchcjunhH8znQAccmCYJZGnDpAQN2WdFXI+pwEFch2znRe+MDTBbzGMbQIPHlwwLBcyNSMgLIF2Ai0WKAocBhI4uERBACH5BAkFACwALAAAAAAYABgAAAaoQJZwyNIEJiAJCpWICIjQKFGD6Gw8D4d0C3UQIJsKd1wsQSgFMldjgUAu6q1jA27EpRg34x5FUCAeT3xDAx5uBQAMJyZ8GRxuFiRuFAF3B24QKguYE3cpmAubbil3I5gGKpgIdwF/EA9tgAN8JicMGQVuHLODQgKGEKu9QgxuGMNCDQpgAMgsF38rGs4Ffx/TyBUiECtayAIPHgohAdi9DRFKTCAj5VJBACH5BAkFAAAALAAAAAAYABgAAAa0QIBwSAQMaphHoVFsOoezlsEleFqJDsnmcu1qLJBW9zpQUSpjqwyycQgPBAIiLYRBGIDMAgJRaegREB4CE3wQFAN0NHwRYHwwdAANfBIqhlx0AXwGCnx+kQV8Cp0QBZEaL3wbBnwBkReGKgl8TGkadnwugRA0dBkUhhMNHhARdBqWEAsZAAwQkHQIEgQHQgIbFDKRTRUUL4nbRC0QFjPhRBcbEm7nQg0uBi3g7Q0RDxEyzFdBACH5BAkFAAgALAAAAAAYABgAAAaxQIRwSCwKHMWkssgLCZbQYmNnUgpMh6gQoIoUZQqIh6ZFHDjV7QLCLpURIcUTAWKzvWUBhYFwcOwnA28IOx4CBXY3AIMIJRAFEmwoSIwYEAQGbDWMQiwQBh4QKpxCjhyhbqQqEByZLKQ1bAaRr4wOKGwSiKlvADd2BQIeJ4MDJ3YcSA8UlFqWdiBCAgohbyR2C4tCJhwBZTQUEAo5RQUqzVAHJuhDJjsNpFIhKfFG7FFBACH5BAkFAAAALAAAAQAYABYAAAa3QIBQmEnlNMOkcgmoGSCQEJNIY048UIhhKqS1lClKFtLjClmmoWAzvunMgJmqIWRkDTYkHIBxARpiECUDe0MIHg0RUCV6hQAaGxESEAszjkkvEk8sl0kqKgoQCJ1CGiIKChuNlwcQCigvpGcQKBKxpAMLEBI4IpaXGiVQODoeb44DwhAUAgAuGIUaEyhZDEINKr9cCDdjG81CJpxmO2MUPEojVVy6UBQ2TDGEUyFQCzKyjzk880NBACH5BAkFAAEALAAAAAAYABgAAAazwIBwGABMOhcNcckUOkoKiJTVrAYqG6k2YWXiKFptpEs0gbWbXmFmHQwbWcjNJlCSYwIhQ9qxk4UaVAIeEB1/TCANBRAnfodCExEEEDSPSzUJKCeWSzQGHBicRBUcHimiQywKC5WoGjAoCTKoATQUBBETqDMnEAUNH6ghEBQOAT6OZBo+UgxCAjF/Mw0TN1IKeUJuVTMFPSJhEBePGOHEBZYJ4SI8nCxaHB/GnBoXISYATUEAIfkECQUAKgAsAAAAABgAGAAABqpAlXCoErQsr4WBlCE6nQ2XB0Ktup5Yk6LKhZywzgKlyplSKRfwsELdYA6DDCI1OaiFgg2EALirHxAfGn5gDR4rg4RPGhEbDopYAQkdkFgjBnaVTiEoiZpDCQmfRBooIKNDBwYjqEIdCQGtDgoFnpoaEh4NqBogEA+oDisQjn4xExUIAAMILCIQFBV+JmNUHh7VEAWEMF1VCmmELt4UDAKQGSUoCy8WI+dPQQAh+QQJBQAJACwAAAAAGAAYAAAGrMCEcJhoRCQoxUblmmSI0KGA4YFYr9bFIUqsbLBgK4ErLFAosEiuESi8sBKyifKqRTWXk+el4zYULgNkQhkaZBYShoOLOigAi5ARE5CQDzOUixGYi3abXANPnlE5olyapUQzD6hELaesDgYNrAkzEi5kMwOKnxYbs1EIKh4wF5dQNSoQF2QSWC8FATo0GDcUHi2DBGFgGymLBwvcEBQPDpQZNi4qGxsoEjgCXEEAIfkEBQUACAAsAAAAABgAGAAABqZAhHCIEBQIBg/HICk4iNCh4OGBWK9WTgkQHZoUlFMJwyKpsJCFrBvhhJ7QGgqrgA9tr0BX6HhhTUQNO3Z7ADBWFAdEIQJ7UAMRJTREAjyOl0MNmJucnZ6foKGio6SdmqQphDljA5wCIUQBVRAwXJcAO6dCJlg3tl0BPxdQAgpYKDVRAh8cOF05C2g/JSw+JTAeCsOFJRxoVx4PjZgORygcHCgETl1BADs=",speed:"normal"},nextSelector:_nextSelector,navSelector:_navSelector,itemSelector:_itemSelector,behavior:"",state:{isDone:!1}},function(t){Init(!0);jQuery().isotope&&(n.isotope("appended",jQuery(t)),setTimeout(function(){n.isotope("layout")},2e3))})})}function _zoom(){var n=jQuery("figure.zoom");n.length>0&&loadScript(plugin_path+"image.zoom/jquery.zoom.min.js",function(){jQuery().zoom&&n.each(function(){var n=jQuery(this),i=n.attr("data-mode"),t=n.attr("id");"grab"==i?n.zoom({on:"grab"}):"click"==i?n.zoom({on:"click"}):"toggle"==i?n.zoom({on:"toggle"}):n.zoom();t&&jQuery(".zoom-more[data-for="+t+"] a").bind("click",function(n){n.preventDefault();var i=jQuery(this).attr("href");"#"!=i&&(jQuery(".zoom-more[data-for="+t+"] a").removeClass("active"),jQuery(this).addClass("active"),jQuery("figure#"+t+">.lightbox").attr("href",i),jQuery("figure#"+t+">img").fadeOut(0,function(){jQuery("figure#"+t+">img").attr("src",i)}).fadeIn(500))})})})}function _autosuggest(){_container=jQuery("div.autosuggest");_container.length>0&&loadScript(plugin_path+"typeahead.bundle.js",function(){jQuery().typeahead&&_container.each(function(){var n=jQuery(this),r=n.attr("data-minLength")||1,u=n.attr("data-queryURL"),t=n.attr("data-limit")||10,f=n.attr("data-autoload"),i;if("false"==f)return!1;i=new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("value"),queryTokenizer:Bloodhound.tokenizers.whitespace,limit:t,remote:{url:u+"%QUERY"}});jQuery(".typeahead",n).typeahead({limit:t,hint:"false"==n.attr("data-hint")?!1:!0,highlight:"false"==n.attr("data-highlight")?!1:!0,minLength:parseInt(r),cache:!1},{name:"_typeahead",source:i})})})}function _stepper(){var n=jQuery("input.stepper");n.length>0&&loadScript(plugin_path+"form.stepper/jquery.stepper.min.js",function(){jQuery().stepper&&jQuery(n).each(function(){var n=jQuery(this),t=n.attr("min")||null,i=n.attr("max")||null;n.stepper({limit:[t,i],floatPrecission:n.attr("data-floatPrecission")||2,wheel_step:n.attr("data-wheelstep")||.1,arrow_step:n.attr("data-arrowstep")||.2,allowWheel:"false"==n.attr("data-mousescrool")?!1:!0,UI:"false"==n.attr("data-UI")?!1:!0,type:n.attr("data-type")||"float",preventWheelAcceleration:"false"==n.attr("data-preventWheelAcceleration")?!1:!0,incrementButton:n.attr("data-incrementButton")||"&blacktriangle;",decrementButton:n.attr("data-decrementButton")||"&blacktriangledown;",onStep:null,onWheel:null,onArrow:null,onButton:null,onKeyUp:null})})})}function _slimScroll(){var n=jQuery(".slimscroll");n.length>0&&loadScript(plugin_path+"slimscroll/jquery.slimscroll.min.js",function(){jQuery().slimScroll&&jQuery(".slimscroll").each(function(){var n;n=jQuery(this).attr("data-height")?jQuery(this).attr("data-height"):jQuery(this).height();jQuery(this).slimScroll({size:jQuery(this).attr("data-size")||"5px",opacity:jQuery(this).attr("data-opacity")||.6,position:jQuery(this).attr("data-position")||"right",allowPageScroll:!0,disableFadeOut:!1,railVisible:!0,railColor:jQuery(this).attr("data-railColor")||"#222",railOpacity:jQuery(this).attr("data-railOpacity")||.05,alwaysVisible:"false"!=jQuery(this).attr("data-alwaysVisible")?!0:!1,railVisible:"false"!=jQuery(this).attr("data-railVisible")?!0:!1,color:jQuery(this).attr("data-color")||"#333",wrapperClass:jQuery(this).attr("data-wrapper-class")||"slimScrollDiv",railColor:jQuery(this).attr("data-railColor")||"#eaeaea",height:n});"true"==jQuery(this).attr("disable-body-scroll")&&jQuery(this).bind("mousewheel DOMMouseScroll",function(n){var t=null;"mousewheel"==n.type?t=-1*n.originalEvent.wheelDelta:"DOMMouseScroll"==n.type&&(t=40*n.originalEvent.detail);t&&(n.preventDefault(),jQuery(this).scrollTop(t+jQuery(this).scrollTop()))})})})}function _modalAutoLoad(){jQuery("div.modal").length>0&&jQuery("div.modal").each(function(){var t=jQuery(this),n=t.attr("id"),i=t.attr("data-autoload")||!1;""!=n&&"hidden"==localStorage.getItem(n)&&(i="false");"true"==i&&jQuery(window).load(function(){var n=t.attr("data-autoload-delay")||1e3;setTimeout(function(){t.modal("toggle")},parseInt(n))});jQuery("input.loadModalHide",this).bind("click",function(){var t=jQuery(this);t.is(":checked")?(localStorage.setItem(n,"hidden"),console.log("[Modal Autoload #"+n+"] Added to localStorage")):(localStorage.removeItem(n),console.log("[Modal Autoload #"+n+"] Removed from localStorage"))})})}function _bgimage(){var n=jQuery("body").attr("data-background")||"";""!=n&&loadScript(plugin_path+"jquery.backstretch.min.js",function(){n&&(jQuery.backstretch(n),jQuery("body").addClass("transparent"))})}function _widget_flickr(){var n=jQuery(".widget-flickr");n.length>0&&loadScript(plugin_path+"widget.jflickr/jflickrfeed.min.js",function(){jQuery().jflickrfeed&&jQuery(".widget-flickr")&&n.each(function(){var n=jQuery(this),t=n.attr("data-id"),i=n.attr("data-limit")||14;n.jflickrfeed({limit:parseInt(i),qstrings:{id:t},itemTemplate:'<li><a href="{{image}}" title="{{title}}"><img src="{{image_s}}" alt="{{title}}" width="63" height="63" /><\/a><\/li>'},function(){_lightbox()})})})}function _widget_twitter(){var n=jQuery(".widget-twitter");n.length>0&&loadScript(plugin_path+"widget.twittie/twittie.min.js",function(){jQuery().twittie&&n.each(function(){var n=jQuery(this),t=n.attr("data-php"),i=n.attr("data-username"),r=n.attr("data-limit")||3,u=t+"?username="+i+"&limit="+r;jQuery.getJSON(u,function(t){n.html(format_twitter(t))})})})}function format_twitter(n){for(var r,u,i=[],t=0;t<n.length;t++)r=n[t].user.screen_name,u=n[t].text.replace(/((https?|s?ftp|ssh)\:\/\/[^"\s\<\>]*[^.,;'">\:\s\<\>\)\]\!])/g,function(n){return'<a href="'+n+'" target="_blank">'+n+"<\/a>"}).replace(/\B@([_a-z0-9]+)/gi,function(n){return n.charAt(0)+'<a href="http://twitter.com/'+n.substring(1)+'" target="_blank">'+n.substring(1)+"<\/a>"}),i.push('<li><i class="fa fa-twitter"><\/i><span>'+u+'<\/span><small><a href="http://twitter.com/'+r+"/statuses/"+n[t].id_str+'" target="_blank">'+relative_time(n[t].created_at)+"<\/a><\/small><\/li>");return i.join("")}function relative_time(n){var i=n.split(" "),u=Date.parse(n),r=arguments.length>1?arguments[1]:new Date,t=parseInt((r.getTime()-u)/1e3);return n=i[1]+" "+i[2]+", "+i[5]+" "+i[3],t+=60*r.getTimezoneOffset(),60>t?"less than a minute ago":120>t?"about a minute ago":3600>t?parseInt(t/60).toString()+" minutes ago":7200>t?"about an hour ago":86400>t?"about "+parseInt(t/3600).toString()+" hours ago":172800>t?"1 day ago":parseInt(t/86400).toString()+" days ago"}function _widget_facebook(){var n=jQuery("div.fb-like"),t=jQuery("div.fb-share-button");(n.length>0||t.length>0)&&(jQuery("body").append('<div id="fb-root"><\/div>'),function(n,t,i){var r,u=n.getElementsByTagName(t)[0];n.getElementById(i)||(r=n.createElement(t),r.id=i,r.src="//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3",u.parentNode.insertBefore(r,u))}(document,"script","facebook-jssdk"))}function _widget_dribbble(){var n=jQuery(".widget-dribbble");n.length>0&&loadScript(plugin_path+"widget.dribbble/jribbble.min.js",function(){var t=n.attr("data-token")||"f688ac519289f19ce5cebc1383c15ad5c02bd58205cd83c86cbb0ce09170c1b4",i=n.attr("data-target")||"_blank",r=n.attr("data-shots")||2046896;jQuery.jribbble.setToken(t);jQuery.jribbble.shots(r).rebounds().then(function(t){var r=[];t.forEach(function(n){r.push("<li>");r.push('<a href="'+n.html_url+'" target="'+i+'">');r.push('<img class="img-responsive" src="'+n.images.normal+'" alt="image">');r.push("<\/a><\/li>")});n.html(r.join(""))})})}function _widget_media(){var n=jQuery(".widget-media");n.length>0&&loadScript(plugin_path+"widget.mediaelementbuild/mediaelement-and-player.min.js",function(){})}function wheel(n){n.preventDefault()}function disable_scroll(){window.addEventListener&&window.addEventListener("DOMMouseScroll",wheel,!1);window.onmousewheel=document.onmousewheel=wheel}function enable_scroll(){window.removeEventListener&&window.removeEventListener("DOMMouseScroll",wheel,!1);window.onmousewheel=document.onmousewheel=document.onkeydown=null}function _disable_tabnabbing(){$('a[target="_blank"]').attr("rel","noopener noreferrer")}function enable_overlay(){jQuery("span.global-overlay").remove();jQuery("body").append('<span class="global-overlay"><\/span>')}function disable_overlay(){jQuery("span.global-overlay").remove()}(function(n,t){function lt(n){for(var u=[],i,r=window.location.href.slice(window.location.href.indexOf(n)+1).split("_"),t=0;t<r.length;t++)r[t]=r[t].replace("%3D","="),i=r[t].split("="),u.push(i[0]),u[i[0]]=i[1];return u}function v(i,r){var u,f,h,e,c;try{r.hideThumbsUnderResoluition!=0&&r.navigationType=="thumb"&&(r.hideThumbsUnderResoluition>n(window).width()?n(".tp-bullets").css({display:"none"}):n(".tp-bullets").css({display:"block"}))}catch(l){}i.find(".defaultimg").each(function(){o(n(this),r)});u=i.parent();n(window).width()<r.hideSliderAtLimit?(i.trigger("stoptimer"),u.css("display")!="none"&&u.data("olddisplay",u.css("display")),u.css({display:"none"})):i.is(":hidden")&&(u.data("olddisplay")!=t&&u.data("olddisplay")!="undefined"&&u.data("olddisplay")!="none"?u.css({display:u.data("olddisplay")}):u.css({display:"block"}),i.trigger("restarttimer"),setTimeout(function(){v(i,r)},150));f=0;r.forceFullWidth=="on"&&(f=0-r.container.parent().offset().left);try{i.parent().find(".tp-bannershadow").css({width:r.width,left:f})}catch(l){}h=i.find(">ul >li:eq("+r.act+") .slotholder");e=i.find(">ul >li:eq("+r.next+") .slotholder");it(i,r);e.find(".defaultimg").css({opacity:0});h.find(".defaultimg").css({opacity:1});e.find(".defaultimg").each(function(){var u=n(this);u.data("kenburn")!=t&&(u.data("kenburn").restart(),ut(i,r,!0))});c=i.find(">ul >li:eq("+r.next+")");st(c,r,!0);s(i,r)}function f(){var n=["android","webos","iphone","ipad","blackberry","Android","webos",,"iPod","iPhone","iPad","Blackberry","BlackBerry"],t=!1;for(i in n)navigator.userAgent.split(n[i]).length>1&&(t=!0);return t}function u(t,i){var r=n('<div style="display:none;"/>').appendTo(n("body")),u;return r.html("<!--[if "+(i||"")+" IE "+(t||"")+"]><a>&nbsp;<\/a><![endif]-->"),u=r.find("a").length,r.remove(),u}function e(n,t){w(t,n)}function at(i,r){var s=i.parent(),u,f,o,h,c;(r.navigationType=="thumb"||r.navsecond=="both")&&s.append('<div class="tp-bullets tp-thumbs '+r.navigationStyle+'"><div class="tp-mask"><div class="tp-thumbcontainer"><\/div><\/div><\/div>');u=s.find(".tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer");f=u.parent();f.width(r.thumbWidth*r.thumbAmount);f.height(r.thumbHeight);f.parent().width(r.thumbWidth*r.thumbAmount);f.parent().height(r.thumbHeight);i.find(">ul:first >li").each(function(n){var f=i.find(">ul:first >li:eq("+n+")"),o=f.find(".defaultimg").css("backgroundColor"),e,s;e=f.data("thumb")!=t?f.data("thumb"):f.find("img:first").attr("src");u.append('<div class="bullet thumb" style="background-color:'+o+";position:relative;width:"+r.thumbWidth+"px;height:"+r.thumbHeight+"px;background-image:url("+e+') !important;background-size:cover;background-position:center center;"><\/div>');s=u.find(".bullet:first")});o=10;u.find(".bullet").each(function(t){var u=n(this);t==r.slideamount-1&&u.addClass("last");t==0&&u.addClass("first");u.width(r.thumbWidth);u.height(r.thumbHeight);o<u.outerWidth(!0)&&(o=u.outerWidth(!0));u.click(function(){r.transition==0&&u.index()!=r.act&&(r.next=u.index(),e(r,i))})});h=o*i.find(">ul:first >li").length;c=u.parent().width();r.thumbWidth=o;c<h&&(n(document).mousemove(function(t){n("body").data("mousex",t.pageX)}),u.parent().mouseenter(function(){var r=n(this),t;r.addClass("over");var o=r.offset(),f=n("body").data("mousex")-o.left,u=r.width(),s=r.find(".bullet:first").outerWidth(!0),e=s*i.find(">ul:first >li").length,h=e-u+15,c=h/u;f=f-30;t=0-f*c;t>0&&(t=0);t<0-e+u&&(t=0-e+u);y(r,t,200)}),u.parent().mousemove(function(){var f=n(this),o=f.offset(),t=n("body").data("mousex")-o.left,r=f.width(),s=f.find(".bullet:first").outerWidth(!0),e=s*i.find(">ul:first >li").length-1,h=e-r+15,c=h/r,u;t=t-3;t<6&&(t=0);t+3>r-6&&(t=r);u=0-t*c;u>0&&(u=0);u<0-e+r&&(u=0-e+r);y(f,u,0)}),u.parent().mouseleave(function(){var t=n(this);t.removeClass("over");g(i)}))}function g(n){var e=n.parent().find(".tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer"),t=e.parent(),h=t.offset(),u=t.find(".bullet:first").outerWidth(!0),o=t.find(".bullet.selected").index()*u,r=t.width(),u=t.find(".bullet:first").outerWidth(!0),f=u*n.find(">ul:first >li").length,s=f-r,c=s/r,i=0-o;i>0&&(i=0);i<0-f+r&&(i=0-f+r);t.hasClass("over")||y(t,i,200)}function y(n,t){TweenLite.to(n.find(".tp-thumbcontainer"),.2,{left:t,ease:Power3.easeOut,overwrite:"auto"})}function vt(t,i){(i.navigationType=="bullet"||i.navigationType=="both")&&t.parent().append('<div class="tp-bullets simplebullets '+i.navigationStyle+'"><\/div>');var r=t.parent().find(".tp-bullets");t.find(">ul:first >li").each(function(n){var u=t.find(">ul:first >li:eq("+n+") img:first").attr("src"),i;r.append('<div class="bullet"><\/div>');i=r.find(".bullet:first")});r.find(".bullet").each(function(r){var u=n(this);r==i.slideamount-1&&u.addClass("last");r==0&&u.addClass("first");u.click(function(){var n=!1;i.navigationArrows=="withbullet"||i.navigationArrows=="nexttobullets"?u.index()-1==i.act&&(n=!0):u.index()==i.act&&(n=!0);i.transition!=0||n||(i.next=i.navigationArrows=="withbullet"||i.navigationArrows=="nexttobullets"?u.index()-1:u.index(),e(i,t))})});r.append('<div class="tpclear"><\/div>');s(t,i)}function yt(n,i){var f=n.find(".tp-bullets"),r="",u=i.navigationStyle;i.navigationArrows=="none"&&(r="visibility:hidden;display:none");i.soloArrowStyle="default";i.navigationArrows!="none"&&i.navigationArrows!="nexttobullets"&&(u=i.soloArrowStyle);n.parent().append('<div style="'+r+'" class="tp-leftarrow tparrows '+u+'"><\/div>');n.parent().append('<div style="'+r+'" class="tp-rightarrow tparrows '+u+'"><\/div>');n.parent().find(".tp-rightarrow").click(function(){i.transition==0&&(i.next=n.data("showus")!=t&&n.data("showus")!=-1?n.data("showus")-1:i.next+1,n.data("showus",-1),i.next>=i.slideamount&&(i.next=0),i.next<0&&(i.next=0),i.act!=i.next&&e(i,n))});n.parent().find(".tp-leftarrow").click(function(){i.transition==0&&(i.next=i.next-1,i.leftarrowpressed=1,i.next<0&&(i.next=i.slideamount-1),e(i,n))});s(n,i)}function pt(i,r){n(document).keydown(function(n){r.transition==0&&n.keyCode==39&&(r.next=i.data("showus")!=t&&i.data("showus")!=-1?i.data("showus")-1:r.next+1,i.data("showus",-1),r.next>=r.slideamount&&(r.next=0),r.next<0&&(r.next=0),r.act!=r.next&&e(r,i));r.transition==0&&n.keyCode==37&&(r.next=r.next-1,r.leftarrowpressed=1,r.next<0&&(r.next=r.slideamount-1),e(r,i))});s(i,r)}function wt(t,i){if(i.touchenabled=="on"){var r=Hammer(t,{drag_block_vertical:i.drag_block_vertical,drag_lock_to_axis:!0,swipe_velocity:i.swipe_velocity,swipe_max_touches:i.swipe_max_touches,swipe_min_touches:i.swipe_min_touches,prevent_default:!1});r.on("swipeleft",function(){i.transition==0&&(i.next=i.next+1,i.next==i.slideamount&&(i.next=0),e(i,t))});r.on("swiperight",function(){i.transition==0&&(i.next=i.next-1,i.leftarrowpressed=1,i.next<0&&(i.next=i.slideamount-1),e(i,t))});r.on("swipeup",function(){n("html, body").animate({scrollTop:t.offset().top+t.height()+"px"})});r.on("swipedown",function(){n("html, body").animate({scrollTop:t.offset().top-n(window).height()+"px"})})}}function bt(n,t){var i=n.parent().find(".tp-bullets"),r=n.parent().find(".tparrows");if(i==null&&(n.append('<div class=".tp-bullets"><\/div>'),i=n.parent().find(".tp-bullets")),r==null&&(n.append('<div class=".tparrows"><\/div>'),r=n.parent().find(".tparrows")),n.data("hidethumbs",t.hideThumbs),i.addClass("hidebullets"),r.addClass("hidearrows"),f()){n.hammer().on("touch",function(){n.addClass("hovered");t.onHoverStop=="on"&&n.trigger("stoptimer");clearTimeout(n.data("hidethumbs"));i.removeClass("hidebullets");r.removeClass("hidearrows")});n.hammer().on("release",function(){n.removeClass("hovered");n.trigger("playtimer");n.hasClass("hovered")||i.hasClass("hovered")||n.data("hidethumbs",setTimeout(function(){i.addClass("hidebullets");r.addClass("hidearrows");n.trigger("playtimer")},t.hideNavDelayOnMobile))})}else{i.hover(function(){t.overnav=!0;t.onHoverStop=="on"&&n.trigger("stoptimer");i.addClass("hovered");clearTimeout(n.data("hidethumbs"));i.removeClass("hidebullets");r.removeClass("hidearrows")},function(){t.overnav=!1;n.trigger("playtimer");i.removeClass("hovered");n.hasClass("hovered")||i.hasClass("hovered")||n.data("hidethumbs",setTimeout(function(){i.addClass("hidebullets");r.addClass("hidearrows")},t.hideThumbs))});r.hover(function(){t.overnav=!0;t.onHoverStop=="on"&&n.trigger("stoptimer");i.addClass("hovered");clearTimeout(n.data("hidethumbs"));i.removeClass("hidebullets");r.removeClass("hidearrows")},function(){t.overnav=!1;n.trigger("playtimer");i.removeClass("hovered")});n.on("mouseenter",function(){n.addClass("hovered");t.onHoverStop=="on"&&n.trigger("stoptimer");clearTimeout(n.data("hidethumbs"));i.removeClass("hidebullets");r.removeClass("hidearrows")});n.on("mouseleave",function(){n.removeClass("hovered");n.trigger("playtimer");n.hasClass("hovered")||i.hasClass("hovered")||n.data("hidethumbs",setTimeout(function(){i.addClass("hidebullets");r.addClass("hidearrows")},t.hideThumbs))})}}function s(t,i){var s=t.parent(),f=s.find(".tp-bullets"),o,r,u,e;i.navigationType=="thumb"&&(f.find(".thumb").each(function(){var t=n(this);t.css({width:i.thumbWidth*i.bw+"px",height:i.thumbHeight*i.bh+"px"})}),o=f.find(".tp-mask"),o.width(i.thumbWidth*i.thumbAmount*i.bw),o.height(i.thumbHeight*i.bh),o.parent().width(i.thumbWidth*i.thumbAmount*i.bw),o.parent().height(i.thumbHeight*i.bh));r=s.find(".tp-leftarrow");u=s.find(".tp-rightarrow");i.navigationType=="thumb"&&i.navigationArrows=="nexttobullets"&&(i.navigationArrows="solo");i.navigationArrows=="nexttobullets"&&(r.prependTo(f).css({float:"left"}),u.insertBefore(f.find(".tpclear")).css({float:"left"}));e=0;i.forceFullWidth=="on"&&(e=0-i.container.parent().offset().left);i.navigationArrows!="none"&&i.navigationArrows!="nexttobullets"&&(r.css({position:"absolute"}),u.css({position:"absolute"}),i.soloArrowLeftValign=="center"&&r.css({top:"50%",marginTop:i.soloArrowLeftVOffset-Math.round(r.innerHeight()/2)+"px"}),i.soloArrowLeftValign=="bottom"&&r.css({top:"auto",bottom:0+i.soloArrowLeftVOffset+"px"}),i.soloArrowLeftValign=="top"&&r.css({bottom:"auto",top:0+i.soloArrowLeftVOffset+"px"}),i.soloArrowLeftHalign=="center"&&r.css({left:"50%",marginLeft:e+i.soloArrowLeftHOffset-Math.round(r.innerWidth()/2)+"px"}),i.soloArrowLeftHalign=="left"&&r.css({left:0+i.soloArrowLeftHOffset+e+"px"}),i.soloArrowLeftHalign=="right"&&r.css({right:0+i.soloArrowLeftHOffset-e+"px"}),i.soloArrowRightValign=="center"&&u.css({top:"50%",marginTop:i.soloArrowRightVOffset-Math.round(u.innerHeight()/2)+"px"}),i.soloArrowRightValign=="bottom"&&u.css({top:"auto",bottom:0+i.soloArrowRightVOffset+"px"}),i.soloArrowRightValign=="top"&&u.css({bottom:"auto",top:0+i.soloArrowRightVOffset+"px"}),i.soloArrowRightHalign=="center"&&u.css({left:"50%",marginLeft:e+i.soloArrowRightHOffset-Math.round(u.innerWidth()/2)+"px"}),i.soloArrowRightHalign=="left"&&u.css({left:0+i.soloArrowRightHOffset+e+"px"}),i.soloArrowRightHalign=="right"&&u.css({right:0+i.soloArrowRightHOffset-e+"px"}),r.position()!=null&&r.css({top:Math.round(parseInt(r.position().top,0))+"px"}),u.position()!=null&&u.css({top:Math.round(parseInt(u.position().top,0))+"px"}));i.navigationArrows=="none"&&(r.css({visibility:"hidden"}),u.css({visibility:"hidden"}));i.navigationVAlign=="center"&&f.css({top:"50%",marginTop:i.navigationVOffset-Math.round(f.innerHeight()/2)+"px"});i.navigationVAlign=="bottom"&&f.css({bottom:0+i.navigationVOffset+"px"});i.navigationVAlign=="top"&&f.css({top:0+i.navigationVOffset+"px"});i.navigationHAlign=="center"&&f.css({left:"50%",marginLeft:e+i.navigationHOffset-Math.round(f.innerWidth()/2)+"px"});i.navigationHAlign=="left"&&f.css({left:0+i.navigationHOffset+e+"px"});i.navigationHAlign=="right"&&f.css({right:0+i.navigationHOffset-e+"px"})}function o(i,r){var e,u,f;if(r.container.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").css({height:r.container.height()}),r.container.closest(".rev_slider_wrapper").css({height:r.container.height()}),r.width=parseInt(r.container.width(),0),r.height=parseInt(r.container.height(),0),r.bw=r.width/r.startwidth,r.bh=r.height/r.startheight,r.bh>r.bw&&(r.bh=r.bw),r.bh<r.bw&&(r.bw=r.bh),r.bw<r.bh&&(r.bh=r.bw),r.bh>1&&(r.bw=1,r.bh=1),r.bw>1&&(r.bw=1,r.bh=1),r.height=Math.round(r.startheight*(r.width/r.startwidth)),r.height>r.startheight&&r.autoHeight!="on"&&(r.height=r.startheight),r.fullScreen=="on"){if(r.height=r.bw*r.startheight,e=r.container.parent().width(),u=n(window).height(),r.fullScreenOffsetContainer!=t)try{f=r.fullScreenOffsetContainer.split(",");n.each(f,function(t,i){u=u-n(i).outerHeight(!0);u<r.minFullScreenHeight&&(u=r.minFullScreenHeight)})}catch(o){}r.container.parent().height(u);r.container.css({height:"100%"});r.height=u}else r.container.height(r.height);r.slotw=Math.ceil(r.width/r.slots);r.sloth=r.fullSreen=="on"?Math.ceil(n(window).height()/r.slots):Math.ceil(r.height/r.slots);r.autoHeight=="on"&&(r.sloth=Math.ceil(i.height()/r.slots))}function kt(i,r){i.find(".tp-caption").each(function(){n(this).addClass(n(this).data("transition"));n(this).addClass("start")});i.find(">ul:first").css({overflow:"hidden",width:"100%",height:"100%",maxHeight:i.parent().css("maxHeight")});r.autoHeight=="on"&&(i.find(">ul:first").css({overflow:"hidden",width:"100%",height:"100%",maxHeight:"none"}),i.css({maxHeight:"none"}),i.parent().css({maxHeight:"none"}));i.find(">ul:first >li").each(function(){var i=n(this),r;if(i.css({width:"100%",height:"100%",overflow:"hidden"}),i.data("link")!=t){var f=i.data("link"),e="_self",u=60;i.data("slideindex")=="back"&&(u=0);r=i.data("linktoslide");i.data("target")!=t&&(e=i.data("target"));f=="slide"?i.append('<div class="tp-caption sft slidelink" style="width:100%;height:100%;z-index:'+u+';" data-x="0" data-y="0" data-linktoslide="'+r+'" data-start="0"><a style="width:100%;height:100%;display:block"><span style="width:100%;height:100%;display:block"><\/span><\/a><\/div>'):(r="no",i.append('<div class="tp-caption sft slidelink" style="width:100%;height:100%;z-index:'+u+';" data-x="0" data-y="0" data-linktoslide="'+r+'" data-start="0"><a style="width:100%;height:100%;display:block" target="'+e+'" href="'+f+'"><span style="width:100%;height:100%;display:block"><\/span><\/a><\/div>'))}});i.parent().css({overflow:"visible"});i.find(">ul:first >li >img").each(function(i){var f=n(this),l;f.addClass("defaultimg");f.data("lazyload")!=t&&f.data("lazydone")!=1||o(f,r);f.wrap('<div class="slotholder" style="width:100%;height:100%;"data-duration="'+f.data("duration")+'"data-zoomstart="'+f.data("zoomstart")+'"data-zoomend="'+f.data("zoomend")+'"data-rotationstart="'+f.data("rotationstart")+'"data-rotationend="'+f.data("rotationend")+'"data-ease="'+f.data("ease")+'"data-duration="'+f.data("duration")+'"data-bgpositionend="'+f.data("bgpositionend")+'"data-bgposition="'+f.data("bgposition")+'"data-duration="'+f.data("duration")+'"data-kenburns="'+f.data("kenburns")+'"data-easeme="'+f.data("ease")+'"data-bgfit="'+f.data("bgfit")+'"data-bgfitend="'+f.data("bgfitend")+'"data-owidth="'+f.data("owidth")+'"data-oheight="'+f.data("oheight")+'"><\/div>');r.dottedOverlay!="none"&&r.dottedOverlay!=t&&f.closest(".slotholder").append('<div class="tp-dottedoverlay '+r.dottedOverlay+'"><\/div>');var e=f.attr("src"),a=f.data("lazyload"),s=f.data("bgfit"),h=f.data("bgrepeat"),c=f.data("bgposition");s==t&&(s="cover");h==t&&(h="no-repeat");c==t&&(c="center center");l=f.closest(".slotholder");f.replaceWith('<div class="tp-bgimg defaultimg" data-lazyload="'+f.data("lazyload")+'" data-bgfit="'+s+'"data-bgposition="'+c+'" data-bgrepeat="'+h+'" data-lazydone="'+f.data("lazydone")+'" src="'+e+'" data-src="'+e+'" style="background-color:'+f.css("backgroundColor")+";background-repeat:"+h+";background-image:url("+e+");background-size:"+s+";background-position:"+c+';width:100%;height:100%;"><\/div>');u(8)&&(l.find(".tp-bgimg").css({backgroundImage:"none","background-image":"none"}),l.find(".tp-bgimg").append('<img class="ieeightfallbackimage defaultimg" src="'+e+'" style="width:100%">'));f.css({opacity:0});f.data("li-id",i)})}function nt(n,i,r,f){var e=n,s=e.find(".defaultimg"),b=e.data("zoomstart"),v=e.data("rotationstart"),w,tt,a,c;s.data("currotate")!=t&&(v=s.data("currotate"));s.data("curscale")!=t&&(b=s.data("curscale"));o(s,i);var k=s.data("src"),it=s.css("background-color"),d=i.width,y=i.height;i.autoHeight=="on"&&(y=i.container.height());w=s.data("fxof");w==t&&(w=0);fullyoff=0;var a=0,l=s.data("bgfit"),g=s.data("bgrepeat"),nt=s.data("bgposition");if(l==t&&(l="cover"),g==t&&(g="no-repeat"),nt==t&&(nt="center center"),u(8)&&e.data("kenburns","off"),e.data("kenburns")=="on"&&(l=b,l.toString().length<4&&(l=h(l,e,i))),u(8)&&(tt=k,k=""),f=="horizontal")for(r||(a=0-i.slotw),c=0;c<i.slots;c++)e.append('<div class="slot" style="position:absolute;top:'+(0+fullyoff)+"px;left:"+(w+c*i.slotw)+"px;overflow:hidden;width:"+i.slotw+"px;height:"+y+'px"><div class="slotslide" style="position:absolute;top:0px;left:'+a+"px;width:"+i.slotw+"px;height:"+y+'px;overflow:hidden;"><div style="background-color:'+it+";position:absolute;top:0px;left:"+(0-c*i.slotw)+"px;width:"+d+"px;height:"+y+"px;background-image:url("+k+");background-repeat:"+g+";background-size:"+l+";background-position:"+nt+';"><\/div><\/div><\/div>'),b!=t&&v!=t&&TweenLite.set(e.find(".slot").last(),{rotationZ:v}),u(8)&&(e.find(".slot ").last().find(".slotslide").append('<img class="ieeightfallbackimage" src="'+tt+'" style="width:100%;height:auto">'),p(e,i));else for(r||(a=0-i.sloth),c=0;c<i.slots+2;c++)e.append('<div class="slot" style="position:absolute;top:'+(fullyoff+c*i.sloth)+"px;left:"+w+"px;overflow:hidden;width:"+d+"px;height:"+i.sloth+'px"><div class="slotslide" style="position:absolute;top:'+a+"px;left:0px;width:"+d+"px;height:"+i.sloth+'px;overflow:hidden;"><div style="background-color:'+it+";position:absolute;top:"+(0-c*i.sloth)+"px;left:0px;width:"+d+"px;height:"+y+"px;background-image:url("+k+");background-repeat:"+g+";background-size:"+l+";background-position:"+nt+';"><\/div><\/div><\/div>'),b!=t&&v!=t&&TweenLite.set(e.find(".slot").last(),{rotationZ:v}),u(8)&&(e.find(".slot ").last().find(".slotslide").append('<img class="ieeightfallbackimage" src="'+tt+'" style="width:100%;height:auto;">'),p(e,i))}function tt(n,i,r){var s=n,f=s.find(".defaultimg"),y=s.data("zoomstart"),w=s.data("rotationstart"),v,rt,e,k,nt,tt;f.data("currotate")!=t&&(w=f.data("currotate"));f.data("curscale")!=t&&(y=f.data("curscale")*100);o(f,i);var b=f.data("src"),ut=f.css("backgroundColor"),ft=i.width,it=i.height;i.autoHeight=="on"&&(it=i.container.height());v=f.data("fxof");v==t&&(v=0);fullyoff=0;k=0;u(8)&&(rt=b,b="");e=0;e=i.sloth>i.slotw?i.sloth:i.slotw;r||(k=0-e);i.slotw=e;i.sloth=e;var a=0,l=0,c=f.data("bgfit"),d=f.data("bgrepeat"),g=f.data("bgposition");for(c==t&&(c="cover"),d==t&&(d="no-repeat"),g==t&&(g="center center"),s.data("kenburns")=="on"&&(c=y,c.toString().length<4&&(c=h(c,s,i))),nt=0;nt<i.slots;nt++){for(l=0,tt=0;tt<i.slots;tt++)s.append('<div class="slot" style="position:absolute;top:'+(fullyoff+l)+"px;left:"+(v+a)+"px;width:"+e+"px;height:"+e+'px;overflow:hidden;"><div class="slotslide" data-x="'+a+'" data-y="'+l+'" style="position:absolute;top:0px;left:0px;width:'+e+"px;height:"+e+'px;overflow:hidden;"><div style="position:absolute;top:'+(0-l)+"px;left:"+(0-a)+"px;width:"+ft+"px;height:"+it+"px;background-color:"+ut+";background-image:url("+b+");background-repeat:"+d+";background-size:"+c+";background-position:"+g+';"><\/div><\/div><\/div>'),l=l+e,u(8)&&(s.find(".slot ").last().find(".slotslide").append('<img src="'+rt+'">'),p(s,i)),y!=t&&w!=t&&TweenLite.set(s.find(".slot").last(),{rotationZ:w});a=a+e}}function p(n,t){if(u(8)){var i=n.find(".ieeightfallbackimage"),r=i.width(),f=i.height();t.startwidth/t.startheight<n.data("owidth")/n.data("oheight")?i.css({width:"auto",height:"100%"}):i.css({width:"100%",height:"auto"});setTimeout(function(){var r=i.width(),u=i.height();n.data("bgposition")=="center center"&&i.css({position:"absolute",top:t.height/2-u/2+"px",left:t.width/2-r/2+"px"});(n.data("bgposition")=="center top"||n.data("bgposition")=="top center")&&i.css({position:"absolute",top:"0px",left:t.width/2-r/2+"px"});(n.data("bgposition")=="center bottom"||n.data("bgposition")=="bottom center")&&i.css({position:"absolute",bottom:"0px",left:t.width/2-r/2+"px"});(n.data("bgposition")=="right top"||n.data("bgposition")=="top right")&&i.css({position:"absolute",top:"0px",right:"0px"});(n.data("bgposition")=="right bottom"||n.data("bgposition")=="bottom right")&&i.css({position:"absolute",bottom:"0px",right:"0px"});(n.data("bgposition")=="right center"||n.data("bgposition")=="center right")&&i.css({position:"absolute",top:t.height/2-u/2+"px",right:"0px"});(n.data("bgposition")=="left bottom"||n.data("bgposition")=="bottom left")&&i.css({position:"absolute",bottom:"0px",left:"0px"});(n.data("bgposition")=="left center"||n.data("bgposition")=="center left")&&i.css({position:"absolute",top:t.height/2-u/2+"px",left:"0px"})},20)}}function it(i,r,u){u==t&&u==80;setTimeout(function(){i.find(".slotholder .slot").each(function(){clearTimeout(n(this).data("tout"));n(this).remove()});r.transition=0},u)}function rt(i,r){i.find("img, .defaultimg").each(function(){var i=n(this),u;i.data("lazyload")!=i.attr("src")&&r<3&&i.data("lazyload")!=t&&i.data("lazyload")!="undefined"?i.data("lazyload")!=t&&i.data("lazyload")!="undefined"&&(i.attr("src",i.data("lazyload")),u=new Image,u.onload=function(){i.data("lazydone",1);i.hasClass("defaultimg")&&c(i,u)},u.error=function(){i.data("lazydone",1)},u.src=i.attr("src"),u.complete&&(i.hasClass("defaultimg")&&c(i,u),i.data("lazydone",1))):(i.data("lazyload")===t||i.data("lazyload")==="undefined")&&i.data("lazydone")!=1&&(u=new Image,u.onload=function(){i.hasClass("defaultimg")&&c(i,u);i.data("lazydone",1)},u.error=function(){i.data("lazydone",1)},u.src=i.attr("src")!=t&&i.attr("src")!="undefined"?i.attr("src"):i.data("src"),u.complete&&(i.hasClass("defaultimg")&&c(i,u),i.data("lazydone",1)))})}function c(n,t){var i=n.closest("li"),r=t.width,u=t.height;i.data("owidth",r);i.data("oheight",u);i.find(".slotholder").data("owidth",r);i.find(".slotholder").data("oheight",u);i.data("loadeddone",1)}function w(n,i){var e,f,r;try{e=n.find(">ul:first-child >li:eq("+i.act+")")}catch(o){e=n.find(">ul:first-child >li:eq(1)")}i.lastslide=i.act;f=n.find(">ul:first-child >li:eq("+i.next+")");r=f.find(".defaultimg");i.bannertimeronpause=!0;n.trigger("stoptimer");i.cd=0;r.data("lazyload")!=t&&r.data("lazyload")!="undefined"&&r.data("lazydone")!=1?(u(8)?r.attr("src",f.find(".defaultimg").data("lazyload")):r.css({backgroundImage:'url("'+f.find(".defaultimg").data("lazyload")+'")'}),r.data("src",f.find(".defaultimg").data("lazyload")),r.data("lazydone",1),r.data("orgw",0),f.data("loadeddone",1),TweenLite.set(n.find(".tp-loader"),{display:"block",opacity:0}),TweenLite.to(n.find(".tp-loader"),.3,{autoAlpha:1}),ct(f,function(){b(i,r,n)},i)):f.data("loadeddone")===t?(f.data("loadeddone",1),ct(f,function(){b(i,r,n)},i)):b(i,r,n)}function b(n,t,i){n.bannertimeronpause=!1;n.cd=0;i.trigger("nulltimer");TweenLite.to(i.find(".tp-loader"),.3,{autoAlpha:0});o(t,n);s(i,n);o(t,n);dt(i,n)}function dt(i,f){function oi(){n.each(lt,function(n,t){(t[0]==v||t[8]==v)&&(c=t[1],d=t[2],hi=dt);dt=dt+1})}var h,v,d,it,o,ci,ht,li,ot,vi,at,vt,yt,wt,g,w,bt,kt,rt,p,k,y,ui,ei;i.trigger("revolution.slide.onbeforeswap");f.transition=1;f.videoplaying=!1;try{h=i.find(">ul:first-child >li:eq("+f.act+")")}catch(nr){h=i.find(">ul:first-child >li:eq(1)")}f.lastslide=f.act;var e=i.find(">ul:first-child >li:eq("+f.next+")"),a=h.find(".slotholder"),s=e.find(".slotholder");h.css({visibility:"visible"});e.css({visibility:"visible"});s.data("kenburns")=="on"&&(ni(i,f),TweenLite.set(i.find(".kenburnimg img"),{autoAlpha:0}));f.ie&&(v=="boxfade"&&(v="boxslide"),v=="slotfade-vertical"&&(v="slotzoom-vertical"),v=="slotfade-horizontal"&&(v="slotzoom-horizontal"));e.data("delay")!=t?(f.cd=0,f.delay=e.data("delay")):f.delay=f.origcd;i.trigger("restarttimer");h.css({left:"0px",top:"0px"});e.css({left:"0px",top:"0px"});e.data("differentissplayed")=="prepared"&&(e.data("differentissplayed","done"),e.data("transition",e.data("savedtransition")),e.data("slotamount",e.data("savedslotamount")),e.data("masterspeed",e.data("savedmasterspeed")));e.data("fstransition")!=t&&e.data("differentissplayed")!="done"&&(e.data("savedtransition",e.data("transition")),e.data("savedslotamount",e.data("slotamount")),e.data("savedmasterspeed",e.data("masterspeed")),e.data("transition",e.data("fstransition")),e.data("slotamount",e.data("fsslotamount")),e.data("masterspeed",e.data("fsmasterspeed")),e.data("differentissplayed","prepared"));var c=0,si=e.data("transition").split(","),ut=e.data("nexttransid");ut==t?(ut=0,e.data("nexttransid",ut)):(ut=ut+1,ut==si.length&&(ut=0),e.data("nexttransid",ut));v=si[ut];d=0;f.parallax=="scroll"&&f.parallaxFirstGo==t&&(f.parallaxFirstGo=!0,l(i,f),setTimeout(function(){l(i,f)},210),setTimeout(function(){l(i,f)},420));v=="slidehorizontal"&&(v="slideleft",f.leftarrowpressed==1&&(v="slideright"));v=="slidevertical"&&(v="slideup",f.leftarrowpressed==1&&(v="slidedown"));var lt=[["boxslide",0,1,10,0,"box",!1,null,0],["boxfade",1,0,10,0,"box",!1,null,1],["slotslide-horizontal",2,0,0,200,"horizontal",!0,!1,2],["slotslide-vertical",3,0,0,200,"vertical",!0,!1,3],["curtain-1",4,3,0,0,"horizontal",!0,!0,4],["curtain-2",5,3,0,0,"horizontal",!0,!0,5],["curtain-3",6,3,25,0,"horizontal",!0,!0,6],["slotzoom-horizontal",7,0,0,400,"horizontal",!0,!0,7],["slotzoom-vertical",8,0,0,0,"vertical",!0,!0,8],["slotfade-horizontal",9,0,0,500,"horizontal",!0,null,9],["slotfade-vertical",10,0,0,500,"vertical",!0,null,10],["fade",11,0,1,300,"horizontal",!0,null,11],["slideleft",12,0,1,0,"horizontal",!0,!0,12],["slideup",13,0,1,0,"horizontal",!0,!0,13],["slidedown",14,0,1,0,"horizontal",!0,!0,14],["slideright",15,0,1,0,"horizontal",!0,!0,15],["papercut",16,0,0,600,"",null,null,16],["3dcurtain-horizontal",17,0,20,100,"vertical",!1,!0,17],["3dcurtain-vertical",18,0,10,100,"horizontal",!1,!0,18],["cubic",19,0,20,600,"horizontal",!1,!0,19],["cube",19,0,20,600,"horizontal",!1,!0,20],["flyin",20,0,4,600,"vertical",!1,!0,21],["turnoff",21,0,1,1600,"horizontal",!1,!0,22],["incube",22,0,20,600,"horizontal",!1,!0,23],["cubic-horizontal",23,0,20,500,"vertical",!1,!0,24],["cube-horizontal",23,0,20,500,"vertical",!1,!0,25],["incube-horizontal",24,0,20,500,"vertical",!1,!0,26],["turnoff-vertical",25,0,1,1600,"horizontal",!1,!0,27],["fadefromright",12,1,1,0,"horizontal",!0,!0,28],["fadefromleft",15,1,1,0,"horizontal",!0,!0,29],["fadefromtop",14,1,1,0,"horizontal",!0,!0,30],["fadefrombottom",13,1,1,0,"horizontal",!0,!0,31],["fadetoleftfadefromright",12,2,1,0,"horizontal",!0,!0,32],["fadetorightfadetoleft",15,2,1,0,"horizontal",!0,!0,33],["fadetobottomfadefromtop",14,2,1,0,"horizontal",!0,!0,34],["fadetotopfadefrombottom",13,2,1,0,"horizontal",!0,!0,35],["parallaxtoright",12,3,1,0,"horizontal",!0,!0,36],["parallaxtoleft",15,3,1,0,"horizontal",!0,!0,37],["parallaxtotop",14,3,1,0,"horizontal",!0,!0,38],["parallaxtobottom",13,3,1,0,"horizontal",!0,!0,39],["scaledownfromright",12,4,1,0,"horizontal",!0,!0,40],["scaledownfromleft",15,4,1,0,"horizontal",!0,!0,41],["scaledownfromtop",14,4,1,0,"horizontal",!0,!0,42],["scaledownfrombottom",13,4,1,0,"horizontal",!0,!0,43],["zoomout",13,5,1,0,"horizontal",!0,!0,44],["zoomin",13,6,1,0,"horizontal",!0,!0,45],["notransition",26,0,1,0,"horizontal",!0,null,46]],ft=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],et=[16,17,18,19,20,21,22,23,24,25,26,27],c=0,d=1,hi=0,dt=0,b=[];if(v=="random"&&(v=Math.round(Math.random()*lt.length-1),v>lt.length-1&&(v=lt.length-1)),v=="random-static"&&(v=Math.round(Math.random()*ft.length-1),v>ft.length-1&&(v=ft.length-1),v=ft[v]),v=="random-premium"&&(v=Math.round(Math.random()*et.length-1),v>et.length-1&&(v=et.length-1),v=et[v]),f.isJoomla==!0&&v==16&&(v=Math.round(Math.random()*et.length-2)+1,v>et.length-1&&(v=et.length-1),v=et[v]),oi(),u(8)&&c>15&&c<28&&(v=Math.round(Math.random()*ft.length-1),v>ft.length-1&&(v=ft.length-1),v=ft[v],dt=0,oi()),it=-1,(f.leftarrowpressed==1||f.act>f.next)&&(it=1),f.leftarrowpressed=0,c>26&&(c=26),c<0&&(c=0),o=300,e.data("masterspeed")!=t&&e.data("masterspeed")>99&&e.data("masterspeed")<4001&&(o=e.data("masterspeed")),b=lt[hi],i.parent().find(".bullet").each(function(){var t=n(this);t.removeClass("selected");f.navigationArrows=="withbullet"||f.navigationArrows=="nexttobullets"?t.index()-1==f.next&&t.addClass("selected"):t.index()==f.next&&t.addClass("selected")}),i.find(">li").each(function(){var t=n(this);t.index!=f.act&&t.index!=f.next&&t.css({"z-index":16})}),h.css({"z-index":18}),e.css({"z-index":20}),e.css({opacity:0}),h.index()!=e.index()&&f.firststart!=1&&fi(h,f),st(e,f),e.data("slotamount")==t||e.data("slotamount")<1?(f.slots=Math.round(Math.random()*12+4),v=="boxslide"?f.slots=Math.round(Math.random()*6+3):v=="flyin"&&(f.slots=Math.round(Math.random()*4+1))):f.slots=e.data("slotamount"),f.rotate=e.data("rotate")==t?0:e.data("rotate")==999?Math.round(Math.random()*360):e.data("rotate"),(!n.support.transition||f.ie||f.ie9)&&(f.rotate=0),f.firststart==1&&(h.css({opacity:0}),f.firststart=0),o=o+b[4],(c==4||c==5||c==6)&&f.slots<3&&(f.slots=3),b[3]!=0&&(f.slots=Math.min(f.slots,b[3])),c==9&&(f.slots=f.width/20),c==10&&(f.slots=f.height/20),b[5]=="box"?(b[7]!=null&&tt(a,f,b[7]),b[6]!=null&&tt(s,f,b[6])):(b[5]=="vertical"||b[5]=="horizontal")&&(b[7]!=null&&nt(a,f,b[7],b[5]),b[6]!=null&&nt(s,f,b[6],b[5])),(c<12||c>16)&&e.css({opacity:1}),c==0&&(s.find(".defaultimg").css({opacity:0}),ci=Math.ceil(f.height/f.sloth),ht=0,s.find(".slotslide").each(function(t){var u=n(this);ht=ht+1;ht==ci&&(ht=0);TweenLite.fromTo(u,o/600,{opacity:0,top:0-f.sloth,left:0-f.slotw,rotation:f.rotate},{opacity:1,transformPerspective:600,top:0,left:0,scale:1,rotation:0,delay:(t*15+ht*30)/1500,ease:Power2.easeOut,onComplete:function(){t==f.slots*f.slots-1&&r(i,f,s,a,e,h)}})})),c==1&&(s.find(".defaultimg").css({opacity:0}),s.find(".slotslide").each(function(){var t=n(this);rand=Math.random()*o+300;rand2=Math.random()*500+200;rand+rand2>li&&(li=rand2+rand2);TweenLite.fromTo(t,rand/1e3,{opacity:0,transformPerspective:600,rotation:f.rotate},{opacity:1,ease:Power2.easeInOut,rotation:0,delay:rand2/1e3})}),setTimeout(function(){r(i,f,s,a,e,h)},o+300)),c==2&&(s.find(".defaultimg").css({opacity:0}),a.find(".slotslide").each(function(){var t=n(this);TweenLite.to(t,o/1e3,{left:f.slotw,rotation:0-f.rotate,onComplete:function(){r(i,f,s,a,e,h)}})}),s.find(".slotslide").each(function(){var t=n(this);TweenLite.fromTo(t,o/1e3,{left:0-f.slotw,rotation:f.rotate,transformPerspective:600},{left:0,rotation:0,ease:Power2.easeOut,onComplete:function(){r(i,f,s,a,e,h)}})})),c==3&&(s.find(".defaultimg").css({opacity:0}),a.find(".slotslide").each(function(){var t=n(this);TweenLite.to(t,o/1e3,{top:f.sloth,rotation:f.rotate,transformPerspective:600,onComplete:function(){r(i,f,s,a,e,h)}})}),s.find(".slotslide").each(function(){var t=n(this);TweenLite.fromTo(t,o/1e3,{top:0-f.sloth,rotation:f.rotate,transformPerspective:600},{top:0,rotation:0,ease:Power2.easeOut,onComplete:function(){r(i,f,s,a,e,h)}})})),(c==4||c==5)&&(s.find(".defaultimg").css({opacity:0}),setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100),ot=o/1e3,vi=ot,a.find(".slotslide").each(function(t){var r=n(this),i=t*ot/f.slots;c==5&&(i=(f.slots-t-1)*ot/f.slots/1.5);TweenLite.to(r,ot*3,{transformPerspective:600,top:0+f.height,opacity:.5,rotation:f.rotate,ease:Power2.easeInOut,delay:i})}),s.find(".slotslide").each(function(t){var o=n(this),u=t*ot/f.slots;c==5&&(u=(f.slots-t-1)*ot/f.slots/1.5);TweenLite.fromTo(o,ot*3,{top:0-f.height,opacity:.5,rotation:f.rotate,transformPerspective:600},{top:0,opacity:1,rotation:0,ease:Power2.easeInOut,delay:u,onComplete:function(){t==f.slots-1&&r(i,f,s,a,e,h)}})})),c==6&&(f.slots<2&&(f.slots=2),s.find(".defaultimg").css({opacity:0}),setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100),a.find(".slotslide").each(function(t){var r=n(this),i;i=t<f.slots/2?(t+2)*60:(2+f.slots-t)*60;TweenLite.to(r,(o+i)/1e3,{top:0+f.height,opacity:1,rotation:f.rotate,transformPerspective:600,ease:Power2.easeInOut})}),s.find(".slotslide").each(function(t){var c=n(this),u;u=t<f.slots/2?(t+2)*60:(2+f.slots-t)*60;TweenLite.fromTo(c,(o+u)/1e3,{top:0-f.height,opacity:1,rotation:f.rotate,transformPerspective:600},{top:0,opacity:1,rotation:0,ease:Power2.easeInOut,onComplete:function(){t==Math.round(f.slots/2)&&r(i,f,s,a,e,h)}})})),c==7&&(o=o*2,s.find(".defaultimg").css({opacity:0}),setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100),a.find(".slotslide").each(function(){var t=n(this).find("div");TweenLite.to(t,o/1e3,{left:0-f.slotw/2+"px",top:0-f.height/2+"px",width:f.slotw*2+"px",height:f.height*2+"px",opacity:0,rotation:f.rotate,transformPerspective:600,ease:Power2.easeOut})}),s.find(".slotslide").each(function(t){var u=n(this).find("div");TweenLite.fromTo(u,o/1e3,{left:0,top:0,opacity:0,transformPerspective:600},{left:0-t*f.slotw+"px",ease:Power2.easeOut,top:"0px",width:f.width,height:f.height,opacity:1,rotation:0,delay:.1,onComplete:function(){r(i,f,s,a,e,h)}})})),c==8&&(o=o*3,s.find(".defaultimg").css({opacity:0}),a.find(".slotslide").each(function(){var t=n(this).find("div");TweenLite.to(t,o/1e3,{left:0-f.width/2+"px",top:0-f.sloth/2+"px",width:f.width*2+"px",height:f.sloth*2+"px",transformPerspective:600,opacity:0,rotation:f.rotate})}),s.find(".slotslide").each(function(t){var u=n(this).find("div");TweenLite.fromTo(u,o/1e3,{left:0,top:0,opacity:0,transformPerspective:600},{left:"0px",top:0-t*f.sloth+"px",width:s.find(".defaultimg").data("neww")+"px",height:s.find(".defaultimg").data("newh")+"px",opacity:1,rotation:0,onComplete:function(){r(i,f,s,a,e,h)}})})),(c==9||c==10)&&(s.find(".defaultimg").css({opacity:0}),at=0,s.find(".slotslide").each(function(t){var i=n(this);at++;TweenLite.fromTo(i,o/1e3,{opacity:0,transformPerspective:600,left:0,top:0},{opacity:1,ease:Power2.easeInOut,delay:t/250})}),setTimeout(function(){r(i,f,s,a,e,h)},o+at*4)),(c==11||c==26)&&(s.find(".defaultimg").css({opacity:0,position:"relative"}),at=0,c==26&&(o=0),s.find(".slotslide").each(function(){var t=n(this);TweenLite.fromTo(t,o/1e3,{opacity:0},{opacity:1,ease:Power2.easeInOut})}),setTimeout(function(){r(i,f,s,a,e,h)},o+15)),c==12||c==13||c==14||c==15){setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);s.find(".defaultimg").css({opacity:0});var g=f.width,w=f.height,ti=s.find(".slotslide");(f.fullWidth=="on"||f.fullSreen=="on")&&(g=ti.width(),w=ti.height());vt=0;yt=0;c==12?vt=g:c==15?vt=0-g:c==13?yt=w:c==14&&(yt=0-w);var k=1,ct=1,ii=1,pt=Power2.easeInOut,ai=Power2.easeInOut,ri=o/1e3,gt=ri;d==1&&(k=0);d==2&&(k=0);d==3&&(pt=Power2.easeInOut,ai=Power1.easeInOut,h.css({position:"absolute","z-index":20}),e.css({position:"absolute","z-index":15}),ri=o/1200);(d==4||d==5)&&(ct=.6);d==6&&(ct=1.4);(d==5||d==6)&&(ii=1.4,k=0,g=0,w=0,vt=0,yt=0);d==6&&(ii=.6);TweenLite.fromTo(ti,ri,{left:vt,top:yt,scale:ii,opacity:k,rotation:f.rotate},{opacity:1,rotation:0,left:0,top:0,scale:1,ease:ai,onComplete:function(){r(i,f,s,a,e,h);h.css({position:"absolute","z-index":18});e.css({position:"absolute","z-index":20})}});wt=a.find(".slotslide");(d==4||d==5)&&(g=0,w=0);d!=1&&(c==12?TweenLite.to(wt,gt,{left:0-g+"px",scale:ct,opacity:k,rotation:f.rotate,ease:pt}):c==15?TweenLite.to(wt,gt,{left:g+"px",scale:ct,opacity:k,rotation:f.rotate,ease:pt}):c==13?TweenLite.to(wt,gt,{top:0-w+"px",scale:ct,opacity:k,rotation:f.rotate,ease:pt}):c==14&&TweenLite.to(wt,gt,{top:w+"px",scale:ct,opacity:k,rotation:f.rotate,ease:pt}));e.css({opacity:1})}if(c==16){h.css({position:"absolute","z-index":20});e.css({position:"absolute","z-index":15});h.wrapInner('<div class="tp-half-one" style="position:relative; width:100%;height:100%"><\/div>');h.find(".tp-half-one").clone(!0).appendTo(h).addClass("tp-half-two");h.find(".tp-half-two").removeClass("tp-half-one");g=f.width;w=f.height;f.autoHeight=="on"&&(w=i.height());h.find(".tp-half-one .defaultimg").wrap('<div class="tp-papercut" style="width:'+g+"px;height:"+w+'px;"><\/div>');h.find(".tp-half-two .defaultimg").wrap('<div class="tp-papercut" style="width:'+g+"px;height:"+w+'px;"><\/div>');h.find(".tp-half-two .defaultimg").css({position:"absolute",top:"-50%"});h.find(".tp-half-two .tp-caption").wrapAll('<div style="position:absolute;top:-50%;left:0px"><\/div>');TweenLite.set(h.find(".tp-half-two"),{width:g,height:w,overflow:"hidden",zIndex:15,position:"absolute",top:w/2,left:"0px",transformPerspective:600,transformOrigin:"center bottom"});TweenLite.set(h.find(".tp-half-one"),{width:g,height:w/2,overflow:"visible",zIndex:10,position:"absolute",top:"0px",left:"0px",transformPerspective:600,transformOrigin:"center top"});var tr=h.find(".defaultimg"),yi=Math.round(Math.random()*20-10),pi=Math.round(Math.random()*20-10),wi=Math.round(Math.random()*20-10),bi=Math.random()*.4-.2,ki=Math.random()*.4-.2,di=Math.random()*1+1,gi=Math.random()*1+1;TweenLite.fromTo(h.find(".tp-half-one"),o/1e3,{width:g,height:w/2,position:"absolute",top:"0px",left:"0px",transformPerspective:600,transformOrigin:"center top"},{scale:di,rotation:yi,y:0-w-w/4,ease:Power2.easeInOut});setTimeout(function(){TweenLite.set(h.find(".tp-half-one"),{overflow:"hidden"})},50);TweenLite.fromTo(h.find(".tp-half-one"),o/2e3,{opacity:1,transformPerspective:600,transformOrigin:"center center"},{opacity:0,delay:o/2e3});TweenLite.fromTo(h.find(".tp-half-two"),o/1e3,{width:g,height:w,overflow:"hidden",position:"absolute",top:w/2,left:"0px",transformPerspective:600,transformOrigin:"center bottom"},{scale:gi,rotation:pi,y:w+w/4,ease:Power2.easeInOut});TweenLite.fromTo(h.find(".tp-half-two"),o/2e3,{opacity:1,transformPerspective:600,transformOrigin:"center center"},{opacity:0,delay:o/2e3});h.html()!=null&&TweenLite.fromTo(e,(o-200)/1e3,{opacity:0,scale:.8,x:f.width*bi,y:w*ki,rotation:wi,transformPerspective:600,transformOrigin:"center center"},{rotation:0,scale:1,x:0,y:0,opacity:1,ease:Power2.easeInOut});s.find(".defaultimg").css({opacity:1});setTimeout(function(){h.css({position:"absolute","z-index":18});e.css({position:"absolute","z-index":20});s.find(".defaultimg").css({opacity:1});a.find(".defaultimg").css({opacity:0});h.find(".tp-half-one").length>0&&(h.find(".tp-half-one .defaultimg").unwrap(),h.find(".tp-half-one .slotholder").unwrap());h.find(".tp-half-two").remove();f.transition=0;f.act=f.next},o);e.css({opacity:1})}if(c==17&&(s.find(".defaultimg").css({opacity:0}),s.find(".slotslide").each(function(t){var u=n(this);TweenLite.fromTo(u,o/800,{opacity:0,rotationY:0,scale:.9,rotationX:-110,transformPerspective:600,transformOrigin:"center center"},{opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,rotationY:0,ease:Power3.easeOut,delay:t*.06,onComplete:function(){t==f.slots-1&&r(i,f,s,a,e,h)}})})),c==18&&(s.find(".defaultimg").css({opacity:0}),s.find(".slotslide").each(function(t){var u=n(this);TweenLite.fromTo(u,o/500,{opacity:0,rotationY:310,scale:.9,rotationX:10,transformPerspective:600,transformOrigin:"center center"},{opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,rotationY:0,ease:Power3.easeOut,delay:t*.06,onComplete:function(){t==f.slots-1&&r(i,f,s,a,e,h)}})})),c==19||c==22){s.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);var bt=e.css("z-index"),kt=h.css("z-index"),p=90,k=1;it==1&&(p=-90);c==19?(y="center center -"+f.height/2,k=0):y="center center "+f.height/2;TweenLite.fromTo(s,o/2e3,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,ease:Power1.easeInOut,z:-40});TweenLite.fromTo(s,o/2e3,{transformPerspective:600,z:-40,rotationY:1},{rotationY:0,z:0,ease:Power1.easeInOut,x:0,delay:3*(o/4e3)});TweenLite.fromTo(a,o/2e3,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,x:0,ease:Power1.easeInOut,z:-40});TweenLite.fromTo(a,o/2e3,{transformPerspective:600,z:-40,x:0,rotationY:1},{rotationY:0,z:0,x:0,ease:Power1.easeInOut,delay:3*(o/4e3)});s.find(".slotslide").each(function(t){var u=n(this);TweenLite.fromTo(u,o/1e3,{left:0,rotationY:f.rotate,opacity:k,top:0,scale:.8,transformPerspective:600,transformOrigin:y,rotationX:p},{left:0,rotationY:0,opacity:1,top:0,z:0,scale:1,rotationX:0,delay:t/20,ease:Power2.easeInOut,onComplete:function(){t==f.slots-1&&r(i,f,s,a,e,h)}});TweenLite.to(u,.1,{opacity:1,delay:t/20+o/3e3})});a.find(".slotslide").each(function(t){var u=n(this),c=-90;it==1&&(c=90);TweenLite.fromTo(u,o/1e3,{opacity:1,rotationY:0,top:0,z:0,scale:1,transformPerspective:600,transformOrigin:y,rotationX:0},{opacity:1,rotationY:f.rotate,top:0,scale:.8,rotationX:c,delay:t/20,ease:Power2.easeInOut,onComplete:function(){t==f.slots-1&&r(i,f,s,a,e,h)}});TweenLite.to(u,.1,{opacity:0,delay:t/20+(o/1e3-o/1e4)})})}if(c==20){if(s.find(".defaultimg").css({opacity:0}),setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100),bt=e.css("z-index"),kt=h.css("z-index"),it==1)var rt=-f.width,p=70,y="left center -"+f.height/2;else var rt=f.width,p=-70,y="right center -"+f.height/2;s.find(".slotslide").each(function(t){var u=n(this);TweenLite.fromTo(u,o/1500,{left:rt,rotationX:40,z:-600,opacity:k,top:0,transformPerspective:600,transformOrigin:y,rotationY:p},{left:0,delay:t/20,ease:Power2.easeInOut});TweenLite.fromTo(u,o/1e3,{rotationX:40,z:-600,opacity:k,top:0,scale:1,transformPerspective:600,transformOrigin:y,rotationY:p},{rotationX:0,opacity:1,top:0,z:0,scale:1,rotationY:0,delay:t/20,ease:Power2.easeInOut,onComplete:function(){t==f.slots-1&&r(i,f,s,a,e,h)}});TweenLite.to(u,.1,{opacity:1,delay:t/20+o/2e3})});a.find(".slotslide").each(function(t){var u=n(this);if(it!=1)var c=-f.width,l=70,v="left center -"+f.height/2;else var c=f.width,l=-70,v="right center -"+f.height/2;TweenLite.fromTo(u,o/1e3,{opacity:1,rotationX:0,top:0,z:0,scale:1,left:0,transformPerspective:600,transformOrigin:v,rotationY:0},{opacity:1,rotationX:40,top:0,z:-600,left:c,scale:.8,rotationY:l,delay:t/20,ease:Power2.easeInOut,onComplete:function(){t==f.slots-1&&r(i,f,s,a,e,h)}});TweenLite.to(u,.1,{opacity:0,delay:t/20+(o/1e3-o/1e4)})})}if((c==21||c==25)&&(s.find(".defaultimg").css({opacity:0}),setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100),bt=e.css("z-index"),kt=h.css("z-index"),it==1?(rt=-f.width,p=110,c==25?(y="center top 0",rot2=-p,p=f.rotate):(y="left center 0",rot2=f.rotate)):(rt=f.width,p=-110,c==25?(y="center bottom 0",rot2=-p,p=f.rotate):(y="right center 0",rot2=f.rotate)),s.find(".slotslide").each(function(t){var u=n(this);TweenLite.fromTo(u,o/1500,{left:0,rotationX:rot2,z:0,opacity:0,top:0,scale:1,transformPerspective:600,transformOrigin:y,rotationY:p},{left:0,rotationX:0,top:0,z:0,scale:1,rotationY:0,delay:t/10+o/1e4,ease:Power2.easeInOut,onComplete:function(){t==f.slots-1&&r(i,f,s,a,e,h)}});TweenLite.to(u,.3,{opacity:1,delay:t/10+o*.2/2e3+o/1e4})}),it!=1?(rt=-f.width,p=90,c==25?(y="center top 0",rot2=-p,p=f.rotate):(y="left center 0",rot2=f.rotate)):(rt=f.width,p=-90,c==25?(y="center bottom 0",rot2=-p,p=f.rotate):(y="right center 0",rot2=f.rotate)),a.find(".slotslide").each(function(t){var i=n(this);TweenLite.fromTo(i,o/3e3,{left:0,rotationX:0,z:0,opacity:1,top:0,scale:1,transformPerspective:600,transformOrigin:y,rotationY:0},{left:0,rotationX:rot2,top:0,z:0,scale:1,rotationY:p,delay:t/10,ease:Power1.easeInOut});TweenLite.to(i,.2,{opacity:0,delay:t/20+(o/3e3-o/1e4)})})),c==23||c==24){s.find(".defaultimg").css({opacity:0});setTimeout(function(){a.find(".defaultimg").css({opacity:0})},100);var bt=e.css("z-index"),kt=h.css("z-index"),p=-90;it==1&&(p=90);k=1;c==23?(y="center center -"+f.width/2,k=0):y="center center "+f.width/2;ui=0;TweenLite.fromTo(s,o/2e3,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,ease:Power1.easeInOut,z:-90});TweenLite.fromTo(s,o/2e3,{transformPerspective:600,z:-90,rotationY:1},{rotationY:0,z:0,ease:Power1.easeInOut,x:0,delay:3*(o/4e3)});TweenLite.fromTo(a,o/2e3,{transformPerspective:600,z:0,x:0,rotationY:0},{rotationY:1,x:0,ease:Power1.easeInOut,z:-90});TweenLite.fromTo(a,o/2e3,{transformPerspective:600,z:-90,x:0,rotationY:1},{rotationY:0,z:0,x:0,ease:Power1.easeInOut,delay:3*(o/4e3)});s.find(".slotslide").each(function(t){var u=n(this);TweenLite.fromTo(u,o/1e3,{left:ui,rotationX:f.rotate,opacity:k,top:0,scale:1,transformPerspective:600,transformOrigin:y,rotationY:p},{left:0,rotationX:0,opacity:1,top:0,z:0,scale:1,rotationY:0,delay:t/20,ease:Power2.easeInOut,onComplete:function(){t==f.slots-1&&r(i,f,s,a,e,h)}});TweenLite.to(u,.1,{opacity:1,delay:t/20+o/3e3})});p=90;it==1&&(p=-90);a.find(".slotslide").each(function(t){var u=n(this);TweenLite.fromTo(u,o/1e3,{left:0,opacity:1,rotationX:0,top:0,z:0,scale:1,transformPerspective:600,transformOrigin:y,rotationY:0},{left:ui,opacity:1,rotationX:f.rotate,top:0,scale:1,rotationY:p,delay:t/20,ease:Power2.easeInOut,onComplete:function(){t==f.slots-1&&r(i,f,s,a,e,h)}});TweenLite.to(u,.1,{opacity:0,delay:t/20+(o/1e3-o/1e4)})})}ei={};ei.slideIndex=f.next+1;i.trigger("revolution.slide.onchange",ei);setTimeout(function(){i.trigger("revolution.slide.onafterswap")},o);i.trigger("revolution.slide.onvideostop")}function gt(t,i){if(t.find(">ul:first-child >li").each(function(){for(var r=n(this),t=0;t<10;t++)r.find(".rs-parallaxlevel-"+t).wrapAll('<div style="position:absolute;top:0px;left:0px;width:100%;height:100%;" class="tp-parallax-container" data-parallaxlevel="'+i.parallaxLevels[t]+'"><\/div>')}),i.parallax=="mouse"||i.parallax=="scroll+mouse"||i.parallax=="mouse+scroll"){t.on("mousemove.hoverdir, mouseleave.hoverdir",function(i){switch(i.type){case"mousemove":var r=t.offset().top,u=t.offset().left,f=r+t.height()/2,e=u+t.width()/2,o=e-i.pageX,s=f-i.pageY;n(".tp-parallax-container").each(function(){var t=n(this),i=parseInt(t.data("parallaxlevel"),0)/100,r=o*i,u=s*i;TweenLite.to(t,.2,{x:r,y:u,ease:Power3.easeOut})});break;case"mouseleave":n(".tp-parallax-container").each(function(){var t=n(this);TweenLite.to(t,.4,{x:0,y:0,ease:Power3.easeOut})})}});f()&&(window.ondeviceorientation=function(i){var r=Math.round(i.beta||0),u=Math.round(i.gamma||0),f=360/t.width()*u,e=180/t.height()*r;n(".tp-parallax-container").each(function(){var t=n(this),i=parseInt(t.data("parallaxlevel"),0)/100,r=f*i,u=e*i;TweenLite.to(t,.2,{x:r,y:u,ease:Power3.easeOut})})})}if(i.parallax=="scroll"||i.parallax=="scroll+mouse"||i.parallax=="mouse+scroll")n(window).on("scroll",function(){l(t,i)})}function l(t,i){var f=t.offset().top,h=n(window).scrollTop(),e=f+t.height()/2,c=f+t.height()/2-h,u=n(window).height()/2,r=u-c,o,s;e<u&&(r=r-(u-e));n(".tp-parallax-container").each(function(){var t=n(this),i=parseInt(t.data("parallaxlevel"),0)/100,u=r*i;TweenLite.to(t,.2,{y:u,ease:Power3.easeOut})});i.parallaxBgFreeze!="on"&&(o=i.parallaxLevels[0]/100,s=r*o,TweenLite.to(t,.2,{y:s,ease:Power3.easeOut}))}function ni(i,r){var u;try{u=i.find(">ul:first-child >li:eq("+r.act+")")}catch(o){u=i.find(">ul:first-child >li:eq(1)")}r.lastslide=r.act;var e=i.find(">ul:first-child >li:eq("+r.next+")"),s=u.find(".slotholder"),f=e.find(".slotholder");f.find(".defaultimg").each(function(){var i=n(this);i.data("kenburn")!=t&&i.data("kenburn").restart();TweenLite.killTweensOf(i,!1);TweenLite.set(i,{scale:1,rotationZ:0});i.data("bgposition",f.data("bgposition"));i.data("currotate",f.data("rotationstart"));i.data("curscale",f.data("bgfit"))})}function ut(i,r){var c,e;try{c=i.find(">ul:first-child >li:eq("+r.act+")")}catch(nt){c=i.find(">ul:first-child >li:eq(1)")}r.lastslide=r.act;var w=i.find(">ul:first-child >li:eq("+r.next+")"),tt=c.find(".slotholder"),f=w.find(".slotholder"),b=f.data("bgposition"),k=f.data("bgpositionend"),l=f.data("zoomstart")/100,a=f.data("zoomend")/100,p=f.data("rotationstart"),v=f.data("rotationend"),o=f.data("bgfit"),s=f.data("bgfitend"),d=f.data("easeme"),g=f.data("duration")/1e3,y=100;o==t&&(o=100);s==t&&(s=100);o=h(o,f,r);s=h(s,f,r);y=h(100,f,r);l==t&&(l=1);a==t&&(a=1);p==t&&(p=0);v==t&&(v=0);l<1&&(l=1);a<1&&(a=1);e={};e.w=parseInt(y.split(" ")[0],0);e.h=parseInt(y.split(" ")[1],0);f.find(".defaultimg").each(function(){var t=n(this);f.find(".kenburnimg").length==0&&f.append('<div class="kenburnimg" style="position:absolute;z-index:1;width:100%;height:100%;top:0px;left:0px;"><img src="'+t.attr("src")+'" style="-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;position:absolute;width:'+e.w+"%;height:"+e.h+'%;"><\/div>');var i=f.find(".kenburnimg img"),h=ft(r,b,o,i),c=ft(r,k,s,i);t.data("kenburn",TweenLite.fromTo(i,g,{autoAlpha:1,transformPerspective:1200,transformOrigin:"0% 0%",top:0,left:0,scale:h.w,x:h.x,y:h.y},{autoAlpha:1,rotationZ:v,ease:d,x:c.x,y:c.y,scale:c.w,onUpdate:function(){var n=i[0]._gsTransform.scaleX,f=n*i.width()-r.width,o=n*i.height()-r.height,s=Math.abs(i[0]._gsTransform.x/f*100),h=Math.abs(i[0]._gsTransform.y/o*100);t.data("bgposition",s+"% "+h+"%");u(8)||t.data("currotate",ti(i));u(8)||t.data("curscale",e.w*n+"%  "+(e.h*n+"%"));TweenLite.set(t,{rotation:t.data("currotate"),backgroundPosition:t.data("bgposition"),backgroundSize:t.data("curscale")})}}))})}function ft(n,t,i,r){var u={};u.w=parseInt(i.split(" ")[0],0)/100;switch(t){case"left top":case"top left":u.x=0;u.y=0;break;case"center top":case"top center":u.x=((0-r.width())*u.w+n.width)/2;u.y=0;break;case"top right":case"right top":u.x=(0-r.width())*u.w+n.width;u.y=0;break;case"center left":case"left center":u.x=0;u.y=((0-r.height())*u.w+n.height)/2;break;case"center center":u.x=((0-r.width())*u.w+n.width)/2;u.y=((0-r.height())*u.w+n.height)/2;break;case"center right":case"right center":u.x=(0-r.width())*u.w+n.width;u.y=((0-r.height())*u.w+n.height)/2;break;case"bottom left":case"left bottom":u.x=0;u.y=(0-r.height())*u.w+n.height;break;case"bottom center":case"center bottom":u.x=((0-r.width())*u.w+n.width)/2;u.y=(0-r.height())*u.w+n.height;break;case"bottom right":case"right bottom":u.x=(0-r.width())*u.w+n.width;u.y=(0-r.height())*u.w+n.height}return u}function h(n,t,i){var r=t.data("owidth"),u=t.data("oheight"),f=i.container.width()/r,e=u*f,o=e/i.container.height()*n;return n+"% "+o+"%"}function ti(n){var i=n.css("-webkit-transform")||n.css("-moz-transform")||n.css("-ms-transform")||n.css("-o-transform")||n.css("transform"),t;if(i!=="none")var r=i.split("(")[1].split(")")[0].split(","),u=r[0],f=r[1],t=Math.round(Math.atan2(f,u)*(180/Math.PI));else t=0;return t<0?t+=360:t}function r(n,t,i,r,u,f){it(n,t);i.find(".defaultimg").css({opacity:1});u.index()!=f.index()&&r.find(".defaultimg").css({opacity:0});t.act=t.next;g(n);i.data("kenburns")=="on"&&ut(n,t)}function et(t){var e=t.target.getVideoEmbedCode(),f=n("#"+e.split('id="')[1].split('"')[0]),r=f.closest(".tp-simpleresponsive"),o=f.parent().data("player"),u,i;t.data==YT.PlayerState.PLAYING?(u=r.find(".tp-bannertimer"),i=u.data("opt"),f.closest(".tp-caption").data("volume")=="mute"&&o.mute(),i.videoplaying=!0,r.trigger("stoptimer"),r.trigger("revolution.slide.onvideoplay")):(u=r.find(".tp-bannertimer"),i=u.data("opt"),t.data!=-1&&(i.videoplaying=!1,r.trigger("playtimer"),r.trigger("revolution.slide.onvideostop")));t.data==0&&i.nextslideatend==!0&&i.container.revnext()}function ii(t,i){var u=$f(t),f=n("#"+t),r=f.closest(".tp-simpleresponsive");u.addEvent("ready",function(){i&&u.api("play");u.addEvent("play",function(){var n=r.find(".tp-bannertimer"),t=n.data("opt");t.videoplaying=!0;r.trigger("stoptimer");f.closest(".tp-caption").data("volume")=="mute"&&u.api("setVolume","0")});u.addEvent("finish",function(){var t=r.find(".tp-bannertimer"),n=t.data("opt");n.videoplaying=!1;r.trigger("playtimer");r.trigger("revolution.slide.onvideoplay");n.nextslideatend==!0&&n.container.revnext()});u.addEvent("pause",function(){var n=r.find(".tp-bannertimer"),t=n.data("opt");t.videoplaying=!1;r.trigger("playtimer");r.trigger("revolution.slide.onvideostop")})})}function ot(n,t){var i=t.width(),r=t.height(),u=n.data("mediaAspect"),f=i/r,e;n.css({position:"absolute"});e=n.find("video");f<u?(n.width(r*u).height(r),n.css("top",0).css("left",-(r*u-i)/2).css("height",r)):(n.width(i).height(i/u),n.css("top",-(i/u-r)/2).css("left",0).css("height",i/u))}function a(){var n={};return n.x=0,n.y=0,n.rotationX=0,n.rotationY=0,n.rotationZ=0,n.scale=1,n.scaleX=1,n.scaleY=1,n.skewX=0,n.skewY=0,n.opacity=0,n.transformOrigin="center, center",n.transformPerspective=400,n.rotation=0,n}function k(t,i){var r=i.split(";");return n.each(r,function(n,i){i=i.split(":");var r=i[0],u=i[1];r=="rotationX"&&(t.rotationX=parseInt(u,0));r=="rotationY"&&(t.rotationY=parseInt(u,0));r=="rotationZ"&&(t.rotationZ=parseInt(u,0));r=="rotationZ"&&(t.rotation=parseInt(u,0));r=="scaleX"&&(t.scaleX=parseFloat(u));r=="scaleY"&&(t.scaleY=parseFloat(u));r=="opacity"&&(t.opacity=parseFloat(u));r=="skewX"&&(t.skewX=parseInt(u,0));r=="skewY"&&(t.skewY=parseInt(u,0));r=="x"&&(t.x=parseInt(u,0));r=="y"&&(t.y=parseInt(u,0));r=="z"&&(t.z=parseInt(u,0));r=="transformOrigin"&&(t.transformOrigin=u.toString());r=="transformPerspective"&&(t.transformPerspective=parseInt(u,0))}),t}function ri(t){var r=t.split("animation:"),i={},u;return i.animation=k(a(),r[1]),u=r[0].split(";"),n.each(u,function(n,t){t=t.split(":");var r=t[0],u=t[1];r=="typ"&&(i.typ=u);r=="speed"&&(i.speed=parseInt(u,0)/1e3);r=="start"&&(i.start=parseInt(u,0)/1e3);r=="elementdelay"&&(i.elementdelay=parseFloat(u));r=="ease"&&(i.ease=u)}),i}function st(i,r,u){var o=0,e=0,s;i.find(".tp-caption").each(function(i){var y,vi,s,st,w,yi,it,rt,ut,nt,yt,l,pt,wt,bt,g,ft,ti,ct,lt,fi,oi,b,p,c,v,at,si,i,hi,vt,wi,tt,li,ai;if(o=r.width/2-r.startwidth*r.bw/2,y=r.bw,vi=r.bh,r.fullScreen=="on"&&(e=r.height/2-r.startheight*r.bh/2),r.autoHeight=="on"&&(e=r.container.height()/2-r.startheight*r.bh/2),e<0&&(e=0),s=n(this),st=0,r.width<r.hideCaptionAtLimit&&s.data("captionhidden")=="on"?(s.addClass("tp-hidden-caption"),st=1):r.width<r.hideAllCaptionAtLimit||r.width<r.hideAllCaptionAtLilmit?(s.addClass("tp-hidden-caption"),st=1):s.removeClass("tp-hidden-caption"),st==0){if(s.data("linktoslide")==t||s.hasClass("hasclicklistener")||(s.addClass("hasclicklistener"),s.css({cursor:"pointer"}),s.data("linktoslide")!="no"&&s.click(function(){var i=n(this),t=i.data("linktoslide");t!="next"&&t!="prev"?(r.container.data("showus",t),r.container.parent().find(".tp-rightarrow").click()):t=="next"?r.container.parent().find(".tp-rightarrow").click():t=="prev"&&r.container.parent().find(".tp-leftarrow").click()})),o<0&&(o=0),w="iframe"+Math.round(Math.random()*1e3+1),(s.find("iframe").length>0||s.find("video").length>0)&&((s.data("autoplayonlyfirsttime")==!0||s.data("autoplayonlyfirsttime")=="true")&&s.data("autoplay",!0),s.find("iframe").each(function(){var i=n(this),v,y,e,h;if(f()&&(v=i.attr("src"),i.attr("src",""),i.attr("src",v)),r.nextslideatend=s.data("nextslideatend"),s.data("thumbimage")!=t&&s.data("thumbimage").length>2&&s.data("autoplay")!=!0&&!u&&(s.find(".tp-thumb-image").remove(),s.append('<div class="tp-thumb-image" style="cursor:pointer; position:absolute;top:0px;left:0px;width:100%;height:100%;background-image:url('+s.data("thumbimage")+'); background-size:cover"><\/div>')),i.attr("src").toLowerCase().indexOf("youtube")>=0){if(i.hasClass("HasListener"))s.data("autoplay")==!0&&(e=s.data("player"),s.data("timerplay",setTimeout(function(){s.data("forcerewind")=="on"&&e.seekTo(0);e.playVideo()},s.data("start"))));else try{i.attr("id",w);y=setInterval(function(){YT!=t&&typeof YT.Player!=t&&typeof YT.Player!="undefined"&&(e=s.data("autoplay")==!0?new YT.Player(w,{events:{onStateChange:et,onReady:function(n){n.target.playVideo()}}}):new YT.Player(w,{events:{onStateChange:et}}),i.addClass("HasListener"),s.data("player",e),clearInterval(y))},100)}catch(k){}s.find(".tp-thumb-image").click(function(){TweenLite.to(n(this),.3,{opacity:0,ease:Power3.easeInOut,onComplete:function(){s.find(".tp-thumb-image").remove()}});var t=s.data("player");t.playVideo()})}else if(i.attr("src").toLowerCase().indexOf("vimeo")>=0){if(i.hasClass("HasListener")){if(s.data("autoplay")==!0)var i=s.find("iframe"),a=i.attr("id"),h=setInterval(function(){if($f!=t&&typeof $f(a).api!=t&&typeof $f(a).api!="undefined"){var n=$f(a);s.data("timerplay",setTimeout(function(){s.data("forcerewind")=="on"&&n.api("seekTo",0);n.api("play")},s.data("start")));clearInterval(h)}},100)}else{i.addClass("HasListener");i.attr("id",w);for(var o=i.attr("src"),c={},p=o,b=/([^&=]+)=([^&]*)/g,l;l=b.exec(p);)c[decodeURIComponent(l[1])]=decodeURIComponent(l[2]);o=c.player_id!=t?o.replace(c.player_id,w):o+"&player_id="+w;try{o=o.replace("api=0","api=1")}catch(k){}o=o+"&api=1";i.attr("src",o);e=s.find("iframe")[0];h=setInterval(function(){$f!=t&&typeof $f(w).api!=t&&typeof $f(w).api!="undefined"&&($f(e).addEvent("ready",function(){ii(w,s.data("autoplay"))}),clearInterval(h))},100)}s.find(".tp-thumb-image").click(function(){TweenLite.to(n(this),.3,{opacity:0,ease:Power3.easeInOut,onComplete:function(){s.find(".tp-thumb-image").remove()}});var r=s.find("iframe"),i=r.attr("id"),u=setInterval(function(){if($f!=t&&typeof $f(i).api!=t&&typeof $f(i).api!="undefined"){var n=$f(i);n.api("play");clearInterval(u)}},100)})}}),s.find("video").length>0&&s.find("video").each(function(){var f=n(this),u=this,i,e;f.parent().hasClass("html5vid")||f.wrap('<div class="html5vid" style="position:relative;top:0px;left:0px;width:auto;height:auto"><\/div>');i=n(this).parent();u.addEventListener?u.addEventListener("loadedmetadata",function(){i.data("metaloaded",1)}):u.attachEvent("loadedmetadata",function(){i.data("metaloaded",1)});f.hasClass("HasListener")||(f.addClass("HasListener"),u.addEventListener("play",function(){i.addClass("videoisplaying");i.find(".tp-poster").remove();s.data("volume")=="mute"&&(u.muted=!0);r.container.trigger("revolution.slide.onvideoplay");r.videoplaying=!0;r.container.trigger("stoptimer")}),u.addEventListener("pause",function(){i.removeClass("videoisplaying");r.videoplaying=!1;r.container.trigger("playtimer");r.container.trigger("revolution.slide.onvideostop")}),u.addEventListener("ended",function(){i.removeClass("videoisplaying");r.videoplaying=!1;r.container.trigger("playtimer");r.container.trigger("revolution.slide.onvideostop");r.nextslideatend==!0&&r.container.revnext()}));f.attr("poster")!=t&&i.find(".tp-poster").length==0&&i.append('<div class="tp-poster" style="position:absolute;z-index:1;width:100%;height:100%;top:0px;left:0px;background:url('+f.attr("poster")+'); background-position:center center;background-size:100%;background-repeat:no-repeat;"><\/div>');f.attr("control")==t&&i.find(".tp-video-play-button").length==0&&(i.append('<div class="tp-video-play-button"><i class="revicon-right-dir"><\/i><div class="tp-revstop"><\/div><\/div>'),i.find(".tp-video-play-button").click(function(){i.hasClass("videoisplaying")?u.pause():u.play()}));f.attr("control")==t&&i.find("video, .tp-poster").click(function(){i.hasClass("videoisplaying")?u.pause():u.play()});s.data("forcecover")==1&&(ot(i,r.container),i.addClass("fullcoveredvideo"),s.addClass("fullcoveredvideo"));(s.data("forcecover")==1||s.hasClass("fullscreenvideo"))&&i.css({width:"100%",height:"100%"});e=!1;(s.data("autoplayonlyfirsttime")==!0||s.data("autoplayonlyfirsttime")=="true")&&(e=!0);clearInterval(i.data("interval"));i.data("interval",setInterval(function(){var o,h;if(i.data("metaloaded")==1||u.duration!=NaN){if(clearInterval(i.data("interval")),s.data("dottedoverlay")!="none"&&s.data("dottedoverlay")!=t&&s.find(".tp-dottedoverlay").length!=1&&i.append('<div class="tp-dottedoverlay '+s.data("dottedoverlay")+'"><\/div>'),o=16/9,s.data("aspectratio")=="4:3"&&(o=4/3),i.data("mediaAspect",o),i.closest(".tp-caption").data("forcecover")==1&&(ot(i,r.container),i.addClass("fullcoveredvideo")),f.css({display:"block"}),r.nextslideatend=s.data("nextslideatend"),(s.data("autoplay")==!0||e==!0)&&(h=n("body").find("#"+r.container.attr("id")).find(".tp-bannertimer"),setTimeout(function(){r.videoplaying=!0;r.container.trigger("stoptimer")},200),s.data("forcerewind")!="on"||i.hasClass("videoisplaying")||u.currentTime>0&&(u.currentTime=0),s.data("volume")=="mute"&&(u.muted=!0),i.data("timerplay",setTimeout(function(){s.data("forcerewind")!="on"||i.hasClass("videoisplaying")||u.currentTime>0&&(u.currentTime=0);s.data("volume")=="mute"&&(u.muted=!0);setTimeout(function(){u.play()},500)},10+s.data("start")))),i.data("ww")==t&&i.data("ww",f.attr("width")),i.data("hh")==t&&i.data("hh",f.attr("height")),!s.hasClass("fullscreenvideo")&&s.data("forcecover")==1)try{i.width(i.data("ww")*r.bw);i.height(i.data("hh")*r.bh)}catch(c){}clearInterval(i.data("interval"))}}),100)}),s.data("autoplay")==!0&&(yi=n("body").find("#"+r.container.attr("id")).find(".tp-bannertimer"),setTimeout(function(){r.videoplaying=!0;r.container.trigger("stoptimer")},200),r.videoplaying=!0,r.container.trigger("stoptimer"),(s.data("autoplayonlyfirsttime")==!0||s.data("autoplayonlyfirsttime")=="true")&&(s.data("autoplay",!1),s.data("autoplayonlyfirsttime",!1)))),it=0,rt=0,s.find("img").length>0)l=s.find("img"),l.data("ww")==t&&l.data("ww",l.width()),l.data("hh")==t&&l.data("hh",l.height()),ut=l.data("ww"),nt=l.data("hh"),l.width(ut*r.bw),l.height(nt*r.bh),it=l.width(),rt=l.height();else if(s.find("iframe").length>0||s.find("video").length>0){yt=!1;l=s.find("iframe");l.length==0&&(l=s.find("video"),yt=!0);l.css({display:"block"});s.data("ww")==t&&s.data("ww",l.width());s.data("hh")==t&&s.data("hh",l.height());var ut=s.data("ww"),nt=s.data("hh"),h=s;h.data("fsize")==t&&h.data("fsize",parseInt(h.css("font-size"),0)||0);h.data("pt")==t&&h.data("pt",parseInt(h.css("paddingTop"),0)||0);h.data("pb")==t&&h.data("pb",parseInt(h.css("paddingBottom"),0)||0);h.data("pl")==t&&h.data("pl",parseInt(h.css("paddingLeft"),0)||0);h.data("pr")==t&&h.data("pr",parseInt(h.css("paddingRight"),0)||0);h.data("mt")==t&&h.data("mt",parseInt(h.css("marginTop"),0)||0);h.data("mb")==t&&h.data("mb",parseInt(h.css("marginBottom"),0)||0);h.data("ml")==t&&h.data("ml",parseInt(h.css("marginLeft"),0)||0);h.data("mr")==t&&h.data("mr",parseInt(h.css("marginRight"),0)||0);h.data("bt")==t&&h.data("bt",parseInt(h.css("borderTop"),0)||0);h.data("bb")==t&&h.data("bb",parseInt(h.css("borderBottom"),0)||0);h.data("bl")==t&&h.data("bl",parseInt(h.css("borderLeft"),0)||0);h.data("br")==t&&h.data("br",parseInt(h.css("borderRight"),0)||0);h.data("lh")==t&&h.data("lh",parseInt(h.css("lineHeight"),0)||0);pt=r.width;wt=r.height;pt>r.startwidth&&(pt=r.startwidth);wt>r.startheight&&(wt=r.startheight);s.hasClass("fullscreenvideo")?(o=0,e=0,s.data("x",0),s.data("y",0),bt=r.height,r.autoHeight=="on"&&(bt=r.container.height()),s.css({width:r.width,height:bt})):s.css({"font-size":h.data("fsize")*r.bw+"px","padding-top":h.data("pt")*r.bh+"px","padding-bottom":h.data("pb")*r.bh+"px","padding-left":h.data("pl")*r.bw+"px","padding-right":h.data("pr")*r.bw+"px","margin-top":h.data("mt")*r.bh+"px","margin-bottom":h.data("mb")*r.bh+"px","margin-left":h.data("ml")*r.bw+"px","margin-right":h.data("mr")*r.bw+"px","border-top":h.data("bt")*r.bh+"px","border-bottom":h.data("bb")*r.bh+"px","border-left":h.data("bl")*r.bw+"px","border-right":h.data("br")*r.bw+"px","line-height":h.data("lh")*r.bh+"px",height:nt*r.bh+"px"});yt==!1?(l.width(ut*r.bw),l.height(nt*r.bh)):s.data("forcecover")==1||s.hasClass("fullscreenvideo")||(l.width(ut*r.bw),l.height(nt*r.bh));it=l.width();rt=l.height()}else s.find(".tp-resizeme, .tp-resizeme *").each(function(){d(n(this),r)}),s.hasClass("tp-resizeme")&&s.find("*").each(function(){d(n(this),r)}),d(s,r),rt=s.outerHeight(!0),it=s.outerWidth(!0),g=s.outerHeight(),ft=s.css("backgroundColor"),s.find(".frontcorner").css({borderWidth:g+"px",left:0-g+"px",borderRight:"0px solid transparent",borderTopColor:ft}),s.find(".frontcornertop").css({borderWidth:g+"px",left:0-g+"px",borderRight:"0px solid transparent",borderBottomColor:ft}),s.find(".backcorner").css({borderWidth:g+"px",right:0-g+"px",borderLeft:"0px solid transparent",borderBottomColor:ft}),s.find(".backcornertop").css({borderWidth:g+"px",right:0-g+"px",borderLeft:"0px solid transparent",borderTopColor:ft});r.fullScreenAlignForce=="on"&&(o=0,e=0);s.data("voffset")==t&&s.data("voffset",0);s.data("hoffset")==t&&s.data("hoffset",0);var kt=s.data("voffset")*y,dt=s.data("hoffset")*y,gt=r.startwidth*y,ni=r.startheight*y;if(r.fullScreenAlignForce=="on"&&(gt=r.container.width(),ni=r.container.height()),(s.data("x")=="center"||s.data("xcenter")=="center")&&(s.data("xcenter","center"),s.data("x",gt/2-s.outerWidth(!0)/2+dt)),(s.data("x")=="left"||s.data("xleft")=="left")&&(s.data("xleft","left"),s.data("x",0/y+dt)),(s.data("x")=="right"||s.data("xright")=="right")&&(s.data("xright","right"),s.data("x",(gt-s.outerWidth(!0)+dt)/y)),(s.data("y")=="center"||s.data("ycenter")=="center")&&(s.data("ycenter","center"),s.data("y",ni/2-s.outerHeight(!0)/2+kt)),(s.data("y")=="top"||s.data("ytop")=="top")&&(s.data("ytop","top"),s.data("y",0/r.bh+kt)),(s.data("y")=="bottom"||s.data("ybottom")=="bottom")&&(s.data("ybottom","bottom"),s.data("y",(ni-s.outerHeight(!0)+kt)/y)),s.data("start")==t&&s.data("start",1e3),ti=s.data("easing"),ti==t&&(ti="Power1.easeOut"),ct=s.data("start")/1e3,lt=s.data("speed")/1e3,fi=s.data("x")=="center"||s.data("xcenter")=="center"?s.data("x")+o:y*s.data("x")+o,oi=s.data("y")=="center"||s.data("ycenter")=="center"?s.data("y")+e:r.bh*s.data("y")+e,TweenLite.set(s,{top:oi,left:fi,overwrite:"auto"}),!u){s.data("timeline")!=t&&s.data("timeline").clear();function ci(){setTimeout(function(){s.css({transform:"none","-moz-transform":"none","-webkit-transform":"none"})},100)}function pi(){s.data("timer",setTimeout(function(){s.hasClass("fullscreenvideo")&&s.css({display:"block"})},s.data("start")))}if(b=new TimelineLite({smoothChildTiming:!0,onStart:pi}),r.fullScreenAlignForce=="on",p=s,s.data("mySplitText")!=t&&s.data("mySplitText").revert(),(s.data("splitin")=="chars"||s.data("splitin")=="words"||s.data("splitin")=="lines"||s.data("splitout")=="chars"||s.data("splitout")=="words"||s.data("splitout")=="lines")&&(s.find("a").length>0?s.data("mySplitText",new SplitText(s.find("a"),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})):s.data("mySplitText",new SplitText(s,{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})),s.addClass("splitted")),s.data("splitin")=="chars"&&(p=s.data("mySplitText").chars),s.data("splitin")=="words"&&(p=s.data("mySplitText").words),s.data("splitin")=="lines"&&(p=s.data("mySplitText").lines),c=a(),v=a(),s.data("repeat")!=t&&(repeatV=s.data("repeat")),s.data("yoyo")!=t&&(yoyoV=s.data("yoyo")),s.data("repeatdelay")!=t&&(repeatdelayV=s.data("repeatdelay")),s.hasClass("customin")?c=k(c,s.data("customin")):s.hasClass("randomrotate")?(c.scale=Math.random()*3+1,c.rotation=Math.round(Math.random()*200-100),c.x=Math.round(Math.random()*200-100),c.y=Math.round(Math.random()*200-100)):s.hasClass("lfr")||s.hasClass("skewfromright")?c.x=15+r.width:s.hasClass("lfl")||s.hasClass("skewfromleft")?c.x=-15-it:s.hasClass("sfl")||s.hasClass("skewfromleftshort")?c.x=-50:s.hasClass("sfr")||s.hasClass("skewfromrightshort")?c.x=50:s.hasClass("lft")?c.y=-25-rt:s.hasClass("lfb")?c.y=25+r.height:s.hasClass("sft")?c.y=-50:s.hasClass("sfb")&&(c.y=50),s.hasClass("skewfromright")||s.hasClass("skewfromrightshort")?c.skewX=-85:(s.hasClass("skewfromleft")||s.hasClass("skewfromleftshort"))&&(c.skewX=85),(s.hasClass("fade")||s.hasClass("sft")||s.hasClass("sfl")||s.hasClass("sfb")||s.hasClass("skewfromleftshort")||s.hasClass("sfr")||s.hasClass("skewfromrightshort"))&&(c.opacity=0),ui().toLowerCase()=="safari"&&(c.rotationX=0,c.rotationY=0),at=s.data("elementdelay")==t?0:s.data("elementdelay"),v.ease=c.ease=s.data("easing")==t?Power1.easeInOut:s.data("easing"),c.data={},c.data.oldx=c.x,c.data.oldy=c.y,v.data={},v.data.oldx=v.x,v.data.oldy=v.y,c.x=c.x*y,c.y=c.y*y,si=new TimelineLite,s.hasClass("customin"))p!=s&&b.add(TweenLite.set(s,{opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:"visible",opacity:1,delay:0,overwrite:"all"})),c.visibility="hidden",v.visibility="visible",v.overwrite="all",v.opacity=1,v.onComplete=ci(),v.delay=ct,b.add(si.staggerFromTo(p,lt,c,v,at),"frame0");else if(c.visibility="visible",c.transformPerspective=600,p!=s&&b.add(TweenLite.set(s,{opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:"visible",opacity:1,delay:0,overwrite:"all"})),v.visibility="visible",v.delay=ct,v.onComplete=ci(),v.opacity=1,s.hasClass("randomrotate")&&p!=s)for(i=0;i<p.length;i++)hi={},vt={},n.extend(hi,c),n.extend(vt,v),c.scale=Math.random()*3+1,c.rotation=Math.round(Math.random()*200-100),c.x=Math.round(Math.random()*200-100),c.y=Math.round(Math.random()*200-100),i!=0&&(vt.delay=ct+i*at),b.append(TweenLite.fromTo(p[i],lt,hi,vt),"frame0");else b.add(si.staggerFromTo(p,lt,c,v,at),"frame0");s.data("timeline",b);wi=[];s.data("frames")!=t&&(tt=s.data("frames"),tt=tt.replace(/\s+/g,""),tt=tt.replace("{",""),li=tt.split("}"),n.each(li,function(n,t){if(t.length>0){var i=ri(t);ei(s,r,i,"frame"+(n+10),y)}}));b=s.data("timeline");s.data("end")!=t?ht(s,r,s.data("end")/1e3,c,"frame99",y):ht(s,r,999999,c,"frame99",y);b=s.data("timeline");s.data("timeline",b);s.find(".rs-pendulum").each(function(){var i=n(this),r,u;i.data("timeline")==t&&(i.data("timeline",new TimelineLite),r=i.data("startdeg")==t?-20:i.data("startdeg"),u=i.data("enddeg")==t?20:i.data("enddeg"),speed=i.data("speed")==t?2:i.data("speed"),origin=i.data("origin")==t?"50% 50%":i.data("origin"),easing=i.data("ease")==t?Power2.easeInOut:i.data("ease"),i.data("timeline").append(new TweenLite.fromTo(i,speed,{rotation:r,transformOrigin:origin},{rotation:u,ease:easing})),i.data("timeline").append(new TweenLite.fromTo(i,speed,{rotation:u,transformOrigin:origin},{rotation:r,ease:easing,onComplete:function(){i.data("timeline").restart()}})))});s.find(".rs-slideloop").each(function(){var i=n(this),r,u;i.data("timeline")==t&&(i.data("timeline",new TimelineLite),r=i.data("xs")==t?0:i.data("xs"),u=i.data("ys")==t?0:i.data("ys"),xe=i.data("xe")==t?0:i.data("xe"),ye=i.data("ye")==t?0:i.data("ye"),speed=i.data("speed")==t?2:i.data("speed"),easing=i.data("ease")==t?Power2.easeInOut:i.data("ease"),i.data("timeline").append(new TweenLite.fromTo(i,speed,{x:r,y:u},{x:xe,y:ye,ease:easing})),i.data("timeline").append(new TweenLite.fromTo(i,speed,{x:xe,y:ye},{x:r,y:u,onComplete:function(){i.data("timeline").restart()}})))});s.find(".rs-pulse").each(function(){var i=n(this),r,u;i.data("timeline")==t&&(i.data("timeline",new TimelineLite),r=i.data("zoomstart")==t?0:i.data("zoomstart"),u=i.data("zoomend")==t?0:i.data("zoomend"),speed=i.data("speed")==t?2:i.data("speed"),easing=i.data("ease")==t?Power2.easeInOut:i.data("ease"),i.data("timeline").append(new TweenLite.fromTo(i,speed,{scale:r},{scale:u,ease:easing})),i.data("timeline").append(new TweenLite.fromTo(i,speed,{scale:u},{scale:r,onComplete:function(){i.data("timeline").restart()}})))});s.find(".rs-wave").each(function(){var i=n(this);if(i.data("timeline")==t){i.data("timeline",new TimelineLite);var u=i.data("angle")==t?10:i.data("angle"),f=i.data("radius")==t?10:i.data("radius"),e=i.data("speed")==t?-20:i.data("speed"),o=i.data("origin")==t?-20:i.data("origin"),r={a:0,ang:u,element:i,unit:f};i.data("timeline").append(new TweenLite.fromTo(r,e,{a:360},{a:0,ease:Linear.easeNone,onUpdate:function(){var n=r.a*(Math.PI/180);TweenLite.to(r.element,.1,{x:Math.cos(n)*r.unit,y:r.unit*(1-Math.sin(n))})},onComplete:function(){i.data("timeline").restart()}}))}})}}u&&s.data("timeline")!=t&&(ai=s.data("timeline").getTweensOf(),n.each(ai,function(n,i){if(i.vars.data!=t){var r=i.vars.data.oldx*y,u=i.vars.data.oldy*y;if(i.progress()!=1&&i.progress()!=0)try{i.vars.x=r;i.vary.y=u}catch(f){}else i.progress()==1&&TweenLite.set(i.target,{x:r,y:u})}}))});s=n("body").find("#"+r.container.attr("id")).find(".tp-bannertimer");s.data("opt",r)}function ui(){var r=navigator.appName,t=navigator.userAgent,i,n=t.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return n&&(i=t.match(/version\/([\.\d]+)/i))!=null&&(n[2]=i[1]),n=n?[n[1],n[2]]:[r,navigator.appVersion,"-?"],n[0]}function d(n,i){n.data("fsize")==t&&n.data("fsize",parseInt(n.css("font-size"),0)||0);n.data("pt")==t&&n.data("pt",parseInt(n.css("paddingTop"),0)||0);n.data("pb")==t&&n.data("pb",parseInt(n.css("paddingBottom"),0)||0);n.data("pl")==t&&n.data("pl",parseInt(n.css("paddingLeft"),0)||0);n.data("pr")==t&&n.data("pr",parseInt(n.css("paddingRight"),0)||0);n.data("mt")==t&&n.data("mt",parseInt(n.css("marginTop"),0)||0);n.data("mb")==t&&n.data("mb",parseInt(n.css("marginBottom"),0)||0);n.data("ml")==t&&n.data("ml",parseInt(n.css("marginLeft"),0)||0);n.data("mr")==t&&n.data("mr",parseInt(n.css("marginRight"),0)||0);n.data("bt")==t&&n.data("bt",parseInt(n.css("borderTopWidth"),0)||0);n.data("bb")==t&&n.data("bb",parseInt(n.css("borderBottomWidth"),0)||0);n.data("bl")==t&&n.data("bl",parseInt(n.css("borderLeftWidth"),0)||0);n.data("br")==t&&n.data("br",parseInt(n.css("borderRightWidth"),0)||0);n.data("ls")==t&&n.data("ls",parseInt(n.css("letterSpacing"),0)||0);n.data("lh")==t&&n.data("lh",parseInt(n.css("lineHeight"),0)||0);n.data("minwidth")==t&&n.data("minwidth",parseInt(n.css("minWidth"),0)||0);n.data("minheight")==t&&n.data("minheight",parseInt(n.css("minHeight"),0)||0);n.data("maxwidth")==t&&n.data("maxwidth",parseInt(n.css("maxWidth"),0)||"none");n.data("maxheight")==t&&n.data("maxheight",parseInt(n.css("maxHeight"),0)||"none");n.data("wan")==t&&n.data("wan",n.css("-webkit-transition"));n.data("moan")==t&&n.data("moan",n.css("-moz-animation-transition"));n.data("man")==t&&n.data("man",n.css("-ms-animation-transition"));n.data("ani")==t&&n.data("ani",n.css("transition"));n.hasClass("tp-splitted")||(n.css("-webkit-transition","none"),n.css("-moz-transition","none"),n.css("-ms-transition","none"),n.css("transition","none"),TweenLite.set(n,{fontSize:Math.round(n.data("fsize")*i.bw)+"px",letterSpacing:Math.floor(n.data("ls")*i.bw)+"px",paddingTop:Math.round(n.data("pt")*i.bh)+"px",paddingBottom:Math.round(n.data("pb")*i.bh)+"px",paddingLeft:Math.round(n.data("pl")*i.bw)+"px",paddingRight:Math.round(n.data("pr")*i.bw)+"px",marginTop:n.data("mt")*i.bh+"px",marginBottom:n.data("mb")*i.bh+"px",marginLeft:n.data("ml")*i.bw+"px",marginRight:n.data("mr")*i.bw+"px",borderTopWidth:Math.round(n.data("bt")*i.bh)+"px",borderBottomWidth:Math.round(n.data("bb")*i.bh)+"px",borderLeftWidth:Math.round(n.data("bl")*i.bw)+"px",borderRightWidth:Math.round(n.data("br")*i.bw)+"px",lineHeight:Math.round(n.data("lh")*i.bh)+"px",minWidth:n.data("minwidth")*i.bw+"px",minHeight:n.data("minheight")*i.bh+"px",overwrite:"auto"}),setTimeout(function(){n.css("-webkit-transition",n.data("wan"));n.css("-moz-transition",n.data("moan"));n.css("-ms-transition",n.data("man"));n.css("transition",n.data("ani"))},30),n.data("maxheight")!="none"&&n.css({maxHeight:n.data("maxheight")*i.bh+"px"}),n.data("maxwidth")!="none"&&n.css({maxWidth:n.data("maxwidth")*i.bw+"px"}))}function fi(t){t.find(".tp-caption").each(function(){var t=n(this),r,u;if(t.find("iframe").length>0){try{var f=t.find("iframe"),e=f.attr("id"),o=$f(e);o.api("pause");clearTimeout(t.data("timerplay"))}catch(c){}try{r=t.data("player");r.stopVideo();clearTimeout(t.data("timerplay"))}catch(c){}}if(t.find("video").length>0)try{t.find("video").each(function(){var t=n(this).parent(),r=t.attr("id"),i;clearTimeout(t.data("timerplay"));i=this;i.pause()})}catch(c){}try{var i=t.data("timeline"),s=i.getLabelTime("frame99"),h=i.time();s>h&&(u=i.getTweensOf(t),n.each(u,function(n,t){n!=0&&t.pause()}),t.css("opacity")!=0?i.play("frame99"):i.progress(1,!1))}catch(c){}})}function ei(n,i,r,u,f){var o=n.data("timeline"),s=new TimelineLite,e=n;r.typ=="chars"?e=n.data("mySplitText").chars:r.typ=="words"?e=n.data("mySplitText").words:r.typ=="lines"&&(e=n.data("mySplitText").lines);r.animation.ease=r.ease;r.animation.rotationZ!=t&&(r.animation.rotation=r.animation.rotationZ);r.animation.data={};r.animation.data.oldx=r.animation.x;r.animation.data.oldy=r.animation.y;r.animation.x=r.animation.x*f;r.animation.y=r.animation.y*f;o.add(s.staggerTo(e,r.speed,r.animation,r.elementdelay),r.start);o.addLabel(u,r.start);n.data("timeline",o)}function ht(n,i,r,u,f,e){var h=n.data("timeline"),v=new TimelineLite,o=a(),c=n.data("endspeed")==t?n.data("speed"):n.data("endspeed"),s,l;o.ease=n.data("endeasing")==t?Power1.easeInOut:n.data("endeasing");c=c/1e3;n.hasClass("ltr")||n.hasClass("ltl")||n.hasClass("str")||n.hasClass("stl")||n.hasClass("ltt")||n.hasClass("ltb")||n.hasClass("stt")||n.hasClass("stb")||n.hasClass("skewtoright")||n.hasClass("skewtorightshort")||n.hasClass("skewtoleft")||n.hasClass("skewtoleftshort")||n.hasClass("fadeout")||n.hasClass("randomrotateout")?(n.hasClass("skewtoright")||n.hasClass("skewtorightshort")?o.skewX=35:(n.hasClass("skewtoleft")||n.hasClass("skewtoleftshort"))&&(o.skewX=-35),n.hasClass("ltr")||n.hasClass("skewtoright")?o.x=i.width+60:n.hasClass("ltl")||n.hasClass("skewtoleft")?o.x=0-(i.width+60):n.hasClass("ltt")?o.y=0-(i.height+60):n.hasClass("ltb")?o.y=i.height+60:n.hasClass("str")||n.hasClass("skewtorightshort")?(o.x=50,o.opacity=0):n.hasClass("stl")||n.hasClass("skewtoleftshort")?(o.x=-50,o.opacity=0):n.hasClass("stt")?(o.y=-50,o.opacity=0):n.hasClass("stb")?(o.y=50,o.opacity=0):n.hasClass("randomrotateout")?(o.x=Math.random()*i.width,o.y=Math.random()*i.height,o.scale=Math.random()*2+.3,o.rotation=Math.random()*360-180,o.opacity=0):n.hasClass("fadeout")&&(o.opacity=0),n.hasClass("skewtorightshort")?o.x=270:n.hasClass("skewtoleftshort")&&(o.x=-270),o.data={},o.data.oldx=o.x,o.data.oldy=o.y,o.x=o.x*e,o.y=o.y*e,o.overwrite="auto",s=n,s=n,n.data("splitout")=="chars"?s=n.data("mySplitText").chars:n.data("splitout")=="words"?s=n.data("mySplitText").words:n.data("splitout")=="lines"&&(s=n.data("mySplitText").lines),l=n.data("endelementdelay")==t?0:n.data("endelementdelay"),h.add(v.staggerTo(s,c,o,l),r)):n.hasClass("customout")?(o=k(o,n.data("customout")),s=n,n.data("splitout")=="chars"?s=n.data("mySplitText").chars:n.data("splitout")=="words"?s=n.data("mySplitText").words:n.data("splitout")=="lines"&&(s=n.data("mySplitText").lines),l=n.data("endelementdelay")==t?0:n.data("endelementdelay"),o.onStart=function(){TweenLite.set(n,{transformPerspective:o.transformPerspective,transformOrigin:o.transformOrigin,overwrite:"auto"})},o.data={},o.data.oldx=o.x,o.data.oldy=o.y,o.x=o.x*e,o.y=o.y*e,h.add(v.staggerTo(s,c,o,l),r)):(u.delay=0,h.add(TweenLite.to(n,c,u),r));h.addLabel(f,r);n.data("timeline",h)}function oi(t,i){t.children().each(function(){try{n(this).die("click")}catch(t){}try{n(this).die("mouseenter")}catch(t){}try{n(this).die("mouseleave")}catch(t){}try{n(this).unbind("hover")}catch(t){}});try{t.die("click","mouseenter","mouseleave")}catch(r){}clearInterval(i.cdint);t=null}function si(i,r){if(r.cd=0,r.loop=0,r.looptogo=r.stopAfterLoops!=t&&r.stopAfterLoops>-1?r.stopAfterLoops:9999999,r.lastslidetoshow=r.stopAtSlide!=t&&r.stopAtSlide>-1?r.stopAtSlide:999,r.stopLoop="off",r.looptogo==0&&(r.stopLoop="on"),r.slideamount>1&&!(r.stopAfterLoops==0&&r.stopAtSlide==1)){var u=i.find(".tp-bannertimer");i.on("stoptimer",function(){u.data("tween").pause();r.hideTimerBar=="on"&&u.css({visibility:"hidden"})});i.on("starttimer",function(){r.conthover!=1&&r.videoplaying!=!0&&r.width>r.hideSliderAtLimit&&r.bannertimeronpause!=!0&&r.overnav!=!0&&(r.stopLoop=="on"&&r.next==r.lastslidetoshow-1||(u.css({visibility:"visible"}),u.data("tween").play()));r.hideTimerBar=="on"&&u.css({visibility:"hidden"})});i.on("restarttimer",function(){r.stopLoop=="on"&&r.next==r.lastslidetoshow-1||(u.css({visibility:"visible"}),u.data("tween",TweenLite.fromTo(u,r.delay/1e3,{width:"0%"},{width:"100%",ease:Linear.easeNone,onComplete:e,delay:1})));r.hideTimerBar=="on"&&u.css({visibility:"hidden"})});i.on("nulltimer",function(){u.data("tween").pause(0);r.hideTimerBar=="on"&&u.css({visibility:"hidden"})});function e(){n("body").find(i).length==0&&(oi(i,r),clearInterval(r.cdint));i.data("conthover-changed")==1&&(r.conthover=i.data("conthover"),i.data("conthover-changed",0));r.act=r.next;r.next=r.next+1;r.next>i.find(">ul >li").length-1&&(r.next=0,r.looptogo=r.looptogo-1,r.looptogo<=0&&(r.stopLoop="on"));r.stopLoop=="on"&&r.next==r.lastslidetoshow-1?(i.find(".tp-bannertimer").css({visibility:"hidden"}),i.trigger("revolution.slide.onstop")):u.data("tween").restart();w(i,r)}u.data("tween",TweenLite.fromTo(u,r.delay/1e3,{width:"0%"},{width:"100%",ease:Linear.easeNone,onComplete:e,delay:1}));u.data("opt",r);i.hover(function(){if(r.onHoverStop=="on"&&!f()){i.trigger("stoptimer");i.trigger("revolution.slide.onpause");var u=i.find(">ul >li:eq("+r.next+") .slotholder");u.find(".defaultimg").each(function(){var i=n(this);i.data("kenburn")!=t&&i.data("kenburn").pause()})}},function(){if(i.data("conthover")!=1){i.trigger("revolution.slide.onresume");i.trigger("starttimer");var u=i.find(">ul >li:eq("+r.next+") .slotholder");u.find(".defaultimg").each(function(){var i=n(this);i.data("kenburn")!=t&&i.data("kenburn").play()})}})}}n.fn.extend({revolution:function(i){return n.fn.revolution.defaults={delay:9e3,startheight:500,startwidth:960,fullScreenAlignForce:"off",autoHeight:"off",hideTimerBar:"off",hideThumbs:200,hideNavDelayOnMobile:1500,thumbWidth:100,thumbHeight:50,thumbAmount:3,navigationType:"bullet",navigationArrows:"solo",hideThumbsOnMobile:"off",hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResoluition:0,navigationStyle:"round",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,keyboardNavigation:"on",touchenabled:"on",onHoverStop:"on",stopAtSlide:-1,stopAfterLoops:-1,hideCaptionAtLimit:0,hideAllCaptionAtLimit:0,hideSliderAtLimit:0,shadow:0,fullWidth:"off",fullScreen:"off",minFullScreenHeight:0,fullScreenOffsetContainer:"",dottedOverlay:"none",forceFullWidth:"off",spinner:"spinner0",swipe_velocity:.4,swipe_max_touches:1,swipe_min_touches:1,drag_block_vertical:!1,isJoomla:!1,parallax:"off",parallaxLevels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],parallaxBgFreeze:"off"},i=n.extend({},n.fn.revolution.defaults,i),this.each(function(){var r=i,u,p,nt,c,e,b,o,it,s;if(r.desktop=!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i),r.fullWidth!="on"&&r.fullScreen!="on"&&(r.autoHeight="off"),r.fullScreen=="on"&&(r.autoHeight="on"),r.fullWidth!="on"&&r.fullScreen!="on"&&(forceFulWidth="off"),u=n(this),r.fullWidth=="on"&&r.autoHeight=="off"&&u.css({maxHeight:r.startheight+"px"}),f()&&r.hideThumbsOnMobile=="on"&&r.navigationType=="thumb"&&(r.navigationType="none"),f()&&r.hideBulletsOnMobile=="on"&&r.navigationType=="bullet"&&(r.navigationType="none"),f()&&r.hideBulletsOnMobile=="on"&&r.navigationType=="both"&&(r.navigationType="none"),f()&&r.hideArrowsOnMobile=="on"&&(r.navigationArrows="none"),r.forceFullWidth=="on"){var o=u.parent().offset().left,l=u.parent().css("marginBottom"),a=u.parent().css("marginTop");l==t&&(l=0);a==t&&(a=0);u.parent().wrap('<div style="position:relative;width:100%;height:auto;margin-top:'+a+";margin-bottom:"+l+'" class="forcefullwidth_wrapper_tp_banner"><\/div>');u.closest(".forcefullwidth_wrapper_tp_banner").append('<div class="tp-fullwidth-forcer" style="width:100%;height:'+u.height()+'px"><\/div>');u.css({backgroundColor:u.parent().css("backgroundColor"),backgroundImage:u.parent().css("backgroundImage")});u.parent().css({left:0-o+"px",position:"absolute",width:n(window).width()});r.width=n(window).width()}try{r.hideThumbsUnderResolution>n(window).width()&&r.hideThumbsUnderResolution!=0?u.parent().find(".tp-bullets.tp-thumbs").css({display:"none"}):u.parent().find(".tp-bullets.tp-thumbs").css({display:"block"})}catch(rt){}if(!u.hasClass("revslider-initialised")){u.addClass("revslider-initialised");u.attr("id")==t&&u.attr("id","revslider-"+Math.round(Math.random()*1e3+5));r.firefox13=!1;r.ie=!n.support.opacity;r.ie9=document.documentMode==9;r.origcd=r.delay;var h=n.fn.jquery.split("."),k=parseFloat(h[0]),tt=parseFloat(h[1]),ut=parseFloat(h[2]||"0");k==1&&tt<7&&u.html('<div style="text-align:center; padding:40px 0px; font-size:20px; color:#992222;"> The Current Version of jQuery:'+h+" <br>Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin<\/div>");k>1&&(r.ie=!1);n.support.transition||(n.fn.transition=n.fn.animate);u.find(".caption").each(function(){n(this).addClass("tp-caption")});f()&&u.find(".tp-caption").each(function(){n(this).data("autoplay")==!0&&n(this).data("autoplay",!1)});var d=0,g=0,y="http";if(location.protocol==="https:"&&(y="https"),u.find(".tp-caption iframe").each(function(){var t,i,r,u;try{n(this).attr("src").indexOf("you")>0&&d==0&&(d=1,t=document.createElement("script"),i="https",t.src=i+"://www.youtube.com/iframe_api",r=document.getElementsByTagName("script")[0],u=!0,n("head").find("*").each(function(){n(this).attr("src")==i+"://www.youtube.com/iframe_api"&&(u=!1)}),u&&r.parentNode.insertBefore(t,r))}catch(f){}}),u.find(".tp-caption iframe").each(function(){var t,i,r;try{n(this).attr("src").indexOf("vim")>0&&g==0&&(g=1,t=document.createElement("script"),t.src=y+"://a.vimeocdn.com/js/froogaloop2.min.js",i=document.getElementsByTagName("script")[0],r=!0,n("head").find("*").each(function(){n(this).attr("src")==y+"://a.vimeocdn.com/js/froogaloop2.min.js"&&(r=!1)}),r&&i.parentNode.insertBefore(t,i))}catch(u){}}),u.find(".tp-caption video").each(function(){n(this).removeClass("video-js").removeClass("vjs-default-skin");n(this).attr("preload","");n(this).css({display:"none"})}),r.shuffle=="on")for(p=0;p<u.find(">ul:first-child >li").length;p++)nt=Math.round(Math.random()*u.find(">ul:first-child >li").length),u.find(">ul:first-child >li:eq("+nt+")").prependTo(u.find(">ul:first-child"));r.slots=4;r.act=-1;r.next=0;r.startWithSlide!=t&&(r.next=r.startWithSlide);c=lt("#")[0];c.length<9&&c.split("slide").length>1&&(e=parseInt(c.split("slide")[1],0),e<1&&(e=1),e>u.find(">ul:first >li").length&&(e=u.find(">ul:first >li").length),r.next=e-1);r.firststart=1;r.navigationHOffset==t&&(r.navOffsetHorizontal=0);r.navigationVOffset==t&&(r.navOffsetVertical=0);u.append('<div class="tp-loader '+r.spinner+'"><div class="dot1"><\/div><div class="dot2"><\/div><div class="bounce1"><\/div><div class="bounce2"><\/div><div class="bounce3"><\/div><\/div>');u.find(".tp-bannertimer").length==0&&u.append('<div class="tp-bannertimer" style="visibility:hidden"><\/div>');b=u.find(".tp-bannertimer");b.length>0&&b.css({width:"0%"});u.addClass("tp-simpleresponsive");r.container=u;r.slideamount=u.find(">ul:first >li").length;u.height()==0&&u.height(r.startheight);(r.startwidth==t||r.startwidth==0)&&(r.startwidth=u.width());(r.startheight==t||r.startheight==0)&&(r.startheight=u.height());r.width=u.width();r.height=u.height();r.bw=r.startwidth/u.width();r.bh=r.startheight/u.height();r.width!=r.startwidth&&(r.height=Math.round(r.startheight*(r.width/r.startwidth)),u.height(r.height));r.shadow!=0&&(u.parent().append('<div class="tp-bannershadow tp-shadow'+r.shadow+'"><\/div>'),o=0,r.forceFullWidth=="on"&&(o=0-r.container.parent().offset().left),u.parent().find(".tp-bannershadow").css({width:r.width,left:o}));u.find("ul").css({display:"none"});it=u;u.find("ul").css({display:"block"});kt(u,r);r.parallax!="off"&&gt(u,r);r.slideamount>1&&vt(u,r);r.slideamount>1&&at(u,r);r.slideamount>1&&yt(u,r);r.keyboardNavigation=="on"&&pt(u,r);wt(u,r);r.hideThumbs>0&&bt(u,r);w(u,r);r.slideamount>1&&si(u,r);setTimeout(function(){u.trigger("revolution.slide.onloaded")},500);n("body").data("rs-fullScreenMode",!1);n(window).on("mozfullscreenchange webkitfullscreenchange fullscreenchange",function(){n("body").data("rs-fullScreenMode",!n("body").data("rs-fullScreenMode"));n("body").data("rs-fullScreenMode")&&setTimeout(function(){n(window).trigger("resize")},200)});n(window).resize(function(){if(n("body").find(u)!=0&&r.forceFullWidth=="on"){var t=r.container.closest(".forcefullwidth_wrapper_tp_banner").offset().left;r.container.parent().css({left:0-t+"px",width:n(window).width()})}(u.outerWidth(!0)!=r.width||u.is(":hidden"))&&v(u,r)});try{r.hideThumbsUnderResoluition!=0&&r.navigationType=="thumb"&&(r.hideThumbsUnderResoluition>n(window).width()?n(".tp-bullets").css({display:"none"}):n(".tp-bullets").css({display:"block"}))}catch(rt){}u.find(".tp-scrollbelowslider").on("click",function(){var t=0;try{t=n("body").find(r.fullScreenOffsetContainer).height()}catch(i){}try{t=t-n(this).data("scrolloffset")}catch(i){}n("body,html").animate({scrollTop:u.offset().top+u.find(">ul >li").height()-t+"px"},{duration:400})});s=u.parent();n(window).width()<r.hideSliderAtLimit&&(u.trigger("stoptimer"),s.css("display")!="none"&&s.data("olddisplay",s.css("display")),s.css({display:"none"}))}})},revscroll:function(t){return this.each(function(){var i=n(this);n("body,html").animate({scrollTop:i.offset().top+i.find(">ul >li").height()-t+"px"},{duration:400})})},revredraw:function(){return this.each(function(){var t=n(this),i=t.parent().find(".tp-bannertimer"),r=i.data("opt");v(t,r)})},revpause:function(){return this.each(function(){var t=n(this),i,r;t.data("conthover",1);t.data("conthover-changed",1);t.trigger("revolution.slide.onpause");i=t.parent().find(".tp-bannertimer");r=i.data("opt");r.bannertimeronpause=!0;t.trigger("stoptimer")})},revresume:function(){return this.each(function(){var t=n(this),i,r;t.data("conthover",0);t.data("conthover-changed",1);t.trigger("revolution.slide.onresume");i=t.parent().find(".tp-bannertimer");r=i.data("opt");r.bannertimeronpause=!1;t.trigger("starttimer")})},revnext:function(){return this.each(function(){var t=n(this);t.parent().find(".tp-rightarrow").click()})},revprev:function(){return this.each(function(){var t=n(this);t.parent().find(".tp-leftarrow").click()})},revmaxslide:function(){return n(this).find(">ul:first-child >li").length},revcurrentslide:function(){var t=n(this),i=t.parent().find(".tp-bannertimer"),r=i.data("opt");return r.act},revlastslide:function(){var t=n(this),i=t.parent().find(".tp-bannertimer"),r=i.data("opt");return r.lastslide},revshowslide:function(t){return this.each(function(){var i=n(this);i.data("showus",t);i.parent().find(".tp-rightarrow").click()})}});var ct=function(i,r,u){rt(i,0);var f=setInterval(function(){u.bannertimeronpause=!0;u.container.trigger("stoptimer");u.cd=0;var e=0;i.find("img, .defaultimg").each(function(){n(this).data("lazydone")!=1&&e++});e>0?rt(i,e):(clearInterval(f),r!=t&&r())},100)}})(jQuery),function(n){"use strict";var f=n.GreenSockGlobals||n,a=function(n){for(var r=n.split("."),i=f,t=0;r.length>t;t++)i[r[t]]=i=i[r[t]]||{};return i},v=a("com.greensock.utils"),u=function(n){var t=n.nodeType,i="";if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=u(n)}else if(3===t||4===t)return n.nodeValue;return i},t=document,e=t.defaultView?t.defaultView.getComputedStyle:function(){},y=/([A-Z])/g,i=function(n,t,i,r){var u;return(i=i||e(n,null))?(n=i.getPropertyValue(t.replace(y,"-$1").toLowerCase()),u=n||i.length?n:i[t]):n.currentStyle&&(i=n.currentStyle,u=i[t]),r?u:parseInt(u,10)||0},o=function(n){return n.length&&n[0]&&(n[0].nodeType&&n[0].style&&!n.nodeType||n[0].length&&n[0][0])?!0:!1},p=function(n){for(var t,i,u=[],f=n.length,r=0;f>r;r++)if(t=n[r],o(t))for(i=t.length,i=0;t.length>i;i++)u.push(t[i]);else u.push(t);return u},s=")eefec303079ad17405c",h=/(?:<br>|<br\/>|<br \/>)/gi,w=t.all&&!t.addEventListener,b="<div style='position:relative;display:inline-block;"+(w?"*display:inline;*zoom:1;'":"'"),c=function(n){n=n||"";var t=-1!==n.indexOf("++"),i=1;return t&&(n=n.split("++").join("")),function(){return b+(n?" class='"+n+(t?i++:"")+"'>":">")}},r=v.SplitText=f.SplitText=function(n,t){if("string"==typeof n&&(n=r.selector(n)),!n)throw"cannot split a null element.";this.elements=o(n)?p(n):[n];this.chars=[];this.words=[];this.lines=[];this._originals=[];this.vars=t||{};this.split(t)},k=function(n,r,f,o,l){h.test(n.innerHTML)&&(n.innerHTML=n.innerHTML.replace(h,s));var rt,b,ut,v,g,ot,ft,a,k,y,nt,pt,wt,st=u(n),at=r.type||r.split||"chars,words,lines",tt=-1!==at.indexOf("lines")?[]:null,it=-1!==at.indexOf("words"),et=-1!==at.indexOf("chars"),p="absolute"===r.position||r.absolute===!0,gt=p?"&#173; ":" ",bt=-999,d=e(n),kt=i(n,"paddingLeft",d),ni=i(n,"borderBottomWidth",d)+i(n,"borderTopWidth",d),ti=i(n,"borderLeftWidth",d)+i(n,"borderRightWidth",d),ii=i(n,"paddingTop",d)+i(n,"paddingBottom",d),ri=i(n,"paddingLeft",d)+i(n,"paddingRight",d),ui=i(n,"textAlign",d,!0),ht=n.clientHeight,ct=n.clientWidth,w=st.length,vt="<\/div>",yt=c(r.wordsClass),fi=c(r.charsClass),dt=-1!==(r.linesClass||"").indexOf("++"),lt=r.linesClass;for(dt&&(lt=lt.split("++").join("")),ut=yt(),v=0;w>v;v++)ot=st.charAt(v),")"===ot&&st.substr(v,20)===s?(ut+=vt+"<BR/>",v!==w-1&&(ut+=" "+yt()),v+=19):" "===ot&&" "!==st.charAt(v-1)&&v!==w-1?(ut+=vt,v!==w-1&&(ut+=gt+yt())):ut+=et&&" "!==ot?fi()+ot+"<\/div>":ot;for(n.innerHTML=ut+vt,g=n.getElementsByTagName("*"),w=g.length,ft=[],v=0;w>v;v++)ft[v]=g[v];if(tt||p)for(v=0;w>v;v++)a=ft[v],b=a.parentNode===n,(b||p||et&&!it)&&(k=a.offsetTop,tt&&b&&k!==bt&&"BR"!==a.nodeName&&(rt=[],tt.push(rt),bt=k),p&&(a._x=a.offsetLeft,a._y=k,a._w=a.offsetWidth,a._h=a.offsetHeight),tt&&(it!==b&&et||(rt.push(a),a._x-=kt),b&&v&&(ft[v-1]._wordEnd=!0)));for(v=0;w>v;v++)a=ft[v],b=a.parentNode===n,"BR"!==a.nodeName?(p&&(nt=a.style,it||b||(a._x+=a.parentNode._x,a._y+=a.parentNode._y),nt.left=a._x+"px",nt.top=a._y+"px",nt.position="absolute",nt.display="block",nt.width=a._w+1+"px",nt.height=a._h+"px"),it?b?o.push(a):et&&f.push(a):b?(n.removeChild(a),ft.splice(v--,1),w--):!b&&et&&(k=!tt&&!p&&a.nextSibling,n.appendChild(a),k||n.appendChild(t.createTextNode(" ")),f.push(a))):tt||p?(n.removeChild(a),ft.splice(v--,1),w--):it||n.appendChild(a);if(tt){for(p&&(y=t.createElement("div"),n.appendChild(y),pt=y.offsetWidth+"px",k=y.offsetParent===n?0:n.offsetLeft,n.removeChild(y)),nt=n.style.cssText,n.style.cssText="display:none;";n.firstChild;)n.removeChild(n.firstChild);for(wt=!p||!it&&!et,v=0;tt.length>v;v++){for(rt=tt[v],y=t.createElement("div"),y.style.cssText="display:block;text-align:"+ui+";position:"+(p?"absolute;":"relative;"),lt&&(y.className=lt+(dt?v+1:"")),l.push(y),w=rt.length,g=0;w>g;g++)"BR"!==rt[g].nodeName&&(a=rt[g],y.appendChild(a),wt&&(a._wordEnd||it)&&y.appendChild(t.createTextNode(" ")),p&&(0===g&&(y.style.top=a._y+"px",y.style.left=kt+k+"px"),a.style.top="0px",k&&(a.style.left=a._x-k+"px")));it||et||(y.innerHTML=u(y).split(String.fromCharCode(160)).join(" "));p&&(y.style.width=pt,y.style.height=a._h+"px");n.appendChild(y)}n.style.cssText=nt}p&&(ht>n.clientHeight&&(n.style.height=ht-ii+"px",ht>n.clientHeight&&(n.style.height=ht+ni+"px")),ct>n.clientWidth&&(n.style.width=ct-ri+"px",ct>n.clientWidth&&(n.style.width=ct+ti+"px")))},l=r.prototype;l.split=function(n){this.isSplit&&this.revert();this.vars=n||this.vars;this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var t=0;this.elements.length>t;t++)this._originals[t]=this.elements[t].innerHTML,k(this.elements[t],this.vars,this.chars,this.words,this.lines);return this.isSplit=!0,this};l.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var n=this._originals.length;--n>-1;)this.elements[n].innerHTML=this._originals[n];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this};r.selector=n.$||n.jQuery||function(i){return n.$?(r.selector=n.$,n.$(i)):t?t.getElementById("#"===i.charAt(0)?i.substr(1):i):i}}(window||{}),function(n,t){"use strict";function e(){if(!i.READY){i.event.determineEventTypes();for(var n in i.gestures)i.gestures.hasOwnProperty(n)&&i.detection.register(i.gestures[n]);i.event.onTouch(i.DOCUMENT,i.EVENT_MOVE,i.detection.detect);i.event.onTouch(i.DOCUMENT,i.EVENT_END,i.detection.detect);i.READY=!0}}var i=function(n,t){return new i.Instance(n,t||{})};i.defaults={stop_browser_behavior:{userSelect:"none",touchAction:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};i.HAS_POINTEREVENTS=navigator.pointerEnabled||navigator.msPointerEnabled;i.HAS_TOUCHEVENTS="ontouchstart"in n;i.MOBILE_REGEX=/mobile|tablet|ip(ad|hone|od)|android/i;i.NO_MOUSEEVENTS=i.HAS_TOUCHEVENTS&&navigator.userAgent.match(i.MOBILE_REGEX);i.EVENT_TYPES={};i.DIRECTION_DOWN="down";i.DIRECTION_LEFT="left";i.DIRECTION_UP="up";i.DIRECTION_RIGHT="right";i.POINTER_MOUSE="mouse";i.POINTER_TOUCH="touch";i.POINTER_PEN="pen";i.EVENT_START="start";i.EVENT_MOVE="move";i.EVENT_END="end";i.DOCUMENT=document;i.plugins={};i.READY=!1;i.Instance=function(n,t){var r=this;return e(),this.element=n,this.enabled=!0,this.options=i.utils.extend(i.utils.extend({},i.defaults),t||{}),this.options.stop_browser_behavior&&i.utils.stopDefaultBrowserBehavior(this.element,this.options.stop_browser_behavior),i.event.onTouch(n,i.EVENT_START,function(n){r.enabled&&i.detection.startDetect(r,n)}),this};i.Instance.prototype={on:function(n,t){for(var r=n.split(" "),i=0;r.length>i;i++)this.element.addEventListener(r[i],t,!1);return this},off:function(n,t){for(var r=n.split(" "),i=0;r.length>i;i++)this.element.removeEventListener(r[i],t,!1);return this},trigger:function(n,t){var u=i.DOCUMENT.createEvent("Event"),r;return u.initEvent(n,!0,!0),u.gesture=t,r=this.element,i.utils.hasParent(t.target,r)&&(r=t.target),r.dispatchEvent(u),this},enable:function(n){return this.enabled=n,this}};var r=null,f=!1,u=!1;i.event={bindDom:function(n,t,i){for(var u=t.split(" "),r=0;u.length>r;r++)n.addEventListener(u[r],i,!1)},onTouch:function(n,t,e){var o=this;this.bindDom(n,i.EVENT_TYPES[t],function(s){var c=s.type.toLowerCase(),h;c.match(/mouse/)&&u||((c.match(/touch/)||c.match(/pointerdown/)||c.match(/mouse/)&&1===s.which)&&(f=!0),c.match(/touch|pointer/)&&(u=!0),h=0,f&&(i.HAS_POINTEREVENTS&&t!=i.EVENT_END?h=i.PointerEvent.updatePointer(t,s):c.match(/touch/)?h=s.touches.length:u||(h=c.match(/up/)?0:1),h>0&&t==i.EVENT_END?t=i.EVENT_MOVE:h||(t=i.EVENT_END),h||null===r?r=s:s=r,e.call(i.detection,o.collectEventData(n,t,s)),i.HAS_POINTEREVENTS&&t==i.EVENT_END&&(h=i.PointerEvent.updatePointer(t,s))),h||(r=null,f=!1,u=!1,i.PointerEvent.reset()))})},determineEventTypes:function(){var n;n=i.HAS_POINTEREVENTS?i.PointerEvent.getEvents():i.NO_MOUSEEVENTS?["touchstart","touchmove","touchend touchcancel"]:["touchstart mousedown","touchmove mousemove","touchend touchcancel mouseup"];i.EVENT_TYPES[i.EVENT_START]=n[0];i.EVENT_TYPES[i.EVENT_MOVE]=n[1];i.EVENT_TYPES[i.EVENT_END]=n[2]},getTouchList:function(n){return i.HAS_POINTEREVENTS?i.PointerEvent.getTouchList():n.touches?n.touches:[{identifier:1,pageX:n.pageX,pageY:n.pageY,target:n.target}]},collectEventData:function(n,t,r){var u=this.getTouchList(r,t),f=i.POINTER_TOUCH;return(r.type.match(/mouse/)||i.PointerEvent.matchType(i.POINTER_MOUSE,r))&&(f=i.POINTER_MOUSE),{center:i.utils.getCenter(u),timeStamp:(new Date).getTime(),target:r.target,touches:u,eventType:t,pointerType:f,srcEvent:r,preventDefault:function(){this.srcEvent.preventManipulation&&this.srcEvent.preventManipulation();this.srcEvent.preventDefault&&this.srcEvent.preventDefault()},stopPropagation:function(){this.srcEvent.stopPropagation()},stopDetect:function(){return i.detection.stopDetect()}}}};i.PointerEvent={pointers:{},getTouchList:function(){var n=this,t=[];return Object.keys(n.pointers).sort().forEach(function(i){t.push(n.pointers[i])}),t},updatePointer:function(n,t){return n==i.EVENT_END?this.pointers={}:(t.identifier=t.pointerId,this.pointers[t.pointerId]=t),Object.keys(this.pointers).length},matchType:function(n,t){if(!t.pointerType)return!1;var r={};return r[i.POINTER_MOUSE]=t.pointerType==t.MSPOINTER_TYPE_MOUSE||t.pointerType==i.POINTER_MOUSE,r[i.POINTER_TOUCH]=t.pointerType==t.MSPOINTER_TYPE_TOUCH||t.pointerType==i.POINTER_TOUCH,r[i.POINTER_PEN]=t.pointerType==t.MSPOINTER_TYPE_PEN||t.pointerType==i.POINTER_PEN,r[n]},getEvents:function(){return["pointerdown MSPointerDown","pointermove MSPointerMove","pointerup pointercancel MSPointerUp MSPointerCancel"]},reset:function(){this.pointers={}}};i.utils={extend:function(n,i,r){for(var u in i)n[u]!==t&&r||(n[u]=i[u]);return n},hasParent:function(n,t){for(;n;){if(n==t)return!0;n=n.parentNode}return!1},getCenter:function(n){for(var i=[],r=[],t=0,u=n.length;u>t;t++)i.push(n[t].pageX),r.push(n[t].pageY);return{pageX:(Math.min.apply(Math,i)+Math.max.apply(Math,i))/2,pageY:(Math.min.apply(Math,r)+Math.max.apply(Math,r))/2}},getVelocity:function(n,t,i){return{x:Math.abs(t/n)||0,y:Math.abs(i/n)||0}},getAngle:function(n,t){var i=t.pageY-n.pageY,r=t.pageX-n.pageX;return 180*Math.atan2(i,r)/Math.PI},getDirection:function(n,t){var r=Math.abs(n.pageX-t.pageX),u=Math.abs(n.pageY-t.pageY);return r>=u?n.pageX-t.pageX>0?i.DIRECTION_LEFT:i.DIRECTION_RIGHT:n.pageY-t.pageY>0?i.DIRECTION_UP:i.DIRECTION_DOWN},getDistance:function(n,t){var i=t.pageX-n.pageX,r=t.pageY-n.pageY;return Math.sqrt(i*i+r*r)},getScale:function(n,t){return n.length>=2&&t.length>=2?this.getDistance(t[0],t[1])/this.getDistance(n[0],n[1]):1},getRotation:function(n,t){return n.length>=2&&t.length>=2?this.getAngle(t[1],t[0])-this.getAngle(n[1],n[0]):0},isVertical:function(n){return n==i.DIRECTION_UP||n==i.DIRECTION_DOWN},stopDefaultBrowserBehavior:function(n,t){var i,f=["webkit","khtml","moz","ms","o",""],r,u;if(t&&n.style){for(r=0;f.length>r;r++)for(u in t)t.hasOwnProperty(u)&&(i=u,f[r]&&(i=f[r]+i.substring(0,1).toUpperCase()+i.substring(1)),n.style[i]=t[u]);"none"==t.userSelect&&(n.onselectstart=function(){return!1})}}};i.detection={gestures:[],current:null,previous:null,stopped:!1,startDetect:function(n,t){this.current||(this.stopped=!1,this.current={inst:n,startEvent:i.utils.extend({},t),lastEvent:!1,name:""},this.detect(t))},detect:function(n){var t;if(this.current&&!this.stopped){n=this.extendEventData(n);for(var u=this.current.inst.options,r=0,f=this.gestures.length;f>r;r++)if(t=this.gestures[r],!this.stopped&&u[t.name]!==!1&&t.handler.call(t,n,this.current.inst)===!1){this.stopDetect();break}return this.current&&(this.current.lastEvent=n),n.eventType==i.EVENT_END&&!n.touches.length-1&&this.stopDetect(),n}},stopDetect:function(){this.previous=i.utils.extend({},this.current);this.current=null;this.stopped=!0},extendEventData:function(n){var t=this.current.startEvent,r,u;if(t&&(n.touches.length!=t.touches.length||n.touches===t.touches))for(t.touches=[],r=0,u=n.touches.length;u>r;r++)t.touches.push(i.utils.extend({},n.touches[r]));var f=n.timeStamp-t.timeStamp,e=n.center.pageX-t.center.pageX,o=n.center.pageY-t.center.pageY,s=i.utils.getVelocity(f,e,o);return i.utils.extend(n,{deltaTime:f,deltaX:e,deltaY:o,velocityX:s.x,velocityY:s.y,distance:i.utils.getDistance(t.center,n.center),angle:i.utils.getAngle(t.center,n.center),direction:i.utils.getDirection(t.center,n.center),scale:i.utils.getScale(t.touches,n.touches),rotation:i.utils.getRotation(t.touches,n.touches),startEvent:t}),n},register:function(n){var r=n.defaults||{};return r[n.name]===t&&(r[n.name]=!0),i.utils.extend(i.defaults,r,!0),n.index=n.index||1e3,this.gestures.push(n),this.gestures.sort(function(n,t){return n.index<t.index?-1:n.index>t.index?1:0}),this.gestures}};i.gestures=i.gestures||{};i.gestures.Hold={name:"hold",index:10,defaults:{hold_timeout:500,hold_threshold:1},timer:null,handler:function(n,t){switch(n.eventType){case i.EVENT_START:clearTimeout(this.timer);i.detection.current.name=this.name;this.timer=setTimeout(function(){"hold"==i.detection.current.name&&t.trigger("hold",n)},t.options.hold_timeout);break;case i.EVENT_MOVE:n.distance>t.options.hold_threshold&&clearTimeout(this.timer);break;case i.EVENT_END:clearTimeout(this.timer)}}};i.gestures.Tap={name:"tap",index:100,defaults:{tap_max_touchtime:250,tap_max_distance:10,tap_always:!0,doubletap_distance:20,doubletap_interval:300},handler:function(n,t){if(n.eventType==i.EVENT_END){var r=i.detection.previous,u=!1;if(n.deltaTime>t.options.tap_max_touchtime||n.distance>t.options.tap_max_distance)return;r&&"tap"==r.name&&n.timeStamp-r.lastEvent.timeStamp<t.options.doubletap_interval&&n.distance<t.options.doubletap_distance&&(t.trigger("doubletap",n),u=!0);(!u||t.options.tap_always)&&(i.detection.current.name="tap",t.trigger(i.detection.current.name,n))}}};i.gestures.Swipe={name:"swipe",index:40,defaults:{swipe_max_touches:1,swipe_velocity:.7},handler:function(n,t){if(n.eventType==i.EVENT_END){if(t.options.swipe_max_touches>0&&n.touches.length>t.options.swipe_max_touches)return;(n.velocityX>t.options.swipe_velocity||n.velocityY>t.options.swipe_velocity)&&(t.trigger(this.name,n),t.trigger(this.name+n.direction,n))}}};i.gestures.Drag={name:"drag",index:50,defaults:{drag_min_distance:10,drag_max_touches:1,drag_block_horizontal:!1,drag_block_vertical:!1,drag_lock_to_axis:!1,drag_lock_min_distance:25},triggered:!1,handler:function(n,r){if(i.detection.current.name!=this.name&&this.triggered)return r.trigger(this.name+"end",n),this.triggered=!1,t;if(!(r.options.drag_max_touches>0&&n.touches.length>r.options.drag_max_touches))switch(n.eventType){case i.EVENT_START:this.triggered=!1;break;case i.EVENT_MOVE:if(n.distance<r.options.drag_min_distance&&i.detection.current.name!=this.name)return;i.detection.current.name=this.name;(i.detection.current.lastEvent.drag_locked_to_axis||r.options.drag_lock_to_axis&&r.options.drag_lock_min_distance<=n.distance)&&(n.drag_locked_to_axis=!0);var u=i.detection.current.lastEvent.direction;n.drag_locked_to_axis&&u!==n.direction&&(n.direction=i.utils.isVertical(u)?0>n.deltaY?i.DIRECTION_UP:i.DIRECTION_DOWN:0>n.deltaX?i.DIRECTION_LEFT:i.DIRECTION_RIGHT);this.triggered||(r.trigger(this.name+"start",n),this.triggered=!0);r.trigger(this.name,n);r.trigger(this.name+n.direction,n);(r.options.drag_block_vertical&&i.utils.isVertical(n.direction)||r.options.drag_block_horizontal&&!i.utils.isVertical(n.direction))&&n.preventDefault();break;case i.EVENT_END:this.triggered&&r.trigger(this.name+"end",n);this.triggered=!1}}};i.gestures.Transform={name:"transform",index:45,defaults:{transform_min_scale:.01,transform_min_rotation:1,transform_always_block:!1},triggered:!1,handler:function(n,r){if(i.detection.current.name!=this.name&&this.triggered)return r.trigger(this.name+"end",n),this.triggered=!1,t;if(!(2>n.touches.length))switch(r.options.transform_always_block&&n.preventDefault(),n.eventType){case i.EVENT_START:this.triggered=!1;break;case i.EVENT_MOVE:var u=Math.abs(1-n.scale),f=Math.abs(n.rotation);if(r.options.transform_min_scale>u&&r.options.transform_min_rotation>f)return;i.detection.current.name=this.name;this.triggered||(r.trigger(this.name+"start",n),this.triggered=!0);r.trigger(this.name,n);f>r.options.transform_min_rotation&&r.trigger("rotate",n);u>r.options.transform_min_scale&&(r.trigger("pinch",n),r.trigger("pinch"+(1>n.scale?"in":"out"),n));break;case i.EVENT_END:this.triggered&&r.trigger(this.name+"end",n);this.triggered=!1}}};i.gestures.Touch={name:"touch",index:-1/0,defaults:{prevent_default:!1,prevent_mouseevents:!1},handler:function(n,r){return r.options.prevent_mouseevents&&n.pointerType==i.POINTER_MOUSE?(n.stopDetect(),t):(r.options.prevent_default&&n.preventDefault(),n.eventType==i.EVENT_START&&r.trigger(this.name,n),t)}};i.gestures.Release={name:"release",index:1/0,handler:function(n,t){n.eventType==i.EVENT_END&&t.trigger(this.name,n)}};"object"==typeof module&&"object"==typeof module.exports?module.exports=i:(n.Hammer=i,"function"==typeof n.define&&n.define.amd&&n.define("hammer",[],function(){return i}))}(this),function(n,t){"use strict";n!==t&&(Hammer.event.bindDom=function(i,r,u){n(i).on(r,function(n){var i=n.originalEvent||n;i.pageX===t&&(i.pageX=n.pageX,i.pageY=n.pageY);i.target||(i.target=n.target);i.which===t&&(i.which=i.button);i.preventDefault||(i.preventDefault=n.preventDefault);i.stopPropagation||(i.stopPropagation=n.stopPropagation);u.call(this,i)})},Hammer.Instance.prototype.on=function(t,i){return n(this.element).on(t,i)},Hammer.Instance.prototype.off=function(t,i){return n(this.element).off(t,i)},Hammer.Instance.prototype.trigger=function(t,i){var r=n(this.element);return r.has(i.target).length&&(r=n(i.target)),r.trigger({type:t,gesture:i})},n.fn.hammer=function(t){return this.each(function(){var r=n(this),i=r.data("hammer");i?i&&t&&Hammer.utils.extend(i.options,t):r.data("hammer",new Hammer(this,t||{}))})})}(window.jQuery||window.Zepto),function(n){"use strict";var it=n.GreenSockGlobals||n,ot,e,ct,nt,h;if(!it.TweenLite){var o,u,t,r,s,yt=function(n){for(var r=n.split("."),i=it,t=0;r.length>t;t++)i[r[t]]=i=i[r[t]]||{};return i},a=yt("com.greensock"),f=1e-10,pt=[].slice,wt=function(){},b=function(){var n=Object.prototype.toString,t=n.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&n.call(i)===t)}}(),k={},bt=function(t,i,r,u){this.sc=k[t]?k[t].sc:[];k[t]=this;this.gsClass=null;this.func=r;var f=[];this.check=function(e){for(var h,c,l,s,o=i.length,a=o;--o>-1;)(h=k[i[o]]||new bt(i[o],[])).gsClass?(f[o]=h.gsClass,a--):e&&h.sc.push(this);if(0===a&&r)for(c=("com.greensock."+t).split("."),l=c.pop(),s=yt(c.join("."))[l]=this.gsClass=r.apply(r,f),u&&(it[l]=s,"function"==typeof define&&define.amd?define((n.GreenSockAMDPath?n.GreenSockAMDPath+"/":"")+t.split(".").join("/"),[],function(){return s}):"undefined"!=typeof module&&module.exports&&(module.exports=s)),o=0;this.sc.length>o;o++)this.sc[o].check()};this.check(!0)},ut=n._gsDefine=function(n,t,i,r){return new bt(n,t,i,r)},c=a._class=function(n,t,i){return t=t||function(){},ut(n,[],function(){return t},i),t};ut.globals=it;var kt=[0,0,1,1],ft=[],l=c("easing.Ease",function(n,t,i,r){this._func=n;this._type=i||0;this._power=r||0;this._params=t?kt.concat(t):kt},!0),d=l.map={},et=l.register=function(n,t,i,r){for(var o,u,e,f,s=t.split(","),h=s.length,l=(i||"easeIn,easeOut,easeInOut").split(",");--h>-1;)for(u=s[h],o=r?c("easing."+u,null,!0):a.easing[u]||{},e=l.length;--e>-1;)f=l[e],d[u+"."+f]=d[f+u]=o[f]=n.getRatio?n:n[f]||new n};for(t=l.prototype,t._calcEnd=!1,t.getRatio=function(n){if(this._func)return this._params[0]=n,this._func.apply(null,this._params);var i=this._type,r=this._power,t=1===i?1-n:2===i?n:.5>n?2*n:2*(1-n);return 1===r?t*=t:2===r?t*=t*t:3===r?t*=t*t*t:4===r&&(t*=t*t*t*t),1===i?1-t:2===i?t:.5>n?t/2:1-t/2},o=["Linear","Quad","Cubic","Quart","Quint,Strong"],u=o.length;--u>-1;)t=o[u]+",Power"+u,et(new l(null,null,1,u),t,"easeOut",!0),et(new l(null,null,2,u),t,"easeIn"+(0===u?",easeNone":"")),et(new l(null,null,3,u),t,"easeInOut");d.linear=a.easing.Linear.easeIn;d.swing=a.easing.Quad.easeInOut;ot=c("events.EventDispatcher",function(n){this._listeners={};this._eventTarget=n||this});t=ot.prototype;t.addEventListener=function(n,t,i,u,f){f=f||0;var h,o,e=this._listeners[n],c=0;for(null==e&&(this._listeners[n]=e=[]),o=e.length;--o>-1;)h=e[o],h.c===t&&h.s===i?e.splice(o,1):0===c&&f>h.pr&&(c=o+1);e.splice(c,0,{c:t,s:i,up:u,pr:f});this!==r||s||r.wake()};t.removeEventListener=function(n,t){var i,r=this._listeners[n];if(r)for(i=r.length;--i>-1;)if(r[i].c===t)return r.splice(i,1),void 0};t.dispatchEvent=function(n){var r,i,t,u=this._listeners[n];if(u)for(r=u.length,i=this._eventTarget;--r>-1;)t=u[r],t.up?t.c.call(t.s||i,{type:n,target:i}):t.c.call(t.s||i)};var g=n.requestAnimationFrame,st=n.cancelAnimationFrame,rt=Date.now||function(){return(new Date).getTime()},ht=rt();for(o=["ms","moz","webkit","o"],u=o.length;--u>-1&&!g;)g=n[o[u]+"RequestAnimationFrame"],st=n[o[u]+"CancelAnimationFrame"]||n[o[u]+"CancelRequestAnimationFrame"];c("Ticker",function(n,t){var f,c,u,o,h,i=this,a=rt(),e=t!==!1&&g,l=function(n){ht=rt();i.time=(ht-a)/1e3;var r,t=i.time-h;(!f||t>0||n===!0)&&(i.frame++,h+=t+(t>=o?.004:o-t),r=!0);n!==!0&&(u=c(l));r&&i.dispatchEvent("tick")};ot.call(i);i.time=i.frame=0;i.tick=function(){l(!0)};i.sleep=function(){null!=u&&(e&&st?st(u):clearTimeout(u),c=wt,u=null,i===r&&(s=!1))};i.wake=function(){null!==u&&i.sleep();c=0===f?wt:e&&g?g:function(n){return setTimeout(n,0|1e3*(h-i.time)+1)};i===r&&(s=!0);l(2)};i.fps=function(n){return arguments.length?(f=n,o=1/(f||60),h=this.time+o,i.wake(),void 0):f};i.useRAF=function(n){return arguments.length?(i.sleep(),e=n,i.fps(f),void 0):e};i.fps(n);setTimeout(function(){e&&(!u||5>i.frame)&&i.useRAF(!1)},1500)});t=a.Ticker.prototype=new a.events.EventDispatcher;t.constructor=a.Ticker;e=c("core.Animation",function(n,t){if(this.vars=t=t||{},this._duration=this._totalDuration=n||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=t.immediateRender===!0,this.data=t.data,this._reversed=t.reversed===!0,v){s||r.wake();var i=this.vars.useFrames?w:v;i.add(this,i._time);this.vars.paused&&this.paused(!0)}});r=e.ticker=new a.Ticker;t=e.prototype;t._dirty=t._gc=t._initted=t._paused=!1;t._totalTime=t._time=0;t._rawPrevTime=-1;t._next=t._last=t._onUpdate=t._timeline=t.timeline=null;t._paused=!1;ct=function(){s&&rt()-ht>2e3&&r.wake();setTimeout(ct,2e3)};ct();t.play=function(n,t){return arguments.length&&this.seek(n,t),this.reversed(!1).paused(!1)};t.pause=function(n,t){return arguments.length&&this.seek(n,t),this.paused(!0)};t.resume=function(n,t){return arguments.length&&this.seek(n,t),this.paused(!1)};t.seek=function(n,t){return this.totalTime(Number(n),t!==!1)};t.restart=function(n,t){return this.reversed(!1).paused(!1).totalTime(n?-this._delay:0,t!==!1,!0)};t.reverse=function(n,t){return arguments.length&&this.seek(n||this.totalDuration(),t),this.reversed(!0).paused(!1)};t.render=function(){};t.invalidate=function(){return this};t.isActive=function(){var t,n=this._timeline,i=this._startTime;return!n||!this._gc&&!this._paused&&n.isActive()&&(t=n.rawTime())>=i&&i+this.totalDuration()/this._timeScale>t};t._enabled=function(n,t){return s||r.wake(),this._gc=!n,this._active=this.isActive(),t!==!0&&(n&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!n&&this.timeline&&this._timeline._remove(this,!0)),!1};t._kill=function(){return this._enabled(!1,!1)};t.kill=function(n,t){return this._kill(n,t),this};t._uncache=function(n){for(var t=n?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this};t._swapSelfInParams=function(n){for(var t=n.length,i=n.concat();--t>-1;)"{self}"===n[t]&&(i[t]=this);return i};t.eventCallback=function(n,t,i,r){if("on"===(n||"").substr(0,2)){var u=this.vars;if(1===arguments.length)return u[n];null==t?delete u[n]:(u[n]=t,u[n+"Params"]=b(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,u[n+"Scope"]=r);"onUpdate"===n&&(this._onUpdate=t)}return this};t.delay=function(n){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+n-this._delay),this._delay=n,this):this._delay};t.duration=function(n){return arguments.length?(this._duration=this._totalDuration=n,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==n&&this.totalTime(this._totalTime*(n/this._duration),!0),this):(this._dirty=!1,this._duration)};t.totalDuration=function(n){return this._dirty=!1,arguments.length?this.duration(n):this._totalDuration};t.time=function(n,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(n>this._duration?this._duration:n,t)):this._time};t.totalTime=function(n,t,i){if(s||r.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>n&&!i&&(n+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var f=this._totalDuration,u=this._timeline;if(n>f&&!i&&(n=f),this._startTime=(this._paused?this._pauseTime:u._time)-(this._reversed?f-n:n)/this._timeScale,u._dirty||this._uncache(!1),u._timeline)for(;u._timeline;)u._timeline._time!==(u._startTime+u._totalTime)/u._timeScale&&u.totalTime(u._totalTime,!0),u=u._timeline}this._gc&&this._enabled(!0,!1);(this._totalTime!==n||0===this._duration)&&this.render(n,t,!1)}return this};t.progress=t.totalProgress=function(n,t){return arguments.length?this.totalTime(this.duration()*n,t):this._time/this.duration()};t.startTime=function(n){return arguments.length?(n!==this._startTime&&(this._startTime=n,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,n-this._delay)),this):this._startTime};t.timeScale=function(n){if(!arguments.length)return this._timeScale;if(n=n||f,this._timeline&&this._timeline.smoothChildTiming){var t=this._pauseTime,i=t||0===t?t:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/n}return this._timeScale=n,this._uncache(!1)};t.reversed=function(n){return arguments.length?(n!=this._reversed&&(this._reversed=n,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed};t.paused=function(n){if(!arguments.length)return this._paused;if(n!=this._paused&&this._timeline){s||n||r.wake();var t=this._timeline,i=t.rawTime(),u=i-this._pauseTime;!n&&t.smoothChildTiming&&(this._startTime+=u,this._uncache(!1));this._pauseTime=n?i:null;this._paused=n;this._active=this.isActive();!n&&0!==u&&this._initted&&this.duration()&&this.render(t.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!n&&this._enabled(!0,!1),this};nt=c("core.SimpleTimeline",function(n){e.call(this,0,n);this.autoRemoveChildren=this.smoothChildTiming=!0});t=nt.prototype=new e;t.constructor=nt;t.kill()._gc=!1;t._first=t._last=null;t._sortChildren=!1;t.add=t.insert=function(n,t){var i,r;if(n._startTime=Number(t||0)+n._delay,n._paused&&this!==n._timeline&&(n._pauseTime=n._startTime+(this.rawTime()-n._startTime)/n._timeScale),n.timeline&&n.timeline._remove(n,!0),n.timeline=n._timeline=this,n._gc&&n._enabled(!0,!0),i=this._last,this._sortChildren)for(r=n._startTime;i&&i._startTime>r;)i=i._prev;return i?(n._next=i._next,i._next=n):(n._next=this._first,this._first=n),n._next?n._next._prev=n:this._last=n,n._prev=i,this._timeline&&this._uncache(!0),this};t._remove=function(n,t){return n.timeline===this&&(t||n._enabled(!1,!0),n.timeline=null,n._prev?n._prev._next=n._next:this._first===n&&(this._first=n._next),n._next?n._next._prev=n._prev:this._last===n&&(this._last=n._prev),this._timeline&&this._uncache(!0)),this};t.render=function(n,t,i){var u,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=n;r;)u=r._next,(r._active||n>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(n-r._startTime)*r._timeScale,t,i):r.render((n-r._startTime)*r._timeScale,t,i)),r=u};t.rawTime=function(){return s||r.wake(),this._totalTime};var i=c("TweenLite",function(t,r,u){if(e.call(this,r,u),this.render=i.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:i.selector(t)||t;var o,f,s,c=t.jquery||t.length&&t!==n&&t[0]&&(t[0]===n||t[0].nodeType&&t[0].style&&!t.nodeType),h=this.vars.overwrite;if(this._overwrite=h=null==h?dt[i.defaultOverwrite]:"number"==typeof h?h>>0:dt[h],(c||t instanceof Array||t.push&&b(t))&&"number"!=typeof t[0])for(this._targets=s=pt.call(t,0),this._propLookup=[],this._siblings=[],o=0;s.length>o;o++)f=s[o],f?"string"!=typeof f?f.length&&f!==n&&f[0]&&(f[0]===n||f[0].nodeType&&f[0].style&&!f.nodeType)?(s.splice(o--,1),this._targets=s=s.concat(pt.call(f,0))):(this._siblings[o]=tt(f,this,!1),1===h&&this._siblings[o].length>1&&vt(f,this,null,1,this._siblings[o])):(f=s[o--]=i.selector(f),"string"==typeof f&&s.splice(o+1,1)):s.splice(o--,1);else this._propLookup={},this._siblings=tt(t,this,!1),1===h&&this._siblings.length>1&&vt(t,this,null,1,this._siblings);(this.vars.immediateRender||0===r&&0===this._delay&&this.vars.immediateRender!==!1)&&this.render(-this._delay,!1,!0)},!0),lt=function(t){return t.length&&t!==n&&t[0]&&(t[0]===n||t[0].nodeType&&t[0].style&&!t.nodeType)},ni=function(n,t){var i,r={};for(i in n)at[i]||i in t&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!y[i]||y[i]&&y[i]._autoCSS)||(r[i]=n[i],delete n[i]);n.css=r};t=i.prototype=new e;t.constructor=i;t.kill()._gc=!1;t.ratio=0;t._firstPT=t._targets=t._overwrittenProps=t._startAt=null;t._notifyPluginsOfEnabled=!1;i.version="1.11.5";i.defaultEase=t._ease=new l(null,null,1,1);i.defaultOverwrite="auto";i.ticker=r;i.autoSleep=!0;i.selector=n.$||n.jQuery||function(t){return n.$?(i.selector=n.$,n.$(t)):n.document?n.document.getElementById("#"===t.charAt(0)?t.substr(1):t):t};var ti=i._internals={isArray:b,isSelector:lt},y=i._plugins={},p=i._tweenLookup={},ii=0,at=ti.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1},dt={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},w=e._rootFramesTimeline=new nt,v=e._rootTimeline=new nt;v._startTime=r.time;w._startTime=r.frame;v._active=w._active=!0;e._updateRoot=function(){if(v.render((r.time-v._startTime)*v._timeScale,!1,!1),w.render((r.frame-w._startTime)*w._timeScale,!1,!1),!(r.frame%120)){var u,t,n;for(n in p){for(t=p[n].tweens,u=t.length;--u>-1;)t[u]._gc&&t.splice(u,1);0===t.length&&delete p[n]}if(n=v._first,(!n||n._paused)&&i.autoSleep&&!w._first&&1===r._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||r.sleep()}}};r.addEventListener("tick",e._updateRoot);var tt=function(n,t,i){var r,f,u=n._gsTweenID;if(p[u||(n._gsTweenID=u="t"+ii++)]||(p[u]={target:n,tweens:[]}),t&&(r=p[u].tweens,r[f=r.length]=t,i))for(;--f>-1;)r[f]===t&&r.splice(f,1);return p[u].tweens},vt=function(n,t,i,r,u){var o,s,e,y;if(1===r||r>=4){for(y=u.length,o=0;y>o;o++)if((e=u[o])!==t)e._gc||e._enabled(!1,!1)&&(s=!0);else if(5===r)break;return s}var h,c=t._startTime+f,l=[],a=0,v=0===t._duration;for(o=u.length;--o>-1;)(e=u[o])===t||e._gc||e._paused||(e._timeline!==t._timeline?(h=h||gt(t,0,v),0===gt(e,h,v)&&(l[a++]=e)):c>=e._startTime&&e._startTime+e.totalDuration()/e._timeScale>c&&((v||!e._initted)&&2e-10>=c-e._startTime||(l[a++]=e)));for(o=a;--o>-1;)e=l[o],2===r&&e._kill(i,n)&&(s=!0),(2!==r||!e._firstPT&&e._initted)&&e._enabled(!1,!1)&&(s=!0);return s},gt=function(n,t,i){for(var u=n._timeline,e=u._timeScale,r=n._startTime;u._timeline;){if(r+=u._startTime,e*=u._timeScale,u._paused)return-100;u=u._timeline}return r/=e,r>t?r-t:i&&r===t||!n._initted&&2*f>r-t?f:(r+=n.totalDuration()/n._timeScale/e)>t+f?0:r-t-f};if(t._init=function(){var u,o,t,f,n=this.vars,e=this._overwrittenProps,s=this._duration,h=n.immediateRender,r=n.ease;if(n.startAt){if(this._startAt&&this._startAt.render(-1,!0),n.startAt.overwrite=0,n.startAt.immediateRender=!0,this._startAt=i.to(this.target,0,n.startAt),h)if(this._time>0)this._startAt=null;else if(0!==s)return}else if(n.runBackwards&&0!==s)if(this._startAt)this._startAt.render(-1,!0),this._startAt=null;else{t={};for(f in n)at[f]&&"autoCSS"!==f||(t[f]=n[f]);if(t.overwrite=0,t.data="isFromStart",this._startAt=i.to(this.target,0,t),n.immediateRender){if(0===this._time)return}else this._startAt.render(-1,!0)}if(this._ease=r?r instanceof l?n.easeParams instanceof Array?r.config.apply(r,n.easeParams):r:"function"==typeof r?new l(r,n.easeParams):d[r]||i.defaultEase:i.defaultEase,this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(u=this._targets.length;--u>-1;)this._initProps(this._targets[u],this._propLookup[u]={},this._siblings[u],e?e[u]:null)&&(o=!0);else o=this._initProps(this.target,this._propLookup,this._siblings,e);if(o&&i._onPluginEvent("_onInitAllProps",this),e&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),n.runBackwards)for(t=this._firstPT;t;)t.s+=t.c,t.c=-t.c,t=t._next;this._onUpdate=n.onUpdate;this._initted=!0},t._initProps=function(t,i,r,u){var f,h,c,s,o,e;if(null==t)return!1;this.vars.css||t.style&&t!==n&&t.nodeType&&y.css&&this.vars.autoCSS!==!1&&ni(this.vars,t);for(f in this.vars){if(e=this.vars[f],at[f])e&&(e instanceof Array||e.push&&b(e))&&-1!==e.join("").indexOf("{self}")&&(this.vars[f]=e=this._swapSelfInParams(e,this));else if(y[f]&&(s=new y[f])._onInitTween(t,this.vars[f],this)){for(this._firstPT=o={_next:this._firstPT,t:s,p:"setRatio",s:0,c:1,f:!0,n:f,pg:!0,pr:s._priority},h=s._overwriteProps.length;--h>-1;)i[s._overwriteProps[h]]=this._firstPT;(s._priority||s._onInitAllProps)&&(c=!0);(s._onDisable||s._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=i[f]=o={_next:this._firstPT,t:t,p:f,f:"function"==typeof t[f],n:f,pg:!1,pr:0},o.s=o.f?t[f.indexOf("set")||"function"!=typeof t["get"+f.substr(3)]?f:"get"+f.substr(3)]():parseFloat(t[f]),o.c="string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*Number(e.substr(2)):Number(e)-o.s||0;o&&o._next&&(o._next._prev=o)}return u&&this._kill(u,t)?this._initProps(t,i,r,u):this._overwrite>1&&this._firstPT&&r.length>1&&vt(t,this,i,this._overwrite,r)?(this._kill(i,t),this._initProps(t,i,r,u)):c},t.render=function(n,t,i){var h,o,u,s,c=this._time,e=this._duration;if(n>=e)this._totalTime=this._time=e,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(h=!0,o="onComplete"),0===e&&(s=this._rawPrevTime,(0===n||0>s||s===f)&&s!==n&&(i=!0,s>f&&(o="onReverseComplete")),this._rawPrevTime=s=!t||n||0===s?n:f);else if(1e-7>n)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==c||0===e&&this._rawPrevTime>f)&&(o="onReverseComplete",h=this._reversed),0>n?(this._active=!1,0===e&&(this._rawPrevTime>=0&&(i=!0),this._rawPrevTime=s=!t||n||0===this._rawPrevTime?n:f)):this._initted||(i=!0);else if(this._totalTime=this._time=n,this._easeType){var r=n/e,l=this._easeType,a=this._easePower;(1===l||3===l&&r>=.5)&&(r=1-r);3===l&&(r*=2);1===a?r*=r:2===a?r*=r*r:3===a?r*=r*r*r:4===a&&(r*=r*r*r*r);this.ratio=1===l?1-r:2===l?r:.5>n/e?r/2:1-r/2}else this.ratio=this._ease.getRatio(n/e);if(this._time!==c||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;this._time&&!h?this.ratio=this._ease.getRatio(this._time/e):h&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._active||!this._paused&&this._time!==c&&n>=0&&(this._active=!0),0===c&&(this._startAt&&(n>=0?this._startAt.render(n,t,i):o||(o="_dummyGS")),this.vars.onStart&&(0!==this._time||0===e)&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||ft))),u=this._firstPT;u;)u.f?u.t[u.p](u.c*this.ratio+u.s):u.t[u.p]=u.c*this.ratio+u.s,u=u._next;this._onUpdate&&(0>n&&this._startAt&&this._startTime&&this._startAt.render(n,t,i),t||(this._time!==c||h)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||ft));o&&(this._gc||(0>n&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(n,t,i),h&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[o]&&this.vars[o].apply(this.vars[o+"Scope"]||this,this.vars[o+"Params"]||ft),0===e&&this._rawPrevTime===f&&s!==f&&(this._rawPrevTime=0)))}},t._kill=function(n,t){if("all"===n&&(n=null),null==n&&(null==t||t===this.target))return this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:i.selector(t)||t;var u,e,o,r,f,s,h,c;if((b(t)||lt(t))&&"number"!=typeof t[0])for(u=t.length;--u>-1;)this._kill(n,t[u])&&(s=!0);else{if(this._targets){for(u=this._targets.length;--u>-1;)if(t===this._targets[u]){f=this._propLookup[u]||{};this._overwrittenProps=this._overwrittenProps||[];e=this._overwrittenProps[u]=n?this._overwrittenProps[u]||{}:"all";break}}else{if(t!==this.target)return!1;f=this._propLookup;e=this._overwrittenProps=n?this._overwrittenProps||{}:"all"}if(f){h=n||f;c=n!==e&&"all"!==e&&n!==f&&("object"!=typeof n||!n._tempKill);for(o in h)(r=f[o])&&(r.pg&&r.t._kill(h)&&(s=!0),r.pg&&0!==r.t._overwriteProps.length||(r._prev?r._prev._next=r._next:r===this._firstPT&&(this._firstPT=r._next),r._next&&(r._next._prev=r._prev),r._next=r._prev=null),delete f[o]),c&&(e[o]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return s},t.invalidate=function(){return this._notifyPluginsOfEnabled&&i._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._startAt=null,this._initted=this._active=this._notifyPluginsOfEnabled=!1,this._propLookup=this._targets?{}:[],this},t._enabled=function(n,t){if(s||r.wake(),n&&this._gc){var u,f=this._targets;if(f)for(u=f.length;--u>-1;)this._siblings[u]=tt(f[u],this,!0);else this._siblings=tt(this.target,this,!0)}return e.prototype._enabled.call(this,n,t),this._notifyPluginsOfEnabled&&this._firstPT?i._onPluginEvent(n?"_onEnable":"_onDisable",this):!1},i.to=function(n,t,r){return new i(n,t,r)},i.from=function(n,t,r){return r.runBackwards=!0,r.immediateRender=0!=r.immediateRender,new i(n,t,r)},i.fromTo=function(n,t,r,u){return u.startAt=r,u.immediateRender=0!=u.immediateRender&&0!=r.immediateRender,new i(n,t,u)},i.delayedCall=function(n,t,r,u,f){return new i(t,0,{delay:n,onComplete:t,onCompleteParams:r,onCompleteScope:u,onReverseComplete:t,onReverseCompleteParams:r,onReverseCompleteScope:u,immediateRender:!1,useFrames:f,overwrite:0})},i.set=function(n,t){return new i(n,0,t)},i.getTweensOf=function(n,t){if(null==n)return[];n="string"!=typeof n?n:i.selector(n)||n;var r,u,f,e;if((b(n)||lt(n))&&"number"!=typeof n[0]){for(r=n.length,u=[];--r>-1;)u=u.concat(i.getTweensOf(n[r],t));for(r=u.length;--r>-1;)for(e=u[r],f=r;--f>-1;)e===u[f]&&u.splice(r,1)}else for(u=tt(n).concat(),r=u.length;--r>-1;)(u[r]._gc||t&&!u[r].isActive())&&u.splice(r,1);return u},i.killTweensOf=i.killDelayedCallsTo=function(n,t,r){"object"==typeof t&&(r=t,t=!1);for(var u=i.getTweensOf(n,t),f=u.length;--f>-1;)u[f]._kill(r,n)},h=c("plugins.TweenPlugin",function(n,t){this._overwriteProps=(n||"").split(",");this._propName=this._overwriteProps[0];this._priority=t||0;this._super=h.prototype},!0),t=h.prototype,h.version="1.10.1",h.API=2,t._firstPT=null,t._addTween=function(n,t,i,r,u,f){var o,e;if(null!=r&&(o="number"==typeof r||"="!==r.charAt(1)?Number(r)-i:parseInt(r.charAt(0)+"1",10)*Number(r.substr(2))))return(this._firstPT=e={_next:this._firstPT,t:n,p:t,s:i,c:o,f:"function"==typeof n[t],n:u||t,r:f},e._next&&(e._next._prev=e),e)},t.setRatio=function(n){for(var i,t=this._firstPT,r=1e-6;t;)i=t.c*n+t.s,t.r?i=0|i+(i>0?.5:-.5):r>i&&i>-r&&(i=0),t.f?t.t[t.p](i):t.t[t.p]=i,t=t._next},t._kill=function(n){var i,r=this._overwriteProps,t=this._firstPT;if(null!=n[this._propName])this._overwriteProps=[];else for(i=r.length;--i>-1;)null!=n[r[i]]&&r.splice(i,1);for(;t;)null!=n[t.n]&&(t._next&&(t._next._prev=t._prev),t._prev?(t._prev._next=t._next,t._prev=null):this._firstPT===t&&(this._firstPT=t._next)),t=t._next;return!1},t._roundProps=function(n,t){for(var i=this._firstPT;i;)(n[this._propName]||null!=i.n&&n[i.n.split(this._propName+"_").join("")])&&(i.r=t),i=i._next},i._onPluginEvent=function(n,t){var f,r,u,e,o,i=t._firstPT;if("_onInitAllProps"===n){for(;i;){for(o=i._next,r=u;r&&r.pr>i.pr;)r=r._next;(i._prev=r?r._prev:e)?i._prev._next=i:u=i;(i._next=r)?r._prev=i:e=i;i=o}i=t._firstPT=u}for(;i;)i.pg&&"function"==typeof i.t[n]&&i.t[n]()&&(f=!0),i=i._next;return f},h.activate=function(n){for(var t=n.length;--t>-1;)n[t].API===h.API&&(y[(new n[t])._propName]=n[t]);return!0},ut.plugin=function(n){if(!(n&&n.propName&&n.init&&n.API))throw"illegal plugin definition.";var i,r=n.propName,e=n.priority||0,o=n.overwriteProps,u={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},t=c("plugins."+r.charAt(0).toUpperCase()+r.substr(1)+"Plugin",function(){h.call(this,r,e);this._overwriteProps=o||[]},n.global===!0),f=t.prototype=new h(r);f.constructor=t;t.API=n.API;for(i in u)"function"==typeof n[i]&&(f[u[i]]=n[i]);return t.version=n.version,h.activate([t]),t},o=n._gsQueue){for(u=0;o.length>u;u++)o[u]();for(t in k)k[t].func||n.console.log("GSAP encountered missing dependency: com.greensock."+t)}s=!1}}(window);(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(n,t,i){var u=function(n){t.call(this,n);this._labels={};this.autoRemoveChildren=this.vars.autoRemoveChildren===!0;this.smoothChildTiming=this.vars.smoothChildTiming===!0;this._sortChildren=!0;this._onUpdate=this.vars.onUpdate;var r,u,i=this.vars;for(u in i)r=i[u],f(r)&&-1!==r.join("").indexOf("{self}")&&(i[u]=this._swapSelfInParams(r));f(i.tweens)&&this.add(i.tweens,0,i.align,i.stagger)},e=1e-10,h=i._internals.isSelector,f=i._internals.isArray,o=[],s=function(n){var t,i={};for(t in n)i[t]=n[t];return i},c=function(n,t,i,r){n._timeline.pause(n._startTime);t&&t.apply(r||n._timeline,i||o)},l=o.slice,r=u.prototype=new t;return u.version="1.11.5",r.constructor=u,r.kill()._gc=!1,r.to=function(n,t,r,u){return t?this.add(new i(n,t,r),u):this.set(n,r,u)},r.from=function(n,t,r,u){return this.add(i.from(n,t,r),u)},r.fromTo=function(n,t,r,u,f){return t?this.add(i.fromTo(n,t,r,u),f):this.set(n,u,f)},r.staggerTo=function(n,t,r,f,e,o,c,a){var v,y=new u({onComplete:o,onCompleteParams:c,onCompleteScope:a,smoothChildTiming:this.smoothChildTiming});for("string"==typeof n&&(n=i.selector(n)||n),h(n)&&(n=l.call(n,0)),f=f||0,v=0;n.length>v;v++)r.startAt&&(r.startAt=s(r.startAt)),y.to(n[v],t,s(r),v*f);return this.add(y,e)},r.staggerFrom=function(n,t,i,r,u,f,e,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(n,t,i,r,u,f,e,o)},r.staggerFromTo=function(n,t,i,r,u,f,e,o,s){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,this.staggerTo(n,t,r,u,f,e,o,s)},r.call=function(n,t,r,u){return this.add(i.delayedCall(0,n,t,r),u)},r.set=function(n,t,r){return r=this._parseTimeOrLabel(r,0,!0),null==t.immediateRender&&(t.immediateRender=r===this._time&&!this._paused),this.add(new i(n,0,t),r)},u.exportRoot=function(n,t){n=n||{};null==n.smoothChildTiming&&(n.smoothChildTiming=!0);var r,o,f=new u(n),e=f._timeline;for(null==t&&(t=!0),e._remove(f,!0),f._startTime=0,f._rawPrevTime=f._time=f._totalTime=e._time,r=e._first;r;)o=r._next,t&&r instanceof i&&r.target===r.vars.onComplete||f.add(r,r._startTime-r._delay),r=o;return e.add(f,0),f},r.add=function(r,e,o,s){var l,v,a,h,c,y;if("number"!=typeof e&&(e=this._parseTimeOrLabel(e,0,!0,r)),!(r instanceof n)){if(r instanceof Array||r&&r.push&&f(r)){for(o=o||"normal",s=s||0,l=e,v=r.length,a=0;v>a;a++)f(h=r[a])&&(h=new u({tweens:h})),this.add(h,l),"string"!=typeof h&&"function"!=typeof h&&("sequence"===o?l=h._startTime+h.totalDuration()/h._timeScale:"start"===o&&(h._startTime-=h.delay())),l+=s;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,e);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=i.delayedCall(0,r)}if(t.prototype.add.call(this,r,e),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(c=this,y=c.rawTime()>r._startTime;c._timeline;)y&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return this},r.remove=function(t){if(t instanceof n)return this._remove(t,!1);if(t instanceof Array||t&&t.push&&f(t)){for(var i=t.length;--i>-1;)this.remove(t[i]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},r._remove=function(n,i){t.prototype._remove.call(this,n,i);var r=this._last;return r?this._time>r._startTime+r._totalDuration/r._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},r.append=function(n,t){return this.add(n,this._parseTimeOrLabel(null,t,!0,n))},r.insert=r.insertMultiple=function(n,t,i,r){return this.add(n,t||0,i,r)},r.appendMultiple=function(n,t,i,r){return this.add(n,this._parseTimeOrLabel(null,t,!0,n),i,r)},r.addLabel=function(n,t){return this._labels[n]=this._parseTimeOrLabel(t),this},r.addPause=function(n,t,i,r){return this.call(c,["{self}",t,i,r],this,n)},r.removeLabel=function(n){return delete this._labels[n],this},r.getLabelTime=function(n){return null!=this._labels[n]?this._labels[n]:-1},r._parseTimeOrLabel=function(t,i,r,u){var e;if(u instanceof n&&u.timeline===this)this.remove(u);else if(u&&(u instanceof Array||u.push&&f(u)))for(e=u.length;--e>-1;)u[e]instanceof n&&u[e].timeline===this&&this.remove(u[e]);if("string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof t&&null==this._labels[i]?t-this.duration():0,r);if(i=i||0,"string"==typeof t&&(isNaN(t)||null!=this._labels[t])){if(e=t.indexOf("="),-1===e)return null==this._labels[t]?r?this._labels[t]=this.duration()+i:i:this._labels[t]+i;i=parseInt(t.charAt(e-1)+"1",10)*Number(t.substr(e+1));t=e>1?this._parseTimeOrLabel(t.substr(0,e-1),0,r):this.duration()}else null==t&&(t=this.duration());return Number(t)+i},r.seek=function(n,t){return this.totalTime("number"==typeof n?n:this._parseTimeOrLabel(n),t!==!1)},r.stop=function(){return this.paused(!0)},r.gotoAndPlay=function(n,t){return this.play(n,t)},r.gotoAndStop=function(n,t){return this.pause(n,t)},r.render=function(n,t,i){this._gc&&this._enabled(!0,!1);var r,l,s,u,h,c=this._dirty?this.totalDuration():this._totalDuration,f=this._time,v=this._startTime,y=this._timeScale,a=this._paused;if(n>=c?(this._totalTime=this._time=c,this._reversed||this._hasPausedChild()||(l=!0,u="onComplete",0===this._duration&&(0===n||0>this._rawPrevTime||this._rawPrevTime===e)&&this._rawPrevTime!==n&&this._first&&(h=!0,this._rawPrevTime>e&&(u="onReverseComplete"))),this._rawPrevTime=this._duration||!t||n||0===this._rawPrevTime?n:e,n=c+.0001):1e-7>n?(this._totalTime=this._time=0,(0!==f||0===this._duration&&(this._rawPrevTime>e||0>n&&this._rawPrevTime>=0))&&(u="onReverseComplete",l=this._reversed),0>n?(this._active=!1,0===this._duration&&this._rawPrevTime>=0&&this._first&&(h=!0),this._rawPrevTime=n):(this._rawPrevTime=this._duration||!t||n||0===this._rawPrevTime?n:e,n=0,this._initted||(h=!0))):this._totalTime=this._time=this._rawPrevTime=n,this._time!==f&&this._first||i||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&n>0&&(this._active=!0),0===f&&this.vars.onStart&&0!==this._time&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||o)),this._time>=f)for(r=this._first;r&&(s=r._next,!this._paused||a);)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(n-r._startTime)*r._timeScale,t,i):r.render((n-r._startTime)*r._timeScale,t,i)),r=s;else for(r=this._last;r&&(s=r._prev,!this._paused||a);)(r._active||f>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(n-r._startTime)*r._timeScale,t,i):r.render((n-r._startTime)*r._timeScale,t,i)),r=s;this._onUpdate&&(t||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||o));u&&(this._gc||(v===this._startTime||y!==this._timeScale)&&(0===this._time||c>=this.totalDuration())&&(l&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[u]&&this.vars[u].apply(this.vars[u+"Scope"]||this,this.vars[u+"Params"]||o)))}},r._hasPausedChild=function(){for(var n=this._first;n;){if(n._paused||n instanceof u&&n._hasPausedChild())return!0;n=n._next}return!1},r.getChildren=function(n,t,r,u){u=u||-9999999999;for(var e=[],f=this._first,o=0;f;)u>f._startTime||(f instanceof i?t!==!1&&(e[o++]=f):(r!==!1&&(e[o++]=f),n!==!1&&(e=e.concat(f.getChildren(!0,t,r)),o=e.length))),f=f._next;return e},r.getTweensOf=function(n,t){for(var r=i.getTweensOf(n),u=r.length,f=[],e=0;--u>-1;)(r[u].timeline===this||t&&this._contains(r[u]))&&(f[e++]=r[u]);return f},r._contains=function(n){for(var t=n.timeline;t;){if(t===this)return!0;t=t.timeline}return!1},r.shiftChildren=function(n,t,i){i=i||0;for(var u,r=this._first,f=this._labels;r;)r._startTime>=i&&(r._startTime+=n),r=r._next;if(t)for(u in f)f[u]>=i&&(f[u]+=n);return this._uncache(!0)},r._kill=function(n,t){if(!n&&!t)return this._enabled(!1,!1);for(var i=t?this.getTweensOf(t):this.getChildren(!0,!0,!1),r=i.length,u=!1;--r>-1;)i[r]._kill(n,t)&&(u=!0);return u},r.clear=function(n){var t=this.getChildren(!1,!0,!0),i=t.length;for(this._time=this._totalTime=0;--i>-1;)t[i]._enabled(!1,!1);return n!==!1&&(this._labels={}),this._uncache(!0)},r.invalidate=function(){for(var n=this._first;n;)n.invalidate(),n=n._next;return this},r._enabled=function(n,i){if(n===this._gc)for(var r=this._first;r;)r._enabled(n,!0),r=r._next;return t.prototype._enabled.call(this,n,i)},r.duration=function(n){return arguments.length?(0!==this.duration()&&0!==n&&this.timeScale(this._duration/n),this):(this._dirty&&this.totalDuration(),this._duration)},r.totalDuration=function(n){if(!arguments.length){if(this._dirty){for(var f,r,i=0,t=this._last,u=999999999999;t;)f=t._prev,t._dirty&&t.totalDuration(),t._startTime>u&&this._sortChildren&&!t._paused?this.add(t,t._startTime-t._delay):u=t._startTime,0>t._startTime&&!t._paused&&(i-=t._startTime,this._timeline.smoothChildTiming&&(this._startTime+=t._startTime/this._timeScale),this.shiftChildren(-t._startTime,!1,-9999999999),u=0),r=t._startTime+t._totalDuration/t._timeScale,r>i&&(i=r),t=f;this._duration=this._totalDuration=i;this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==n&&this.timeScale(this._totalDuration/n),this},r.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===n._rootFramesTimeline},r.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},u},!0)});window._gsDefine&&window._gsQueue.pop()();(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("easing.Back",["easing.Ease"],function(n){var f,u,h,v=window.GreenSockGlobals||window,p=v.com.greensock,s=2*Math.PI,y=Math.PI/2,r=p._class,t=function(t,i){var u=r("easing."+t,function(){},!0),f=u.prototype=new n;return f.constructor=u,f.getRatio=i,u},c=n.register||function(){},e=function(n,t,i,u){var f=r("easing."+n,{easeOut:new t,easeIn:new i,easeInOut:new u},!0);return c(f,n),f},l=function(n,t,i){this.t=n;this.v=t;i&&(this.next=i,i.prev=this,this.c=i.v-t,this.gap=i.t-n)},a=function(t,i){var u=r("easing."+t,function(n){this._p1=n||0===n?n:1.70158;this._p2=1.525*this._p1},!0),f=u.prototype=new n;return f.constructor=u,f.getRatio=i,f.config=function(n){return new u(n)},u},w=e("Back",a("BackOut",function(n){return(n-=1)*n*((this._p1+1)*n+this._p1)+1}),a("BackIn",function(n){return n*n*((this._p1+1)*n-this._p1)}),a("BackInOut",function(n){return 1>(n*=2)?.5*n*n*((this._p2+1)*n-this._p2):.5*((n-=2)*n*((this._p2+1)*n+this._p2)+2)})),o=r("easing.SlowMo",function(n,t,i){t=t||0===t?t:.7;null==n?n=.7:n>1&&(n=1);this._p=1!==n?t:0;this._p1=(1-n)/2;this._p2=n;this._p3=this._p1+this._p2;this._calcEnd=i===!0},!0),i=o.prototype=new n;return i.constructor=o,i.getRatio=function(n){var t=n+(.5-n)*this._p;return this._p1>n?this._calcEnd?1-(n=1-n/this._p1)*n:t-(n=1-n/this._p1)*n*n*n*t:n>this._p3?this._calcEnd?1-(n=(n-this._p3)/this._p1)*n:t+(n-t)*(n=(n-this._p3)/this._p1)*n*n*n:this._calcEnd?1:t},o.ease=new o(.7,.7),i.config=o.config=function(n,t,i){return new o(n,t,i)},f=r("easing.SteppedEase",function(n){n=n||1;this._p1=1/n;this._p2=n+1},!0),i=f.prototype=new n,i.constructor=f,i.getRatio=function(n){return 0>n?n=0:n>=1&&(n=.999999999),(this._p2*n>>0)*this._p1},i.config=f.config=function(n){return new f(n)},u=r("easing.RoughEase",function(t){t=t||{};for(var i,r,u,f,h,e,c=t.taper||"none",a=[],w=0,v=0|(t.points||20),o=v,y=t.randomize!==!1,b=t.clamp===!0,p=t.template instanceof n?t.template:null,s="number"==typeof t.strength?.4*t.strength:.4;--o>-1;)i=y?Math.random():1/v*o,r=p?p.getRatio(i):i,"none"===c?u=s:"out"===c?(f=1-i,u=f*f*s):"in"===c?u=i*i*s:.5>i?(f=2*i,u=.5*f*f*s):(f=2*(1-i),u=.5*f*f*s),y?r+=Math.random()*u-.5*u:o%2?r+=.5*u:r-=.5*u,b&&(r>1?r=1:0>r&&(r=0)),a[w++]={x:i,y:r};for(a.sort(function(n,t){return n.x-t.x}),e=new l(1,1,null),o=v;--o>-1;)h=a[o],e=new l(h.x,h.y,e);this._prev=new l(0,0,0!==e.t?e:e.next)},!0),i=u.prototype=new n,i.constructor=u,i.getRatio=function(n){var t=this._prev;if(n>t.t){for(;t.next&&n>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&t.t>=n;)t=t.prev;return this._prev=t,t.v+(n-t.t)/t.gap*t.c},i.config=function(n){return new u(n)},u.ease=new u,e("Bounce",t("BounceOut",function(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}),t("BounceIn",function(n){return 1/2.75>(n=1-n)?1-7.5625*n*n:2/2.75>n?1-(7.5625*(n-=1.5/2.75)*n+.75):2.5/2.75>n?1-(7.5625*(n-=2.25/2.75)*n+.9375):1-(7.5625*(n-=2.625/2.75)*n+.984375)}),t("BounceInOut",function(n){var t=.5>n;return n=t?1-2*n:2*n-1,n=1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375,t?.5*(1-n):.5*n+.5})),e("Circ",t("CircOut",function(n){return Math.sqrt(1-(n-=1)*n)}),t("CircIn",function(n){return-(Math.sqrt(1-n*n)-1)}),t("CircInOut",function(n){return 1>(n*=2)?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)})),h=function(t,i,u){var f=r("easing."+t,function(n,t){this._p1=n||1;this._p2=t||u;this._p3=this._p2/s*(Math.asin(1/this._p1)||0)},!0),e=f.prototype=new n;return e.constructor=f,e.getRatio=i,e.config=function(n,t){return new f(n,t)},f},e("Elastic",h("ElasticOut",function(n){return this._p1*Math.pow(2,-10*n)*Math.sin((n-this._p3)*s/this._p2)+1},.3),h("ElasticIn",function(n){return-(this._p1*Math.pow(2,10*(n-=1))*Math.sin((n-this._p3)*s/this._p2))},.3),h("ElasticInOut",function(n){return 1>(n*=2)?-.5*this._p1*Math.pow(2,10*(n-=1))*Math.sin((n-this._p3)*s/this._p2):.5*this._p1*Math.pow(2,-10*(n-=1))*Math.sin((n-this._p3)*s/this._p2)+1},.45)),e("Expo",t("ExpoOut",function(n){return 1-Math.pow(2,-10*n)}),t("ExpoIn",function(n){return Math.pow(2,10*(n-1))-.001}),t("ExpoInOut",function(n){return 1>(n*=2)?.5*Math.pow(2,10*(n-1)):.5*(2-Math.pow(2,-10*(n-1)))})),e("Sine",t("SineOut",function(n){return Math.sin(n*y)}),t("SineIn",function(n){return-Math.cos(n*y)+1}),t("SineInOut",function(n){return-.5*(Math.cos(Math.PI*n)-1)})),r("easing.EaseLookup",{find:function(t){return n.map[t]}},!0),c(v.SlowMo,"SlowMo","ease,"),c(u,"RoughEase","ease,"),c(f,"SteppedEase","ease,"),w},!0)});window._gsDefine&&window._gsQueue.pop()();(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(n,t){var tt,ct,f,bt,e=function(){n.call(this,"css");this._overwriteProps.length=0;this.setRatio=e.prototype.setRatio},c={},i=e.prototype=new n("css"),or,wt,sr,hr,ht;i.constructor=e;e.version="1.11.5";e.API=2;e.defaultTransformPerspective=0;i="px";e.suffixMap={top:i,right:i,bottom:i,left:i,width:i,height:i,fontSize:i,padding:i,margin:i,perspective:i,lineHeight:""};var kt,ai,dt,vi,yi,it,lt=/(?:\d|\-\d|\.\d|\-\.\d)+/g,pi=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,gt=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,at=/[^\d\-\.]/g,ni=/(?:\d|\-|\+|=|#|\.)*/g,ti=/opacity *= *([^)]*)/,cr=/opacity:([^;]*)/,lr=/alpha\(opacity *=.+?\)/i,wi=/^(rgb|hsl)/,bi=/([A-Z])/g,ki=/-([a-z])/gi,ar=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,di=function(n,t){return t.toUpperCase()},vr=/(?:Left|Right|Width)/i,yr=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,pr=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,l=/,(?=[^\)]*(?:\(|$))/gi,v=Math.PI/180,b=180/Math.PI,vt={},k=document,rt=k.createElement("div"),ii=k.createElement("img"),yt=e._internals={_specialProps:c},p=navigator.userAgent,d=function(){var n,t=p.indexOf("Android"),i=k.createElement("div");return dt=-1!==p.indexOf("Safari")&&-1===p.indexOf("Chrome")&&(-1===t||Number(p.substr(t+8,1))>3),yi=dt&&6>Number(p.substr(p.indexOf("Version/")+8,1)),vi=-1!==p.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(p)&&(it=parseFloat(RegExp.$1)),i.innerHTML="<a style='top:1px;opacity:.55;'>a<\/a>",n=i.getElementsByTagName("a")[0],n?/^0.55/.test(n.style.opacity):!1}(),gi=function(n){return ti.test("string"==typeof n?n:(n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?parseFloat(RegExp.$1)/100:1},nr=function(n){window.console&&console.log(n)},tr="",ri="",ut=function(n,t){t=t||rt;var r,i,u=t.style;if(void 0!==u[n])return n;for(n=n.charAt(0).toUpperCase()+n.substr(1),r=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===u[r[i]+n];);return i>=0?(ri=3===i?"ms":r[i],tr="-"+ri.toLowerCase()+"-",ri+n):null},ft=k.defaultView?k.defaultView.getComputedStyle:function(){},r=e.getStyle=function(n,t,i,r,u){var f;return d||"opacity"!==t?(!r&&n.style[t]?f=n.style[t]:(i=i||ft(n,null))?(n=i.getPropertyValue(t.replace(bi,"-$1").toLowerCase()),f=n||i.length?n:i[t]):n.currentStyle&&(f=n.currentStyle[t]),null==u||f&&"none"!==f&&"auto"!==f&&"auto auto"!==f?f:u):gi(n)},a=function(n,t,i,u,f){if("px"===u||!u)return i;if("auto"===u||!i)return 0;var e,o=vr.test(t),s=n,h=rt.style,c=0>i;return c&&(i=-i),"%"===u&&-1!==t.indexOf("border")?e=i/100*(o?n.clientWidth:n.clientHeight):(h.cssText="border:0 solid red;position:"+r(n,"position")+";line-height:0;","%"!==u&&s.appendChild?h[o?"borderLeftWidth":"borderTopWidth"]=i+u:(s=n.parentNode||k.body,h[o?"width":"height"]=i+u),s.appendChild(rt),e=parseFloat(rt[o?"offsetWidth":"offsetHeight"]),s.removeChild(rt),0!==e||f||(e=a(n,t,i,u,!0))),c?-e:e},ir=function(n,t,i){if("absolute"!==r(n,"position",i))return 0;var u="left"===t?"Left":"Top",f=r(n,"margin"+u,i);return n["offset"+u]-(a(n,t,parseFloat(f),f.replace(ni,""))||0)},et=function(n,t){var r,u,i={};if(t=t||ft(n,null))if(r=t.length)for(;--r>-1;)i[t[r].replace(ki,di)]=t.getPropertyValue(t[r]);else for(r in t)i[r]=t[r];else if(t=n.currentStyle||n.style)for(r in t)"string"==typeof r&&void 0===i[r]&&(i[r.replace(ki,di)]=t[r]);return d||(i.opacity=gi(n)),u=st(n,t,!1),i.rotation=u.rotation,i.skewX=u.skewX,i.scaleX=u.scaleX,i.scaleY=u.scaleY,i.x=u.x,i.y=u.y,y&&(i.z=u.z,i.rotationX=u.rotationX,i.rotationY=u.rotationY,i.scaleZ=u.scaleZ),i.filters&&delete i.filters,i},ui=function(n,t,i,r,u){var e,f,o,s={},h=n.style;for(f in i)"cssText"!==f&&"length"!==f&&isNaN(f)&&(t[f]!==(e=i[f])||u&&u[f])&&-1===f.indexOf("Origin")&&("number"==typeof e||"string"==typeof e)&&(s[f]="auto"!==e||"left"!==f&&"top"!==f?""!==e&&"auto"!==e&&"none"!==e||"string"!=typeof t[f]||""===t[f].replace(at,"")?e:0:ir(n,f),void 0!==h[f]&&(o=new hi(h,f,h[f],o)));if(r)for(f in r)"className"!==f&&(s[f]=r[f]);return{difs:s,firstMPT:o}},wr={width:["Left","Right"],height:["Top","Bottom"]},br=["marginLeft","marginRight","marginTop","marginBottom"],kr=function(n,t,i){var u=parseFloat("width"===t?n.offsetWidth:n.offsetHeight),f=wr[t],e=f.length;for(i=i||ft(n,null);--e>-1;)u-=parseFloat(r(n,"padding"+f[e],i,!0))||0,u-=parseFloat(r(n,"border"+f[e]+"Width",i,!0))||0;return u},fi=function(n,t){(null==n||""===n||"auto"===n||"auto auto"===n)&&(n="0 0");var u=n.split(" "),i=-1!==n.indexOf("left")?"0%":-1!==n.indexOf("right")?"100%":u[0],r=-1!==n.indexOf("top")?"0%":-1!==n.indexOf("bottom")?"100%":u[1];return null==r?r="0":"center"===r&&(r="50%"),("center"===i||isNaN(parseFloat(i))&&-1===(i+"").indexOf("="))&&(i="50%"),t&&(t.oxp=-1!==i.indexOf("%"),t.oyp=-1!==r.indexOf("%"),t.oxr="="===i.charAt(1),t.oyr="="===r.charAt(1),t.ox=parseFloat(i.replace(at,"")),t.oy=parseFloat(r.replace(at,""))),i+" "+r+(u.length>2?" "+u[2]:"")},rr=function(n,t){return"string"==typeof n&&"="===n.charAt(1)?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-parseFloat(t)},w=function(n,t){return null==n?t:"string"==typeof n&&"="===n.charAt(1)?parseInt(n.charAt(0)+"1",10)*Number(n.substr(2))+t:parseFloat(n)},ot=function(n,t,i,r){var f,o,u,e,s=1e-6;return null==n?e=t:"number"==typeof n?e=n:(f=360,o=n.split("_"),u=Number(o[0].replace(at,""))*(-1===n.indexOf("rad")?1:b)-("="===n.charAt(1)?0:t),o.length&&(r&&(r[i]=t+u),-1!==n.indexOf("short")&&(u%=f,u!==u%(f/2)&&(u=0>u?u+f:u-f)),-1!==n.indexOf("_cw")&&0>u?u=(u+9999999999*f)%f-(0|u/f)*f:-1!==n.indexOf("ccw")&&u>0&&(u=(u-9999999999*f)%f-(0|u/f)*f)),e=t+u),s>e&&e>-s&&(e=0),e},g={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ei=function(n,t,i){return n=0>n?n+1:n>1?n-1:n,0|255*(1>6*n?t+6*(i-t)*n:.5>n?i:2>3*n?t+6*(i-t)*(2/3-n):t)+.5},oi=function(n){var i,t,e,u,f,r;return n&&""!==n?"number"==typeof n?[n>>16,255&n>>8,255&n]:(","===n.charAt(n.length-1)&&(n=n.substr(0,n.length-1)),g[n]?g[n]:"#"===n.charAt(0)?(4===n.length&&(i=n.charAt(1),t=n.charAt(2),e=n.charAt(3),n="#"+i+i+t+t+e+e),n=parseInt(n.substr(1),16),[n>>16,255&n>>8,255&n]):"hsl"===n.substr(0,3)?(n=n.match(lt),u=Number(n[0])%360/360,f=Number(n[1])/100,r=Number(n[2])/100,t=.5>=r?r*(f+1):r+f-r*f,i=2*r-t,n.length>3&&(n[3]=Number(n[3])),n[0]=ei(u+1/3,i,t),n[1]=ei(u,i,t),n[2]=ei(u-1/3,i,t),n):(n=n.match(lt)||g.transparent,n[0]=Number(n[0]),n[1]=Number(n[1]),n[2]=Number(n[2]),n.length>3&&(n[3]=Number(n[3])),n)):g.black},nt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(i in g)nt+="|"+i+"\\b";nt=RegExp(nt+")","gi");var ur=function(n,t,i,r){if(null==n)return function(n){return n};var e,s=t?(n.match(nt)||[""])[0]:"",f=n.split(s).join("").match(gt)||[],h=n.substr(0,n.indexOf(f[0])),c=")"===n.charAt(n.length-1)?")":"",o=-1!==n.indexOf(" ")?" ":",",u=f.length,a=u>0?f[0].replace(lt,""):"";return u?e=t?function(n){var p,v,t,y;if("number"==typeof n)n+=a;else if(r&&l.test(n)){for(y=n.replace(l,"|").split("|"),t=0;y.length>t;t++)y[t]=e(y[t]);return y.join(",")}if(p=(n.match(nt)||[s])[0],v=n.split(p).join("").match(gt)||[],t=v.length,u>t--)for(;u>++t;)v[t]=i?v[0|(t-1)/2]:f[t];return h+v.join(o)+o+p+c+(-1!==n.indexOf("inset")?" inset":"")}:function(n){var s,v,t;if("number"==typeof n)n+=a;else if(r&&l.test(n)){for(v=n.replace(l,"|").split("|"),t=0;v.length>t;t++)v[t]=e(v[t]);return v.join(",")}if(s=n.match(gt)||[],t=s.length,u>t--)for(;u>++t;)s[t]=i?s[0|(t-1)/2]:f[t];return h+s.join(o)+c}:function(n){return n}},si=function(n){return n=n.split(","),function(t,i,r,u,f,e,o){var s,h=(i+"").split(" ");for(o={},s=0;4>s;s++)o[n[s]]=h[s]=h[s]||h[(s-1)/2>>0];return u.parse(t,o,f,e)}},hi=(yt._setPluginRatio=function(n){this.plugin.setRatio(n);for(var r,t,u,e,f=this.data,o=f.proxy,i=f.firstMPT,s=1e-6;i;)r=o[i.v],i.r?r=r>0?0|r+.5:0|r-.5:s>r&&r>-s&&(r=0),i.t[i.p]=r,i=i._next;if(f.autoRotate&&(f.autoRotate.rotation=o.rotation),1===n)for(i=f.firstMPT;i;){if(t=i.t,t.type){if(1===t.type){for(e=t.xs0+t.s+t.xs1,u=1;t.l>u;u++)e+=t["xn"+u]+t["xs"+(u+1)];t.e=e}}else t.e=t.s+t.xs0;i=i._next}},function(n,t,i,r,u){this.t=n;this.p=t;this.v=i;this.r=u;r&&(r._prev=this,this._next=r)}),o=(yt._parseToProxy=function(n,t,i,r,u,f){var c,e,o,s,v,h=r,l={},a={},y=i._transform,p=vt;for(i._transform=null,vt=t,r=v=i.parse(n,t,r,u),vt=p,f&&(i._transform=y,h&&(h._prev=null,h._prev&&(h._prev._next=null)));r&&r!==h;){if(1>=r.type&&(e=r.p,a[e]=r.s+r.c,l[e]=r.s,f||(s=new hi(r,"s",e,s,r.r),r.c=0),1===r.type))for(c=r.l;--c>0;)o="xn"+c,e=r.p+"_"+o,a[e]=r.data[o],l[e]=r[o],f||(s=new hi(r,o,e,s,r.rxp[o]));r=r._next}return{proxy:l,end:a,firstMPT:s,pt:v}},yt.CSSPropTween=function(n,t,i,r,u,f,e,s,h,c,l){this.t=n;this.p=t;this.s=i;this.c=r;this.n=e||t;n instanceof o||bt.push(this.n);this.r=s;this.type=f||0;h&&(this.pr=h,tt=!0);this.b=void 0===c?i:c;this.e=void 0===l?i+r:l;u&&(this._next=u,u._prev=this)}),pt=e.parseComplex=function(n,t,i,r,u,f,e,s,h,c){i=i||f||"";e=new o(n,t,0,0,e,c?2:1,null,!1,s,i,r);r+="";var y,w,b,a,v,ut,ft,it,k,et,nt,tt,p=i.split(", ").join(",").split(" "),rt=r.split(", ").join(",").split(" "),ot=p.length,st=kt!==!1;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(p=p.join(" ").replace(l,", ").split(" "),rt=rt.join(" ").replace(l,", ").split(" "),ot=p.length),ot!==rt.length&&(p=(f||"").split(" "),ot=p.length),e.plugin=h,e.setRatio=c,y=0;ot>y;y++)if(a=p[y],v=rt[y],it=parseFloat(a),it||0===it)e.appendXtra("",it,rr(v,it),v.replace(pi,""),st&&-1!==v.indexOf("px"),!0);else if(u&&("#"===a.charAt(0)||g[a]||wi.test(a)))tt=","===v.charAt(v.length-1)?"),":")",a=oi(a),v=oi(v),k=a.length+v.length>6,k&&!d&&0===v[3]?(e["xs"+e.l]+=e.l?" transparent":"transparent",e.e=e.e.split(rt[y]).join("transparent")):(d||(k=!1),e.appendXtra(k?"rgba(":"rgb(",a[0],v[0]-a[0],",",!0,!0).appendXtra("",a[1],v[1]-a[1],",",!0).appendXtra("",a[2],v[2]-a[2],k?",":tt,!0),k&&(a=4>a.length?1:a[3],e.appendXtra("",a,(4>v.length?1:v[3])-a,tt,!1)));else if(ut=a.match(lt)){if(ft=v.match(pi),!ft||ft.length!==ut.length)return e;for(b=0,w=0;ut.length>w;w++)nt=ut[w],et=a.indexOf(nt,b),e.appendXtra(a.substr(b,et-b),Number(nt),rr(ft[w],nt),"",st&&"px"===a.substr(et+nt.length,2),0===w),b=et+nt.length;e["xs"+e.l]+=a.substr(b)}else e["xs"+e.l]+=e.l?" "+a:a;if(-1!==r.indexOf("=")&&e.data){for(tt=e.xs0+e.data.s,y=1;e.l>y;y++)tt+=e["xs"+y]+e.data["xn"+y];e.e=tt+e["xs"+y]}return e.l||(e.type=-1,e.xs0=e.e),e.xfirst||e},s=9;for(i=o.prototype,i.l=i.pr=0;--s>0;)i["xn"+s]=0,i["xs"+s]="";i.xs0="";i._next=i._prev=i.xfirst=i.data=i.plugin=i.setRatio=i.rxp=null;i.appendXtra=function(n,t,i,r,u,f){var e=this,s=e.l;return e["xs"+s]+=f&&s?" "+n:n||"",i||0===s||e.plugin?(e.l++,e.type=e.setRatio?2:1,e["xs"+e.l]=r||"",s>0?(e.data["xn"+s]=t+i,e.rxp["xn"+s]=u,e["xn"+s]=t,e.plugin||(e.xfirst=new o(e,"xn"+s,t,i,e.xfirst||e,0,e.n,u,e.pr),e.xfirst.xs0=0),e):(e.data={s:t+i},e.rxp={},e.s=t,e.c=i,e.r=u,e)):(e["xs"+s]+=t+(r||""),e)};var fr=function(n,t){t=t||{};this.p=t.prefix?ut(n)||n:n;c[n]=c[this.p]=this;this.format=t.formatter||ur(t.defaultValue,t.color,t.collapsible,t.multi);t.parser&&(this.parse=t.parser);this.clrs=t.color;this.multi=t.multi;this.keyword=t.keyword;this.dflt=t.defaultValue;this.pr=t.priority||0},u=yt._registerComplexSpecialProp=function(n,t,i){"object"!=typeof t&&(t={parser:i});var r,e,u=n.split(","),f=t.defaultValue;for(i=i||[f],r=0;u.length>r;r++)t.prefix=0===r&&t.prefix,t.defaultValue=i[r]||f,e=new fr(u[r],t)},dr=function(n){if(!c[n]){var t=n.charAt(0).toUpperCase()+n.substr(1)+"Plugin";u(n,{parser:function(n,i,r,u,f,e,o){var s=(window.GreenSockGlobals||window).com.greensock.plugins[t];return s?(s._cssRegister(),c[r].parse(n,i,r,u,f,e,o)):(nr("Error: "+t+" js file not loaded."),f)}})}};i=fr.prototype;i.parseComplex=function(n,t,i,r,u,f){var o,s,e,a,v,c,h=this.keyword;if(this.multi&&(l.test(i)||l.test(t)?(s=t.replace(l,"|").split("|"),e=i.replace(l,"|").split("|")):h&&(s=[t],e=[i])),e){for(a=e.length>s.length?e.length:s.length,o=0;a>o;o++)t=s[o]=s[o]||this.dflt,i=e[o]=e[o]||this.dflt,h&&(v=t.indexOf(h),c=i.indexOf(h),v!==c&&(i=-1===c?e:s,i[o]+=" "+h));t=s.join(", ");i=e.join(", ")}return pt(n,this.p,t,i,this.clrs,this.dflt,r,this.pr,u,f)};i.parse=function(n,t,i,u,e,o){return this.parseComplex(n.style,this.format(r(n,this.p,f,!1,this.dflt)),this.format(t),e,o)};e.registerSpecialProp=function(n,t,i){u(n,{parser:function(n,r,u,f,e,s){var h=new o(n,u,0,0,e,2,u,!1,i);return h.plugin=s,h.setRatio=t(n,r,f._tween,u),h},priority:i})};var er="scaleX,scaleY,scaleZ,x,y,z,skewX,rotation,rotationX,rotationY,perspective".split(","),h=ut("transform"),gr=tr+"transform",ci=ut("transformOrigin"),y=null!==ut("perspective"),st=function(n,t,i,u){if(n._gsTransform&&i&&!u)return n._gsTransform;var a,o,nt,lt,ui,vt,yt,ut,tt,fi,ei,pt,wt,f=i?n._gsTransform||{skewY:0}:{skewY:0},yi=0>f.scaleX,et=2e-5,p=1e5,at=179.99,ot=at*v,pi=y?parseFloat(r(n,ci,t,!1,"0 0 0").split(" ")[2])||f.zOrigin||0:0;for(h?a=r(n,gr,t,!0):n.currentStyle&&(a=n.currentStyle.filter.match(yr),a=a&&4===a.length?[a[0].substr(4),Number(a[2].substr(4)),Number(a[1].substr(4)),a[3].substr(4),f.x||0,f.y||0].join(","):""),o=(a||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],nt=o.length;--nt>-1;)lt=Number(o[nt]),o[nt]=(ui=lt-(lt|=0))?(0|ui*p+(0>ui?-.5:.5))/p+lt:lt;if(16===o.length){var st=o[8],k=o[9],w=o[10],hi=o[12],li=o[13],ht=o[14];if(f.zOrigin&&(ht=-f.zOrigin,hi=st*ht-o[12],li=k*ht-o[13],ht=w*ht+f.zOrigin-o[14]),!i||u||null==f.rotationX){var bt,ct,kt,s,c,oi,si,ft=o[0],d=o[1],dt=o[2],wi=o[3],gt=o[4],g=o[5],it=o[6],bi=o[7],rt=o[11],l=Math.atan2(it,w),ai=-ot>l||l>ot;f.rotationX=l*b;l&&(s=Math.cos(-l),c=Math.sin(-l),bt=gt*s+st*c,ct=g*s+k*c,kt=it*s+w*c,st=gt*-c+st*s,k=g*-c+k*s,w=it*-c+w*s,rt=bi*-c+rt*s,gt=bt,g=ct,it=kt);l=Math.atan2(st,ft);f.rotationY=l*b;l&&(oi=-ot>l||l>ot,s=Math.cos(-l),c=Math.sin(-l),bt=ft*s-st*c,ct=d*s-k*c,kt=dt*s-w*c,k=d*c+k*s,w=dt*c+w*s,rt=wi*c+rt*s,ft=bt,d=ct,dt=kt);l=Math.atan2(d,g);f.rotation=l*b;l&&(si=-ot>l||l>ot,s=Math.cos(-l),c=Math.sin(-l),ft=ft*s+gt*c,ct=d*s+g*c,g=d*-c+g*s,it=dt*-c+it*s,d=ct);si&&ai?f.rotation=f.rotationX=0:si&&oi?f.rotation=f.rotationY=0:oi&&ai&&(f.rotationY=f.rotationX=0);f.scaleX=(0|Math.sqrt(ft*ft+d*d)*p+.5)/p;f.scaleY=(0|Math.sqrt(g*g+k*k)*p+.5)/p;f.scaleZ=(0|Math.sqrt(it*it+w*w)*p+.5)/p;f.skewX=0;f.perspective=rt?1/(0>rt?-rt:rt):0;f.x=hi;f.y=li;f.z=ht}}else if(!(y&&!u&&o.length&&f.x===o[4]&&f.y===o[5]&&(f.rotationX||f.rotationY)||void 0!==f.x&&"none"===r(n,"display",t))){var vi=o.length>=6,ni=vi?o[0]:1,ti=o[1]||0,ii=o[2]||0,ri=vi?o[3]:1;f.x=o[4]||0;f.y=o[5]||0;vt=Math.sqrt(ni*ni+ti*ti);yt=Math.sqrt(ri*ri+ii*ii);ut=ni||ti?Math.atan2(ti,ni)*b:f.rotation||0;tt=ii||ri?Math.atan2(ii,ri)*b+ut:f.skewX||0;fi=vt-Math.abs(f.scaleX||0);ei=yt-Math.abs(f.scaleY||0);Math.abs(tt)>90&&270>Math.abs(tt)&&(yi?(vt*=-1,tt+=0>=ut?180:-180,ut+=0>=ut?180:-180):(yt*=-1,tt+=0>=tt?180:-180));pt=(ut-f.rotation)%180;wt=(tt-f.skewX)%180;(void 0===f.skewX||fi>et||-et>fi||ei>et||-et>ei||pt>-at&&at>pt&&!1|pt*p||wt>-at&&at>wt&&!1|wt*p)&&(f.scaleX=vt,f.scaleY=yt,f.rotation=ut,f.skewX=tt);y&&(f.rotationX=f.rotationY=f.z=0,f.perspective=parseFloat(e.defaultTransformPerspective)||0,f.scaleZ=1)}f.zOrigin=pi;for(nt in f)et>f[nt]&&f[nt]>-et&&(f[nt]=0);return i&&(n._gsTransform=f),f},nu=function(n){var o,w,t=this.data,nt=-t.rotation*v,ft=nt+t.skewX*v,e=1e5,h=(0|Math.cos(nt)*t.scaleX*e)/e,u=(0|Math.sin(nt)*t.scaleX*e)/e,f=(0|Math.sin(ft)*-t.scaleY*e)/e,c=(0|Math.cos(ft)*t.scaleY*e)/e,d=this.t.style,g=this.t.currentStyle,k,p,et,ot;if(g){w=u;u=-f;f=-w;o=g.filter;d.filter="";var i,r,l=this.t.offsetWidth,y=this.t.offsetHeight,tt="absolute"!==g.position,b="progid:DXImageTransform.Microsoft.Matrix(M11="+h+", M12="+u+", M21="+f+", M22="+c,rt=t.x,ut=t.y;if(null!=t.ox&&(i=(t.oxp?.01*l*t.ox:t.ox)-l/2,r=(t.oyp?.01*y*t.oy:t.oy)-y/2,rt+=i-(i*h+r*u),ut+=r-(i*f+r*c)),tt?(i=l/2,r=y/2,b+=", Dx="+(i-(i*h+r*u)+rt)+", Dy="+(r-(i*f+r*c)+ut)+")"):b+=", sizingMethod='auto expand')",d.filter=-1!==o.indexOf("DXImageTransform.Microsoft.Matrix(")?o.replace(pr,b):b+" "+o,(0===n||1===n)&&1===h&&0===u&&0===f&&1===c&&(tt&&-1===b.indexOf("Dx=0, Dy=0")||ti.test(o)&&100!==parseFloat(RegExp.$1)||-1===o.indexOf("gradient("&&o.indexOf("Alpha"))&&d.removeAttribute("filter")),!tt)for(ot=8>it?1:-1,i=t.ieOffsetX||0,r=t.ieOffsetY||0,t.ieOffsetX=Math.round((l-((0>h?-h:h)*l+(0>u?-u:u)*y))/2+rt),t.ieOffsetY=Math.round((y-((0>c?-c:c)*y+(0>f?-f:f)*l))/2+ut),s=0;4>s;s++)p=br[s],k=g[p],w=-1!==k.indexOf("px")?parseFloat(k):a(this.t,p,parseFloat(k),k.replace(ni,""))||0,et=w!==t[p]?2>s?-t.ieOffsetX:-t.ieOffsetY:2>s?i-t.ieOffsetX:r-t.ieOffsetY,d[p]=(t[p]=Math.round(w-et*(0===s||2===s?1:ot)))+"px"}},li=function(){var nt,k,l,a,tt,d,y,p,ft,it,c,f,et,rt,w,ot,n,i,r,e,st,ht,ct,t=this.data,lt=this.t.style,u=t.rotation*v,o=t.scaleX,s=t.scaleY,b=t.scaleZ,g=t.perspective,ut;if(vi&&(ut=.0001,ut>o&&o>-ut&&(o=b=2e-5),ut>s&&s>-ut&&(s=b=2e-5),!g||t.z||t.rotationX||t.rotationY||(g=0)),u||t.skewX)i=Math.cos(u),r=Math.sin(u),nt=i,tt=r,t.skewX&&(u-=t.skewX*v,i=Math.cos(u),r=Math.sin(u)),k=-r,d=i;else{if(!(t.rotationY||t.rotationX||1!==b||g))return lt[h]="translate3d("+t.x+"px,"+t.y+"px,"+t.z+"px)"+(1!==o||1!==s?" scale("+o+","+s+")":""),void 0;nt=d=1;k=tt=0}c=1;l=a=y=p=ft=it=f=et=rt=0;w=g?-1/g:0;ot=t.zOrigin;n=1e5;u=t.rotationY*v;u&&(i=Math.cos(u),r=Math.sin(u),ft=c*-r,et=w*-r,l=nt*r,y=tt*r,c*=i,w*=i,nt*=i,tt*=i);u=t.rotationX*v;u&&(i=Math.cos(u),r=Math.sin(u),e=k*i+l*r,st=d*i+y*r,ht=it*i+c*r,ct=rt*i+w*r,l=k*-r+l*i,y=d*-r+y*i,c=it*-r+c*i,w=rt*-r+w*i,k=e,d=st,it=ht,rt=ct);1!==b&&(l*=b,y*=b,c*=b,w*=b);1!==s&&(k*=s,d*=s,it*=s,rt*=s);1!==o&&(nt*=o,tt*=o,ft*=o,et*=o);ot&&(f-=ot,a=l*f,p=y*f,f=c*f+ot);a=(e=(a+=t.x)-(a|=0))?(0|e*n+(0>e?-.5:.5))/n+a:a;p=(e=(p+=t.y)-(p|=0))?(0|e*n+(0>e?-.5:.5))/n+p:p;f=(e=(f+=t.z)-(f|=0))?(0|e*n+(0>e?-.5:.5))/n+f:f;lt[h]="matrix3d("+[(0|nt*n)/n,(0|tt*n)/n,(0|ft*n)/n,(0|et*n)/n,(0|k*n)/n,(0|d*n)/n,(0|it*n)/n,(0|rt*n)/n,(0|l*n)/n,(0|y*n)/n,(0|c*n)/n,(0|w*n)/n,a,p,f,g?1+-f/g:1].join(",")+")"},tu=function(n){var r,u,i,f,e,t=this.data,s=this.t,o=s.style;return t.rotationX||t.rotationY||t.z||t.force3D?(this.setRatio=li,li.call(this,n),void 0):(t.rotation||t.skewX?(r=t.rotation*v,u=r-t.skewX*v,i=1e5,f=t.scaleX*i,e=t.scaleY*i,o[h]="matrix("+(0|Math.cos(r)*f)/i+","+(0|Math.sin(r)*f)/i+","+(0|Math.sin(u)*-e)/i+","+(0|Math.cos(u)*e)/i+","+t.x+","+t.y+")"):o[h]="matrix("+t.scaleX+",0,0,"+t.scaleY+","+t.x+","+t.y+")",void 0)};for(u("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D",{parser:function(n,t,i,u,e,s,c){if(u._transform)return e;var p,it,b,v,nt,tt,d,a=u._transform=st(n,f,!0,c.parseTransform),k=n.style,rt=1e-6,ut=er.length,l=c,g={};if("string"==typeof l.transform&&h)b=k.cssText,k[h]=l.transform,k.display="block",p=st(n,null,!1),k.cssText=b;else if("object"==typeof l){if(p={scaleX:w(null!=l.scaleX?l.scaleX:l.scale,a.scaleX),scaleY:w(null!=l.scaleY?l.scaleY:l.scale,a.scaleY),scaleZ:w(l.scaleZ,a.scaleZ),x:w(l.x,a.x),y:w(l.y,a.y),z:w(l.z,a.z),perspective:w(l.transformPerspective,a.perspective)},d=l.directionalRotation,null!=d)if("object"==typeof d)for(b in d)l[b]=d[b];else l.rotation=d;p.rotation=ot("rotation"in l?l.rotation:"shortRotation"in l?l.shortRotation+"_short":"rotationZ"in l?l.rotationZ:a.rotation,a.rotation,"rotation",g);y&&(p.rotationX=ot("rotationX"in l?l.rotationX:"shortRotationX"in l?l.shortRotationX+"_short":a.rotationX||0,a.rotationX,"rotationX",g),p.rotationY=ot("rotationY"in l?l.rotationY:"shortRotationY"in l?l.shortRotationY+"_short":a.rotationY||0,a.rotationY,"rotationY",g));p.skewX=null==l.skewX?a.skewX:ot(l.skewX,a.skewX);p.skewY=null==l.skewY?a.skewY:ot(l.skewY,a.skewY);(it=p.skewY-a.skewY)&&(p.skewX+=it,p.rotation+=it)}for(y&&null!=l.force3D&&(a.force3D=l.force3D,tt=!0),nt=a.force3D||a.z||a.rotationX||a.rotationY||p.z||p.rotationX||p.rotationY||p.perspective,nt||null==l.scale||(p.scaleZ=1);--ut>-1;)i=er[ut],v=p[i]-a[i],(v>rt||-rt>v||null!=vt[i])&&(tt=!0,e=new o(a,i,a[i],v,e),i in g&&(e.e=g[i]),e.xs0=0,e.plugin=s,u._overwriteProps.push(e.n));return v=l.transformOrigin,(v||y&&nt&&a.zOrigin)&&(h?(tt=!0,i=ci,v=(v||r(n,i,f,!1,"50% 50%"))+"",e=new o(k,i,0,0,e,-1,"transformOrigin"),e.b=k[i],e.plugin=s,y?(b=a.zOrigin,v=v.split(" "),a.zOrigin=(v.length>2&&(0===b||"0px"!==v[2])?parseFloat(v[2]):b)||0,e.xs0=e.e=k[i]=v[0]+" "+(v[1]||"50%")+" 0px",e=new o(a,"zOrigin",0,0,e,-1,e.n),e.b=b,e.xs0=e.e=a.zOrigin):e.xs0=e.e=k[i]=v):fi(v+"",a)),tt&&(u._transformType=nt||3===this._transformType?3:2),e},prefix:!0}),u("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),u("borderRadius",{defaultValue:"0px",parser:function(n,t,i,u,e){t=this.format(t);var tt,l,d,h,o,s,w,v,it,rt,c,y,g,b,k,nt,p=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],ft=n.style;for(it=parseFloat(n.offsetWidth),rt=parseFloat(n.offsetHeight),tt=t.split(" "),l=0;p.length>l;l++)this.p.indexOf("border")&&(p[l]=ut(p[l])),o=h=r(n,p[l],f,!1,"0px"),-1!==o.indexOf(" ")&&(h=o.split(" "),o=h[0],h=h[1]),s=d=tt[l],w=parseFloat(o),y=o.substr((w+"").length),g="="===s.charAt(1),g?(v=parseInt(s.charAt(0)+"1",10),s=s.substr(2),v*=parseFloat(s),c=s.substr((v+"").length-(0>v?1:0))||""):(v=parseFloat(s),c=s.substr((v+"").length)),""===c&&(c=ct[i]||y),c!==y&&(b=a(n,"borderLeft",w,y),k=a(n,"borderTop",w,y),"%"===c?(o=100*(b/it)+"%",h=100*(k/rt)+"%"):"em"===c?(nt=a(n,"borderLeft",1,"em"),o=b/nt+"em",h=k/nt+"em"):(o=b+"px",h=k+"px"),g&&(s=parseFloat(o)+v+c,d=parseFloat(h)+v+c)),e=pt(ft,p[l],o+" "+h,s+" "+d,!1,"0px",e);return e},prefix:!0,formatter:ur("0px 0px 0px 0px",!1,!0)}),u("backgroundPosition",{defaultValue:"0 0",parser:function(n,t,i,u,e,o){var c,b,h,v,y,l,p="background-position",a=f||ft(n,null),s=this.format((a?it?a.getPropertyValue(p+"-x")+" "+a.getPropertyValue(p+"-y"):a.getPropertyValue(p):n.currentStyle.backgroundPositionX+" "+n.currentStyle.backgroundPositionY)||"0 0"),w=this.format(t);if(-1!==s.indexOf("%")!=(-1!==w.indexOf("%"))&&(l=r(n,"backgroundImage").replace(ar,""),l&&"none"!==l)){for(c=s.split(" "),b=w.split(" "),ii.setAttribute("src",l),h=2;--h>-1;)s=c[h],v=-1!==s.indexOf("%"),v!==(-1!==b[h].indexOf("%"))&&(y=0===h?n.offsetWidth-ii.width:n.offsetHeight-ii.height,c[h]=v?parseFloat(s)/100*y+"px":100*(parseFloat(s)/y)+"%");s=c.join(" ")}return this.parseComplex(n.style,s,w,e,o)},formatter:fi}),u("backgroundSize",{defaultValue:"0 0",formatter:fi}),u("perspective",{defaultValue:"0px",prefix:!0}),u("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),u("transformStyle",{prefix:!0}),u("backfaceVisibility",{prefix:!0}),u("userSelect",{prefix:!0}),u("margin",{parser:si("marginTop,marginRight,marginBottom,marginLeft")}),u("padding",{parser:si("paddingTop,paddingRight,paddingBottom,paddingLeft")}),u("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(n,t,i,u,e,o){var c,s,h;return 9>it?(s=n.currentStyle,h=8>it?" ":",",c="rect("+s.clipTop+h+s.clipRight+h+s.clipBottom+h+s.clipLeft+")",t=this.format(t).split(",").join(h)):(c=this.format(r(n,this.p,f,!1,this.dflt)),t=this.format(t)),this.parseComplex(n.style,c,t,e,o)}}),u("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),u("autoRound,strictUnits",{parser:function(n,t,i,r,u){return u}}),u("border",{defaultValue:"0px solid #000",parser:function(n,t,i,u,e,o){return this.parseComplex(n.style,this.format(r(n,"borderTopWidth",f,!1,"0px")+" "+r(n,"borderTopStyle",f,!1,"solid")+" "+r(n,"borderTopColor",f,!1,"#000")),this.format(t),e,o)},color:!0,formatter:function(n){var t=n.split(" ");return t[0]+" "+(t[1]||"solid")+" "+(n.match(nt)||["#000"])[0]}}),u("borderWidth",{parser:si("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),u("float,cssFloat,styleFloat",{parser:function(n,t,i,r,u){var f=n.style,e="cssFloat"in f?"cssFloat":"styleFloat";return new o(f,e,0,0,u,-1,i,!1,0,f[e],t)}}),or=function(n){var f,i=this.t,t=i.filter||r(this.data,"filter"),u=0|this.s+this.c*n;100===u&&(-1===t.indexOf("atrix(")&&-1===t.indexOf("radient(")&&-1===t.indexOf("oader(")?(i.removeAttribute("filter"),f=!r(this.data,"filter")):(i.filter=t.replace(lr,""),f=!0));f||(this.xn1&&(i.filter=t=t||"alpha(opacity="+u+")"),-1===t.indexOf("opacity")?0===u&&this.xn1||(i.filter=t+" alpha(opacity="+u+")"):i.filter=t.replace(ti,"opacity="+u))},u("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(n,t,i,u,e,s){var h=parseFloat(r(n,"opacity",f,!1,"1")),c=n.style,l="autoAlpha"===i;return"string"==typeof t&&"="===t.charAt(1)&&(t=("-"===t.charAt(0)?-1:1)*parseFloat(t.substr(2))+h),l&&1===h&&"hidden"===r(n,"visibility",f)&&0!==t&&(h=0),d?e=new o(c,"opacity",h,t-h,e):(e=new o(c,"opacity",100*h,100*(t-h),e),e.xn1=l?1:0,c.zoom=1,e.type=2,e.b="alpha(opacity="+e.s+")",e.e="alpha(opacity="+(e.s+e.c)+")",e.data=n,e.plugin=s,e.setRatio=or),l&&(e=new o(c,"visibility",0,0,e,-1,null,!1,0,0!==h?"inherit":"hidden",0===t?"hidden":"inherit"),e.xs0="inherit",u._overwriteProps.push(e.n),u._overwriteProps.push(i)),e}}),wt=function(n,t){t&&(n.removeProperty?n.removeProperty(t.replace(bi,"-$1").toLowerCase()):n.removeAttribute(t))},sr=function(n){if(this.t._gsClassPT=this,1===n||0===n){this.t.className=0===n?this.b:this.e;for(var t=this.data,i=this.t.style;t;)t.v?i[t.p]=t.v:wt(i,t.p),t=t._next;1===n&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.className!==this.e&&(this.t.className=this.e)},u("className",{parser:function(n,t,i,r,u,e,s){var c,y,l,a,h,v=n.className,p=n.style.cssText;if(u=r._classNamePT=new o(n,i,0,0,u,2),u.setRatio=sr,u.pr=-11,tt=!0,u.b=v,y=et(n,f),l=n._gsClassPT){for(a={},h=l.data;h;)a[h.p]=1,h=h._next;l.setRatio(1)}return n._gsClassPT=u,u.e="="!==t.charAt(1)?t:v.replace(RegExp("\\s*\\b"+t.substr(2)+"\\b"),"")+("+"===t.charAt(0)?" "+t.substr(2):""),r._tween._duration&&(n.className=u.e,c=ui(n,y,et(n),s,a),n.className=v,u.data=c.firstMPT,n.style.cssText=p,u=u.xfirst=r.parse(n,c.difs,u,e)),u}}),hr=function(n){if((1===n||0===n)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var i,t,r,u,f=this.t.style,e=c.transform.parse;if("all"===this.e)f.cssText="",u=!0;else for(i=this.e.split(","),r=i.length;--r>-1;)t=i[r],c[t]&&(c[t].parse===e?u=!0:t="transformOrigin"===t?ci:c[t].p),wt(f,t);u&&(wt(f,h),this.t._gsTransform&&delete this.t._gsTransform)}},u("clearProps",{parser:function(n,t,i,r,u){return u=new o(n,i,0,0,u,2),u.setRatio=hr,u.e=t,u.pr=-10,u.data=r._tween,tt=!0,u}}),i="bezier,throwProps,physicsProps,physics2D".split(","),s=i.length;s--;)dr(i[s]);return i=e.prototype,i._firstPT=null,i._onInitTween=function(n,t,i){if(!n.nodeType)return!1;this._target=n;this._tween=i;this._vars=t;kt=t.autoRound;tt=!1;ct=t.suffixMap||e.suffixMap;f=ft(n,"");bt=this._overwriteProps;var l,s,u,a,b,k,p,v,w,c=n.style;if(ai&&""===c.zIndex&&(l=r(n,"zIndex",f),("auto"===l||""===l)&&(c.zIndex=0)),"string"==typeof t&&(a=c.cssText,l=et(n,f),c.cssText=a+";"+t,l=ui(n,l,et(n)).difs,!d&&cr.test(t)&&(l.opacity=parseFloat(RegExp.$1)),t=l,c.cssText=a),this._firstPT=s=this.parse(n,t,null),this._transformType){for(w=3===this._transformType,h?dt&&(ai=!0,""===c.zIndex&&(p=r(n,"zIndex",f),("auto"===p||""===p)&&(c.zIndex=0)),yi&&(c.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(w?"visible":"hidden"))):c.zoom=1,u=s;u&&u._next;)u=u._next;v=new o(n,"transform",0,0,null,2);this._linkCSSP(v,null,u);v.setRatio=w&&y?li:h?tu:nu;v.data=this._transform||st(n,f,!0);bt.pop()}if(tt){for(;s;){for(k=s._next,u=a;u&&u.pr>s.pr;)u=u._next;(s._prev=u?u._prev:b)?s._prev._next=s:a=s;(s._next=u)?u._prev=s:b=s;s=k}this._firstPT=a}return!0},i.parse=function(n,t,i,u){var e,d,h,l,y,s,p,v,w,b,k=n.style;for(e in t)s=t[e],d=c[e],d?i=d.parse(n,s,e,this,i,u,t):(y=r(n,e,f)+"",w="string"==typeof s,"color"===e||"fill"===e||"stroke"===e||-1!==e.indexOf("Color")||w&&wi.test(s)?(w||(s=oi(s),s=(s.length>3?"rgba(":"rgb(")+s.join(",")+")"),i=pt(k,e,y,s,!0,"transparent",i,0,u)):!w||-1===s.indexOf(" ")&&-1===s.indexOf(",")?(h=parseFloat(y),p=h||0===h?y.substr((h+"").length):"",(""===y||"auto"===y)&&("width"===e||"height"===e?(h=kr(n,e,f),p="px"):"left"===e||"top"===e?(h=ir(n,e,f),p="px"):(h="opacity"!==e?0:1,p="")),b=w&&"="===s.charAt(1),b?(l=parseInt(s.charAt(0)+"1",10),s=s.substr(2),l*=parseFloat(s),v=s.replace(ni,"")):(l=parseFloat(s),v=w?s.substr((l+"").length)||"":""),""===v&&(v=e in ct?ct[e]:p),s=l||0===l?(b?l+h:l)+v:t[e],p!==v&&""!==v&&(l||0===l)&&(h||0===h)&&(h=a(n,e,h,p),"%"===v?(h/=a(n,e,100,"%")/100,t.strictUnits!==!0&&(y=h+"%")):"em"===v?h/=a(n,e,1,"em"):(l=a(n,e,l,v),v="px"),b&&(l||0===l)&&(s=l+h+v)),b&&(l+=h),!h&&0!==h||!l&&0!==l?void 0!==k[e]&&(s||"NaN"!=s+""&&null!=s)?(i=new o(k,e,l||h||0,0,i,-1,e,!1,0,y,s),i.xs0="none"!==s||"display"!==e&&-1===e.indexOf("Style")?s:y):nr("invalid "+e+" tween value: "+t[e]):(i=new o(k,e,h,l-h,i,0,e,kt!==!1&&("px"===v||"zIndex"===e),0,y,s),i.xs0=v)):i=pt(k,e,y,s,!0,null,i,0,u)),u&&i&&!i.plugin&&(i.plugin=u);return i},i.setRatio=function(n){var i,u,r,t=this._firstPT,f=1e-6;if(1!==n||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(n||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;t;){if(i=t.c*n+t.s,t.r?i=i>0?0|i+.5:0|i-.5:f>i&&i>-f&&(i=0),t.type)if(1===t.type)if(r=t.l,2===r)t.t[t.p]=t.xs0+i+t.xs1+t.xn1+t.xs2;else if(3===r)t.t[t.p]=t.xs0+i+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3;else if(4===r)t.t[t.p]=t.xs0+i+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3+t.xn3+t.xs4;else if(5===r)t.t[t.p]=t.xs0+i+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3+t.xn3+t.xs4+t.xn4+t.xs5;else{for(u=t.xs0+i+t.xs1,r=1;t.l>r;r++)u+=t["xn"+r]+t["xs"+(r+1)];t.t[t.p]=u}else-1===t.type?t.t[t.p]=t.xs0:t.setRatio&&t.setRatio(n);else t.t[t.p]=i+t.xs0;t=t._next}else for(;t;)2!==t.type?t.t[t.p]=t.b:t.setRatio(n),t=t._next;else for(;t;)2!==t.type?t.t[t.p]=t.e:t.setRatio(n),t=t._next},i._enableTransforms=function(n){this._transformType=n||3===this._transformType?3:2;this._transform=this._transform||st(this._target,f,!0)},i._linkCSSP=function(n,t,i,r){return n&&(t&&(t._prev=n),n._next&&(n._next._prev=n._prev),n._prev?n._prev._next=n._next:this._firstPT===n&&(this._firstPT=n._next,r=!0),i?i._next=n:r||null!==this._firstPT||(this._firstPT=n),n._next=t,n._prev=i),n},i._kill=function(t){var i,f,r,u=t;if(t.autoAlpha||t.alpha){u={};for(f in t)u[f]=t[f];u.opacity=1;u.autoAlpha&&(u.visibility=1)}return t.className&&(i=this._classNamePT)&&(r=i.xfirst,r&&r._prev?this._linkCSSP(r._prev,i._next,r._prev._prev):r===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,r._prev),this._classNamePT=null),n.prototype._kill.call(this,u)},ht=function(n,t,i){var e,u,r,f;if(n.slice)for(u=n.length;--u>-1;)ht(n[u],t,i);else for(e=n.childNodes,u=e.length;--u>-1;)r=e[u],f=r.type,r.style&&(t.push(et(r)),i&&i.push(r)),1!==f&&9!==f&&11!==f||!r.childNodes.length||ht(r,t,i)},e.cascadeTo=function(n,i,r){var u,f,o,e=t.to(n,i,r),h=[e],c=[],l=[],s=[],a=t._internals.reservedProps;for(n=e._targets||e.target,ht(n,c,s),e.render(i,!0),ht(n,l),e.render(0,!0),e._enabled(!0),u=s.length;--u>-1;)if(f=ui(s[u],c[u],l[u]),f.firstMPT){f=f.difs;for(o in r)a[o]&&(f[o]=r[o]);h.push(t.to(s[u],i,f))}return h},n.activate([e]),e},!0)});window._gsDefine&&window._gsQueue.pop()(),function(n){n.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]};n.expr[":"].uncached=function(t){var i=document.createElement("img");return i.src=t.src,n(t).is('img[src!=""]')&&!i.complete};n.fn.waitForImages=function(t,i,r){if(n.isPlainObject(arguments[0])&&(i=t.each,r=t.waitForAll,t=t.finished),t=t||n.noop,i=i||n.noop,r=!!r,!n.isFunction(t)||!n.isFunction(i))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var f=n(this),u=[],s,h,e,o;r?(s=n.waitForImages.hasImageProperties||[],h=/url\((['"]?)(.*?)\1\)/g,f.find("*").each(function(){var t=n(this);t.is("img:uncached")&&u.push({src:t.attr("src"),element:t[0]});n.each(s,function(n,i){var r=t.css(i),f;if(!r)return!0;while(f=h.exec(r))u.push({src:f[2],element:t[0]})})})):f.find("img:uncached").each(function(){u.push({src:this.src,element:this})});e=u.length;o=0;e==0&&t.call(f[0]);n.each(u,function(r,u){var s=new Image;n(s).bind("load error",function(n){return o++,i.call(u.element,o,e,n.type=="load"),o==e?(t.call(f[0]),!1):void 0});s.src=u.src})})}}(jQuery),function(n){function e(){var t,o,u,e;for(f=!1,t=0,o=r.length;t<o;t++)u=n(r[t]).filter(function(){return n(this).is(":appeared")}),u.trigger("appear",[u]),i[t]&&(e=i[t].not(u),e.trigger("disappear",[e])),i[t]=u}function s(n){r.push(n);i.push()}var r=[],u=!1,f=!1,o={interval:250,force_process:!1},t=n(window),i=[];n.expr[":"].appeared=function(i){var r=n(i);if(!r.is(":visible"))return!1;var u=t.scrollLeft(),f=t.scrollTop(),e=r.offset(),o=e.left,s=e.top;return s+r.height()>=f&&s-(r.data("appear-top-offset")||0)<=f+t.height()&&o+r.width()>=u&&o-(r.data("appear-left-offset")||0)<=u+t.width()?!0:!1};n.fn.extend({appear:function(t){var i=n.extend({},o,t||{}),h=this.selector||this,r;return u||(r=function(){f||(f=!0,setTimeout(e,i.interval))},n(window).scroll(r).resize(r),u=!0),i.force_process&&setTimeout(e,i.interval),s(h),n(h)}});n.extend({force_appear:function(){return u?(e(),!0):!1}})}(function(){return typeof module!="undefined"?require("jquery"):jQuery}()),function(){var n,f,i,r,u,t=function(n,t){return function(){return n.apply(t,arguments)}},e=[].indexOf||function(n){for(var t=0,i=this.length;i>t;t++)if(t in this&&this[t]===n)return t;return-1};f=function(){function n(){}return n.prototype.extend=function(n,t){var i,r;for(i in t)r=t[i],null==n[i]&&(n[i]=r);return n},n.prototype.isMobile=function(n){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(n)},n.prototype.createEvent=function(n,t,i,r){var u;return null==t&&(t=!1),null==i&&(i=!1),null==r&&(r=null),null!=document.createEvent?(u=document.createEvent("CustomEvent"),u.initCustomEvent(n,t,i,r)):null!=document.createEventObject?(u=document.createEventObject(),u.eventType=n):u.eventName=n,u},n.prototype.emitEvent=function(n,t){return null!=n.dispatchEvent?n.dispatchEvent(t):t in(null!=n)?n[t]():"on"+t in(null!=n)?n["on"+t]():void 0},n.prototype.addEvent=function(n,t,i){return null!=n.addEventListener?n.addEventListener(t,i,!1):null!=n.attachEvent?n.attachEvent("on"+t,i):n[t]=i},n.prototype.removeEvent=function(n,t,i){return null!=n.removeEventListener?n.removeEventListener(t,i,!1):null!=n.detachEvent?n.detachEvent("on"+t,i):delete n[t]},n.prototype.innerHeight=function(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight},n}();i=this.WeakMap||this.MozWeakMap||(i=function(){function n(){this.keys=[];this.values=[]}return n.prototype.get=function(n){var t,u,i,f,r;for(r=this.keys,t=i=0,f=r.length;f>i;t=++i)if(u=r[t],u===n)return this.values[t]},n.prototype.set=function(n,t){var i,f,r,e,u;for(u=this.keys,i=r=0,e=u.length;e>r;i=++r)if(f=u[i],f===n)return void(this.values[i]=t);return this.keys.push(n),this.values.push(t)},n}());n=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(n=function(){function n(){"undefined"!=typeof console&&null!==console&&console.warn("MutationObserver is not supported by your browser.");"undefined"!=typeof console&&null!==console&&console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return n.notSupported=!0,n.prototype.observe=function(){},n}());r=this.getComputedStyle||function(n){return this.getPropertyValue=function(t){var i;return"float"===t&&(t="styleFloat"),u.test(t)&&t.replace(u,function(n,t){return t.toUpperCase()}),(null!=(i=n.currentStyle)?i[t]:void 0)||null},this};u=/(\-([a-z]){1})/g;this.WOW=function(){function u(n){null==n&&(n={});this.scrollCallback=t(this.scrollCallback,this);this.scrollHandler=t(this.scrollHandler,this);this.resetAnimation=t(this.resetAnimation,this);this.start=t(this.start,this);this.scrolled=!0;this.config=this.util().extend(n,this.defaults);this.animationNameCache=new i;this.wowEvent=this.util().createEvent(this.config.boxClass)}return u.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null},u.prototype.init=function(){var n;return this.element=window.document.documentElement,"interactive"===(n=document.readyState)||"complete"===n?this.start():this.util().addEvent(document,"DOMContentLoaded",this.start),this.finished=[]},u.prototype.start=function(){var t,i,u,r;if(this.stopped=!1,this.boxes=function(){var n,u,i,r;for(i=this.element.querySelectorAll("."+this.config.boxClass),r=[],n=0,u=i.length;u>n;n++)t=i[n],r.push(t);return r}.call(this),this.all=function(){var n,u,i,r;for(i=this.boxes,r=[],n=0,u=i.length;u>n;n++)t=i[n],r.push(t);return r}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(r=this.boxes,i=0,u=r.length;u>i;i++)t=r[i],this.applyStyle(t,!0);return this.disabled()||(this.util().addEvent(window,"scroll",this.scrollHandler),this.util().addEvent(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live?new n(function(n){return function(t){var i,u,f,e,r;for(r=[],i=0,u=t.length;u>i;i++)e=t[i],r.push(function(){var n,r,t,i;for(t=e.addedNodes||[],i=[],n=0,r=t.length;r>n;n++)f=t[n],i.push(this.doSync(f));return i}.call(n));return r}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},u.prototype.stop=function(){return this.stopped=!0,this.util().removeEvent(window,"scroll",this.scrollHandler),this.util().removeEvent(window,"resize",this.scrollHandler),null!=this.interval?clearInterval(this.interval):void 0},u.prototype.sync=function(){if(n.notSupported)return this.doSync(this.element)},u.prototype.doSync=function(n){var t,i,f,u,r;if(null==n&&(n=this.element),1===n.nodeType){for(n=n.parentNode||n,u=n.querySelectorAll("."+this.config.boxClass),r=[],i=0,f=u.length;f>i;i++)t=u[i],e.call(this.all,t)<0?(this.boxes.push(t),this.all.push(t),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(t,!0),r.push(this.scrolled=!0)):r.push(void 0);return r}},u.prototype.show=function(n){return this.applyStyle(n),n.className=n.className+" "+this.config.animateClass,null!=this.config.callback&&this.config.callback(n),this.util().emitEvent(n,this.wowEvent),this.util().addEvent(n,"animationend",this.resetAnimation),this.util().addEvent(n,"oanimationend",this.resetAnimation),this.util().addEvent(n,"webkitAnimationEnd",this.resetAnimation),this.util().addEvent(n,"MSAnimationEnd",this.resetAnimation),n},u.prototype.applyStyle=function(n,t){var i,r,u;return r=n.getAttribute("data-wow-duration"),i=n.getAttribute("data-wow-delay"),u=n.getAttribute("data-wow-iteration"),this.animate(function(f){return function(){return f.customStyle(n,t,r,i,u)}}(this))},u.prototype.animate=function(){return"requestAnimationFrame"in window?function(n){return window.requestAnimationFrame(n)}:function(n){return n()}}(),u.prototype.resetStyle=function(){var r,n,u,t,i;for(t=this.boxes,i=[],n=0,u=t.length;u>n;n++)r=t[n],i.push(r.style.visibility="visible");return i},u.prototype.resetAnimation=function(n){var t;if(n.type.toLowerCase().indexOf("animationend")>=0)return(t=n.target||n.srcElement,t.className=t.className.replace(this.config.animateClass,"").trim())},u.prototype.customStyle=function(n,t,i,r,u){return t&&this.cacheAnimationName(n),n.style.visibility=t?"hidden":"visible",i&&this.vendorSet(n.style,{animationDuration:i}),r&&this.vendorSet(n.style,{animationDelay:r}),u&&this.vendorSet(n.style,{animationIterationCount:u}),this.vendorSet(n.style,{animationName:t?"none":this.cachedAnimationName(n)}),n},u.prototype.vendors=["moz","webkit"],u.prototype.vendorSet=function(n,t){var i,r,u,f;r=[];for(i in t)u=t[i],n[""+i]=u,r.push(function(){var t,o,r,e;for(r=this.vendors,e=[],t=0,o=r.length;o>t;t++)f=r[t],e.push(n[""+f+i.charAt(0).toUpperCase()+i.substr(1)]=u);return e}.call(this));return r},u.prototype.vendorCSS=function(n,t){var i,o,f,u,e,s;for(e=r(n),u=e.getPropertyCSSValue(t),f=this.vendors,i=0,o=f.length;o>i;i++)s=f[i],u=u||e.getPropertyCSSValue("-"+s+"-"+t);return u},u.prototype.animationName=function(n){var t;try{t=this.vendorCSS(n,"animation-name").cssText}catch(i){t=r(n).getPropertyValue("animation-name")}return"none"===t?"":t},u.prototype.cacheAnimationName=function(n){return this.animationNameCache.set(n,this.animationName(n))},u.prototype.cachedAnimationName=function(n){return this.animationNameCache.get(n)},u.prototype.scrollHandler=function(){return this.scrolled=!0},u.prototype.scrollCallback=function(){var n;if(this.scrolled&&!(this.scrolled=!1,this.boxes=function(){var t,u,i,r;for(i=this.boxes,r=[],t=0,u=i.length;u>t;t++)n=i[t],n&&(this.isVisible(n)?this.show(n):r.push(n));return r}.call(this),this.boxes.length||this.config.live))return this.stop()},u.prototype.offsetTop=function(n){for(var t;void 0===n.offsetTop;)n=n.parentNode;for(t=n.offsetTop;n=n.offsetParent;)t+=n.offsetTop;return t},u.prototype.isVisible=function(n){var r,u,t,f,i;return u=n.getAttribute("data-wow-offset")||this.config.offset,i=window.pageYOffset,f=i+Math.min(this.element.clientHeight,this.util().innerHeight())-u,t=this.offsetTop(n),r=t+n.clientHeight,f>=t&&r>=i},u.prototype.util=function(){return null!=this._util?this._util:this._util=new f},u.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},u}()}.call(this);$(function(){var u=$("#map-2-svg"),h=u.find("a"),o=u.width(),a=u.height(),t=$("#map-2-popup"),n,s,c='<div class="popup-title">{title}<\/div><div class="popup-text">{text}<\/div><div class="popup-arrow" style="margin-left: {m}px"><\/div>',f,i,r,e,l={"map-region-1":{title:"Дальневосточный федеральный округ",text:""},"map-region-2":{title:"Сибирский федеральный округ",text:""},"map-region-3":{title:"Уральский федеральный округ",text:""},"map-region-4":{title:"Приволжский федеральный округ",text:""},"map-region-5":{title:"Центральный федеральный округ",text:""},"map-region-6":{title:"Южный федеральный округ",text:""},"map-region-7":{title:"Северо-Кавказский федеральный округ",text:""},"map-region-8":{title:"Южный федеральный округ",text:""},"map-region-9":{title:"Северо-Западный федеральный округ",text:""}};h.bind("mouseover",function(){r=i;i=$(this);r&&r.find("path").css("opacity","");t.hide();clearTimeout(f);f=setTimeout(function(){var r=l[i.get(0).id];e=n;n=n<o-240?n:o-240;e-=n;t.html(c.replace("{title}",r.title).replace("{text}",r.text).replace("{m}",e)).show().css({top:s-t.outerHeight(),left:n});i&&i.find("path").css("opacity",.4)},400)}).add(t).bind("mouseout",function(){r=i;clearTimeout(f);f=setTimeout(function(){r&&r.find("path").css("opacity","");t.hide()},200)}).bind("mousemove",function(t){n=t.pageX-u.offset().left-20;s=t.pageY-u.offset().top-10});t.bind("mouseover",function(){clearTimeout(f)})});window.width=jQuery(window).width();jQuery(window).ready(function(){Init(!1);jQuery("html").hasClass("chrome")&&jQuery("body").hasClass("smoothscroll")&&loadScript(plugin_path+"smoothscroll.js",function(){jQuery.smoothScroll()})});jQuery("#preloader").length>0&&jQuery(window).load(function(){jQuery("#preloader").fadeOut(1e3,function(){jQuery("#preloader").remove()})});var _arr={};/pofweb/.test(self.location.href)||/tstrap/.test(self.location.href),function(n){function t(n,t){return n.toFixed(t.decimals)}n.fn.countTo=function(t){return t=t||{},jQuery(this).each(function(){function c(){r+=l;h++;o(r);"function"==typeof i.onUpdate&&i.onUpdate.call(e,r);h>=s&&(f.removeData("countTo"),clearInterval(u.interval),r=i.to,"function"==typeof i.onComplete&&i.onComplete.call(e,r))}function o(n){var t=i.formatter.call(e,n,i);f.html(t)}var i=jQuery.extend({},n.fn.countTo.defaults,{from:jQuery(this).data("from"),to:jQuery(this).data("to"),speed:jQuery(this).data("speed"),refreshInterval:jQuery(this).data("refresh-interval"),decimals:jQuery(this).data("decimals")},t),s=Math.ceil(i.speed/i.refreshInterval),l=(i.to-i.from)/s,e=this,f=jQuery(this),h=0,r=i.from,u=f.data("countTo")||{};f.data("countTo",u);u.interval&&clearInterval(u.interval);u.interval=setInterval(c,i.refreshInterval);o(r)})};n.fn.countTo.defaults={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:t,onUpdate:null,onComplete:null}}(jQuery),function(n){n.extend({browserDetect:function(){var o=navigator.userAgent,t=o.toLowerCase(),n=function(n){return t.indexOf(n)>-1},i="gecko",r="webkit",f="safari",u="opera",s=document.documentElement,h=[!/opera|webtv/i.test(t)&&/msie\s(\d)/.test(t)?"ie ie"+parseFloat(navigator.appVersion.split("MSIE")[1]):n("firefox/2")?i+" ff2":n("firefox/3.5")?i+" ff3 ff3_5":n("firefox/3")?i+" ff3":n("gecko/")?i:n("opera")?u+(/version\/(\d+)/.test(t)?" "+u+RegExp.jQuery1:/opera(\s|\/)(\d+)/.test(t)?" "+u+RegExp.jQuery2:""):n("konqueror")?"konqueror":n("chrome")?r+" chrome":n("iron")?r+" iron":n("applewebkit/")?r+" "+f+(/version\/(\d+)/.test(t)?" "+f+RegExp.jQuery1:""):n("mozilla/")?i:"",n("j2me")?"mobile":n("iphone")?"iphone":n("ipod")?"ipod":n("mac")?"mac":n("darwin")?"mac":n("webtv")?"webtv":n("win")?"win":n("freebsd")?"freebsd":n("x11")||n("linux")?"linux":"","js"],e;return c=h.join(" "),s.className+=" "+c,e=!window.ActiveXObject&&"ActiveXObject"in window,e?void jQuery("html").removeClass("gecko").addClass("ie ie11"):void 0}})}(jQuery),function(n){n.fn.appear=function(t,i){var r=n.extend({data:void 0,one:!0,accX:0,accY:0},i);return this.each(function(){var i=n(this);if(i.appeared=!1,!t)return void i.trigger("appear",r.data);var u=n(window),f=function(){if(!i.is(":visible"))return void(i.appeared=!1);var n=u.scrollLeft(),t=u.scrollTop(),f=i.offset(),e=f.left,o=f.top,s=r.accX,h=r.accY,c=i.height(),l=u.height(),a=i.width(),v=u.width();o+c+h>=t&&t+l+h>=o&&e+a+s>=n&&n+v+s>=e?i.appeared||i.trigger("appear",r.data):i.appeared=!1},e=function(){if(i.appeared=!0,r.one){u.unbind("scroll",f);var e=n.inArray(f,n.fn.appear.checks);e>=0&&n.fn.appear.checks.splice(e,1)}t.apply(this,arguments)};r.one?i.one("appear",r.data,e):i.bind("appear",r.data,e);u.scroll(f);n.fn.appear.checks.push(f);f()})};n.extend(n.fn.appear,{checks:[],timeout:null,checkAll:function(){var t=n.fn.appear.checks.length;if(t>0)for(;t--;)n.fn.appear.checks[t]()},run:function(){n.fn.appear.timeout&&clearTimeout(n.fn.appear.timeout);n.fn.appear.timeout=setTimeout(n.fn.appear.checkAll,20)}});n.each(["append","prepend","after","before","attr","removeAttr","addClass","removeClass","toggleClass","remove","css","show","hide"],function(t,i){var r=n.fn[i];r&&(n.fn[i]=function(){var t=r.apply(this,arguments);return n.fn.appear.run(),t})})}(jQuery),function(n){var t=n(window),i=t.height();t.resize(function(){i=t.height()});n.fn.parallax=function(r,u,f){function o(){e.each(function(){h=e.offset().top});s=f?function(n){return n.outerHeight(!0)}:function(n){return n.height()};(arguments.length<1||null===r)&&(r="50%");(arguments.length<2||null===u)&&(u=.5);(arguments.length<3||null===f)&&(f=!0);var o=t.scrollTop();e.each(function(){var t=n(this),f=t.offset().top,c=s(t);o>f+c||f>o+i||e.css("backgroundPosition",r+" "+Math.round((h-o)*u)+"px")})}var s,h,e=n(this);t.bind("scroll",o).resize(o);o()}}(jQuery);jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(n,t,i,r,u){return jQuery.easing[jQuery.easing.def](n,t,i,r,u)},easeInQuad:function(n,t,i,r,u){return r*(t/=u)*t+i},easeOutQuad:function(n,t,i,r,u){return-r*(t/=u)*(t-2)+i},easeInOutQuad:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t+i:-r/2*(--t*(t-2)-1)+i},easeInCubic:function(n,t,i,r,u){return r*(t/=u)*t*t+i},easeOutCubic:function(n,t,i,r,u){return r*((t=t/u-1)*t*t+1)+i},easeInOutCubic:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t+i:r/2*((t-=2)*t*t+2)+i},easeInQuart:function(n,t,i,r,u){return r*(t/=u)*t*t*t+i},easeOutQuart:function(n,t,i,r,u){return-r*((t=t/u-1)*t*t*t-1)+i},easeInOutQuart:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t+i:-r/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(n,t,i,r,u){return r*(t/=u)*t*t*t*t+i},easeOutQuint:function(n,t,i,r,u){return r*((t=t/u-1)*t*t*t*t+1)+i},easeInOutQuint:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t*t+i:r/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(n,t,i,r,u){return-r*Math.cos(t/u*(Math.PI/2))+r+i},easeOutSine:function(n,t,i,r,u){return r*Math.sin(t/u*(Math.PI/2))+i},easeInOutSine:function(n,t,i,r,u){return-r/2*(Math.cos(Math.PI*t/u)-1)+i},easeInExpo:function(n,t,i,r,u){return 0==t?i:r*Math.pow(2,10*(t/u-1))+i},easeOutExpo:function(n,t,i,r,u){return t==u?i+r:r*(-Math.pow(2,-10*t/u)+1)+i},easeInOutExpo:function(n,t,i,r,u){return 0==t?i:t==u?i+r:(t/=u/2)<1?r/2*Math.pow(2,10*(t-1))+i:r/2*(-Math.pow(2,-10*--t)+2)+i},easeInCirc:function(n,t,i,r,u){return-r*(Math.sqrt(1-(t/=u)*t)-1)+i},easeOutCirc:function(n,t,i,r,u){return r*Math.sqrt(1-(t=t/u-1)*t)+i},easeInOutCirc:function(n,t,i,r,u){return(t/=u/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+i:r/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(n,t,i,r,u){var f=1.70158,e=0,o=r;return 0==t?i:1==(t/=u)?i+r:((e||(e=.3*u),o<Math.abs(r))?(o=r,f=e/4):f=e/(2*Math.PI)*Math.asin(r/o),-(o*Math.pow(2,10*(t-=1))*Math.sin((t*u-f)*2*Math.PI/e))+i)},easeOutElastic:function(n,t,i,r,u){var f=1.70158,e=0,o=r;return 0==t?i:1==(t/=u)?i+r:((e||(e=.3*u),o<Math.abs(r))?(o=r,f=e/4):f=e/(2*Math.PI)*Math.asin(r/o),o*Math.pow(2,-10*t)*Math.sin((t*u-f)*2*Math.PI/e)+r+i)},easeInOutElastic:function(n,t,i,r,u){var f=1.70158,e=0,o=r;return 0==t?i:2==(t/=u/2)?i+r:((e||(e=u*.3*1.5),o<Math.abs(r))?(o=r,f=e/4):f=e/(2*Math.PI)*Math.asin(r/o),1>t?-.5*o*Math.pow(2,10*(t-=1))*Math.sin((t*u-f)*2*Math.PI/e)+i:o*Math.pow(2,-10*(t-=1))*Math.sin((t*u-f)*2*Math.PI/e)*.5+r+i)},easeInBack:function(n,t,i,r,u,f){return void 0==f&&(f=1.70158),r*(t/=u)*t*((f+1)*t-f)+i},easeOutBack:function(n,t,i,r,u,f){return void 0==f&&(f=1.70158),r*((t=t/u-1)*t*((f+1)*t+f)+1)+i},easeInOutBack:function(n,t,i,r,u,f){return void 0==f&&(f=1.70158),(t/=u/2)<1?r/2*t*t*(((f*=1.525)+1)*t-f)+i:r/2*((t-=2)*t*(((f*=1.525)+1)*t+f)+2)+i},easeInBounce:function(n,t,i,r,u){return r-jQuery.easing.easeOutBounce(n,u-t,0,r,u)+i},easeOutBounce:function(n,t,i,r,u){return(t/=u)<1/2.75?r*7.5625*t*t+i:2/2.75>t?r*(7.5625*(t-=1.5/2.75)*t+.75)+i:2.5/2.75>t?r*(7.5625*(t-=2.25/2.75)*t+.9375)+i:r*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(n,t,i,r,u){return u/2>t?.5*jQuery.easing.easeInBounce(n,2*t,0,r,u)+i:.5*jQuery.easing.easeOutBounce(n,2*t-u,0,r,u)+.5*r+i}}),function(){var n,f,t,i,r,u=function(n,t){return function(){return n.apply(t,arguments)}},e=[].indexOf||function(n){for(var t=0,i=this.length;i>t;t++)if(t in this&&this[t]===n)return t;return-1};f=function(){function n(){}return n.prototype.extend=function(n,t){var i,r;for(i in t)r=t[i],null==n[i]&&(n[i]=r);return n},n.prototype.isMobile=function(n){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(n)},n.prototype.addEvent=function(n,t,i){return null!=n.addEventListener?n.addEventListener(t,i,!1):null!=n.attachEvent?n.attachEvent("on"+t,i):n[t]=i},n.prototype.removeEvent=function(n,t,i){return null!=n.removeEventListener?n.removeEventListener(t,i,!1):null!=n.detachEvent?n.detachEvent("on"+t,i):delete n[t]},n.prototype.innerHeight=function(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight},n}();t=this.WeakMap||this.MozWeakMap||(t=function(){function n(){this.keys=[];this.values=[]}return n.prototype.get=function(n){var t,u,i,f,r;for(r=this.keys,t=i=0,f=r.length;f>i;t=++i)if(u=r[t],u===n)return this.values[t]},n.prototype.set=function(n,t){var i,f,r,e,u;for(u=this.keys,i=r=0,e=u.length;e>r;i=++r)if(f=u[i],f===n)return void(this.values[i]=t);return this.keys.push(n),this.values.push(t)},n}());n=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(n=function(){function n(){"undefined"!=typeof console&&null!==console&&console.warn("MutationObserver is not supported by your browser.");"undefined"!=typeof console&&null!==console&&console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return n.notSupported=!0,n.prototype.observe=function(){},n}());i=this.getComputedStyle||function(n){return this.getPropertyValue=function(t){var i;return"float"===t&&(t="styleFloat"),r.test(t)&&t.replace(r,function(n,t){return t.toUpperCase()}),(null!=(i=n.currentStyle)?i[t]:void 0)||null},this};r=/(\-([a-z]){1})/g;this.WOW=function(){function r(n){null==n&&(n={});this.scrollCallback=u(this.scrollCallback,this);this.scrollHandler=u(this.scrollHandler,this);this.start=u(this.start,this);this.scrolled=!0;this.config=this.util().extend(n,this.defaults);this.animationNameCache=new t}return r.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null},r.prototype.init=function(){var n;return this.element=window.document.documentElement,"interactive"===(n=document.readyState)||"complete"===n?this.start():this.util().addEvent(document,"DOMContentLoaded",this.start),this.finished=[]},r.prototype.start=function(){var t,i,u,r;if(this.stopped=!1,this.boxes=function(){var n,u,i,r;for(i=this.element.querySelectorAll("."+this.config.boxClass),r=[],n=0,u=i.length;u>n;n++)t=i[n],r.push(t);return r}.call(this),this.all=function(){var n,u,i,r;for(i=this.boxes,r=[],n=0,u=i.length;u>n;n++)t=i[n],r.push(t);return r}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(r=this.boxes,i=0,u=r.length;u>i;i++)t=r[i],this.applyStyle(t,!0);return this.disabled()||(this.util().addEvent(window,"scroll",this.scrollHandler),this.util().addEvent(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live?new n(function(n){return function(t){var u,f,i,e,r;for(r=[],i=0,e=t.length;e>i;i++)f=t[i],r.push(function(){var n,r,t,i;for(t=f.addedNodes||[],i=[],n=0,r=t.length;r>n;n++)u=t[n],i.push(this.doSync(u));return i}.call(n));return r}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},r.prototype.stop=function(){return this.stopped=!0,this.util().removeEvent(window,"scroll",this.scrollHandler),this.util().removeEvent(window,"resize",this.scrollHandler),null!=this.interval?clearInterval(this.interval):void 0},r.prototype.sync=function(){if(n.notSupported)return this.doSync(this.element)},r.prototype.doSync=function(n){var t,i,f,u,r;if(null==n&&(n=this.element),1===n.nodeType){for(n=n.parentNode||n,u=n.querySelectorAll("."+this.config.boxClass),r=[],i=0,f=u.length;f>i;i++)t=u[i],e.call(this.all,t)<0?(this.boxes.push(t),this.all.push(t),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(t,!0),r.push(this.scrolled=!0)):r.push(void 0);return r}},r.prototype.show=function(n){return this.applyStyle(n),n.className=""+n.className+" "+this.config.animateClass,null!=this.config.callback?this.config.callback(n):void 0},r.prototype.applyStyle=function(n,t){var i,r,u;return r=n.getAttribute("data-wow-duration"),i=n.getAttribute("data-wow-delay"),u=n.getAttribute("data-wow-iteration"),this.animate(function(f){return function(){return f.customStyle(n,t,r,i,u)}}(this))},r.prototype.animate=function(){return"requestAnimationFrame"in window?function(n){return window.requestAnimationFrame(n)}:function(n){return n()}}(),r.prototype.resetStyle=function(){var r,n,u,t,i;for(t=this.boxes,i=[],n=0,u=t.length;u>n;n++)r=t[n],i.push(r.style.visibility="visible");return i},r.prototype.customStyle=function(n,t,i,r,u){return t&&this.cacheAnimationName(n),n.style.visibility=t?"hidden":"visible",i&&this.vendorSet(n.style,{animationDuration:i}),r&&this.vendorSet(n.style,{animationDelay:r}),u&&this.vendorSet(n.style,{animationIterationCount:u}),this.vendorSet(n.style,{animationName:t?"none":this.cachedAnimationName(n)}),n},r.prototype.vendors=["moz","webkit"],r.prototype.vendorSet=function(n,t){var i,r,u,f=[];for(i in t)r=t[i],n[""+i]=r,f.push(function(){var t,o,f,e;for(f=this.vendors,e=[],t=0,o=f.length;o>t;t++)u=f[t],e.push(n[""+u+i.charAt(0).toUpperCase()+i.substr(1)]=r);return e}.call(this));return f},r.prototype.vendorCSS=function(n,t){var r,f,o,u,s,e;for(f=i(n),r=f.getPropertyCSSValue(t),e=this.vendors,u=0,s=e.length;s>u;u++)o=e[u],r=r||f.getPropertyCSSValue("-"+o+"-"+t);return r},r.prototype.animationName=function(n){var t;try{t=this.vendorCSS(n,"animation-name").cssText}catch(r){t=i(n).getPropertyValue("animation-name")}return"none"===t?"":t},r.prototype.cacheAnimationName=function(n){return this.animationNameCache.set(n,this.animationName(n))},r.prototype.cachedAnimationName=function(n){return this.animationNameCache.get(n)},r.prototype.scrollHandler=function(){return this.scrolled=!0},r.prototype.scrollCallback=function(){var n;if(this.scrolled&&!(this.scrolled=!1,this.boxes=function(){var t,u,i,r;for(i=this.boxes,r=[],t=0,u=i.length;u>t;t++)n=i[t],n&&(this.isVisible(n)?this.show(n):r.push(n));return r}.call(this),this.boxes.length||this.config.live))return this.stop()},r.prototype.offsetTop=function(n){for(var t;void 0===n.offsetTop;)n=n.parentNode;for(t=n.offsetTop;n=n.offsetParent;)t+=n.offsetTop;return t},r.prototype.isVisible=function(n){var r,u,t,f,i;return u=n.getAttribute("data-wow-offset")||this.config.offset,i=window.pageYOffset,f=i+Math.min(this.element.clientHeight,this.util().innerHeight())-u,t=this.offsetTop(n),r=t+n.clientHeight,f>=t&&r>=i},r.prototype.util=function(){return null!=this._util?this._util:this._util=new f},r.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},r}()}.call(this);window.Modernizr=function(n,t,i){function rt(n){d.cssText=n}function u(n,t){return typeof n===t}function ut(n,t){return!!~(""+n).indexOf(t)}function b(n,t){var u,r;for(u in n)if(r=n[u],!ut(r,"-")&&d[r]!==i)return"pfx"==t?r:!0;return!1}function ft(n,t,r){var e,f;for(e in n)if(f=t[n[e]],f!==i)return r===!1?n[e]:u(f,"function")?f.bind(r||t):f;return!1}function o(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),f=(n+" "+tt.join(r+" ")+r).split(" ");return u(t,"string")||u(t,"undefined")?b(f,t):(f=(n+" "+it.join(r+" ")+r).split(" "),ft(f,t,i))}var et,h,l,r={},a=!0,f=t.documentElement,s="modernizr",k=t.createElement(s),d=k.style,g=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),nt="Webkit Moz O ms",tt=nt.split(" "),it=nt.toLowerCase().split(" "),e={},v=[],y=v.slice,p=function(n,i,r,u){var l,a,c,v,e=t.createElement("div"),h=t.body,o=h||t.createElement("body");if(parseInt(r,10))for(;r--;)c=t.createElement("div"),c.id=u?u[r]:s+(r+1),e.appendChild(c);return l=["&#173;",'<style id="s',s,'">',n,"<\/style>"].join(""),e.id=s,(h?e:o).innerHTML+=l,o.appendChild(e),h||(o.style.background="",o.style.overflow="hidden",v=f.style.overflow,f.style.overflow="hidden",f.appendChild(o)),a=i(e,n),h?e.parentNode.removeChild(e):(o.parentNode.removeChild(o),f.style.overflow=v),!!a},ot=function(){function n(n,f){f=f||t.createElement(r[n]||"div");n="on"+n;var e=n in f;return e||(f.setAttribute||(f=t.createElement("div")),f.setAttribute&&f.removeAttribute&&(f.setAttribute(n,""),e=u(f[n],"function"),u(f[n],"undefined")||(f[n]=i),f.removeAttribute(n))),f=null,e}var r={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return n}(),w={}.hasOwnProperty,c;l=u(w,"undefined")||u(w.call,"undefined")?function(n,t){return t in n&&u(n.constructor.prototype[t],"undefined")}:function(n,t){return w.call(n,t)};Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if("function"!=typeof t)throw new TypeError;return i=y.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(y.call(arguments))),Object(u)===u?u:e):t.apply(n,i.concat(y.call(arguments)))},r});e.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:p(["@media (",g.join("touch-enabled),("),s,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=9===n.offsetTop}),i};e.csstransforms3d=function(){var n=!!o("perspective");return n&&"webkitPerspective"in f.style&&p("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=9===t.offsetLeft&&3===t.offsetHeight}),n};e.csstransitions=function(){return o("transition")};e.video=function(){var i=t.createElement("video"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=i.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=i.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n};for(c in e)l(e,c)&&(h=c.toLowerCase(),r[h]=e[c](),v.push((r[h]?"":"no-")+h));return r.addTest=function(n,t){if("object"==typeof n)for(var u in n)l(n,u)&&r.addTest(u,n[u]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t="function"==typeof t?t():t;"undefined"!=typeof a&&a&&(f.className+=" "+(t?"":"no-")+n);r[n]=t}return r},rt(""),k=et=null,function(n,t){function v(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function s(){var n=r.elements;return"string"==typeof n?n.split(" "):n}function u(n){var t=a[n[l]];return t||(t={},o++,n[l]=o,a[o]=t),t}function h(n,r,f){if(r||(r=t),i)return r.createElement(n);f||(f=u(r));var e;return e=f.cache[n]?f.cache[n].cloneNode():b.test(n)?(f.cache[n]=f.createElem(n)).cloneNode():f.createElem(n),!e.canHaveChildren||w.test(n)||e.tagUrn?e:f.frag.appendChild(e)}function y(n,r){if(n||(n=t),i)return n.createDocumentFragment();r=r||u(n);for(var e=r.frag.cloneNode(),f=0,o=s(),h=o.length;h>f;f++)e.createElement(o[f]);return e}function p(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(i){return r.shivMethods?h(i,n,t):t.createElem(i)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/[\w\-]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(r,t.frag)}function c(n){n||(n=t);var e=u(n);return r.shivCSS&&!f&&!e.hasCSS&&(e.hasCSS=!!v(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),i||p(n,e),n}var f,i,e=n.html5||{},w=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,b=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,l="_html5shiv",o=0,a={},r;!function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";f="hidden"in n;i=1==n.childNodes.length||function(){t.createElement("a");var n=t.createDocumentFragment();return"undefined"==typeof n.cloneNode||"undefined"==typeof n.createDocumentFragment||"undefined"==typeof n.createElement}()}catch(r){f=!0;i=!0}}();r={elements:e.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:e.shivCSS!==!1,supportsUnknownElements:i,shivMethods:e.shivMethods!==!1,type:"default",shivDocument:c,createElement:h,createDocumentFragment:y};n.html5=r;c(t)}(this,t),r._version="2.7.1",r._prefixes=g,r._domPrefixes=it,r._cssomPrefixes=tt,r.hasEvent=ot,r.testProp=function(n){return b([n])},r.testAllProps=o,r.testStyles=p,r.prefixed=function(n,t,i){return t?o(n,t,i):o(n,"pfx")},f.className=f.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(a?" js "+v.join(" "):""),r}(this,this.document),function(n,t,i){function h(n){return"[object Function]"==y.call(n)}function c(n){return"string"==typeof n}function l(){}function w(n){return!n||"loaded"==n||"complete"==n||"uninitialized"==n}function e(){var n=a.shift();v=1;n?n.t?s(function(){("c"==n.t?r.injectCss:r.injectJs)(n.s,0,n.a,n.x,n.e,1)},0):(n(),e()):v=0}function ut(n,i,f,h,c,l,y){function k(t){if(!d&&w(p.readyState)&&(tt.r=d=1,!v&&e(),p.onload=p.onreadystatechange=null,t)){"img"!=n&&s(function(){nt.removeChild(p)},50);for(var r in u[i])u[i].hasOwnProperty(r)&&u[i][r].onload()}}var y=y||r.errorTimeout,p=t.createElement(n),d=0,b=0,tt={t:f,s:i,e:c,a:l,x:y};1===u[i]&&(b=1,u[i]=[]);"object"==n?p.data=i:(p.src=i,p.type=n);p.width=p.height="0";p.onerror=p.onload=p.onreadystatechange=function(){k.call(this,b)};a.splice(h,0,tt);"img"!=n&&(b||2===u[i]?(nt.insertBefore(p,g?null:o),s(k,y)):u[i].push(p))}function ft(n,t,i,r,u){return v=0,t=t||"j",c(n)?ut("c"==t?et:tt,n,t,this.i++,i,r,u):(a.splice(this.i++,0,n),1==a.length&&e()),this}function b(){var n=r;return n.loader={load:ft,i:0},n}var k,r,f=t.documentElement,s=n.setTimeout,o=t.getElementsByTagName("script")[0],y={}.toString,a=[],v=0,d="MozAppearance"in f.style,g=d&&!!t.createRange().compareNode,nt=g?f:o.parentNode,f=n.opera&&"[object Opera]"==y.call(n.opera),f=!!t.attachEvent&&!f,tt=d?"object":f?"script":"img",et=f?"script":tt,it=Array.isArray||function(n){return"[object Array]"==y.call(n)},p=[],u={},rt={timeout:function(n,t){return t.length&&(n.timeout=t[0]),n}};r=function(n){function a(n){for(var u,r,n=n.split("!"),f=p.length,i=n.pop(),e=n.length,i={url:i,origUrl:i,prefixes:n},t=0;e>t;t++)r=n[t].split("="),(u=rt[r.shift()])&&(i=u(i,r));for(t=0;f>t;t++)i=p[t](i);return i}function f(n,t,r,f,e){var o=a(n),s=o.autoCallback;o.url.split(".").pop().split("?").shift();o.bypass||(t&&(t=h(t)?t:t[n]||t[f]||t[n.split("/").pop().split("?")[0]]),o.instead?o.instead(n,t,r,f,e):(u[o.url]?o.noexec=!0:u[o.url]=1,r.load(o.url,o.forceCSS||!o.forceJS&&"css"==o.url.split(".").pop().split("?").shift()?"c":i,o.noexec,o.attrs,o.timeout),(h(t)||h(s))&&r.load(function(){b();t&&t(o.origUrl,e,f);s&&s(o.origUrl,e,f);u[o.url]=2})))}function s(n,t){function a(n,o){if(n){if(c(n))o||(i=function(){var n=[].slice.call(arguments);s.apply(this,n);u()}),f(n,i,t,0,e);else if(Object(n)===n)for(r in v=function(){var t,i=0;for(t in n)n.hasOwnProperty(t)&&i++;return i}(),n)n.hasOwnProperty(r)&&(!o&&!--v&&(h(i)?i=function(){var n=[].slice.call(arguments);s.apply(this,n);u()}:i[r]=function(n){return function(){var t=[].slice.call(arguments);n&&n.apply(this,t);u()}}(s[r])),f(n[r],i,t,r,e))}else o||u()}var v,r,e=!!n.test,o=n.load||n.both,i=n.callback||l,s=i,u=n.complete||l;a(e?n.yep:n.nope,!!o);o&&a(o)}var e,t,o=this.yepnope.loader;if(c(n))f(n,0,o,0);else if(it(n))for(e=0;e<n.length;e++)t=n[e],c(t)?f(t,0,o,0):it(t)?r(t):Object(t)===t&&s(t,o);else Object(n)===n&&s(n,o)};r.addPrefix=function(n,t){rt[n]=t};r.addFilter=function(n){p.push(n)};r.errorTimeout=1e4;null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",k=function(){t.removeEventListener("DOMContentLoaded",k,0);t.readyState="complete"},0));n.yepnope=b();n.yepnope.executeStack=e;n.yepnope.injectJs=function(n,i,u,f,h,c){var v,y,a=t.createElement("script"),f=f||r.errorTimeout;a.src=n;for(y in u)a.setAttribute(y,u[y]);i=c?e:i||l;a.onreadystatechange=a.onload=function(){!v&&w(a.readyState)&&(v=1,i(),a.onload=a.onreadystatechange=null)};s(function(){v||(v=1,i(1))},f);h?a.onload():o.parentNode.insertBefore(a,o)};n.yepnope.injectCss=function(n,i,r,u,f,h){var c,u=t.createElement("link"),i=h?e:i||l;u.href=n;u.rel="stylesheet";u.type="text/css";for(c in r)u.setAttribute(c,r[c]);f||(o.parentNode.insertBefore(u,o),s(i,0))}}(this,document);Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))}