Your browser either does not support JavaScript or you have turned JavaScript off.

Contact Us

Zyxel Communications UK Ltd.

Address:
2 Old Row Court, Rose Street
Wokingham RG40 1XZ
United Kingdom
Google Maps Link
Phone: +44 (0) 118 912 1700
Fax: +44 (0) 118 979 7277
VAT number: 837 9224 00
Zyxel Communications UK Ltd is registered in England and Wales under company number 5061338
If you want to send us a message, please complete the short from below which will allow you to route your request to the correct team inside Zyxel.
  • STEP 1
  • STEP 2
ABOUT YOU
WHAT CAN WE HELP YOU WITH
'):this.container.html(''+this.default_text+'
'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},c.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},c.prototype.register_observers=function(){var a=this;return this.container.bind("touchstart.chosen",function(b){return a.container_mousedown(b),b.preventDefault()}),this.container.bind("touchend.chosen",function(b){return a.container_mouseup(b),b.preventDefault()}),this.container.bind("mousedown.chosen",function(b){a.container_mousedown(b)}),this.container.bind("mouseup.chosen",function(b){a.container_mouseup(b)}),this.container.bind("mouseenter.chosen",function(b){a.mouse_enter(b)}),this.container.bind("mouseleave.chosen",function(b){a.mouse_leave(b)}),this.search_results.bind("mouseup.chosen",function(b){a.search_results_mouseup(b)}),this.search_results.bind("mouseover.chosen",function(b){a.search_results_mouseover(b)}),this.search_results.bind("mouseout.chosen",function(b){a.search_results_mouseout(b)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(b){a.search_results_mousewheel(b)}),this.search_results.bind("touchstart.chosen",function(b){a.search_results_touchstart(b)}),this.search_results.bind("touchmove.chosen",function(b){a.search_results_touchmove(b)}),this.search_results.bind("touchend.chosen",function(b){a.search_results_touchend(b)}),this.form_field_jq.bind("chosen:updated.chosen",function(b){a.results_update_field(b)}),this.form_field_jq.bind("chosen:activate.chosen",function(b){a.activate_field(b)}),this.form_field_jq.bind("chosen:open.chosen",function(b){a.container_mousedown(b)}),this.form_field_jq.bind("chosen:close.chosen",function(b){a.input_blur(b)}),this.search_field.bind("blur.chosen",function(b){a.input_blur(b)}),this.search_field.bind("keyup.chosen",function(b){a.keyup_checker(b)}),this.search_field.bind("keydown.chosen",function(b){a.keydown_checker(b)}),this.search_field.bind("focus.chosen",function(b){a.input_focus(b)}),this.search_field.bind("cut.chosen",function(b){a.clipboard_event_checker(b)}),this.search_field.bind("paste.chosen",function(b){a.clipboard_event_checker(b)}),this.is_multiple?this.search_choices.bind("click.chosen",function(b){a.choices_click(b)}):this.container.bind("click.chosen",function(a){a.preventDefault()})},c.prototype.destroy=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},c.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},c.prototype.container_mousedown=function(b){return this.is_disabled||(b&&"mousedown"===b.type&&!this.results_showing&&b.preventDefault(),null!=b&&a(b.target).hasClass("search-choice-close"))?void 0:(this.active_field?this.is_multiple||!b||a(b.target)[0]!==this.selected_item[0]&&!a(b.target).parents("a.chosen-single").length||(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(this.container[0].ownerDocument).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},c.prototype.container_mouseup=function(a){return"ABBR"!==a.target.nodeName||this.is_disabled?void 0:this.results_reset(a)},c.prototype.search_results_mousewheel=function(a){var b;return a.originalEvent&&(b=a.originalEvent.deltaY||-a.originalEvent.wheelDelta||a.originalEvent.detail),null!=b?(a.preventDefault(),"DOMMouseScroll"===a.type&&(b*=40),this.search_results.scrollTop(b+this.search_results.scrollTop())):void 0},c.prototype.blur_test=function(a){return!this.active_field&&this.container.hasClass("chosen-container-active")?this.close_field():void 0},c.prototype.close_field=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},c.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},c.prototype.test_active_click=function(b){var c;return c=a(b.target).closest(".chosen-container"),c.length&&this.container[0]===c[0]?this.active_field=!0:this.close_field()},c.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=d.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length=e)return this.search_results.scrollTop(b-d>0?b-d:0);if(f>c)return this.search_results.scrollTop(c)}},c.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},c.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options0?this.form_field_label.bind("click.chosen",function(a){return b.is_multiple?b.container_mousedown(a):b.activate_field()}):void 0},c.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()",{class:"search-choice"}).html(""+this.choice_label(b)+""),b.disabled?c.addClass("search-choice-disabled"):(d=a("",{class:"search-choice-close","data-option-array-index":b.array_index}),d.bind("click.chosen",function(a){return e.choice_destroy_link_click(a)}),c.append(d)),this.search_container.before(c)},c.prototype.choice_destroy_link_click=function(b){return b.preventDefault(),b.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(a(b.target))},c.prototype.choice_destroy=function(a){return this.result_deselect(a[0].getAttribute("data-option-array-index"))?(this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length'),this.selected_item.addClass("chosen-single-with-deselect")):void 0},c.prototype.get_search_text=function(){return a("
").text(a.trim(this.search_field.val())).html()},c.prototype.winnow_results_set_highlight=function(){var a,b;return b=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),a=b.length?b.first():this.search_results.find(".active-result").first(),null!=a?this.result_do_highlight(a):void 0},c.prototype.no_results=function(b){var c;return c=a('
  • '+this.results_none_found+' ""
  • '),c.find("span").first().html(b),this.search_results.append(c),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},c.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},c.prototype.keydown_arrow=function(){var a;return this.results_showing&&this.result_highlight?(a=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(a):void 0:this.results_show()},c.prototype.keyup_arrow=function(){var a;return this.results_showing||this.is_multiple?this.result_highlight?(a=this.result_highlight.prevAll("li.active-result"),a.length?this.result_do_highlight(a.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},c.prototype.keydown_backstroke=function(){var a;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(a=this.search_container.siblings("li.search-choice").last(),a.length&&!a.hasClass("search-choice-disabled")?(this.pending_backstroke=a,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},c.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},c.prototype.keydown_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),8!==b&&this.pending_backstroke&&this.clear_backstroke(),b){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(a),this.mouse_on_container=!1;break;case 13:this.results_showing&&a.preventDefault();break;case 32:this.disable_search&&a.preventDefault();break;case 38:a.preventDefault(),this.keyup_arrow();break;case 40:a.preventDefault(),this.keydown_arrow()}},c.prototype.search_field_scale=function(){var b,c,e,f,g,h,i,j;if(this.is_multiple){for(0,h=0,f="position:absolute; left: -1000px; top: -1000px; display:none;",g=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],i=0,j=g.length;j>i;i++)e=g[i],f+=e+":"+this.search_field.css(e)+";";return b=a("
    ",{style:f}),b.text(this.search_field.val()),a("body").append(b),h=b.width()+25,b.remove(),c=this.container.outerWidth(),h>c-10&&(h=c-10),this.search_field.css({width:h+"px"})}},c}(b)}).call(this),function(a,b,c,d){"use strict";a.fn.chained=function(c,d){return this.each(function(){function d(){var d=!0,g=a("option:selected",e).val();a(e).html(f.html());var h="";a(c).each(function(){var c=a("option:selected",this).val();c&&(h.length>0&&(h+=b.Zepto?"\\\\":"\\"),h+=c)});var i;i=a.isArray(c)?a(c[0]).first():a(c).first();var j=a("option:selected",i).val();a("option",e).each(function(){a(this).hasClass(h)&&a(this).val()===g?(a(this).prop("selected",!0),d=!1):a(this).hasClass(h)||a(this).hasClass(j)||""===a(this).val()||a(this).remove()}),1===a("option",e).size()&&""===a(e).val()?a(e).prop("disabled",!0):a(e).prop("disabled",!1),d&&a(e).trigger("change")}var e=this,f=a(e).clone();a(c).each(function(){a(this).bind("change",function(){d()}),a("option:selected",this).length||a("option",this).first().attr("selected","selected"),d()})})},a.fn.chainedTo=a.fn.chained,a.fn.chained.defaults={}}(window.jQuery||window.Zepto,window,document);var App={checkTouchScreen:function(){"use strict";return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?($("body").addClass("touch-screen"),!0):($("body").removeClass("touch-screen"),!1)},checkiOS:function(){"use strict";return/iPhone|iPad|iPod/i.test(navigator.userAgent)?($("body").addClass("touch-ios"),!0):($("body").removeClass("touch-ios"),!1)},checkiPhone:function(){"use strict";return/iPhone|iPod/i.test(navigator.userAgent)?($("body").addClass("touch-iphone"),!0):($("body").removeClass("touch-iphone"),!1)},checkAndroid:function(){"use strict";return/Android/i.test(navigator.userAgent)?($("body").addClass("touch-android"),!0):($("body").removeClass("touch-android"),!1)},handleFastClick:function(){"use strict";window.addEventListener("load",function(){FastClick.attach(document.body)},!1)},handleHeaderTransform:function(){"use strict";$(window).scroll(function(){$(document).scrollTop()>80?$("#header").removeClass("full-height").addClass("compact-height"):$("#header").removeClass("compact-height").addClass("full-height")})},handleGoTop:function(){"use strict";$(window).scroll(function(){$(this).scrollTop()>10?$(".go-top").fadeIn(200):$(".go-top").fadeOut(200)}),$(".go-top").click(function(a){a.preventDefault(),$("html, body").animate({scrollTop:0},300)})},handleRefreshDropdwon:function(){"use strict";$(window).resize(function(){$(".megamenu").height("auto")})},handleSearchToggle:function(){"use strict";var a=$(".nav-search");$(".menu-search").click(function(){return a.show(),!1}),$(document).click(function(){a.hide()}),$(".input-search").click(function(a){a.stopPropagation(),a.preventDefault()})},handleDropdownSearchFocus:function(){"use strict";$(".menu-search").click(function(){$("#searchform [name='input-search']").focus()}),$(".btn-mobile-nav").click(function(){$("#mobile-searchform [name='mobile-input-search']").focus()})},handleMobileNavTrigger:function(){"use strict";$(".btn-mobile-nav").pageslide({direction:"left",speed:100})},handleScrollDropdown:function(){"use strict";$(window).scroll(function(a){a.stopPropagation();var b=$(".header.new-ci-header .navbar-default .navbar-nav li");b===a.target||b.has(a.target).length||($(".header.new-ci-header .navbar-default .navbar-nav li").removeClass("open"),$(".header.new-ci-header .navbar-default .navbar-nav li a").blur(),$(document).on("hidden.bs.dropdown",function(a){var b=$(a.target);b.find(".dropdown-menu").attr("aria-expanded",!1),b.find(".dropdown-toggle").focus()}))}),/Android|webOS|iPhone|iPod|iPad|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||$(window).scroll(function(a){a.stopPropagation();var b=$(".section-navigation .navbar-default .navbar-nav li");b===a.target||b.has(a.target).length||($(".section-navigation .navbar-default .navbar-nav li").removeClass("open"),$(".section-navigation .navbar-default .navbar-nav li a").blur(),$(document).on("hidden.bs.dropdown",function(a){var b=$(a.target);b.find(".dropdown-menu").attr("aria-expanded",!1),b.find(".dropdown-toggle").focus()}))})},handleAccordionMenu:function(){"use strict";$("#mobile-nav-menu").metisMenu()},handleDropdownClose:function(){"use strict";$(".dropdown-menu.single-menu").on("click.bs.dropdown",function(a){a.stopPropagation()}),$(".dropdown-menu .container .megamenu-container").on("click.bs.dropdown",function(a){a.stopPropagation()}),$(".dropdown-menu .container .megamenu-links").on("click.bs.dropdown",function(a){a.stopPropagation()}),$(".dropdown-menu a.dropdown-close").click(function(){$(this).closest(".dropdown-menu").prev().dropdown("toggle")})},handleClickPlayVideo:function(){"use strict";$("#watch-video").on("click",function(){$("#intro-video").fadeIn(),$(".intro-container").fadeOut(),$("#intro-video").get(0).play()}),$("#intro-video").bind("ended",function(){$("#intro-video").fadeOut(),$(".intro-container").fadeIn()}),$("#play-trailer").on("click",function(){$("#intro-trailer").get(0).play()})},handleFooterNavMore:function(){"use strict";$(".footer-nav-hidden").hide(),$(".footer-nav-more").on("click",function(){$(this).parents(".footer-nav").prevAll(".footer-nav-hidden").slideToggle(),$(this).toggleClass("expanded")})},handleSlidePanel:function(){"use strict";$(".deck-wrapper .panel-right").hover(function(){$(".slide-panel-container").addClass("offset"),$(".panel-left .bg-image .panel-caption").addClass("visible"),$(".panel-right .bg-image .panel-caption").removeClass("visible")}),$(".deck-wrapper .panel-left").hover(function(){$(".slide-panel-container").removeClass("offset"),$(".panel-left .bg-image .panel-caption").removeClass("visible"),$(".panel-right .bg-image .panel-caption").addClass("visible")})},handleSectionTabs:function(){"use strict";$(".deck-wrapper .nav-tabs.section-tabs-default li a").on("click",function(){$(".deck-wrapper .nav-tabs.section-tabs-default").removeClass("idle"),$(".deck-wrapper .section-tab-content-default").addClass("idle"),$("html,body").animate({scrollTop:$(this).offset().top-52},800)})},handleBackScroll:function(){"use strict";$(".deck-wrapper a.btn-section-back").smoothScroll({offset:-60}),$(".deck-wrapper a.board-jumper").smoothScroll({offset:-60})},handleElasticPanel:function(){"use strict";$(".deck-wrapper .story-board-left").hover(function(){$(this).animate({width:"53%"},100),$(this).parent().children().not(this).animate({width:"47%"},100)},function(){$(this).parent().children().each(function(){$(this).animate({width:$(this).data("standardWidth")},100)})}),$(".deck-wrapper .story-board-right").hover(function(){$(this).animate({width:"53%"},100),$(this).parent().children().not(this).animate({width:"47%"},100)},function(){$(this).parent().children().each(function(){$(this).animate({width:$(this).data("standardWidth")},100)})}),$(".deck-wrapper #trigger-home-board").on("click",function(){$(".deck-wrapper #home-board").fadeIn()}),$(".deck-wrapper #trigger-business-board").on("click",function(){$(".deck-wrapper #business-board").fadeIn()}),$(".deck-wrapper #trigger-service-provider-board").on("click",function(){$(".deck-wrapper #service-provider-board").fadeIn()}),$(".deck-wrapper #jumper-home-board").on("click",function(){$(".deck-wrapper #home-board").fadeIn(),$(".deck-wrapper #service-provider-board").fadeOut(),$(".deck-wrapper #business-board").fadeOut()}),$(".deck-wrapper #jumper-home-board-link").on("click",function(){$(".deck-wrapper #home-board").fadeIn(),$(".deck-wrapper #service-provider-board").fadeOut(),$(".deck-wrapper #business-board").fadeOut()}),$(".deck-wrapper #jumper-business-board").on("click",function(){$(".deck-wrapper #business-board").fadeIn(),$(".deck-wrapper #service-provider-board").fadeOut(),$(".deck-wrapper #home-board").fadeOut()}),$(".deck-wrapper #jumper-business-board-link").on("click",function(){$(".deck-wrapper #business-board").fadeIn(),$(".deck-wrapper #service-provider-board").fadeOut(),$(".deck-wrapper #home-board").fadeOut()}),$(".deck-wrapper #jumper-service-provider-board").on("click",function(){$(".deck-wrapper #service-provider-board").fadeIn(),$(".deck-wrapper #business-board").fadeOut(),$(".deck-wrapper #home-board").fadeOut()}),$(".deck-wrapper #jumper-service-provider-board-link").on("click",function(){$(".deck-wrapper #service-provider-board").fadeIn(),$(".deck-wrapper #business-board").fadeOut(),$(".deck-wrapper #home-board").fadeOut()}),$(".deck-wrapper .btn-board-close").on("click",function(){$(".deck-wrapper .hidden-board").fadeOut()})},handleMenuAnchorScroll:function(){"use strict";$("a.product-scroll").smoothScroll({offset:-120})},handleChosenSelect:function(){"use strict";function a(){$(".chosen-container").each(function(){$(this).attr("style","width: 100%")})}/Android|webOS|iPhone|iPod|iPad|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||($(".chosen-select").chosen({}),$(".chosen-select-filter").chosen({}),$(".chosen-select-no-search").chosen({disable_search:!0})),$(document).ready(function(){a(),jQuery(window).on("resize",a)}),$(".chosen-container").length>0&&$(".chosen-container").on("touchstart",function(a){a.stopPropagation(),a.preventDefault(),$(this).trigger("mousedown")})},handleChosenFilter:function(){"use strict";function a(){$(".country-link").removeClass("active"),$(".country-title").removeClass("bold"),$(".country-panel").hide(),$(".country-link").show(),$(".country-item").css("margin-bottom",25)}function b(b){a(),$(document).width()80?($(".product-page #section-menu.section-navigation").addClass("fixed"),$(".product-page #header").addClass("hidden"),$(".product-page #section-menu.section-navigation").next(".section").addClass("on-scroll")):($(".product-page #section-menu.section-navigation").removeClass("fixed"),$(".product-page #header").removeClass("hidden"),$(".product-page #section-menu.section-navigation").next(".section").removeClass("on-scroll"))})},init:function(){"use strict";this.checkTouchScreen(),this.checkiOS(),this.checkiPhone(),this.checkAndroid(),this.handleFastClick(),this.handleHeaderTransform(),this.handleNavFixedTop(),this.handleGoTop(),this.handleRefreshDropdwon(),this.handleSearchToggle(),this.handleDropdownSearchFocus(),this.handleMobileNavTrigger(),this.handleScrollDropdown(),this.handleAccordionMenu(),this.handleDropdownClose(),this.handleClickPlayVideo(),this.handleFooterNavMore(),this.handleChosenSelect(),this.handleChosenFilter(),this.handleSlidePanel(),this.handleSectionTabs(),this.handleBackScroll(),this.handleElasticPanel(),this.handleMapNav(),this.handleMenuAnchorScroll()}};!function(a,b){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(c){return b(c,a,a.document,a.Math)}):"undefined"!=typeof exports?module.exports=b(require("jquery"),a,a.document,a.Math):b(jQuery,a,a.document,a.Math)}("undefined"!=typeof window?window:this,function(a,b,c,d,e){"use strict";var f="fullpage-wrapper",g="."+f,h="fp-scrollable",i="."+h,j="fp-responsive",k="fp-notransition",l="fp-destroyed",m="fp-enabled",n="fp-viewing",o="active",p="."+o,q="fp-completely",r="."+q,t="fp-section",u="."+t,v=u+p,w=u+":first",x=u+":last",y="fp-tableCell",z="."+y,C="fp-nav",D="#"+C,E="fp-tooltip",F="."+E,I="fp-slide",J="."+I,K=J+p,L="fp-slides",M="."+L,N="fp-slidesContainer",O="."+N,P="fp-table",Q="fp-slidesNav",R="."+Q,S=R+" a",T="fp-controlArrow",U="."+T,V="fp-prev",W="."+V,X=T+" "+V,Y=U+W,Z="fp-next",$="."+Z,_=T+" "+Z,aa=U+$,ba=a(b),ca=a(c),da={scrollbars:!0,mouseWheel:!0,hideScrollbars:!1,fadeScrollbars:!1,disableMouse:!0,click:!0};a.fn.fullpage=function(h){function i(){h.css3&&(h.css3=ub()),h.scrollBar=h.scrollBar||h.hybrid,W(),Z(),Nb.setAllowScrolling(!0),Nb.setAutoScrolling(h.autoScrolling,"internal");var b=a(v).find(K);b.length&&(0!==a(v).index(u)||0===a(v).index(u)&&0!==b.index())&&Db(b),_a(),tb(),"complete"===c.readyState&&Ma(),ba.on("load",Ma)}function T(){ba.on("scroll",pa).on("hashchange",Na).blur(Ua).resize($a),ca.keydown(Oa).keyup(Qa).on("click touchstart",D+" a",Va).on("click touchstart",S,Wa).on("click",F,Pa),a(u).on("click touchstart",U,Ta),h.normalScrollElements&&(ca.on("mouseenter",h.normalScrollElements,function(){Nb.setMouseWheelScrolling(!1)}),ca.on("mouseleave",h.normalScrollElements,function(){Nb.setMouseWheelScrolling(!0)}))}function W(){var b=Ub.find(h.sectionSelector);h.anchors.length||(h.anchors=b.filter("[data-anchor]").map(function(){return a(this).data("anchor").toString()}).get()),h.navigationTooltips.length||(h.navigationTooltips=b.filter("[data-tooltip]").map(function(){return a(this).data("tooltip").toString()}).get())}function Z(){Ub.css({height:"100%",position:"relative"}),Ub.addClass(f),a("html").addClass(m),Vb=ba.height(),Ub.removeClass(l),ha(),a(u).each(function(b){var c=a(this),d=c.find(J),e=d.length;fa(c,b),ga(c,b),e>0?$(c,d,e):h.verticalCentered&&ib(c)}),h.fixedElements&&h.css3&&a(h.fixedElements).appendTo(Mb),h.navigation&&ja(),la(),ma(),h.scrollOverflow?("complete"===c.readyState&&ka(),ba.on("load",ka)):oa()}function $(b,c,d){var e=100*d,f=100/d;c.wrapAll('
    '),c.parent().wrap('
    '),b.find(O).css("width",e+"%"),d>1&&(h.controlArrows&&ia(b),h.slidesNavigation&&pb(b,d)),c.each(function(b){a(this).css("width",f+"%"),h.verticalCentered&&ib(a(this))});var g=b.find(K);g.length&&(0!==a(v).index(u)||0===a(v).index(u)&&0!==g.index())?Db(g):c.eq(0).addClass(o)}function fa(b,c){c||0!==a(v).length||b.addClass(o),b.css("height",Vb+"px"),h.paddingTop&&b.css("padding-top",h.paddingTop),h.paddingBottom&&b.css("padding-bottom",h.paddingBottom),void 0!==h.sectionsColor[c]&&b.css("background-color",h.sectionsColor[c]),void 0!==h.anchors[c]&&b.attr("data-anchor",h.anchors[c])}function ga(b,c){void 0!==h.anchors[c]&&b.hasClass(o)&&eb(h.anchors[c],c),h.menu&&h.css3&&a(h.menu).closest(g).length&&a(h.menu).appendTo(Mb)}function ha(){a(h.sectionSelector).each(function(){a(this).addClass(t)}),a(h.slideSelector).each(function(){a(this).addClass(I)})}function ia(a){a.find(M).after('
    '),"#fff"!=h.controlArrowColor&&(a.find(aa).css("border-color","transparent transparent transparent "+h.controlArrowColor),a.find(Y).css("border-color","transparent "+h.controlArrowColor+" transparent transparent")),h.loopHorizontal||a.find(Y).hide()}function ja(){Mb.append('
    ');var b=a(D);b.addClass(function(){return h.showActiveTooltip?"fp-show-active "+h.navigationPosition:h.navigationPosition});for(var c=0;c',f=h.navigationTooltips[c];void 0!==f&&""!==f&&(e+='
    '+f+"
    "),e+="",b.find("ul").append(e)}a(D).css("margin-top","-"+a(D).height()/2+"px"),a(D).find("li").eq(a(v).index(u)).find("a").addClass(o)}function ka(){a(u).each(function(){var b=a(this).find(J);b.length?b.each(function(){hb(a(this))}):hb(a(this))}),oa()}function la(){Ub.find('iframe[src*="youtube.com/embed/"]').each(function(){var b=na(a(this).attr("src"));a(this).attr("src",a(this).attr("src")+b+"enablejsapi=1")})}function ma(){Ub.find('iframe[src*="player.vimeo.com/"]').each(function(){var b=na(a(this).attr("src"));a(this).attr("src",a(this).attr("src")+b+"api=1")})}function na(a){return/\?/.test(a)?"&":"?"}function oa(){var b=a(v);b.addClass(q),h.scrollOverflowHandler.afterRender&&h.scrollOverflowHandler.afterRender(b),Ia(b),Ja(b),a.isFunction(h.afterLoad)&&h.afterLoad.call(b,b.data("anchor"),b.index(u)+1),a.isFunction(h.afterRender)&&h.afterRender.call(Ub)}function pa(){var b;if(!h.autoScrolling||h.scrollBar){for(var d=ba.scrollTop(),e=ra(d),f=0,g=d+ba.height()/2,i=c.querySelectorAll(u),j=0;j=ba.scrollTop()+ba.height():chc?"down":"up";return hc=a,b}function sa(a,b){if($b.m[a]){var c,d;if("down"==a?(c="bottom",d=Nb.moveSectionDown):(c="top",d=Nb.moveSectionUp),b.length>0){if(!h.scrollOverflowHandler.isScrolled(c,b))return!0;d()}else d()}}function ta(b){var c=b.originalEvent;if(!ua(b.target)&&va(c)){h.autoScrolling&&b.preventDefault();var e=a(v),f=h.scrollOverflowHandler.scrollable(e);if(Yb&&!Rb){var g=Cb(c);kc=g.y,lc=g.x,e.find(M).length&&d.abs(jc-lc)>d.abs(ic-kc)?d.abs(jc-lc)>ba.outerWidth()/100*h.touchSensitivity&&(jc>lc?$b.m.right&&Nb.moveSlideRight():$b.m.left&&Nb.moveSlideLeft()):h.autoScrolling&&d.abs(ic-kc)>ba.height()/100*h.touchSensitivity&&(ic>kc?sa("down",f):kc>ic&&sa("up",f))}}}function ua(b,c){c=c||0;var d=a(b).parent();return!!(c149&&Zb.shift(),Zb.push(d.abs(g)),h.scrollBar&&(c.preventDefault?c.preventDefault():c.returnValue=!1);var l=a(v),m=h.scrollOverflowHandler.scrollable(l),n=e-mc;return mc=e,n>200&&(Zb=[]),Yb&&xa(Zb,10)>=xa(Zb,70)&&k&&(0>i?sa("down",m):sa("up",m)),!1}h.fitToSection&&Lb.stop()}function za(b,c){var d=void 0===c?a(v):c,e=d.find(M),f=e.find(J).length;if(!(!e.length||Rb||2>f)){var g=e.find(K),i=null;if(i="prev"===b?g.prev(J):g.next(J),!i.length){if(!h.loopHorizontal)return;i="prev"===b?g.siblings(":last"):g.siblings(":first")}Rb=!0,Za(e,i)}}function Aa(){a(K).each(function(){Db(a(this),"internal")})}function Ba(a){var b=a.position(),c=b.top,d=b.top>nc,e=c-Vb+a.outerHeight();return a.outerHeight()>Vb?d||(c=e):(d||Wb&&a.is(":last-child"))&&(c=e),nc=c,c}function Ca(b,c,d){if(void 0!==b){var e=Ba(b),f={element:b,callback:c,isMovementUp:d,dtop:e,yMovement:fb(b),anchorLink:b.data("anchor"),sectionIndex:b.index(u),activeSlide:b.find(K),activeSection:a(v),leavingSection:a(v).index(u)+1,localIsResizing:Wb};if(!(f.activeSection.is(b)&&!Wb||h.scrollBar&&ba.scrollTop()===f.dtop&&!b.hasClass("fp-auto-height"))){if(f.activeSlide.length)var g=f.activeSlide.data("anchor"),i=f.activeSlide.index();h.autoScrolling&&h.continuousVertical&&void 0!==f.isMovementUp&&(!f.isMovementUp&&"up"==f.yMovement||f.isMovementUp&&"down"==f.yMovement)&&(f=Fa(f)),(!a.isFunction(h.onLeave)||f.localIsResizing||!1!==h.onLeave.call(f.activeSection,f.leavingSection,f.sectionIndex+1,f.yMovement))&&(Ka(f.activeSection),b.addClass(o).siblings().removeClass(o),Ia(b),h.scrollOverflowHandler.onLeave(),Yb=!1,qb(i,g,f.anchorLink,f.sectionIndex),Da(f),Ob=f.anchorLink,eb(f.anchorLink,f.sectionIndex))}}}function Da(b){if(h.css3&&h.autoScrolling&&!h.scrollBar)kb("translate3d(0px, -"+b.dtop+"px, 0px)",!0),h.scrollingSpeed?ac=setTimeout(function(){Ha(b)},h.scrollingSpeed):Ha(b);else{var d=Ea(b);a(d.element).animate(d.options,h.scrollingSpeed,h.easing).promise().done(function(){h.scrollBar?setTimeout(function(){Ha(b)},30):Ha(b)})}}function Ea(a){var b={};return h.autoScrolling&&!h.scrollBar?(b.options={top:-a.dtop},b.element=g):(b.options={scrollTop:a.dtop},b.element="html, body"),b}function Fa(b){return b.isMovementUp?a(v).before(b.activeSection.nextAll(u)):a(v).after(b.activeSection.prevAll(u).get().reverse()),Eb(a(v).position().top),Aa(),b.wrapAroundElements=b.activeSection,b.dtop=b.element.position().top,b.yMovement=fb(b.element),b}function Ga(b){b.wrapAroundElements&&b.wrapAroundElements.length&&(b.isMovementUp?a(w).before(b.wrapAroundElements):a(x).after(b.wrapAroundElements),Eb(a(v).position().top),Aa())}function Ha(b){Ga(b),b.element.find(".fp-scrollable").mouseover(),a.isFunction(h.afterLoad)&&!b.localIsResizing&&h.afterLoad.call(b.element,b.anchorLink,b.sectionIndex+1),h.scrollOverflowHandler.afterLoad(),Ja(b.element),b.element.addClass(q).siblings().removeClass(q),Yb=!0,a.isFunction(b.callback)&&b.callback.call(this)}function Ia(b){var b=La(b);b.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){a(this).attr("src",a(this).data("src")),a(this).removeAttr("data-src"),a(this).is("source")&&a(this).closest("video").get(0).load()})}function Ja(b){var b=La(b);b.find("video, audio").each(function(){var b=a(this).get(0);b.hasAttribute("data-autoplay")&&"function"==typeof b.play&&b.play()}),b.find('iframe[src*="youtube.com/embed/"]').each(function(){var b=a(this).get(0);/youtube\.com\/embed\//.test(a(this).attr("src"))&&b.hasAttribute("data-autoplay")&&b.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")})}function Ka(b){var b=La(b);b.find("video, audio").each(function(){var b=a(this).get(0);b.hasAttribute("data-keepplaying")||"function"!=typeof b.pause||b.pause()}),b.find('iframe[src*="youtube.com/embed/"]').each(function(){var b=a(this).get(0);/youtube\.com\/embed\//.test(a(this).attr("src"))&&!b.hasAttribute("data-keepplaying")&&a(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function La(b){var c=b.find(K);return c.length&&(b=a(c)),b}function Ma(){var a=b.location.hash.replace("#","").split("/"),c=decodeURIComponent(a[0]),d=decodeURIComponent(a[1]);c&&(h.animateAnchor?nb(c,d):Nb.silentMoveTo(c,d))}function Na(){if(!gc&&!h.lockAnchors){var a=b.location.hash.replace("#","").split("/"),c=decodeURIComponent(a[0]),d=decodeURIComponent(a[1]),e=void 0===Ob,f=void 0===Ob&&void 0===d&&!Rb;c.length&&(c&&c!==Ob&&!e||f||!Rb&&Pb!=d)&&nb(c,d)}}function Oa(b){clearTimeout(ec);var c=a(":focus");if(!c.is("textarea")&&!c.is("input")&&!c.is("select")&&"true"!==c.attr("contentEditable")&&""!==c.attr("contentEditable")&&h.keyboardScrolling&&h.autoScrolling){var d=b.which,e=[40,38,32,33,34];a.inArray(d,e)>-1&&b.preventDefault(),Qb=b.ctrlKey,ec=setTimeout(function(){Xa(b)},150)}}function Pa(){a(this).prev().trigger("click")}function Qa(a){Xb&&(Qb=a.ctrlKey)}function Ra(a){2==a.which&&(oc=a.pageY,Ub.on("mousemove",Ya))}function Sa(a){2==a.which&&Ub.off("mousemove")}function Ta(){var b=a(this).closest(u);a(this).hasClass(V)?$b.m.left&&Nb.moveSlideLeft(b):$b.m.right&&Nb.moveSlideRight(b)}function Ua(){Xb=!1,Qb=!1}function Va(b){b.preventDefault();var c=a(this).parent().index();Ca(a(u).eq(c))}function Wa(b){b.preventDefault();var c=a(this).closest(u).find(M);Za(c,c.find(J).eq(a(this).closest("li").index()))}function Xa(b){var c=b.shiftKey;switch(b.which){case 38:case 33:$b.k.up&&Nb.moveSectionUp();break;case 32:if(c&&$b.k.up){Nb.moveSectionUp();break}case 40:case 34:$b.k.down&&Nb.moveSectionDown();break;case 36:$b.k.up&&Nb.moveTo(1);break;case 35:$b.k.down&&Nb.moveTo(a(u).length);break;case 37:$b.k.left&&Nb.moveSlideLeft();break;case 39:$b.k.right&&Nb.moveSlideRight();break;default:return}}function Ya(a){Yb&&(a.pageYoc&&$b.m.down&&Nb.moveSectionDown()),oc=a.pageY}function Za(b,c){var e=c.position(),f=c.index(),g=b.closest(u),i=g.index(u),j=g.data("anchor"),k=g.find(R),l=sb(c),m=g.find(K),n=Wb;if(h.onSlideLeave){var q=m.index(),r=gb(q,f);if(!n&&"none"!==r&&a.isFunction(h.onSlideLeave)&&!1===h.onSlideLeave.call(m,j,i+1,q,r,f))return void(Rb=!1)}Ka(m),c.addClass(o).siblings().removeClass(o),n||Ia(c),!h.loopHorizontal&&h.controlArrows&&(g.find(Y).toggle(0!==f),g.find(aa).toggle(!c.is(":last-child"))),g.hasClass(o)&&qb(f,l,j,i);var s=function(){n||a.isFunction(h.afterSlideLoad)&&h.afterSlideLoad.call(c,j,i+1,l,f),Ja(c),Rb=!1};if(h.css3){var t="translate3d(-"+d.round(e.left)+"px, 0px, 0px)";ab(b.find(O),h.scrollingSpeed>0).css(Fb(t)),bc=setTimeout(function(){s()},h.scrollingSpeed,h.easing)}else b.animate({scrollLeft:d.round(e.left)},h.scrollingSpeed,h.easing,function(){s()});k.find(p).removeClass(o),k.find("li").eq(f).find("a").addClass(o)}function $a(){if(_a(),Sb){var b=a(c.activeElement);if(!b.is("textarea")&&!b.is("input")&&!b.is("select")){var e=ba.height();d.abs(e-pc)>20*d.max(pc,e)/100&&(Nb.reBuild(!0),pc=e)}}else clearTimeout(_b),_b=setTimeout(function(){Nb.reBuild(!0)},350)}function _a(){var a=h.responsive||h.responsiveWidth,b=h.responsiveHeight,c=a&&ba.outerWidth()d?"up":"down"}function gb(a,b){return a==b?"none":a>b?"left":"right"}function hb(a){if(!a.hasClass("fp-noscroll")){a.css("overflow","hidden");var b,c=h.scrollOverflowHandler,d=c.wrapContent(),e=a.closest(u),f=c.scrollable(a);f.length?b=c.scrollHeight(a):(b=a.get(0).scrollHeight,h.verticalCentered&&(b=a.find(z).get(0).scrollHeight));var g=Vb-parseInt(e.css("padding-bottom"))-parseInt(e.css("padding-top"));b>g?f.length?c.update(a,g):(h.verticalCentered?a.find(z).wrapInner(d):a.wrapInner(d),c.create(a,g)):c.remove(a),a.css("overflow","")}}function ib(a){a.addClass(P).wrapInner('
    ')}function jb(a){var b=Vb;if(h.paddingTop||h.paddingBottom){var c=a;c.hasClass(t)||(c=a.closest(u));var d=parseInt(c.css("padding-top"))+parseInt(c.css("padding-bottom"));b=Vb-d}return b}function kb(a,b){b?ab(Ub):bb(Ub),Ub.css(Fb(a)),setTimeout(function(){Ub.removeClass(k)},10)}function lb(b){var c=Ub.find(u+'[data-anchor="'+b+'"]');return c.length||(c=a(u).eq(b-1)),c}function mb(a,b){var c=b.find(M),d=c.find(J+'[data-anchor="'+a+'"]');return d.length||(d=c.find(J).eq(a)),d}function nb(a,b){var c=lb(a);void 0===b&&(b=0),a===Ob||c.hasClass(o)?ob(c,b):Ca(c,function(){ob(c,b)})}function ob(a,b){if(void 0!==b){var c=a.find(M),d=mb(b,a);d.length&&Za(c,d)}}function pb(a,b){a.append('
      ');var c=a.find(R);c.addClass(h.slidesNavPosition);for(var d=0;b>d;d++)c.find("ul").append('
    • ');c.css("margin-left","-"+c.width()/2+"px"),c.find("li").first().find("a").addClass(o)}function qb(a,b,c,d){var e="";h.anchors.length&&!h.lockAnchors&&(a?(void 0!==c&&(e=c),void 0===b&&(b=a),Pb=b,rb(e+"/"+b)):void 0!==a?(Pb=b,rb(c)):rb(c)),tb()}function rb(a){if(h.recordHistory)location.hash=a;else if(Sb||Tb)b.history.replaceState(e,e,"#"+a);else{var c=b.location.href.split("#")[0];b.location.replace(c+"#"+a)}}function sb(a){var b=a.data("anchor"),c=a.index();return void 0===b&&(b=c),b}function tb(){var b=a(v),c=b.find(K),d=sb(b),e=sb(c),f=String(d);c.length&&(f=f+"-"+e),f=f.replace("/","-").replace("#","");var g=new RegExp("\\b\\s?"+n+"-[^\\s]+\\b","g");Mb[0].className=Mb[0].className.replace(g,""),Mb.addClass(n+"-"+f)}function ub(){var a,d=c.createElement("p"),f={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};c.body.insertBefore(d,null);for(var g in f)d.style[g]!==e&&(d.style[g]="translate3d(1px,1px,1px)",a=b.getComputedStyle(d).getPropertyValue(f[g]));return c.body.removeChild(d),a!==e&&a.length>0&&"none"!==a}function vb(){c.addEventListener?(c.removeEventListener("mousewheel",ya,!1),c.removeEventListener("wheel",ya,!1),c.removeEventListener("MozMousePixelScroll",ya,!1)):c.detachEvent("onmousewheel",ya)}function wb(){var a,d="";b.addEventListener?a="addEventListener":(a="attachEvent",d="on");var f="onwheel"in c.createElement("div")?"wheel":c.onmousewheel!==e?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==f?c[a](d+"MozMousePixelScroll",ya,!1):c[a](d+f,ya,!1)}function xb(){Ub.on("mousedown",Ra).on("mouseup",Sa)}function yb(){Ub.off("mousedown",Ra).off("mouseup",Sa)}function zb(){if(Sb||Tb){var b=Bb();a(g).off("touchstart "+b.down).on("touchstart "+b.down,wa),a(g).off("touchmove "+b.move).on("touchmove "+b.move,ta)}}function Ab(){if(Sb||Tb){var b=Bb();a(g).off("touchstart "+b.down),a(g).off("touchmove "+b.move)}}function Bb(){return b.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function Cb(a){var b=[];return b.y=void 0!==a.pageY&&(a.pageY||a.pageX)?a.pageY:a.touches[0].pageY,b.x=void 0!==a.pageX&&(a.pageY||a.pageX)?a.pageX:a.touches[0].pageX,Tb&&va(a)&&h.scrollBar&&(b.y=a.touches[0].pageY,b.x=a.touches[0].pageX),b}function Db(a,b){Nb.setScrollingSpeed(0,"internal"),void 0!==b&&(Wb=!0),Za(a.closest(M),a),void 0!==b&&(Wb=!1),Nb.setScrollingSpeed(fc.scrollingSpeed,"internal")}function Eb(a){if(h.scrollBar)Ub.scrollTop(a);else if(h.css3){var b="translate3d(0px, -"+a+"px, 0px)";kb(b,!1)}else Ub.css("top",-a)}function Fb(a){return{"-webkit-transform":a,"-moz-transform":a,"-ms-transform":a,transform:a}}function Gb(a,b,c){switch(b){case"up":$b[c].up=a;break;case"down":$b[c].down=a;break;case"left":$b[c].left=a;break;case"right":$b[c].right=a;break;case"all":"m"==c?Nb.setAllowScrolling(a):Nb.setKeyboardScrolling(a)}}function Hb(){Eb(0),a(D+", "+R+", "+U).remove(),a(u).css({height:"","background-color":"",padding:""}),a(J).css({width:""}),Ub.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),Lb.css({overflow:"",height:""}),a("html").removeClass(m),a.each(Mb.get(0).className.split(/\s+/),function(a,b){0===b.indexOf(n)&&Mb.removeClass(b)}),a(u+", "+J).each(function(){h.scrollOverflowHandler.remove(a(this)),a(this).removeClass(P+" "+o)}),bb(Ub),Ub.find(z+", "+O+", "+M).each(function(){a(this).replaceWith(this.childNodes)}),Lb.scrollTop(0);var b=[t,I,N];a.each(b,function(b,c){a("."+c).removeClass(c)})}function Ib(a,b,c){h[a]=b,"internal"!==c&&(fc[a]=b)}function Jb(){return a("html").hasClass(m)?void Kb("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(h.continuousVertical&&(h.loopTop||h.loopBottom)&&(h.continuousVertical=!1,Kb("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),h.scrollBar&&h.scrollOverflow&&Kb("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),h.continuousVertical&&h.scrollBar&&(h.continuousVertical=!1,Kb("warn","Option `scrollBar` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),void a.each(h.anchors,function(b,c){var d=ca.find("[name]").filter(function(){return a(this).attr("name")&&a(this).attr("name").toLowerCase()==c.toLowerCase()}),e=ca.find("[id]").filter(function(){return a(this).attr("id")&&a(this).attr("id").toLowerCase()==c.toLowerCase()});(e.length||d.length)&&(Kb("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),e.length&&Kb("error",'"'+c+'" is is being used by another element `id` property'),d.length&&Kb("error",'"'+c+'" is is being used by another element `name` property'))}))}function Kb(a,b){console&&console[a]&&console[a]("fullPage: "+b)}if(a("html").hasClass(m))return void Jb();var Lb=a("html, body"),Mb=a("body"),Nb=a.fn.fullpage;h=a.extend({menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:1e3,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowHandler:ea,scrollOverflowOptions:null,touchSensitivity:5,normalScrollElementTouchThreshold:5,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,sectionSelector:".section",slideSelector:".slide",afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null},h),Jb(),da=a.extend(da,h.scrollOverflowOptions),a.extend(a.easing,{easeInOutCubic:function(a,b,c,d,e){return(b/=e/2)0&&Ca(c)},Nb.moveSlideRight=function(a){za("next",a)},Nb.moveSlideLeft=function(a){za("prev",a)},Nb.reBuild=function(b){if(!Ub.hasClass(l)){Wb=!0,Vb=ba.height(),a(u).each(function(){var b=a(this).find(M),c=a(this).find(J);h.verticalCentered&&a(this).find(z).css("height",jb(a(this))+"px"),a(this).css("height",Vb+"px"),h.scrollOverflow&&(c.length?c.each(function(){hb(a(this))}):hb(a(this))),c.length>1&&Za(b,b.find(K))});var c=a(v),d=c.index(u);d&&Nb.silentMoveTo(d+1),Wb=!1,a.isFunction(h.afterResize)&&b&&h.afterResize.call(Ub),a.isFunction(h.afterReBuild)&&!b&&h.afterReBuild.call(Ub)}},Nb.setResponsive=function(b){var c=Mb.hasClass(j);b?c||(Nb.setAutoScrolling(!1,"internal"),Nb.setFitToSection(!1,"internal"),a(D).hide(),Mb.addClass(j)):c&&(Nb.setAutoScrolling(fc.autoScrolling,"internal"),Nb.setFitToSection(fc.autoScrolling,"internal"),a(D).show(),Mb.removeClass(j))};var Ob,Pb,Qb,Rb=!1,Sb=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),Tb="ontouchstart"in b||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,Ub=a(this),Vb=ba.height(),Wb=!1,Xb=!0,Yb=!0,Zb=[],$b={};$b.m={up:!0,down:!0,left:!0,right:!0},$b.k=a.extend(!0,{},$b.m);var _b,ac,bc,cc,dc,ec,fc=a.extend(!0,{},h);a(this).length&&(i(),T());var gc=!1,hc=0,ic=0,jc=0,kc=0,lc=0,mc=(new Date).getTime(),nc=0,oc=0,pc=Vb;Nb.destroy=function(b){Nb.setAutoScrolling(!1,"internal"),Nb.setAllowScrolling(!1),Nb.setKeyboardScrolling(!1),Ub.addClass(l),clearTimeout(bc),clearTimeout(ac),clearTimeout(_b),clearTimeout(cc),clearTimeout(dc),ba.off("scroll",pa).off("hashchange",Na).off("resize",$a),ca.off("click",D+" a").off("mouseenter",D+" li").off("mouseleave",D+" li").off("click",S).off("mouseover",h.normalScrollElements).off("mouseout",h.normalScrollElements),a(u).off("click",U),clearTimeout(bc),clearTimeout(ac),b&&Hb()}},"undefined"!=typeof IScroll&&(IScroll.prototype.wheelOn=function(){this.wrapper.addEventListener("wheel",this),this.wrapper.addEventListener("mousewheel",this),this.wrapper.addEventListener("DOMMouseScroll",this)},IScroll.prototype.wheelOff=function(){this.wrapper.removeEventListener("wheel",this),this.wrapper.removeEventListener("mousewheel",this),this.wrapper.removeEventListener("DOMMouseScroll",this)});var ea={refreshId:null,iScrollInstances:[],onLeave:function(){var b=a(v).find(i).data("iscrollInstance");void 0!==b&&b&&b.wheelOff()},afterLoad:function(){var b=a(v).find(i).data("iscrollInstance");void 0!==b&&b&&b.wheelOn()},create:function(b,c){var d=b.find(i);d.height(c),d.each(function(){var b=jQuery(this),c=b.data("iscrollInstance");c&&a.each(ea.iScrollInstances,function(){a(this).destroy()}),c=new IScroll(b.get(0),da),ea.iScrollInstances.push(c),b.data("iscrollInstance",c)})},isScrolled:function(a,b){var c=b.data("iscrollInstance");return!!c&&("top"===a?c.y>=0&&!b.scrollTop():"bottom"===a?0-c.y+b.scrollTop()+1+b.innerHeight()>=b[0].scrollHeight:void 0)},scrollable:function(a){return a.find(M).length?a.find(K).find(i):a.find(i)},scrollHeight:function(a){return a.find(i).children().first().get(0).scrollHeight},remove:function(a){var b=a.find(i);if(b.length){b.data("iscrollInstance").destroy(),b.data("iscrollInstance","undefined")}a.find(i).children().first().children().first().unwrap().unwrap()},update:function(b,c){clearTimeout(ea.refreshId),ea.refreshId=setTimeout(function(){a.each(ea.iScrollInstances,function(){a(this).get(0).refresh()})},150),b.find(i).css("height",c+"px").parent().css("height",c+"px")},wrapContent:function(){return'
      '}}}),function(a){var b=!0;a.flexslider=function(c,d){var e=a(c);e.vars=a.extend({},a.flexslider.defaults,d);var k,f=e.vars.namespace,g=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,h=("ontouchstart"in window||g||window.DocumentTouch&&document instanceof DocumentTouch)&&e.vars.touch,i="click touchend MSPointerUp keyup",j="",l="vertical"===e.vars.direction,m=e.vars.reverse,n=e.vars.itemWidth>0,o="fade"===e.vars.animation,p=""!==e.vars.asNavFor,q={};a.data(c,"flexslider",e),q={init:function(){e.animating=!1,e.currentSlide=parseInt(e.vars.startAt?e.vars.startAt:0,10),isNaN(e.currentSlide)&&(e.currentSlide=0),e.animatingTo=e.currentSlide,e.atEnd=0===e.currentSlide||e.currentSlide===e.last,e.containerSelector=e.vars.selector.substr(0,e.vars.selector.search(" ")),e.slides=a(e.vars.selector,e),e.container=a(e.containerSelector,e),e.count=e.slides.length,e.syncExists=a(e.vars.sync).length>0,"slide"===e.vars.animation&&(e.vars.animation="swing"),e.prop=l?"top":"marginLeft",e.args={},e.manualPause=!1,e.stopped=!1,e.started=!1,e.startTimeout=null,e.transitions=!e.vars.video&&!o&&e.vars.useCSS&&function(){var a=document.createElement("div"),b=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var c in b)if(void 0!==a.style[b[c]])return e.pfx=b[c].replace("Perspective","").toLowerCase(),e.prop="-"+e.pfx+"-transform",!0;return!1}(),e.ensureAnimationEnd="",""!==e.vars.controlsContainer&&(e.controlsContainer=a(e.vars.controlsContainer).length>0&&a(e.vars.controlsContainer)),""!==e.vars.manualControls&&(e.manualControls=a(e.vars.manualControls).length>0&&a(e.vars.manualControls)),""!==e.vars.customDirectionNav&&(e.customDirectionNav=2===a(e.vars.customDirectionNav).length&&a(e.vars.customDirectionNav)),e.vars.randomize&&(e.slides.sort(function(){return Math.round(Math.random())-.5}),e.container.empty().append(e.slides)),e.doMath(),e.setup("init"),e.vars.controlNav&&q.controlNav.setup(),e.vars.directionNav&&q.directionNav.setup(),e.vars.keyboard&&(1===a(e.containerSelector).length||e.vars.multipleKeyboard)&&a(document).bind("keyup",function(a){var b=a.keyCode;if(!e.animating&&(39===b||37===b)){var c=39===b?e.getTarget("next"):37===b&&e.getTarget("prev");e.flexAnimate(c,e.vars.pauseOnAction)}}),e.vars.mousewheel&&e.bind("mousewheel",function(a,b,c,d){a.preventDefault();var f=0>b?e.getTarget("next"):e.getTarget("prev");e.flexAnimate(f,e.vars.pauseOnAction)}),e.vars.pausePlay&&q.pausePlay.setup(),e.vars.slideshow&&e.vars.pauseInvisible&&q.pauseInvisible.init(),e.vars.slideshow&&(e.vars.pauseOnHover&&e.hover(function(){e.manualPlay||e.manualPause||e.pause()},function(){e.manualPause||e.manualPlay||e.stopped||e.play()}),e.vars.pauseInvisible&&q.pauseInvisible.isHidden()||(e.vars.initDelay>0?e.startTimeout=setTimeout(e.play,e.vars.initDelay):e.play())),p&&q.asNav.setup(),h&&e.vars.touch&&q.touch(),(!o||o&&e.vars.smoothHeight)&&a(window).bind("resize orientationchange focus",q.resize),e.find("img").attr("draggable","false"),setTimeout(function(){e.vars.start(e)},200)},asNav:{setup:function(){e.asNav=!0,e.animatingTo=Math.floor(e.currentSlide/e.move),e.currentItem=e.currentSlide,e.slides.removeClass(f+"active-slide").eq(e.currentItem).addClass(f+"active-slide"),g?(c._slider=e,e.slides.each(function(){var b=this;b._gesture=new MSGesture,b._gesture.target=b,b.addEventListener("MSPointerDown",function(a){a.preventDefault(),a.currentTarget._gesture&&a.currentTarget._gesture.addPointer(a.pointerId)},!1),b.addEventListener("MSGestureTap",function(b){b.preventDefault();var c=a(this),d=c.index();a(e.vars.asNavFor).data("flexslider").animating||c.hasClass("active")||(e.direction=e.currentItem=c.offset().left-a(e).scrollLeft()&&c.hasClass(f+"active-slide")?e.flexAnimate(e.getTarget("prev"),!0):a(e.vars.asNavFor).data("flexslider").animating||c.hasClass(f+"active-slide")||(e.direction=e.currentItem'),e.pagingCount>1)for(var h=0;h":''+c+"","thumbnails"===e.vars.controlNav&&!0===e.vars.thumbCaptions){var k=g.attr("data-thumbcaption");""!==k&&void 0!==k&&(d+=''+k+"")}e.controlNavScaffold.append("
    • "+d+"
    • "),c++}e.controlsContainer?a(e.controlsContainer).append(e.controlNavScaffold):e.append(e.controlNavScaffold),q.controlNav.set(),q.controlNav.active(),e.controlNavScaffold.delegate("a, img",i,function(b){if(b.preventDefault(),""===j||j===b.type){var c=a(this),d=e.controlNav.index(c);c.hasClass(f+"active")||(e.direction=d>e.currentSlide?"next":"prev",e.flexAnimate(d,e.vars.pauseOnAction))}""===j&&(j=b.type),q.setToClearWatchedEvent()})},setupManual:function(){e.controlNav=e.manualControls,q.controlNav.active(),e.controlNav.bind(i,function(b){if(b.preventDefault(),""===j||j===b.type){var c=a(this),d=e.controlNav.index(c);c.hasClass(f+"active")||(d>e.currentSlide?e.direction="next":e.direction="prev",e.flexAnimate(d,e.vars.pauseOnAction))}""===j&&(j=b.type),q.setToClearWatchedEvent()})},set:function(){var b="thumbnails"===e.vars.controlNav?"img":"a";e.controlNav=a("."+f+"control-nav li "+b,e.controlsContainer?e.controlsContainer:e)},active:function(){e.controlNav.removeClass(f+"active").eq(e.animatingTo).addClass(f+"active")},update:function(b,c){e.pagingCount>1&&"add"===b?e.controlNavScaffold.append(a('
    • '+e.count+"
    • ")):1===e.pagingCount?e.controlNavScaffold.find("li").remove():e.controlNav.eq(c).closest("li").remove(),q.controlNav.set(),e.pagingCount>1&&e.pagingCount!==e.controlNav.length?e.update(c,b):q.controlNav.active()}},directionNav:{setup:function(){var b=a('");e.customDirectionNav?e.directionNav=e.customDirectionNav:e.controlsContainer?(a(e.controlsContainer).append(b),e.directionNav=a("."+f+"direction-nav li a",e.controlsContainer)):(e.append(b),e.directionNav=a("."+f+"direction-nav li a",e)),q.directionNav.update(),e.directionNav.bind(i,function(b){b.preventDefault();var c;(""===j||j===b.type)&&(c=a(this).hasClass(f+"next")?e.getTarget("next"):e.getTarget("prev"),e.flexAnimate(c,e.vars.pauseOnAction)),""===j&&(j=b.type),q.setToClearWatchedEvent()})},update:function(){var a=f+"disabled";1===e.pagingCount?e.directionNav.addClass(a).attr("tabindex","-1"):e.vars.animationLoop?e.directionNav.removeClass(a).removeAttr("tabindex"):0===e.animatingTo?e.directionNav.removeClass(a).filter("."+f+"prev").addClass(a).attr("tabindex","-1"):e.animatingTo===e.last?e.directionNav.removeClass(a).filter("."+f+"next").addClass(a).attr("tabindex","-1"):e.directionNav.removeClass(a).removeAttr("tabindex")}},pausePlay:{setup:function(){var b=a('
      ');e.controlsContainer?(e.controlsContainer.append(b),e.pausePlay=a("."+f+"pauseplay a",e.controlsContainer)):(e.append(b),e.pausePlay=a("."+f+"pauseplay a",e)),q.pausePlay.update(e.vars.slideshow?f+"pause":f+"play"),e.pausePlay.bind(i,function(b){b.preventDefault(),(""===j||j===b.type)&&(a(this).hasClass(f+"pause")?(e.manualPause=!0,e.manualPlay=!1,e.pause()):(e.manualPause=!1,e.manualPlay=!0,e.play())),""===j&&(j=b.type),q.setToClearWatchedEvent()})},update:function(a){"play"===a?e.pausePlay.removeClass(f+"pause").addClass(f+"play").html(e.vars.playText):e.pausePlay.removeClass(f+"play").addClass(f+"pause").html(e.vars.pauseText)}},touch:function(){function a(a){a.stopPropagation(),e.animating?a.preventDefault():(e.pause(),c._gesture.addPointer(a.pointerId),w=0,j=l?e.h:e.w,p=Number(new Date),i=n&&m&&e.animatingTo===e.last?0:n&&m?e.limit-(e.itemW+e.vars.itemMargin)*e.move*e.animatingTo:n&&e.currentSlide===e.last?e.limit:n?(e.itemW+e.vars.itemMargin)*e.move*e.currentSlide:m?(e.last-e.currentSlide+e.cloneOffset)*j:(e.currentSlide+e.cloneOffset)*j)}function b(a){a.stopPropagation();var b=a.target._slider;if(b){var d=-a.translationX,e=-a.translationY;return w+=l?e:d,k=w,t=l?Math.abs(w)500)&&(a.preventDefault(),!o&&b.transitions&&(b.vars.animationLoop||(k=w/(0===b.currentSlide&&0>w||b.currentSlide===b.last&&w>0?Math.abs(w)/j+2:1)),b.setProps(i+k,"setTouch"))))}}function d(a){a.stopPropagation();var b=a.target._slider;if(b){if(b.animatingTo===b.currentSlide&&!t&&null!==k){var c=m?-k:k,d=c>0?b.getTarget("next"):b.getTarget("prev");b.canAdvance(d)&&(Number(new Date)-p50||Math.abs(c)>j/2)?b.flexAnimate(d,b.vars.pauseOnAction):o||b.flexAnimate(b.currentSlide,b.vars.pauseOnAction,!0)}f=null,h=null,k=null,i=null,w=0}}var f,h,i,j,k,p,q,r,s,t=!1,u=0,v=0,w=0;g?(c.style.msTouchAction="none",c._gesture=new MSGesture,c._gesture.target=c,c.addEventListener("MSPointerDown",a,!1),c._slider=e,c.addEventListener("MSGestureChange",b,!1),c.addEventListener("MSGestureEnd",d,!1)):(q=function(a){e.animating?a.preventDefault():(window.navigator.msPointerEnabled||1===a.touches.length)&&(e.pause(),j=l?e.h:e.w,p=Number(new Date),u=a.touches[0].pageX,v=a.touches[0].pageY,i=n&&m&&e.animatingTo===e.last?0:n&&m?e.limit-(e.itemW+e.vars.itemMargin)*e.move*e.animatingTo:n&&e.currentSlide===e.last?e.limit:n?(e.itemW+e.vars.itemMargin)*e.move*e.currentSlide:m?(e.last-e.currentSlide+e.cloneOffset)*j:(e.currentSlide+e.cloneOffset)*j,f=l?v:u,h=l?u:v,c.addEventListener("touchmove",r,!1),c.addEventListener("touchend",s,!1))},r=function(a){u=a.touches[0].pageX,v=a.touches[0].pageY,k=l?f-v:f-u,t=l?Math.abs(k)500)&&(a.preventDefault(),!o&&e.transitions&&(e.vars.animationLoop||(k/=0===e.currentSlide&&0>k||e.currentSlide===e.last&&k>0?Math.abs(k)/j+2:1),e.setProps(i+k,"setTouch")))},s=function(a){if(c.removeEventListener("touchmove",r,!1),e.animatingTo===e.currentSlide&&!t&&null!==k){var b=m?-k:k,d=b>0?e.getTarget("next"):e.getTarget("prev");e.canAdvance(d)&&(Number(new Date)-p50||Math.abs(b)>j/2)?e.flexAnimate(d,e.vars.pauseOnAction):o||e.flexAnimate(e.currentSlide,e.vars.pauseOnAction,!0)}c.removeEventListener("touchend",s,!1),f=null,h=null,k=null,i=null},c.addEventListener("touchstart",q,!1))},resize:function(){!e.animating&&e.is(":visible")&&(n||e.doMath(),o?q.smoothHeight():n?(e.slides.width(e.computedW),e.update(e.pagingCount),e.setProps()):l?(e.viewport.height(e.h),e.setProps(e.h,"setTotal")):(e.vars.smoothHeight&&q.smoothHeight(),e.newSlides.width(e.computedW),e.setProps(e.computedW,"setTotal")))},smoothHeight:function(a){if(!l||o){var b=o?e:e.viewport;a?b.animate({height:e.slides.eq(e.animatingTo).height()},a):b.height(e.slides.eq(e.animatingTo).height())}},sync:function(b){var c=a(e.vars.sync).data("flexslider"),d=e.animatingTo;switch(b){case"animate":c.flexAnimate(d,e.vars.pauseOnAction,!1,!0);break;case"play":c.playing||c.asNav||c.play();break;case"pause":c.pause()}},uniqueID:function(b){return b.filter("[id]").add(b.find("[id]")).each(function(){var b=a(this);b.attr("id",b.attr("id")+"_clone")}),b},pauseInvisible:{visProp:null,init:function(){var a=q.pauseInvisible.getHiddenProp();if(a){var b=a.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(b,function(){q.pauseInvisible.isHidden()?e.startTimeout?clearTimeout(e.startTimeout):e.pause():e.started?e.play():e.vars.initDelay>0?setTimeout(e.play,e.vars.initDelay):e.play()})}},isHidden:function(){var a=q.pauseInvisible.getHiddenProp();return!!a&&document[a]},getHiddenProp:function(){var a=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var b=0;be.currentSlide?"next":"prev"),p&&1===e.pagingCount&&(e.direction=e.currentIteme.limit&&1!==e.visible?e.limit:t):s=0===e.currentSlide&&b===e.count-1&&e.vars.animationLoop&&"next"!==e.direction?m?(e.count+e.cloneOffset)*k:0:e.currentSlide===e.last&&0===b&&e.vars.animationLoop&&"prev"!==e.direction?m?0:(e.count+1)*k:m?(e.count-1-b+e.cloneOffset)*k:(b+e.cloneOffset)*k,e.setProps(s,"",e.vars.animationSpeed),e.transitions?(e.vars.animationLoop&&e.atEnd||(e.animating=!1,e.currentSlide=e.animatingTo),e.container.unbind("webkitTransitionEnd transitionend"),e.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(e.ensureAnimationEnd),e.wrapup(k)}),clearTimeout(e.ensureAnimationEnd),e.ensureAnimationEnd=setTimeout(function(){e.wrapup(k)},e.vars.animationSpeed+100)):e.container.animate(e.args,e.vars.animationSpeed,e.vars.easing,function(){e.wrapup(k)})}e.vars.smoothHeight&&q.smoothHeight(e.vars.animationSpeed)}},e.wrapup=function(a){o||n||(0===e.currentSlide&&e.animatingTo===e.last&&e.vars.animationLoop?e.setProps(a,"jumpEnd"):e.currentSlide===e.last&&0===e.animatingTo&&e.vars.animationLoop&&e.setProps(a,"jumpStart")),e.animating=!1,e.currentSlide=e.animatingTo,e.vars.after(e)},e.animateSlides=function(){!e.animating&&b&&e.flexAnimate(e.getTarget("next"))},e.pause=function(){clearInterval(e.animatedSlides),e.animatedSlides=null,e.playing=!1,e.vars.pausePlay&&q.pausePlay.update("play"),e.syncExists&&q.sync("pause")},e.play=function(){e.playing&&clearInterval(e.animatedSlides),e.animatedSlides=e.animatedSlides||setInterval(e.animateSlides,e.vars.slideshowSpeed),e.started=e.playing=!0,e.vars.pausePlay&&q.pausePlay.update("pause"),e.syncExists&&q.sync("play")},e.stop=function(){e.pause(),e.stopped=!0},e.canAdvance=function(a,b){var c=p?e.pagingCount-1:e.last;return!!b||(!(!p||e.currentItem!==e.count-1||0!==a||"prev"!==e.direction)||(!p||0!==e.currentItem||a!==e.pagingCount-1||"next"===e.direction)&&(!(a===e.currentSlide&&!p)&&(!!e.vars.animationLoop||(!e.atEnd||0!==e.currentSlide||a!==c||"next"===e.direction)&&(!e.atEnd||e.currentSlide!==c||0!==a||"next"!==e.direction))))},e.getTarget=function(a){return e.direction=a,"next"===a?e.currentSlide===e.last?0:e.currentSlide+1:0===e.currentSlide?e.last:e.currentSlide-1},e.setProps=function(a,b,c){var d=function(){var c=a||(e.itemW+e.vars.itemMargin)*e.move*e.animatingTo;return-1*function(){if(n)return"setTouch"===b?a:m&&e.animatingTo===e.last?0:m?e.limit-(e.itemW+e.vars.itemMargin)*e.move*e.animatingTo:e.animatingTo===e.last?e.limit:c;switch(b){case"setTotal":return m?(e.count-1-e.currentSlide+e.cloneOffset)*a:(e.currentSlide+e.cloneOffset)*a;case"setTouch":return a;case"jumpEnd":return m?a:e.count*a;case"jumpStart":return m?e.count*a:a;default:return a}}()+"px"}();e.transitions&&(d=l?"translate3d(0,"+d+",0)":"translate3d("+d+",0,0)",c=void 0!==c?c/1e3+"s":"0s",e.container.css("-"+e.pfx+"-transition-duration",c),e.container.css("transition-duration",c)),e.args[e.prop]=d,(e.transitions||void 0===c)&&e.container.css(e.args),e.container.css("transform",d)},e.setup=function(b){if(o)e.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===b&&(h?e.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+e.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(e.currentSlide).css({opacity:1,zIndex:2}):0==e.vars.fadeFirstSlide?e.slides.css({opacity:0,display:"block",zIndex:1}).eq(e.currentSlide).css({zIndex:2}).css({opacity:1}):e.slides.css({opacity:0,display:"block",zIndex:1}).eq(e.currentSlide).css({zIndex:2}).animate({opacity:1},e.vars.animationSpeed,e.vars.easing)),e.vars.smoothHeight&&q.smoothHeight();else{var c,d;"init"===b&&(e.viewport=a('
      ').css({overflow:"hidden",position:"relative"}).appendTo(e).append(e.container),e.cloneCount=0,e.cloneOffset=0,m&&(d=a.makeArray(e.slides).reverse(),e.slides=a(d),e.container.empty().append(e.slides))),e.vars.animationLoop&&!n&&(e.cloneCount=2,e.cloneOffset=1,"init"!==b&&e.container.find(".clone").remove(),e.container.append(q.uniqueID(e.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(q.uniqueID(e.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),e.newSlides=a(e.vars.selector,e),c=m?e.count-1-e.currentSlide+e.cloneOffset:e.currentSlide+e.cloneOffset,l&&!n?(e.container.height(200*(e.count+e.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){e.newSlides.css({display:"block"}),e.doMath(),e.viewport.height(e.h),e.setProps(c*e.h,"init")},"init"===b?100:0)):(e.container.width(200*(e.count+e.cloneCount)+"%"),e.setProps(c*e.computedW,"init"),setTimeout(function(){e.doMath(),e.newSlides.css({width:e.computedW,marginRight:e.computedM,float:"left",display:"block"}),e.vars.smoothHeight&&q.smoothHeight()},"init"===b?100:0))}n||e.slides.removeClass(f+"active-slide").eq(e.currentSlide).addClass(f+"active-slide"),e.vars.init(e)},e.doMath=function(){var a=e.slides.first(),b=e.vars.itemMargin,c=e.vars.minItems,d=e.vars.maxItems;e.w=void 0===e.viewport?e.width():e.viewport.width(),e.h=a.height(),e.boxPadding=a.outerWidth()-a.width(),n?(e.itemT=e.vars.itemWidth+b,e.itemM=b,e.minW=c?c*e.itemT:e.w,e.maxW=d?d*e.itemT-b:e.w,e.itemW=e.minW>e.w?(e.w-b*(c-1))/c:e.maxWe.w?e.w:e.vars.itemWidth,e.visible=Math.floor(e.w/e.itemW),e.move=e.vars.move>0&&e.vars.movee.w?e.itemW*(e.count-1)+b*(e.count-1):(e.itemW+b)*e.count-e.w-b):(e.itemW=e.w,e.itemM=b,e.pagingCount=e.count,e.last=e.count-1),e.computedW=e.itemW-e.boxPadding,e.computedM=e.itemM},e.update=function(a,b){e.doMath(),n||(ae.controlNav.length?q.controlNav.update("add"):("remove"===b&&!n||e.pagingCounte.last&&(e.currentSlide-=1,e.animatingTo-=1),q.controlNav.update("remove",e.last))),e.vars.directionNav&&q.directionNav.update()},e.addSlide=function(b,c){var d=a(b);e.count+=1,e.last=e.count-1,l&&m?void 0!==c?e.slides.eq(e.count-c).after(d):e.container.prepend(d):void 0!==c?e.slides.eq(c).before(d):e.container.append(d),e.update(c,"add"),e.slides=a(e.vars.selector+":not(.clone)",e),e.setup(),e.vars.added(e)},e.removeSlide=function(b){var c=isNaN(b)?e.slides.index(a(b)):b;e.count-=1,e.last=e.count-1,isNaN(b)?a(b,e.slides).remove():l&&m?e.slides.eq(e.last).remove():e.slides.eq(b).remove(),e.doMath(),e.update(c,"remove"),e.slides=a(e.vars.selector+":not(.clone)",e),e.setup(),e.vars.removed(e)},q.init()},a(window).blur(function(a){b=!1}).focus(function(a){b=!0}),a.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},a.fn.flexslider=function(b){if(void 0===b&&(b={}),"object"==typeof b)return this.each(function(){var c=a(this),d=b.selector?b.selector:".slides > li",e=c.find(d);1===e.length&&!0===b.allowOneSlide||0===e.length?(e.fadeIn(400),b.start&&b.start(c)):void 0===c.data("flexslider")&&new a.flexslider(this,b)});var c=a(this).data("flexslider");switch(b){case"play":c.play();break;case"pause":c.pause();break;case"stop":c.stop();break;case"next":c.flexAnimate(c.getTarget("next"),!0);break;case"prev":case"previous":c.flexAnimate(c.getTarget("prev"),!0);break;default:"number"==typeof b&&c.flexAnimate(b,!0)}}}(jQuery);var AppSlider={handleBackgroundChange:function(){"use strict";var a=["#00b2ff","#ffc800","#ff2837","#64be00","#ff8900"];$("#intro-background").css({"background-color":a[Math.floor(Math.random()*a.length)]})},handleMoreRelatedLinks:function(){"use strict";$("#more-related-links.section-hidden").hide(),$(".btn-more-links").on("click",function(){$("#more-related-links.section-hidden").slideToggle(),$(this).toggleClass("expanded")})},handleFullPageDeck:function(){"use strict";$.fn.fullpage&&($("#intro-deck-video").fullpage({scrollBar:!0,fixedElements:"#header",verticalCentered:!0,autoScrolling:!1,fitToSection:!1,afterRender:function(){$("video").get(0).play()}}),$("#intro-deck").fullpage({scrollBar:!0,fixedElements:"#header",slidesNavigation:!0,verticalCentered:!0,autoScrolling:!1,fitToSection:!1,afterRender:function(){setInterval(function(){$.fn.fullpage.moveSlideRight()},6e3)}}),$("#about-deck").fullpage({scrollBar:!0,fixedElements:"#header",slidesNavigation:!0,verticalCentered:!0,autoScrolling:!1,fitToSection:!1,onLeave:function(a,b,c){$(".about-avatar").removeClass("animated")},afterLoad:function(a,b){$(this);1===b&&$(".about-avatar").addClass("animated"),3===b&&$(".count").each(function(){$(this).prop("Counter",0).animate({Counter:$(this).text()},{duration:600,easing:"swing",step:function(a){$(this).text(Math.ceil(a))}})})}}))},handleModalVerticalCenter:function(){"use strict";function a(){var a=$(this),b=a.find(".modal-dialog");a.css("display","block"),b.css("margin-top",Math.max(0,($(window).height()-b.height())/2))}$(".modal").on("show.bs.modal",a),$(window).on("resize",function(){$(".modal:visible").each(a)})},handleNormalSlides:function(){"use strict";$("#normal-slider").flexslider({animation:"slide",prevText:"",nextText:"",touch:$(".flexslider li").length>1})},handlePopup:function(){"use strict";$(".popup-youtube, .popup-vimeo, .popup-gmaps").magnificPopup({type:"iframe",closeOnContentClick:!1,alignTop:!1,midClick:!1,fixedContentPos:!0,removalDelay:300,mainClass:"mfp-fade",overflowY:"auto",closeOnBgClick:!0,enableEscapeKey:!0,callbacks:{beforeOpen:function(){this.st.mainClass=this.st.el.attr("data-effect")}},preloader:!1}),$(".popup-ajax").magnificPopup({type:"ajax",closeOnContentClick:!1,alignTop:!1,midClick:!1,fixedContentPos:!0,removalDelay:300,mainClass:"mfp-fade",overflowY:"auto",closeOnBgClick:!0,enableEscapeKey:!0,callbacks:{beforeOpen:function(){this.st.mainClass=this.st.el.attr("data-effect")}},preloader:!1}),$(".popup-gallery").magnificPopup({delegate:"a",type:"image",closeOnContentClick:!0,closeBtnInside:!0,midClick:!0,fixedContentPos:!0,tLoading:"",mainClass:"mfp-img-mobile mfp-with-zoom",closeMarkup:'',gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]},image:{tError:'The image #%curr% could not be loaded.'},callbacks:{beforeOpen:function(){$("html").addClass("mfp-helper")},close:function(){$("html").removeClass("mfp-helper")}},zoom:{enabled:!0,duration:300}})},init:function(){"use strict";this.handleBackgroundChange(),this.handleMoreRelatedLinks(),this.handleFullPageDeck(),this.handleModalVerticalCenter(),this.handleNormalSlides(),this.handlePopup()}}; $(window).load(function(){AppSlider.init();});$(document).ready(function(){App.init();});