var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opens = _____WB$wombat$assign$function_____("opens"); !function(t){"use strict";t(document).ready(function(){t('
').insertAfter(t("div.field > select")),t("#acf-field-cover_slider").next().remove(),t(".row_layout .field_type-wysiwyg").each(function(){t(this).children("td.label").remove(),t(this).children("td:first-child").attr("colspan","2")}),t(".field ul.acf-checkbox-list li label").each(function(){t(this).children(".checkbox").prop("checked")&&(t(this).css("backgroundPosition","0px -21px"),t(this).addClass("checked"))}),t("#acf_3362, #acf_acf_content-editor").insertAfter(".field_key-field_52af1e0e9d2d9"),t("#acf_3362, #acf_acf_content-editor").insertAfter(".field_key-field_530238f0d553c"),t("#acf_1307, #acf_acf_fullscreen-cover").insertAfter(".field_key-field_52f2469819e07"),t("#acf_1307, #acf_acf_fullscreen-cover").insertAfter(".field_key-field_51ef0717531f2"),t(".semplice-content").val()&&'
'!=t(".semplice-content").val()&&t("#post-preview").attr("href","").css({pointerEvents:"none",opacity:".4"}).after('
Why deactivated?
'),t(".smp-video-button").click(function(){var e="."+t(this).attr("data-video-id"),n=t(this).attr("data-vimeo-id");t(this).hasClass("smp-open")?(t(e).stop().slideUp(500,function(){t(e).find(".responsive-video").html("")}),t(this).removeClass("smp-open")):(t(e).find(".responsive-video").append(''),t(e).stop().slideDown(500),t(this).addClass("smp-open"))}),t(document).on("click",".acf-tab-button",function(){var e="."+t(".smp-video-button").attr("data-video-id");t(e).css("display","none"),t(e).find(".responsive-video").html(""),t(".smp-video-button").removeClass("smp-open")}),t("#publish, #save-post").click(function(){window.onbeforeunload=null}),t(".install-demo-portfolio").click(function(){var e=confirm("Please note that it's recommended to install the demo portfolio on top of a fresh wordpress installation.\n\nAre you sure you want to import the demo portfolio?");if(e!==!1){t(".import-portfolio").fadeOut("fast",function(){t(".import-state").fadeIn("fast")});var n={action:"semplice_import"};t.post(ajaxurl,n,function(e){t(".import-state .import-loader").remove(),e.search("All done.")>=0?(t(".import-state").hide(),t(".import-success").fadeIn("fast")):t(".import-state").fadeIn("fast").append('
'+e+"
")})}}),t("body").on("click",".close-import",function(){t(".import-assets").remove()})})}(jQuery),function(t,e,n){var i=window.matchMedia;"undefined"!=typeof module&&module.exports?module.exports=n(i):"function"==typeof define&&define.amd?define(function(){return e[t]=n(i)}):e[t]=n(i)}("enquire",this,function(t){"use strict";function e(t,e){var n,i=0,o=t.length;for(i;o>i&&(n=e(t[i],i),n!==!1);i++);}function n(t){return"[object Array]"===Object.prototype.toString.apply(t)}function i(t){return"function"==typeof t}function o(t){this.options=t,!t.deferSetup&&this.setup()}function r(e,n){this.query=e,this.isUnconditional=n,this.handlers=[],this.mql=t(e);var i=this;this.listener=function(t){i.mql=t,i.assess()},this.mql.addListener(this.listener)}function s(){if(!t)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!t("only all").matches}return o.prototype={setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(t){return this.options===t||this.options.match===t}},r.prototype={addHandler:function(t){var e=new o(t);this.handlers.push(e),this.matches()&&e.on()},removeHandler:function(t){var n=this.handlers;e(n,function(e,i){return e.equals(t)?(e.destroy(),!n.splice(i,1)):void 0})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){e(this.handlers,function(t){t.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var t=this.matches()?"on":"off";e(this.handlers,function(e){e[t]()})}},s.prototype={register:function(t,o,s){var a=this.queries,l=s&&this.browserIsIncapable;return a[t]||(a[t]=new r(t,l)),i(o)&&(o={match:o}),n(o)||(o=[o]),e(o,function(e){a[t].addHandler(e)}),this},unregister:function(t,e){var n=this.queries[t];return n&&(e?n.removeHandler(e):(n.clear(),delete this.queries[t])),this}},new s}),function(){"use strict";function t(e,i){function o(t,e){return function(){return t.apply(e,arguments)}}var r;if(i=i||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=i.touchBoundary||10,this.layer=e,this.tapDelay=i.tapDelay||200,this.tapTimeout=i.tapTimeout||700,!t.notNeeded(e)){for(var s=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],a=this,l=0,c=s.length;c>l;l++)a[s[l]]=o(a[s[l]],a);n&&(e.addEventListener("mouseover",this.onMouse,!0),e.addEventListener("mousedown",this.onMouse,!0),e.addEventListener("mouseup",this.onMouse,!0)),e.addEventListener("click",this.onClick,!0),e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1),e.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(e.removeEventListener=function(t,n,i){var o=Node.prototype.removeEventListener;"click"===t?o.call(e,t,n.hijacked||n,i):o.call(e,t,n,i)},e.addEventListener=function(t,n,i){var o=Node.prototype.addEventListener;"click"===t?o.call(e,t,n.hijacked||(n.hijacked=function(t){t.propagationStopped||n(t)}),i):o.call(e,t,n,i)}),"function"==typeof e.onclick&&(r=e.onclick,e.addEventListener("click",function(t){r(t)},!1),e.onclick=null)}}var e=navigator.userAgent.indexOf("Windows Phone")>=0,n=navigator.userAgent.indexOf("Android")>0&&!e,i=/iP(ad|hone|od)/.test(navigator.userAgent)&&!e,o=i&&/OS 4_\d(_\d)?/.test(navigator.userAgent),r=i&&/OS [6-7]_\d/.test(navigator.userAgent),s=navigator.userAgent.indexOf("BB10")>0;t.prototype.needsClick=function(t){switch(t.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(t.disabled)return!0;break;case"input":if(i&&"file"===t.type||t.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(t.className)},t.prototype.needsFocus=function(t){switch(t.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!n;case"input":switch(t.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!t.disabled&&!t.readOnly;default:return/\bneedsfocus\b/.test(t.className)}},t.prototype.sendClick=function(t,e){var n,i;document.activeElement&&document.activeElement!==t&&document.activeElement.blur(),i=e.changedTouches[0],n=document.createEvent("MouseEvents"),n.initMouseEvent(this.determineEventType(t),!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,t.dispatchEvent(n)},t.prototype.determineEventType=function(t){return n&&"select"===t.tagName.toLowerCase()?"mousedown":"click"},t.prototype.focus=function(t){var e;i&&t.setSelectionRange&&0!==t.type.indexOf("date")&&"time"!==t.type&&"month"!==t.type?(e=t.value.length,t.setSelectionRange(e,e)):t.focus()},t.prototype.updateScrollParent=function(t){var e,n;if(e=t.fastClickScrollParent,!e||!e.contains(t)){n=t;do{if(n.scrollHeight>n.offsetHeight){e=n,t.fastClickScrollParent=n;break}n=n.parentElement}while(n)}e&&(e.fastClickLastScrollTop=e.scrollTop)},t.prototype.getTargetElementFromEventTarget=function(t){return t.nodeType===Node.TEXT_NODE?t.parentNode:t},t.prototype.onTouchStart=function(t){var e,n,r;if(t.targetTouches.length>1)return!0;if(e=this.getTargetElementFromEventTarget(t.target),n=t.targetTouches[0],i){if(r=window.getSelection(),r.rangeCount&&!r.isCollapsed)return!0;if(!o){if(n.identifier&&n.identifier===this.lastTouchIdentifier)return t.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(e)}}return this.trackingClick=!0,this.trackingClickStart=t.timeStamp,this.targetElement=e,this.touchStartX=n.pageX,this.touchStartY=n.pageY,t.timeStamp-this.lastClickTimen||Math.abs(e.pageY-this.touchStartY)>n?!0:!1},t.prototype.onTouchMove=function(t){return this.trackingClick?((this.targetElement!==this.getTargetElementFromEventTarget(t.target)||this.touchHasMoved(t))&&(this.trackingClick=!1,this.targetElement=null),!0):!0},t.prototype.findControl=function(t){return void 0!==t.control?t.control:t.htmlFor?document.getElementById(t.htmlFor):t.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},t.prototype.onTouchEnd=function(t){var e,s,a,l,c,u=this.targetElement;if(!this.trackingClick)return!0;if(t.timeStamp-this.lastClickTimethis.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=t.timeStamp,s=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,r&&(c=t.changedTouches[0],u=document.elementFromPoint(c.pageX-window.pageXOffset,c.pageY-window.pageYOffset)||u,u.fastClickScrollParent=this.targetElement.fastClickScrollParent),a=u.tagName.toLowerCase(),"label"===a){if(e=this.findControl(u)){if(this.focus(u),n)return!1;u=e}}else if(this.needsFocus(u))return t.timeStamp-s>100||i&&window.top!==window&&"input"===a?(this.targetElement=null,!1):(this.focus(u),this.sendClick(u,t),i&&"select"===a||(this.targetElement=null,t.preventDefault()),!1);return i&&!o&&(l=u.fastClickScrollParent,l&&l.fastClickLastScrollTop!==l.scrollTop)?!0:(this.needsClick(u)||(t.preventDefault(),this.sendClick(u,t)),!1)},t.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},t.prototype.onMouse=function(t){return this.targetElement?t.forwardedTouchEvent?!0:t.cancelable&&(!this.needsClick(this.targetElement)||this.cancelNextClick)?(t.stopImmediatePropagation?t.stopImmediatePropagation():t.propagationStopped=!0,t.stopPropagation(),t.preventDefault(),!1):!0:!0},t.prototype.onClick=function(t){var e;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===t.target.type&&0===t.detail?!0:(e=this.onMouse(t),e||(this.targetElement=null),e)},t.prototype.destroy=function(){var t=this.layer;n&&(t.removeEventListener("mouseover",this.onMouse,!0),t.removeEventListener("mousedown",this.onMouse,!0),t.removeEventListener("mouseup",this.onMouse,!0)),t.removeEventListener("click",this.onClick,!0),t.removeEventListener("touchstart",this.onTouchStart,!1),t.removeEventListener("touchmove",this.onTouchMove,!1),t.removeEventListener("touchend",this.onTouchEnd,!1),t.removeEventListener("touchcancel",this.onTouchCancel,!1)},t.notNeeded=function(t){var e,i,o,r;if("undefined"==typeof window.ontouchstart)return!0;if(i=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!n)return!0;if(e=document.querySelector("meta[name=viewport]")){if(-1!==e.content.indexOf("user-scalable=no"))return!0;if(i>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(s&&(o=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),o[1]>=10&&o[2]>=3&&(e=document.querySelector("meta[name=viewport]")))){if(-1!==e.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===t.style.msTouchAction||"manipulation"===t.style.touchAction?!0:(r=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],r>=27&&(e=document.querySelector("meta[name=viewport]"),e&&(-1!==e.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))?!0:"none"===t.style.touchAction||"manipulation"===t.style.touchAction?!0:!1)},t.attach=function(e,n){return new t(e,n)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return t}):"undefined"!=typeof module&&module.exports?(module.exports=t.attach,module.exports.FastClick=t):window.FastClick=t}(),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(n){return e(n,t,t.document,t.Math)}):"undefined"!=typeof exports?module.exports=e(require("jquery"),t,t.document,t.Math):e(jQuery,t,t.document,t.Math)}("undefined"!=typeof window?window:this,function(t,e,n,i,o){"use strict";var r,s="fullpage-wrapper",a="."+s,l="fp-scrollable",c="."+l,u=".slimScrollBar",d=".slimScrollRail",h="fp-responsive",f="fp-notransition",p="fp-destroyed",m="fp-enabled",v="fp-viewing",g="active",y="."+g,b="fp-completely",w="."+b,x=".section",E="fp-section",C="."+E,F=C+y,S=C+":first",k=C+":last",T="fp-tableCell",L="."+T,z="fp-auto-height",I="fp-normal-scroll",O="fp-nav",A="#"+O,_="fp-tooltip",M="."+_,q="fp-show-active",D=".slide",R="fp-slide",P="."+R,j=P+y,B="fp-slides",W="."+B,H="fp-slidesContainer",N="."+H,Y="fp-table",Q="fp-slidesNav",U="."+Q,X=U+" a",V="fp-controlArrow",$="."+V,K="fp-prev",G="."+K,Z=V+" "+K,J=$+G,tt="fp-next",et="."+tt,nt=V+" "+tt,it=$+et,ot=t(e),rt=t(n);t.fn.fullpage=function(l){function c(){l.css3&&(l.css3=ge()),l.scrollBar=l.scrollBar||l.hybrid,d(),V(),De.setAllowScrolling(!0),De.setAutoScrolling(l.autoScrolling,"internal");var e=t(F).find(j);e.length&&(0!==t(F).index(C)||0===t(F).index(C)&&0!==e.index())&&ke(e),$t(),ve(),ot.on("load",function(){Mt()})}function u(){ot.on("scroll",dt).on("hashchange",qt).blur(Ht).resize(Vt),rt.keydown(Dt).keyup(Pt).on("click touchstart",A+" a",Nt).on("click touchstart",X,Yt).on("click",M,Rt),t(C).on("click touchstart",$,Wt),l.normalScrollElements&&(rt.on("mouseenter",l.normalScrollElements,function(){De.setMouseWheelScrolling(!1)}),rt.on("mouseleave",l.normalScrollElements,function(){De.setMouseWheelScrolling(!0)}))}function d(){l.anchors.length||(l.anchors=t(l.sectionSelector+"[data-anchor]").map(function(){return t(this).data("anchor").toString()}).get()),l.navigationTooltips.length||(l.navigationTooltips=t(l.sectionSelector+"[data-tooltip]").map(function(){return t(this).data("tooltip").toString()}).get())}function V(){Ne.css({height:"100%",position:"relative"}),Ne.addClass(s),t("html").addClass(m),Ye=ot.height(),Ne.removeClass(p),st(),t(C).each(function(e){var n=t(this),i=n.find(P),o=i.length;tt(n,e),et(n,e),o>0?G(n,i,o):l.verticalCentered&&re(n)}),l.fixedElements&&l.css3&&t(l.fixedElements).appendTo(qe),l.navigation&<(),l.scrollOverflow?("complete"===n.readyState&&ct(),ot.on("load",ct)):ut()}function G(e,n,i){var o=100*i,r=100/i;n.wrapAll('
'),n.parent().wrap('
'),e.find(N).css("width",o+"%"),i>1&&(l.controlArrows&&at(e),l.slidesNavigation&&he(e,i)),n.each(function(e){t(this).css("width",r+"%"),l.verticalCentered&&re(t(this))});var s=e.find(j);s.length&&(0!==t(F).index(C)||0===t(F).index(C)&&0!==s.index())?ke(s):n.eq(0).addClass(g)}function tt(e,n){n||0!==t(F).length||e.addClass(g),e.css("height",Ye+"px"),l.paddingTop&&e.css("padding-top",l.paddingTop),l.paddingBottom&&e.css("padding-bottom",l.paddingBottom),"undefined"!=typeof l.sectionsColor[n]&&e.css("background-color",l.sectionsColor[n]),"undefined"!=typeof l.anchors[n]&&e.attr("data-anchor",l.anchors[n])}function et(e,n){"undefined"!=typeof l.anchors[n]&&e.hasClass(g)&&ee(l.anchors[n],n),l.menu&&l.css3&&t(l.menu).closest(a).length&&t(l.menu).appendTo(qe)}function st(){t(l.sectionSelector).each(function(){t(this).addClass(E)}),t(l.slideSelector).each(function(){t(this).addClass(R)})}function at(t){t.find(W).after('
'),"#fff"!=l.controlArrowColor&&(t.find(it).css("border-color","transparent transparent transparent "+l.controlArrowColor),t.find(J).css("border-color","transparent "+l.controlArrowColor+" transparent transparent")),l.loopHorizontal||t.find(J).hide()}function lt(){qe.append('
    ');var e=t(A);e.addClass(function(){return l.showActiveTooltip?q+" "+l.navigationPosition:l.navigationPosition});for(var n=0;n
    ',r=l.navigationTooltips[n];"undefined"!=typeof r&&""!==r&&(o+='
    '+r+"
    "),o+="",e.find("ul").append(o)}t(A).css("margin-top","-"+t(A).height()/2+"px"),t(A).find("li").eq(t(F).index(C)).find("a").addClass(g)}function ct(){t(C).each(function(){var e=t(this).find(P);e.length?e.each(function(){oe(t(this))}):oe(t(this))}),ut()}function ut(){var e=t(F);e.addClass(b),l.scrollOverflowHandler.afterRender&&l.scrollOverflowHandler.afterRender(e),It(e),Ot(e),t.isFunction(l.afterLoad)&&l.afterLoad.call(e,e.data("anchor"),e.index(C)+1),t.isFunction(l.afterRender)&&l.afterRender.call(Ne)}function dt(){var e;if(!l.autoScrolling||l.scrollBar){for(var i=ot.scrollTop(),o=ft(i),r=0,s=i+ot.height()/2,a=n.querySelectorAll(C),c=0;c=ot.scrollTop()+ot.height():n<=ot.scrollTop()}function ft(t){var e=t>rn?"down":"up";return rn=t,e}function pt(t,e){if($e.m[t]){var n,i;if("down"==t?(n="bottom",i=De.moveSectionDown):(n="top",i=De.moveSectionUp),e.length>0){if(!l.scrollOverflowHandler.isScrolled(n,e))return!0;i()}else i()}}function mt(e){var n=e.originalEvent;if(!vt(e.target)&>(n)){l.autoScrolling&&e.preventDefault();var o=t(F),r=l.scrollOverflowHandler.scrollable(o);if(Xe&&!Be){var s=Se(n);ln=s.y,cn=s.x,o.find(W).length&&i.abs(an-cn)>i.abs(sn-ln)?i.abs(an-cn)>ot.outerWidth()/100*l.touchSensitivity&&(an>cn?$e.m.right&&De.moveSlideRight():$e.m.left&&De.moveSlideLeft()):l.autoScrolling&&i.abs(sn-ln)>ot.height()/100*l.touchSensitivity&&(sn>ln?pt("down",r):ln>sn&&pt("up",r))}}}function vt(e,n){n=n||0;var i=t(e).parent();return n149&&Ve.shift(),Ve.push(i.abs(s)),l.scrollBar&&(n.preventDefault?n.preventDefault():n.returnValue=!1);var d=t(F),h=l.scrollOverflowHandler.scrollable(d),f=o-un;if(un=o,f>200&&(Ve=[]),Xe){var p=bt(Ve,10),m=bt(Ve,70),v=p>=m;v&&u&&(0>a?pt("down",h):pt("up",h))}return!1}l.fitToSection&&Me.stop()}function xt(e,n){var i="undefined"==typeof n?t(F):n,o=i.find(W),r=o.find(P).length;if(!(!o.length||Be||2>r)){var s=o.find(j),a=null;if(a="prev"===e?s.prev(P):s.next(P),!a.length){if(!l.loopHorizontal)return;a=s.siblings("prev"===e?":last":":first")}Be=!0,Xt(o,a)}}function Et(){t(j).each(function(){ke(t(this),"internal")})}function Ct(t,e){var n=t.top,i=t.top>dn,o=n-Ye+e.outerHeight();return e.outerHeight()>Ye?i||(n=o):i&&(n=o),dn=n,n}function Ft(e,n,i){requestAnimFrame(function(){var o=e.position();if("undefined"!=typeof o){var r=Ct(o,e),s={element:e,callback:n,isMovementUp:i,dest:o,dtop:r,yMovement:ne(e),anchorLink:e.data("anchor"),sectionIndex:e.index(C),activeSlide:e.find(j),activeSection:t(F),leavingSection:t(F).index(C)+1,localIsResizing:Qe};if(!(s.activeSection.is(e)&&!Qe||l.scrollBar&&ot.scrollTop()===s.dtop&&!e.hasClass(z))){if(s.activeSlide.length)var a=s.activeSlide.data("anchor"),c=s.activeSlide.index();l.autoScrolling&&l.continuousVertical&&"undefined"!=typeof s.isMovementUp&&(!s.isMovementUp&&"up"==s.yMovement||s.isMovementUp&&"down"==s.yMovement)&&(s=Tt(s)),(!t.isFunction(l.onLeave)||s.localIsResizing||l.onLeave.call(s.activeSection,s.leavingSection,s.sectionIndex+1,s.yMovement)!==!1)&&(At(s.activeSection),e.addClass(g).siblings().removeClass(g),It(e),Xe=!1,fe(c,a,s.anchorLink,s.sectionIndex),St(s),Re=s.anchorLink,ee(s.anchorLink,s.sectionIndex))}}})}function St(e){if(l.css3&&l.autoScrolling&&!l.scrollBar){var n="translate3d(0px, -"+e.dtop+"px, 0px)";ae(n,!0),l.scrollingSpeed?Ge=setTimeout(function(){zt(e)},l.scrollingSpeed):zt(e)}else{var i=kt(e);t(i.element).animate(i.options,l.scrollingSpeed,l.easing).promise().done(function(){l.scrollBar?setTimeout(function(){zt(e)},30):zt(e)})}}function kt(t){var e={};return l.autoScrolling&&!l.scrollBar?(e.options={top:-t.dtop},e.element=a):(e.options={scrollTop:t.dtop},e.element="html, body"),e}function Tt(e){return e.isMovementUp?t(F).before(e.activeSection.nextAll(C)):t(F).after(e.activeSection.prevAll(C).get().reverse()),Te(t(F).position().top),Et(),e.wrapAroundElements=e.activeSection,e.dest=e.element.position(),e.dtop=e.dest.top,e.yMovement=ne(e.element),e}function Lt(e){e.wrapAroundElements&&e.wrapAroundElements.length&&(e.isMovementUp?t(S).before(e.wrapAroundElements):t(k).after(e.wrapAroundElements),Te(t(F).position().top),Et())}function zt(e){Lt(e),e.element.find(".fp-scrollable").mouseover(),t.isFunction(l.afterLoad)&&!e.localIsResizing&&l.afterLoad.call(e.element,e.anchorLink,e.sectionIndex+1),Ot(e.element),e.element.addClass(b).siblings().removeClass(b),Xe=!0,t.isFunction(e.callback)&&e.callback.call(this)}function It(e){var e=_t(e);e.find("img[data-src], source[data-src], audio[data-src]").each(function(){t(this).attr("src",t(this).data("src")),t(this).removeAttr("data-src"),t(this).is("source")&&t(this).closest("video").get(0).load()})}function Ot(e){var e=_t(e);e.find("video, audio").each(function(){var e=t(this).get(0);e.hasAttribute("autoplay")&&"function"==typeof e.play&&e.play()})}function At(e){var e=_t(e);e.find("video, audio").each(function(){var e=t(this).get(0);e.hasAttribute("data-ignore")||"function"!=typeof e.pause||e.pause()})}function _t(e){var n=e.find(j);return n.length&&(e=t(n)),e}function Mt(){var t=e.location.hash.replace("#","").split("/"),n=t[0],i=t[1];n&&(l.animateAnchor?ue(n,i):De.silentMoveTo(n,i))}function qt(){if(!on&&!l.lockAnchors){var t=e.location.hash.replace("#","").split("/"),n=t[0],i=t[1],o="undefined"==typeof Re,r="undefined"==typeof Re&&"undefined"==typeof i&&!Be;n.length&&(n&&n!==Re&&!o||r||!Be&&Pe!=i)&&ue(n,i)}}function Dt(e){clearTimeout(en);var n=t(":focus");if(!n.is("textarea")&&!n.is("input")&&!n.is("select")&&l.keyboardScrolling&&l.autoScrolling){var i=e.which,o=[40,38,32,33,34];t.inArray(i,o)>-1&&e.preventDefault(),je=e.ctrlKey,en=setTimeout(function(){Qt(e)},150)}}function Rt(){t(this).prev().trigger("click")}function Pt(t){Ue&&(je=t.ctrlKey)}function jt(t){2==t.which&&(hn=t.pageY,Ne.on("mousemove",Ut))}function Bt(t){2==t.which&&Ne.off("mousemove")}function Wt(){var e=t(this).closest(C);t(this).hasClass(K)?$e.m.left&&De.moveSlideLeft(e):$e.m.right&&De.moveSlideRight(e)}function Ht(){Ue=!1,je=!1}function Nt(e){e.preventDefault();var n=t(this).parent().index();Ft(t(C).eq(n))}function Yt(e){e.preventDefault();var n=t(this).closest(C).find(W),i=n.find(P).eq(t(this).closest("li").index());Xt(n,i)}function Qt(e){var n=e.shiftKey;switch(e.which){case 38:case 33:$e.k.up&&De.moveSectionUp();break;case 32:if(n&&$e.k.up){De.moveSectionUp();break}case 40:case 34:$e.k.down&&De.moveSectionDown();break;case 36:$e.k.up&&De.moveTo(1);break;case 35:$e.k.down&&De.moveTo(t(C).length);break;case 37:$e.k.left&&De.moveSlideLeft();break;case 39:$e.k.right&&De.moveSlideRight();break;default:return}}function Ut(t){Xe&&(t.pageYhn&&$e.m.down&&De.moveSectionDown()),hn=t.pageY}function Xt(e,n){var o=n.position(),r=n.index(),s=e.closest(C),a=s.index(C),c=s.data("anchor"),u=s.find(U),d=me(n),h=s.find(j),f=Qe;if(l.onSlideLeave){var p=h.index(),m=ie(p,r);if(!f&&"none"!==m&&t.isFunction(l.onSlideLeave)&&l.onSlideLeave.call(h,c,a+1,p,m,r)===!1)return void(Be=!1)}At(h),n.addClass(g).siblings().removeClass(g),f||It(n),!l.loopHorizontal&&l.controlArrows&&(s.find(J).toggle(0!==r),s.find(it).toggle(!n.is(":last-child"))),s.hasClass(g)&&fe(r,d,c,a);var v=function(){f||t.isFunction(l.afterSlideLoad)&&l.afterSlideLoad.call(n,c,a+1,d,r),Ot(n),Be=!1};if(l.css3){var b="translate3d(-"+i.round(o.left)+"px, 0px, 0px)";Kt(e.find(N),l.scrollingSpeed>0).css(Le(b)),Ze=setTimeout(function(){v()},l.scrollingSpeed,l.easing)}else e.animate({scrollLeft:i.round(o.left)},l.scrollingSpeed,l.easing,function(){v()});u.find(y).removeClass(g),u.find("li").eq(r).find("a").addClass(g)}function Vt(){if($t(),We){var e=t(n.activeElement);if(!e.is("textarea")&&!e.is("input")&&!e.is("select")){var o=ot.height();i.abs(o-fn)>20*i.max(fn,o)/100&&(De.reBuild(!0),fn=o)}}else clearTimeout(Ke),Ke=setTimeout(function(){De.reBuild(!0)},350)}function $t(){var t=l.responsive||l.responsiveWidth,e=l.responsiveHeight,n=t&&ot.outerWidth()t||o>e){var r=100*t/n,s=100*e/o,a=i.min(r,s),l=a.toFixed(2);qe.css("font-size",l+"%")}else qe.css("font-size","100%")}function Jt(e,n){l.navigation&&(t(A).find(y).removeClass(g),e?t(A).find('a[href="#'+e+'"]').addClass(g):t(A).find("li").eq(n).find("a").addClass(g))}function te(e){l.menu&&(t(l.menu).find(y).removeClass(g),t(l.menu).find('[data-menuanchor="'+e+'"]').addClass(g))}function ee(t,e){te(t),Jt(t,e)}function ne(e){var n=t(F).index(C),i=e.index(C);return n==i?"none":n>i?"up":"down"}function ie(t,e){return t==e?"none":t>e?"left":"right"}function oe(t){t.css("overflow","hidden");var e,n=l.scrollOverflowHandler,i=n.wrapContent(),o=t.closest(C),r=n.scrollable(t);r.length?e=n.scrollHeight(t):(e=t.get(0).scrollHeight,l.verticalCentered&&(e=t.find(L).get(0).scrollHeight));var s=Ye-parseInt(o.css("padding-bottom"))-parseInt(o.css("padding-top"));e>s?r.length?n.update(t,s):(l.verticalCentered?t.find(L).wrapInner(i):t.wrapInner(i),n.create(t,s)):n.remove(t),t.css("overflow","")}function re(t){t.addClass(Y).wrapInner('
    ')}function se(t){var e=Ye;if(l.paddingTop||l.paddingBottom){var n=t;n.hasClass(E)||(n=t.closest(C));var i=parseInt(n.css("padding-top"))+parseInt(n.css("padding-bottom"));e=Ye-i}return e}function ae(t,e){e?Kt(Ne):Gt(Ne),Ne.css(Le(t)),setTimeout(function(){Ne.removeClass(f)},10)}function le(e){var n=Ne.find(C+'[data-anchor="'+e+'"]');return n.length||(n=t(C).eq(e-1)),n}function ce(t,e){var n=e.find(W),i=n.find(P+'[data-anchor="'+t+'"]');return i.length||(i=n.find(P).eq(t)),i}function ue(t,e){var n=le(t);"undefined"==typeof e&&(e=0),t===Re||n.hasClass(g)?de(n,e):Ft(n,function(){de(n,e)})}function de(t,e){if("undefined"!=typeof e){var n=t.find(W),i=ce(e,t);i.length&&Xt(n,i)}}function he(t,e){t.append('
      ');var n=t.find(U);n.addClass(l.slidesNavPosition);for(var i=0;e>i;i++)n.find("ul").append('
    • ');n.css("margin-left","-"+n.width()/2+"px"),n.find("li").first().find("a").addClass(g)}function fe(t,e,n,i){var o="";l.anchors.length&&!l.lockAnchors&&(t?("undefined"!=typeof n&&(o=n),"undefined"==typeof e&&(e=t),Pe=e,pe(o+"/"+e)):"undefined"!=typeof t?(Pe=e,pe(n)):pe(n)),ve()}function pe(t){if(l.recordHistory)location.hash=t;else if(We||He)e.history.replaceState(o,o,"#"+t);else{var n=e.location.href.split("#")[0];e.location.replace(n+"#"+t)}}function me(t){var e=t.data("anchor"),n=t.index();return"undefined"==typeof e&&(e=n),e}function ve(){var e=t(F),n=e.find(j),i=me(e),o=me(n),r=(e.index(C),String(i));n.length&&(r=r+"-"+o),r=r.replace("/","-").replace("#","");var s=new RegExp("\\b\\s?"+v+"-[^\\s]+\\b","g");qe[0].className=qe[0].className.replace(s,""),qe.addClass(v+"-"+r)}function ge(){var t,i=n.createElement("p"),r={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};n.body.insertBefore(i,null);for(var s in r)i.style[s]!==o&&(i.style[s]="translate3d(1px,1px,1px)",t=e.getComputedStyle(i).getPropertyValue(r[s]));return n.body.removeChild(i),t!==o&&t.length>0&&"none"!==t}function ye(){n.addEventListener?(n.removeEventListener("mousewheel",wt,!1),n.removeEventListener("wheel",wt,!1),n.removeEventListener("MozMousePixelScroll",wt,!1)):n.detachEvent("onmousewheel",wt)}function be(){var t,i="";e.addEventListener?t="addEventListener":(t="attachEvent",i="on");var r="onwheel"in n.createElement("div")?"wheel":n.onmousewheel!==o?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==r?n[t](i+"MozMousePixelScroll",wt,!1):n[t](i+r,wt,!1)}function we(){Ne.on("mousedown",jt).on("mouseup",Bt)}function xe(){Ne.off("mousedown",jt).off("mouseup",Bt)}function Ee(){if(We||He){var e=Fe();t(a).off("touchstart "+e.down).on("touchstart "+e.down,yt),t(a).off("touchmove "+e.move).on("touchmove "+e.move,mt)}}function Ce(){if(We||He){var e=Fe();t(a).off("touchstart "+e.down),t(a).off("touchmove "+e.move)}}function Fe(){var t;return t=e.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function Se(t){var e=[];return e.y="undefined"!=typeof t.pageY&&(t.pageY||t.pageX)?t.pageY:t.touches[0].pageY,e.x="undefined"!=typeof t.pageX&&(t.pageY||t.pageX)?t.pageX:t.touches[0].pageX,He&>(t)&&l.scrollBar&&(e.y=t.touches[0].pageY,e.x=t.touches[0].pageX),e}function ke(t,e){De.setScrollingSpeed(0,"internal"),"undefined"!=typeof e&&(Qe=!0),Xt(t.closest(W),t),"undefined"!=typeof e&&(Qe=!1),De.setScrollingSpeed(nn.scrollingSpeed,"internal")}function Te(t){if(l.scrollBar)Ne.scrollTop(t);else if(l.css3){var e="translate3d(0px, -"+t+"px, 0px)";ae(e,!1)}else Ne.css("top",-t)}function Le(t){return{"-webkit-transform":t,"-moz-transform":t,"-ms-transform":t,transform:t}}function ze(t,e,n){switch(e){case"up":$e[n].up=t;break;case"down":$e[n].down=t;break;case"left":$e[n].left=t;break;case"right":$e[n].right=t;break;case"all":"m"==n?De.setAllowScrolling(t):De.setKeyboardScrolling(t)}}function Ie(){Te(0),t(A+", "+U+", "+$).remove(),t(C).css({height:"","background-color":"",padding:""}),t(P).css({width:""}),Ne.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),Me.css({overflow:"",height:""}),t("html").removeClass(m),t.each(qe.get(0).className.split(/\s+/),function(t,e){0===e.indexOf(v)&&qe.removeClass(e)}),t(C+", "+P).each(function(){l.scrollOverflowHandler.remove(t(this)),t(this).removeClass(Y+" "+g)}),Gt(Ne),Ne.find(L+", "+N+", "+W).each(function(){t(this).replaceWith(this.childNodes)}),Me.scrollTop(0);var e=[E,R,H];t.each(e,function(e,n){t("."+n).removeClass(n)})}function Oe(t,e,n){ l[t]=e,"internal"!==n&&(nn[t]=e)}function Ae(){return t("html").hasClass(m)?void _e("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(l.continuousVertical&&(l.loopTop||l.loopBottom)&&(l.continuousVertical=!1,_e("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),l.scrollBar&&l.scrollOverflow&&_e("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),l.continuousVertical&&l.scrollBar&&(l.continuousVertical=!1,_e("warn","Option `scrollBar` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),void t.each(l.anchors,function(e,n){var i=rt.find("[name]").filter(function(){return t(this).attr("name")&&t(this).attr("name").toLowerCase()==n.toLowerCase()}),o=rt.find("[id]").filter(function(){return this.id&&this.id.toLowerCase()==n.toLowerCase()});(o.length||i.length)&&(_e("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),o.length&&_e("error",'"'+n+'" is is being used by another element `id` property'),i.length&&_e("error",'"'+n+'" is is being used by another element `name` property'))}))}function _e(t,e){console&&console[t]&&console[t]("fullPage: "+e)}if(t("html").hasClass(m))return void Ae();var Me=t("html, body"),qe=t("body"),De=t.fn.fullpage;l=t.extend({menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:1e3,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowHandler:r,touchSensitivity:5,normalScrollElementTouchThreshold:5,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:"#fff",verticalCentered:!0,resize:!1,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,sectionSelector:x,slideSelector:D,afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null},l),Ae(),t.extend(t.easing,{easeInOutCubic:function(t,e,n,i,o){return(e/=o/2)<1?i/2*e*e*e+n:i/2*((e-=2)*e*e+2)+n}}),t.extend(t.easing,{easeInQuart:function(t,e,n,i,o){return i*(e/=o)*e*e*e+n}}),De.setAutoScrolling=function(e,n){Oe("autoScrolling",e,n);var i=t(F);l.autoScrolling&&!l.scrollBar?(Me.css({overflow:"hidden",height:"100%"}),De.setRecordHistory(nn.recordHistory,"internal"),Ne.css({"-ms-touch-action":"none","touch-action":"none"}),i.length&&Te(i.position().top)):(Me.css({overflow:"visible",height:"initial"}),De.setRecordHistory(!1,"internal"),Ne.css({"-ms-touch-action":"","touch-action":""}),Te(0),i.length&&Me.scrollTop(i.position().top))},De.setRecordHistory=function(t,e){Oe("recordHistory",t,e)},De.setScrollingSpeed=function(t,e){Oe("scrollingSpeed",t,e)},De.setFitToSection=function(t,e){Oe("fitToSection",t,e)},De.setLockAnchors=function(t){l.lockAnchors=t},De.setMouseWheelScrolling=function(t){t?(be(),we()):(ye(),xe())},De.setAllowScrolling=function(e,n){"undefined"!=typeof n?(n=n.replace(/ /g,"").split(","),t.each(n,function(t,n){ze(e,n,"m")})):e?(De.setMouseWheelScrolling(!0),Ee()):(De.setMouseWheelScrolling(!1),Ce())},De.setKeyboardScrolling=function(e,n){"undefined"!=typeof n?(n=n.replace(/ /g,"").split(","),t.each(n,function(t,n){ze(e,n,"k")})):l.keyboardScrolling=e},De.moveSectionUp=function(){var e=t(F).prev(C);e.length||!l.loopTop&&!l.continuousVertical||(e=t(C).last()),e.length&&Ft(e,null,!0)},De.moveSectionDown=function(){var e=t(F).next(C);e.length||!l.loopBottom&&!l.continuousVertical||(e=t(C).first()),e.length&&Ft(e,null,!1)},De.silentMoveTo=function(t,e){requestAnimFrame(function(){De.setScrollingSpeed(0,"internal")}),De.moveTo(t,e),requestAnimFrame(function(){De.setScrollingSpeed(nn.scrollingSpeed,"internal")})},De.moveTo=function(t,e){var n=le(t);"undefined"!=typeof e?ue(t,e):n.length>0&&Ft(n)},De.moveSlideRight=function(t){xt("next",t)},De.moveSlideLeft=function(t){xt("prev",t)},De.reBuild=function(e){if(!Ne.hasClass(p)){Qe=!0,requestAnimFrame(function(){Qe=!0});var n=ot.outerWidth();Ye=ot.height(),l.resize&&Zt(Ye,n),t(C).each(function(){var e=t(this).find(W),n=t(this).find(P);l.verticalCentered&&t(this).find(L).css("height",se(t(this))+"px"),t(this).css("height",Ye+"px"),l.scrollOverflow&&(n.length?n.each(function(){oe(t(this))}):oe(t(this))),n.length>1&&Xt(e,e.find(j))});var i=t(F),o=i.index(C);o&&De.silentMoveTo(o+1),Qe=!1,requestAnimFrame(function(){Qe=!1}),t.isFunction(l.afterResize)&&e&&l.afterResize.call(Ne),t.isFunction(l.afterReBuild)&&!e&&l.afterReBuild.call(Ne)}},De.setResponsive=function(e){var n=qe.hasClass(h);e?n||(De.setAutoScrolling(!1,"internal"),De.setFitToSection(!1,"internal"),t(A).hide(),qe.addClass(h)):n&&(De.setAutoScrolling(nn.autoScrolling,"internal"),De.setFitToSection(nn.autoScrolling,"internal"),t(A).show(),qe.removeClass(h))};var Re,Pe,je,Be=!1,We=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),He="ontouchstart"in e||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,Ne=t(this),Ye=ot.height(),Qe=!1,Ue=!0,Xe=!0,Ve=[],$e={};$e.m={up:!0,down:!0,left:!0,right:!0},$e.k=t.extend(!0,{},$e.m);var Ke,Ge,Ze,Je,tn,en,nn=t.extend(!0,{},l);t(this).length&&(c(),u());var on=!1,rn=0,sn=0,an=0,ln=0,cn=0,un=(new Date).getTime();e.requestAnimFrame=function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t){t()}}();var dn=0,hn=0,fn=Ye;De.destroy=function(e){De.setAutoScrolling(!1,"internal"),De.setAllowScrolling(!1),De.setKeyboardScrolling(!1),Ne.addClass(p),clearTimeout(Ze),clearTimeout(Ge),clearTimeout(Ke),clearTimeout(Je),clearTimeout(tn),ot.off("scroll",dt).off("hashchange",qt).off("resize",Vt),rt.off("click",A+" a").off("mouseenter",A+" li").off("mouseleave",A+" li").off("click",X).off("mouseover",l.normalScrollElements).off("mouseout",l.normalScrollElements),t(C).off("click",$),clearTimeout(Ze),clearTimeout(Ge),e&&Ie()}};var st={afterRender:function(t){var e=t.find(B),n=t.find(c);e.length&&(n=e.find(j)),n.mouseover()},create:function(t,e){t.find(c).slimScroll({allowPageScroll:!0,height:e+"px",size:"10px",alwaysVisible:!0})},isScrolled:function(t,e){return"top"===t?!e.scrollTop():"bottom"===t?e.scrollTop()+1+e.innerHeight()>=e[0].scrollHeight:void 0},scrollable:function(t){return t.find(W).length?t.find(j).find(c):t.find(c)},scrollHeight:function(t){return t.find(c).get(0).scrollHeight},remove:function(t){t.find(c).children().first().unwrap().unwrap(),t.find(u).remove(),t.find(d).remove()},update:function(t,e){t.find(c).css("height",e+"px").parent().css("height",e+"px")},wrapContent:function(){return'
      '}};r=st}),function(t,e,n,i){"use strict";var o=function(){var t=n.body||n.documentElement,t=t.style;return""==t.WebkitTransition?"-webkit-":""==t.MozTransition?"-moz-":""==t.OTransition?"-o-":""==t.transition?"":!1},r=o()===!1?!1:!0,s=function(t,e,n){var i={},r=o();i[r+"transform"]="translateX("+e+")",i[r+"transition"]=r+"transform "+n+"s ease",t.css(i)},a="ontouchstart"in e,l=e.navigator.pointerEnabled||e.navigator.msPointerEnabled,c=function(t){if(a)return!0;if(!l||"undefined"==typeof t||"undefined"==typeof t.pointerType)return!1;if("undefined"!=typeof t.MSPOINTER_TYPE_MOUSE){if(t.MSPOINTER_TYPE_MOUSE!=t.pointerType)return!0}else if("mouse"!=t.pointerType)return!0;return!1};t.fn.imageLightbox=function(i){var i=t.extend({selector:'id="imagelightbox"',allowedTypes:"png|jpg|jpeg|gif",animationSpeed:250,preloadNext:!0,enableKeyboard:!0,quitOnEnd:!1,quitOnImgClick:!1,quitOnDocClick:!0,onStart:!1,onEnd:!1,onLoadStart:!1,onLoadEnd:!1},i),o=t([]),u=t(),d=t(),h=0,f=0,p=0,m=!1,v=function(e){return"a"==t(e).prop("tagName").toLowerCase()&&new RegExp(".("+i.allowedTypes+")$","i").test(t(e).attr("href"))},g=function(){if(!d.length)return!0;var n=.8*t(e).width(),i=.9*t(e).height(),o=new Image;o.src=d.attr("src"),o.onload=function(){if(h=o.width,f=o.height,h>n||f>i){var r=h/f>n/i?h/n:f/i;h/=r,f/=r}d.css({width:h+"px",height:f+"px",top:(t(e).height()-f)/2+"px",left:(t(e).width()-h)/2+"px"})}},y=function(e){if(m)return!1;if(e="undefined"==typeof e?!1:"left"==e?1:-1,d.length){if(e!==!1&&(o.length<2||i.quitOnEnd===!0&&(-1===e&&0==o.index(u)||1===e&&o.index(u)==o.length-1)))return w(),!1;var n={opacity:0};r?s(d,35*e-p+"px",i.animationSpeed/600):n.left=parseInt(d.css("left"))+35*e+"px",d.animate(n,i.animationSpeed,function(){b()}),p=0}m=!0,i.onLoadStart!==!1&&i.onLoadStart(),setTimeout(function(){d=t("").attr("src",u.attr("href")).load(function(){d.appendTo("body"),g();var n={opacity:1};if(d.css("opacity",0),r)s(d,-35*e+"px",0),setTimeout(function(){s(d,"0px",i.animationSpeed/600)},5);else{var a=parseInt(d.css("left"));n.left=a+"px",d.css("left",a-35*e+"px")}if(d.animate(n,i.animationSpeed,function(){m=!1,i.onLoadEnd!==!1&&i.onLoadEnd()}),i.preloadNext){var l=o.eq(o.index(u)+1);l.length||(l=o.eq(0)),t("").attr("src",l.attr("href")).load()}}).error(function(){i.onLoadEnd!==!1&&i.onLoadEnd()});var n=0,a=0,f=0;d.on(l?"pointerup MSPointerUp":"click",function(t){if(t.preventDefault(),i.quitOnImgClick)return w(),!1;if(c(t.originalEvent))return!0;var e=(t.pageX||t.originalEvent.pageX)-t.target.offsetLeft;u=o.eq(o.index(u)-(h/2>e?1:-1)),u.length||(u=o.eq(h/2>e?o.length:0)),y(h/2>e?"left":"right")}).on("touchstart pointerdown MSPointerDown",function(t){return!c(t.originalEvent)||i.quitOnImgClick?!0:(r&&(f=parseInt(d.css("left"))),void(n=t.originalEvent.pageX||t.originalEvent.touches[0].pageX))}).on("touchmove pointermove MSPointerMove",function(t){return!c(t.originalEvent)||i.quitOnImgClick?!0:(t.preventDefault(),a=t.originalEvent.pageX||t.originalEvent.touches[0].pageX,p=n-a,void(r?s(d,-p+"px",0):d.css("left",f-p+"px")))}).on("touchend touchcancel pointerup pointercancel MSPointerUp MSPointerCancel",function(t){return!c(t.originalEvent)||i.quitOnImgClick?!0:void(Math.abs(p)>50?(u=o.eq(o.index(u)-(0>p?1:-1)),u.length||(u=o.eq(0>p?o.length:0)),y(p>0?"right":"left")):r?s(d,"0px",i.animationSpeed/1e3):d.animate({left:f+"px"},i.animationSpeed/2))})},i.animationSpeed+100)},b=function(){return d.length?(d.remove(),void(d=t())):!1},w=function(){return d.length?void d.animate({opacity:0},i.animationSpeed,function(){b(),m=!1,i.onEnd!==!1&&i.onEnd()}):!1};return t(e).on("resize",g),i.quitOnDocClick&&t(n).on(a?"touchend":"click",function(e){d.length&&!t(e.target).is(d)&&w()}),i.enableKeyboard&&t(n).on("keyup",function(t){return d.length?(t.preventDefault(),27==t.keyCode&&w(),void((37==t.keyCode||39==t.keyCode)&&(u=o.eq(o.index(u)-(37==t.keyCode?1:-1)),u.length||(u=o.eq(37==t.keyCode?o.length:0)),y(37==t.keyCode?"left":"right")))):!0}),t(n).on("click",this.selector,function(e){return v(this)?(e.preventDefault(),m?!1:(m=!1,i.onStart!==!1&&i.onStart(),u=t(this),void y())):!0}),this.each(function(){return v(this)?void(o=o.add(t(this))):!0}),this.switchImageLightbox=function(t){var e=o.eq(t);if(e.length){var n=o.index(u);u=e,y(n>t?"left":"right")}return this},this.quitImageLightbox=function(){return w(),this},this}}(jQuery,window,document),function(){function t(){}function e(t,e){for(var n=t.length;n--;)if(t[n].listener===e)return n;return-1}function n(t){return function(){return this[t].apply(this,arguments)}}var i=t.prototype,o=this,r=o.EventEmitter;i.getListeners=function(t){var e,n,i=this._getEvents();if("object"==typeof t){e={};for(n in i)i.hasOwnProperty(n)&&t.test(n)&&(e[n]=i[n])}else e=i[t]||(i[t]=[]);return e},i.flattenListeners=function(t){var e,n=[];for(e=0;en;n++)e.push(t[n]);else e.push(t);return e}function s(t,e,n){if(!(this instanceof s))return new s(t,e);"string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=r(t),this.options=i({},this.options),"function"==typeof e?n=e:i(this.options,e),n&&this.on("always",n),this.getImages(),c&&(this.jqDeferred=new c.Deferred);var o=this;setTimeout(function(){o.check()})}function a(t){this.img=t}function l(t){this.src=t,f[t]=this}var c=t.jQuery,u=t.console,d="undefined"!=typeof u,h=Object.prototype.toString;s.prototype=new e,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var t=0,e=this.elements.length;e>t;t++){var n=this.elements[t];"IMG"===n.nodeName&&this.addImage(n);var i=n.nodeType;if(i&&(1===i||9===i||11===i))for(var o=n.querySelectorAll("img"),r=0,s=o.length;s>r;r++){var a=o[r];this.addImage(a)}}},s.prototype.addImage=function(t){var e=new a(t);this.images.push(e)},s.prototype.check=function(){function t(t,o){return e.options.debug&&d&&u.log("confirm",t,o),e.progress(t),n++,n===i&&e.complete(),!0}var e=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return void this.complete();for(var o=0;i>o;o++){var r=this.images[o];r.on("confirm",t),r.check()}},s.prototype.progress=function(t){this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded;var e=this;setTimeout(function(){e.emit("progress",e,t),e.jqDeferred&&e.jqDeferred.notify&&e.jqDeferred.notify(e,t)})},s.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var e=this;setTimeout(function(){if(e.emit(t,e),e.emit("always",e),e.jqDeferred){var n=e.hasAnyBroken?"reject":"resolve";e.jqDeferred[n](e)}})},c&&(c.fn.imagesLoaded=function(t,e){var n=new s(this,t,e);return n.jqDeferred.promise(c(this))}),a.prototype=new e,a.prototype.check=function(){var t=f[this.img.src]||new l(this.img.src);if(t.isConfirmed)return void this.confirm(t.isLoaded,"cached was confirmed");if(this.img.complete&&void 0!==this.img.naturalWidth)return void this.confirm(0!==this.img.naturalWidth,"naturalWidth");var e=this;t.on("confirm",function(t,n){return e.confirm(t.isLoaded,n),!0}),t.check()},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emit("confirm",this,e)};var f={};return l.prototype=new e,l.prototype.check=function(){if(!this.isChecked){var t=new Image;n.bind(t,"load",this),n.bind(t,"error",this),t.src=this.src,this.isChecked=!0}},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(t){this.confirm(!0,"onload"),this.unbindProxyEvents(t)},l.prototype.onerror=function(t){this.confirm(!1,"onerror"),this.unbindProxyEvents(t)},l.prototype.confirm=function(t,e){this.isConfirmed=!0,this.isLoaded=t,this.emit("confirm",this,e)},l.prototype.unbindProxyEvents=function(t){n.unbind(t.target,"load",this),n.unbind(t.target,"error",this)},s}),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,n,i,o){return jQuery.easing[jQuery.easing.def](t,e,n,i,o)},easeInQuad:function(t,e,n,i,o){return i*(e/=o)*e+n},easeOutQuad:function(t,e,n,i,o){return-i*(e/=o)*(e-2)+n},easeInOutQuad:function(t,e,n,i,o){return(e/=o/2)<1?i/2*e*e+n:-i/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,i,o){return i*(e/=o)*e*e+n},easeOutCubic:function(t,e,n,i,o){return i*((e=e/o-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,i,o){return(e/=o/2)<1?i/2*e*e*e+n:i/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,i,o){return i*(e/=o)*e*e*e+n},easeOutQuart:function(t,e,n,i,o){return-i*((e=e/o-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,i,o){return(e/=o/2)<1?i/2*e*e*e*e+n:-i/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,i,o){return i*(e/=o)*e*e*e*e+n},easeOutQuint:function(t,e,n,i,o){return i*((e=e/o-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,i,o){return(e/=o/2)<1?i/2*e*e*e*e*e+n:i/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,i,o){return-i*Math.cos(e/o*(Math.PI/2))+i+n},easeOutSine:function(t,e,n,i,o){return i*Math.sin(e/o*(Math.PI/2))+n},easeInOutSine:function(t,e,n,i,o){return-i/2*(Math.cos(Math.PI*e/o)-1)+n},easeInExpo:function(t,e,n,i,o){return 0==e?n:i*Math.pow(2,10*(e/o-1))+n},easeOutExpo:function(t,e,n,i,o){return e==o?n+i:i*(-Math.pow(2,-10*e/o)+1)+n},easeInOutExpo:function(t,e,n,i,o){return 0==e?n:e==o?n+i:(e/=o/2)<1?i/2*Math.pow(2,10*(e-1))+n:i/2*(-Math.pow(2,-10*--e)+2)+n},easeInCirc:function(t,e,n,i,o){return-i*(Math.sqrt(1-(e/=o)*e)-1)+n},easeOutCirc:function(t,e,n,i,o){return i*Math.sqrt(1-(e=e/o-1)*e)+n},easeInOutCirc:function(t,e,n,i,o){return(e/=o/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+n:i/2*(Math.sqrt(1-(e-=2)*e)+1)+n},easeInElastic:function(t,e,n,i,o){var r=1.70158,s=0,a=i;if(0==e)return n;if(1==(e/=o))return n+i;if(s||(s=.3*o),ae?-.5*a*Math.pow(2,10*(e-=1))*Math.sin(2*(e*o-r)*Math.PI/s)+n:a*Math.pow(2,-10*(e-=1))*Math.sin(2*(e*o-r)*Math.PI/s)*.5+i+n},easeInBack:function(t,e,n,i,o,r){return void 0==r&&(r=1.70158),i*(e/=o)*e*((r+1)*e-r)+n},easeOutBack:function(t,e,n,i,o,r){return void 0==r&&(r=1.70158),i*((e=e/o-1)*e*((r+1)*e+r)+1)+n},easeInOutBack:function(t,e,n,i,o,r){return void 0==r&&(r=1.70158),(e/=o/2)<1?i/2*e*e*(((r*=1.525)+1)*e-r)+n:i/2*((e-=2)*e*(((r*=1.525)+1)*e+r)+2)+n},easeInBounce:function(t,e,n,i,o){return i-jQuery.easing.easeOutBounce(t,o-e,0,i,o)+n},easeOutBounce:function(t,e,n,i,o){return(e/=o)<1/2.75?7.5625*i*e*e+n:2/2.75>e?i*(7.5625*(e-=1.5/2.75)*e+.75)+n:2.5/2.75>e?i*(7.5625*(e-=2.25/2.75)*e+.9375)+n:i*(7.5625*(e-=2.625/2.75)*e+.984375)+n},easeInOutBounce:function(t,e,n,i,o){return o/2>e?.5*jQuery.easing.easeInBounce(t,2*e,0,i,o)+n:.5*jQuery.easing.easeOutBounce(t,2*e-o,0,i,o)+.5*i+n}}),function(t){var e=[];t.loadImages=function(n,i){"string"==typeof n&&(n=[n]);for(var o=n.length,r=0,s=0;o>s;s++){var a=document.createElement("img");a.onload=function(){r++,r==o&&t.isFunction(i)&&i()},a.src=n[s],e.push(a)}}}(jQuery),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(t.jQuery)}(this,function(t){function e(t){if(t in d.style)return t;for(var e=["Moz","Webkit","O","ms"],n=t.charAt(0).toUpperCase()+t.substr(1),i=0;i0&&(a+=" "+u(o));var l=[];return t.each(s,function(t,e){l.push(e+" "+a)}),l.join(", ")}function a(e,n){n||(t.cssNumber[e]=!0),t.transit.propertyMap[e]=h.transform,t.cssHooks[e]={get:function(n){var i=t(n).css("transit:transform");return i.get(e)},set:function(n,i){var o=t(n).css("transit:transform");o.setFromString(e,i),t(n).css({"transit:transform":o})}}}function l(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function c(t,e){return"string"!=typeof t||t.match(/^[\-0-9\.]+$/)?""+t+e:t}function u(e){var n=e;return"string"!=typeof n||n.match(/^[\-0-9\.]+/)||(n=t.fx.speeds[n]||t.fx.speeds._default),c(n,"ms")}t.transit={version:"0.9.12",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={},f=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;h.transition=e("transition"),h.transitionDelay=e("transitionDelay"),h.transform=e("transform"),h.transformOrigin=e("transformOrigin"),h.filter=e("Filter"),h.transform3d=n();var p={transition:"transitionend",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"},m=h.transitionEnd=p[h.transition]||null;for(var v in h)h.hasOwnProperty(v)&&"undefined"==typeof t.support[v]&&(t.support[v]=h[v]);return d=null,t.cssEase={_default:"ease","in":"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeInCubic:"cubic-bezier(.550,.055,.675,.190)",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)"},t.cssHooks["transit:transform"]={get:function(e){return t(e).data("transform")||new i},set:function(e,n){var o=n;o instanceof i||(o=new i(o)),e.style[h.transform]="WebkitTransform"!==h.transform||f?o.toString():o.toString(!0),t(e).data("transform",o)}},t.cssHooks.transform={set:t.cssHooks["transit:transform"].set},t.cssHooks.filter={get:function(t){return t.style[h.filter]},set:function(t,e){t.style[h.filter]=e}},t.fn.jquery<"1.8"&&(t.cssHooks.transformOrigin={get:function(t){return t.style[h.transformOrigin]},set:function(t,e){t.style[h.transformOrigin]=e}},t.cssHooks.transition={get:function(t){return t.style[h.transition]},set:function(t,e){t.style[h.transition]=e}}),a("scale"),a("scaleX"),a("scaleY"),a("translate"),a("rotate"),a("rotateX"),a("rotateY"),a("rotate3d"),a("perspective"),a("skewX"),a("skewY"),a("x",!0),a("y",!0),i.prototype={setFromString:function(t,e){var n="string"==typeof e?e.split(","):e.constructor===Array?e:[e];n.unshift(t),i.prototype.set.apply(this,n)},set:function(t){var e=Array.prototype.slice.apply(arguments,[1]);this.setter[t]?this.setter[t].apply(this,e):this[t]=e.join(",")},get:function(t){return this.getter[t]?this.getter[t].apply(this):this[t]||0},setter:{rotate:function(t){this.rotate=c(t,"deg")},rotateX:function(t){this.rotateX=c(t,"deg")},rotateY:function(t){this.rotateY=c(t,"deg")},scale:function(t,e){void 0===e&&(e=t),this.scale=t+","+e},skewX:function(t){this.skewX=c(t,"deg")},skewY:function(t){this.skewY=c(t,"deg")},perspective:function(t){this.perspective=c(t,"px")},x:function(t){this.set("translate",t,null)},y:function(t){this.set("translate",null,t)},translate:function(t,e){void 0===this._translateX&&(this._translateX=0),void 0===this._translateY&&(this._translateY=0),null!==t&&void 0!==t&&(this._translateX=c(t,"px")),null!==e&&void 0!==e&&(this._translateY=c(e,"px")),this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var t=(this.scale||"1,1").split(",");return t[0]&&(t[0]=parseFloat(t[0])),t[1]&&(t[1]=parseFloat(t[1])),t[0]===t[1]?t[0]:t},rotate3d:function(){for(var t=(this.rotate3d||"0,0,0,0deg").split(","),e=0;3>=e;++e)t[e]&&(t[e]=parseFloat(t[e]));return t[3]&&(t[3]=c(t[3],"deg")),t}},parse:function(t){var e=this;t.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(t,n,i){e.setFromString(n,i)})},toString:function(t){var e=[];for(var n in this)if(this.hasOwnProperty(n)){if(!h.transform3d&&("rotateX"===n||"rotateY"===n||"perspective"===n||"transformOrigin"===n))continue;"_"!==n[0]&&e.push(t&&"scale"===n?n+"3d("+this[n]+",1)":t&&"translate"===n?n+"3d("+this[n]+",0)":n+"("+this[n]+")")}return e.join(" ")}},t.fn.transition=t.fn.transit=function(e,n,i,r){var a=this,l=0,c=!0,d=t.extend(!0,{},e);"function"==typeof n&&(r=n,n=void 0),"object"==typeof n&&(i=n.easing,l=n.delay||0,c="undefined"==typeof n.queue?!0:n.queue,r=n.complete,n=n.duration),"function"==typeof i&&(r=i,i=void 0),"undefined"!=typeof d.easing&&(i=d.easing,delete d.easing),"undefined"!=typeof d.duration&&(n=d.duration,delete d.duration),"undefined"!=typeof d.complete&&(r=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 n&&(n=t.fx.speeds._default),"undefined"==typeof i&&(i=t.cssEase._default),n=u(n);var f=s(d,n,i,l),p=t.transit.enabled&&h.transition,v=p?parseInt(n,10)+parseInt(l,10):0;if(0===v){var g=function(t){a.css(d),r&&r.apply(a),t&&t()};return o(a,c,g),a}var y={},b=function(e){var n=!1,i=function(){n&&a.unbind(m,i),v>0&&a.each(function(){this.style[h.transition]=y[this]||null}),"function"==typeof r&&r.apply(a),"function"==typeof e&&e()};v>0&&m&&t.transit.useTransitionEnd?(n=!0,a.bind(m,i)):window.setTimeout(i,v),a.each(function(){v>0&&(this.style[h.transition]=f),t(this).css(d)})},w=function(t){this.offsetWidth,b(t)};return o(a,c,w),this},t.transit.getTransitionValue=s,t}),function(t){t.extend(t.fn,{validate:function(e){if(!this.length)return void(e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var n=t.data(this[0],"validator");return n?n:(this.attr("novalidate","novalidate"),n=new t.validator(e,this[0]),t.data(this[0],"validator",n),n.settings.onsubmit&&(this.validateDelegate(":submit","click",function(e){n.settings.submitHandler&&(n.submitButton=e.target),t(e.target).hasClass("cancel")&&(n.cancelSubmit=!0),void 0!==t(e.target).attr("formnovalidate")&&(n.cancelSubmit=!0)}),this.submit(function(e){function i(){var i;return n.settings.submitHandler?(n.submitButton&&(i=t("").attr("name",n.submitButton.name).val(t(n.submitButton).val()).appendTo(n.currentForm)),n.settings.submitHandler.call(n,n.currentForm,e),n.submitButton&&i.remove(),!1):!0}return n.settings.debug&&e.preventDefault(),n.cancelSubmit?(n.cancelSubmit=!1,i()):n.form()?n.pendingRequest?(n.formSubmitted=!0,!1):i():(n.focusInvalid(),!1)})),n)},valid:function(){if(t(this[0]).is("form"))return this.validate().form();var e=!0,n=t(this[0].form).validate();return this.each(function(){e=e&&n.element(this)}),e},removeAttrs:function(e){var n={},i=this;return t.each(e.split(/\s/),function(t,e){n[e]=i.attr(e),i.removeAttr(e)}),n},rules:function(e,n){var i=this[0];if(e){var o=t.data(i.form,"validator").settings,r=o.rules,s=t.validator.staticRules(i);switch(e){case"add":t.extend(s,t.validator.normalizeRule(n)),delete s.messages,r[i.name]=s,n.messages&&(o.messages[i.name]=t.extend(o.messages[i.name],n.messages));break;case"remove":if(!n)return delete r[i.name],s;var a={};return t.each(n.split(/\s/),function(t,e){a[e]=s[e],delete s[e]}),a}}var l=t.validator.normalizeRules(t.extend({},t.validator.classRules(i),t.validator.attributeRules(i),t.validator.dataRules(i),t.validator.staticRules(i)),i);if(l.required){var c=l.required;delete l.required,l=t.extend({required:c},l)}return l}}),t.extend(t.expr[":"],{blank:function(e){return!t.trim(""+t(e).val())},filled:function(e){return!!t.trim(""+t(e).val())},unchecked:function(e){return!t(e).prop("checked")}}),t.validator=function(e,n){this.settings=t.extend(!0,{},t.validator.defaults,e),this.currentForm=n,this.init()},t.validator.format=function(e,n){return 1===arguments.length?function(){var n=t.makeArray(arguments);return n.unshift(e),t.validator.format.apply(this,n)}:(arguments.length>2&&n.constructor!==Array&&(n=t.makeArray(arguments).slice(1)),n.constructor!==Array&&(n=[n]),t.each(n,function(t,n){e=e.replace(new RegExp("\\{"+t+"\\}","g"),function(){return n})}),e)},t.extend(t.validator,{defaults:{messages:{}, groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:!0,errorContainer:t([]),errorLabelContainer:t([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t,e){this.lastActive=t,this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.addWrapper(this.errorsFor(t)).hide())},onfocusout:function(t,e){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(t,e){(9!==e.which||""!==this.elementValue(t))&&(t.name in this.submitted||t===this.lastElement)&&this.element(t)},onclick:function(t,e){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(e,n,i){"radio"===e.type?this.findByName(e.name).addClass(n).removeClass(i):t(e).addClass(n).removeClass(i)},unhighlight:function(e,n,i){"radio"===e.type?this.findByName(e.name).removeClass(n).addClass(i):t(e).removeClass(n).addClass(i)}},setDefaults:function(e){t.extend(t.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:t.validator.format("Please enter no more than {0} characters."),minlength:t.validator.format("Please enter at least {0} characters."),rangelength:t.validator.format("Please enter a value between {0} and {1} characters long."),range:t.validator.format("Please enter a value between {0} and {1}."),max:t.validator.format("Please enter a value less than or equal to {0}."),min:t.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function e(e){var n=t.data(this[0].form,"validator"),i="on"+e.type.replace(/^validate/,"");n.settings[i]&&n.settings[i].call(n,this[0],e)}this.labelContainer=t(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||t(this.currentForm),this.containers=t(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var n=this.groups={};t.each(this.settings.groups,function(e,i){"string"==typeof i&&(i=i.split(/\s/)),t.each(i,function(t,i){n[i]=e})});var i=this.settings.rules;t.each(i,function(e,n){i[e]=t.validator.normalizeRule(n)}),t(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",e).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",e),this.settings.invalidHandler&&t(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),t.extend(this.submitted,this.errorMap),this.invalid=t.extend({},this.errorMap),this.valid()||t(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(e){e=this.validationTargetFor(this.clean(e)),this.lastElement=e,this.prepareElement(e),this.currentElements=t(e);var n=this.check(e)!==!1;return n?delete this.invalid[e.name]:this.invalid[e.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),n},showErrors:function(e){if(e){t.extend(this.errorMap,e),this.errorList=[];for(var n in e)this.errorList.push({message:e[n],element:this.findByName(n)[0]});this.successList=t.grep(this.successList,function(t){return!(t.name in e)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){t.fn.resetForm&&t(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e=0;for(var n in t)e++;return e},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{t(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(e){}},findLastActive:function(){var e=this.lastActive;return e&&1===t.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var e=this,n={};return t(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){return!this.name&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in n||!e.objectLength(t(this).rules())?!1:(n[this.name]=!0,!0)})},clean:function(e){return t(e)[0]},errors:function(){var e=this.settings.errorClass.replace(" ",".");return t(this.settings.errorElement+"."+e,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=t([]),this.toHide=t([]),this.currentElements=t([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(e){var n=t(e).attr("type"),i=t(e).val();return"radio"===n||"checkbox"===n?t("input[name='"+t(e).attr("name")+"']:checked").val():"string"==typeof i?i.replace(/\r/g,""):i},check:function(e){e=this.validationTargetFor(this.clean(e));var n,i=t(e).rules(),o=!1,r=this.elementValue(e);for(var s in i){var a={method:s,parameters:i[s]};try{if(n=t.validator.methods[s].call(this,r,e,a.parameters),"dependency-mismatch"===n){o=!0;continue}if(o=!1,"pending"===n)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!n)return this.formatAndAdd(e,a),!1}catch(l){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+a.method+"' method.",l),l}}return o?void 0:(this.objectLength(i)&&this.successList.push(e),!0)},customDataMessage:function(e,n){return t(e).data("msg-"+n.toLowerCase())||e.attributes&&t(e).attr("data-msg-"+n.toLowerCase())},customMessage:function(t,e){var n=this.settings.messages[t];return n&&(n.constructor===String?n:n[e])},findDefined:function(){for(var t=0;tWarning: No message defined for "+e.name+"")},formatAndAdd:function(e,n){var i=this.defaultMessage(e,n.method),o=/\$?\{(\d+)\}/g;"function"==typeof i?i=i.call(this,n.parameters,e):o.test(i)&&(i=t.validator.format(i.replace(o,"{$1}"),n.parameters)),this.errorList.push({message:i,element:e}),this.errorMap[e.name]=i,this.submitted[e.name]=i},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e;for(t=0;this.errorList[t];t++){var n=this.errorList[t];this.settings.highlight&&this.settings.highlight.call(this,n.element,this.settings.errorClass,this.settings.validClass),this.showLabel(n.element,n.message)}if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return t(this.errorList).map(function(){return this.element})},showLabel:function(e,n){var i=this.errorsFor(e);i.length?(i.removeClass(this.settings.validClass).addClass(this.settings.errorClass),i.html(n)):(i=t("<"+this.settings.errorElement+">").attr("for",this.idOrName(e)).addClass(this.settings.errorClass).html(n||""),this.settings.wrapper&&(i=i.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.append(i).length||(this.settings.errorPlacement?this.settings.errorPlacement(i,t(e)):i.insertAfter(e))),!n&&this.settings.success&&(i.text(""),"string"==typeof this.settings.success?i.addClass(this.settings.success):this.settings.success(i,e)),this.toShow=this.toShow.add(i)},errorsFor:function(e){var n=this.idOrName(e);return this.errors().filter(function(){return t(this).attr("for")===n})},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name).not(this.settings.ignore)[0]),t},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(e){return t(this.currentForm).find("[name='"+e+"']")},getLength:function(e,n){switch(n.nodeName.toLowerCase()){case"select":return t("option:selected",n).length;case"input":if(this.checkable(n))return this.findByName(n.name).filter(":checked").length}return e.length},depend:function(t,e){return this.dependTypes[typeof t]?this.dependTypes[typeof t](t,e):!0},dependTypes:{"boolean":function(t,e){return t},string:function(e,n){return!!t(e,n.form).length},"function":function(t,e){return t(e)}},optional:function(e){var n=this.elementValue(e);return!t.validator.methods.required.call(this,n,e)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,this.pending[t.name]=!0)},stopRequest:function(e,n){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],n&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(t(this.currentForm).submit(),this.formSubmitted=!1):!n&&0===this.pendingRequest&&this.formSubmitted&&(t(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e){return t.data(e,"previousValue")||t.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,n){e.constructor===String?this.classRuleSettings[e]=n:t.extend(this.classRuleSettings,e)},classRules:function(e){var n={},i=t(e).attr("class");return i&&t.each(i.split(" "),function(){this in t.validator.classRuleSettings&&t.extend(n,t.validator.classRuleSettings[this])}),n},attributeRules:function(e){var n={},i=t(e),o=i[0].getAttribute("type");for(var r in t.validator.methods){var s;"required"===r?(s=i.get(0).getAttribute(r),""===s&&(s=!0),s=!!s):s=i.attr(r),/min|max/.test(r)&&(null===o||/number|range|text/.test(o))&&(s=Number(s)),s?n[r]=s:o===r&&"range"!==o&&(n[r]=!0)}return n.maxlength&&/-1|2147483647|524288/.test(n.maxlength)&&delete n.maxlength,n},dataRules:function(e){var n,i,o={},r=t(e);for(n in t.validator.methods)i=r.data("rule-"+n.toLowerCase()),void 0!==i&&(o[n]=i);return o},staticRules:function(e){var n={},i=t.data(e.form,"validator");return i.settings.rules&&(n=t.validator.normalizeRule(i.settings.rules[e.name])||{}),n},normalizeRules:function(e,n){return t.each(e,function(i,o){if(o===!1)return void delete e[i];if(o.param||o.depends){var r=!0;switch(typeof o.depends){case"string":r=!!t(o.depends,n.form).length;break;case"function":r=o.depends.call(n,n)}r?e[i]=void 0!==o.param?o.param:!0:delete e[i]}}),t.each(e,function(i,o){e[i]=t.isFunction(o)?o(n):o}),t.each(["minlength","maxlength"],function(){e[this]&&(e[this]=Number(e[this]))}),t.each(["rangelength","range"],function(){var n;e[this]&&(t.isArray(e[this])?e[this]=[Number(e[this][0]),Number(e[this][1])]:"string"==typeof e[this]&&(n=e[this].split(/[\s,]+/),e[this]=[Number(n[0]),Number(n[1])]))}),t.validator.autoCreateRanges&&(e.min&&e.max&&(e.range=[e.min,e.max],delete e.min,delete e.max),e.minlength&&e.maxlength&&(e.rangelength=[e.minlength,e.maxlength],delete e.minlength,delete e.maxlength)),e},normalizeRule:function(e){if("string"==typeof e){var n={};t.each(e.split(/\s/),function(){n[this]=!0}),e=n}return e},addMethod:function(e,n,i){t.validator.methods[e]=n,t.validator.messages[e]=void 0!==i?i:t.validator.messages[e],n.length<3&&t.validator.addClassRules(e,t.validator.normalizeRule(e))},methods:{required:function(e,n,i){if(!this.depend(i,n))return"dependency-mismatch";if("select"===n.nodeName.toLowerCase()){var o=t(n).val();return o&&o.length>0}return this.checkable(n)?this.getLength(e,n)>0:t.trim(e).length>0},email:function(t,e){return this.optional(e)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(t)},url:function(t,e){return this.optional(e)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(t)},date:function(t,e){return this.optional(e)||!/Invalid|NaN/.test(new Date(t).toString())},dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/.test(t)},number:function(t,e){return this.optional(e)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},creditcard:function(t,e){if(this.optional(e))return"dependency-mismatch";if(/[^0-9 \-]+/.test(t))return!1;var n=0,i=0,o=!1;t=t.replace(/\D/g,"");for(var r=t.length-1;r>=0;r--){var s=t.charAt(r);i=parseInt(s,10),o&&(i*=2)>9&&(i-=9),n+=i,o=!o}return n%10===0},minlength:function(e,n,i){var o=t.isArray(e)?e.length:this.getLength(t.trim(e),n);return this.optional(n)||o>=i},maxlength:function(e,n,i){var o=t.isArray(e)?e.length:this.getLength(t.trim(e),n);return this.optional(n)||i>=o},rangelength:function(e,n,i){var o=t.isArray(e)?e.length:this.getLength(t.trim(e),n);return this.optional(n)||o>=i[0]&&o<=i[1]},min:function(t,e,n){return this.optional(e)||t>=n},max:function(t,e,n){return this.optional(e)||n>=t},range:function(t,e,n){return this.optional(e)||t>=n[0]&&t<=n[1]},equalTo:function(e,n,i){var o=t(i);return this.settings.onfocusout&&o.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){t(n).valid()}),e===o.val()},remote:function(e,n,i){if(this.optional(n))return"dependency-mismatch";var o=this.previousValue(n);if(this.settings.messages[n.name]||(this.settings.messages[n.name]={}),o.originalMessage=this.settings.messages[n.name].remote,this.settings.messages[n.name].remote=o.message,i="string"==typeof i&&{url:i}||i,o.old===e)return o.valid;o.old=e;var r=this;this.startRequest(n);var s={};return s[n.name]=e,t.ajax(t.extend(!0,{url:i,mode:"abort",port:"validate"+n.name,dataType:"json",data:s,success:function(i){r.settings.messages[n.name].remote=o.originalMessage;var s=i===!0||"true"===i;if(s){var a=r.formSubmitted;r.prepareElement(n),r.formSubmitted=a,r.successList.push(n),delete r.invalid[n.name],r.showErrors()}else{var l={},c=i||r.defaultMessage(n,"remote");l[n.name]=o.message=t.isFunction(c)?c(e):c,r.invalid[n.name]=!0,r.showErrors(l)}o.valid=s,r.stopRequest(n,s)}},i)),"pending"}}}),t.format=t.validator.format}(jQuery),function(t){var e={};if(t.ajaxPrefilter)t.ajaxPrefilter(function(t,n,i){var o=t.port;"abort"===t.mode&&(e[o]&&e[o].abort(),e[o]=i)});else{var n=t.ajax;t.ajax=function(i){var o=("mode"in i?i:t.ajaxSettings).mode,r=("port"in i?i:t.ajaxSettings).port;return"abort"===o?(e[r]&&e[r].abort(),e[r]=n.apply(this,arguments),e[r]):n.apply(this,arguments)}}}(jQuery),function(t){t.extend(t.fn,{validateDelegate:function(e,n,i){return this.bind(n,function(n){var o=t(n.target);return o.is(e)?i.apply(o,arguments):void 0})}})}(jQuery),function(t){function e(){}function n(t){function n(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}function o(e,n){t.fn[e]=function(o){if("string"==typeof o){for(var s=i.call(arguments,1),a=0,l=this.length;l>a;a++){var c=this[a],u=t.data(c,e);if(u)if(t.isFunction(u[o])&&"_"!==o.charAt(0)){var d=u[o].apply(u,s);if(void 0!==d)return d}else r("no such method '"+o+"' for "+e+" instance");else r("cannot call methods on "+e+" prior to initialization; attempted to call '"+o+"'")}return this}return this.each(function(){var i=t.data(this,e);i?(i.option(o),i._init()):(i=new n(this,o),t.data(this,e,i))})}}if(t){var r="undefined"==typeof console?e:function(t){console.error(t)};return t.bridget=function(t,e){n(e),o(t,e)},t.bridget}}var i=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],n):n("object"==typeof exports?require("jquery"):t.jQuery)}(window),function(t){function e(e){var n=t.event;return n.target=n.target||n.srcElement||e,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(t,e,n){t.addEventListener(e,n,!1)}:n.attachEvent&&(i=function(t,n,i){t[n+i]=i.handleEvent?function(){var n=e(t);i.handleEvent.call(i,n)}:function(){var n=e(t);i.call(t,n)},t.attachEvent("on"+n,t[n+i])});var o=function(){};n.removeEventListener?o=function(t,e,n){t.removeEventListener(e,n,!1)}:n.detachEvent&&(o=function(t,e,n){t.detachEvent("on"+e,t[e+n]);try{delete t[e+n]}catch(i){t[e+n]=void 0}});var r={bind:i,unbind:o};"function"==typeof define&&define.amd?define("eventie/eventie",r):"object"==typeof exports?module.exports=r:t.eventie=r}(window),function(){function t(){}function e(t,e){for(var n=t.length;n--;)if(t[n].listener===e)return n;return-1}function n(t){return function(){return this[t].apply(this,arguments)}}var i=t.prototype,o=this,r=o.EventEmitter;i.getListeners=function(t){var e,n,i=this._getEvents();if(t instanceof RegExp){e={};for(n in i)i.hasOwnProperty(n)&&t.test(n)&&(e[n]=i[n])}else e=i[t]||(i[t]=[]);return e},i.flattenListeners=function(t){var e,n=[];for(e=0;eo;o++)if(e=n[o]+t,"string"==typeof i[e])return e}}var n="Webkit Moz ms Ms O".split(" "),i=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return e}):"object"==typeof exports?module.exports=e:t.getStyleProperty=e}(window),function(t,e){function n(t){var e=parseFloat(t),n=-1===t.indexOf("%")&&!isNaN(e);return n&&e}function i(){}function o(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,n=a.length;n>e;e++){var i=a[e];t[i]=0}return t}function r(e){function i(){if(!h){h=!0;var i=t.getComputedStyle;if(c=function(){var t=i?function(t){return i(t,null)}:function(t){return t.currentStyle};return function(e){var n=t(e);return n||s("Style returned "+n+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),n}}(),u=e("boxSizing")){var o=document.createElement("div");o.style.width="200px",o.style.padding="1px 2px 3px 4px",o.style.borderStyle="solid",o.style.borderWidth="1px 2px 3px 4px",o.style[u]="border-box";var r=document.body||document.documentElement;r.appendChild(o);var a=c(o);d=200===n(a.width),r.removeChild(o)}}}function r(t){if(i(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=c(t);if("none"===e.display)return o();var r={};r.width=t.offsetWidth,r.height=t.offsetHeight;for(var s=r.isBorderBox=!(!u||!e[u]||"border-box"!==e[u]),h=0,f=a.length;f>h;h++){var p=a[h],m=e[p];m=l(t,m);var v=parseFloat(m);r[p]=isNaN(v)?0:v}var g=r.paddingLeft+r.paddingRight,y=r.paddingTop+r.paddingBottom,b=r.marginLeft+r.marginRight,w=r.marginTop+r.marginBottom,x=r.borderLeftWidth+r.borderRightWidth,E=r.borderTopWidth+r.borderBottomWidth,C=s&&d,F=n(e.width);F!==!1&&(r.width=F+(C?0:g+x));var S=n(e.height);return S!==!1&&(r.height=S+(C?0:y+E)),r.innerWidth=r.width-(g+x),r.innerHeight=r.height-(y+E),r.outerWidth=r.width+b,r.outerHeight=r.height+w,r}}function l(e,n){if(t.getComputedStyle||-1===n.indexOf("%"))return n;var i=e.style,o=i.left,r=e.runtimeStyle,s=r&&r.left;return s&&(r.left=e.currentStyle.left),i.left=n,n=i.pixelLeft,i.left=o,s&&(r.left=s),n}var c,u,d,h=!1;return r}var s="undefined"==typeof console?i:function(t){console.error(t)},a=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],r):"object"==typeof exports?module.exports=r(require("desandro-get-style-property")):t.getSize=r(t.getStyleProperty)}(window),function(t){function e(t){"function"==typeof t&&(e.isReady?t():s.push(t))}function n(t){var n="readystatechange"===t.type&&"complete"!==r.readyState;e.isReady||n||i()}function i(){e.isReady=!0;for(var t=0,n=s.length;n>t;t++){var i=s[t];i()}}function o(o){return"complete"===r.readyState?i():(o.bind(r,"DOMContentLoaded",n),o.bind(r,"readystatechange",n),o.bind(t,"load",n)),e}var r=t.document,s=[];e.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],o):"object"==typeof exports?module.exports=o(require("eventie")):t.docReady=o(t.eventie)}(window),function(t){function e(t,e){return t[s](e)}function n(t){if(!t.parentNode){var e=document.createDocumentFragment();e.appendChild(t)}}function i(t,e){n(t);for(var i=t.parentNode.querySelectorAll(e),o=0,r=i.length;r>o;o++)if(i[o]===t)return!0;return!1}function o(t,i){return n(t),e(t,i)}var r,s=function(){if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],n=0,i=e.length;i>n;n++){var o=e[n],r=o+"MatchesSelector";if(t[r])return r}}();if(s){var a=document.createElement("div"),l=e(a,"div");r=l?e:o}else r=i;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return r}):"object"==typeof exports?module.exports=r:window.matchesSelector=r}(Element.prototype),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(n,i){return e(t,n,i)}):"object"==typeof exports?module.exports=e(t,require("doc-ready"),require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.docReady,t.matchesSelector)}(window,function(t,e,n){var i={};i.extend=function(t,e){for(var n in e)t[n]=e[n];return t},i.modulo=function(t,e){return(t%e+e)%e};var o=Object.prototype.toString;i.isArray=function(t){return"[object Array]"==o.call(t)},i.makeArray=function(t){var e=[];if(i.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var n=0,o=t.length;o>n;n++)e.push(t[n]);else e.push(t);return e},i.indexOf=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1},i.removeFrom=function(t,e){var n=i.indexOf(t,e);-1!=n&&t.splice(n,1)},i.isElement="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1==t.nodeType&&"string"==typeof t.nodeName},i.setText=function(){function t(t,n){e=e||(void 0!==document.documentElement.textContent?"textContent":"innerText"),t[e]=n}var e;return t}(),i.getParent=function(t,e){for(;t!=document.body;)if(t=t.parentNode,n(t,e))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,e){t=i.makeArray(t);for(var o=[],r=0,s=t.length;s>r;r++){var a=t[r];if(i.isElement(a))if(e){n(a,e)&&o.push(a);for(var l=a.querySelectorAll(e),c=0,u=l.length;u>c;c++)o.push(l[c])}else o.push(a)}return o},i.debounceMethod=function(t,e,n){var i=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];t&&clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){i.apply(r,e),delete r[o]},n||100)}},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,n){return e+"-"+n}).toLowerCase()};var r=t.console;return i.htmlInit=function(n,o){e(function(){for(var e=i.toDashed(o),s=document.querySelectorAll(".js-"+e),a="data-"+e+"-options",l=0,c=s.length;c>l;l++){var u,d=s[l],h=d.getAttribute(a);try{u=h&&JSON.parse(h)}catch(f){r&&r.error("Error parsing "+a+" on "+d.nodeName.toLowerCase()+(d.id?"#"+d.id:"")+": "+f);continue}var p=new n(d,u),m=t.jQuery;m&&m.data(d,o,p)}})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(n,i,o,r){return e(t,n,i,o,r)}):"object"==typeof exports?module.exports=e(t,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(t.Outlayer={},t.Outlayer.Item=e(t,t.EventEmitter,t.getSize,t.getStyleProperty,t.fizzyUIUtils))}(window,function(t,e,n,i,o){function r(t){for(var e in t)return!1;return e=null,!0}function s(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var a=t.getComputedStyle,l=a?function(t){return a(t,null)}:function(t){return t.currentStyle},c=i("transition"),u=i("transform"),d=c&&u,h=!!i("perspective"),f={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[c],p=["transform","transition","transitionDuration","transitionProperty"],m=function(){for(var t={},e=0,n=p.length;n>e;e++){var o=p[e],r=i(o);r&&r!==o&&(t[o]=r)}return t}();o.extend(s.prototype,e.prototype),s.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},s.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},s.prototype.getSize=function(){this.size=n(this.element)},s.prototype.css=function(t){var e=this.element.style;for(var n in t){var i=m[n]||n;e[i]=t[n]}},s.prototype.getPosition=function(){var t=l(this.element),e=this.layout.options,n=e.isOriginLeft,i=e.isOriginTop,o=parseInt(t[n?"left":"right"],10),r=parseInt(t[i?"top":"bottom"],10);o=isNaN(o)?0:o,r=isNaN(r)?0:r;var s=this.layout.size;o-=n?s.paddingLeft:s.paddingRight,r-=i?s.paddingTop:s.paddingBottom,this.position.x=o,this.position.y=r},s.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,n={},i=e.isOriginLeft?"paddingLeft":"paddingRight",o=e.isOriginLeft?"left":"right",r=e.isOriginLeft?"right":"left",s=this.position.x+t[i];s=e.percentPosition&&!e.isHorizontal?s/t.width*100+"%":s+"px",n[o]=s,n[r]="";var a=e.isOriginTop?"paddingTop":"paddingBottom",l=e.isOriginTop?"top":"bottom",c=e.isOriginTop?"bottom":"top",u=this.position.y+t[a];u=e.percentPosition&&e.isHorizontal?u/t.height*100+"%":u+"px",n[l]=u,n[c]="",this.css(n),this.emitEvent("layout",[this])};var v=h?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};s.prototype._transitionTo=function(t,e){this.getPosition();var n=this.position.x,i=this.position.y,o=parseInt(t,10),r=parseInt(e,10),s=o===this.position.x&&r===this.position.y; if(this.setPosition(t,e),s&&!this.isTransitioning)return void this.layoutPosition();var a=t-n,l=e-i,c={},u=this.layout.options;a=u.isOriginLeft?a:-a,l=u.isOriginTop?l:-l,c.transform=v(a,l),this.transition({to:c,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},s.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},s.prototype.moveTo=d?s.prototype._transitionTo:s.prototype.goTo,s.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},s.prototype._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},s.prototype._transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var n in t.onTransitionEnd)e.onEnd[n]=t.onTransitionEnd[n];for(n in t.to)e.ingProperties[n]=!0,t.isCleaning&&(e.clean[n]=!0);if(t.from){this.css(t.from);var i=this.element.offsetHeight;i=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var g=u&&o.toDashed(u)+",opacity";s.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:g,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(f,this,!1))},s.prototype.transition=s.prototype[c?"_transition":"_nonTransition"],s.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},s.prototype.onotransitionend=function(t){this.ontransitionend(t)};var y={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};s.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=y[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],r(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd){var i=e.onEnd[n];i.call(this),delete e.onEnd[n]}this.emitEvent("transitionEnd",[this])}},s.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(f,this,!1),this.isTransitioning=!1},s.prototype._removeStyles=function(t){var e={};for(var n in t)e[n]="";this.css(e)};var b={transitionProperty:"",transitionDuration:""};return s.prototype.removeTransitionStyles=function(){this.css(b)},s.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},s.prototype.remove=function(){if(!c||!parseFloat(this.layout.options.transitionDuration))return void this.removeElem();var t=this;this.once("transitionEnd",function(){t.removeElem()}),this.hide()},s.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},n=this.getHideRevealTransitionEndProperty("visibleStyle");e[n]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},s.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},s.prototype.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var n in e)return n},s.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},n=this.getHideRevealTransitionEndProperty("hiddenStyle");e[n]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},s.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},s.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},s}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(n,i,o,r,s){return e(t,n,i,o,r,s)}):"object"==typeof exports?module.exports=e(t,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.eventie,t.EventEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,n,i,o,r){function s(t,e){var n=o.getQueryElement(t);if(!n)return void(a&&a.error("Bad element for "+this.constructor.namespace+": "+(n||t)));this.element=n,l&&(this.$element=l(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var i=++u;this.element.outlayerGUID=i,d[i]=this,this._create(),this.options.isInitLayout&&this.layout()}var a=t.console,l=t.jQuery,c=function(){},u=0,d={};return s.namespace="outlayer",s.Item=r,s.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},o.extend(s.prototype,n.prototype),s.prototype.option=function(t){o.extend(this.options,t)},s.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},s.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},s.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),n=this.constructor.Item,i=[],o=0,r=e.length;r>o;o++){var s=e[o],a=new n(s,this);i.push(a)}return i},s.prototype._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},s.prototype.getItemElements=function(){for(var t=[],e=0,n=this.items.length;n>e;e++)t.push(this.items[e].element);return t},s.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},s.prototype._init=s.prototype.layout,s.prototype._resetLayout=function(){this.getSize()},s.prototype.getSize=function(){this.size=i(this.element)},s.prototype._getMeasurement=function(t,e){var n,r=this.options[t];r?("string"==typeof r?n=this.element.querySelector(r):o.isElement(r)&&(n=r),this[t]=n?i(n)[e]:r):this[t]=0},s.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},s.prototype._getItemsForLayout=function(t){for(var e=[],n=0,i=t.length;i>n;n++){var o=t[n];o.isIgnored||e.push(o)}return e},s.prototype._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){for(var n=[],i=0,o=t.length;o>i;i++){var r=t[i],s=this._getItemLayoutPosition(r);s.item=r,s.isInstant=e||r.isLayoutInstant,n.push(s)}this._processLayoutQueue(n)}},s.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},s.prototype._processLayoutQueue=function(t){for(var e=0,n=t.length;n>e;e++){var i=t[e];this._positionItem(i.item,i.x,i.y,i.isInstant)}},s.prototype._positionItem=function(t,e,n,i){i?t.goTo(e,n):t.moveTo(e,n)},s.prototype._postLayout=function(){this.resizeContainer()},s.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},s.prototype._getContainerSize=c,s.prototype._setContainerMeasure=function(t,e){if(void 0!==t){var n=this.size;n.isBorderBox&&(t+=e?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},s.prototype._emitCompleteOnItems=function(t,e){function n(){o.emitEvent(t+"Complete",[e])}function i(){s++,s===r&&n()}var o=this,r=e.length;if(!e||!r)return void n();for(var s=0,a=0,l=e.length;l>a;a++){var c=e[a];c.once(t,i)}},s.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},s.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},s.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,n=t.length;n>e;e++){var i=t[e];this.ignore(i)}}},s.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,n=t.length;n>e;e++){var i=t[e];o.removeFrom(this.stamps,i),this.unignore(i)}},s.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)):void 0},s.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;e>t;t++){var n=this.stamps[t];this._manageStamp(n)}}},s.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},s.prototype._manageStamp=c,s.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t),r={left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom};return r},s.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},s.prototype.bindResize=function(){this.isResizeBound||(e.bind(t,"resize",this),this.isResizeBound=!0)},s.prototype.unbindResize=function(){this.isResizeBound&&e.unbind(t,"resize",this),this.isResizeBound=!1},s.prototype.onresize=function(){function t(){e.resize(),delete e.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var e=this;this.resizeTimeout=setTimeout(t,100)},s.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},s.prototype.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},s.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},s.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},s.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var n=this.items.slice(0);this.items=e.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(n)}},s.prototype.reveal=function(t){this._emitCompleteOnItems("reveal",t);for(var e=t&&t.length,n=0;e&&e>n;n++){var i=t[n];i.reveal()}},s.prototype.hide=function(t){this._emitCompleteOnItems("hide",t);for(var e=t&&t.length,n=0;e&&e>n;n++){var i=t[n];i.hide()}},s.prototype.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},s.prototype.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},s.prototype.getItem=function(t){for(var e=0,n=this.items.length;n>e;e++){var i=this.items[e];if(i.element===t)return i}},s.prototype.getItems=function(t){t=o.makeArray(t);for(var e=[],n=0,i=t.length;i>n;n++){var r=t[n],s=this.getItem(r);s&&e.push(s)}return e},s.prototype.remove=function(t){var e=this.getItems(t);if(this._emitCompleteOnItems("remove",e),e&&e.length)for(var n=0,i=e.length;i>n;n++){var r=e[n];r.remove(),o.removeFrom(this.items,r)}},s.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,n=this.items.length;n>e;e++){var i=this.items[e];i.destroy()}this.unbindResize();var o=this.element.outlayerGUID;delete d[o],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},s.data=function(t){t=o.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&d[e]},s.create=function(t,e){function n(){s.apply(this,arguments)}return Object.create?n.prototype=Object.create(s.prototype):o.extend(n.prototype,s.prototype),n.prototype.constructor=n,n.defaults=o.extend({},s.defaults),o.extend(n.defaults,e),n.prototype.settings={},n.namespace=t,n.data=s.data,n.Item=function(){r.apply(this,arguments)},n.Item.prototype=new r,o.htmlInit(n,t),l&&l.bridget&&l.bridget(t,n),n},s.Item=r,s}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],e):"object"==typeof exports?module.exports=e(require("outlayer"),require("get-size"),require("fizzy-ui-utils")):t.Masonry=e(t.Outlayer,t.getSize,t.fizzyUIUtils)}(window,function(t,e,n){var i=t.create("masonry");return i.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},i.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],n=t&&t.element;this.columnWidth=n&&e(n).outerWidth||this.containerWidth}var i=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/i,s=i-o%i,a=s&&1>s?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},i.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,n=e(t);this.containerWidth=n&&n.innerWidth},i.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&1>e?"round":"ceil",o=Math[i](t.size.outerWidth/this.columnWidth);o=Math.min(o,this.cols);for(var r=this._getColGroup(o),s=Math.min.apply(Math,r),a=n.indexOf(r,s),l={x:this.columnWidth*a,y:s},c=s+t.size.outerHeight,u=this.cols+1-r.length,d=0;u>d;d++)this.colYs[a+d]=c;return l},i.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],n=this.cols+1-t,i=0;n>i;i++){var o=this.colYs.slice(i,i+t);e[i]=Math.max.apply(Math,o)}return e},i.prototype._manageStamp=function(t){var n=e(t),i=this._getElementOffset(t),o=this.options.isOriginLeft?i.left:i.right,r=o+n.outerWidth,s=Math.floor(o/this.columnWidth);s=Math.max(0,s);var a=Math.floor(r/this.columnWidth);a-=r%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this.options.isOriginTop?i.top:i.bottom)+n.outerHeight,c=s;a>=c;c++)this.colYs[c]=Math.max(l,this.colYs[c])},i.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},i.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},i}),function(t){"function"==typeof module?module.exports=t(this.jQuery||require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):this.NProgress=t(this.jQuery)}(function(t){function e(t,e,n){return e>t?e:t>n?n:t}function n(t){return 100*(-1+t)}function i(t,e,i){var o;return o="translate3d"===r.positionUsing?{transform:"translate3d("+n(t)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+n(t)+"%,0)"}:{"margin-left":n(t)+"%"},o.transition="all "+e+"ms "+i,o}var o={};o.version="0.1.2";var r=o.settings={minimum:.08,easing:"ease",positionUsing:"",speed:300,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,template:'
      '};return o.configure=function(e){return t.extend(r,e),this},o.status=null,o.set=function(t){var n=o.isStarted();t=e(t,r.minimum,1),o.status=1===t?null:t;var s=o.render(!n),a=s.find('[role="bar"]'),l=r.speed,c=r.easing;return s[0].offsetWidth,s.queue(function(e){""===r.positionUsing&&(r.positionUsing=o.getPositioningCSS()),a.css(i(t,l,c)),1===t?(s.css({transition:"none",opacity:1}),s[0].offsetWidth,setTimeout(function(){s.css({transition:"all "+l+"ms linear",opacity:0}),setTimeout(function(){o.remove(),e()},l)},l)):setTimeout(e,l)}),this},o.isStarted=function(){return"number"==typeof o.status},o.start=function(){o.status||o.set(0);var t=function(){setTimeout(function(){o.status&&(o.trickle(),t())},r.trickleSpeed)};return r.trickle&&t(),this},o.done=function(t){return t||o.status?o.inc(.3+.5*Math.random()).set(1):this},o.inc=function(t){var n=o.status;return n?("number"!=typeof t&&(t=(1-n)*e(Math.random()*n,.1,.95)),n=e(n+t,0,.994),o.set(n)):o.start()},o.trickle=function(){return o.inc(Math.random()*r.trickleRate)},o.render=function(e){if(o.isRendered())return t("#nprogress");t("html").addClass("nprogress-busy");var i=t("
      ").html(r.template),s=e?"-100":n(o.status||0);return i.find('[role="bar"]').css({transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||i.find('[role="spinner"]').remove(),i.appendTo(document.body),i},o.remove=function(){t("html").removeClass("nprogress-busy"),t("#nprogress").remove()},o.isRendered=function(){return t("#nprogress").length>0},o.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"},o}),function(t,e,n){t.fn.responsiveSlides=function(i){var o=t.extend({auto:!0,speed:500,timeout:4e3,pager:!1,nav:!1,random:!1,pause:!1,pauseControls:!0,prevText:"Previous",nextText:"Next",maxwidth:"",navContainer:"",manualControls:"",namespace:"rslides",before:t.noop,after:t.noop},i);return this.each(function(){n++;var r,s,a,l,c,u,d=t(this),h=0,f=d.children(),p=f.size(),m=parseFloat(o.speed),v=parseFloat(o.timeout),g=parseFloat(o.maxwidth),y=o.namespace,b=y+n,w=y+"_nav "+b+"_nav",x=y+"_here",E=b+"_on",C=b+"_s",F=t("
        "),S={"float":"left",position:"relative",opacity:1,zIndex:2},k={"float":"none",position:"absolute",opacity:0,zIndex:1},T=function(){var t=document.body||document.documentElement,e=t.style,n="transition";if("string"==typeof e[n])return!0;r=["Moz","Webkit","Khtml","O","ms"],n=n.charAt(0).toUpperCase()+n.substr(1);var i;for(i=0;i1){if(m+100>v)return;if(o.pager&&!o.manualControls){var z=[];f.each(function(t){var e=t+1;z+="
      • "+e+"
      • "}),F.append(z),i.navContainer?t(o.navContainer).append(F):d.after(F)}if(o.manualControls&&(F=t(o.manualControls),F.addClass(y+"_tabs "+b+"_tabs")),(o.pager||o.manualControls)&&F.find("li").each(function(e){t(this).addClass(C+(e+1))}),(o.pager||o.manualControls)&&(u=F.find("a"),s=function(t){u.closest("li").removeClass(x).eq(t).addClass(x)}),o.auto&&(a=function(){c=setInterval(function(){f.stop(!0,!0);var t=p>h+1?h+1:0;(o.pager||o.manualControls)&&s(t),L(t)},v)})(),l=function(){o.auto&&(clearInterval(c),a())},o.pause&&d.hover(function(){clearInterval(c)},function(){l()}),(o.pager||o.manualControls)&&(u.bind("click",function(e){e.preventDefault(),o.pauseControls||l();var n=u.index(this);h===n||t("."+E).queue("fx").length||(s(n),L(n))}).eq(0).closest("li").addClass(x),o.pauseControls&&u.hover(function(){clearInterval(c)},function(){l()})),o.nav){var I="";i.navContainer?t(o.navContainer).append(I):d.after(I);var O=t("."+b+"_nav"),A=O.filter(".prev");O.bind("click",function(e){e.preventDefault();var n=t("."+E);if(!n.queue("fx").length){var i=f.index(n),r=i-1,a=p>i+1?h+1:0;L(t(this)[0]===A[0]?r:a),(o.pager||o.manualControls)&&s(t(this)[0]===A[0]?r:a),o.pauseControls||l()}}),o.pauseControls&&O.hover(function(){clearInterval(c)},function(){l()})}}if("undefined"==typeof document.body.style.maxWidth&&i.maxwidth){var _=function(){d.css("width","100%"),d.width()>g&&d.css("width",g)};_(),t(e).bind("resize",function(){_()})}})}}(jQuery,this,0),function(t){"use strict";function e(e,n){{var i=t("header").height();t("#navbar").height()}"slide-up"===e?t("header").transition({opacity:1,top:-i},n,"snap"):"slide-down"===e&&t("header").transition({opacity:1,top:0},n,"snap")}function n(){var t=!1;return function(e){(/(android|bb\d+|meego).+mobile|android|ipad|playbook|silk|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0)}(navigator.userAgent||navigator.vendor||window.opera),t}t.fn.showdelay=function(e){var n=0,i=0;return this.each(function(){t(this).delay(n).transition({opacity:"1"},700,"ease"),n+=200,i++,i===e&&NProgress.done()})},t.fn.showMenuItems=function(){var e=0;return this.each(function(){t(this).delay(e).transition({translate:["0px","0px"],opacity:1},350),e+=80})};var i=t("body").hasClass("no-transitions"),o="#fullscreen-menu",r=t(".cover-image").data("image-zoom"),s=t(".cover-image").data("parallax-scrolling"),a=t(o).hasClass("full-height"),l=0,c=750,u=t("header").height();a||(l="-"+t(o).height()+"px",c=550),t(o).css("top",l),t(document).ready(function(){function d(){{var e=t(".menu-inner nav").height(),n=2*parseInt(t(".menu-inner nav").css("paddingTop")),i=t(".follow-links").height();t(".menu-inner nav").position().top+t(".menu-inner nav").outerHeight(!0)}e=e+n+i+u,e>=t(window).height()?(a||t(o).css("overflowY","scroll"),t(".menu-inner nav").addClass("align-top"),t(".follow-links").addClass("no-align")):(a||t(o).css("overflowY","auto"),t(".menu-inner nav").removeClass("align-top"),t(".follow-links").removeClass("no-align"))}function h(e){if("open"===e){if(t("header").appendTo(o).css("position","absolute"),a){var n=t(window).width();t("body").addClass("open-nav");var i=t(window).width(),r=100*n/i;t("#wrapper").css("width",r+"%")}t(".overlay").removeAttr("disabled"),t(".close-nav").removeAttr("disabled")}else t(o).css("z-index","-1"),a&&t(".menu-inner nav ul li").css({transform:"translate(0px,30px)",opacity:0}),t(".open-nav").removeAttr("disabled")}function f(t){return t.replace(/"/g,"").replace(/url\(|\)$/gi,"")}function p(e,n){var i=t(".cover-"+e);if("image"===t(i).data("bg-type")){t(i).find(".cover-video").hide();var o=f(t(i).find(".cover-image").css("background-image"));t.loadImages(o,function(){t(i).transition({opacity:1},1e3,"ease",function(){v(n)}),m(e)})}else if("video"===t(i).data("bg-type")){t(i).find(".cover-image").hide();var r,s;r=parseInt(t(i).find("video").attr("width")),s=parseInt(t(i).find("video").attr("height")),t(window).resize(function(){b(e,r,s,300)}),t(window).trigger("resize"),t(i).transition({opacity:1},1e3,"ease",function(){t(i).find(".video-fadein").transition({opacity:0},1500,"ease"),v(n)}),m(e)}else t(i).transition({opacity:1},1e3,"ease",function(){v(n)}),m(e)}function m(e){"image"===t(".cover-"+e+" .cover-headline").data("headline-format")?imagesLoaded(t(".cover-"+e+" .cover-headline"),function(){t(".cover-"+e+" .cover-headline").transition({opacity:1,delay:300},800,"ease")}):t(".cover-"+e+" .cover-headline").transition({opacity:1,delay:300},800,"ease")}function v(e){e===S&&S>1?NProgress.done():!i&&t(".fade-content").length>0?t(".fade-content").showdelay(t(".fade-content").length):NProgress.done()}function g(e){var n;n="absolute"===t("header").css("position")?0:t("header").height()-1,1!==t("#navbar-bg").data("navbar-opacity")&&(n=0);var i={match:function(){n=0}},o={match:function(){n=0}};enquire.register("(max-width: 767px)",i).register("(max-width: 567px)",o),t(t.browser.webkit?"body":"html").animate({scrollTop:t(".fullscreen-cover").height()-n},e,"easeInOutExpo")}function y(){var e=t("#project-panel-header").height();t("#project-panel-header").css(e>=t(window).height()?{overflowY:"scroll"}:{overflowY:"hidden"})}function b(e,n,i,o){var r=t(window).width()/n,s=t(window).height()/i,a=r>s?r:s;o>a*n&&(a=o/n),t(".cover-"+e+" .cover-video video").width(a*n),t(".cover-"+e+" .cover-video video").height(a*i),t(".cover-"+e+" .cover-video").scrollLeft((t(".cover-"+e+" .cover-video video").width()-t(window).width())/2),t(".cover-"+e+" .cover-video").scrollTop((t(".cover-"+e+" .cover-video video").height()-t(window).height())/2)}function w(e){if("zoom"!==r&&t("#cover-slider").length<=0&&"disabled"!==s){var n=t(window).scrollTop()/3;k.css({transform:"translate3d(0px, "+n+"px, 0px)"})}if(t("#navbar-bg").data("transparent-bar")===!0&&1!=t(o).css("opacity")){var i=t("#navbar-bg").data("navbar-opacity");t(this).scrollTop()>=t(".fullscreen-cover").height()-(t("#navbar-bg").height()+20)?t("#navbar-bg").removeClass("transparent").addClass("navbar").css("opacity",i):t("#navbar-bg").addClass("transparent").removeClass("navbar")}t(this).scrollTop()>400?t(".to-the-top").fadeIn(700):t(".to-the-top").fadeOut(700)}function x(e){d(),t("body").hasClass("dedicated-slider")&&y()}if(n()&&FastClick.attach(document.body),!i){var E="slide-down";t("body").hasClass("is-cover-slider")&&t("body").hasClass("start-at-content")?e(E,0):e(E,900)}var C=t("#navbar-bg").data("navbar-opacity");t(window).scrollTop()>=t(".fullscreen-cover").height()-(t("#navbar-bg").height()+20)&&t("#navbar-bg").removeClass("transparent").addClass("navbar").css("opacity",C);var F,C;t(document).on("click","div.controls a.open-nav",function(){t("div.controls a.open-nav").attr({"class":"close-nav",disabled:"disabled"}),t(".overlay").attr("disabled","disabled"),F=t("#navbar-bg").attr("class"),C=t("#navbar-bg").css("opacity"),"enabled"===t("#navbar-bg").data("dropdown-transparent")?t("#navbar-bg").attr("class","navbar").css("opacity",0):t("#navbar-bg").attr("class","navbar").css("opacity",1),0===t(".follow-links ul li").length&&t(".follow-links").hide(),t(".menu-icon").hide(),d(),a?(t(o).stop().css("z-index","101").transition({opacity:1},350,function(){h("open")}),setTimeout(function(){t(".menu-inner nav ul li").showMenuItems()},50)):(t(".overlay").css("position","fixed"),t(".overlay").css("display","block").transition({opacity:"0.6"},300,"ease").addClass("close-menu"),t(o).stop().css("z-index","101").transition({top:0,opacity:1},c,"easeOutQuart",function(){h("open")}))}),t(document).on("click",".close-menu, div.controls a.close-nav",function(){if("disabled"!==t(this).attr("disabled")){t("div.controls a.close-nav").attr(t(".nav-wrapper .standard, .fluid-menu .standard").length>0?{"class":"open-nav menu-responsive",disabled:"disabled"}:{"class":"open-nav",disabled:"disabled"});t("#navbar-bg").attr("class",F).css("opacity",C),t(".menu-icon").show(),t("header").insertBefore(o),t("header").hasClass("non-sticky-nav")||n()===!0||t("header").css("position","fixed"),a?(t("body").removeClass("open-nav"),t("#wrapper").css("width","100%"),t(o).stop().transition({opacity:0},350,function(){h("close")})):(t(".overlay").removeClass("close-menu"),t(".overlay").transition({opacity:"0"},300,"ease",function(){t(".overlay").css({display:"none",position:"absolute"})}),t(o).stop().transition({top:l,opacity:0},c,"ease",function(){h("close")}))}}),t(".content-container, .mc-content-container, .mc-sub-content-container, .spacer, .menu-inner nav, .menu-inner nav ul li a").each(function(){function e(e){t(i).css("padding-top",o/e),t(i).css("padding-right",r/e),t(i).css("padding-bottom",s/e),t(i).css("padding-left",a/e),t(i).css("margin-top",l/e),t(i).css("margin-bottom",c/e),t("#content-holder > div").each(function(){var e="";if(t(this).find(".masonry-full-inner"))var e=" .masonry-full-inner";if("multi-column"===t(this).attr("class")){var n=t("#masonry-"+t(this).attr("id")+e);n.masonry("layout")}})}var n,i=t(this),o=t(this).css("padding-top").replace("px",""),r=t(this).css("padding-right").replace("px",""),s=t(this).css("padding-bottom").replace("px",""),a=t(this).css("padding-left").replace("px",""),l=t(this).css("margin-top").replace("px",""),c=t(this).css("margin-bottom").replace("px",""),u={match:function(){n=1.2,e(n)},unmatch:function(){e(1)}},d={match:function(){n=1.4,e(n)}},h={match:function(){n=1.6,e(n)}},f={match:function(){n=1.8,e(n)}};enquire.register("(min-width: 980px) and (max-width: 1199px)",u).register("(min-width: 768px) and (max-width: 979px)",d).register("(max-width: 767px)",h).register("(max-width: 567px)",f)});n()===!0&&(t(".cover-image, .cover-video-responsive").css("backgroundSize","cover"),t(".cover-image, .cover-video-responsive").css("background-attachment","scroll"),t(".controls a, .project-panel-button").addClass("ios-no-hover")),t("body").hasClass("is-blog")&&(t("iframe").wrap('
        '),t(".wp-video, .wp-audio").css("width","100%"),t(".featured-video video, .featured audio").mediaelementplayer());var S=t(".fullscreen-cover").length,k=t(".cover-image");k&&t(window).scrollTop()>0&&w(),S?(i||NProgress.start(),S>1?t(".fullscreen-cover").each(function(e){e++,p(t(this).data("cover-id"),e)}):p(t(".fullscreen-cover").data("cover-id"),1)):v(),t("body").hasClass("vertical-arrows")?(t(document).on("click",".fp-vert-nav .next",function(){t.fn.fullpage.moveSectionDown()}),t(document).on("click",".fp-vert-nav .prev",function(){t.fn.fullpage.moveSectionUp()})):t("body").hasClass("horizontal-arrows")&&(t(document).on("click",".fp-hor-nav .next",function(){t.fn.fullpage.moveSlideRight()}),t(document).on("click",".fp-hor-nav .prev",function(){t.fn.fullpage.moveSlideLeft()})),t("body").hasClass("is-cover-slider")&&g(0),t(".see-more").click(function(){g(1100)});var T=600;n()&&(T=0),t(document).on("click",".project-panel-button",function(){var e=0;e=0===t(window).scrollTop()?0:t(window).scrollTop()>0&&t(window).scrollTop()<300?300:700,t(t.browser.webkit?"body":"html").animate({scrollTop:0},e,"easeInOutExpo",function(){t(".overlay").css("display","block").transition({opacity:"0.6"},400,"ease").addClass("close-panel").css("position","fixed"),t("header").appendTo("#wrapper").css("position","absolute"),t("#project-panel-header").slideDown(T,"easeInOutExpo",function(){t("body").hasClass("dedicated-slider")&&y(); }),t("body").addClass("project-panel-active")})}),t(document).on("click",".close-project-panel, .close-panel",function(){t(".overlay").transition({opacity:"0"},400,"ease",function(){t(".overlay").css("display","none").removeClass("close-panel")}),t("#project-panel-header").slideUp(T,"easeInOutExpo",function(){t("header").insertAfter("#project-panel-header"),t("header").hasClass("non-sticky-nav")||n()===!0||t("header").css("position","fixed"),t(".overlay").css("position","absolute"),t("body").removeClass("project-panel-active")})}),t(".search-button").click(function(){t(t.browser.webkit?"body":"html").animate({scrollTop:0},400,"easeInOutExpo"),t(".blog-search").slideDown(700,"easeInOutExpo"),t(".search-field").focus()}),t(".search-close").click(function(){t(".blog-search").slideUp(700,"easeOutExpo")}),t(".archives-button").click(function(){t(t.browser.webkit?"body":"html").animate({scrollTop:0},400,"easeInOutExpo"),t("#category-archives").slideDown(700,"easeInOutExpo")}),t(".archives-close").click(function(){t("#category-archives").slideUp(700,"easeOutExpo")}),t(".top-button").click(function(){t(t.browser.webkit?"body":"html").animate({scrollTop:0},900,"easeInOutExpo")}),t(window).scroll(w),t(window).resize(x),i||t(".logo a, .title h1 a, .title a, .thumb a, li.menu-item a, li.page_item a, h2 a, a.more-link, .meta a, .project-panel-link, .fullscreen-cover a, .fwt-link, .secondary a, .featured a, #fullscreen-menu a, a.ce-image-link, a.cover-slider-link, a.cover-link, .view-project a").click(function(i){if("_blank"!==t(this).attr("target")&&n()!==!0&&!i.ctrlKey&&2!==i.which&&t(this).parent().hasClass("no-transition")!==!0){var r;t(this).data("project-panel")===!0?(t("#project-panel-header").slideUp(800,"easeInOutExpo",function(){t("header").css("position","fixed"),t(".overlay").css("position","absolute"),t("body").removeClass("project-panel-active"),t(".overlay").fadeOut("slow")}),r=800):r=0;var s=t(this).attr("href"),a="slide-up";return e(a,900),t(o).is(":visible")?t(o).fadeOut(500,function(){t(".overlay").transition({opacity:0},500,"ease"),t("#content").transition({opacity:0},500,"ease",function(){window.location=s})}):t("#content").transition({opacity:0,delay:r},700,"ease",function(){window.location=s}),!1}}),window.onunload=function(){}})}(jQuery); } /* FILE ARCHIVED ON 23:48:53 Feb 01, 2019 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 20:44:30 Apr 28, 2026. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): capture_cache.get: 0.721 load_resource: 901.028 (2) PetaboxLoader3.resolve: 756.689 (2) PetaboxLoader3.datanode: 46.954 (2) */