1!function(t){"use strict";t(document).ready(function(){t('<div class="select-arrow"></div>').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()&&'<div id="content-holder"></div>'!=t(".semplice-content").val()&&t("#post-preview").attr("href","").css({pointerEvents:"none",opacity:".4"}).after('<div class="why-deactivated"><a href="http://help.semplicelabs.com/customer/en/portal/articles/2346038-why-is-the-preview-changes-button-disabled-" target="_blank">Why deactivated?</div></div>'),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('<iframe src="https://player.vimeo.com/video/'+n+'" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'),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(){if(!1!==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?")){t(".import-portfolio").fadeOut("fast",function(){t(".import-state").fadeIn("fast")});var e={action:"semplice_import"};t.post(ajaxurl,e,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('<div class="import-response">'+e+"</div>")})}}),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.enquire=n(i)}):e.enquire=n(i)}(0,this,function(t){"use strict";function e(t,e){var n=0,i=t.length;for(n;n<i&&!1!==e(t[n],n);n++);}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)}
1function 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){if(e.equals(t))return e.destroy(),!n.splice(i,1)})},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){var o;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 r=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],s=this,a=0,l=r.length;a<l;a++)s[r[a]]=function(t,e){return function(){return t.apply(e,arguments)}}(s[r[a]],s);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&&(o=e.onclick,e.addEventListener("click",function(t){o(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"}
vendor: 4,336 bytes, line 1
1,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.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.lastClickTime<this.tapDelay&&t.preventDefault(),!0},t.prototype.touchHasMoved=function(t){var e=t.changedTouches[0],n=this.touchBoundary;return Math.abs(e.pageX-this.touchStartX)>n||Math.abs(e.pageY-this.touchStartY)>n},t.prototype.onTouchMove=function(t){return!this.trackingClick||((this.targetElement!==this.getTargetElementFromEventTarget(t.target)||this.touchHasMoved(t))&&(this.trackingClick=!1,this.targetElement=null),!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.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(t.timeStamp-this.trackingClickStart>this.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),"label"===(a=u.tagName.toLowerCase())){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.fastClickLastScrollTop===l.scrollTop)||(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||(!t.cancelable||(!(!this.needsClick(this.targetElement)||this.cancelNextClick)||(t.stopImmediatePropagation?t.stopImmediatePropagation():t.propagationStopped=!0,t.stopPropagation(),t.preventDefault(),!1))))},t.prototype.onClick=function(t){var e;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===t.target.type&&0===t.detail||(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;if(void 0===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;
1if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===t.style.msTouchAction||"manipulation"===t.style.touchAction||(!!(+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]>=27&&(e=document.querySelector("meta[name=viewport]"))&&(-1!==e.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))||("none"===t.style.touchAction||"manipulation"===t.style.touchAction))},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-notransition",c="fp-destroyed",u="fp-enabled",d="fp-viewing",h="active",f="."+h,p="fp-completely",m="."+p,v="fp-section",g="."+v,y=g+f,b=g+":first",w=g+":last",x="fp-tableCell",E="."+x,C="fp-auto-height",F="fp-normal-scroll",S="fp-nav",k="#"+S,T="fp-tooltip",L="."+T,z="fp-show-active",I="fp-slide",O="."+I,A=O+f,_="fp-slides",M="."+_,q="fp-slidesContainer",D="."+q,R="fp-table",j="fp-slidesNav",P="."+j,B=P+" a",W=".fp-controlArrow",H="fp-prev",N="."+H,Q="fp-controlArrow "+H,Y=W+N,U="fp-controlArrow fp-next",X=W+".fp-next",V=t(e),$=t(n);t.fn.fullpage=function(N){function K(){N.anchors.length||(N.anchors=t(N.sectionSelector+"[data-anchor]").map(function(){return t(this).data("anchor").toString()}).get()),N.navigationTooltips.length||(N.navigationTooltips=t(N.sectionSelector+"[data-tooltip]").map(function(){return t(this).data("tooltip").toString()}).get())}function G(){je.css({height:"100%",position:"relative"}),je.addClass(s),t("html").addClass(u),Pe=V.height(),je.removeClass(c),et(),t(g).each(function(e){var n=t(this),i=n.find(O),o=i.length;J(n,e),tt(n,e),o>0?Z(n,i,o):N.verticalCentered&&te(n)}),N.fixedElements&&N.css3&&t(N.fixedElements).appendTo(Ie),N.navigation&&it(),N.scrollOverflow?("complete"===n.readyState&&ot(),V.on("load",ot)):rt()}function Z(e,n,i){var o=100*i,r=100/i;n.wrapAll('<div class="'+q+'" />'),n.parent().wrap('<div class="'+_+'" />'),e.find(D).css("width",o+"%"),i>1&&(N.controlArrows&&nt(e),N.slidesNavigation&&ae(e,i)),n.each(function(e){t(this).css("width",r+"%"),N.verticalCentered&&te(t(this))});var s=e.find(A);s.length&&(0!==t(y).index(g)||0===t(y).index(g)&&0!==s.index())?xe(s):n.eq(0).addClass(h)}function J(e,n){n||0!==t(y).length||e.addClass(h),e.css("height",Pe+"px"),N.paddingTop&&e.css("padding-top",N.paddingTop),N.paddingBottom&&e.css("padding-bottom",N.paddingBottom),void 0!==N.sectionsColor[n]&&e.css("background-color",N.sectionsColor[n]),void 0!==N.anchors[n]&&e.attr("data-anchor",N.anchors[n])}function tt(e,n){void 0!==N.anchors[n]&&e.hasClass(h)&&Kt(N.anchors[n],n),N.menu&&N.css3&&t(N.menu).closest(a).length&&t(N.menu).appendTo(Ie)}function et(){t(N.sectionSelector).each(function(){t(this).addClass(v)}),t(N.slideSelector).each(function(){t(this).addClass(I)})}function nt(t){t.find(M).after('<div class="'+Q+'"></div><div class="'+U+'"></div>'),"#fff"!=N.controlArrowColor&&(t.find(X).css("border-color","transparent transparent transparent "+N.controlArrowColor),t.find(Y).css("border-color","transparent "+N.controlArrowColor+" transparent transparent")),N.loopHorizontal||t.find(Y).hide()}function it(){Ie.append('<div id="'+S+'"><ul></ul></div>');var e=t(k);e.addClass(function(){return N.showActiveTooltip?z+" "+N.navigationPosition:N.navigationPosition});for(var n=0;n<t(g).length;n++){var i="";N.anchors.length&&(i=N.anchors[n]);var o='<li><a href="#'+i+'"><span></span></a>',r=N.navigationTooltips[n];void 0!==r&&""!==r&&(o+='<div class="'+T+" "+N.navigationPosition+'">'+r+"</div>"),o+="</li>",e.find("ul").append(o)}t(k).css("margin-top","-"+t(k).height()/2+"px"),t(k).find("li").eq(t(y).index(g)).find("a").addClass(h)}function ot(){t(g).each(function(){var e=t(this).find(O);e.length?e.each(function(){Jt(t(this))}):Jt(t(this))}),rt()}function rt(){var e=t(y);
1e.addClass(p),N.scrollOverflowHandler.afterRender&&N.scrollOverflowHandler.afterRender(e),St(e),kt(e),t.isFunction(N.afterLoad)&&N.afterLoad.call(e,e.data("anchor"),e.index(g)+1),t.isFunction(N.afterRender)&&N.afterRender.call(je)}function st(){var e;if(!N.autoScrolling||N.scrollBar){for(var i=V.scrollTop(),o=lt(i),r=0,s=i+V.height()/2,a=n.querySelectorAll(g),l=0;l<a.length;++l){a[l].offsetTop<=s&&(r=l)}if(at(o)&&(t(y).hasClass(p)||t(y).addClass(p).siblings().removeClass(p)),e=t(a).eq(r),!e.hasClass(h)){Ze=!0;var c=t(y),u=c.index(g)+1,d=Gt(e),f=e.data("anchor"),m=e.index(g)+1,v=e.find(A);if(v.length)var b=v.data("anchor"),w=v.index();He&&(e.addClass(h).siblings().removeClass(h),t.isFunction(N.onLeave)&&N.onLeave.call(c,u,m,d),t.isFunction(N.afterLoad)&&N.afterLoad.call(e,f,m),St(e),Kt(f,m-1),N.anchors.length&&(Ae=f,le(w,b,f,m))),clearTimeout(Ve),Ve=setTimeout(function(){Ze=!1},100)}N.fitToSection&&(clearTimeout($e),$e=setTimeout(function(){He&&N.fitToSection&&(t(y).is(e)&&requestAnimFrame(function(){Be=!0}),bt(t(y)),requestAnimFrame(function(){Be=!1}))},N.fitToSectionDelay))}}function at(e){var n=t(y).position().top,i=n+V.height();return"up"==e?i>=V.scrollTop()+V.height():n<=V.scrollTop()}function lt(t){var e=t>Je?"down":"up";return Je=t,e}function ct(t,e){if(Qe.m[t]){var n,i;if("down"==t?(n="bottom",i=Oe.moveSectionDown):(n="top",i=Oe.moveSectionUp),e.length>0){if(!N.scrollOverflowHandler.isScrolled(n,e))return!0;i()}else i()}}function ut(e){var n=e.originalEvent;if(!dt(e.target)&&ht(n)){N.autoScrolling&&e.preventDefault();var o=t(y),r=N.scrollOverflowHandler.scrollable(o);if(He&&!qe){var s=we(n);nn=s.y,on=s.x,o.find(M).length&&i.abs(en-on)>i.abs(tn-nn)?i.abs(en-on)>V.outerWidth()/100*N.touchSensitivity&&(en>on?Qe.m.right&&Oe.moveSlideRight():Qe.m.left&&Oe.moveSlideLeft()):N.autoScrolling&&i.abs(tn-nn)>V.height()/100*N.touchSensitivity&&(tn>nn?ct("down",r):nn>tn&&ct("up",r))}}}function dt(e,n){n=n||0;var i=t(e).parent();return!!(n<N.normalScrollElementTouchThreshold&&i.is(N.normalScrollElements))||n!=N.normalScrollElementTouchThreshold&&dt(i,++n)}function ht(t){return void 0===t.pointerType||"mouse"!=t.pointerType}function ft(t){var e=t.originalEvent;if(N.fitToSection&&ze.stop(),ht(e)){var n=we(e);tn=n.y,en=n.x}}function pt(t,e){for(var n=0,o=t.slice(i.max(t.length-e,1)),r=0;r<o.length;r++)n+=o[r];return i.ceil(n/e)}function mt(n){var o=(new Date).getTime(),r=t(m).hasClass(F);if(N.autoScrolling&&!Me&&!r){n=n||e.event;var s=n.wheelDelta||-n.deltaY||-n.detail,a=i.max(-1,i.min(1,s)),l=void 0!==n.wheelDeltaX||void 0!==n.deltaX,c=i.abs(n.wheelDeltaX)<i.abs(n.wheelDelta)||i.abs(n.deltaX)<i.abs(n.deltaY)||!l;Ne.length>149&&Ne.shift(),Ne.push(i.abs(s)),N.scrollBar&&(n.preventDefault?n.preventDefault():n.returnValue=!1);var u=t(y),d=N.scrollOverflowHandler.scrollable(u),h=o-rn;if(rn=o,h>200&&(Ne=[]),He){pt(Ne,10)>=pt(Ne,70)&&c&&(a<0?ct("down",d):ct("up",d))}return!1}N.fitToSection&&ze.stop()}function vt(e,n){var i=void 0===n?t(y):n,o=i.find(M),r=o.find(O).length;if(!(!o.length||qe||r<2)){var s=o.find(A),a=null;if(a="prev"===e?s.prev(O):s.next(O),!a.length){if(!N.loopHorizontal)return;a="prev"===e?s.siblings(":last"):s.siblings(":first")}qe=!0,Ht(o,a)}}function gt(){t(A).each(function(){xe(t(this),"internal")})}function yt(t,e){var n=t.top,i=t.top>sn,o=n-Pe+e.outerHeight();return e.outerHeight()>Pe?i||(n=o):i&&(n=o),sn=n,n}function bt(e,n,i){requestAnimFrame(function(){var o=e.position();if(void 0!==o){var r=yt(o,e),s={element:e,callback:n,isMovementUp:i,dest:o,dtop:r,yMovement:Gt(e),anchorLink:e.data("anchor"),sectionIndex:e.index(g),activeSlide:e.find(A),activeSection:t(y),leavingSection:t(y).index(g)+1,localIsResizing:Be};if(!(s.activeSection.is(e)&&!Be||N.scrollBar&&V.scrollTop()===s.dtop&&!e.hasClass(C))){if(s.activeSlide.length)var a=s.activeSlide.data("anchor"),l=s.activeSlide.index();N.autoScrolling&&N.continuousVertical&&void 0!==s.isMovementUp&&(!s.isMovementUp&&"up"==s.yMovement||s.isMovementUp&&"down"==s.yMovement)&&(s=Et(s)),t.isFunction(N.onLeave)&&!s.localIsResizing&&!1===N.onLeave.call(s.activeSection,s.leavingSection,s.sectionIndex+1,s.yMovement)||(Tt(s.activeSection),e.addClass(h).siblings().removeClass(h),St(e),He=!1,le(l,a,s.anchorLink,s.sectionIndex),wt(s),Ae=s.anch
1orLink,Kt(s.anchorLink,s.sectionIndex))}}})}function wt(e){if(N.css3&&N.autoScrolling&&!N.scrollBar){ne("translate3d(0px, -"+e.dtop+"px, 0px)",!0),N.scrollingSpeed?Ue=setTimeout(function(){Ft(e)},N.scrollingSpeed):Ft(e)}else{var n=xt(e);t(n.element).animate(n.options,N.scrollingSpeed,N.easing).promise().done(function(){N.scrollBar?setTimeout(function(){Ft(e)},30):Ft(e)})}}function xt(t){var e={};return N.autoScrolling&&!N.scrollBar?(e.options={top:-t.dtop},e.element=a):(e.options={scrollTop:t.dtop},e.element="html, body"),e}function Et(e){return e.isMovementUp?t(y).before(e.activeSection.nextAll(g)):t(y).after(e.activeSection.prevAll(g).get().reverse()),Ee(t(y).position().top),gt(),e.wrapAroundElements=e.activeSection,e.dest=e.element.position(),e.dtop=e.dest.top,e.yMovement=Gt(e.element),e}function Ct(e){e.wrapAroundElements&&e.wrapAroundElements.length&&(e.isMovementUp?t(b).before(e.wrapAroundElements):t(w).after(e.wrapAroundElements),Ee(t(y).position().top),gt())}function Ft(e){Ct(e),e.element.find(".fp-scrollable").mouseover(),t.isFunction(N.afterLoad)&&!e.localIsResizing&&N.afterLoad.call(e.element,e.anchorLink,e.sectionIndex+1),kt(e.element),e.element.addClass(p).siblings().removeClass(p),He=!0,t.isFunction(e.callback)&&e.callback.call(this)}function St(e){var e=Lt(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 kt(e){var e=Lt(e);e.find("video, audio").each(function(){var e=t(this).get(0);e.hasAttribute("autoplay")&&"function"==typeof e.play&&e.play()})}function Tt(e){var e=Lt(e);e.find("video, audio").each(function(){var e=t(this).get(0);e.hasAttribute("data-ignore")||"function"!=typeof e.pause||e.pause()})}function Lt(e){var n=e.find(A);return n.length&&(e=t(n)),e}function zt(){var t=e.location.hash.replace("#","").split("/"),n=t[0],i=t[1];n&&(N.animateAnchor?re(n,i):Oe.silentMoveTo(n,i))}function It(){if(!Ze&&!N.lockAnchors){var t=e.location.hash.replace("#","").split("/"),n=t[0],i=t[1],o=void 0===Ae,r=void 0===Ae&&void 0===i&&!qe;n.length&&(n&&n!==Ae&&!o||r||!qe&&_e!=i)&&re(n,i)}}function Ot(e){clearTimeout(Ke);var n=t(":focus");if(!n.is("textarea")&&!n.is("input")&&!n.is("select")&&N.keyboardScrolling&&N.autoScrolling){var i=e.which,o=[40,38,32,33,34];t.inArray(i,o)>-1&&e.preventDefault(),Me=e.ctrlKey,Ke=setTimeout(function(){Bt(e)},150)}}function At(){t(this).prev().trigger("click")}function _t(t){We&&(Me=t.ctrlKey)}function Mt(t){2==t.which&&(an=t.pageY,je.on("mousemove",Wt))}function qt(t){2==t.which&&je.off("mousemove")}function Dt(){var e=t(this).closest(g);t(this).hasClass(H)?Qe.m.left&&Oe.moveSlideLeft(e):Qe.m.right&&Oe.moveSlideRight(e)}function Rt(){We=!1,Me=!1}function jt(e){e.preventDefault();var n=t(this).parent().index();bt(t(g).eq(n))}function Pt(e){e.preventDefault();var n=t(this).closest(g).find(M);Ht(n,n.find(O).eq(t(this).closest("li").index()))}function Bt(e){var n=e.shiftKey;switch(e.which){case 38:case 33:Qe.k.up&&Oe.moveSectionUp();break;case 32:if(n&&Qe.k.up){Oe.moveSectionUp();break}case 40:case 34:Qe.k.down&&Oe.moveSectionDown();break;case 36:Qe.k.up&&Oe.moveTo(1);break;case 35:Qe.k.down&&Oe.moveTo(t(g).length);break;case 37:Qe.k.left&&Oe.moveSlideLeft();break;case 39:Qe.k.right&&Oe.moveSlideRight();break;default:return}}function Wt(t){He&&(t.pageY<an&&Qe.m.up?Oe.moveSectionUp():t.pageY>an&&Qe.m.down&&Oe.moveSectionDown()),an=t.pageY}function Ht(e,n){var o=n.position(),r=n.index(),s=e.closest(g),a=s.index(g),l=s.data("anchor"),c=s.find(P),u=ue(n),d=s.find(A),p=Be;if(N.onSlideLeave){var m=d.index(),v=Zt(m,r);if(!p&&"none"!==v&&t.isFunction(N.onSlideLeave)&&!1===N.onSlideLeave.call(d,l,a+1,m,v,r))return void(qe=!1)}Tt(d),n.addClass(h).siblings().removeClass(h),p||St(n),!N.loopHorizontal&&N.controlArrows&&(s.find(Y).toggle(0!==r),s.find(X).toggle(!n.is(":last-child"))),s.hasClass(h)&&le(r,u,l,a);var y=function(){p||t.isFunction(N.afterSlideLoad)&&N.afterSlideLoad.call(n,l,a+1,u,r),kt(n),qe=!1};if(N.css3){var b="translate3d(-"+i.round(o.left)+"px, 0px, 0px)";Yt(e.find(D),N.scrollingSpeed>0).css(Ce(b)),Xe=setTimeout(function(){y()},N.scrollingSpeed,N.easing)}else e.animate({scrollLeft:i.round(o.left)},N.scrollingSpeed,N.easing,function(){y()});c.find(f).removeClass(h),c.find("li").eq(r).find("a").addClass(h)}function Nt(){if(Qt(),De){var e=t(n.activeElement);if(!e.is("textarea")&&!e.is("input")&&!e.is("select")){var o=V.height();i.abs(o-ln)>20*i.max(ln,o)/100&&(Oe.reBuild(!0),ln=o)}}else clearTimeout(Ye),Ye=setTimeout(function(){Oe.reBuild(!0)},350)}function Qt(){var t=N.responsive||N.responsiveWidth,e=N.responsiveHeight,n=t&&V.outerWidth()<t,i=e&&V.height()<e;
1t&&e?Oe.setResponsive(n||i):t?Oe.setResponsive(n):e&&Oe.setResponsive(i)}function Yt(t){var e="all "+N.scrollingSpeed+"ms "+N.easingcss3;return t.removeClass(l),t.css({"-webkit-transition":e,transition:e})}function Ut(t){return t.addClass(l)}function Xt(t,e){if(t<825||e<900){var n=100*t/825,o=100*e/900,r=i.min(n,o),s=r.toFixed(2);Ie.css("font-size",s+"%")}else Ie.css("font-size","100%")}function Vt(e,n){N.navigation&&(t(k).find(f).removeClass(h),e?t(k).find('a[href="#'+e+'"]').addClass(h):t(k).find("li").eq(n).find("a").addClass(h))}function $t(e){N.menu&&(t(N.menu).find(f).removeClass(h),t(N.menu).find('[data-menuanchor="'+e+'"]').addClass(h))}function Kt(t,e){$t(t),Vt(t,e)}function Gt(e){var n=t(y).index(g),i=e.index(g);return n==i?"none":n>i?"up":"down"}function Zt(t,e){return t==e?"none":t>e?"left":"right"}function Jt(t){t.css("overflow","hidden");var e,n=N.scrollOverflowHandler,i=n.wrapContent(),o=t.closest(g),r=n.scrollable(t);r.length?e=n.scrollHeight(t):(e=t.get(0).scrollHeight,N.verticalCentered&&(e=t.find(E).get(0).scrollHeight));var s=Pe-parseInt(o.css("padding-bottom"))-parseInt(o.css("padding-top"));e>s?r.length?n.update(t,s):(N.verticalCentered?t.find(E).wrapInner(i):t.wrapInner(i),n.create(t,s)):n.remove(t),t.css("overflow","")}function te(t){t.addClass(R).wrapInner('<div class="'+x+'" style="height:'+ee(t)+'px;" />')}function ee(t){var e=Pe;if(N.paddingTop||N.paddingBottom){var n=t;n.hasClass(v)||(n=t.closest(g));var i=parseInt(n.css("padding-top"))+parseInt(n.css("padding-bottom"));e=Pe-i}return e}function ne(t,e){e?Yt(je):Ut(je),je.css(Ce(t)),setTimeout(function(){je.removeClass(l)},10)}function ie(e){var n=je.find(g+'[data-anchor="'+e+'"]');return n.length||(n=t(g).eq(e-1)),n}function oe(t,e){var n=e.find(M),i=n.find(O+'[data-anchor="'+t+'"]');return i.length||(i=n.find(O).eq(t)),i}function re(t,e){var n=ie(t);void 0===e&&(e=0),t===Ae||n.hasClass(h)?se(n,e):bt(n,function(){se(n,e)})}function se(t,e){if(void 0!==e){var n=t.find(M),i=oe(e,t);i.length&&Ht(n,i)}}function ae(t,e){t.append('<div class="'+j+'"><ul></ul></div>');var n=t.find(P);n.addClass(N.slidesNavPosition);for(var i=0;i<e;i++)n.find("ul").append('<li><a href="#"><span></span></a></li>');n.css("margin-left","-"+n.width()/2+"px"),n.find("li").first().find("a").addClass(h)}function le(t,e,n,i){var o="";N.anchors.length&&!N.lockAnchors&&(t?(void 0!==n&&(o=n),void 0===e&&(e=t),_e=e,ce(o+"/"+e)):void 0!==t?(_e=e,ce(n)):ce(n)),de()}function ce(t){if(N.recordHistory)location.hash=t;else if(De||Re)e.history.replaceState(o,o,"#"+t);else{var n=e.location.href.split("#")[0];e.location.replace(n+"#"+t)}}function ue(t){var e=t.data("anchor"),n=t.index();return void 0===e&&(e=n),e}function de(){var e=t(y),n=e.find(A),i=ue(e),o=ue(n),r=(e.index(g),String(i));n.length&&(r=r+"-"+o),r=r.replace("/","-").replace("#","");var s=new RegExp("\\b\\s?"+d+"-[^\\s]+\\b","g");Ie[0].className=Ie[0].className.replace(s,""),Ie.addClass(d+"-"+r)}function he(){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 fe(){n.addEventListener?(n.removeEventListener("mousewheel",mt,!1),n.removeEventListener("wheel",mt,!1),n.removeEventListener("MozMousePixelScroll",mt,!1)):n.detachEvent("onmousewheel",mt)}function pe(){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",mt,!1):n[t](i+r,mt,!1)}function me(){je.on("mousedown",Mt).on("mouseup",qt)}function ve(){je.off("mousedown",Mt).off("mouseup",qt)}function ge(){if(De||Re){var e=be();t(a).off("touchstart "+e.down).on("touchstart "+e.down,ft),t(a).off("touchmove "+e.move).on("touchmove "+e.move,ut)}}function ye(){if(De||Re){var e=be();
1t(a).off("touchstart "+e.down),t(a).off("touchmove "+e.move)}}function be(){return e.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function we(t){var e=[];return e.y=void 0!==t.pageY&&(t.pageY||t.pageX)?t.pageY:t.touches[0].pageY,e.x=void 0!==t.pageX&&(t.pageY||t.pageX)?t.pageX:t.touches[0].pageX,Re&&ht(t)&&N.scrollBar&&(e.y=t.touches[0].pageY,e.x=t.touches[0].pageX),e}function xe(t,e){Oe.setScrollingSpeed(0,"internal"),void 0!==e&&(Be=!0),Ht(t.closest(M),t),void 0!==e&&(Be=!1),Oe.setScrollingSpeed(Ge.scrollingSpeed,"internal")}function Ee(t){if(N.scrollBar)je.scrollTop(t);else if(N.css3){var e="translate3d(0px, -"+t+"px, 0px)";ne(e,!1)}else je.css("top",-t)}function Ce(t){return{"-webkit-transform":t,"-moz-transform":t,"-ms-transform":t,transform:t}}function Fe(t,e,n){switch(e){case"up":Qe[n].up=t;break;case"down":Qe[n].down=t;break;case"left":Qe[n].left=t;break;case"right":Qe[n].right=t;break;case"all":"m"==n?Oe.setAllowScrolling(t):Oe.setKeyboardScrolling(t)}}function Se(){Ee(0),t(k+", "+P+", "+W).remove(),t(g).css({height:"","background-color":"",padding:""}),t(O).css({width:""}),je.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),ze.css({overflow:"",height:""}),t("html").removeClass(u),t.each(Ie.get(0).className.split(/\s+/),function(t,e){0===e.indexOf(d)&&Ie.removeClass(e)}),t(g+", "+O).each(function(){N.scrollOverflowHandler.remove(t(this)),t(this).removeClass(R+" "+h)}),Ut(je),je.find(E+", "+D+", "+M).each(function(){t(this).replaceWith(this.childNodes)}),ze.scrollTop(0);var e=[v,I,q];t.each(e,function(e,n){t("."+n).removeClass(n)})}function ke(t,e,n){N[t]=e,"internal"!==n&&(Ge[t]=e)}function Te(){if(t("html").hasClass(u))return void Le("error","Fullpage.js can only be initialized once and you are doing it multiple times!");N.continuousVertical&&(N.loopTop||N.loopBottom)&&(N.continuousVertical=!1,Le("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),N.scrollBar&&N.scrollOverflow&&Le("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),N.continuousVertical&&N.scrollBar&&(N.continuousVertical=!1,Le("warn","Option `scrollBar` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),t.each(N.anchors,function(e,n){var i=$.find("[name]").filter(function(){return t(this).attr("name")&&t(this).attr("name").toLowerCase()==n.toLowerCase()}),o=$.find("[id]").filter(function(){return this.id&&this.id.toLowerCase()==n.toLowerCase()});(o.length||i.length)&&(Le("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."), 2o.length&&Le("error",'"'+n+'" is is being used by another element `id` property'),i.length&&Le("error",'"'+n+'" is is being used by another element `name` property'))})}function Le(t,e){console&&console[t]&&console[t]("fullPage: "+e)}if(t("html").hasClass(u))return void Te();var ze=t("html, body"),Ie=t("body"),Oe=t.fn.fullpage;N=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:".section",slideSelector:".slide",afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null},N),Te(),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}}),Oe.setAutoScrolling=function(e,n){ke("autoScrolling",e,n);var i=t(y);N.autoScrolling&&!N.scrollBar?(ze.css({overflow:"hidden",height:"100%"}),Oe.setRecordHistory(Ge.recordHistory,"internal"),je.css({"-ms-touch-action":"none","touch-action":"none"}),i.length&&Ee(i.position().top)):(ze.css({overflow:"visible",height:"initial"}),Oe.setRecordHistory(!1,"internal"),je.css({"-ms-touch-action":"","touch-action":""}),Ee(0),i.length&&ze.scrollTop(i.position().top))},Oe.setRecordHistory=function(t,e){ke("recordHistory",t,e)},Oe.setScrollingSpeed=function(t,e){ke("scrollingSpeed",t,e)},Oe.setFitToSection=function(t,e){ke("fitToSection",t,e)},Oe.setLockAnchors=function(t){N.lockAnchors=t},Oe.setMouseWheelScrolling=function(t){t?(pe(),me()):(fe(),ve())},Oe.setAllowScrolling=function(e,n){void 0!==n?(n=n.replace(/ /g,"").split(","),t.each(n,function(t,n){Fe(e,n,"m")})):e?(Oe.setMouseWheelScrolling(!0),ge()):(Oe.setMouseWheelScrolling(!1),ye())},Oe.setKeyboardScrolling=function(e,n){void 0!==n?(n=n.replace(/ /g,"").split(","),t.each(n,function(t,n){Fe(e,n,"k")})):N.keyboardScrolling=e},Oe.moveSectionUp=function(){var e=t(y).prev(g);e.length||!N.loopTop&&!N.continuousVertical||(e=t(g).last()),e.length&&bt(e,null,!0)},Oe.moveSectionDown=function(){var e=t(y).next(g);e.length||!N.loopBottom&&!N.continuousVertical||(e=t(g).first()),e.length&&bt(e,null,!1)}
2,Oe.silentMoveTo=function(t,e){requestAnimFrame(function(){Oe.setScrollingSpeed(0,"internal")}),Oe.moveTo(t,e),requestAnimFrame(function(){Oe.setScrollingSpeed(Ge.scrollingSpeed,"internal")})},Oe.moveTo=function(t,e){var n=ie(t);void 0!==e?re(t,e):n.length>0&&bt(n)},Oe.moveSlideRight=function(t){vt("next",t)},Oe.moveSlideLeft=function(t){vt("prev",t)},Oe.reBuild=function(e){if(!je.hasClass(c)){Be=!0,requestAnimFrame(function(){Be=!0});var n=V.outerWidth();Pe=V.height(),N.resize&&Xt(Pe,n),t(g).each(function(){var e=t(this).find(M),n=t(this).find(O);N.verticalCentered&&t(this).find(E).css("height",ee(t(this))+"px"),t(this).css("height",Pe+"px"),N.scrollOverflow&&(n.length?n.each(function(){Jt(t(this))}):Jt(t(this))),n.length>1&&Ht(e,e.find(A))});var i=t(y),o=i.index(g);o&&Oe.silentMoveTo(o+1),Be=!1,requestAnimFrame(function(){Be=!1}),t.isFunction(N.afterResize)&&e&&N.afterResize.call(je),t.isFunction(N.afterReBuild)&&!e&&N.afterReBuild.call(je)}},Oe.setResponsive=function(e){var n=Ie.hasClass("fp-responsive");e?n||(Oe.setAutoScrolling(!1,"internal"),Oe.setFitToSection(!1,"internal"),t(k).hide(),Ie.addClass("fp-responsive")):n&&(Oe.setAutoScrolling(Ge.autoScrolling,"internal"),Oe.setFitToSection(Ge.autoScrolling,"internal"),t(k).show(),Ie.removeClass("fp-responsive"))};var Ae,_e,Me,qe=!1,De=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),Re="ontouchstart"in e||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,je=t(this),Pe=V.height(),Be=!1,We=!0,He=!0,Ne=[],Qe={};Qe.m={up:!0,down:!0,left:!0,right:!0},Qe.k=t.extend(!0,{},Qe.m);var Ye,Ue,Xe,Ve,$e,Ke,Ge=t.extend(!0,{},N);t(this).length&&(function(){N.css3&&(N.css3=he()),N.scrollBar=N.scrollBar||N.hybrid,K(),G(),Oe.setAllowScrolling(!0),Oe.setAutoScrolling(N.autoScrolling,"internal");var e=t(y).find(A);e.length&&(0!==t(y).index(g)||0===t(y).index(g)&&0!==e.index())&&xe(e),Qt(),de(),V.on("load",function(){zt()})}(),function(){V.on("scroll",st).on("hashchange",It).blur(Rt).resize(Nt),$.keydown(Ot).keyup(_t).on("click touchstart",k+" a",jt).on("click touchstart",B,Pt).on("click",L,At),t(g).on("click touchstart",W,Dt),N.normalScrollElements&&($.on("mouseenter",N.normalScrollElements,function(){Oe.setMouseWheelScrolling(!1)}),$.on("mouseleave",N.normalScrollElements,function(){Oe.setMouseWheelScrolling(!0)}))}());var Ze=!1,Je=0,tn=0,en=0,nn=0,on=0,rn=(new Date).getTime();e.requestAnimFrame=function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t){t()}}();var sn=0,an=0,ln=Pe;Oe.destroy=function(e){Oe.setAutoScrolling(!1,"internal"),Oe.setAllowScrolling(!1),Oe.setKeyboardScrolling(!1),je.addClass(c),clearTimeout(Xe),clearTimeout(Ue),clearTimeout(Ye),clearTimeout(Ve),clearTimeout($e),V.off("scroll",st).off("hashchange",It).off("resize",Nt),$.off("click",k+" a").off("mouseenter",k+" li").off("mouseleave",k+" li").off("click",B).off("mouseover",N.normalScrollElements).off("mouseout",N.normalScrollElements),t(g).off("click",W),clearTimeout(Xe),clearTimeout(Ue),e&&Se()}},r={afterRender:function(t){var e=t.find(_),n=t.find(".fp-scrollable");e.length&&(n=e.find(A)),n.mouseover()},create:function(t,e){t.find(".fp-scrollable").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(M).length?t.find(A).find(".fp-scrollable"):t.find(".fp-scrollable")},scrollHeight:function(t){return t.find(".fp-scrollable").get(0).scrollHeight},remove:function(t){t.find(".fp-scrollable").children().first().unwrap().unwrap(),t.find(".slimScrollBar").remove(),t.find(".slimScrollRail").remove()},update:function(t,e){t.find(".fp-scrollable").css("height",e+"px").parent().css("height",e+"px")},wrapContent:function(){return'<div class="fp-scrollable"></div>'}}}),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&&""},r=!1!==o(),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;
2if(!l||void 0===t||void 0===t.pointerType)return!1;if(void 0!==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=void 0!==e&&("left"==e?1:-1),d.length){if(!1!==e&&(o.length<2||!0===i.quitOnEnd&&(-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,!1!==i.onLoadStart&&i.onLoadStart(),setTimeout(function(){d=t("<img "+i.selector+" />").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,!1!==i.onLoadEnd&&i.onLoadEnd()}),i.preloadNext){var l=o.eq(o.index(u)+1);l.length||(l=o.eq(0)),t("<img />").attr("src",l.attr("href")).load()}}).error(function(){!1!==i.onLoadEnd&&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){if(!c(t.originalEvent)||i.quitOnImgClick)return!0;r&&(f=parseInt(d.css("left"))),n=t.originalEvent.pageX||t.originalEvent.touches[0].pageX}).on("touchmove pointermove MSPointerMove",function(t){if(!c(t.originalEvent)||i.quitOnImgClick)return!0;t.preventDefault(),a=t.originalEvent.pageX||t.originalEvent.touches[0].pageX,p=n-a,r?s(d,-p+"px",0):d.css("left",f-p+"px")}).on("touchend touchcancel pointerup pointercancel MSPointerUp MSPointerCancel",function(t){if(!c(t.originalEvent)||i.quitOnImgClick)return!0;Math.abs(p)>50?(u=o.eq(o.index(u)-(p<0?1:-1)),u.length||(u=o.eq(p<0?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(){if(!d.length)return!1;d.remove(),d=t()},w=function(){if(!d.length)return!1;d.animate({opacity:0}
2,i.animationSpeed,function(){b(),m=!1,!1!==i.onEnd&&i.onEnd()})};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){if(!d.length)return!0;t.preventDefault(),27==t.keyCode&&w(),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"))}),t(n).on("click",this.selector,function(e){return!v(this)||(e.preventDefault(),!m&&(m=!1,!1!==i.onStart&&i.onStart(),u=t(this),void y()))}),this.each(function(){if(!v(this))return!0;o=o.add(t(this))}),this.switchImageLightbox=function(t){var e=o.eq(t);if(e.length){var n=o.index(u);u=e,y(t<n?"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;e<t.length;e+=1)n.push(t[e].listener);return n},i.getListenersAsObject=function(t){var e,n=this.getListeners(t);return n instanceof Array&&(e={},e[t]=n),e||n},i.addListener=function(t,n){var i,o=this.getListenersAsObject(t),r="object"==typeof n;for(i in o)o.hasOwnProperty(i)&&-1===e(o[i],n)&&o[i].push(r?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(t){return this.getListeners(t),this},i.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},i.removeListener=function(t,n){var i,o,r=this.getListenersAsObject(t);
2for(o in r)r.hasOwnProperty(o)&&-1!==(i=e(r[o],n))&&r[o].splice(i,1);return this},i.off=n("removeListener"),i.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},i.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},i.manipulateListeners=function(t,e,n){var i,o,r=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(i=n.length;i--;)r.call(this,e,n[i]);else for(i in e)e.hasOwnProperty(i)&&(o=e[i])&&("function"==typeof o?r.call(this,i,o):s.call(this,i,o));return this},i.removeEvent=function(t){var e,n=typeof t,i=this._getEvents();if("string"===n)delete i[t];else if("object"===n)for(e in i)i.hasOwnProperty(e)&&t.test(e)&&delete i[e];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(t,e){var n,i,o,r=this.getListenersAsObject(t);for(o in r)if(r.hasOwnProperty(o))for(i=r[o].length;i--;)n=r[o][i],!0===n.once&&this.removeListener(t,n.listener),n.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},i.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},i._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},i._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return o.EventEmitter=r,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),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):t.eventie=r}(this),function(t,e){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return e(t,n,i)}):"object"==typeof exports?module.exports=e(t,require("wolfy87-eventemitter"),require("eventie")):t.imagesLoaded=e(t,t.EventEmitter,t.eventie)}(window,function(t,e,n){function i(t,e){for(var n in e)t[n]=e[n];return t}function o(t){return"[object Array]"===h.call(t)}function r(t){var e=[];if(o(t))e=t;else if("number"==typeof t.length)for(var n=0,i=t.length;n<i;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=void 0!==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;t<e;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;r<s;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;o<i;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){return new s(this,t,e).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");
2if(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*(1-Math.pow(2,-10*e/o))+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*(2-Math.pow(2,-10*--e))+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),a<Math.abs(i)){a=i;var r=s/4}else var r=s/(2*Math.PI)*Math.asin(i/a);return-a*Math.pow(2,10*(e-=1))*Math.sin((e*o-r)*(2*Math.PI)/s)+n},easeOutElastic: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),a<Math.abs(i)){a=i;var r=s/4}else var r=s/(2*Math.PI)*Math.asin(i/a);return a*Math.pow(2,-10*e)*Math.sin((e*o-r)*(2*Math.PI)/s)+i+n},easeInOutElastic:function(t,e,n,i,o){var r=1.70158,s=0,a=i;if(0==e)return n;if(2==(e/=o/2))return n+i;if(s||(s=o*(.3*1.5)),a<Math.abs(i)){a=i;var r=s/4}else var r=s/(2*Math.PI)*Math.asin(i/a);return e<1?a*Math.pow(2,10*(e-=1))*Math.sin((e*o-r)*(2*Math.PI)/s)*-.5+n:a*Math.pow(2,-10*(e-=1))*Math.sin((e*o-r)*(2*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*((1+(r*=1.525))*e-r))+n:i/2*((e-=2)*e*((1+(r*=1.525))*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?i*(7.5625*e*e)+n:e<2/2.75?i*(7.5625*(e-=1.5/2.75)*e+.75)+n:e<2.5/2.75?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 e<o/2?.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;s<o;s++){var a=document.createElement("img");a.onload=function(){++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 u.style)return t;for(var e=["Moz","Webkit","O","ms"],n=t.charAt(0).toUpperCase()+t.substr(1),i=0;i<e.length;++i){var o=e[i]+n;if(o in u.style)return o}}function n(t){return"string"==typeof t&&this.parse(t),this}function i(t,e,n){!0===e?t.queue(n):e?t.queue(e,n):t.each(function(){n.call(this)})}function o(e){var n=[];return t.each(e,function(e){e=t.camelCase(e),e=t.transit.propertyMap[e]||t.cssProps[e]||e,e=a(e),d[e]&&(e=a(d[e])),-1===t.inArray(e,n)&&n.push(e)}),n}function r(e,n,i,r){var s=o(e);t.cssEase[i]&&(i=t.cssEase[i]);var a=c(n)+" "+i;parseInt(r,10)>0&&(a+=" "+c(r));var l=[];
2return t.each(s,function(t,e){l.push(e+" "+a)}),l.join(", ")}function s(e,n){n||(t.cssNumber[e]=!0),t.transit.propertyMap[e]=d.transform,t.cssHooks[e]={get:function(n){return t(n).css("transit:transform").get(e)},set:function(n,i){var o=t(n).css("transit:transform");o.setFromString(e,i),t(n).css({"transit:transform":o})}}}function a(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function l(t,e){return"string"!=typeof t||t.match(/^[\-0-9\.]+$/)?""+t+e:t}function c(e){var n=e;return"string"!=typeof n||n.match(/^[\-0-9\.]+/)||(n=t.fx.speeds[n]||t.fx.speeds._default),l(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 u=document.createElement("div"),d={},h=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;d.transition=e("transition"),d.transitionDelay=e("transitionDelay"),d.transform=e("transform"),d.transformOrigin=e("transformOrigin"),d.filter=e("Filter"),d.transform3d=function(){return u.style[d.transform]="",u.style[d.transform]="rotateY(90deg)",""!==u.style[d.transform]}();var f={transition:"transitionend",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"},p=d.transitionEnd=f[d.transition]||null;for(var m in d)d.hasOwnProperty(m)&&void 0===t.support[m]&&(t.support[m]=d[m]);return u=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 n},set:function(e,i){var o=i;o instanceof n||(o=new n(o)),"WebkitTransform"!==d.transform||h?e.style[d.transform]=o.toString():e.style[d.transform]=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[d.filter]},set:function(t,e){t.style[d.filter]=e}},t.fn.jquery<"1.8"&&(t.cssHooks.transformOrigin={get:function(t){return t.style[d.transformOrigin]},set:function(t,e){t.style[d.transformOrigin]=e}},t.cssHooks.transition={get:function(t){return t.style[d.transition]},set:function(t,e){t.style[d.transition]=e}}),s("scale"),s("scaleX"),s("scaleY"),s("translate"),s("rotate"),s("rotateX"),s("rotateY"),s("rotate3d"),s("perspective"),s("skewX"),s("skewY"),s("x",!0),s("y",!0),n.prototype={setFromString:function(t,e){var i="string"==typeof e?e.split(","):e.constructor===Array?e:[e];i.unshift(t),n.prototype.set.apply(this,i)},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=l(t,"deg")},rotateX:function(t){this.rotateX=l(t,"deg")},rotateY:function(t){this.rotateY=l(t,"deg")},scale:function(t,e){void 0===e&&(e=t),this.scale=t+","+e},skewX:function(t){this.skewX=l(t,"deg")},skewY:function(t){this.skewY=l(t,"deg")},perspective:function(t){this.perspective=l(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=l(t,"px")),null!==e&&void 0!==e&&(this._translateY=l(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;e<=3;++e)t[e]&&(t[e]=parseFloat(t[e]));return t[3]&&(t[3]=l(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(!d.transform3d&&("rotateX"===n||"rotateY"===n||"perspective"===n||"transformOrigin"===n))continue;"_"!==n[0]&&(t&&"scale"===n?e.push(n+"3d("+this[n]+",1)"):t&&"translate"===n?e.push(n+"3d("+this[n]+",0)"):e.push(n+"("+this[n]+")"))}return e.join(" ")}},t.fn.transition=t.fn.transit=function(e,n,o,s){var a=this,l=0,u=!0,h=t.extend(!0,{},e);"function"==typeof n&&(s=n,n=void 0),"object"==typeof n&&(o=n.easing,l=n.delay||0,u=void 0===n.queue||n.queue,s=n.complete,n=n.duration),"function"==typeof o&&(s=o,o=void 0),void 0!==h.easing&&(o=h.easing,delete h.easing),void 0!==h.duration&&(n=h.duration,delete h.duration),void 0!==h.complete&&(s=h.complete,delete h.complete),void 0!==h.queue&&(u=h.queue,delete h.queue),void 0!==h.delay&&(l=h.delay,delete h.delay),void 0===n&&(n=t.fx.speeds._default),void 0===o&&(o=t.cssEase._default),n=c(n);var f=r(h,n,o,l),m=t.transit.enabled&&d.transition,v=m?parseInt(n,10)+parseInt(l,10):0;if(0===v){return i(a,u,function(t){a.css(h),s&&s.apply(a),t&&t()}),a}var g={},y=function(e){var n=!1,i=function(){n&&a.unbind(p,i),v>0&&a.each(function(){this.style[d.transition]=g[this]||null}),"function"==typeof s&&s.apply(a),"function"==typeof e&&e()};v>0&&p&&t.transit.useTransitionEnd?(n=!0,a.bind(p,i)):window.setTimeout(i,v),a.each(function(){v>0&&(this.style[d.transition]=f),t(this).css(h)})};return i(a,u,function(t){this.offsetWidth,y(t)}),this},t.transit.getTransitionValue=r,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||(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("<input type='hidden'/>").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)}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();
2return 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){ 3this.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=!1!==this.check(e);return n?delete this.invalid[e.name]:this.invalid[e.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers
3)),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(t){}},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()))&&(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("dependency-mismatch"===(n=t.validator.methods[s].call(this,r,e,a.parameters))){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(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+a.method+"' method.",t),t}}if(!o)return 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;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(e,n){return this.findDefined(this.customMessage(e.name,n),this.customDataMessage(e,n),!this.settings.ignoreTitle&&e.title||void 0,t.validator.messages[n],"<strong>Warning: No message defined for "+e.name+"</strong>")},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
3)),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)},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)void 0!==(i=r.data("rule-"+n.toLowerCase()))&&(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(!1===o)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: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)||o<=i},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)||t<=n},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;
3this.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=!0===i||"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);if(o.is(e))return i.apply(o,arguments)})}})}(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;a<l;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;e<t.length;e+=1)n.push(t[e].listener);return n},i.getListenersAsObject=function(t){var e,n=this.getListeners(t);return n instanceof Array&&(e={},e[t]=n),e||n},i.addListener=function(t,n){var i,o=this.getListenersAsObject(t),r="object"==typeof n;for(i in o)o.hasOwnProperty(i)&&-1===e(o[i],n)&&o[i].push(r?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(t){return this.getListeners(t),this},i.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},i.removeListener=function(t,n){var i,o,r=this.getListenersAsObject(t);
3for(o in r)r.hasOwnProperty(o)&&-1!==(i=e(r[o],n))&&r[o].splice(i,1);return this},i.off=n("removeListener"),i.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},i.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},i.manipulateListeners=function(t,e,n){var i,o,r=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(i=n.length;i--;)r.call(this,e,n[i]);else for(i in e)e.hasOwnProperty(i)&&(o=e[i])&&("function"==typeof o?r.call(this,i,o):s.call(this,i,o));return this},i.removeEvent=function(t){var e,n=typeof t,i=this._getEvents();if("string"===n)delete i[t];else if(t instanceof RegExp)for(e in i)i.hasOwnProperty(e)&&t.test(e)&&delete i[e];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(t,e){var n,i,o,r=this.getListenersAsObject(t);for(o in r)if(r.hasOwnProperty(o))for(i=r[o].length;i--;)n=r[o][i],!0===n.once&&this.removeListener(t,n.listener),n.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},i.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},i._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},i._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return o.EventEmitter=r,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:o.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof i[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,o=0,r=n.length;o<r;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);return-1===t.indexOf("%")&&!isNaN(e)&&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;e<n;e++){t[a[e]]=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;h<f;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);!1!==F&&(r.width=F+(C?0:g+x));var S=n(e.height);return!1!==S&&(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;t<n;t++){(0,s[t])()}}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){document.createDocumentFragment().appendChild(t)}}function i(t,e){n(t);for(var i=t.parentNode.querySelectorAll(e),o=0,r=i.length;o<r;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;n<i;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=[];
3if(i.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var n=0,o=t.length;n<o;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;n<i;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;r<s;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;c<u;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;l<c;l++){var u,d=s[l],h=d.getAttribute(a);try{u=h&&JSON.parse(h)}catch(t){r&&r.error("Error parsing "+a+" on "+d.nodeName.toLowerCase()+(d.id?"#"+d.id:"")+": "+t);continue}var f=new n(d,u),p=t.jQuery;p&&p.data(d,o,f)}})},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 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;e<n;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){e[m[n]||n]=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, 4s.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);this.element.offsetHeight;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){e.onEnd[n].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={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=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={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=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.f
4izzyUIUtils,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;o<r;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;e<n;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;n<i;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;i<o;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;e<n;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===r&&n()}var o=this,r=e.length;if(!e||!r)return void n();for(var s=0,a=0,l=e.length;a<l;a++){e[a].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;e<n;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;e<n;e++){var i=t[e];o.removeFrom(this.stamps,i),this.unignore(i)}},s.prototype._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},s.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect
4();for(var t=0,e=this.stamps.length;t<e;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);return{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}},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);return this.size&&t&&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&&n<e;n++){t[n].reveal()}},s.prototype.hide=function(t){this._emitCompleteOnItems("hide",t);for(var e=t&&t.length,n=0;e&&n<e;n++){t[n].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;e<n;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;n<i;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;n<i;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;e<n;e++){this.items[e].destroy()}this.unbindResize();var i=this.element.outlayerGUID;delete d[i],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&&s<1?"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&&e<1?"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;d<u;d++)this.colYs[a+d]=c;return l},i.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],n=this.cols+1-t,i=0;i<n;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;c<=a;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 t<e?e:t>
4n?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:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};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("<div id='nprogress'>").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("<ul class='"+y+"_tabs "+b+"_tabs' />"),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;i<r.length;i++)if("string"==typeof e[r[i]+n])return!0;return!1}(),L=function(e){o.before(e),T?(f.removeClass(E).css(k).eq(e).addClass(E).css(S),h=e,setTimeout(function(){o.after(e)},m)):f.stop().fadeOut(m,function(){t(this).removeClass(E).css(k).css("opacity",1)}).eq(e).fadeIn(m,function(){t(this).addClass(E).css(S),o.after(e),h=e})};if(o.random&&(f.sort(function(){return Math.round(Math.random())-.5}),d.empty().append(f)),f.each(function(t){this.id=C+t}),d.addClass(y+" "+b),i&&i.maxwidth&&d.css("max-width",g),f.hide().css(k).eq(0).addClass(E).css(S).show(),T&&f.show().css({"-webkit-transition":"opacity "+m+"ms ease-in-out","-moz-transition":"opacity "+m+"ms ease-in-out","-o-transition":"opacity "+m+"ms ease-in-out",transition:"opacity "+m+"ms ease-in-out"}),f.size()>1){if(v<m+100)return;if(o.pager&&!o.manualControls){var z=[];f.each(function(t){var e=t+1;z+="<li><a href='#' class='"+C+e+"'>"+e+"</a></li>"}),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))}
4),(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=h+1<p?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="<a href='#' class='"+w+" prev'>"+semplice.gallery_prev+"</a><a href='#' class='"+w+" next'>"+semplice.gallery_next+"</a>";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=i+1<p?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(void 0===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===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}
4),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===F&&F>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}};
4enquire.register("(max-width: 767px)",i).register("(max-width: 567px)",o),t("body, html").animate({scrollTop:t(".fullscreen-cover").height()-n},e,"easeInOutExpo")}function y(){t("#project-panel-header").height()>=t(window).height()?t("#project-panel-header").css({overflowY:"scroll"}):t("#project-panel-header").css({overflowY:"hidden"})}function b(e,n,i,o){var r=t(window).width()/n,s=t(window).height()/i,a=r>s?r:s;a*n<o&&(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;S.css({transform:"translate3d(0px, "+n+"px, 0px)"})}if(!0===t("#navbar-bg").data("transparent-bar")&&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){t("body").hasClass("is-cover-slider")&&t("body").hasClass("start-at-content")?e("slide-down",0):e("slide-down",900)}var E=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",E);var C,E;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"),C=t("#navbar-bg").attr("class"),E=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(".nav-wrapper .standard, .fluid-menu .standard").length>0?t("div.controls a.close-nav").attr({class:"open-nav menu-responsive",disabled:"disabled"}):t("div.controls a.close-nav").attr({class:"open-nav",disabled:"disabled"});t("#navbar-bg").attr("class",C).css("opacity",E),t(".menu-icon").show(),t("header").insertBefore(o),t("header").hasClass("non-sticky-nav")||!0===n()||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)}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)});!0===n()&&(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('<div class="responsive-video"></div>'),t(".wp-video, .wp-audio").css("width","100%"),t(".featured-video video, .featured audio").mediaelementplayer());var F=t(".fullscreen-cover").length,S=t(".cover-image");S&&t(window).scrollTop()>0&&w(),F?(i||NProgress.start(),F>
41?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 k=600;n()&&(k=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("body, html").animate({scrollTop:0},e,"easeInOutExpo").promise().then(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(k,"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(k,"easeInOutExpo",function(){t("header").insertAfter("#project-panel-header"),t("header").hasClass("non-sticky-nav")||!0===n()||t("header").css("position","fixed"),t(".overlay").css("position","absolute"),t("body").removeClass("project-panel-active")})}),t(".search-button").click(function(){t("body, html").animate({scrollTop:0},400,"easeInOutExpo"), 5t(".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("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("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")&&!0!==n()&&!i.ctrlKey&&2!==i.which&&!0!==t(this).parent().hasClass("no-transition")){var r;!0===t(this).data("project-panel")?(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");return e("slide-up",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),jQuery(window).load(function(){jQuery("*[id*=masonry-]:visible").each(function(){if(jQuery(this).children(".masonry-full-inner").length>0)var t=jQuery(this).children(".masonry-full-inner");else var t=jQuery(this);t.masonry("layout")})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.