1function ChopScroll(e,t,i){function n(){jQuery(window).scroll(function(){s.isExecuteTime=!0}),s.interval=setInterval(function(){if(s.isExecuteTime){try{e()}catch(t){console.log(t)}s.isExecuteTime=!1}},s.timeout)}this.timeout=t,this.handler=e,this.name=i||"unnamed",this.isExecuteTime=!0,this.interval="";var s=this;n()}!function(e){e.fn.addBack=e.fn.addBack||e.fn.andSelf,e.fn.extend({actual:function(t,i){if(!this[t])throw'$.actual => The jQuery method "'+t+'" you called does not exist';var n={absolute:!1,clone:!1,includeMargin:!1},s=e.extend(n,i),o=this.eq(0),a,r;if(s.clone===!0)a=function(){var e="position: absolute !important; top: -1000 !important; ";o=o.clone().attr("style",e).appendTo("body")},r=function(){o.remove()};else{var l=[],c="",u;a=function(){u=o.parents().addBack().filter(":hidden"),c+="visibility: hidden !important; display: block !important; ",s.absolute===!0&&(c+="position: absolute !important; "),u.each(function(){var t=e(this);l.push(t.attr("style")),t.attr("style",c)})},r=function(){u.each(function(t){var i=e(this),n=l[t];void 0===n?i.removeAttr("style"):i.attr("style",n)})}}a();var d=/(outer)/.test(t)?o[t](s.includeMargin):o[t]();return r(),d}})}(jQuery),function(e){e.fn.fullpage=function(t){function i(){e(".section").each(function(){var t=e(this).find(".slide");t.length?t.each(function(){y(e(this))}):y(e(this))}),e.isFunction(t.afterRender)&&t.afterRender.call(this)}function n(){if(!t.autoScrolling){var i=e(window).scrollTop(),n=e(".section").map(function(){return e(this).offset().top<i+100?e(this):void 0}),s=n[n.length-1];if(!s.hasClass("active")){var o=e(".section.active").index(".section")+1;X=!0;var a=v(s);s.addClass("active").siblings().removeClass("active");var r=s.data("anchor");e.isFunction(t.onLeave)&&t.onLeave.call(this,o,s.index(".section")+1,a),e.isFunction(t.afterLoad)&&t.afterLoad.call(this,r,s.index(".section")+1),m(r),f(r,0),t.anchors.length&&!H&&(j=r,location.hash=r),clearTimeout(K),K=setTimeout(function(){X=!1},100)}}}function s(i){var n=i.originalEvent;if(t.autoScrolling&&i.preventDefault(),!o(i.target)){var s=!1,a=e(".section.active"),r;if(!H&&!W){var l=D(n);if($=l.y,et=l.x,a.find(".slides").length&&Math.abs(Z-et)>Math.abs(J-$))Math.abs(Z-et)>e(window).width()/100*t.touchSensitivity&&(Z>et?e.fn.fullpage.moveSlideRight():e.fn.fullpage.moveSlideLeft());else if(t.autoScrolling&&(r=a.find(".slides").length?a.find(".slide.active").find(".scrollable"):a.find(".scrollable"),Math.abs(J-$)>e(window).height()/100*t.touchSensitivity))if(J>$)if(r.length>0){if(!g("bottom",r))return!0;e.fn.fullpage.moveSectionDown()}else e.fn.fullpage.moveSectionDown();else if($>J)if(r.length>0){if(!g("top",r))return!0;e.fn.fullpage.moveSectionUp()}else e.fn.fullpage.moveSectionUp()}}}function o(i,n){n=n||0;var s=e(i).parent();return n<t.normalScrollElementTouchThreshold&&s.is(t.normalScrollElements)?!0:n==t.normalScrollElementTouchThreshold?!1:o(s,++n)}function a(e){var t=e.originalEvent,i=D(t);J=i.y,Z=i.x}function r(i){if(t.autoScrolling){i=window.event||i;var n=Math.max(-1,Math.min(1,i.wheelDelta||-i.deltaY||-i.detail)),s,o=e(".section.active");if(!H)if(s=o.find(".slides").length?o.find(".slide.active").find(".scrollable"):o.find(".scrollable"),0>n)if(s.length>0){if(!g("bottom",s))return!0;e.fn.fullpage.moveSectionDown()}else e.fn.fullpage.moveSectionDown();else if(s.length>0){if(!g("top",s))return!0;e.fn.fullpage.moveSectionUp()}else e.fn.fullpage.moveSectionUp();return!1}}function l(i){var n=e(".section.active"),s=n.find(".slides");if(s.length&&!W){var o=s.find(".slide.active"),a=null;if(a="prev"===i?o.prev(".slide"):o.next(".slide"),!a.length){if(!t.loopHorizontal)return;a=o.siblings("prev"===i?":last":":first")}W=!0,h(s,a)}}function c(i,n,s){var o={},a,r=i.position();if("undefined"!=typeof r){var l=r.top,c=v(i),u=i.data("anchor"),d=i.index(".section"),h=i.find(".slide.active"),p=e(".section.active"),g=p.index(".section")+1,w=q;if(h.length)var y=h.data("anchor"),b=h.index();if(t.autoScrolling&&t.continuousVertical&&"undefined"!=typeof s&&(!s&&"up"==c||s&&"down"==c)){s?e(".section.active").before(p.nextAll(".section")):e(".section.active").after(p.prevAll(".section").get().reverse()),z(e(".section.active").position().top);var _=p;r=i.position(),l=r.top,c=v(i)}i.addClass("active").siblings().removeClass("active"),H=!0,"undefined"!=typeof u&&k(b,y,u),t.autoScrolling?(o.top=-l,a="."+Y):(o.scrollTop=l,a="html, body");var S=function(){_&&_.length&&(s?e(".section:first").before(_):e(".section:last").after(_),z(e(".section.active").position().top))};if(t.css3&&t.autoScrolling){e.isFunction(t.onLeave)&&!w&&t.onLeave.call(this,g,d+1,c);var x="translate3d(0px, -"+l+"px, 0px)";C(x,!0),setTimeout(function(){S(),e.isFunction(t.afterLoad)&&!w&&t.afterLoad.call(this,u,d+1),setTimeout(function(){H=!1,e.isFunction(n)&&n.call(this)},N)},t.scrollingSpeed)}else e.isFunction(t.onLeave)&&!w&&t.onLeave.call(this,g,d+1,c),e(a).animate(o,t.scrollingSpeed,t.easing,function(){S(),e.isFunction(t.afterLoad)&&!w&&t.afterLoad.call(this,u,d+1),setTimeout(function(){H=!1,e.isFunction(n)&&n.call(this)},N)});j=u,t.autoScrolling&&(m(u),f(u,d))}}function u(){var e=window.location.hash.replace("#","").split("/"),t=e[0],i=e[1];t&&x(t,i)}function d(){if(!X){var e=window.location.hash.replace("#","").split("/"),t=e[0],i=e[1],n="undefined"==typeof j,s="undefined"==typeof j&&"undefined"==typeof i&&!W;(t&&t!==j&&!n||s||!W&&V!=i)&&x(t,i)}}function h(i,n){var s=n.position(),o=i.find(".slidesContainer").parent(),a=n.index(),r=i.closest(".section"),l=r.
1index(".section"),c=r.data("anchor"),u=r.find(".fullPage-slidesNav"),d=n.data("anchor"),h=q;if(t.onSlideLeave){var p=r.find(".slide.active").index(),f=w(p,a);h||e.isFunction(t.onSlideLeave)&&t.onSlideLeave.call(this,c,l+1,p,f)}if(n.addClass("active").siblings().removeClass("active"),"undefined"==typeof d&&(d=a),r.hasClass("active")&&(t.loopHorizontal||(r.find(".controlArrow.prev").toggle(0!=a),r.find(".controlArrow.next").toggle(!n.is(":last-child"))),k(a,d,c)),t.css3){var m="translate3d(-"+s.left+"px, 0px, 0px)";i.find(".slidesContainer").toggleClass("easing",t.scrollingSpeed>0).css(R(m)),setTimeout(function(){h||e.isFunction(t.afterSlideLoad)&&t.afterSlideLoad.call(this,c,l+1,d,a),W=!1},t.scrollingSpeed,t.easing)}else o.animate({scrollLeft:s.left},t.scrollingSpeed,t.easing,function(){h||e.isFunction(t.afterSlideLoad)&&t.afterSlideLoad.call(this,c,l+1,d,a),W=!1});u.find(".active").removeClass("active"),u.find("li").eq(a).find("a").addClass("active")}function p(t,i){var n=825,s=t;if(825>t||900>i){900>i&&(s=i,n=900);var o=100*s/n,a=o.toFixed(2);e("body").css("font-size",a+"%")}else e("body").css("font-size","100%")}function f(i,n){t.navigation&&(e("#fullPage-nav").find(".active").removeClass("active"),i?e("#fullPage-nav").find('a[href="#'+i+'"]').addClass("active"):e("#fullPage-nav").find("li").eq(n).find("a").addClass("active"))}function m(i){t.menu&&(e(t.menu).find(".active").removeClass("active"),e(t.menu).find('[data-menuanchor="'+i+'"]').addClass("active"))}function g(e,t){return"top"===e?!t.scrollTop():"bottom"===e?t.scrollTop()+1+t.innerHeight()>=t[0].scrollHeight:void 0}function v(t){var i=e(".section.active").index(".section"),n=t.index(".section");return i>n?"up":"down"}function w(e,t){return e==t?"none":e>t?"left":"right"}function y(e){e.css("overflow","hidden");var i=e.closest(".section"),n=e.find(".scrollable");if(n.length)var s=e.find(".scrollable").get(0).scrollHeight;else{var s=e.get(0).scrollHeight;t.verticalCentered&&(s=e.find(".tableCell").get(0).scrollHeight)}var o=G-parseInt(i.css("padding-bottom"))-parseInt(i.css("padding-top"));s>o?n.length?n.css("height",o+"px").parent().css("height",o+"px"):(t.verticalCentered?e.find(".tableCell").wrapInner('<div class="scrollable" />'):e.wrapInner('<div class="scrollable" />'),e.find(".scrollable").slimScroll({height:o+"px",size:"10px",alwaysVisible:!0})):b(e),e.css("overflow","")}function b(e){e.find(".scrollable").children().first().unwrap().unwrap(),e.find(".slimScrollBar").remove(),e.find(".slimScrollRail").remove()}function _(e){e.addClass("table").wrapInner('<div class="tableCell" style="height:'+S(e)+'px;" />')}function S(e){var i=G;if(t.paddingTop||t.paddingBottom){var n=e;n.hasClass("section")||(n=e.closest(".section"));var s=parseInt(n.css("padding-top"))+parseInt(n.css("padding-bottom"));i=G-s}return i}function C(e,t){F.toggleClass("easing",t),F.css(R(e))}function x(t,i){if("undefined"==typeof i&&(i=0),isNaN(t))var n=e('[data-anchor="'+t+'"]');else var n=e(".section").eq(t-1);t===j||n.hasClass("active")?A(n,i):c(n,function(){A(n,i)})}function A(e,t){if("undefined"!=typeof t){var i=e.find(".slides"),n=i.find('[data-anchor="'+t+'"]');n.length||(n=i.find(".slide").eq(t)),n.length&&h(i,n)}}function T(e,i){e.append('<div class="fullPage-slidesNav"><ul></ul></div>');var n=e.find(".fullPage-slidesNav");n.addClass(t.slidesNavPosition);for(var s=0;i>s;s++)n.find("ul").append('<li><a href="#"><span></span></a></li>');n.css("margin-left","-"+n.width()/2+"px"),n.find("li").first().find("a").addClass("active")}function k(e,i,n){var s="";t.anchors.length&&(e?("undefined"!=typeof n&&(s=n),"undefined"==typeof i&&(i=e),V=i,location.hash=s+"/"+i):"undefined"!=typeof e?(V=i,location.hash=n):location.hash=n)}function P(){var e=document.createElement("p"),t,i={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.insertBefore(e,null);for(var n in i)void 0!==e.style[n]&&(e.style[n]="translate3d(1px,1px,1px)",t=window.getComputedStyle(e).getPropertyValue(i[n]));return document.body.removeChild(e),void 0!==t&&t.length>0&&"none"!==t}function E(){document.addEventListener?(document.removeEventListener("mousewheel",r,!1),document.removeEventListener("wheel",r,!1)):document.detachEvent("onmousewheel",r)}function I(){document.addEventListener?(document.addEventListener("mousewheel",r,!1),document.addEventListener("wheel",r,!1)):document.attachEvent("onmousewheel",r)}function M(){Q&&(MSPointer=B(),e(document).off("touchstart "+MSPointer.down).on("touchstart "+MSPointer.down,a),e(document).off("touchmove "+MSPointer.move).on("touchmove "+MSPointer.move,s))}function L(){Q&&(MSPointer=B(),e(document).off("touchstart "+MSPointer.down),e(document).off("touchmove "+MSPointer.move))}function B(){var e;return e=window.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function D(e){var t=new Array;return window.navigator.msPointerEnabled?(t.y=e.pageY,t.x=e.pageX):(t.y=e.touches[0].pageY,t.x=e.touches[0].pageX),t}function z(e){if(t.css3){var i="translate3d(0px, -"+e+"px, 0px)";C(i,!1)}else F.css("top",-e)}function R(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function O(){z(0),e("#fullPage-nav, .fullPage-slidesNav, .controlArrow").remove(),e(".
1section").css({height:"","background-color":"",padding:""}),e(".slide").css({width:""}),F.css({height:"",position:"","-ms-touch-action":""}),e(".section, .slide").each(function(){b(e(this)),e(this).removeClass("table active")}),F.find(".easing").removeClass("easing"),F.find(".tableCell, .slidesContainer, .slides").each(function(){e(this).replaceWith(this.childNodes)}),e("html, body").scrollTop(0),F.addClass("fullpage-used")}t=e.extend({verticalCentered:!0,resize:!0,sectionsColor:[],anchors:[],scrollingSpeed:700,easing:"easeInQuart",menu:!1,navigation:!1,navigationPosition:"right",navigationColor:"#000",navigationTooltips:[],slidesNavigation:!1,slidesNavPosition:"bottom",controlArrowColor:"#fff",loopBottom:!1,loopTop:!1,loopHorizontal:!0,autoScrolling:!0,scrollOverflow:!1,css3:!1,paddingTop:0,paddingBottom:0,fixedElements:null,normalScrollElements:null,keyboardScrolling:!0,touchSensitivity:5,continuousVertical:!1,animateAnchor:!0,normalScrollElementTouchThreshold:5,afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterSlideLoad:null,onSlideLeave:null},t),t.continuousVertical&&(t.loopTop||t.loopBottom)&&(t.continuousVertical=!1,console&&console.log&&console.log("Option loopTop/loopBottom is mutually exclusive with continuousVertical; continuousVertical disabled"));var N=600;e.fn.fullpage.setAutoScrolling=function(i){t.autoScrolling=i;var n=e(".section.active");t.autoScrolling?(e("html, body").css({overflow:"hidden",height:"100%"}),n.length&&z(n.position().top)):(e("html, body").css({overflow:"auto",height:"auto"}),z(0),e("html, body").scrollTop(n.position().top))},e.fn.fullpage.setScrollingSpeed=function(e){t.scrollingSpeed=e},e.fn.fullpage.setMouseWheelScrolling=function(e){e?I():E()},e.fn.fullpage.setAllowScrolling=function(t){t?(e.fn.fullpage.setMouseWheelScrolling(!0),M()):(e.fn.fullpage.setMouseWheelScrolling(!1),L())},e.fn.fullpage.setKeyboardScrolling=function(e){t.keyboardScrolling=e};var W=!1,Q=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|Windows Phone|Tizen|Bada)/),F=e(this),G=e(window).height(),H=!1,q=!1,j,V,Y="fullpage-wrapper";if(e.fn.fullpage.setAllowScrolling(!0),t.css3&&(t.css3=P()),e(this).length?(F.css({height:"100%",position:"relative","-ms-touch-action":"none"}),F.addClass(Y)):console.error("Error! Fullpage.js needs to be initialized with a selector. For example: $('#myContainer').fullpage();"),t.navigation){e("body").append('<div id="fullPage-nav"><ul></ul></div>');var U=e("#fullPage-nav");U.css("color",t.navigationColor),U.addClass(t.navigationPosition)}e(".section").each(function(i){var n=e(this),s=e(this).find(".slide"),o=s.length;if(i||0!==e(".section.active").length||e(this).addClass("active"),e(this).css("height",G+"px"),(t.paddingTop||t.paddingBottom)&&e(this).css("padding",t.paddingTop+" 0 "+t.paddingBottom+" 0"),"undefined"!=typeof t.sectionsColor[i]&&e(this).css("background-color",t.sectionsColor[i]),"undefined"!=typeof t.anchors[i]&&e(this).attr("data-anchor",t.anchors[i]),t.navigation){var a="";t.anchors.length&&(a=t.anchors[i]);var r=t.navigationTooltips[i];"undefined"==typeof r&&(r=""),U.find("ul").append('<li data-tooltip="'+r+'"><a href="#'+a+'"><span></span></a></li>')}if(o>1){var l=100*o,c=100/o;s.wrapAll('<div class="slidesContainer" />'),s.parent().wrap('<div class="slides" />'),e(this).find(".slidesContainer").css("width",l+"%"),e(this).find(".slides").after('<div class="controlArrow prev"></div><div class="controlArrow next"></div>'),"#fff"!=t.controlArrowColor&&(e(this).find(".controlArrow.next").css("border-color","transparent transparent transparent "+t.controlArrowColor),e(this).find(".controlArrow.prev").css("border-color","transparent "+t.controlArrowColor+" transparent transparent")),t.loopHorizontal||e(this).find(".controlArrow.prev").hide(),t.slidesNavigation&&T(e(this),o),s.each(function(i){i||0!=n.find(".slide.active").length||e(this).addClass("active"),e(this).css("width",c+"%"),t.verticalCentered&&_(e(this))})}else t.verticalCentered&&_(e(this))}).promise().done(function(){e.fn.fullpage.setAutoScrolling(t.autoScrolling);var n=e(".section.active").find(".slide.active");if(n.length&&(0!=e(".section.active").index(".section")||0==e(".section.active").index(".section")&&0!=n.index())){var s=t.scrollingSpeed;e.fn.fullpage.setScrollingSpeed(0),h(e(".section.active").find(".slides"),n),e.fn.fullpage.setScrollingSpeed(s)}t.fixedElements&&t.css3&&e(t.fixedElements).appendTo("body"),t.navigation&&(U.css("margin-top","-"+U.height()/2+"px"),U.find("li").eq(e(".section.active").index(".section")).find("a").addClass("active")),t.menu&&t.css3&&e(t.menu).closest(".fullpage-wrapper").length&&e(t.menu).appendTo("body"),t.scrollOverflow?(F.hasClass("fullpage-used")&&i(),e(window).on("load",i)):e.isFunction(t.afterRe
1nder)&&t.afterRender.call(this);var o=window.location.hash.replace("#","").split("/"),a=o[0];if(a.length){var r=e('[data-anchor="'+a+'"]');!t.animateAnchor&&r.length&&(z(r.position().top),e.isFunction(t.afterLoad)&&t.afterLoad.call(this,a,r.index(".section")+1),r.addClass("active").siblings().removeClass("active"))}e(window).on("load",function(){u()})});var K,X=!1;e(window).on("scroll",n);var J=0,Z=0,$=0,et=0;if(e.fn.fullpage.moveSectionUp=function(){var i=e(".section.active").prev(".section");i.length||!t.loopTop&&!t.continuousVertical||(i=e(".section").last()),i.length&&c(i,null,!0)},e.fn.fullpage.moveSectionDown=function(){var i=e(".section.active").next(".section");i.length||!t.loopBottom&&!t.continuousVertical||(i=e(".section").first()),(i.length>0||!i.length&&(t.loopBottom||t.continuousVertical))&&c(i,null,!1)},e.fn.fullpage.moveTo=function(t,i){var n="";n=isNaN(t)?e('[data-anchor="'+t+'"]'):e(".section").eq(t-1),"undefined"!=typeof i?x(t,i):n.length>0&&c(n)},e.fn.fullpage.moveSlideRight=function(){l("next")},e.fn.fullpage.moveSlideLeft=function(){l("prev")},e(window).on("hashchange",d),e(document).keydown(function(i){if(t.keyboardScrolling&&!H)switch(i.which){case 38:case 33:e.fn.fullpage.moveSectionUp();break;case 40:case 34:e.fn.fullpage.moveSectionDown();break;case 36:e.fn.fullpage.moveTo(1);break;case 35:e.fn.fullpage.moveTo(e(".section").length);break;case 37:e.fn.fullpage.moveSlideLeft();break;case 39:e.fn.fullpage.moveSlideRight();break;default:return}}),e(document).on("click","#fullPage-nav a",function(t){t.preventDefault();var i=e(this).parent().index();c(e(".section").eq(i))}),e(document).on({mouseenter:function(){var i=e(this).data("tooltip");e('<div class="fullPage-tooltip '+t.navigationPosition+'">'+i+"</div>").hide().appendTo(e(this)).fadeIn(200)},mouseleave:function(){e(this).find(".fullPage-tooltip").fadeOut().remove()}},"#fullPage-nav li"),t.normalScrollElements&&(e(document).on("mouseover",t.normalScrollElements,function(){e.fn.fullpage.setMouseWheelScrolling(!1)}),e(document).on("mouseout",t.normalScrollElements,function(){e.fn.fullpage.setMouseWheelScrolling(!0)})),e(".section").on("click",".controlArrow",function(){e(this).hasClass("prev")?e.fn.fullpage.moveSlideLeft():e.fn.fullpage.moveSlideRight()}),e(".section").on("click",".toSlide",function(t){t.preventDefault();var i=e(this).closest(".section").find(".slides"),n=i.find(".slide.active"),s=null;s=i.find(".slide").eq(e(this).data("index")-1),s.length>0&&h(i,s)}),!Q){var tt;e(window).resize(function(){clearTimeout(tt),tt=setTimeout(e.fn.fullpage.reBuild,500)})}var it="onorientationchange"in window,nt=it?"orientationchange":"resize";e(window).bind(nt,function(){Q&&e.fn.fullpage.reBuild()}),e.fn.fullpage.reBuild=function(){q=!0;var i=e(window).width();G=e(window).height(),t.resize&&p(G,i),e(".section").each(function(){var i=G-parseInt(e(this).css("padding-bottom"))-parseInt(e(this).css("padding-top"));if(t.verticalCentered&&e(this).find(".tableCell").css("height",S(e(this))+"px"),e(this).css("height",G+"px"),t.scrollOverflow){var n=e(this).find(".slide");n.length?n.each(function(){y(e(this))}):y(e(this))}var n=e(this).find(".slides");n.length&&h(n,n.find(".slide.active"))});var n=e(".section.active").position(),s=e(".section.active");s.index(".section")&&c(s),q=!1,e.isFunction(t.afterResize)&&t.afterResize.call(this)},e(document).on("click",".fullPage-slidesNav a",function(t){t.preventDefault();var i=e(this).closest(".section").find(".slides"),n=i.find(".slide").eq(e(this).closest("li").index());h(i,n)}),e.fn.fullpage.destroy=function(i){e.fn.fullpage.setAutoScrolling(!1),e.fn.fullpage.setAllowScrolling(!1),e.fn.fullpage.setKeyboardScrolling(!1),e(window).off("scroll",n).off("hashchange",d),e(document).off("click","#fullPage-nav a").off("mouseenter","#fullPage-nav li").off("mouseleave","#fullPage-nav li").off("click",".fullPage-slidesNav a").off("mouseover",t.normalScrollElements).off("mouseout",t.normalScrollElements),e(".section").off("click",".controlArrow").off("click",".toSlide"),i&&O()}}}(jQuery),/*! 2 * VERSION: 1.11.8 3 * DATE: 2014-05-13 4 * UPDATES AND DOCS AT: http://www.greensock.com 5 * 6 * @license Copyright (c) 2008-2014, GreenSock. All rights reserved. 7 * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
8 * Club GreenSock members, the software agreement that was issued with your membership. 9 * 10 * @author: Jack Doyle, [email protected] 11 */ 12function(e){"use strict";var t=e.GreenSockGlobals||e;if(!t.TweenLite){var i,n,s,o,a,r=function(e){var i,n=e.split("."),s=t;for(i=0;n.length>i;i++)s[n[i]]=s=s[n[i]]||{};return s},l=r("com.greensock"),c=1e-10,u=[].slice,d=function(){},h=function(){var e=Object.prototype.toString,t=e.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&e.call(i)===t)}}(),p={},f=function(i,n,s,o){this.sc=p[i]?p[i].sc:[],p[i]=this,this.gsClass=null,this.func=s;var a=[];this.check=function(l){for(var c,u,d,h,m=n.length,g=m;--m>-1;)(c=p[n[m]]||new f(n[m],[])).gsClass?(a[m]=c.gsClass,g--):l&&c.sc.push(this);if(0===g&&s)for(u=("com.greensock."+i).split("."),d=u.pop(),h=r(u.join("."))[d]=this.gsClass=s.apply(s,a),o&&(t[d]=h,"function"==typeof define&&define.amd?define((e.GreenSockAMDPath?e.GreenSockAMDPath+"/":"")+i.split(".").join("/"),[],function(){return h}):"undefined"!=typeof module&&module.exports&&(module.exports=h)),m=0;this.sc.length>m;m++)this.sc[m].check()},this.check(!0)},m=e._gsDefine=function(e,t,i,n){return new f(e,t,i,n)},g=l._class=function(e,t,i){return t=t||function(){},m(e,[],function(){return t},i),t};m.globals=t;var v=[0,0,1,1],w=[],y=g("easing.Ease",function(e,t,i,n){this._func=e,this._type=i||0,this._power=n||0,this._params=t?v.concat(t):v},!0),b=y.map={},_=y.register=function(e,t,i,n){for(var s,o,a,r,c=t.split(","),u=c.length,d=(i||"easeIn,easeOut,easeInOut").split(",");--u>-1;)for(o=c[u],s=n?g("easing."+o,null,!0):l.easing[o]||{},a=d.length;--a>-1;)r=d[a],b[o+"."+r]=b[r+o]=s[r]=e.getRatio?e:e[r]||new e};for(s=y.prototype,s._calcEnd=!1,s.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,i=this._power,n=1===t?1-e:2===t?e:.5>e?2*e:2*(1-e);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===t?1-n:2===t?n:.5>e?n/2:1-n/2},i=["Linear","Quad","Cubic","Quart","Quint,Strong"],n=i.length;--n>-1;)s=i[n]+",Power"+n,_(new y(null,null,1,n),s,"easeOut",!0),_(new y(null,null,2,n),s,"easeIn"+(0===n?",easeNone":"")),_(new y(null,null,3,n),s,"easeInOut");b.linear=l.easing.Linear.easeIn,b.swing=l.easing.Quad.easeInOut;var S=g("events.EventDispatcher",function(e){this._listeners={},this._eventTarget=e||this});s=S.prototype,s.addEventListener=function(e,t,i,n,s){s=s||0;var r,l,c=this._listeners[e],u=0;for(null==c&&(this._listeners[e]=c=[]),l=c.length;--l>-1;)r=c[l],r.c===t&&r.s===i?c.splice(l,1):0===u&&s>r.pr&&(u=l+1);c.splice(u,0,{c:t,s:i,up:n,pr:s}),this!==o||a||o.wake()},s.removeEventListener=function(e,t){var i,n=this._listeners[e];if(n)for(i=n.length;--i>-1;)if(n[i].c===t)return void n.splice(i,1)},s.dispatchEvent=function(e){var t,i,n,s=this._listeners[e];if(s)for(t=s.length,i=this._eventTarget;--t>-1;)n=s[t],n.up?n.c.call(n.s||i,{type:e,target:i}):n.c.call(n.s||i)};var C=e.requestAnimationFrame,x=e.cancelAnimationFrame,A=Date.now||function(){return(new Date).getTime()},T=A();for(i=["ms","moz","webkit","o"],n=i.length;--n>-1&&!C;)C=e[i[n]+"RequestAnimationFrame"],x=e[i[n]+"CancelAnimationFrame"]||e[i[n]+"CancelRequestAnimationFrame"];g("Ticker",function(e,t){var i,n,s,r,l,c=this,u=A(),h=t!==!1&&C,p=function(e){T=A(),c.time=(T-u)/1e3;var t,o=c.time-l;(!i||o>0||e===!0)&&(c.frame++,l+=o+(o>=r?.004:r-o),t=!0),e!==!0&&(s=n(p)),t&&c.dispatchEvent("tick")};S.call(c),c.time=c.frame=0,c.tick=function(){p(!0)},c.sleep=function(){null!=s&&(h&&x?x(s):clearTimeout(s),n=d,s=null,c===o&&(a=!1))},c.wake=function(){null!==s&&c.sleep(),n=0===i?d:h&&C?C:function(e){return setTimeout(e,0|1e3*(l-c.time)+1)},c===o&&(a=!0),p(2)},c.fps=function(e){return arguments.length?(i=e,r=1/(i||60),l=this.time+r,void c.wake()):i},c.useRAF=function(e){return arguments.length?(c.sleep(),h=e,void c.fps(i)):h},c.fps(e),setTimeout(function(){h&&(!s||5>c.frame)&&c.useRAF(!1)},1500)}),s=l.Ticker.prototype=new l.events.EventDispatcher,s.constructor=l.Ticker;var k=g("core.Animation",function(e,t){if(this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=t.immediateRender===!0,this.data=t.data,this._reversed=t.reversed===!0,Q){a||o.wake();var i=this.vars.useFrames?W:Q;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});o=k.ticker=new l.Ticker,s=k.prototype,s._dirty=s._gc=s._initted=s._paused=!1,s._totalTime=s._time=0,s._rawPrevTime=-1,s._next=s._last=s._onUp
vendor: 5,083 bytes, line 12
12date=s._timeline=s.timeline=null,s._paused=!1;var P=function(){a&&A()-T>2e3&&o.wake(),setTimeout(P,2e3)};P(),s.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},s.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},s.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},s.seek=function(e,t){return this.totalTime(Number(e),t!==!1)},s.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,t!==!1,!0)},s.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},s.render=function(){},s.invalidate=function(){return this},s.isActive=function(){var e,t=this._timeline,i=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime())>=i&&i+this.totalDuration()/this._timeScale>e},s._enabled=function(e,t){return a||o.wake(),this._gc=!e,this._active=this.isActive(),t!==!0&&(e&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!e&&this.timeline&&this._timeline._remove(this,!0)),!1},s._kill=function(){return this._enabled(!1,!1)},s.kill=function(e,t){return this._kill(e,t),this},s._uncache=function(e){for(var t=e?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this},s._swapSelfInParams=function(e){for(var t=e.length,i=e.concat();--t>-1;)"{self}"===e[t]&&(i[t]=this);return i},s.eventCallback=function(e,t,i,n){if("on"===(e||"").substr(0,2)){var s=this.vars;if(1===arguments.length)return s[e];null==t?delete s[e]:(s[e]=t,s[e+"Params"]=h(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,s[e+"Scope"]=n),"onUpdate"===e&&(this._onUpdate=t)}return this},s.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},s.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==e&&this.totalTime(this._totalTime*(e/this._duration),!0),this):(this._dirty=!1,this._duration)},s.totalDuration=function(e){return this._dirty=!1,arguments.length?this.duration(e):this._totalDuration},s.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(e>this._duration?this._duration:e,t)):this._time},s.totalTime=function(e,t,i){if(a||o.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>e&&!i&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,s=this._timeline;if(e>n&&!i&&(e=n),this._startTime=(this._paused?this._pauseTime:s._time)-(this._reversed?n-e:e)/this._timeScale,s._dirty||this._uncache(!1),s._timeline)for(;s._timeline;)s._timeline._time!==(s._startTime+s._totalTime)/s._timeScale&&s.totalTime(s._totalTime,!0),s=s._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==e||0===this._duration)&&this.render(e,t,!1)}return this},s.progress=s.totalProgress=function(e,t){return arguments.length?this.totalTime(this.duration()*e,t):this._time/this.duration()},s.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},s.timeScale=function(e){if(!arguments.length)return this._timeScale;if(e=e||c,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/e}return this._timeScale=e,this._uncache(!1)},s.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},s.paused=function(e){if(!arguments.length)return this._paused;if(e!=this._paused&&this._timeline){a||e||o.wake();var t=this._timeline,i=t.rawTime(),n=i-this._pauseTime;!e&&t.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=e?i:null,this._paused=e,this._active=this.isActive(),!e&&0!==n&&this._initted&&this.duration()&&this.render(t.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!e&&this._enabled(!0,!1),this};var E=g("core.SimpleTimeline",function(e){k.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0});s=E.prototype=new k,s.constructor=E,s.kill()._gc=!1,s._first=s._last=null,s._sortChildren=!1,s.add=s.insert=function(e,t){var i,n;if(e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=e._startTime+(this.rawTime()-e._startTime)/e._timeScale),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),i=this._last,this._sortChildren)for(n=e._startTime;i&&i._startTime>n;)i=i._prev;return i?(e._next=i._next,i._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=i,this._timeline&&this._uncache(!0),this},s._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e.t
12imeline=null,e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),this._timeline&&this._uncache(!0)),this},s.render=function(e,t,i){var n,s=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;s;)n=s._next,(s._active||e>=s._startTime&&!s._paused)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(e-s._startTime)*s._timeScale,t,i):s.render((e-s._startTime)*s._timeScale,t,i)),s=n},s.rawTime=function(){return a||o.wake(),this._totalTime};var I=g("TweenLite",function(t,i,n){if(k.call(this,i,n),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 s,o,a,r=t.jquery||t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?N[I.defaultOverwrite]:"number"==typeof l?l>>0:N[l],(r||t instanceof Array||t.push&&h(t))&&"number"!=typeof t[0])for(this._targets=a=u.call(t,0),this._propLookup=[],this._siblings=[],s=0;a.length>s;s++)o=a[s],o?"string"!=typeof o?o.length&&o!==e&&o[0]&&(o[0]===e||o[0].nodeType&&o[0].style&&!o.nodeType)?(a.splice(s--,1),this._targets=a=a.concat(u.call(o,0))):(this._siblings[s]=F(o,this,!1),1===l&&this._siblings[s].length>
121&&G(o,this,null,1,this._siblings[s])):(o=a[s--]=I.selector(o),"string"==typeof o&&a.splice(s+1,1)):a.splice(s--,1);else this._propLookup={},this._siblings=F(t,this,!1),1===l&&this._siblings.length>1&&G(t,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&this.vars.immediateRender!==!1)&&this.render(-this._delay,!1,!0)},!0),M=function(t){return t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType)},L=function(e,t){var i,n={};for(i in e)O[i]||i in t&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!D[i]||D[i]&&D[i]._autoCSS)||(n[i]=e[i],delete e[i]);e.css=n};s=I.prototype=new k,s.constructor=I,s.kill()._gc=!1,s.ratio=0,s._firstPT=s._targets=s._overwrittenProps=s._startAt=null,s._notifyPluginsOfEnabled=!1,I.version="1.11.8",I.defaultEase=s._ease=new y(null,null,1,1),I.defaultOverwrite="auto",I.ticker=o,I.autoSleep=!0,I.selector=e.$||e.jQuery||function(t){return e.$?(I.selector=e.$,e.$(t)):e.document?e.document.getElementById("#"===t.charAt(0)?t.substr(1):t):t};var B=I._internals={isArray:h,isSelector:M},D=I._plugins={},z=I._tweenLookup={},R=0,O=B.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},N={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},W=k._rootFramesTimeline=new E,Q=k._rootTimeline=new E;Q._startTime=o.time,W._startTime=o.frame,Q._active=W._active=!0,k._updateRoot=function(){if(Q.render((o.time-Q._startTime)*Q._timeScale,!1,!1),W.render((o.frame-W._startTime)*W._timeScale,!1,!1),!(o.frame%120)){var e,t,i;for(i in z){for(t=z[i].tweens,e=t.length;--e>-1;)t[e]._gc&&t.splice(e,1);0===t.length&&delete z[i]}if(i=Q._first,(!i||i._paused)&&I.autoSleep&&!W._first&&1===o._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||o.sleep()}}},o.addEventListener("tick",k._updateRoot);var F=function(e,t,i){var n,s,o=e._gsTweenID;if(z[o||(e._gsTweenID=o="t"+R++)]||(z[o]={target:e,tweens:[]}),t&&(n=z[o].tweens,n[s=n.length]=t,i))for(;--s>-1;)n[s]===t&&n.splice(s,1);return z[o].tweens},G=function(e,t,i,n,s){var o,a,r,l;if(1===n||n>=4){for(l=s.length,o=0;l>o;o++)if((r=s[o])!==t)r._gc||r._enabled(!1,!1)&&(a=!0);else if(5===n)break;return a}var u,d=t._startTime+c,h=[],p=0,f=0===t._duration;for(o=s.length;--o>-1;)(r=s[o])===t||r._gc||r._paused||(r._timeline!==t._timeline?(u=u||H(t,0,f),0===H(r,u,f)&&(h[p++]=r)):d>=r._startTime&&r._startTime+r.totalDuration()/r._timeScale>d&&((f||!r._initted)&&2e-10>=d-r._startTime||(h[p++]=r)));for(o=p;--o>-1;)r=h[o],2===n&&r._kill(i,e)&&(a=!0),(2!==n||!r._firstPT&&r._initted)&&r._enabled(!1,!1)&&(a=!0);return a},H=function(e,t,i){for(var n=e._timeline,s=n._timeScale,o=e._startTime;n._timeline;){if(o+=n._startTime,s*=n._timeScale,n._paused)return-100;n=n._timeline}return o/=s,o>t?o-t:i&&o===t||!e._initted&&2*c>o-t?c:(o+=e.totalDuration()/e._timeScale/s)>t+c?0:o-t-c};s._init=function(){var e,t,i,n,s=this.vars,o=this._overwrittenProps,a=this._duration,r=s.immediateRender,l=s.ease;if(s.startAt){if(this._startAt&&this._startAt.render(-1,!0),s.startAt.overwrite=0,s.startAt.immediateRender=!0,this._startAt=I.to(this.target,0,s.startAt),r)if(this._time>0)this._startAt=null;else if(0!==a)return}else if(s.runBackwards&&0!==a)if(this._startAt)this._startAt.render(-1,!0),this._startAt=null;else{i={};for(n in s)O[n]&&"autoCSS"!==n||(i[n]=s[n]);if(i.overwrite=0,i.data="isFromStart",this._startAt=I.to(this.target,0,i),s.immediateRender){if(0===this._time)return}else this._startAt.render(-1,!0)}if(this._ease=l?l instanceof y?s.easeParams instanceof Array?l.config.apply(l,s.easeParams):l:"function"==typeof l?new y(l,s.easeParams):b[l]||I.defaultEase:I.defaultEase,this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(e=this._targets.length;--e>-1;)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],o?o[e]:null)&&(t=!0);else t=this._initProps(this.target,this._propLookup,this._siblings,o);if(t&&I._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),s.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=s.onUpdate,this._initted=!0}
12,s._initProps=function(t,i,n,s){var o,a,r,l,c,u;if(null==t)return!1;this.vars.css||t.style&&t!==e&&t.nodeType&&D.css&&this.vars.autoCSS!==!1&&L(this.vars,t);for(o in this.vars){if(u=this.vars[o],O[o])u&&(u instanceof Array||u.push&&h(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[o]=u=this._swapSelfInParams(u,this));else if(D[o]&&(l=new D[o])._onInitTween(t,this.vars[o],this)){for(this._firstPT=c={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:!0,n:o,pg:!0,pr:l._priority},a=l._overwriteProps.length;--a>-1;)i[l._overwriteProps[a]]=this._firstPT;(l._priority||l._onInitAllProps)&&(r=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=i[o]=c={_next:this._firstPT,t:t,p:o,f:"function"==typeof t[o],n:o,pg:!1,pr:0},c.s=c.f?t[o.indexOf("set")||"function"!=typeof t["get"+o.substr(3)]?o:"get"+o.substr(3)]():parseFloat(t[o]),c.c="string"==typeof u&&"="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*Number(u.substr(2)):Number(u)-c.s||0;c&&c._next&&(c._next._prev=c)}return s&&this._kill(s,t)?this._initProps(t,i,n,s):this._overwrite>1&&this._firstPT&&n.length>1&&G(t,this,i,this._overwrite,n)?(this._kill(i,t),this._initProps(t,i,n,s)):r},s.render=function(e,t,i){var n,s,o,a,r=this._time,l=this._duration;if(e>=l)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,s="onComplete"),0===l&&(a=this._rawPrevTime,this._startTime===this._timeline._duration&&(e=0),(0===e||0>a||a===c)&&a!==e&&(i=!0,a>c&&(s="onReverseComplete")),this._rawPrevTime=a=!t||e||this._rawPrevTime===e?e:c);else if(1e-7>e)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==r||0===l&&this._rawPrevTime>0&&this._rawPrevTime!==c)&&(s="onReverseComplete",n=this._reversed),0>e?(this._active=!1,0===l&&(this._rawPrevTime>=0&&(i=!0),this._rawPrevTime=a=!t||e||this._rawPrevTime===e?e:c)):this._initted||(i=!0);else if(this._totalTime=this._time=e,this._easeType){var u=e/l,d=this._easeType,h=this._easePower;(1===d||3===d&&u>=.5)&&(u=1-u),3===d&&(u*=2),1===h?u*=u:2===h?u*=u*u:3===h?u*=u*u*u:4===h&&(u*=u*u*u*u),this.ratio=1===d?1-u:2===d?u:.5>e/l?u/2:1-u/2}else this.ratio=this._ease.getRatio(e/l);if(this._time!==r||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;this._time&&!n?this.ratio=this._ease.getRatio(this._time/l):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._active||!this._paused&&this._time!==r&&e>=0&&(this._active=!0),0===r&&(this._startAt&&(e>=0?this._startAt.render(e,t,i):s||(s="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||w))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(0>e&&this._startAt&&this._startTime&&this._startAt.render(e,t,i),t||(this._time!==r||n)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||w)),s&&(this._gc||(0>e&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(e,t,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[s]&&this.vars[s].apply(this.vars[s+"Scope"]||this,this.vars[s+"Params"]||w),0===l&&this._rawPrevTime===c&&a!==c&&(this._rawPrevTime=0)))}},s._kill=function(e,t){if("all"===e&&(e=null),null==e&&(null==t||t===this.target))return this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:I.selector(t)||t;var i,n,s,o,a,r,l,c;if((h(t)||M(t))&&"number"!=typeof t[0])for(i=t.length;--i>-1;
12)this._kill(e,t[i])&&(r=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(t===this._targets[i]){a=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[i]=e?this._overwrittenProps[i]||{}:"all";break}}else{if(t!==this.target)return!1;a=this._propLookup,n=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(a){l=e||a,c=e!==n&&"all"!==n&&e!==a&&("object"!=typeof e||!e._tempKill);for(s in l)(o=a[s])&&(o.pg&&o.t._kill(l)&&(r=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete a[s]),c&&(n[s]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return r},s.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},s._enabled=function(e,t){if(a||o.wake(),e&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=F(n[i],this,!0);else this._siblings=F(this.target,this,!0)}return k.prototype._enabled.call(this,e,t),this._notifyPluginsOfEnabled&&this._firstPT?I._onPluginEvent(e?"_onEnable":"_onDisable",this):!1},I.to=function(e,t,i){return new I(e,t,i)},I.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new I(e,t,i)},I.fromTo=function(e,t,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new I(e,t,n)},I.delayedCall=function(e,t,i,n,s){return new I(t,0,{delay:e,onComplete:t,onCompleteParams:i,onCompleteScope:n,onReverseComplete:t,onReverseCompleteParams:i,onReverseCompleteScope:n,immediateRender:!1,useFrames:s,overwrite:0})},I.set=function(e,t){return new I(e,0,t)},I.getTweensOf=function(e,t){if(null==e)return[];e="string"!=typeof e?e:I.selector(e)||e;var i,n,s,o;if((h(e)||M(e))&&"number"!=typeof e[0]){for(i=e.length,n=[];--i>-1;)n=n.concat(I.getTweensOf(e[i],t));for(i=n.length;--i>-1;)for(o=n[i],s=i;--s>-1;)o===n[s]&&n.splice(i,1)}else for(n=F(e).concat(),i=n.length;--i>-1;)(n[i]._gc||t&&!n[i].isActive())&&n.splice(i,1);return n},I.killTweensOf=I.killDelayedCallsTo=function(e,t,i){"object"==typeof t&&(i=t,t=!1);for(var n=I.getTweensOf(e,t),s=n.length;--s>-1;)n[s]._kill(i,e)};var q=g("plugins.TweenPlugin",function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=q.prototype},!0);if(s=q.prototype,q.version="1.10.1",q.API=2,s._firstPT=null,s._addTween=function(e,t,i,n,s,o){var a,r;return null!=n&&(a="number"==typeof n||"="!==n.charAt(1)?Number(n)-i:parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)))?(this._firstPT=r={_next:this._firstPT,t:e,p:t,s:i,c:a,f:"function"==typeof e[t],n:s||t,r:o},r._next&&(r._next._prev=r),r):void 0},s.setRatio=function(e){for(var t,i=this._firstPT,n=1e-6;i;)t=i.c*e+i.s,i.r?t=Math.round(t):n>t&&t>-n&&(t=0),i.f?i.t[i.p](t):i.t[i.p]=t,i=i._next},s._kill=function(e){var t,i=this._overwriteProps,n=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=i.length;--t>-1;)null!=e[i[t]]&&i.splice(t,1);for(;n;)null!=e[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},s._roundProps=function(e,t){for(var i=this._firstPT;i;)(e[this._propName]||null!=i.n&&e[i.n.split(this._propName+"_").join("")])&&(i.r=t),i=i._next},I._onPluginEvent=function(e,t){var i,n,s,o,a,r=t._firstPT;if("_onInitAllProps"===e){for(;r;){for(a=r._next,n=s;n&&n.pr>r.pr;)n=n._next;(r._prev=n?n._prev:o)?r._prev._next=r:s=r,(r._next=n)?n._prev=r:o=r,r=a}r=t._firstPT=s}for(;r;)r.pg&&"function"==typeof r.t[e]&&r.t[e]()&&(i=!0),r=r._next;return i},q.activate=function(e){for(var t=e.length;--t>-1;)e[t].API===q.API&&(D[(new e[t])._propName]=e[t]);return!0},m.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,i=e.propName,n=e.priority||0,s=e.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},a=g("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){q.call(this,i,n),this._overwriteProps=s||[]},e.global===!0),r=a.prototype=new q(i);r.constructor=a,a.API=e.API;for(t in o)"function"==typeof e[t]&&(r[o[t]]=e[t]);return a.version=e.version,q.activate([a]),a},i=e._gsQueue){for(n=0;i.length>n;n++)i[n]();for(s in p)p[s].func||e.console.log("GSAP encountered missing dependency: com.greensock."+s)}a=!1}}(window),!function(e){"use strict";var t=function(t,i){this.el=e(t),this.options=e.extend({},e.fn.typed.defaults,i),this.text=this.el.text(),this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.string=this.strings[this.arrayPos
12],this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=1,this.stopArray=this.loop===!1?this.strings.length-1:this.strings.length,this.build()};t.prototype={constructor:t,init:function(){var e=this;setTimeout(function(){e.typewrite(e.string,e.strPos)},e.startDelay)},build:function(){this.init()},typewrite:function(e,t){var i=Math.round(70*Math.random())+this.typeSpeed,n=this;setTimeout(function(){if(n.arrayPos<n.strings.length){if("^"===e.substr(t,1)){var i=e.substr(t+1).indexOf(" "),s=e.substr(t+1,i);e=e.replace("^"+s,"")}else var s=0;setTimeout(function(){if(n.el.text(n.text+e.substr(0,t)),t>e.length&&n.arrayPos<n.stopArray){clearTimeout(i),n.options.onStringTyped();var i=setTimeout(function(){n.backspace(e,t)},n.backDelay)}else if(t++,n.typewrite(e,t),n.loop===!1&&n.arrayPos===n.stopArray&&t===e.length){var i=n.options.callback();clearTimeout(i)}},s)}else n.loop===!0&&n.loopCount===!1?(n.arrayPos=0,n.init()):n.loopCount!==!1&&n.curLoop<n.loopCount&&(n.arrayPos=0,n.curLoop=n.curLoop+1,n.init())},i)},backspace:function(e,t){var i=Math.round(70*Math.random())+this.backSpeed,n=this;setTimeout(function(){if(n.el.text(n.text+e.substr(0,t)),t>n.stopNum)t--,n.backspace(e,t);else if(t<=n.stopNum){clearTimeout(i);var i=n.arrayPos=n.arrayPos+1;n.typewrite(n.strings[n.arrayPos],t)}},i)}},e.fn.typed=function(i){return this.each(function(){var n=e(this),s=n.data("typed"),o="object"==typeof i&&i;s||n.data("typed",s=new t(this,o)),"string"==typeof i&&s[i]()})},e.fn.typed.defaults={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],typeSpeed:0,startDelay:0,backSpeed:0,backDelay:500,loop:!1,loopCount:!1,callback:function(){},onStringTyped:function(){}}}(window.jQuery),function(e){e.flexslider=function(t,i){var n=e(t),s=e.extend({},e.flexslider.defaults,i),o=s.namespace,a="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,r=a?"touchend":"click",l="vertical"===s.direction,c=s.reverse,u=s.itemWidth>0,d="fade"===s.animation,h=""!==s.asNavFor,p={};e.data(t,"flexslider",n),p={init:function(){n.animating=!1,n.currentSlide=s.startAt,n.animatingTo=n.currentSlide,n.atEnd=0===n.currentSlide||n.currentSlide===n.last,n.containerSelector=s.selector.substr(0,s.selector.search(" ")),n.slides=e(s.selector,n),n.container=e(n.containerSelector,n),n.count=n.slides.length,n.syncExists=e(s.sync).length>0,"slide"===s.animation&&(s.animation="swing"),n.prop=l?"top":"marginLeft",n.args={},n.manualPause=!1,n.transitions=!s.video&&!d&&s.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in t)if(void 0!==e.style[t[i]])return n.pfx=t[i].replace("Perspective","").toLowerCase(),n.prop="-"+n.pfx+"-transform",!0;return!1}(),""!==s.controlsContainer&&(n.controlsContainer=e(s.controlsContainer).length>0&&e(s.controlsContainer)),""!==s.manualControls&&(n.manualControls=e(s.manualControls).length>0&&e(s.manualControls)),s.randomize&&(n.slides.sort(function(){return Math.round(Math.random())-.5}),n.container.empty().append(n.slides)),n.doMath(),h&&p.asNav.setup(),n.setup("init"),s.controlNav&&p.controlNav.setup(),s.directionNav&&p.directionNav.setup(),s.keyboard&&(1===e(n.containerSelector).length||s.multipleKeyboard)&&e(document).bind("keyup",function(e){var t=e.keyCode;if(!n.animating&&(39===t||37===t)){var i=39===t?n.getTarget("next"):37===t?n.getTarget("prev"):!1;n.flexAnimate(i,s.pauseOnAction)}}),s.mousewheel&&n.bind("mousewheel",function(e,t,i,o){e.preventDefault();var a=n.getTarget(0>t?"next":"prev");n.flexAnimate(a,s.pauseOnAction)}),s.pausePlay&&p.pausePlay.setup(),s.slideshow&&(s.pauseOnHover&&n.hover(function(){n.manualPlay||n.manualPause||n.pause()},function(){n.manualPause||n.manualPlay||n.play()}),s.initDelay>0?setTimeout(n.play,s.initDelay):n.play()),a&&s.touch&&p.touch(),(!d||d&&s.smoothHeight)&&e(window).bind("resize focus",p.resize),setTimeout(function(){s.start(n)},200)},asNav:{setup:function(){n.asNav=!0,n.animatingTo=Math.floor(n.currentSlide/n.move),n.currentItem=n.currentSlide,n.slides.removeClass(o+"active-slide").eq(n.currentItem).addClass(o+"active-slide"),n.slides.click(function(t){t.preventDefault();var i=e(this),o=i.index();e(s.asNavFor).data("flexslider").animating||i.hasClass("active")||(n.direction=n.currentItem<o?"next":"prev",n.flexAnimate(o,s.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){n.manualControls?p.controlNav.setupManual():p.controlNav.setupPaging(
12)},setupPaging:function(){var t="thumbnails"===s.controlNav?"control-thumbs":"control-paging",i=1,l;if(n.controlNavScaffold=e('<ol class="'+o+"control-nav "+o+t+'"></ol>'),n.pagingCount>1)for(var c=0;c<n.pagingCount;c++)l="thumbnails"===s.controlNav?'<img src="'+n.slides.eq(c).attr("data-thumb")+'"/>':'<a><i class="mk-icon-circle"></i></a>',n.controlNavScaffold.append("<li>"+l+"</li>"),i++;n.controlsContainer?e(n.controlsContainer).append(n.controlNavScaffold):n.append(n.controlNavScaffold),p.controlNav.set(),p.controlNav.active(),n.controlNavScaffold.delegate("a, img",r,function(t){t.preventDefault();var i=e(this),a=n.controlNav.index(i);i.hasClass(o+"active")||(n.direction=a>n.currentSlide?"next":"prev",n.flexAnimate(a,s.pauseOnAction))}),a&&n.controlNavScaffold.delegate("a","click touchstart",function(e){e.preventDefault()})},setupManual:function(){n.controlNav=n.manualControls,p.controlNav.active(),n.controlNav.live(r,function(t){t.preventDefault();var i=e(this),a=n.controlNav.index(i);i.hasClass(o+"active")||(n.direction=a>n.currentSlide?"next":"prev",n.flexAnimate(a,s.pauseOnAction))}),a&&n.controlNav.live("click touchstart",function(e){e.preventDefault()})},set:function(){var t="thumbnails"===s.controlNav?"img":"a";n.controlNav=e("."+o+"control-nav li "+t,n.controlsContainer?n.controlsContainer:n)},active:function(){n.controlNav.removeClass(o+"active").eq(n.animatingTo).addClass(o+"active")},update:function(t,i){n.pagingCount>1&&"add"===t?n.controlNavScaffold.append(e("<li><a>"+n.count+"</a></li>")):1===n.pagingCount?n.controlNavScaffold.find("li").remove():n.
12controlNav.eq(i).closest("li").remove(),p.controlNav.set(),n.pagingCount>1&&n.pagingCount!==n.controlNav.length?n.update(i,t):p.controlNav.active()}},directionNav:{setup:function(){var t=e('<ul class="'+o+'direction-nav"><li><a class="'+o+'prev" href="#">'+s.directionNavArrowsLeft+s.prevText+'</a></li><li><a class="'+o+'next" href="#">'+s.directionNavArrowsRight+s.nextText+"</a></li></ul>");n.controlsContainer?(e(n.controlsContainer).append(t),n.directionNav=e("."+o+"direction-nav li a",n.controlsContainer)):(n.append(t),n.directionNav=e("."+o+"direction-nav li a",n)),p.directionNav.update(),n.directionNav.bind(r,function(t){t.preventDefault();var i=n.getTarget(e(this).hasClass(o+"next")?"next":"prev");n.flexAnimate(i,s.pauseOnAction)}),a&&n.directionNav.bind("click touchstart",function(e){e.preventDefault()})},update:function(){var e=o+"disabled";1===n.pagingCount?n.directionNav.addClass(e):s.animationLoop?n.directionNav.removeClass(e):0===n.animatingTo?n.directionNav.removeClass(e).filter("."+o+"prev").addClass(e):n.animatingTo===n.last?n.directionNav.removeClass(e).filter("."+o+"next").addClass(e):n.directionNav.removeClass(e)}},pausePlay:{setup:function(){var t=e('<div class="'+o+'pauseplay"><a></a></div>');n.controlsContainer?(n.controlsContainer.append(t),n.pausePlay=e("."+o+"pauseplay a",n.controlsContainer)):(n.append(t),n.pausePlay=e("."+o+"pauseplay a",n)),p.pausePlay.update(s.slideshow?o+"pause":o+"play"),n.pausePlay.bind(r,function(t){t.preventDefault(),e(this).hasClass(o+"pause")?(n.manualPause=!0,n.manualPlay=!1,n.pause()):(n.manualPause=!1,n.manualPlay=!0,n.play())}),a&&n.pausePlay.bind("click touchstart",function(e){e.preventDefault()})},update:function(e){"play"===e?n.pausePlay.removeClass(o+"pause").addClass(o+"play").text(s.playText):n.pausePlay.removeClass(o+"play").addClass(o+"pause").text(s.pauseText)}},touch:function(){function e(e){n.animating?e.preventDefault():1===e.touches.length&&(n.pause(),p=l?n.h:n.w,m=Number(new Date),h=u&&c&&n.animatingTo===n.last?0:u&&c?n.limit-(n.itemW+s.itemMargin)*n.move*n.animatingTo:u&&n.currentSlide===n.last?n.limit:u?(n.itemW+s.itemMargin)*n.move*n.currentSlide:c?(n.last-n.currentSlide+n.cloneOffset)*p:(n.currentSlide+n.cloneOffset)*p,a=l?e.touches[0].pageY:e.touches[0].pageX,r=l?e.touches[0].pageX:e.touches[0].pageY,t.addEventListener("touchmove",i,!1),t.addEventListener("touchend",o,!1)) 13}function i(e){f=l?a-e.touches[0].pageY:a-e.touches[0].pageX,g=l?Math.abs(f)<Math.abs(e.touches[0].pageX-r):Math.abs(f)<Math.abs(e.touches[0].pageY-r),(!g||Number(new Date)-m>500)&&(e.preventDefault(),!d&&n.transitions&&(s.animationLoop||(f/=0===n.currentSlide&&0>f||n.currentSlide===n.last&&f>0?Math.abs(f)/p+2:1),n.setProps(h+f,"setTouch")))}function o(e){if(t.removeEventListener("touchmove",i,!1),n.animatingTo===n.currentSlide&&!g&&null!==f){var l=c?-f:f,u=n.getTarget(l>0?"next":"prev");n.canAdvance(u)&&(Number(new Date)-m<550&&Math.abs(l)>50||Math.abs(l)>p/2)?n.flexAnimate(u,s.pauseOnAction):d||n.flexAnimate(n.currentSlide,s.pauseOnAction,!0)}t.removeEventListener("touchend",o,!1),a=null,r=null,f=null,h=null}var a,r,h,p,f,m,g=!1;t.addEventListener("touchstart",e,!1)},resize:function(){!n.animating&&n.is(":visible")&&(u||n.doMath(),d?p.smoothHeight():u?(n.slides.width(n.computedW),n.update(n.pagingCount),n.setProps()):l?(n.viewport.height(n.h),n.setProps(n.h,"setTotal")):(s.smoothHeight&&p.smoothHeight(),n.newSlides.width(n.computedW),n.setProps(n.computedW,"setTotal")))},smoothHeight:function(e){if(!l||d){var t=d?n:n.viewport;e?t.animate({height:n.slides.eq(n.animatingTo).height()},e):t.height(n.slides.eq(n.animatingTo).height())}},sync:function(t){var i=e(s.sync).data("flexslider"),o=n.animatingTo;switch(t){case"animate":i.flexAnimate(o,s.pauseOnAction,!1,!0);break;case"play":i.playing||i.asNav||i.play();break;case"pause":i.pause()}}},n.flexAnimate=function(t,i,r,f,m){if(h&&1===n.pagingCount&&(n.direction=n.currentItem<t?"next":"prev"),!n.animating&&(n.canAdvance(t,m)||r)&&n.is(":visible")){if(h&&f){var g=e(s.asNavFor).data("flexslider");if(n.atEnd=0===t||t===n.count-1,g.flexAnimate(t,!0,!1,!0,m),n.direction=n.currentItem<t?"next":"prev",g.direction=n.direction,Math.ceil((t+1)/n.visible)-1===n.currentSlide||0===t)return n.currentItem=t,n.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),!1;n.currentItem=t,n.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),t=Math.floor(t/n.visible)}if(n.animating=!0,n.animatingTo=t,s.before(n),i&&n.pause(),n.syncExists&&!m&&p.sync("animate"),s.controlNav&&p.controlNav.active(),u||n.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),n.atEnd=0===t||t===n.last,s.directionNav&&p.directionNav.update(
13),t===n.last&&(s.end(n),s.animationLoop||n.pause()),d)a?(n.slides.eq(n.currentSlide).css({opacity:0,zIndex:1}),n.slides.eq(t).css({opacity:1,zIndex:2}),n.animating=!1,n.currentSlide=n.animatingTo):(n.slides.eq(n.currentSlide).fadeOut(s.animationSpeed,s.easing),n.slides.eq(t).fadeIn(s.animationSpeed,s.easing,n.wrapup));else{var v=l?n.slides.filter(":first").height():n.computedW,w,y,b;u?(w=s.itemWidth>n.w?2*s.itemMargin:s.itemMargin,b=(n.itemW+w)*n.move*n.animatingTo,y=b>n.limit&&1!==n.visible?n.limit:b):y=0===n.currentSlide&&t===n.count-1&&s.animationLoop&&"next"!==n.direction?c?(n.count+n.cloneOffset)*v:0:n.currentSlide===n.last&&0===t&&s.animationLoop&&"prev"!==n.direction?c?0:(n.count+1)*v:c?(n.count-1-t+n.cloneOffset)*v:(t+n.cloneOffset)*v,n.setProps(y,"",s.animationSpeed),n.transitions?(s.animationLoop&&n.atEnd||(n.animating=!1,n.currentSlide=n.animatingTo),n.container.unbind("webkitTransitionEnd transitionend"),n.container.bind("webkitTransitionEnd transitionend",function(){n.wrapup(v)})):n.container.animate(n.args,s.animationSpeed,s.easing,function(){n.wrapup(v)})}s.smoothHeight&&p.smoothHeight(s.animationSpeed)}},n.wrapup=function(e){d||u||(0===n.currentSlide&&n.animatingTo===n.last&&s.animationLoop?n.setProps(e,"jumpEnd"):n.currentSlide===n.last&&0===n.animatingTo&&s.animationLoop&&n.setProps(e,"jumpStart")),n.animating=!1,n.currentSlide=n.animatingTo,s.after(n)},n.animateSlides=function(){n.animating||n.flexAnimate(n.getTarget("next"))},n.pause=function(){clearInterval(n.animatedSlides),n.playing=!1,s.pausePlay&&p.pausePlay.update("play"),n.syncExists&&p.sync("pause")},n.play=function(){n.animatedSlides=setInterval(n.animateSlides,s.slideshowSpeed),n.playing=!0,s.pausePlay&&p.pausePlay.update("pause"),n.syncExists&&p.sync("play")},n.canAdvance=function(e,t){var i=h?n.pagingCount-1:n.last;return t?!0:h&&n.currentItem===n.count-1&&0===e&&"prev"===n.direction?!0:h&&0===n.currentItem&&e===n.pagingCount-1&&"next"!==n.direction?!1:e!==n.currentSlide||h?s.animationLoop?!0:n.atEnd&&0===n.currentSlide&&e===i&&"next"!==n.direction?!1:n.atEnd&&n.currentSlide===i&&0===e&&"next"===n.direction?!1:!0:!1},n.getTarget=function(e){return n.direction=e,"next"===e?n.currentSlide===n.last?0:n.currentSlide+1:0===n.currentSlide?n.last:n.currentSlide-1},n.setProps=function(e,t,i){var o=function(){var i=e?e:(n.itemW+s.itemMargin)*n.move*n.animatingTo,o=function(){if(u)return"setTouch"===t?e:c&&n.animatingTo===n.last?0:c?n.limit-(n.itemW+s.itemMargin)*n.move*n.animatingTo:n.animatingTo===n.last?n.limit:i;switch(t){case"setTotal":return c?(n.count-1-n.currentSlide+n.cloneOffset)*e:(n.currentSlide+n.cloneOffset)*e;case"setTouch":return c?e:e;case"jumpEnd":return c?e:n.count*e;case"jumpStart":return c?n.count*e:e;default:return e}}();return-1*o+"px"}();n.transitions&&(o=l?"translate3d(0,"+o+",0)":"translate3d("+o+",0,0)",i=void 0!==i?i/1e3+"s":"0s",n.container.css("-"+n.pfx+"-transition-duration",i)),n.args[n.prop]=o,(n.transitions||void 0===i)&&n.container.css(n.args)},n.setup=function(t){if(d)n.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===t&&(a?n.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+s.animationSpeed/1e3+"s ease",zIndex:1}).eq(n.currentSlide).css({opacity:1,zIndex:2}):n.slides.eq(n.currentSlide).fadeIn(s.animationSpeed,s.easing)),s.smoothHeight&&p.smoothHeight();else{var i,r;"init"===t&&(n.viewport=e('<div class="'+o+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(n).append(n.container),n.cloneCount=0,n.cloneOffset=0,c&&(r=e.makeArray(n.slides).reverse(),n.slides=e(r),n.container.empty().append(n.slides))),s.animationLoop&&!u&&(n.cloneCount=2,n.cloneOffset=1,"init"!==t&&n.container.find(".clone").remove(),n.container.append(n.slides.first().clone().addClass("clone")).prepend(n.slides.last().clone().addClass("clone"))),n.newSlides=e(s.selector,n),i=c?n.count-1-n.currentSlide+n.cloneOffset:n.currentSlide+n.cloneOffset,l&&!u?(n.container.height(200*(n.count+n.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){n.newSlides.css({display:"block"}),n.doMath(),n.viewport.height(n.h),n.setProps(i*n.h,"init")}
13,"init"===t?100:0)):(n.container.width(200*(n.count+n.cloneCount)+"%"),n.setProps(i*n.computedW,"init"),setTimeout(function(){n.doMath(),n.newSlides.css({width:n.computedW,"float":"left",display:"block"}),s.smoothHeight&&p.smoothHeight()},"init"===t?100:0))}u||n.slides.removeClass(o+"active-slide").eq(n.currentSlide).addClass(o+"active-slide")},n.doMath=function(){var e=n.slides.first(),t=s.itemMargin,i=s.minItems,o=s.maxItems;n.w=n.width(),n.h=e.height(),n.boxPadding=e.outerWidth()-e.width(),u?(n.itemT=s.itemWidth+t,n.minW=i?i*n.itemT:n.w,n.maxW=o?o*n.itemT:n.w,n.itemW=n.minW>n.w?(n.w-t*i)/i:n.maxW<n.w?(n.w-t*o)/o:s.itemWidth>n.w?n.w:s.itemWidth,n.visible=Math.floor(n.w/(n.itemW+t)),n.move=s.move>0&&s.move<n.visible?s.move:n.visible,n.pagingCount=Math.ceil((n.count-n.visible)/n.move+1),n.last=n.pagingCount-1,n.limit=1===n.pagingCount?0:s.itemWidth>n.w?(n.itemW+2*t)*n.count-n.w-t:(n.itemW+t)*n.count-n.w-t):(n.itemW=n.w,n.pagingCount=n.count,n.last=n.count-1),n.computedW=n.itemW-n.boxPadding},n.update=function(e,t){n.doMath(),u||(e<n.currentSlide?n.currentSlide+=1:e<=n.currentSlide&&0!==e&&(n.currentSlide-=1),n.animatingTo=n.currentSlide),s.controlNav&&!n.manualControls&&("add"===t&&!u||n.pagingCount>n.controlNav.length?p.controlNav.update("add"):("remove"===t&&!u||n.pagingCount<n.controlNav.length)&&(u&&n.currentSlide>n.last&&(n.currentSlide-=1,n.animatingTo-=1),p.controlNav.update("remove",n.last))),s.directionNav&&p.directionNav.update()},n.addSlide=function(t,i){var o=e(t);n.count+=1,n.last=n.count-1,l&&c?void 0!==i?n.slides.eq(n.count-i).after(o):n.container.prepend(o):void 0!==i?n.slides.eq(i).before(o):n.container.append(o),n.update(i,"add"),n.slides=e(s.selector+":not(.clone)",n),n.setup(),s.added(n)},n.removeSlide=function(t){var i=isNaN(t)?n.slides.index(e(t)):t;n.count-=1,n.last=n.count-1,isNaN(t)?e(t,n.slides).remove():l&&c?n.slides.eq(n.last).remove():n.slides.eq(t).remove(),n.doMath(),n.update(i,"remove"),n.slides=e(s.selector+":not(.clone)",n),n.setup(),s.removed(n)},p.init()},e.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,pauseOnAction:!0,pauseOnHover:!1,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",directionNavArrowsLeft:'<i class="mk-theme-icon-prev-bigger"></i>',directionNavArrowsRight:'<i class="mk-theme-icon-next-bigger"></i>',keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:0,maxItems:0,move:0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){}},e.fn.flexslider=function(t){if(void 0===t&&(t={}),"object"==typeof t)return this.each(function(){var i=e(this),n=t.selector?t.selector:".slides > li",s=i.find(n);1===s.length?(s.fadeIn(400),t.start&&t.start(i)):void 0===i.data("flexslider")&&new e.flexslider(this,t)});var i=e(this).data("flexslider");switch(t){case"play":i.play();break;case"pause":i.pause();break;case"next":i.flexAnimate(i.getTarget("next"),!0);break;case"prev":case"previous":i.flexAnimate(i.getTarget("prev"),!0);break;default:"number"==typeof t&&i.flexAnimate(t,!0)}}}(jQuery),function(e){var t="waitForImages";e.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage","cursor"]},e.expr[":"].uncached=function(t){if(!e(t).is('img[src!=""]'))return!1;var i=new Image;return i.src=t.src,!i.complete},e.fn.waitForImages=function(i,n,s){var o=0,a=0;if(e.isPlainObject(arguments[0])&&(s=arguments[0].waitForAll,n=arguments[0].each,i=arguments[0].finished),i=i||e.noop,n=n||e.noop,s=!!s,!e.isFunction(i)||!e.isFunction(n))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var r=e(this),l=[],c=e.waitForImages.hasImageProperties||[],u=/url\(\s*(['"]?)(.*?)\1\s*\)/g;s?r.find("*").addBack().each(function(){var t=e(this);t.is("img:uncached")&&l.push({src:t.attr("src"),element:t[0]}),e.each(c,function(e,i){var n=t.css(i),s;if(!n)return!0;for(;s=u.exec(n);)l.push({src:s[2],element:t[0]})})}):r.find("img:uncached").each(function(){l.push({src:this.src,element:this})}),o=l.length,a=0,0===o&&i.call(r[0]),e.each(l,function(s,l){var c=new Image;e(c).on("load."+t+" error."+t,function(e){return a++,n.call(l.element,a,o,"load"==e.type),a==o?(i.call(r[0]),!1):void 0}),c.src=l.src})})}}(jQuery),function(e,t,i){"use strict";var n=e.document,s=e.Modernizr,o=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},a="Moz Webkit O Ms".split(" "),r=function(e){var t=n.documentElement.style,i;if("string"==typeof t[e])return e;e=o(e);for(var s=0,r=a.length;r>s;s++)if(i=a[s]+e,"string"==typeof t[i])return i},l=r("transform"),c=r("transitionProperty"),u={csstransforms:function(){return!!l},csstransforms3d:function(){var e=!!r("perspective");if(e){var i=" -o- -moz- -ms- -webkit- -khtml- ".split(" "),n="@media ("+i.join("transform-3d),(")+"modernizr)",s=t("<style>"+n+"{#modernizr{height:3px}}</style>").appendTo("head"),o=t('<div id="modernizr" />').appendTo("html");e=3===o.height(),o.remove(),s.remove()}return e},csstransitions:function(){return!!c}},d;if(s)for(d in u)s.hasOwnProperty(d)||s.addTest(d,u[d]);else{s=e.Modernizr={_version:"1.6ish: miniModernizr for Isotope"};var h=" ",p;for(d in u)p=u[d](),s[d]=p,h+=" "+(p?"":"no-")+d;t("html").addClass(h)}if(s.csstransforms){var f=s.csstransforms3d?{translate:function(e){return"translate3d("+e[0]+"px, "+e[1]+"px, 0) "},scale:function(e){return"scale3d("+e+", "+e+", 1) "}}:{translate:function(e){return"translate("+e[0]+"px, "+e[1]+"px) "},scale:function(e){return"scale("+e+") "}},m=function(e,i,n){var s=t.data(e,"isoTransform")||{},o={},a,r={},c;o[i]=n,t.extend(s,o);
vendor: 13,907 bytes, line 13
13for(a in s)c=s[a],r[a]=f[a](c);var u=r.translate||"",d=r.scale||"",h=u+d;t.data(e,"isoTransform",s),e.style[l]=h};t.cssNumber.scale=!0,t.cssHooks.scale={set:function(e,t){m(e,"scale",t)},get:function(e,i){var n=t.data(e,"isoTransform");return n&&n.scale?n.scale:1}},t.fx.step.scale=function(e){t.cssHooks.scale.set(e.elem,e.now+e.unit)},t.cssNumber.translate=!0,t.cssHooks.translate={set:function(e,t){m(e,"translate",t)},get:function(e,i){var n=t.data(e,"isoTransform");return n&&n.translate?n.translate:[0,0]}}}var g,v;s.csstransitions&&(g={WebkitTransitionProperty:"webkitTransitionEnd",MozTransitionProperty:"transitionend",OTransitionProperty:"oTransitionEnd otransitionend",transitionProperty:"transitionend"}[c],v=r("transitionDuration"));var w=t.event,y=t.event.handle?"handle":"dispatch",b;w.special.smartresize={setup:function(){t(this).bind("resize",w.special.smartresize.handler)},teardown:function(){t(this).unbind("resize",w.special.smartresize.handler)},handler:function(e,t){var i=this,n=arguments;e.type="smartresize",b&&clearTimeout(b),b=setTimeout(function(){w[y].apply(i,n)},"execAsap"===t?0:100)}},t.fn.smartresize=function(e){return e?this.bind("smartresize",e):this.trigger("smartresize",["execAsap"])},t.Isotope=function(e,i,n){this.element=t(i),this._create(e),this._init(n)};var _=["width","height"],S=t(e);t.Isotope.settings={resizable:!0,layoutMode:"masonry",containerClass:"isotope",itemClass:"isotope-item",hiddenClass:"isotope-hidden",hiddenStyle:{opacity:0,scale:.001},visibleStyle:{opacity:1,scale:1},containerStyle:{position:"relative",overflow:"hidden"},animationEngine:"best-available",animationOptions:{queue:!1,duration:800},sortBy:"original-order",sortAscending:!0,resizesContainer:!0,transformsEnabled:!0,itemPositionDataEnabled:!1},t.Isotope.prototype={_create:function(e){this.options=t.extend({},t.Isotope.settings,e),this.styleQueue=[],this.elemCount=0;var i=this.element[0].style;this.originalStyle={};var n=_.slice(0);for(var s in this.options.containerStyle)n.push(s);for(var o=0,a=n.length;a>o;o++)s=n[o],this.originalStyle[s]=i[s]||"";this.element.css(this.options.containerStyle),this._updateAnimationEngine(),this._updateUsingTransforms();var r={"original-order":function(e,t){return t.elemCount++,t.elemCount},random:function(){return Math.random()}};this.options.getSortData=t.extend(this.options.getSortData,r),this.reloadItems(),this.offset={left:parseInt(this.element.css("padding-left")||0,10),top:parseInt(this.element.css("padding-top")||0,10)};var l=this;setTimeout(function(){l.element.addClass(l.options.containerClass)},0),this.options.resizable&&S.bind("smartresize.isotope",function(){l.resize()}),this.element.delegate("."+this.options.hiddenClass,"click",function(){return!1})},_getAtoms:function(e){var t=this.options.itemSelector,i=t?e.filter(t).add(e.find(t)):e,n={position:"absolute"};return i=i.filter(function(e,t){return 1===t.nodeType}),this.usingTransforms&&(n.left=0,n.top=0),i.css(n).addClass(this.options.itemClass),this.updateSortData(i,!0),i},_init:function(e){this.$filteredAtoms=this._filter(this.$allAtoms),this._sort(),this.reLayout(e)},option:function(e){if(t.isPlainObject(e)){this.options=t.extend(!0,this.options,e);var i;for(var n in e)i="_update"+o(n),this[i]&&this[i]()}},_updateAnimationEngine:function(){var e=this.options.animationEngine.toLowerCase().replace(/[ _\-]/g,""),t;switch(e){case"css":case"none":t=!1;break;case"jquery":t=!0;break;default:t=!s.csstransitions}this.isUsingJQueryAnimation=t,this._updateUsingTransforms()},_updateTransformsEnabled:function(){this._updateUsingTransforms()},_updateUsingTransforms:function(){var e=this.usingTransforms=this.options.transformsEnabled&&s.csstransforms&&s.csstransitions&&!this.isUsingJQueryAnimation;e||(delete this.options.hiddenStyle.scale,delete this.options.visibleStyle.scale),this.getPositionStyles=e?this._translate:this._positionAbs},_filter:function(e){var t=""===this.options.filter?"*":this.options.filter;if(!t)return e;var i=this.options.hiddenClass,n="."+i,s=e.filter(n),o=s;if("*"!==t){o=s.filter(t);var a=e.not(n).not(t).addClass(i);this.styleQueue.push({$el:a,style:this.options.hiddenStyle})}return this.styleQueue.push({$el:o,style:this.options.visibleStyle}),o.removeClass(i),e.filter(t)},updateSortData:function(e,i){var n=this,s=this.options.getSortData,o,a;e.each(function(){o=t(this),a={};for(var e in s)a[e]=i||"original-order"!==e?s[e](o,n):t.data(this,"isotope-sort-data")[e];t.data(this,"isotope-sort-data",a)})},_sort:function(){var e=this.options.sortBy,t=this._getSorter,i=this.options.sortAscending?1:-1,n=function(n,s){var o=t(n,e),a=t(s,e);return o===a&&"original-order"!==e&&(o=t(n,"original-order"),a=t(s,"original-order")),(o>a?1:a>o?-1:0)*i};this.$filteredAtoms.sort(n)},_getSorter:function(e,i){return t.data(e,"isotope-sort-data")[i]},_translate:function(e,t){return{translate:[e,t]}},_positionAbs:function(e,t){return{left:e,top:t}},_pushPosition:function(e,t,i){t=Math.round(t+this.offset.left),i=Math.round(i+this.offset.top);var n=this.getPositionStyles(t,i);this.styleQueue.push({$el:e,style:n}),this.options.itemPositionDataEnabled&&e.data("isotope-item-position",{x:t,y:i})},layout:function(e,t){var i=this.options.layoutMode;if(this["_"+i+"Layout"](e),this.options.resizesContainer){var n=this["_"+i+"GetContainerSize"]();this.styleQueue.push({$el:this.element,style:n})}this._processStyleQueue(e,t),this.isLaidOut=!0},_processStyleQueue:function(e,i){var n=this.isLaidOut&&this.isUsingJQueryAnimation?"animate":"css",o=this.options.animationOptions,a=this.options.onLayout,r,l,c,u;if(l=function(e,t){t.$el[n](t.style,o)},this._isInserting&&this.isUsingJQueryAnimation)l=function(e,t){r=t.$el.hasClass("no-transition")?"css":n,t.$el[r](t.style,o)};else if(i||a||o.complete){var d=!1,h=[i,a,o.complete],p=this;if(c=!0,u=function(){if(!d){for(var t,i=0,n=h.length;n>i;i++)t=h[i],"function"==typeof t&&t.call(p.element,e,p);d=!0}},this.isUsingJQueryAnimation&&"animate"===n)o.complete=u,c=!1;else if(s.csstransitions){for(var f=0,m=this.styleQueue[0],w=m&&m.$el,y;!w||!w.length;){if(y=this.styleQueue[f++],!y)return;w=y.$el}var b=parseFloat(getComputedStyle(w[0])[v]);b>0&&(l=function(e,t){t.$el[n](t.style,o).one(g,u)},c=!1)}}t.each(this.styleQueue,l),c&&u(),this.styleQueue=[]},resize:function(){this["_"+this.options.layoutMode+"ResizeChanged"]()&&this.reLayout()},reLayout:function(e){this["_"+this.options.layoutMode+"Reset"](),this.layout(this.$filteredAtoms,e)},addItems:function(e,t){var i=this._getAtoms(e);this.$allAtoms=this.$allAtoms.add(i),t&&t(i)},insert:function(e,t){this.element.append(e);var i=this;this.addItems(e,function(e){var n=i._filter(e);i._addHideAppended(n),i._sort(),i.reLayout(),i._revealAppended(n,t)})},appended:function(e,t){var i=this;this.addItems(e,function(e){i._addHideAppended(e),i.layout(e),i._revealAppended(e,t)})},_addHideAppended:function(e){this.$filteredAtoms=this.$filteredAtoms.add(e),e.addClass("no-transition"),this._isInserting=!0,this.styleQueue.push({$el:e,style:this.options.hiddenStyle})},_revealAppended:function(e,t){var i=this;setTimeout(function(){e.removeClass("no-transition"),i.styleQueue.push({$el:e,style:i.options.visibleStyle}),i._isInserting=!1,i._processStyleQueue(e,t)},10)},reloadItems:function(){this.$allAtoms=this._getAtoms(this.element.children())},remove:function(e,t){this.$allAtoms=this.$allAtoms.not(e),this.$filteredAtoms=this.$filteredAtoms.not(e);var i=this,n=function(){e.remove(),t&&t.call(i.element)};e.filter(":not(."+this.options.hiddenClass+")").length?(this.styleQueue.push({$el:e,style:this.options.hiddenStyle}),this._sort(),this.reLayout(n)):n()},shuffle:function(e){this.updateSortData(this.$allAtoms),this.options.sortBy="random",this._sort(),this.reLayout(e)},destroy:function(){var e=this.usingTransforms,t=this.options;this.$allAtoms.removeClass(t.hiddenClass+" "+t.itemClass).each(function(){var t=this.style;t.position="",t.top="",t.left="",t.opacity="",e&&(t[l]="")});var i=this.element[0].style;for(var n in this.originalStyle)i[n]=this.originalStyle[n];this.element.unbind(".isotope").undelegate("."+t.hiddenClass,"click").removeClass(t.containerClass).removeData("isotope"),S.unbind(".isotope")},_getSegments:function(e){var t=this.options.layoutMode,i=e?"rowHeight":"columnWidth",n=e?"height":"width",s=e?"rows":"cols",a=this.element[n](),r,l=this.options[t]&&this.options[t][i]||this.$filteredAtoms["outer"+o(n)](!0)||a;r=Math.floor(a/l),r=Math.max(r,1),this[t][s]=r,this[t][i]=l},_checkIfSegmentsChanged:function(e){var t=this.options.layoutMode,i=e?"rows":"cols",n=this[t][i];return this._getSegments(e),this[t][i]!==n},_masonryReset:function(){this.masonry={},this._getSegments();var e=this.masonry.cols;for(this.masonry.colYs=[];e--;)this.masonry.colYs.push(0)},_masonryLayout:function(e){var i=this,n=i.masonry;e.each(function(){var e=t(this),s=Math.ceil(e.outerWidth(!0)/n.columnWidth);if(s=Math.min(s,n.cols),1===s)i._masonryPlaceBrick(e,n.colYs);else{var o=n.cols+1-s,a=[],r,l;for(l=0;o>l;l++)r=n.colYs.slice(l,l+s),a[l]=Math.max.apply(Math,r);i._masonryPlaceBrick(e,a)}})},_masonryPlaceBrick:function(e,t){for(var i=Math.min.apply(Math,t),n=0,s=0,o=t.length;o>s;s++)if(t[s]===i){n=s;break}var a=this.masonry.columnWidth*n,r=i;this._pushPosition(e,a,r);var l=i+e.outerHeight(!0),c=this.masonry.cols+1-o;for(s=0;c>s;s++)this.masonry.colYs[n+s]=l},_masonryGetContainerSize:function(){var e=Math.max.apply(Math,this.masonry.colYs);return{height:e}},_masonryResizeChanged:function(){return this._checkIfSegmentsChanged()},_fitRowsReset:function(){this.fitRows={x:0,y:0,height:0}},_fitRowsLayout:function(e){var i=this,n=this.element.width(),s=this.fitRows;e.each(function(){var e=t(this),o=e.outerWidth(!0),a=e.outerHeight(!0);0!==s.x&&o+s.x>n&&(s.x=0,s.y=s.height),i._pushPosition(e,s.x,s.y),s.height=Math.max(s.y+a,s.height),s.x+=o})},_fitRowsGetContainerSize:function(){return{height:this.fitRows.height}},_fitRowsResizeChanged:function(){return!0},_cellsByRowReset:function(){this.cellsByRow={index:0},this._getSegments(),this._getSegments(!0)},_cellsByRowLayout:function(e){var i=this,n=this.cellsByRow;e.each(function(){var e=t(this),s=n.index%n.cols,o=Math.floor(n.index/n.cols),a=(s+.5)*n.columnWidth-e.outerWidth(!0)/2,r=(o+.5)*n.rowHeight-e.outerHeight(!0)/2;i._pushPosition(e,a,r),n.index++})},_cellsByRowGetContainerSize:function(){return{height:Math.ceil(this.$filteredAtoms.length/this.cellsByRow.cols)*this.cellsByRow.rowHeight+this.offset.top}},_cellsByRowResizeChanged:function(){return this._checkIfSegmentsChanged()},_straightDownReset:function(){this.straightDown={y:0}},_straightDownLayout:function(e){var i=this;e.each(function(e){var n=t(this);i._pushPosition(n,0,i.straightDown.y),i.straightDown.y+=n.outerHeight(!0)})},_straightDownGetContainerSize:function(){return{height:this.straightDown.y}},_straightDownResizeChanged:function(){return!0},_masonryHorizontalReset:function(){this.masonryHorizontal={},this._getSegments(!0);var e=this.masonryHorizontal.rows;for(this.masonryHorizontal.rowXs=[];e--;)this.masonryHorizontal.rowXs.push(0)},_masonryHorizontalLayout:function(e){var i=this,n=i.masonryHorizontal;e.each(function(){var e=t(this),s=Math.ceil(e.outerHeight(!0)/n.rowHeight);if(s=Math.min(s,n.rows),1===s)i._masonryHorizontalPlaceBrick(e,n.rowXs);else{var o=n.rows+1-s,a=[],r,l;for(l=0;o>l;l++)r=n.rowXs.slice(l,l+s),a[l]=Math.max.apply(Math,r);i._masonryHorizontalPlaceBrick(e,a)}})},_masonryHorizontalPlaceBrick:function(e,t){for(var i=Math.min.apply(Math,t),n=0,s=0,o=t.length;o>s;s++)if(t[s]===i){n=s;break}var a=i,r=this.masonryHorizontal.rowHeight*n;this._pushPosition(e,a,r);var l=i+e.outerWidth(!0),c=this.masonryHorizontal.rows+1-o;for(s=0;c>s;s++)this.masonryHorizontal.rowXs[n+s]=l},_masonryHorizontalGetContainerSize:function(){var e=Math.max.apply(Math,this.masonryHorizontal.rowXs);return{width:e}},_masonryHorizontalResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_fitColumnsReset:function(){this.fitColumns={x:0,y:0,width:0}},_fitColumnsLayout:function(e){var i=this,n=this.element.height(),s=this.fitColumns;e.each(function(){var e=t(this),o=e.outerWidth(!0),a=e.outerHeight(!0);0!==s.y&&a+s.y>n&&(s.x=s.width,s.y=0),i._pushPosition(e,s.x,s.y),s.width=Math.max(s.x+o,s.width),s.y+=a})},_fitColumnsGetContainerSize:function(){return{width:this.fitColumns.width}},_fitColumnsResizeChanged:function(){return!0},_cellsByColumnReset:function(){this.cellsByColumn={index:0},this._getSegments(),this._getSegments(!0)},_cellsByColumnLayout:function(e){var i=this,n=this.cellsByColumn;e.each(function(){var e=t(this),s=Math.floor(n.index/n.rows),o=n.index%n.rows,a=(s+.5)*n.columnWidth-e.outerWidth(!0)/2,r=(o+.5)*n.rowHeight-e.outerHeight(!0)/2;i._pushPosition(e,a,r),n.index++})},_cellsByColumnGetContainerSize:function(){return{width:Math.ceil(this.$filteredAtoms.length/this.cellsByColumn.rows)*this.cellsByColumn.columnWidth}},_cellsByColumnResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_straightAcrossReset:function(){this.straightAcross={x:0}},_straightAcrossLayout:function(e){var i=this;e.each(function(e){var n=t(this);i._pushPosition(n,i.straightAcross.x,0),i.straightAcross.x+=n.outerWidth(!0)})},_straightAcrossGetContainerSize:function(){return{width:this.straightAcross.x}},_straightAcrossResizeChanged:function(){return!0}},t.fn.imagesLoaded=function(e){function i(){e.call(s,o)}function n(e){var s=e.target;s.src!==r&&-1===t.inArray(s,l)&&(l.push(s),--a<=0&&(setTimeout(i),o.unbind(".imagesLoaded",n)))}var s=this,o=s.find("img").add(s.filter("img")),a=o.length,r="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",l=[];return a||i(),o.bind("load.imagesLoaded error.imagesLoaded",n).each(function(){var e=this.src;this.src=r,this.src=e}),s};var C=function(t){e.console&&e.console.error(t)};t.fn.isotope=function(e,i){if("string"==typeof e){var n=Array.prototype.slice.call(arguments,1
13);this.each(function(){var i=t.data(this,"isotope");return i?t.isFunction(i[e])&&"_"!==e.charAt(0)?void i[e].apply(i,n):void C("no such method '"+e+"' for isotope instance"):void C("cannot call methods on isotope prior to initialization; attempted to call method '"+e+"'")})}else this.each(function(){var n=t.data(this,"isotope");n?(n.option(e),n._init(i)):t.data(this,"isotope",new t.Isotope(e,this,i))});return this}}(window,jQuery),function(e){function t(e){if(e in d.style)return e;var t=["Moz","Webkit","O","ms"],i=e.charAt(0).toUpperCase()+e.substr(1);if(e in d.style)return e;for(var n=0;n<t.length;++n){var s=t[n]+i;if(s in d.style)return s}}function i(){return d.style[h.transform]="",d.style[h.transform]="rotateY(90deg)",""!==d.style[h.transform]}function n(e){return"string"==typeof e&&this.parse(e),this}function s(e,t,i){t===!0?e.queue(i):t?e.queue(t,i):i()}function o(t){var i=[];return e.each(t,function(t){t=e.camelCase(t),t=e.transit.propertyMap[t]||e.cssProps[t]||t,t=l(t),-1===e.inArray(t,i)&&i.push(t)}),i}function a(t,i,n,s){var a=o(t);e.cssEase[n]&&(n=e.cssEase[n]);var r=""+u(i)+" "+n;parseInt(s,10)>0&&(r+=" "+u(s));var l=[];return e.each(a,function(e,t){l.push(t+" "+r)}),l.join(", ")}function r(t,i){i||(e.cssNumber[t]=!0),e.transit.propertyMap[t]=h.transform,e.cssHooks[t]={get:function(i){var n=e(i).css("transit:transform");return n.get(t)},set:function(i,n){var s=e(i).css("transit:transform");s.setFromString(t,n),e(i).css({"transit:transform":s})}}}function l(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}function c(e,t){return"string"!=typeof e||e.match(/^[\-0-9\.]+$/)?""+e+t:e}function u(t){var i=t;return"string"!=typeof i||i.match(/^[\-0-9\.]+/)||(i=e.fx.speeds[i]||e.fx.speeds._default),c(i,"ms")}e.transit={version:"0.9.9",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:!0,useTransitionEnd:!1};var d=document.createElement("div"),h={},p=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;h.transition=t("transition"),h.transitionDelay=t("transitionDelay"),h.transform=t("transform"),h.transformOrigin=t("transformOrigin"),h.transform3d=i();var f={transition:"transitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"},m=h.transitionEnd=f[h.transition]||null;for(var g in h)h.hasOwnProperty(g)&&"undefined"==typeof e.support[g]&&(e.support[g]=h[g]);d=null,e.cssEase={_default:"ease","in":"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"},e.cssHooks["transit:transform"]={get:function(t){return e(t).data("transform")||new n},set:function(t,i){var s=i;s instanceof n||(s=new n(s)),t.style[h.transform]="WebkitTransform"!==h.transform||p?s.toString():s.toString(!0),e(t).data("transform",s)}},e.cssHooks.transform={set:e.cssHooks["transit:transform"].set},e.fn.jquery<"1.8"&&(e.cssHooks.transformOrigin={get:function(e){return e.style[h.transformOrigin]},set:function(e,t){e.style[h.transformOrigin]=t}},e.cssHooks.transition={get:function(e){return e.style[h.transition]},set:function(e,t){e.style[h.transition]=t}}
13),r("scale"),r("translate"),r("rotate"),r("rotateX"),r("rotateY"),r("rotate3d"),r("perspective"),r("skewX"),r("skewY"),r("x",!0),r("y",!0),n.prototype={setFromString:function(e,t){var i="string"==typeof t?t.split(","):t.constructor===Array?t:[t];i.unshift(e),n.prototype.set.apply(this,i)},set:function(e){var t=Array.prototype.slice.apply(arguments,[1]);this.setter[e]?this.setter[e].apply(this,t):this[e]=t.join(",")},get:function(e){return this.getter[e]?this.getter[e].apply(this):this[e]||0},setter:{rotate:function(e){this.rotate=c(e,"deg")},rotateX:function(e){this.rotateX=c(e,"deg")},rotateY:function(e){this.rotateY=c(e,"deg")},scale:function(e,t){void 0===t&&(t=e),this.scale=e+","+t},skewX:function(e){this.skewX=c(e,"deg")},skewY:function(e){this.skewY=c(e,"deg")},perspective:function(e){this.perspective=c(e,"px")},x:function(e){this.set("translate",e,null)},y:function(e){this.set("translate",null,e)},translate:function(e,t){void 0===this._translateX&&(this._translateX=0),void 0===this._translateY&&(this._translateY=0),null!==e&&void 0!==e&&(this._translateX=c(e,"px")),null!==t&&void 0!==t&&(this._translateY=c(t,"px")),this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var e=(this.scale||"1,1").split(",");return e[0]&&(e[0]=parseFloat(e[0])),e[1]&&(e[1]=parseFloat(e[1])),e[0]===e[1]?e[0]:e 14},rotate3d:function(){for(var e=(this.rotate3d||"0,0,0,0deg").split(","),t=0;3>=t;++t)e[t]&&(e[t]=parseFloat(e[t]));return e[3]&&(e[3]=c(e[3],"deg")),e}},parse:function(e){var t=this;e.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(e,i,n){t.setFromString(i,n)})},toString:function(e){var t=[];for(var i in this)if(this.hasOwnProperty(i)){if(!h.transform3d&&("rotateX"===i||"rotateY"===i||"perspective"===i||"transformOrigin"===i))continue;"_"!==i[0]&&t.push(e&&"scale"===i?i+"3d("+this[i]+",1)":e&&"translate"===i?i+"3d("+this[i]+",0)":i+"("+this[i]+")")}return t.join(" ")}},e.fn.transition=e.fn.transit=function(t,i,n,o){var r=this,l=0,c=!0,d=jQuery.extend(!0,{},t);"function"==typeof i&&(o=i,i=void 0),"object"==typeof i&&(n=i.easing,l=i.delay||0,c=i.queue||!0,o=i.complete,i=i.duration),"function"==typeof n&&(o=n,n=void 0),"undefined"!=typeof d.easing&&(n=d.easing,delete d.easing),"undefined"!=typeof d.duration&&(i=d.duration,delete d.duration),"undefined"!=typeof d.complete&&(o=d.complete,delete d.complete),"undefined"!=typeof d.queue&&(c=d.queue,delete d.queue),"undefined"!=typeof d.delay&&(l=d.delay,delete d.delay),"undefined"==typeof i&&(i=e.fx.speeds._default),"undefined"==typeof n&&(n=e.cssEase._default),i=u(i);var p=a(d,i,n,l),f=e.transit.enabled&&h.transition,g=f?parseInt(i,10)+parseInt(l,10):0;if(0===g){var v=function(e){r.css(d),o&&o.apply(r),e&&e()};return s(r,c,v),r}var w={},y=function(i){var n=!1,s=function(){n&&r.unbind(m,s),g>0&&r.each(function(){this.style[h.transition]=w[this]||null}),"function"==typeof o&&o.apply(r),"function"==typeof i&&i()};g>0&&m&&e.transit.useTransitionEnd?(n=!0,r.bind(m,s)):window.setTimeout(s,g),r.each(function(){g>0&&(this.style[h.transition]=p),e(this).css(t)})},b=function(e){this.offsetWidth,y(e)};return s(r,c,b),this},e.transit.getTransitionValue=a}(jQuery),function(e,t,i){t.infinitescroll=function o(e,i,n){this.element=t(n),this._create(e,i)||(this.failed=!0)},t.infinitescroll.defaults={loading:{finished:i,finishedMsg:"<em>Congratulations, you've reached the end of the internet.</em>",img:"data:image/gif;base64,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",msg:null,msgText:"<em>Loading the next set of posts...</em>",selector:null,speed:"fast",start:i},state:{isDuringAjax:!1,isInvalidPage:!1,isDestroyed:!1,isDone:!1,isPaused:!1,currPage:1},debug:!1,behavior:i,binder:t(e),nextSelector:"div.navigation a:first",navSelector:"div.navigation",contentSelector:null,extraScrollPx:150,itemSelector:"div.post",animate:!1,pathParse:i,dataType:"html",appendCallback:!0,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:i,path:i,prefill:!1},t.infinitescroll.prototype={_binding:function a(e){var t=this,n=t.options;return n.v="2.0b2.120520",n.behavior&&this["_binding_"+n.behavior]!==i?void this["_binding_"+n.behavior].call(this):"bind"!==e&&"unbind"!==e?(this._debug("Binding value "+e+" not valid"),!1):("unbind"===e?this.options.binder.unbind("smartscroll.infscr."+t.options.infid):this.options.binder[e]("smartscroll.infscr."+t.options.infid,function(){t.scroll()}),void this._debug("Binding",e))},_create:function r(n,s){var o=t.extend(!0,{},t.infinitescroll.defaults,n);this.options=o;var a=t(e),r=this;if(!r._validate(n))return!1;
14var l=t(o.nextSelector).attr("href");if(!l)return this._debug("Navigation selector not found"),!1;o.path=o.path||this._determinepath(l),o.contentSelector=o.contentSelector||this.element,o.loading.selector=o.loading.selector||o.contentSelector,o.loading.msg=o.loading.msg||t('<div id="infscr-loading"><img alt="Loading..." src="'+o.loading.img+'" /><div>'+o.loading.msgText+"</div></div>"),(new Image).src=o.loading.img,o.pixelsFromNavToBottom===i&&(o.pixelsFromNavToBottom=t(document).height()-t(o.navSelector).offset().top);var c=this;return o.loading.start=o.loading.start||function(){t(o.navSelector).hide(),o.loading.msg.appendTo(o.loading.selector).show(o.loading.speed,t.proxy(function(){this.beginAjax(o)},c))},o.loading.finished=o.loading.finished||function(){o.loading.msg.fadeOut(o.loading.speed)},o.callback=function(e,n,r){o.behavior&&e["_callback_"+o.behavior]!==i&&e["_callback_"+o.behavior].call(t(o.contentSelector)[0],n,r),s&&s.call(t(o.contentSelector)[0],n,o,r),o.prefill&&a.bind("resize.infinite-scroll",e._prefill)},n.debug&&(!Function.prototype.bind||"object"!=typeof console&&"function"!=typeof console||"object"!=typeof console.log||["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(e){console[e]=this.call(console[e],console)},Function.prototype.bind)),this._setup(),o.prefill&&this._prefill(),!0},_prefill:function l(){function i(){return s.height()<=o.height()}var n=this,s=t(document),o=t(e);this._prefill=function(){i()&&n.scroll(),o.bind("resize.infinite-scroll",function(){i()&&(o.unbind("resize.infinite-scroll"),n.scroll())})},this._prefill()},_debug:function c(){!0===this.options.debug&&("undefined"!=typeof console&&"function"==typeof console.log?console.log(1===Array.prototype.slice.call(arguments).length&&"string"==typeof Array.prototype.slice.call(arguments)[0]?Array.prototype.slice.call(arguments).toString():Array.prototype.slice.call(arguments)):Function.prototype.bind||"undefined"==typeof console||"object"!=typeof console.log||Function.prototype.call.call(console.log,console,Array.prototype.slice.call(arguments)))},_determinepath:function u(e){var t=this.options;if(t.behavior&&this["_determinepath_"+t.behavior]!==i)return this["_determinepath_"+t.behavior].call(this,e);if(t.pathParse)return this._debug("pathParse manual"),t.pathParse(e,this.options.state.currPage+1);if(e.match(/^(.*?)\b2\b(.*?$)/))e=e.match(/^(.*?)\b2\b(.*?$)/).slice(1);else if(e.match(/^(.*?)2(.*?$)/)){if(e.match(/^(.*?page=)2(\/.*|$)/))return e=e.match(/^(.*?page=)2(\/.*|$)/).slice(1);e=e.match(/^(.*?)2(.*?$)/).slice(1)}else{if(e.match(/^(.*?page=)1(\/.*|$)/))return e=e.match(/^(.*?page=)1(\/.*|$)/).slice(1);this._debug("Sorry, we couldn't parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com."),t.state.isInvalidPage=!0}return this._debug("determinePath",e),e},_error:function d(e){var t=this.options;return t.behavior&&this["_error_"+t.behavior]!==i?void this["_error_"+t.behavior].call(this,e):("destroy"!==e&&"end"!==e&&(e="unknown"),this._debug("Error",e),"end"===e&&this._showdonemsg(),t.state.isDone=!0,t.state.currPage=1,t.state.isPau
14sed=!1,void this._binding("unbind"))},_loadcallback:function h(n,s,o){var a=this.options,r=this.options.callback,l=a.state.isDone?"done":a.appendCallback?"append":"no-append",c;if(a.behavior&&this["_loadcallback_"+a.behavior]!==i)return void this["_loadcallback_"+a.behavior].call(this,n,s);switch(l){case"done":return this._showdonemsg(),!1;case"no-append":"html"===a.dataType&&(s="<div>"+s+"</div>",s=t(s).find(a.itemSelector));break;case"append":var u=n.children();if(0===u.length)return this._error("end");for(c=document.createDocumentFragment();n[0].firstChild;)c.appendChild(n[0].firstChild);this._debug("contentSelector",t(a.contentSelector)[0]),t(a.contentSelector)[0].appendChild(c),s=u.get()}if(a.loading.finished.call(t(a.contentSelector)[0],a),a.animate){var d=t(e).scrollTop()+t("#infscr-loading").height()+a.extraScrollPx+"px";t("html,body").animate({scrollTop:d},800,function(){a.state.isDuringAjax=!1})}a.animate||(a.state.isDuringAjax=!1),r(this,s,o),a.prefill&&this._prefill()},_nearbottom:function p(){var n=this.options,s=0+t(document).height()-n.binder.scrollTop()-t(e).height();return n.behavior&&this["_nearbottom_"+n.behavior]!==i?this["_nearbottom_"+n.behavior].call(this):(this._debug("math:",s,n.pixelsFromNavToBottom),s-n.bufferPx<n.pixelsFromNavToBottom)},_pausing:function f(e){var t=this.options;if(t.behavior&&this["_pausing_"+t.behavior]!==i)return void this["_pausing_"+t.behavior].call(this,e);switch("pause"!==e&&"resume"!==e&&null!==e&&this._debug("Invalid argument. Toggling pause value instead"),e=!e||"pause"!==e&&"resume"!==e?"toggle":e){case"pause":t.state.isPau
14sed=!0;break;case"resume":t.state.isPaused=!1;break;case"toggle":t.state.isPaused=!t.state.isPaused}return this._debug("Paused",t.state.isPaused),!1},_setup:function m(){var e=this.options;return e.behavior&&this["_setup_"+e.behavior]!==i?void this["_setup_"+e.behavior].call(this):(this._binding("bind"),!1)},_showdonemsg:function g(){var e=this.options;return e.behavior&&this["_showdonemsg_"+e.behavior]!==i?void this["_showdonemsg_"+e.behavior].call(this):(e.loading.msg.find("img").hide().parent().find("div").html(e.loading.finishedMsg).animate({opacity:1},2e3,function(){t(this).parent().fadeOut(e.loading.speed)}),void e.errorCallback.call(t(e.contentSelector)[0],"done"))},_validate:function v(e){for(var i in e)if(i.indexOf&&i.indexOf("Selector")>-1&&0===t(e[i]).length)return this._debug("Your "+i+" found no elements."),!1;return!0},bind:function w(){this._binding("bind")},destroy:function y(){return this.options.state.isDestroyed=!0,this._error("destroy")},pause:function b(){this._pausing("pause")},resume:function _(){this._pausing("resume")},beginAjax:function S(e){var n=this,s=e.path,o,a,r,l;switch(e.state.currPage++,o=t(t(e.contentSelector).is("table")?"<tbody/>":"<div/>"),a="function"==typeof s?s(e.state.currPage):s.join(e.state.currPage),n._debug("heading into ajax",a),r="html"===e.dataType||"json"===e.dataType?e.dataType:"html+callback",e.appendCallback&&"html"===e.dataType&&(r+="+callback"),r){case"html+callback":n._debug("Using HTML via .load() method"),o.load(a+" "+e.itemSelector,i,function c(e){n._loadcallback(o,e,a)});break;case"html":n._debug("Using "+r.toUpperCase()+" via $.ajax() method"),t.ajax({url:a,dataType:e.dataType,complete:function u(e,t){l="undefined"!=typeof e.isResolved?e.isResolved():"success"===t||"notmodified"===t,l?n._loadcallback(o,e.responseText,a):n._error("end")}});break;case"json":n._debug("Using "+r.toUpperCase()+" via $.ajax() method"),t.ajax({dataType:"json",type:"GET",url:a,success:function(t,s,r){if(l="undefined"!=typeof r.isResolved?r.isResolved():"success"===s||"notmodified"===s,e.appendCallback)if(e.template!==i){var c=e.template(t);o.append(c),l?n._loadcallback(o,c):n._error("end")}else n._debug("template must be defined."),n._error("end");else l?n._loadcallback(o,t,a):n._error("end")},error:function(){n._debug("JSON ajax request failed."),n._error("end")}})}},retrieve:function C(e){e=e||null;var n=this,s=n.options;return s.behavior&&this["retrieve_"+s.behavior]!==i?void this["retrieve_"+s.behavior].call(this,e):s.state.isDestroyed?(this._debug("Instance is destroyed"),!1):(s.state.isDuringAjax=!0,void s.loading.start.call(t(s.contentSelector)[0],s))},scroll:function x(){var e=this.options,t=e.state;return e.behavior&&this["scroll_"+e.behavior]!==i?void this["scroll_"+e.behavior].call(this):void(t.isDuringAjax||t.isInvalidPage||t.isDone||t.isDestroyed||t.isPaused||this._nearbottom()&&this.retrieve())},toggle:function A(){this._pausing()},unbind:function T(){this._binding("unbind")},update:function k(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))}}
14,t.fn.infinitescroll=function P(e,i){var n=typeof e;switch(n){case"string":var s=Array.prototype.slice.call(arguments,1);this.each(function(){var i=t.data(this,"infinitescroll");return i&&t.isFunction(i[e])&&"_"!==e.charAt(0)?void i[e].apply(i,s):!1});break;case"object":this.each(function(){var n=t.data(this,"infinitescroll");n?n.update(e):(n=new t.infinitescroll(e,i,this),n.failed||t.data(this,"infinitescroll",n))})}return this};var n=t.event,s;n.special.smartscroll={setup:function(){t(this).bind("scroll",n.special.smartscroll.handler)},teardown:function(){t(this).unbind("scroll",n.special.smartscroll.handler)},handler:function(e,i){var n=this,o=arguments;e.type="smartscroll",s&&clearTimeout(s),s=setTimeout(function(){t.event.handle.apply(n,o)},"execAsap"===i?0:100)}},t.fn.smartscroll=function(e){return e?this.bind("smartscroll",e):this.trigger("smartscroll",["execAsap"])}}(window,jQuery),function(e){e.fn.dcMegaMenu=function(t){var i={classParent:"dc-mega",classContainer:"sub-container",classSubParent:"mega-hdr",classSubLink:"mega-hdr",classWidget:"dc-extra",rowItems:6,speed:"fast",effect:"fade",event:"hover",fullWidth:!1,onLoad:function(){},beforeOpen:function(){},beforeClose:function(){}},n=mk_grid_width-30,t=e.extend(i,t),s=this;return s.each(function(t){function o(){var t=e(".sub",this);e(this).addClass("mega-hover"),"fade"===i.effect&&e(t).fadeIn(i.speed),"slide"===i.effect&&e(t).show(i.speed),i.beforeOpen.call(this)}function a(t){var n=e(".sub",t);e(t).addClass("mega-hover"),"fade"===i.effect&&e(n).fadeIn(i.speed),"slide"===i.effect&&e(n).show(i.speed),i.beforeOpen.call(this)}function r(){var t=e(".sub",this);e(this).removeClass("mega-hover"),e(t).hide(),i.beforeClose.call(this)}function l(t){var n=e(".sub",t);e(t).removeClass("mega-hover"),e(n).hide(),i.beforeClose.call(this)}function c(){e("li",s).removeClass("mega-hover"),e(".sub",s).hide()}function u(){var t=p+"-li",u=s.outerWidth();e("> li",s).each(function(){var o=e("> ul",this),a=e("> a",this);if(o.length){o.addClass("sub").wrap('<div class="'+f+'" />');var r=e(this).position();if(pl=r.left,e("ul.mk_mega_menu",o).length){e(this).addClass(t),e("."+f,this).addClass("mega"),e("> li",o).each(function(){e(this).hasClass(m)||(e(this).addClass("mega-unit"),e("> ul",this).length?(e(this).addClass(d),e("> a",this).addClass(d+"-a")):(e(this).addClass(h),e("> a",this).addClass(h+"-a")))});var l=e(".mega-unit",this);rowSize=parseInt(i.rowItems);for(var c=0;c<l.length;c+=rowSize)l.slice(c,c+rowSize).wrapAll('<div class="row" />');o.show();var p=e(this).width(),g=pl+p,v=u-g,w=o.outerWidth(),y=o.parent("."+f).outerWidth(),b=y-w;if(i.fullWidth===!0){var _=u-b;o.parent("."+f).css({width:n}),s.addClass("full-width")}var S=e(".mega-unit",o).outerWidth(!0),C=e(".row:eq(0) .mega-unit",o).length,x=S*C,A=x+b;if(e(".row",this).each(function(){e(".mega-unit:last",this).addClass("last");var t=void 0;e(".mega-unit > a",this).each(function(){var i=parseInt(e(this).height());(void 0===t||i>t)&&(t=i)}),e(".mega-unit > a",this).css("height",t+"px"),e(this).css("width",x+"px")}),1==i.fullWidth)P={left:0};else{var T=T>v?T+T-v:(A-p)/2,k=pl-T,P={left:pl+"px",marginLeft:-T+"px"};0>k?P={left:0}:T>v&&(P={right:0})}e("."+f,this).css(P),e(".row",o).each(function(){var t=e(this).height();e(".mega-unit",this).css({height:t+"px"}),e(this).parent(".row").css({height:t+"px"})}),o.hide()}else e("."+f,this).addClass("non-mega").css("left",pl+"px");e("ul",o).hasClass("mk_mega_menu")||(e("."+f,this).addClass("mk-nested-sub"),$mk_nested_ul=e(".mk-nested-sub > ul",this),$mk_nested_width=$mk_nested_ul.width(),$mk_nested_ul.find("ul").css("left",$mk_nested_width+"px"),$mk_nested_ul.find("li").each(function(){var t=e("> ul",this);t.length&&jQuery(this).append('<i class="mk-mega-icon mk-theme-icon-next-small"></i>'),jQuery(this).hover(function(){jQuery(this).find("> ul").stop(!0,!0).delay(200).fadeIn(100)},function(){jQuery(this).find("> ul").stop(!0,!0).delay(200).fadeOut(100)})}))}});var g=e("> li > a",s).outerHeight(!0);if(e("."+f,s).css({top:g+"px"}).css("z-index","1000"),"hover"==i.event){var v={sensitivity:1,interval:30,over:o,timeout:100,out:r};e("li",s).hoverIntent(v)}"click"==i.event&&(e("body").mouseup(function(t){e(t.target).parents(".mega-hover").length||c()}),e("> li > a."+p,s).click(function(t){var i=e(this).parent();i.hasClass("mega-hover")?l(i):a(i),t.preventDefault()})),i.onLoad.call(this)}var d=i.classSubParent,h=i.classSubLink,p=i.classParent,f=i.classContainer,m=i.classWidget;u()})}}(jQuery),function(e,t){var i,n,s;i=n=e.jQuery,/** 15 * jQuery ScrollTo (balupton edition) 16 * @version 1.2.0 17 * @date July 9, 2012 18 * @since 0.1.0, August 27, 2010 19 * @package jquery-scrollto {@link http://balupton.com/projects/jquery-scrollto} 20 * @author Benjamin "balupton" Lupton {@link http://balupton.com} 21 * @copyright (c) 2010 Benjamin Arthur Lupton {@link http://balupton.com} 22 * @license MIT License {@link http://creativecommons.org/licenses/MIT/} 23 */ 24s=n.ScrollTo=n.ScrollTo||{config:{duration:400,easing:"swing",callback:t,durationMode:"each",offsetTop:0,offsetLeft:0},configure:function(e){return n.extend(s.config,e||{}),this},scroll:function(t,i){var o,a,r,l,c,u,d,h,p,f,m,g,v,w,y,b,_,S;return o=t.pop(),a=o.$container,r=a.get(0),l=o.$target,c=n("<span/>").css({position:"absolute",top:"0px",left:"0px"}),u=a.css("position"),a.css("position","relative"),c.appendTo(a),m=c.offset().top,g=l.offset().top,v=g-m-parseInt(i.offsetTop,10),w=c.offset().left,y=l.offset().left,b=y-w-parseInt(i.offsetLeft,10),d=r.scrollTop,h=r.scrollLeft,c.remove(),a.css("position",u),_={},S=function(e){return 0===t.length?"function"==typeof i.callback&&i.callback.apply(this,[e]):s.scroll(t,i),!0},i.onlyIfOutside&&(p=d+a.height(),f=h+a.width(),v>d&&p>v&&(v=d),b>h&&f>b&&(b=h)),v!==d&&(_.scrollTop=v),b!==h&&(_.scrollLeft=b),n.browser.safari&&r===document.body?(e.scrollTo(_.scrollLeft,_.scrollTop),S()):_.scrollTop||_.scrollLeft?a.animate(_,i.duration,i.easing,S):S(),!0},fn:function(e){var t,i,o,a;t=[];var r=n(this);if(0===r.length)return this;for(i=n.extend({},s.config,e),o=r.parent(),a=o.get(0);1===o.length&&a!==document.body&&a!==document;){var l,c;l="visible"!==o.css("overflow-y")&&a.scrollHeight!==a.clientHeight,c="visible"!==o.css("overflow-x")&&a.scrollWidth!==a.clientWidth,(l||c)&&(t.push({$container:o,$target:r}),r=o),o=o.parent(),a=o.get(0)}return t.push({$container:n(n.browser.msie||n.browser.mozilla?"html":"body"),$target:r}),"all"===i.durationMode&&(i.duration/=t.length),s.scroll(t,i),this}},n.fn.ScrollTo=n.ScrollTo.fn}(window),function(e){function t(t){var i=t||window.event,n=[].slice.call(arguments,1
24),s=0,o=!0,a=0,r=0;return t=e.event.fix(i),t.type="mousewheel",i.wheelDelta&&(s=i.wheelDelta/120),i.detail&&(s=-i.detail/3),r=s,void 0!==i.axis&&i.axis===i.HORIZONTAL_AXIS&&(r=0,a=-1*s),void 0!==i.wheelDeltaY&&(r=i.wheelDeltaY/120),void 0!==i.wheelDeltaX&&(a=-1*i.wheelDeltaX/120),n.unshift(t,s,a,r),(e.event.dispatch||e.event.handle).apply(this,n)}var i=["DOMMouseScroll","mousewheel"];if(e.event.fixHooks)for(var n=i.length;n;)e.event.fixHooks[i[--n]]=e.event.mouseHooks;e.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var e=i.length;e;)this.addEventListener(i[--e],t,!1);else this.onmousewheel=t},teardown:function(){if(this.removeEventListener)for(var e=i.length;e;)this.removeEventListener(i[--e],t,!1);else this.onmousewheel=null}},e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}(jQuery),function(e){return e.easyPieChart=function(t,i){var n,s,o,a,r,l,c,u,d=this;return this.el=t,this.$el=e(t),this.$el.data("easyPieChart",this),this.init=function(){var t,n;return d.options=e.extend({},e.easyPieChart.defaultOptions,i),t=parseInt(d.$el.data("percent"),10),d.percentage=0,d.canvas=e("<canvas width='"+d.options.size+"' height='"+d.options.size+"'></canvas>").get(0),d.$el.append(d.canvas),"undefined"!=typeof G_vmlCanvasManager&&null!==G_vmlCanvasManager&&G_vmlCanvasManager.initElement(d.canvas),d.ctx=d.canvas.getContext("2d"),window.devicePixelRatio>1&&(n=window.devicePixelRatio,e(d.canvas).css({width:d.options.size,height:d.options.size}),d.canvas.width*=n,d.canvas.height*=n,d.ctx.scale(n,n)),d.ctx.translate(d.options.size/2,d.options.size/2),d.$el.addClass("easyPieChart"),d.$el.css({width:d.options.size,height:d.options.size,lineHeight:""+d.options.size+"px"}),d.update(t),d},this.update=function(e){return e=parseFloat(e)||0,d.options.animate===!1?o(e):s(d.percentage,e),d},c=function(){var e,t,i;for(d.ctx.fillStyle=d.options.scaleColor,d.ctx.lineWidth=1,i=[],e=t=0;24>=t;e=++t)i.push(n(e));return i},n=function(e){var t;t=e%6===0?0:.017*d.options.size,d.ctx.save(),d.ctx.rotate(e*Math.PI/12),d.ctx.fillRect(d.options.size/2-t,0,.05*-d.options.size+t,1),d.ctx.restore()},u=function(){var e;e=d.options.size/2-d.options.lineWidth/2,d.options.scaleColor!==!1&&(e-=.08*d.options.size),d.ctx.beginPath(),d.ctx.arc(0,0,e,0,2*Math.PI,!0),d.ctx.closePath(),d.ctx.strokeStyle=d.options.trackColor,d.ctx.lineWidth=d.options.lineWidth,d.ctx.stroke()},l=function(){d.options.scaleColor!==!1&&c(),d.options.trackColor!==!1&&u()},o=function(t){var i;l(),d.ctx.strokeStyle=e.isFunction(d.options.barColor)?d.options.barColor(t):d.options.barColor,d.ctx.lineCap=d.options.lineCap,d.ctx.lineWidth=d.options.lineWidth,i=d.options.size/2-d.options.lineWidth/2,d.options.scaleColor!==!1&&(i-=.08*d.options.size),d.ctx.save(),d.ctx.rotate(-Math.PI/2),d.ctx.beginPath(),d.ctx.arc(0,0,i,0,2*Math.PI*t/100,!1),d.ctx.stroke(),d.ctx.restore()},r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)}}(),s=function(e,t){var i,n;d.options.onStart.call(d),d.percentage=t,n=Date.now(),i=function(){var s,c;return c=Date.now()-n,c<d.options.animate&&r(i),d.ctx.clearRect(-d.options.size/2,-d.options.size/2,d.options.size,d.options.size),l.call(d),s=[a(c,e,t-e,d.options.animate)],d.options.onStep.call(d,s),o.call(d,s),c>=d.options.animate?d.options.onStop.call(d):void 0},r(i)},a=function(e,t,i,n){var s,o;return s=function(e){return Math.pow(e,2)},o=function(e){return 1>e?s(e):2-s(e/2*-2+2)},e/=n/2,i/2*o(e)+t},this.init()},e.easyPieChart.defaultOptions={barColor:"#ef1e25",trackColor:"#f2f2f2",scaleColor:"#dfe0e0",lineCap:"round",size:110,lineWidth:3,animate:!1,onStart:e.noop,onStop:e.noop,onStep:e.noop},void(e.fn.easyPieChart=function(t){return e.each(this,function(i,n){var s;return s=e(n),s.data("easyPieChart")?void 0:s.data("easyPieChart",new e.easyPieChart(n,t))})})}(jQuery),function(e){e.fn.downCount=function(t,i){function n(){var e=new Date(s.date),t=a(),n=e-t;if(0>n)return clearInterval(r),void(i&&"function"==typeof i&&i());var l=1e3,c=60*l,u=60*c,d=24*u,h=Math.floor(n/d),p=Math.floor(n%d/u),f=Math.floor(n%u/c),m=Math.floor(n%c/l);h=String(h).length>=2?h:"0"+h,p=String(p).length>=2?p:"0"+p,f=String(f).length>=2?f:"0"+f,m=String(m).length>=2?m:"0"+m;var g=1===h?"day":"days",v=1===p?"hour":"hours",w=1===f?"minute":"minutes",y=1===m?"second":"seconds";o.find(".days").text(h),o.find(".hours").text(p),o.find(".minutes").text(f),o.find(".seconds").text(m),o.find(".days_ref").text(g),o.find(".hours_ref").text(v),o.find(".minutes_ref").text(w),o.find(".seconds_ref").text(y)}var s=e.extend({date:null,offset:null},t);s.date||e.error("Date is not defined."),Date.parse(s.date)||e.error("Incorrect date format, it should look like this, 12/24/2012 12:00:00.");var o=this,a=function(){var e=new Date,t=e.getTime()+6e4*e.getTimezoneOffset(),i=new Date(t+36e5*s.offset);return i},r=setInterval(n,1e3)}}(jQuery),function(e){var t=e.event,i,n;i=t.special.debouncedresize={setup:function(){e(this).on("resize",i.handler)},teardown:function(){e(this).off("resize",i.handler)},handler:function(e,s){var o=this,a=arguments,r=function(){e.type="debouncedresize",t.dispatch.apply(o,a)};n&&clearTimeout(n),s?r():n=setTimeout(r,i.threshold)},threshold:150}}(jQuery),function(e){var t=e(window),i=t.height();t.resize(function(){i=t.height()}),e.fn.parallaxScroll=function(n,s,o,a){function r(){var a=t.scrollTop();l.each(function(){var t=e(this),r=t.offset().top,d=c(t);a>r+d||r>a+i||("horizontal"==o?l.css("backgroundPosition",Math.round((u-a)*s)+"px "+n):l.css("backgroundPosition",n+" "+Math.round((u-a)*s)+"px"))})}var l=e(this),c,u,d=0;l.each(function(){u=l.offset().top}),c=a?function(e){return e.outerHeight(!0)}:function(e){return e.height()},(arguments.length<1||null===n)&&(n="50%"),(arguments.length<2||null===s)&&(s=.1),(arguments.length<3||null===a)&&(a=!1),t.bind("scroll",r).resize(r),r()}}(jQuery),function(e,t){function i(e,t){function i(){n.frameCount++,e.call(n)}var n=this,s;this.frameDuration=t||25,this.frameCount=-1,this.start=function(){i(),s=setInterval(i,this.frameDuration)},this.stop=function(){clearInterval(s),s=null}}function n(){var t=e.event.special.frame.handler,i=e.Event("frame"),n=this.array,s=n.length;for(i.frameCount=this.frameCount;s--;)t.call(n[s],i)}var s;e.event.special.frame||(e.event.special.frame={setup:function(e,t){if(s)s.array.push(this);else{s=new i(n,e&&e.frameDuration),s.array=[this];var o=setTimeout(function(){s.start(),clearTimeout(o),o=null},0)}},teardown:function(e){for(var i=s.array,n=i.length;n--;)if(i[n]===this){i.splice(n,1);break}0===i.length&&(s.stop(),s=t)},handler:function(t){e.event.handle.apply(this,arguments)}})}(jQuery),function(e,t){function i(e){return this.lib[e]}function n(e){return"boolean"==typeof e?e:!!parseFloat(e)}function s(e){return h.percent.exec(e)?parseFloat(e)/100:e}function o(e,t,i,n){var s=[e,t];this.ontarget=!1,this.decay=i,this.pointer=n||[.5,.5],this.update=function(e,t){var i,n;if(this.ontarget)this.pointer=e;else if((!s[0]||f(e[0]-this.pointer[0])<t[0])&&(!s[1]||f(e[1]-this.pointer[1])<t[1]))this.ontarget=!0,this.pointer=e;else{for(i=[],n=2;n--;)s[n]&&(i[n]=e[n]+this.decay*(this.pointer[n]-e[n]));this.pointer=i}}}function a(t,i){var s=this,o=t instanceof e?t:e(t),a=[n(i.xparallax),n(i.yparallax)],r=0,l;this.pointer=[0,0],this.active=!1,this.activeOutside=i&&i.activeOutside||!1,this.update=function(e){var t=this.pos,i=this.size,n=[],s=2;if(r>0){for(2===r&&(r=0,l&&(e=l));s--;)a[s]&&(n[s]=(e[s]-t[s])/i[s],n[s]=n[s]<0?0:n[s]>1?1:n[s]);this.active=!0,this.pointer=n}else this.active=!1},this.updateSize=function(){var e=o.width(),t=o.height();s.size=[e,t],s.threshold=[1/e,1/t]},this.updatePos=function(){var e=o.offset()||{left:0,top:0},t=parseInt(o.css("borderLeftWidth"))+parseInt(o.css("paddingLeft")),i=parseInt(o.css("borderTopWidth"))+parseInt(o.css("paddingTop"));s.pos=[e.left+t,e.top+i]},e(window).bind("resize."+c,s.updateSize).bind("resize."+c,s.updatePos),o.bind("mouseenter."+c,function(e){r=1}).bind("mouseleave."+c,function(e){r=2,l=[e.pageX,e.pageY]}),this.updateSize(),this.updatePos()}function r(e,i){var n=[],o=[],a=[],r=[];this.update=function(t){for(var i=[],s,l,c=2,u={};c--;
24)o[c]&&(i[c]=o[c]*t[c]+a[c],n[c]?(s=r[c],l=-1*i[c]):(s=100*i[c]+"%",l=i[c]*this.size[c]*-1),0===c?(u.left=s,u.marginLeft=l):(u.top=s,u.marginTop=l));e.css(u)},this.setParallax=function(e,l,c,u){for(var p=[e||i.xparallax,l||i.yparallax],f=[c||i.xorigin,u||i.yorigin],m=2,g={};m--;)n[m]=h.px.test(p[m]),"string"==typeof f[m]&&(f[m]=f[m]===t?1:d[f[m]]||s(f[m])),n[m]?(o[m]=parseInt(p[m]),a[m]=f[m]*(this.size[m]-o[m]),r[m]=100*f[m]+"%"):(o[m]=p[m]===!0?1:s(p[m]),a[m]=o[m]?f[m]*(1-o[m]):0)},this.getPointer=function(){for(var t=e.offsetParent(),i=e.position(),s=[],r=[],l=2;l--;)s[l]=n[l]?0:i[0===l?"left":"top"]/(t[0===l?"outerWidth":"outerHeight"]()-this.size[l]),r[l]=(s[l]-a[l])/o[l];return r},this.setSize=function(t,i){this.size=[t||e.outerWidth(),i||e.outerHeight()]},this.setSize(i.width,i.height),this.setParallax(i.xparallax,i.yparallax,i.xorigin,i.yorigin)}function l(t){var i=e(this),n=t.data.global||t.data,s=t.data.local||i.data(c),o=n.port,a=n.mouse,r=s.mouse,l=n.timeStamp!==t.timeStamp;l&&(n.timeStamp=t.timeStamp,o.update(m),(o.active||!a.ontarget)&&a.update(o.pointer,o.threshold)),r?(r.update(s.freeze?s.freeze.pointer:o.pointer,o.threshold),r.ontarget&&(delete s.mouse,s.freeze&&i.unbind(p).addClass(n.freezeClass)),a=r):a.ontarget&&!o.active&&i.unbind(p),s.layer.update(a.pointer)}var c="parallax",u={mouseport:"body",xparallax:!0,yparallax:!0,xorigin:.5,yorigin:.5,decay:.66,frameDuration:30,freezeClass:"freeze"},d={left:0,top:0,middle:.5,center:.5,right:1,bottom:1},h={px:/^\d+\s?px$/,percent:/^\d+\s?%$/},p="frame."+c,f=Math.abs,m=[0,0];i.lib=d,e.fn[c]=function(i){var d=e.extend({},e.fn[c].options,i),h=arguments,f=this,m=[];if(t===e.event.special.frame)throw"jquery.parallax requires jquery.event.frame.";return d.mouseport instanceof e||(d.mouseport=e(d.mouseport)),d.port=new a(d.mouseport,d),d.mouse=new o(n(d.xparallax),n(d.yparallax),d.decay),d.mouseport.bind("mouseenter",function(t){var i=f.length,n;for(d.mouse.ontarget=!1;i--;)n=f[i],e.data(n,c).freeze||e.event.add(this,p,l,{global:d,local:m[i]})}),f.each(function(i){var a=e(this),f=h[i+1]?e.extend({},d,h[i+1]):d,g=new r(a,f),v={layer:g,mouse:new o(n(f.xparallax),n(f.yparallax),f.decay,g.getPointer())};a.data(c,v),m.push(v),e.event.add(this,"freeze",function(i){var a=e(this),r=i.data.global,c=i.data.local,u=c.mouse||c.freeze||r.mouse,d=d=[i.x===t?u.pointer[0]:s(i.x),i.y===t?u.pointer[1]:s(i.y)],h=i.decay;c.freeze={pointer:d},c.mouse=new o(n(r.xparallax),n(r.yparallax),r.decay,u.pointer),h!==t&&(c.mouse.decay=h),e.event.add(this,p,l,r)},{global:d,local:v}),e.event.add(this,"unfreeze",function(i){var s=e(this),a=i.data.global,r=i.data.local,c=i.decay,d;r.freeze&&(d=r.mouse?r.mouse.pointer:r.freeze.pointer,r.mouse=new o(n(a.xparallax),n(a.yparallax),a),r.mouse.pointer=d,c!==t&&(r.mouse.decay=c),delete r.freeze,s.removeClass(u.freezeClass),e.event.add(this,p,l,a))},{global:d,local:v})})},e.fn[c].options=u,e(document).ready(function(){e(document).mousemove(function(e){m=[e.pageX,e.pageY]})})}(jQuery),function(e){function t(t,i,n){var s=t.offset().top,o=t.offset().left,a=n.position.split(/,?\s+/),r=a[0];return a=a[1],s-=i.outerHeight()-n.offset[0],o+=t.outerWidth()+n.offset[1],/iPad/i.test(navigator.userAgent)&&(s-=e(window).scrollTop()),n=i.outerHeight()+t.outerHeight(),"center"==r&&(s+=n/2),"bottom"==r&&(s+=n),t=t.outerWidth(),"center"==a&&(o-=(t+i.outerWidth())/2),"left"==a&&(o-=t),{top:s,left:o}}function i(e){function t(){return this.getAttribute("type")==e}return t.key="[type="+e+"]",t}function n(i,n,s){function o(t,i,n){if(s.grouped||!t.length){var o;n===!1||e.isArray(n)?(o=c.messages[i.key||i]||c.messages["*"],o=o[s.lang]||c.messages["*"].en,(i=o.match(/\$\d/g))&&e.isArray(n)&&e.each(i,function(e){o=o.replace(this,n[e])})):o=n[s.lang]||n,t.push(o)}}var r=this,l=n.add(r);i=i.not(":button, :image, :reset, :submit"),e.extend(r,{getConf:function(){return s},getForm:function(){return n},getInputs:function(){return i},reflow:function(){return i.each(function(){var i=e(this),n=i.data("msg.el");n&&(i=t(i,n,s),n.css({top:i.top,left:i.left}))}),r},invalidate:function(t,n){if(!n){var o=[];e.each(t,function(e,t){e=i.filter("[name='"+e+"']"),e.length&&(e.trigger("OI",[t]),o.push({input:e,messages:[t]}))}),t=o,n=e.Event()}return n.type="onFail",l.trigger(n,[t]),n.isDefaultPrevented()||d[s.effect][0].call(r,t,n),r},reset:function(t){return t=t||i,t.removeClass(s.errorClass).each(function(){var t=e(this).data("msg.el");t&&(t.remove(),e(this).data("msg.el",null))}).unbind(s.errorInputEvent||""),r},destroy:function(){return n.unbind(s.formEvent+".V").unbind("reset.V"),i.unbind(s.inputEvent+".V").unbind("change.V"),r.reset()},checkValidity:function(t,n){if(t=t||i,t=t.not(":disabled"),!t.length)return!0;
24if(n=n||e.Event(),n.type="onBeforeValidate",l.trigger(n,[t]),n.isDefaultPrevented())return n.result;var c=[];t.not(":radio:not(:checked)").each(function(){var t=[],i=e(this).data("messages",t),d=a&&i.is(":date")?"onHide.v":s.errorInputEvent+".v";return i.unbind(d),e.each(u,function(){var e=this,a=e[0];if(i.filter(a).length&&(e=e[1].call(r,i,i.val()),e!==!0)){if(n.type="onBeforeFail",l.trigger(n,[i,a]),n.isDefaultPrevented())return!1;var c=i.attr(s.messageAttr);if(c)return t=[c],!1;o(t,a,e)}}),t.length&&(c.push({input:i,messages:t}),i.trigger("OI",[t]),s.errorInputEvent&&i.bind(d,function(e){r.checkValidity(i,e)})),s.singleError&&c.length?!1:void 0});var h=d[s.effect];if(!h)throw'Validator: cannot find effect "'+s.effect+'"';return c.length?(r.invalidate(c,n),!1):(h[1].call(r,t,n),n.type="onSuccess",l.trigger(n,[t]),t.unbind(s.errorInputEvent+".v"),!0)}}),e.each("onBeforeValidate,onBeforeFail,onFail,onSuccess".split(","),function(t,i){e.isFunction(s[i])&&e(r).bind(i,s[i]),r[i]=function(t){return t&&e(r).bind(i,t),r}}),s.formEvent&&n.bind(s.formEvent+".V",function(e){return r.checkValidity(null,e)?void 0:e.preventDefault()}),n.bind("reset.V",function(){r.reset()}),i[0]&&i[0].validity&&i.each(function(){this.oninvalid=function(){return!1}}),n[0]&&(n[0].checkValidity=r.checkValidity),s.inputEvent&&i.bind(s.inputEvent+".V",function(t){r.checkValidity(e(this),t)}),i.filter(":checkbox, select").filter("[required]").bind("change.V",function(t){var i=e(this);(this.checked||i.is("select")&&e(this).val())&&d[s.effect][1].call(r,i,t)});var h=i.filter(":radio").change(function(e){r.checkValidity(h,e)});e(window).resize(function(){r.reflow()})}e.tools=e.tools||{version:"1.2.5"};var s=/\[type=([a-z]+)\]/,o=/^-?[0-9]*(\.[0-9]+)?$/,a=e.tools.dateinput,r=/^([a-z0-9_\.\-\+]+)@([\da-z\.\-]+)\.([a-z\.]{2,6})$/i,l=/^(https?:\/\/)?[\da-z\.\-]+\.[a-z\.]{2,6}[#&+_\?\/\w \.\-=]*$/i,c;c=e.tools.validator={conf:{grouped:!1,effect:"default",errorClass:"invalid",inputEvent:null,errorInputEvent:"keyup",formEvent:"submit",lang:"en",message:"<div/>",messageAttr:"data-message",messageClass:"error",offset:[0,0],position:"center right",singleError:!1,speed:"normal"},messages:{"*":{en:"Please correct this value"}},localize:function(t,i){e.each(i,function(e,i){c.messages[e]=c.messages[e]||{},c.messages[e][t]=i})},localizeFn:function(t,i){c.messages[t]=c.messages[t]||{},e.extend(c.messages[t],i)},fn:function(t,n,o){e.isFunction(n)?o=n:("string"==typeof n&&(n={en:n}),this.messages[t.key||t]=n),(n=s.exec(t))&&(t=i(n[1])),u.push([t,o])},addEffect:function(e,t,i){d[e]=[t,i]}};var u=[],d={"default":[function(i){var n=this.getConf();e.each(i,function(i,s){i=s.input,i.addClass(n.errorClass);var o=i.data("msg.el");o||(o=e(n.message).addClass(n.messageClass).appendTo(document.body),i.data("msg.el",o)),o.css({visibility:"hidden"}).find("p").remove(),e.each(s.messages,function(t,i){e("<p/>").html(i).appendTo(o)}),o.outerWidth()==o.parent().width()&&o.add(o.find("p")).css({display:"inline"}),s=t(i,o,n),o.css({visibility:"visible",position:"absolute",top:s.top,left:s.left}).fadeIn(n.speed)})},function(t){var i=this.getConf();t.removeClass(i.errorClass).each(function(){var t=e(this).data("msg.el");t&&t.css({visibility:"hidden"})})}]};e.each("email,url,number".split(","),function(t,i){e.expr[":"][i]=function(e){return e.getAttribute("type")===i}}),e.fn.oninvalid=function(e){return this[e?"bind":"trigger"]("OI",e)},c.fn(":email","Please enter a valid email address",function(e,t){return!t||r.test(t)}),c.fn(":url","Please enter a valid URL",function(e,t){return!t||l.test(t)}),c.fn(":number","Please enter a numeric value.",function(e,t){return o.test(t)}),c.fn("[max]","Please enter a value smaller than $1",function(e,t){return""===t||a&&e.is(":date")?!0:(e=e.attr("max"),parseFloat(t)<=parseFloat(e)?!0:[e])}),c.fn("[min]","Please enter a value larger than $1",function(e,t){return""===t||a&&e.is(":date")?!0:(e=e.attr("min"),parseFloat(t)>=parseFloat(e)?!0:[e])}),c.fn("[required]","Please complete this mandatory field.",function(e,t){return e.is(":checkbox")?e.is(":checked"):!!t}),c.fn("[pattern]",function(e){var t=new RegExp("^"+e.attr("pattern")+"$");return t.test(e.val())}),e.fn.validator=function(t){var i=this.data("validator");return i&&(i.destroy(),this.removeData("validator")),t=e.extend(!0,{},c.conf,t),this.is("form")?this.each(function(){var s=e(this);i=new n(s.find(":input"),s,t),s.data("validator",i)}):(i=new n(this,this.eq(0).closest("form"),t),this.data("validator",i))}}(jQuery),function(e){"use strict";e.belowthefold=function(t,i){var n=e(window).height()+e(window).scrollTop();return n<=e(t).offset().top-i.threshold},e.abovethetop=function(t,i){var n=e(window).scrollTop();return n>=e(t).offset().top+e(t).height()-i.threshold},e.rightofscreen=function(t,i){var n=e(window).width()+e(window).scrollLeft();return n<=e(t).offset().left-i.threshold},e.leftofscreen=function(t,i){var n=e(window).scrollLeft();return n>=e(t).offset().left+e(t).width()-i.threshold},e.inviewport=function(t,i){return!(e.rightofscreen(t,i)||e.leftofscreen(t,i)||e.belowthefold(t,i)||e.abovethetop(t,i))},e.extend(e.expr[":"],{"below-the-fold":function(t){return e.belowthefold(t,{threshold:0})},"above-the-top":function(t){return e.abovethetop(t,{threshold:0})},"left-of-screen":function(t){return e.leftofscreen(t,{threshold:0})},"right-of-screen":function(t){return e.rightofscreen(t,{threshold:0})},"in-viewport":function(t){return e.inviewport(t,{threshold:-30})}})}(jQuery),function(e){e.fn.hoverIntent=function(t,i,n){var s={interval:100,sensitivity:7,timeout:0};s="object"==typeof t?e.extend(s,t):e.isFunction(i)?e.extend(s,{over:t,out:i,selector:n}):e.extend(s,{over:t,out:t,selector:i});var o,a,r,l,c=function(e){o=e.pageX,a=e.pageY},u=function(t,i){return i.hoverIntent_t=clearTimeout(i.hoverIntent_t),Math.abs(r-o)+Math.abs(l-a)<s.sensitivity?(e(i).off("mousemove.hoverIntent",c),i.hoverIntent_s=1,s.over.apply(i,[t])):(r=o,l=a,i.hoverIntent_t=setTimeout(function(){u(t,i)},s.interval),void 0)},d=function(e,t){return t.hoverIntent_t=clearTimeout(t.hoverIntent_t),t.hoverIntent_s=0,s.out.apply(t,[e])},h=function(t){var i=jQuery.extend({},t),n=this;n.hoverIntent_t&&(n.hoverIntent_t=clearTimeout(n.hoverIntent_t)),"mouseenter"
24==t.type?(r=i.pageX,l=i.pageY,e(n).on("mousemove.hoverIntent",c),1!=n.hoverIntent_s&&(n.hoverIntent_t=setTimeout(function(){u(i,n)},s.interval))):(e(n).off("mousemove.hoverIntent",c),1==n.hoverIntent_s&&(n.hoverIntent_t=setTimeout(function(){d(i,n)},s.timeout)))};return this.on({"mouseenter.hoverIntent":h,"mouseleave.hoverIntent":h},s.selector)}}(jQuery);var Swiper=function(e,t){"use strict";function i(e,t){return document.querySelectorAll?(t||document).querySelectorAll(e):jQuery(e,t)}function n(e){return"[object Array]"===Object.prototype.toString.apply(e)?!0:!1}function s(){var e=M-D;return t.freeMode&&(e=M-D),t.slidesPerView>P.slides.length&&!t.centeredSlides&&(e=0),0>e&&(e=0),e}function o(){function e(e){var i=new Image;i.onload=function(){P&&void 0!==P.imagesLoaded&&P.imagesLoaded++,P.imagesLoaded===P.imagesToLoad.length&&(P.reInit(),t.onImagesReady&&P.fireCallback(t.onImagesReady,P))},i.src=e}var n=P.h.addEventListener,s="wrapper"===t.eventTarget?P.wrapper:P.container;if(P.browser.ie10||P.browser.ie11?(n(s,P.touchEvents.touchStart,m),n(document,P.touchEvents.touchMove,g),n(document,P.touchEvents.touchEnd,v)):(P.support.touch&&(n(s,"touchstart",m),n(s,"touchmove",g),n(s,"touchend",v)),t.simulateTouch&&(n(s,"mousedown",m),n(document,"mousemove",g),n(document,"mouseup",v))),t.autoResize&&n(window,"resize",P.resizeFix),a(),P._wheelEvent=!1,t.mousewheelControl){if(void 0!==document.onmousewheel&&(P._wheelEvent="mou
24sewheel"),!P._wheelEvent)try{new WheelEvent("wheel"),P._wheelEvent="wheel"}catch(o){}P._wheelEvent||(P._wheelEvent="DOMMouseScroll"),P._wheelEvent&&n(P.container,P._wheelEvent,c)}if(t.keyboardControl&&n(document,"keydown",l),t.updateOnImagesReady){P.imagesToLoad=i("img",P.container);for(var r=0;r<P.imagesToLoad.length;r++)e(P.imagesToLoad[r].getAttribute("src"))}}function a(){var e=P.h.addEventListener,n;if(t.preventLinks){var s=i("a",P.container);for(n=0;n<s.length;n++)e(s[n],"click",p)}if(t.releaseFormElements){var o=i("input, textarea, select",P.container);for(n=0;n<o.length;n++)e(o[n],P.touchEvents.touchStart,f,!0)}if(t.onSlideClick)for(n=0;n<P.slides.length;n++)e(P.slides[n],"click",u);if(t.onSlideTouch)for(n=0;n<P.slides.length;n++)e(P.slides[n],P.touchEvents.touchStart,d)}function r(){var e=P.h.removeEventListener,n;if(t.onSlideClick)for(n=0;n<P.slides.length;n++)e(P.slides[n],"click",u);if(t.onSlideTouch)for(n=0;n<P.slides.length;n++)e(P.slides[n],P.touchEvents.touchStart,d);if(t.releaseFormElements){var s=i("input, textarea, select",P.container);for(n=0;n<s.length;n++)e(s[n],P.touchEvents.touchStart,f,!0)}if(t.preventLinks){var o=i("a",P.container);for(n=0;n<o.length;n++)e(o[n],"click",p)}}function l(e){var t=e.keyCode||e.charCode;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey)){if(37===t||39===t||38===t||40===t){for(var i=!1,n=P.h.getOffset(P.container),s=P.h.windowScroll().left,o=P.h.windowScroll().top,a=P.h.windowWidth(),r=P.h.windowHeight(),l=[[n.left,n.top],[n.left+P.width,n.top],[n.left,n.top+P.height],[n.left+P.width,n.top+P.height]],c=0;c<l.length;c++){var u=l[c];u[0]>=s&&u[0]<=s+a&&u[1]>=o&&u[1]<=o+r&&(i=!0)}if(!i)return}N?((37===t||39===t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),39===t&&P.swipeNext(),37===t&&P.swipePrev()):((38===t||40===t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),40===t&&P.swipeNext(),38===t&&P.swipePrev())}}function c(e){var i=P._wheelEvent,n=0;if(e.detail)n=-e.detail;else if("mousewheel"===i)if(t.mousewheelControlForceToAxis)if(N){if(!(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)))return;n=e.wheelDeltaX}else{if(!(Math.abs(e.wheelDeltaY)>Math.abs(e.wheelDeltaX)))return;n=e.wheelDeltaY}else n=e.wheelDelta;else if("DOMMouseScroll"===i)n=-e.detail;else if("wheel"===i)if(t.mousewheelControlForceToAxis)if(N){if(!(Math.abs(e.deltaX)>Math.abs(e.deltaY)))return;n=-e.deltaX}else{if(!(Math.abs(e.deltaY)>Math.abs(e.deltaX)))return;n=-e.deltaY}else n=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX:-e.deltaY;if(t.freeMode){var o=P.getWrapperTranslate()+n;if(o>0&&(o=0),o<-s()&&(o=-s()),P.setWrapperTransition(0),P.setWrapperTranslate(o),P.updateActiveSlide(o),0===o||o===-s())return}else(new Date).getTime()-V>60&&(0>n?P.swipeNext():P.swipePrev()),V=(new Date).getTime();return t.autoplay&&P.stopAutoplay(!0),e.preventDefault?e.preventDefault():e.returnValue=!1,!1}function u(e){P.allowSlideClick&&(h(e),P.fireCallback(t.onSlideClick,P,e))}function d(e){h(e),P.fireCallback(t.onSlideTouch,P,e)}function h(e){if(e.currentTarget)P.clickedSlide=e.currentTarget;else{var i=e.srcElement;do{if(i.className.indexOf(t.slideClass)>-1)break;i=i.parentNode}while(i);P.clickedSlide=i}
24P.clickedSlideIndex=P.slides.indexOf(P.clickedSlide),P.clickedSlideLoopIndex=P.clickedSlideIndex-(P.loopedSlides||0)}function p(e){return P.allowLinks?void 0:(e.preventDefault?e.preventDefault():e.returnValue=!1,t.preventLinksPropagation&&"stopPropagation"in e&&e.stopPropagation(),!1)}function f(e){return e.stopPropagation?e.stopPropagation():e.returnValue=!1,!1}function m(e){if(t.preventLinks&&(P.allowLinks=!0),P.isTouched||t.onlyExternal)return!1;if(t.noSwiping&&(e.target||e.srcElement)&&w(e.target||e.srcElement))return!1;if(X=!1,P.isTouched=!0,U="touchstart"===e.type,!U||1===e.targetTouches.length){P.callPlugins("onTouchStartBegin"),U||P.isAndroid||(e.preventDefault?e.preventDefault():e.returnValue=!1);var i=U?e.targetTouches[0].pageX:e.pageX||e.clientX,n=U?e.targetTouches[0].pageY:e.pageY||e.clientY;P.touches.startX=P.touches.currentX=i,P.touches.startY=P.touches.currentY=n,P.touches.start=P.touches.current=N?i:n,P.setWrapperTransition(0),P.positions.start=P.positions.current=P.getWrapperTranslate(),P.setWrapperTranslate(P.positions.start),P.times.start=(new Date).getTime(),B=void 0,t.moveStartThreshold>0&&(K=!1),t.onTouchStart&&P.fireCallback(t.onTouchStart,P,e),P.callPlugins("onTouchStartEnd")}}function g(e){if(P.isTouched&&!t.onlyExternal&&(!U||"mousemove"!==e.type)){var i=U?e.targetTouches[0].pageX:e.pageX||e.clientX,n=U?e.targetTouches[0].pageY:e.pageY||e.clientY;if("undefined"==typeof B&&N&&(B=!!(B||Math.abs(n-P.touches.startY)>Math.abs(i-P.touches.startX))),"undefined"!=typeof B||N||(B=!!(B||Math.abs(n-P.touches.startY)<Math.abs(i-P.touches.startX))),B)return void(P.isTouched=!1);if(e.assignedToSwiper)return void(P.isTouched=!1);if(e.assignedToSwiper=!0,t.preventLinks&&(P.allowLinks=!1),t.onSlideClick&&(P.allowSlideClick=!1),t.autoplay&&P.stopAutoplay(!0),!U||1===e.touches.length){if(P.isMoved||(P.callPlugins("onTouchMoveStart"),t.loop&&(P.fixLoop(),P.positions.start=P.getWrapperTranslate()),t.onTouchMoveStart&&P.fireCallback(t.onTouchMoveStart,P)),P.isMoved=!0,e.preventDefault?e.preventDefault():e.returnValue=!1,P.touches.current=N?i:n,P.positions.current=(P.touches.current-P.touches.start)*t.touchRatio+P.positions.start,P.positions.current>0&&t.onResistanceBefore&&P.fireCallback(t.onResistanceBefore,P,P.positions.current),P.positions.current<-s()&&t.onResistanceAfter&&P.fireCallback(t.onResistanceAfter,P,Math.abs(P.positions.current+s())),t.resistance&&"100%"!==t.resistance){var o;if(P.positions.current>0&&(o=1-P.positions.current/D/2,P.positions.current=.5>o?D/2:P.positions.current*o),P.positions.current<-s()){var a=(P.touches.current-P.touches.start)*t.touchRatio+(s()+P.positions.start);o=(D+a)/D;var r=P.positions.current-a*(1-o)/2,l=-s()-D/2;P.positions.current=l>r||0>=o?l:r}}if(t.resistance&&"100%"===t.resistance&&(P.positions.current>0&&(!t.freeMode||t.freeModeFluid)&&(P.positions.current=0),P.positions.current<-s()&&(!t.freeMode||t.freeModeFluid)&&(P.positions.current=-s())),!t.followFinger)return;if(t.moveStartThreshold)if(Math.abs(P.touches.current-P.touches.start)>t.moveStartThreshold||K){if(!K)return K=!0,void(P.touches.start=P.touches.current);P.setWrapperTranslate(P.positions.current)}else P.positions.current=P.positions.start;else P.setWrapperTranslate(P.positions.current);return(t.freeMode||t.watchActiveIndex)&&P.updateActiveSlide(P.positions.current),t.grabCursor&&(P.container.style.cursor="move",P.container.style.cursor="grabbing",P.container.style.cursor="-moz-grabbin",P.container.style.cursor="-webkit-grabbing"),J||(J=P.touches.current),Z||(Z=(new Date).getTime()),P.velocity=(P.touches.current-J)/((new Date).getTime()-Z)/2,Math.abs(P.touches.current-J)<2&&(P.velocity=0),J=P.touches.current,Z=(new Date).getTime(),P.callPlugins("onTouchMoveEnd"),t.onTouchMove&&P.fireCallback(t.onTouchMove,P,e),!1}}}function v(e){if(B&&P.swipeReset(),!t.onlyExternal&&P.isTouched){P.isTouched=!1,t.grabCursor&&(P.container.style.cursor="move",P.container.style.cursor="grab",P.container.style.cursor="-moz-grab",P.container.style.cursor="-webkit-grab"),P.positions.current||0===P.positions.current||(P.positions.current=P.positions.start),t.followFinger&&P.setWrapperTranslate(P.positions.current),P.times.end=(new Date).getTime(),P.touches.diff=P.touches.current-P.touches.start,P.touches.abs=Math.abs(P.touches.diff),P.positions.diff=P.positions.current-P.positions.start,P.positions.abs=Math.abs(P.positions.diff);var i=P.positions.diff,n=P.positions.abs,o=P.times.end-P.times.start;5>n&&300>o&&P.allowLinks===!1&&(t.freeMode||0===n||P.swipeReset(),t.preventLinks&&(P.allowLinks=!0),t.onSlideClick&&(P.allowSlideClick=!0)),setTimeout(function(){t.preventLinks&&(P.allowLinks=!0),t.onSlideClick&&(P.allowSlideClick=!0)},100);var a=s();if(!P.isMoved&&t.freeMode)return P.isMoved=!1,t.onTouchEnd&&P.fireCallback(t.onTouchEnd,P,e),void P.callPlugins("onTouchEnd");if(!P.isMoved||P.positions.current>0||P.positions.current<-a)return P.swipeReset(),t.onTouchEnd&&P.fireCallback(t.onTouchEnd,P,e),void P.callPlugins("onTouchEnd");if(P.isMoved=!1,t.freeMode){if(t.freeModeFluid){var r=1e3*t.momentumRatio,l=P.velocity
24*r,c=P.positions.current+l,u=!1,d,h=20*Math.abs(P.velocity)*t.momentumBounceRatio;-a>c&&(t.momentumBounce&&P.support.transitions?(-h>c+a&&(c=-a-h),d=-a,u=!0,X=!0):c=-a),c>0&&(t.momentumBounce&&P.support.transitions?(c>h&&(c=h),d=0,u=!0,X=!0):c=0),0!==P.velocity&&(r=Math.abs((c-P.positions.current)/P.velocity)),P.setWrapperTranslate(c),P.setWrapperTransition(r),t.momentumBounce&&u&&P.wrapperTransitionEnd(function(){X&&(t.onMomentumBounce&&P.fireCallback(t.onMomentumBounce,P),P.callPlugins("onMomentumBounce"),P.setWrapperTranslate(d),P.setWrapperTransition(300))}),P.updateActiveSlide(c)}return(!t.freeModeFluid||o>=300)&&P.updateActiveSlide(P.positions.current),t.onTouchEnd&&P.fireCallback(t.onTouchEnd,P,e),void P.callPlugins("onTouchEnd")}L=0>i?"toNext":"toPrev","toNext"===L&&300>=o&&(30>n||!t.shortSwipes?P.swipeReset():P.swipeNext(!0)),"toPrev"===L&&300>=o&&(30>n||!t.shortSwipes?P.swipeReset():P.swipePrev(!0));var p=0;if("auto"===t.slidesPerView){for(var f=Math.abs(P.getWrapperTranslate()),m=0,g,v=0;v<P.slides.length;v++)if(g=N?P.slides[v].getWidth(!0,t.roundLengths):P.slides[v].getHeight(!0,t.roundLengths),m+=g,m>f){p=g;break}p>D&&(p=D)}else p=I*t.slidesPerView;"toNext"===L&&o>300&&(n>=p*t.longSwipesRatio?P.swipeNext(!0):P.swipeReset()),"toPrev"===L&&o>300&&(n>=p*t.longSwipesRatio?P.swipePrev(!0):P.swipeReset()),t.onTouchEnd&&P.fireCallback(t.onTouchEnd,P,e),P.callPlugins("onTouchEnd") 25}}function w(e){var i=!1;do e.className.indexOf(t.noSwipingClass)>-1&&(i=!0),e=e.parentElement;while(!i&&e.parentElement&&-1===e.className.indexOf(t.wrapperClass));return!i&&e.className.indexOf(t.wrapperClass)>-1&&e.className.indexOf(t.noSwipingClass)>-1&&(i=!0),i}function y(e,t){var i=document.createElement("div"),n;return i.innerHTML=t,n=i.firstChild,n.className+=" "+e,n.outerHTML}function b(e,i,n){function s(){var o=+new Date,d=o-a;r+=l*d/(1e3/60),u="toNext"===c?r>e:e>r,u?(P.setWrapperTranslate(Math.ceil(r)),P._DOMAnimating=!0,window.setTimeout(function(){s()},1e3/60)):(t.onSlideChangeEnd&&("to"===i?n.runCallbacks===!0&&P.fireCallback(t.onSlideChangeEnd,P):P.fireCallback(t.onSlideChangeEnd,P)),P.setWrapperTranslate(e),P._DOMAnimating=!1)}var o="to"===i&&n.speed>=0?n.speed:t.speed,a=+new Date;
25if(P.support.transitions||!t.DOMAnimation)P.setWrapperTranslate(e),P.setWrapperTransition(o);else{var r=P.getWrapperTranslate(),l=Math.ceil((e-r)/o*(1e3/60)),c=r>e?"toNext":"toPrev",u="toNext"===c?r>e:e>r;if(P._DOMAnimating)return;s()}P.updateActiveSlide(e),t.onSlideNext&&"next"===i&&P.fireCallback(t.onSlideNext,P,e),t.onSlidePrev&&"prev"===i&&P.fireCallback(t.onSlidePrev,P,e),t.onSlideReset&&"reset"===i&&P.fireCallback(t.onSlideReset,P,e),("next"===i||"prev"===i||"to"===i&&n.runCallbacks===!0)&&_(i)}function _(e){if(P.callPlugins("onSlideChangeStart"),t.onSlideChangeStart)if(t.queueStartCallbacks&&P.support.transitions){if(P._queueStartCallbacks)return;P._queueStartCallbacks=!0,P.fireCallback(t.onSlideChangeStart,P,e),P.wrapperTransitionEnd(function(){P._queueStartCallbacks=!1})}else P.fireCallback(t.onSlideChangeStart,P,e);if(t.onSlideChangeEnd)if(P.support.transitions)if(t.queueEndCallbacks){if(P._queueEndCallbacks)return;P._queueEndCallbacks=!0,P.wrapperTransitionEnd(function(i){P.fireCallback(t.onSlideChangeEnd,i,e)})}else P.wrapperTransitionEnd(function(i){P.fireCallback(t.onSlideChangeEnd,i,e)});else t.DOMAnimation||setTimeout(function(){P.fireCallback(t.onSlideChangeEnd,P,e)},10)}function S(){var e=P.paginationButtons;if(e)for(var t=0;t<e.length;t++)P.h.removeEventListener(e[t],"click",x)}function C(){var e=P.paginationButtons;if(e)for(var t=0;t<e.length;t++)P.h.addEventListener(e[t],"click",x)}function x(e){for(var t,i=e.target||e.srcElement,n=P.paginationButtons,s=0;s<n.length;s++)i===n[s]&&(t=s);P.swipeTo(t)}function A(){$=setTimeout(function(){t.loop?(P.fixLoop(),P.swipeNext(!0)):P.swipeNext(!0)||(t.autoplayStopOnLast?(clearTimeout($),$=void 0):P.swipeTo(0)),P.wrapperTransitionEnd(function(){"undefined"!=typeof $&&A()})},t.autoplay)}function T(){P.calcSlides(),t.loader.slides.length>0&&0===P.slides.length&&P.loadSlides(),t.loop&&P.createLoop(),P.init(),o(),t.pagination&&P.createPagination(!0),t.loop||t.initialSlide>0?P.swipeTo(t.initialSlide,0,!1):P.updateActiveSlide(0),t.autoplay&&P.startAutoplay(),P.centerIndex=P.activeIndex,t.onSwiperCreated&&P.fireCallback(t.onSwiperCreated,P),P.callPlugins("onSwiperCreated")}if(document.body.__defineGetter__&&HTMLElement){var k=HTMLElement.prototype;k.__defineGetter__&&k.__defineGetter__("outerHTML",function(){return(new XMLSerializer).serializeToString(this)})}if(window.getComputedStyle||(window.getComputedStyle=function(e,t){return this.el=e,this.getPropertyValue=function(t){var i=/(\-([a-z]){1})/g;return"float"===t&&(t="styleFloat"),i.test(t)&&(t=t.replace(i,function(){return arguments[2].toUpperCase()})),e.currentStyle[t]?e.currentStyle[t]:null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){for(var i=t||0,n=this.length;n>i;i++)if(this[i]===e)return i;return-1}),(document.querySelectorAll||window.jQuery)&&"undefined"!=typeof e&&(e.nodeType||0!==i(e).length)){var P=this;P.touches={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,diff:0,abs:0},P.positions={start:0,abs:0,diff:0,current:0},P.times={start:0,end:0},P.id=(new Date).getTime(),P.container=e.nodeType?e:i(e)[0],P.isTouched=!1,P.isMoved=!1,P.activeIndex=0,P.centerIndex=0,P.activeLoaderIndex=0,P.activeLoopIndex=0,P.previousIndex=null,P.velocity=0,P.snapGrid=[],P.slidesGrid=[],P.imagesToLoad=[],P.imagesLoaded=0,P.wrapperLeft=0,P.wrapperRight=0,P.wrapperTop=0,P.wrapperBottom=0,P.isAndroid=navigator.userAgent.toLowerCase().indexOf("android")>=0;var E,I,M,L,B,D,z={eventTarget:"wrapper",mode:"horizontal",touchRatio:1,speed:300,freeMode:!1,freeModeFluid:!1,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,slidesPerView:1,slidesPerGroup:1,slidesPerViewFit:!0,simulateTouch:!0,followFinger:!0,shortSwipes:!0,longSwipesRatio:.5,moveStartThreshold:!1,onlyExternal:!1,createPagination:!0,pagination:!1,paginationElement:"span",paginationClickable:!1,paginationAsRange:!0,resistance:!0,scrollContainer:!1,preventLinks:!0,preventLinksPropagation:!1,noSwiping:!1,noSwipingClass:"swiper-no-swiping",initialSlide:0,keyboardControl:!1,mousewheelControl:!1,mousewheelControlForceToAxis:!1,useCSS3Transforms:!0,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,loop:!1,loopAdditionalSlides:0,roundLengths:!1,calculateHeight:!1,cssWidthAndHeight:!1,updateOnImagesReady:!0,releaseFormElements:!0,watchActiveIndex:!1,visibilityFullFit:!1,offsetPxBefore:0,offsetPxAfter:0,offsetSlidesBefore:0,offsetSlidesAfter:0,centeredSlides:!1,queueStartCallbacks:!1,queueEndCallbacks:!1,autoResize:!0,resizeReInit:!1,DOMAnimation:!0,loader:{slides:[],slidesHTMLType:"inner",surroundGroups:1,logic:"reload",loadAllSlides:!1},slideElement:"div",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",wrapperClass:"swiper-wrapper",paginationElementClass:"swiper-pagination-switch",paginationActiveClass:"swiper-active-switch",paginationVisibleClass:"swiper-visible-switch"};t=t||{};for(var R in z)if(R in t&&"object"==typeof t[R])for(var O in z[R])O in t[R]||(t[R][O]=z[R][O]);else R in t||(t[R]=z[R]);
25P.params=t,t.scrollContainer&&(t.freeMode=!0,t.freeModeFluid=!0),t.loop&&(t.resistance="100%");var N="horizontal"===t.mode,W=["mousedown","mousemove","mouseup"];P.browser.ie10&&(W=["MSPointerDown","MSPointerMove","MSPointerUp"]),P.browser.ie11&&(W=["pointerdown","pointermove","pointerup"]),P.touchEvents={touchStart:P.support.touch||!t.simulateTouch?"touchstart":W[0],touchMove:P.support.touch||!t.simulateTouch?"touchmove":W[1],touchEnd:P.support.touch||!t.simulateTouch?"touchend":W[2]};for(var Q=P.container.childNodes.length-1;Q>=0;Q--)if(P.container.childNodes[Q].className)for(var F=P.container.childNodes[Q].className.split(/\s+/),G=0;G<F.length;G++)F[G]===t.wrapperClass&&(E=P.container.childNodes[Q]);P.wrapper=E,P._extendSwiperSlide=function(e){return e.append=function(){return t.loop?e.insertAfter(P.slides.length-P.loopedSlides):(P.wrapper.appendChild(e),P.reInit()),e},e.prepend=function(){return t.loop?(P.wrapper.insertBefore(e,P.slides[P.loopedSlides]),P.removeLoopedSlides(),P.calcSlides(),P.createLoop()):P.wrapper.insertBefore(e,P.wrapper.firstChild),P.reInit(),e},e.insertAfter=function(i){if("undefined"==typeof i)return!1;var n;return t.loop?(n=P.slides[i+1+P.loopedSlides],n?P.wrapper.insertBefore(e,n):P.wrapper.appendChild(e),P.removeLoopedSlides(),P.calcSlides(),P.createLoop()):(n=P.slides[i+1],P.wrapper.insertBefore(e,n)),P.reInit(),e},e.clone=function(){return P._extendSwiperSlide(e.cloneNode(!0))},e.remove=function(){P.wrapper.removeChild(e),P.reInit()},e.html=function(t){return"undefined"==typeof t?e.innerHTML:(e.innerHTML=t,e)},e.index=function(){for(var t,i=P.slides.length-1;i>=0;i--)e===P.slides[i]&&(t=i);return t},e.isActive=function(){return e.index()===P.activeIndex?!0:!1},e.swiperSlideDataStorage||(e.swiperSlideDataStorage={}),e.getData=function(t){return e.swiperSlideDataStorage[t]},e.setData=function(t,i){return e.swiperSlideDataStorage[t]=i,e},e.data=function(t,i){return"undefined"==typeof i?e.getAttribute("data-"+t):(e.setAttribute("data-"+t,i),e)},e.getWidth=function(t,i){return P.h.getWidth(e,t,i)},e.getHeight=function(t,i){return P.h.getHeight(e,t,i)},e.getOffset=function(){return P.h.getOffset(e)},e},P.calcSlides=function(e){var i=P.slides?P.slides.length:!1;P.slides=[],P.displaySlides=[];for(var n=0;n<P.wrapper.childNodes.length;n++)if(P.wrapper.childNodes[n].className)for(var s=P.wrapper.childNodes[n].className,o=s.split(/\s+/),l=0;l<o.length;l++)o[l]===t.slideClass&&P.slides.push(P.wrapper.childNodes[n]);for(n=P.slides.length-1;n>=0;n--)P._extendSwiperSlide(P.slides[n]);i!==!1&&(i!==P.slides.length||e)&&(r(),a(),P.updateActiveSlide(),P.params.pagination&&P.createPagination(),P.callPlugins("numberOfSlidesChanged"))},P.createSlide=function(e,i,n){i=i||P.params.slideClass,n=n||t.slideElement;var s=document.createElement(n);return s.innerHTML=e||"",s.className=i,P._extendSwiperSlide(s)},P.appendSlide=function(e,t,i){return e?e.nodeType?P._extendSwiperSlide(e).append():P.createSlide(e,t,i).append():void 0},P.prependSlide=function(e,t,i){return e?e.nodeType?P._extendSwiperSlide(e).prepend():P.createSlide(e,t,i).prepend():void 0},P.insertSlideAfter=function(e,t,i,n){return"undefined"==typeof e?!1:t.nodeType?P._extendSwiperSlide(t).insertAfter(e):P.createSlide(t,i,n).insertAfter(e)},P.removeSlide=function(e){if(P.slides[e]){if(t.loop){if(!P.slides[e+P.loopedSlides])return!1;P.slides[e+P.loopedSlides].remove(),P.removeLoopedSlides(),P.calcSlides(),P.createLoop()}else P.slides[e].remove();return!0}return!1},P.removeLastSlide=function(){return P.slides.length>0?(t.loop?(P.slides[P.slides.length-1-P.loopedSlides].remove(),P.removeLoopedSlides(),P.calcSlides(),P.createLoop()):P.slides[P.slides.length-1].remove(),!0):!1},P.removeAllSlides=function(){for(var e=P.slides.length-1;e>=0;e--)P.slides[e].remove()},P.getSlide=function(e){return P.slides[e]},P.getLastSlide=function(){return P.slides[P.slides.length-1]},P.getFirstSlide=function(){return P.slides[0]},P.activeSlide=function(){return P.slides[P.activeIndex]},P.fireCallback=function(){var e=arguments[0];if("[object Array]"===Object.prototype.toString.call(e))for(var i=0;i<e.length;i++)"function"==typeof e[i]&&e[i](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);else"[object String]"===Object.prototype.toString.call(e)?t["on"+e]&&P.fireCallback(t["on"+e],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]):e(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},P.addCallback=function(e,t){var i=this,s;return i.params["on"+e]?n(this.params["on"+e])?this.params["on"+e].push(t):"function"==typeof this.params["on"+e]?(s=this.params["on"+e],this.params["on"+e]=[],this.params["on"+e].push(s),this.params["on"+e].push(t)):void 0:(this.params["on"+e]=[],this.params["on"+e].push(t))},P.removeCallbacks=function(e){P.params["on"+e]&&(P.params["on"+e]=null)};var H=[];for(var q in P.plugins)if(t[q]){var j=P.plugins[q](P,t[q]);j&&H.push(j)}P.callPlugins=function(e,t){t||(t={});for(var i=0;i<H.length;i++)e in H[i]&&H[i][e](t)},!P.browser.ie10&&!P.browser.ie11||t.onlyExternal||P.wrapper.classList.add("swiper-wp8-"+(N?"horizontal":"vertical")),t.freeMode&&(P.container.className+=" swiper-free-mode"),P.initialized=!1,P.init=function(e,i){var n=P.h.getWidth(P.container,!1,t.roundLengths),s=P.h.getHeight(P.container,!1,t.roundLengths);if(n!==P.width||s!==P.height||e){P.width=n,P.height=s;var o,a,r,l,c,u,d;D=N?n:s;var h=P.wrapper;if(e&&P.calcSlides(i),"auto"===t.slidesPerView){var p=0,f=0;t.slidesOffset>0&&(h.style.paddingLeft="",h.style.paddingRight="",h.style.paddingTop="",h.style.paddingBottom=""),h.style.width="",h.style.height="",t.offsetPxBefore>0&&(N?P.wrapperLeft=t.offsetPxBefore:P.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(N?P.wrapperRight=t.offsetPxAfter:P.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(N?(P.wrapperLeft=(D-this.slides[0].getWidth(!0,t.roundLengths))/2,P.wrapperRight=(D-P.slides[P.slides.length-1].getWidth(!0,t.roundLengths))/2):(P.wrapperTop=(D-P.slides[0].getHeight(!0,t.roundLengths))/2,P.wrapperBottom=(D-P.slides[P.slides.length-1].getHeight(!0,t.roundLengths))/2)),N?(P.wrapperLeft>=0&&(h.style.paddingLeft=P.wrapperLeft+"px"),P.wrapperRight>
25=0&&(h.style.paddingRight=P.wrapperRight+"px")):(P.wrapperTop>=0&&(h.style.paddingTop=P.wrapperTop+"px"),P.wrapperBottom>=0&&(h.style.paddingBottom=P.wrapperBottom+"px")),u=0;var m=0;for(P.snapGrid=[],P.slidesGrid=[],r=0,d=0;d<P.slides.length;d++){o=P.slides[d].getWidth(!0,t.roundLengths),a=P.slides[d].getHeight(!0,t.roundLengths),t.calculateHeight&&(r=Math.max(r,a));var g=N?o:a;if(t.centeredSlides){var v=d===P.slides.length-1?0:P.slides[d+1].getWidth(!0,t.roundLengths),w=d===P.slides.length-1?0:P.slides[d+1].getHeight(!0,t.roundLengths),y=N?v:w;if(g>D){if(t.slidesPerViewFit)P.snapGrid.push(u+P.wrapperLeft),P.snapGrid.push(u+g-D+P.wrapperLeft);else for(var b=0;b<=Math.floor(g/(D+P.wrapperLeft));b++)P.snapGrid.push(0===b?u+P.wrapperLeft:u+P.wrapperLeft+D*b);P.slidesGrid.push(u+P.wrapperLeft)}else P.snapGrid.push(m),P.slidesGrid.push(m);m+=g/2+y/2}else{if(g>D)if(t.slidesPerViewFit)P.snapGrid.push(u),P.snapGrid.push(u+g-D);else if(0!==D)for(var _=0;_<=Math.floor(g/D);_++)P.snapGrid.push(u+D*_);else P.snapGrid.push(u);else P.snapGrid.push(u);P.slidesGrid.push(u)}u+=g,p+=o,f+=a}t.calculateHeight&&(P.height=r),N?(M=p+P.wrapperRight+P.wrapperLeft,h.style.width=p+"px",h.style.height=P.height+"px"):(M=f+P.wrapperTop+P.wrapperBottom,h.style.width=P.width+"px",h.style.height=f+"px")}else if(t.scrollContainer)h.style.width="",h.style.height="",l=P.slides[0].getWidth(!0,t.roundLengths),c=P.slides[0].getHeight(!0,t.roundLengths),M=N?l:c,h.style.width=l+"px",h.style.height=c+"px",I=N?l:c;else{if(t.calculateHeight){for(r=0,c=0,N||(P.container.style.height=""),h.style.height="",d=0;d<P.slides.length;d++)P.slides[d].style.height="",r=Math.max(P.slides[d].getHeight(!0),r),N||(c+=P.slides[d].getHeight(!0));a=r,P.height=a,N?c=a:(D=a,P.container.style.height=D+"px")}else a=N?P.height:P.height/t.slidesPerView,t.roundLengths&&(a=Math.ceil(a)),c=N?P.height:P.slides.length*a;for(o=N?P.width/t.slidesPerView:P.width,t.roundLengths&&(o=Math.ceil(o)),l=N?P.slides.length*o:P.width,I=N?o:a,t.offsetSlidesBefore>0&&(N?P.wrapperLeft=I*t.offsetSlidesBefore:P.wrapperTop=I*t.offsetSlidesBefore),t.offsetSlidesAfter>0&&(N?P.wrapperRight=I*t.offsetSlidesAfter:P.wrapperBottom=I*t.offsetSlidesAfter),t.offsetPxBefore>0&&(N?P.wrapperLeft=t.offsetPxBefore:P.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(N?P.wrapperRight=t.offsetPxAfter:P.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(N?(P.wrapperLeft=(D-I)/2,P.wrapperRight=(D-I)/2):(P.wrapperTop=(D-I)/2,P.wrapperBottom=(D-I)/2)),N?(P.wrapperLeft>0&&(h.style.paddingLeft=P.wrapperLeft+"px"),P.wrapperRight>0&&(h.style.paddingRight=P.wrapperRight+"px")):(P.wrapperTop>0&&(h.style.paddingTop=P.wrapperTop+"px"),P.wrapperBottom>0&&(h.style.paddingBottom=P.wrapperBottom+"px")),M=N?l+P.wrapperRight+P.wrapperLeft:c+P.wrapperTop+P.wrapperBottom,t.cssWidthAndHeight||(parseFloat(l)>0&&(h.style.width=l+"px"),parseFloat(c)>0&&(h.style.height=c+"px")),u=0,P.snapGrid=[],P.slidesGrid=[],d=0;d<P.slides.length;d++)P.snapGrid.push(u),P.slidesGrid.push(u),u+=I,t.cssWidthAndHeight||(parseFloat(o)>0&&(P.slides[d].style.width=o+"px"),parseFloat(a)>0&&(P.slides[d].style.height=a+"px"))}P.initialized?(P.callPlugins("onInit"),t.onInit&&P.fireCallback(t.onInit,P)):(P.callPlugins("onFirstInit"),t.onFirstInit&&P.fireCallback(t.onFirstInit,P)),P.initialized=!0}},P.reInit=function(e){P.init(!0,e)},P.resizeFix=function(e){P.callPlugins("beforeResizeFix"),P.init(t.resizeReInit||e),t.freeMode?P.getWrapperTranslate()<-s()&&(P.setWrapperTransition(0),P.setWrapperTranslate(-s())):(P.swipeTo(t.loop?P.activeLoopIndex:P.activeIndex,0,!1),t.autoplay&&(P.support.transitions&&"undefined"!=typeof $?"undefined"!=typeof $&&(clearTimeout($),$=void 0,P.startAutoplay()):"undefined"!=typeof et&&(clearInterval(et),et=void 0,P.startAutoplay()))),P.callPlugins("afterResizeFix")},P.destroy=function(){var e=P.h.removeEventListener,i="wrapper"===t.eventTarget?P.wrapper:P.container;P.browser.ie10||P.browser.ie11?(e(i,P.touchEvents.touchStart,m),e(document,P.touchEvents.touchMove,g),e(document,P.touchEvents.touchEnd,v)):(P.support.touch&&(e(i,"touchstart",m),e(i,"touchmove",g),e(i,"touchend",v)),t.simulateTouch&&(e(i,"mousedown",m),e(document,"mousemove",g),e(document,"mouseup",v))),t.autoResize&&e(window,"resize",P.resizeFix),r(),t.paginationClickable&&S(),t.mousewheelControl&&P._wheelEvent&&e(P.container,P._wheelEvent,c),t.keyboardControl&&e(document,"keydown",l),t.autoplay&&P.stopAutoplay(),P.callPlugins("onDestroy"),P=null}
25,P.disableKeyboardControl=function(){t.keyboardControl=!1,P.h.removeEventListener(document,"keydown",l)},P.enableKeyboardControl=function(){t.keyboardControl=!0,P.h.addEventListener(document,"keydown",l)};var V=(new Date).getTime();if(P.disableMousewheelControl=function(){return P._wheelEvent?(t.mousewheelControl=!1,P.h.removeEventListener(P.container,P._wheelEvent,c),!0):!1},P.enableMousewheelControl=function(){return P._wheelEvent?(t.mousewheelControl=!0,P.h.addEventListener(P.container,P._wheelEvent,c),!0):!1},t.grabCursor){var Y=P.container.style;Y.cursor="move",Y.cursor="grab",Y.cursor="-moz-grab",Y.cursor="-webkit-grab"}P.allowSlideClick=!0,P.allowLinks=!0;var U=!1,K,X=!0,J,Z;P.swipeNext=function(e){!e&&t.loop&&P.fixLoop(),!e&&t.autoplay&&P.stopAutoplay(!0),P.callPlugins("onSwipeNext");var i=P.getWrapperTranslate(),n=i;if("auto"===t.slidesPerView){for(var o=0;o<P.snapGrid.length;o++)if(-i>=P.snapGrid[o]&&-i<P.snapGrid[o+1]){n=-P.snapGrid[o+1];break}}else{var a=I*t.slidesPerGroup;n=-(Math.floor(Math.abs(i)/Math.floor(a))*a+a)}return n<-s()&&(n=-s()),n===i?!1:(b(n,"next"),!0)},P.swipePrev=function(e){!e&&t.loop&&P.fixLoop(),!e&&t.autoplay&&P.stopAutoplay(!0),P.callPlugins("onSwipePrev");var i=Math.ceil(P.getWrapperTranslate()),n;if("auto"===t.slidesPerView){n=0;for(var s=1;s<P.snapGrid.length;s++){if(-i===P.snapGrid[s]){n=-P.snapGrid[s-1];break}if(-i>P.snapGrid[s]&&-i<P.snapGrid[s+1]){n=-P.snapGrid[s];break}}}else{var o=I*t.slidesPerGroup;n=-(Math.ceil(-i/o)-1)*o}return n>0&&(n=0),n===i?!1:(b(n,"prev"),!0)},P.swipeReset=function(){P.callPlugins("onSwipeReset");var e=P.getWrapperTranslate(),i=I*t.slidesPerGroup,n,o=-s();if("auto"===t.slidesPerView){n=0;for(var a=0;a<P.snapGrid.length;a++){if(-e===P.snapGrid[a])return;if(-e>=P.snapGrid[a]&&-e<P.snapGrid[a+1]){n=P.positions.diff>0?-P.snapGrid[a+1]:-P.snapGrid[a];break}}-e>=P.snapGrid[P.snapGrid.length-1]&&(n=-P.snapGrid[P.snapGrid.length-1]),e<=-s()&&(n=-s())}else n=0>e?Math.ceil(e/i)*i:0;return t.scrollContainer&&(n=0>e?e:0),n<-s()&&(n=-s()),t.scrollContainer&&D>I&&(n=0),n===e?!1:(b(n,"reset"),!0)},P.swipeTo=function(e,i,n){e=parseInt(e,10),P.callPlugins("onSwipeTo",{index:e,speed:i}),t.loop&&(e+=P.loopedSlides);var o=P.getWrapperTranslate();if(!(e>P.slides.length-1||0>e)){var a;return a="auto"===t.slidesPerView?-P.slidesGrid[e]:-e*I,a<-s()&&(a=-s()),a===o?!1:(n=n===!1?!1:!0,b(a,"to",{index:e,speed:i,runCallbacks:n}),!0)}},P._queueStartCallbacks=!1,P._queueEndCallbacks=!1,P.updateActiveSlide=function(e){if(P.initialized&&0!==P.slides.length){P.previousIndex=P.activeIndex,"undefined"==typeof e&&(e=P.getWrapperTranslate()),e>0&&(e=0);var i;if("auto"===t.slidesPerView){var n=0;if(P.activeIndex=P.slidesGrid.indexOf(-e),P.activeIndex<0){for(i=0;i<P.slidesGrid.length-1&&!(-e>P.slidesGrid[i]&&-e<P.slidesGrid[i+1]);i++);var s=Math.abs(P.slidesGrid[i]+e),o=Math.abs(P.slidesGrid[i+1]+e);P.activeIndex=o>=s?i:i+1}}else P.activeIndex=Math[t.visibilityFullFit?"ceil":"round"](-e/I);if(P.activeIndex===P.slides.length&&(P.activeIndex=P.slides.length-1),P.activeIndex<0&&(P.activeIndex=0),P.slides[P.activeIndex]){if(P.calcVisibleSlides(e),P.support.classList){var a;for(i=0;i<P.slides.length;i++)a=P.slides[i],a.classList.remove(t.slideActiveClass),P.visibleSlides.indexOf(a)>=0?a.classList.add(t.slideVisibleClass):a.classList.remove(t.slideVisibleClass);P.slides[P.activeIndex].classList.add(t.slideActiveClass)}else{var r=new RegExp("\\s*"+t.slideActiveClass),l=new RegExp("\\s*"+t.slideVisibleClass);for(i=0;i<P.slides.length;i++)P.slides[i].className=P.slides[i].className.replace(r,"").replace(l,""),P.visibleSlides.indexOf(P.slides[i])>=0&&(P.slides[i].className+=" "+t.slideVisibleClass);P.slides[P.activeIndex].className+=" "+t.slideActiveClass}if(t.loop){var c=P.loopedSlides;P.activeLoopIndex=P.activeIndex-c,P.activeLoopIndex>=P.slides.length-2*c&&(P.activeLoopIndex=P.slides.length-2*c-P.activeLoopIndex),P.activeLoopIndex<0&&(P.activeLoopIndex=P.slides.length-2*c+P.activeLoopIndex),P.activeLoopIndex<0&&(P.activeLoopIndex=0)}else P.activeLoopIndex=P.activeIndex;t.pagination&&P.updatePagination(e)}}},P.createPagination=function(e){if(t.paginationClickable&&P.paginationButtons&&S(),P.paginationContainer=t.pagination.nodeType?t.pagination:i(t.pagination)[0],t.createPagination){var n="",s=P.slides.length,o=s;t.loop&&(o-=2*P.loopedSlides);for(var a=0;o>a;a++)n+="<"+t.paginationElement+' class="'+t.paginationElementClass+'"></'+t.paginationElement+">";P.paginationContainer.innerHTML=n}P.paginationButtons=i("."+t.paginationElementClass,P.paginationContainer),e||P.updatePagination(),P.callPlugins("onCreatePagination"),t.paginationClickable&&C()},P.updatePagination=function(e){if(t.pagination&&!(P.slides.length<1)){var n=i("."+t.paginationActiveClass,P.paginationContainer);if(n){var s=P.paginationButtons;if(0!==s.length){for(var o=0;o<s.length;o++)s[o].className=t.paginationElementClass;var a=t.loop?P.loopedSlides:0;if(t.paginationAsRange){P.visibleSlides||P.calcVisibleSlides(e);var r=[],l;for(l=0;l<P.visibleSlides.length;l++){var c=P.slides.indexOf(P.visibleSlides[l])-a;t.loop&&0>c&&(c=P.slides.length-2*P.loopedSlides+c),t.loop&&c>=P.slides.length-2*P.loopedSlides&&(c=P.slides.length-2*P.loopedSlides-c,c=Math.abs(c)),r.push(c)}for(l=0;l<r.length;l++)s[r[l]]&&(s[r[l]].className+=" "+t.paginationVisibleClass);t.loop?void 0!==s[P.activeLoopIndex]&&(s[P.activeLoopIndex].className+=" "+t.paginationActiveClass):s[P.activeIndex].className+=" "+t.paginationActiveClass}else t.loop?s[P.activeLoopIndex]&&(s[P.activeLoopIndex].className+=" "+t.paginationActiveClass+" "+t.paginationVisibleClass):s[P.activeIndex].className+=" "+t.paginationActiveClass+" "+t.paginationVisibleClass}}}},P.calcVisibleSlides=function(e){var i=[],n=0,s=0,o=0;N&&P.wrapperLeft>0&&(e+=P.wrapperLeft),!N&&P.wrapperTop>0&&(e+=P.wrapperTop);for(var a=0;a<P.slides.length;a++){n+=s,s="auto"===t.slidesPerView?N?P.h.getWidth(P.slides[a],!0,t.roundLengths):P.h.getHeight(P.slides[a],!0,t.roundLengths):I,o=n+s;var r=!1;t.visibilityFullFit?(n>=-e&&-e+D>=o&&(r=!0),-e>=n&&o>=-e+D&&(r=!0)):(o>-e&&-e+D>=o&&(r=!0),n>=-e&&-e+D>n&&(r=!0),-e>n&&o>-e+D&&(r=!0)),r&&i.push(P.slides[a])}0===i.length&&(i=[P.slides[P.activeIndex]]),P.visibleSlides=i};var $,et;
25P.startAutoplay=function(){if(P.support.transitions){if("undefined"!=typeof $)return!1;if(!t.autoplay)return;P.callPlugins("onAutoplayStart"),t.onAutoplayStart&&P.fireCallback(t.onAutoplayStart,P),A()}else{if("undefined"!=typeof et)return!1;if(!t.autoplay)return;P.callPlugins("onAutoplayStart"),t.onAutoplayStart&&P.fireCallback(t.onAutoplayStart,P),et=setInterval(function(){t.loop?(P.fixLoop(),P.swipeNext(!0)):P.swipeNext(!0)||(t.autoplayStopOnLast?(clearInterval(et),et=void 0):P.swipeTo(0))},t.autoplay)}},P.stopAutoplay=function(e){if(P.support.transitions){if(!$)return;$&&clearTimeout($),$=void 0,e&&!t.autoplayDisableOnInteraction&&P.wrapperTransitionEnd(function(){A()}),P.callPlugins("onAutoplayStop"),t.onAutoplayStop&&P.fireCallback(t.onAutoplayStop,P)}else et&&clearInterval(et),et=void 0,P.callPlugins("onAutoplayStop"),t.onAutoplayStop&&P.fireCallback(t.onAutoplayStop,P)},P.loopCreated=!1,P.removeLoopedSlides=function(){if(P.loopCreated)for(var e=0;e<P.slides.length;e++)P.slides[e].getData("looped")===!0&&P.wrapper.removeChild(P.slides[e])},P.createLoop=function(){if(0!==P.slides.length){P.loopedSlides="auto"===t.slidesPerView?t.loopedSlides||1:t.slidesPerView+t.loopAdditionalSlides,P.loopedSlides>P.slides.length&&(P.loopedSlides=P.slides.length);var e="",i="",n,s="",o=P.slides.length,a=Math.floor(P.loopedSlides/o),r=P.loopedSlides%o;for(n=0;a*o>n;n++){var l=n;if(n>=o){var c=Math.floor(n/o);l=n-o*c}s+=P.slides[l].outerHTML}for(n=0;r>n;n++)i+=y(t.slideDuplicateClass,P.slides[n].outerHTML);for(n=o-r;o>n;n++)e+=y(t.slideDuplicateClass,P.slides[n].outerHTML);var u=e+s+E.innerHTML+s+i;for(E.innerHTML=u,P.loopCreated=!0,P.calcSlides(),n=0;n<P.slides.length;n++)(n<P.loopedSlides||n>=P.slides.length-P.loopedSlides)&&P.slides[n].setData("looped",!0);P.callPlugins("onCreateLoop")}},P.fixLoop=function(){var e;P.activeIndex<P.loopedSlides?(e=P.slides.length-3*P.loopedSlides+P.activeIndex,P.swipeTo(e,0,!1)):("auto"===t.slidesPerView&&P.activeIndex>=2*P.loopedSlides||P.activeIndex>P.slides.length-2*t.slidesPerView)&&(e=-P.slides.length+P.activeIndex+P.loopedSlides,P.swipeTo(e,0,!1))},P.loadSlides=function(){var e="";P.activeLoaderIndex=0;for(var i=t.loader.slides,n=t.loader.loadAllSlides?i.length:t.slidesPerView*(1+t.loader.surroundGroups),s=0;n>s;s++)e+="outer"===t.loader.slidesHTMLType?i[s]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+s+'">'+i[s]+"</"+t.slideElement+">";P.wrapper.innerHTML=e,P.calcSlides(!0),t.loader.loadAllSlides||P.wrapperTransitionEnd(P.reloadSlides,!0)},P.reloadSlides=function(){var e=t.loader.slides,i=parseInt(P.activeSlide().data("swiperindex"),10);if(!(0>i||i>e.length-1)){P.activeLoaderIndex=i;var n=Math.max(0,i-t.slidesPerView*t.loader.surroundGroups),s=Math.min(i+t.slidesPerView*(1+t.loader.surroundGroups)-1,e.length-1);if(i>0){var o=-I*(i-n);P.setWrapperTranslate(o),P.setWrapperTransition(0)}var a;if("reload"===t.loader.logic){P.wrapper.innerHTML="";var r="";for(a=n;s>=a;a++)r+="outer"===t.loader.slidesHTMLType?e[a]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+a+'">'+e[a]+"</"+t.slideElement+">";P.wrapper.innerHTML=r}else{var l=1e3,c=0;for(a=0;a<P.slides.length;a++){var u=P.slides[a].data("swiperindex");n>u||u>s?P.wrapper.removeChild(P.slides[a]):(l=Math.min(u,l),c=Math.max(u,c))}for(a=n;s>=a;a++){var d;l>
25a&&(d=document.createElement(t.slideElement),d.className=t.slideClass,d.setAttribute("data-swiperindex",a),d.innerHTML=e[a],P.wrapper.insertBefore(d,P.wrapper.firstChild)),a>c&&(d=document.createElement(t.slideElement),d.className=t.slideClass,d.setAttribute("data-swiperindex",a),d.innerHTML=e[a],P.wrapper.appendChild(d))}}P.reInit(!0)}},T()}};Swiper.prototype={plugins:{},wrapperTransitionEnd:function(e,t){"use strict";function i(){if(e(n),n.params.queueEndCallbacks&&(n._queueEndCallbacks=!1),!t)for(a=0;a<o.length;a++)n.h.removeEventListener(s,o[a],i)}var n=this,s=n.wrapper,o=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],a;if(e)for(a=0;a<o.length;a++)n.h.addEventListener(s,o[a],i)},getWrapperTranslate:function(e){"use strict";var t=this.wrapper,i,n,s,o;return"undefined"==typeof e&&(e="horizontal"===this.params.mode?"x":"y"),this.support.transforms&&this.params.useCSS3Transforms?(s=window.getComputedStyle(t,null),window.WebKitCSSMatrix?o=new WebKitCSSMatrix("none"===s.webkitTransform?"":s.webkitTransform):(o=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=o.toString().split(",")),"x"===e&&(n=window.WebKitCSSMatrix?o.m41:parseFloat(16===i.length?i[12]:i[4])),"y"===e&&(n=window.WebKitCSSMatrix?o.m42:parseFloat(16===i.length?i[13]:i[5]))):("x"===e&&(n=parseFloat(t.style.left,10)||0),"y"===e&&(n=parseFloat(t.style.top,10)||0)),n||0},setWrapperTranslate:function(e,t,i){"use strict";var n=this.wrapper.style,s={x:0,y:0,z:0},o;3===arguments.length?(s.x=e,s.y=t,s.z=i):("undefined"==typeof t&&(t="horizontal"===this.params.mode?"x":"y"),s[t]=e),this.support.transforms&&this.params.useCSS3Transforms?(o=this.support.transforms3d?"translate3d("+s.x+"px, "+s.y+"px, "+s.z+"px)":"translate("+s.x+"px, "+s.y+"px)",n.webkitTransform=n.MsTransform=n.msTransform=n.MozTransform=n.OTransform=n.transform=o):(n.left=s.x+"px",n.top=s.y+"px"),this.callPlugins("onSetWrapperTransform",s),this.params.onSetWrapperTransform&&this.fireCallback(this.params.onSetWrapperTransform,this,s)},setWrapperTransition:function(e){"use strict";var t=this.wrapper.style;t.webkitTransitionDuration=t.MsTransitionDuration=t.msTransitionDuration=t.MozTransitionDuration=t.OTransitionDuration=t.transitionDuration=e/1e3+"s",this.callPlugins("onSetWrapperTransition",{duration:e}),this.params.onSetWrapperTransition&&this.fireCallback(this.params.onSetWrapperTransition,this,e)},h:{getWidth:function(e,t,i){"use strict";var n=window.getComputedStyle(e,null).getPropertyValue("width"),s=parseFloat(n);return(isNaN(s)||n.indexOf("%")>0||0>s)&&(s=e.offsetWidth-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-left"))-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-right"))),t&&(s+=parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-left"))+parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-right"))),i?Math.ceil(s):s},getHeight:function(e,t,i){"use strict";if(t)return e.offsetHeight;var n=window.getComputedStyle(e,null).getPropertyValue("height"),s=parseFloat(n);return(isNaN(s)||n.indexOf("%")>0||0>s)&&(s=e.offsetHeight-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-top"))-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-bottom"))),t&&(s+=parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-top"))+parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-bottom"))),i?Math.ceil(s):s},getOffset:function(e){"use strict";var t=e.getBoundingClientRect(),i=document.body,n=e.clientTop||i.clientTop||0,s=e.clientLeft||i.clientLeft||0,o=window.pageYOffset||e.scrollTop,a=window.pageXOffset||e.scrollLeft;return document.documentElement&&!window.pageYOffset&&(o=document.documentElement.scrollTop,a=document.documentElement.scrollLeft),{top:t.top+o-n,left:t.left+a-s}},windowWidth:function(){"use strict";return window.innerWidth?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:void 0},windowHeight:function(){"use strict";return window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:void 0},windowScroll:function(){"use strict";return"undefined"!=typeof pageYOffset?{left:window.pageXOffset,top:window.pageYOffset}:document.documentElement?{left:document.documentElement.scrollLeft,top:document.documentElement.scrollTop}:void 0},addEventListener:function(e,t,i,n){"use strict";"undefined"==typeof n&&(n=!1),e.addEventListener?e.addEventListener(t,i,n):e.attachEvent&&e.attachEvent("on"+t,i)},removeEventListener:function(e,t,i,n){"use strict";"undefined"==typeof n&&(n=!1),e.removeEventListener?e.removeEventListener(t,i,n):e.detachEvent&&e.detachEvent("on"+t,i)}},setTransform:function(e,t){"use strict";var i=e.style;i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=t},setTranslate:function(e,t){"use strict";var i=e.style,n={x:t.x||0,y:t.y||0,z:t.z||0},s=this.support.transforms3d?"translate3d("+n.x+"px,"+n.y+"px,"+n.z+"px)":"translate("+n.x+"px,"+n.y+"px)";i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=s,this.support.transforms||(i.left
25=n.x+"px",i.top=n.y+"px")},setTransition:function(e,t){"use strict";var i=e.style;i.webkitTransitionDuration=i.MsTransitionDuration=i.msTransitionDuration=i.MozTransitionDuration=i.OTransitionDuration=i.transitionDuration=t+"ms"},support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){"use strict";return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){"use strict";var e=document.createElement("div").style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e 26}(),transforms:window.Modernizr&&Modernizr.csstransforms===!0||function(){"use strict";var e=document.createElement("div").style;return"transform"in e||"WebkitTransform"in e||"MozTransform"in e||"msTransform"in e||"MsTransform"in e||"OTransform"in e}(),transitions:window.Modernizr&&Modernizr.csstransitions===!0||function(){"use strict";var e=document.createElement("div").style;return"transition"in e||"WebkitTransition"in e||"MozTransition"in e||"msTransition"in e||"MsTransition"in e||"OTransition"in e}(),classList:function(){"use strict";var e=document.createElement("div").style;return"classList"in e}()},browser:{ie8:function(){"use strict";var e=-1;if("Microsoft Internet Explorer"===navigator.appName){var t=navigator.userAgent,i=new RegExp(/MSIE ([0-9]{1,}[\.0-9]{0,})/);null!==i.exec(t)&&(e=parseFloat(RegExp.$1))}return-1!==e&&9>e}(),ie10:window.navigator.msPointerEnabled,ie11:window.navigator.pointerEnabled}},(window.jQuery||window.Zepto)&&!function(e){"use strict";e.fn.swiper=function(t){var i=new Swiper(e(this)[0],t);return e(this).data("swiper",i),i}}(window.jQuery||window.Zepto),"undefined"!=typeof module&&(module.exports=Swiper),"function"==typeof define&&define.amd&&define([],function(){"use strict";return Swiper}),jQuery(document).ready(function(){jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,i,n,s){return jQuery.easing[jQuery.easing.def](e,t,i,n,s)},easeInQuad:function(e,t,i,n,s){return n*(t/=s)*t+i},easeOutQuad:function(e,t,i,n,s){return-n*(t/=s)*(t-2)+i},easeInOutQuad:function(e,t,i,n,s){return(t/=s/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},easeInCubic:function(e,t,i,n,s){return n*(t/=s)*t*t+i},easeOutCubic:function(e,t,i,n,s){return n*((t=t/s-1)*t*t+1)+i},easeInOutCubic:function(e,t,i,n,s){return(t/=s/2)<1?n/2*t*t*t+i:n/2*((t-=2)*t*t+2)+i},easeInQuart:function(e,t,i,n,s){return n*(t/=s)*t*t*t+i},easeOutQuart:function(e,t,i,n,s){return-n*((t=t/s-1)*t*t*t-1)+i},easeInOutQuart:function(e,t,i,n,s){return(t/=s/2)<1?n/2*t*t*t*t+i:-n/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(e,t,i,n,s){return n*(t/=s)*t*t*t*t+i},easeOutQuint:function(e,t,i,n,s){return n*((t=t/s-1)*t*t*t*t+1)+i},easeInOutQuint:function(e,t,i,n,s){return(t/=s/2)<1?n/2*t*t*t*t*t+i:n/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(e,t,i,n,s){return-n*Math.cos(t/s*(Math.PI/2))+n+i},easeOutSine:function(e,t,i,n,s){return n*Math.sin(t/s*(Math.PI/2))+i},easeInOutSine:function(e,t,i,n,s){return-n/2*(Math.cos(Math.PI*t/s)-1)+i},easeInExpo:function(e,t,i,n,s){return 0==t?i:n*Math.pow(2,10*(t/s-1))+i},easeOutExpo:function(e,t,i,n,s){return t==s?i+n:n*(-Math.pow(2,-10*t/s)+1)+i},easeInOutExpo:function(e,t,i,n,s){return 0==t?i:t==s?i+n:(t/=s/2)<1?n/2*Math.pow(2,10*(t-1))+i:n/2*(-Math.pow(2,-10*--t)+2)+i},easeInCirc:function(e,t,i,n,s){return-n*(Math.sqrt(1-(t/=s)*t)-1)+i},easeOutCirc:function(e,t,i,n,s){return n*Math.sqrt(1-(t=t/s-1)*t)+i},easeInOutCirc:function(e,t,i,n,s){return(t/=s/2)<1?-n/2*(Math.sqrt(1-t*t)-1)+i:n/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(e,t,i,n,s){var o=1.70158,a=0,r=n;if(0==t)return i;if(1==(t/=s))return i+n;if(a||(a=.3*s),r<Math.abs(n)){r=n;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(n/r);return-(r*Math.pow(2,10*(t-=1))*Math.sin(2*(t*s-o)*Math.PI/a))+i},easeOutElastic:function(e,t,i,n,s){var o=1.70158,a=0,r=n;if(0==t)return i;if(1==(t/=s))return i+n;if(a||(a=.3*s),r<Math.abs(n)){r=n;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(n/r);return r*Math.pow(2,-10*t)*Math.sin(2*(t*s-o)*Math.PI/a)+n+i},easeInOutElastic:function(e,t,i,n,s){var o=1.70158,a=0,r=n;if(0==t)return i;if(2==(t/=s/2))return i+n;if(a||(a=.3*s*1.5),r<Math.abs(n)){r=n;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(n/r);return 1>t?-.5*r*Math.pow(2,10*(t-=1))*Math.sin(2*(t*s-o)*Math.PI/a)+i:r*Math.pow(2,-10*(t-=1))*Math.sin(2*(t*s-o)*Math.PI/a)*.5+n+i},easeInBack:function(e,t,i,n,s,o){return void 0==o&&(o=1.70158),n*(t/=s)*t*((o+1)*t-o)+i},easeOutBack:function(e,t,i,n,s,o){return void 0==o&&(o=1.70158),n*((t=t/s-1)*t*((o+1)*t+o)+1)+i},easeInOutBack:function(e,t,i,n,s,o){return void 0==o&&(o=1.70158),(t/=s/2)<1?n/2*t*t*(((o*=1.525)+1)*t-o)+i:n/2*((t-=2)*t*(((o*=1.525)+1)*t+o)+2)+i},easeInBounce:function(e,t,i,n,s){return n-jQuery.easing.easeOutBounce(e,s-t,0,n,s)+i},easeOutBounce:function(e,t,i,n,s){return(t/=s)<1/2.75?7.5625*n*t*t+i:2/2.75>t?n*(7.5625*(t-=1.5/2.75)*t+.75)+i:2.5/2.75>t?n*(7.5625*(t-=2.25/2.75)*t+.9375)+i:n*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(e,t,i,n,s){return s/2>t?.5*jQuery.easing.easeInBounce(e,2*t,0,n,s)+i:.5*jQuery.easing.easeOutBounce(e,2*t-s,0,n,s)+.5*n+i}})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.